/* ============================================================
   Grand Asian University Sialkot - Home Page (v2, premium)
   ============================================================ */

:root {
  --navy:        #081d3d;
  --navy-700:    #0d2a54;
  --navy-600:    #143a72;
  --blue:        #2f6bb8;
  --blue-bright: #2e8df5;
  --gold:        #e0b13c;
  --gold-soft:   #f6d77e;
  --gold-deep:   #c9962a;
  --ink:         #15203a;
  --muted:       #5d6b80;
  --line:        #e7ebf2;
  --bg:          #ffffff;
  --bg-alt:      #eef3fb;
  --radius:      20px;
  --shadow-sm:   0 6px 20px rgba(10, 35, 66, .10);
  --shadow-md:   0 22px 54px rgba(10, 35, 66, .18);
  --shadow-lg:   0 34px 80px rgba(10, 35, 66, .26);
  --glow-gold:   0 10px 40px rgba(224, 177, 60, .55);
  --grad-gold:   linear-gradient(135deg, #f6d77e 0%, #e0b13c 45%, #c9962a 100%);
  --grad-navy:   linear-gradient(135deg, #0d2a54 0%, #143a72 60%, #2f6bb8 100%);
  --grad-hero:   linear-gradient(120deg, #081d3d 0%, #0d2a54 40%, #143a72 100%);
  --maxw:        1200px;
  --ease:        cubic-bezier(.16, 1, .3, 1);
  /* One family across the whole site, separated by weight rather than by typeface.
     Deliberately NOT Inter / Poppins / Montserrat / Playfair.

     'Noto Nastaliq Urdu' sits first only so Urdu and Arabic letters pick it up:
     its @font-face declares the Arabic unicode-range and nothing else, so every
     Latin character falls straight through to Plus Jakarta Sans. That means one
     stack handles a mixed "BS Physics کے پروگرام" line correctly, with no
     per-element language class anywhere. */
  --font-head:   'Noto Nastaliq Urdu', 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body:   'Noto Nastaliq Urdu', 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); color: var(--ink); background: var(--bg);
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--gold); color: var(--navy); }
.container { width: 100%; max-width: min(1680px, 95%); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 800; font-size: .98rem; padding: .95rem 1.9rem; border-radius: 100px;
  cursor: pointer; border: 2px solid transparent; transition: all .3s var(--ease); white-space: nowrap;
  letter-spacing: .01em; position: relative; overflow: hidden;
}
.btn--lg { padding: 1.15rem 2.5rem; font-size: 1.05rem; }
.btn--gold { background: var(--grad-gold); color: var(--navy); box-shadow: var(--glow-gold); }
.btn--gold::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55), transparent 70%); transform: translateX(-120%); transition: transform .6s var(--ease); }
.btn--gold:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 18px 50px rgba(224,177,60,.7); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-4px); box-shadow: 0 16px 40px rgba(255,255,255,.25); }
.btn--navy { background: var(--grad-navy); color: #fff; margin-top: 1.8rem; box-shadow: 0 12px 32px rgba(20,58,114,.4); }
.btn--navy:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 18px 46px rgba(20,58,114,.55); }

/* ===== Sections ===== */
.section { padding: 64px 0; }
.section--alt {
  background:
    radial-gradient(640px 320px at 92% 0%, rgba(224,177,60,.08), transparent 60%),
    radial-gradient(720px 360px at 0% 100%, rgba(47,107,184,.09), transparent 60%),
    linear-gradient(180deg, #f2f6fc, #e9f0fa);
}
.section--navy { background: linear-gradient(160deg, var(--navy), var(--navy-700)); color: #fff; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.section__head--light .section__title { color: #fff; }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep); background: linear-gradient(135deg, rgba(224,177,60,.18), rgba(246,215,126,.12)); padding: .5rem 1.2rem; border-radius: 100px; margin-bottom: 1.2rem; border: 1px solid rgba(224,177,60,.3);
}
.kicker::before { content: ''; width: 18px; height: 2px; background: var(--gold); border-radius: 2px; }
.section__head .kicker::after { content: ''; width: 18px; height: 2px; background: var(--gold); border-radius: 2px; }
.kicker--light { color: var(--gold-soft); background: rgba(255,255,255,.1); border-color: rgba(246,215,126,.3); }
.section__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.12; color: var(--navy); letter-spacing: -.5px; text-wrap: balance; }
.section__sub { color: var(--muted); margin-top: 1.1rem; font-size: 1.15rem; }
.section__head .section__title::after { content: ''; display: block; width: 70px; height: 4px; background: var(--grad-gold); border-radius: 3px; margin: 1.1rem auto 0; }
.section--navy .section__head .section__title::after, .section__head--light .section__title::after { background: var(--grad-gold); }
.section--navy .section__sub { color: #c6d2e6; }
.section__more { text-align: center; margin-top: 2.6rem; }
.section__more .btn { margin-top: 0; }

/* ===== Ticker ===== */
.ticker { display: flex; align-items: center; background: var(--gold); color: var(--navy); font-size: .85rem; font-weight: 600; overflow: hidden; }
.ticker__label { background: var(--navy); color: #fff; padding: .5rem 1.2rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; font-size: .75rem; flex-shrink: 0; }
.ticker__track { display: flex; gap: 4rem; white-space: nowrap; padding-left: 2rem; animation: scroll 32s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Top Bar ===== */
.topbar { background: var(--navy); color: #cdd7e8; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 42px; }
.topbar__contact { display: flex; gap: 1.6rem; }
.topbar__contact span { display: inline-flex; align-items: center; gap: .4rem; }
.topbar svg { width: 14px; height: 14px; fill: var(--gold); }
.topbar__links { display: flex; align-items: center; gap: 1.1rem; }
.topbar__links a { transition: color .2s; }
.topbar__links a:not(.topbar__apply) { color: var(--gold-soft); }
.topbar__links a:not(.topbar__apply):hover { color: #fff; }
.topbar__apply {
  background: var(--grad-gold); color: var(--navy) !important; font-weight: 800; letter-spacing: .03em;
  padding: .4rem 1.1rem; border-radius: 100px; box-shadow: 0 0 0 0 rgba(224,177,60,.6);
  animation: applyPulse 2.2s infinite; transition: transform .25s var(--ease), box-shadow .25s;
}
.topbar__apply:hover { color: var(--navy) !important; transform: translateY(-1px) scale(1.04); animation: none; box-shadow: 0 8px 22px rgba(224,177,60,.6); }
@keyframes applyPulse {
  0%   { box-shadow: 0 0 0 0 rgba(224,177,60,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(224,177,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,177,60,0); }
}

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--navy); transition: box-shadow .3s; }
.header.scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.brand { display: flex; align-items: center; gap: .85rem; }
.brand__logo { height: 76px; width: auto; display: block; }
.brand__crest {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff;
  font-family: var(--font-head); font-weight: 900; font-size: 1.05rem; letter-spacing: -.5px; box-shadow: var(--shadow-sm);
}
.brand__crest span { color: var(--gold); }
.brand__text strong { display: block; font-size: 1.08rem; color: var(--navy); line-height: 1.1; }
.brand__text small { font-size: .72rem; color: var(--muted); letter-spacing: .03em; }
.nav { display: flex; align-items: center; gap: 1rem; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); position: relative; padding: .3rem 0; transition: color .2s; cursor: pointer; }
.nav__link::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold); transition: width .3s var(--ease); }
.nav__link:hover, .nav__link.active { color: var(--navy); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__ico { display: inline-flex; align-items: center; color: var(--gold-deep); transition: color .2s; }
.nav__ico svg { width: 15px; height: 15px; }
.nav__link:hover .nav__ico, .nav__link.active .nav__ico { color: var(--gold); }
.nav__caret { display: none; }
.nav__cta { margin-left: .4rem; }
.nav__utility { display: none; }   /* shown only inside the mobile menu */

/* dropdown */
.nav__drop { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(12px); min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); padding: .6rem; opacity: 0; visibility: hidden; transition: all .28s var(--ease); z-index: 50; }
.nav__drop::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav__item:hover .nav__drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(8px); }
.nav__drop a { display: block; padding: .6rem .9rem; font-size: .88rem; font-weight: 600; color: var(--ink); border-radius: 9px; transition: all .2s; white-space: nowrap; }
.nav__drop a:hover { background: var(--bg-alt); color: var(--navy); padding-left: 1.15rem; }
.nav__drop a:hover::before { content: ''; }

/* Flyout dropdown (e.g. Offices) — vertical list where some items open a nested sub-menu */
.nav__drop--flyout { min-width: 262px; overflow: visible; max-height: none; }
.nav__has-sub { position: relative; }
.nav__sub-toggle { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.nav__has-sub > .nav__sub-toggle .nav__caret { color: var(--gold-deep); font-weight: 800; font-size: 1.15em; line-height: 1; transition: transform .25s var(--ease); }
.nav__has-sub:hover > .nav__sub-toggle { background: var(--bg-alt); color: var(--navy); }
.nav__has-sub:hover > .nav__sub-toggle .nav__caret { transform: translateX(3px); color: var(--gold); }
.nav__sub { position: absolute; top: -.66rem; left: 100%; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); padding: .6rem; opacity: 0; visibility: hidden; transform: translateX(8px); transition: all .24s var(--ease); z-index: 60; }
.nav__sub::before { content: ''; position: absolute; top: 0; left: -14px; width: 14px; height: 100%; }
.nav__has-sub:hover > .nav__sub { opacity: 1; visibility: visible; transform: translateX(0); }
.nav__sub a { display: block; padding: .6rem .9rem; font-size: .88rem; font-weight: 600; color: var(--ink); border-radius: 9px; white-space: nowrap; transition: all .2s; }
.nav__sub a:hover { background: var(--bg-alt); color: var(--navy); padding-left: 1.15rem; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* ===== Hero ===== */
/* lazy background-image placeholder (shown until the photo streams in) */
[data-bg] { background-color: #e9eef5; background-size: cover; background-position: center; }
.hero { position: relative; width: 100%; aspect-ratio: 1536 / 639; max-height: 78vh; background: var(--navy); overflow: hidden; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 150px; background: linear-gradient(to top, rgba(8,29,61,.55), transparent); pointer-events: none; z-index: 2; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.2s var(--ease), transform 7s linear; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
/* full-artwork banner slides — show the whole graphic (no crop), no Ken-Burns zoom */
.hero__slide--banner { background-size: contain; background-repeat: no-repeat; background-color: #0b2650; transform: none !important; }
/* caption overlay */
.hero__overlay { position: absolute; inset: 0; display: flex; align-items: center; background: linear-gradient(90deg, rgba(7,21,46,.86) 0%, rgba(7,21,46,.62) 42%, rgba(7,21,46,.18) 70%, rgba(7,21,46,.05) 100%); }
.hero__overlay .container { width: 100%; }
.hero__caption { max-width: 640px; color: #fff; }
.hero__kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold, #d4af37); background: rgba(212,175,55,.14); border: 1px solid rgba(212,175,55,.5); padding: .4rem .85rem; border-radius: 100px; margin-bottom: 1rem; opacity: 0; transform: translateY(18px); backdrop-filter: blur(6px); }
.hero__title { font-family: var(--font-head); font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.15; font-weight: 800; letter-spacing: -.5px; margin: 0 0 1rem; text-shadow: 0 2px 18px rgba(0,0,0,.4); opacity: 0; transform: translateY(22px); text-wrap: balance; }
.hero__sub { font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.5; color: rgba(255,255,255,.92); margin: 0 0 1.6rem; max-width: 540px; text-shadow: 0 1px 10px rgba(0,0,0,.4); opacity: 0; transform: translateY(22px); }
.hero__actions { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.hero__btn { opacity: 0; transform: translateY(22px); }
.hero__slide.is-active .hero__kicker { animation: heroUp .7s var(--ease) .35s forwards; }
.hero__slide.is-active .hero__title  { animation: heroUp .7s var(--ease) .5s forwards; }
.hero__slide.is-active .hero__sub    { animation: heroUp .7s var(--ease) .68s forwards; }
.hero__slide.is-active .hero__btn    { animation: heroUp .7s var(--ease) .86s forwards; }
@keyframes heroUp { to { opacity: 1; transform: translateY(0); } }
/* nav arrows */
.hero__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: var(--navy); font-size: 1.9rem; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); opacity: 0; transition: all .35s var(--ease); }
.hero:hover .hero__nav { opacity: 1; }
.hero__nav:hover { background: var(--grad-gold); transform: translateY(-50%) scale(1.1); }
.hero__prev { left: 22px; }
.hero__next { right: 22px; }
.hero__dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: .55rem; }
.hero__dots button { width: 32px; height: 6px; border-radius: 100px; border: 0; background: rgba(255,255,255,.55); cursor: pointer; transition: .3s; padding: 0; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.hero__dots button.is-active { background: var(--grad-gold); width: 50px; box-shadow: var(--glow-gold); }

/* ===== Quick access (overlapping hero) ===== */
.quick { position: relative; z-index: 5; margin-top: -56px; }
.quick__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.quick__card {
  display: flex; align-items: center; gap: 1rem; background: #fff; padding: 1.5rem 1.6rem; border-radius: 18px;
  box-shadow: var(--shadow-md); border: 1px solid var(--line); transition: all .35s var(--ease); position: relative; overflow: hidden;
}
.quick__card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad-gold); transform: scaleY(0); transform-origin: bottom; transition: transform .35s var(--ease); }
.quick__card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.quick__card:hover::before { transform: scaleY(1); }
.quick__ico { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; font-size: 1.6rem; background: var(--grad-navy); color: #fff; flex-shrink: 0; box-shadow: 0 8px 20px rgba(20,58,114,.35); transition: transform .35s var(--ease); }
.quick__card:hover .quick__ico { transform: rotate(-6deg) scale(1.08); }
.quick__card strong { display: block; color: var(--navy); font-size: 1.05rem; font-weight: 800; }
.quick__card small { color: var(--muted); font-size: .84rem; }

/* ===== Stats ===== */
.stats { padding: 0; background: var(--grad-navy); border-top: 3px solid var(--gold); position: relative; overflow: hidden; }
.stats::before { content: ''; position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(224,177,60,.22), transparent 70%); top: -170px; right: -110px; }
.stats::after { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(46,141,245,.16), transparent 70%); bottom: -150px; left: -100px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 1; }
.stat { text-align: center; padding: 46px 16px; color: #fff; border-left: 1px solid rgba(255,255,255,.1); position: relative; z-index: 1; transition: background .3s; }
.stat:hover { background: rgba(255,255,255,.06); }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--font-head); font-weight: 900; font-size: clamp(2.2rem, 4.5vw, 3.4rem); background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.stat__plus { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: 1.9rem; font-weight: 900; }
.stat p { font-size: .95rem; color: #c6d2e6; margin-top: .6rem; font-weight: 500; }

/* ===== About ===== */
.about__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.about__media { position: relative; height: 680px; }
.about__img { position: absolute; border-radius: var(--radius); background-size: cover; background-position: center; box-shadow: var(--shadow-md); }
.about__img--main { inset: 0 16% 8% 0; background-image: url('https://gaus.edu.pk/wp-content/uploads/2025/04/DSC03118-scaled.jpg'); }
.about__img--sub { width: 60%; height: 62%; right: 0; bottom: 0; border: 8px solid #fff; background-image: url('https://images.unsplash.com/photo-1591123120675-6f7f1aae0e5b?auto=format&fit=crop&w=800&q=80'); }
.about__chip { position: absolute; top: 18px; left: -14px; background: #fff; padding: 1rem 1.4rem; border-radius: 14px; box-shadow: var(--shadow-md); border-left: 4px solid var(--gold); z-index: 3; }
.about__chip strong { display: block; font-size: 1.4rem; color: var(--navy); font-family: var(--font-head); }
.about__chip span { font-size: .82rem; color: var(--muted); }
.about__body > p { color: var(--muted); margin: 1.2rem 0 2rem; font-size: 1.06rem; }
.values { display: grid; gap: 1rem; }
.value { display: flex; gap: 1rem; align-items: flex-start; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.3rem; transition: transform .3s var(--ease), box-shadow .3s; }
.value:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); border-color: var(--gold-soft); }
.value__icon { color: var(--gold); font-size: 1.4rem; line-height: 1.4; }
.value h4 { color: var(--navy); font-size: 1.06rem; }
.value p { color: var(--muted); font-size: .92rem; }

/* ===== Why ===== */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why__card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 2.2rem 1.7rem; transition: all .4s var(--ease); position: relative; overflow: hidden; }
.why__card::after { content: ''; position: absolute; inset: auto auto -50px -50px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(224,177,60,.25), transparent 70%); opacity: 0; transition: opacity .4s; }
.why__card:hover { background: rgba(255,255,255,.1); transform: translateY(-8px); border-color: rgba(224,177,60,.6); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.why__card:hover::after { opacity: 1; }
.why__ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; font-size: 1.8rem; background: var(--grad-gold); box-shadow: var(--glow-gold); margin-bottom: 1.1rem; transition: transform .4s var(--ease); }
.why__card:hover .why__ico { transform: rotate(-8deg) scale(1.1); }
.why__card h4 { color: #fff; font-size: 1.2rem; margin-bottom: .5rem; font-weight: 800; }
.why__card p { color: #c1cde0; font-size: .93rem; position: relative; z-index: 1; }

/* ===== Programs ===== */
.programs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
/* Filled solid cards (navy by default, gold for the featured one) */
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 2.1rem 1.7rem; transition: all .4s var(--ease); position: relative; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); box-shadow: var(--shadow-sm); }
.pcard::before { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(47,107,184,.10), transparent 70%); transition: transform .5s var(--ease); }
.pcard::after { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.pcard:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: rgba(224,177,60,.55); }
.pcard:hover::before { transform: scale(1.5); }
.pcard:hover::after { transform: scaleX(1); }
.pcard__ico { width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center; font-size: 1.6rem; background: var(--grad-navy); color: #fff; box-shadow: 0 8px 20px rgba(20,58,114,.3); margin-bottom: 1.2rem; transition: all .4s var(--ease); position: relative; z-index: 1; }
.pcard:hover .pcard__ico { transform: rotate(-6deg) scale(1.08); background: var(--grad-gold); box-shadow: var(--glow-gold); }
.pcard__badge { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--grad-gold); color: var(--navy); font-size: .64rem; font-weight: 800; padding: .3rem .75rem; border-radius: 100px; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 4px 12px rgba(224,177,60,.4); }
.pcard__years { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); position: relative; z-index: 1; }
.pcard h3 { font-family: var(--font-head); font-size: 1.4rem; color: var(--navy); margin: .4rem 0 .55rem; line-height: 1.15; position: relative; z-index: 1; }
.pcard p { color: var(--muted); font-size: .92rem; line-height: 1.55; margin-bottom: 1.3rem; flex: 1; position: relative; z-index: 1; }
.pcard__link { font-weight: 700; color: var(--navy); font-size: .88rem; display: inline-flex; align-items: center; gap: .35rem; transition: gap .25s var(--ease), color .25s; margin-top: auto; position: relative; z-index: 1; }
.pcard__link:hover { gap: .6rem; color: var(--gold-deep); }
/* Featured = gold card */
.pcard--feature { background: var(--grad-gold); border-color: transparent; box-shadow: var(--glow-gold); }
.pcard--feature::before { background: radial-gradient(circle, rgba(255,255,255,.35), transparent 70%); }
.pcard--feature .pcard__ico { background: rgba(8,24,47,.16); }
.pcard--feature:hover .pcard__ico { background: var(--navy); box-shadow: none; }
.pcard--feature .pcard__years { color: var(--navy); opacity: .8; }
.pcard--feature h3 { color: var(--navy); }
.pcard--feature p { color: rgba(8,24,47,.82); }
.pcard--feature .pcard__badge { background: var(--navy); color: #fff; }
.pcard--feature .pcard__link { color: var(--navy); }
.pcard--feature .pcard__link:hover { color: #000; }

/* ===== Faculties ===== */
.fac__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fac { display: flex; align-items: center; gap: .85rem; padding: 1.3rem 1.45rem; border-radius: 15px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy); transition: all .35s var(--ease); position: relative; overflow: hidden; }
.fac:hover { background: var(--grad-navy); color: #fff; transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-md); border-color: transparent; }
.fac__ico { font-size: 1.4rem; transition: transform .35s var(--ease); }
.fac:hover .fac__ico { transform: scale(1.2) rotate(-6deg); }
.fac--all { background: var(--grad-gold); color: var(--navy); border-color: transparent; justify-content: center; box-shadow: var(--glow-gold); }
.fac--all:hover { background: var(--grad-gold); color: var(--navy); transform: translateY(-6px) scale(1.02); }

/* ===== Campus gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 200px); gap: 16px; }
.gallery__item { position: relative; border-radius: var(--radius); background-size: cover; background-position: center; overflow: hidden; display: flex; align-items: flex-end; padding: 1.1rem; }
.gallery__item--lg { grid-column: span 2; grid-row: span 2; }
.gallery__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,24,47,.75), transparent 55%); transition: background .3s; }
.gallery__item:hover::after { background: linear-gradient(to top, rgba(8,24,47,.85), rgba(47,107,184,.2)); }
.gallery__item span { position: relative; z-index: 2; color: #fff; font-weight: 700; font-size: 1.05rem; transform: translateY(6px); transition: transform .3s var(--ease); }
.gallery__item:hover span { transform: translateY(0); }

/* ===== News ===== */
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ncard { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: all .35s var(--ease); }
.ncard:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(224,177,60,.45); }
.ncard__img { display: block; height: 300px; position: relative; background-size: cover; background-position: center; }
.ncard__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,24,47,.35), transparent 50%); }
.ncard__tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255,255,255,.96); color: var(--navy); font-size: .72rem; font-weight: 700; padding: .32rem .8rem; border-radius: 100px; letter-spacing: .04em; }
.ncard__body { padding: 1.6rem; }
.ncard__body time { font-size: .8rem; color: var(--gold); font-weight: 700; letter-spacing: .05em; }
.ncard__body h3 { font-size: 1.18rem; color: var(--navy); margin: .5rem 0 .6rem; line-height: 1.3; }
.ncard__body p { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.ncard__link { font-weight: 700; color: var(--blue); font-size: .88rem; }

/* ===== CTA ===== */
.cta { background: linear-gradient(115deg, var(--navy), var(--blue)); position: relative; overflow: hidden; color: #fff; }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 350px at 88% 130%, rgba(202,164,74,.32), transparent), url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&w=1600&q=80'); background-size: cover; background-position: center; opacity: .14; }
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 60px 24px; flex-wrap: wrap; }
.cta__text h2 { font-family: var(--font-head); font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-top: .4rem; }
.cta__text p { color: #cdd7e8; margin-top: .6rem; max-width: 560px; }
.cta__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer { background: #061528; color: #aebbd0; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding: 76px 24px 50px; }
.footer__brand .brand__crest { margin-bottom: 1rem; }
.footer__brand p { line-height: 1.7; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; font-weight: 700; transition: .3s; }
.footer__social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.footer__col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 1.1rem; }
.footer__col a { display: block; padding: .35rem 0; color: #aebbd0; transition: color .2s, padding-left .2s; }
.footer__col a:hover { color: var(--gold); padding-left: 5px; }
.footer__col p { margin: .35rem 0; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer__bottom .container { display: flex; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; font-size: .85rem; color: #7d8ba6; flex-wrap: wrap; gap: 8px; }

/* ===== Back to top ===== */
.totop { position: fixed; bottom: 26px; right: 26px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-size: 1.4rem; font-weight: 800; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transform: translateY(16px); transition: all .35s var(--ease); }
.totop.show { opacity: 1; pointer-events: auto; transform: none; }
.totop:hover { background: var(--gold-soft); transform: translateY(-3px); }

/* ===== Vice Chancellor's Message ===== */
.vc__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.vc__portrait { position: relative; }
.vc__portrait img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/5; object-fit: cover; object-position: top center; }
.vc__sign { position: absolute; bottom: -20px; left: 24px; right: 24px; background: #fff; padding: 1rem 1.4rem; border-radius: 14px; box-shadow: var(--shadow-md); border-left: 4px solid var(--gold); font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.vc__sign small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: .82rem; }
.vc__body > p { color: var(--muted); margin: 1.1rem 0; font-size: 1.05rem; }
.vc__body .section__title { font-style: italic; }
.vc__meta { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.4rem; }
.vc__meta span { font-size: .9rem; font-weight: 600; color: var(--navy); background: rgba(202,164,74,.13); padding: .5rem 1rem; border-radius: 100px; }

/* ===== Newly launched ===== */
.launched__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.lcard { position: relative; min-height: 280px; border-radius: var(--radius); overflow: hidden; background-size: cover; background-position: center; display: flex; align-items: flex-end; box-shadow: var(--shadow-sm); transition: all .35s var(--ease); }
.lcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,24,47,.92), rgba(8,24,47,.45) 55%, rgba(8,24,47,.2)); transition: background .35s; }
.lcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.lcard:hover::after { background: linear-gradient(to top, rgba(8,24,47,.95), rgba(47,107,184,.4) 60%, rgba(8,24,47,.25)); }
.lcard__inner { position: relative; z-index: 2; padding: 2rem; color: #fff; }
.lcard__tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); background: var(--gold); padding: .3rem .8rem; border-radius: 100px; margin-bottom: .9rem; }
.lcard__inner h3 { font-family: var(--font-head); font-size: 1.7rem; margin-bottom: .5rem; }
.lcard__inner p { color: #dbe4f2; font-size: .96rem; margin-bottom: 1rem; max-width: 440px; }
.lcard__cta { font-weight: 700; color: var(--gold-soft); }

/* ===== Departments (bright cards: photo on top, gold tag on the seam, white body) ===== */
.featured { position: relative; background: linear-gradient(165deg, #092041 0%, #0b2650 55%, #0e2c5c 100%); border-top: 3px solid var(--gold); }
.featured::before { content: ""; position: absolute; top: -120px; right: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(224,177,60,.16), transparent 65%); pointer-events: none; }
.featured::after { content: ""; position: absolute; bottom: -140px; left: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(60,110,190,.18), transparent 65%); pointer-events: none; }
.featured .container { position: relative; z-index: 1; }
.featured .section__title { color: #fff; }
.featured .section__sub { color: #b9c6dd; }
.featured .kicker { color: var(--gold-soft); background: rgba(255,255,255,.1); border-color: rgba(246,215,126,.3); }
.featured__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
/* departments carousel — 4 cards per view, auto-rotating */
.dcar { position: relative; }
.dcar__track { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding: 12px 4px 26px; }
.dcar__track::-webkit-scrollbar { display: none; }
.dcar__track .dcard { flex: 0 0 calc(25% - 21px); min-width: calc(25% - 21px); scroll-snap-align: start; }
.dcar__nav { position: absolute; top: 44%; z-index: 5; width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer; font-size: 1.25rem; font-weight: 800; color: var(--navy); background: var(--grad-gold); box-shadow: 0 12px 28px rgba(224,177,60,.5); display: grid; place-items: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.dcar__nav:hover { transform: scale(1.12); box-shadow: 0 16px 34px rgba(224,177,60,.65); }
.dcar__nav--prev { left: -18px; }
.dcar__nav--next { right: -18px; }
@media (max-width: 1100px) { .dcar__track .dcard { flex-basis: calc(33.333% - 19px); min-width: calc(33.333% - 19px); } }
@media (max-width: 820px)  { .dcar__track .dcard { flex-basis: calc(50% - 14px); min-width: calc(50% - 14px); } .dcar__nav--prev { left: 2px; } .dcar__nav--next { right: 2px; } }
@media (max-width: 520px)  { .dcar__track .dcard { flex-basis: 88%; min-width: 88%; } }
.dcard { width: calc(33.333% - 19px); background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.dcard::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-gold); z-index: 3; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.dcard:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: rgba(224,177,60,.5); }
.dcard:hover::before { transform: scaleX(1); }
.dcard__img { position: relative; height: 205px; overflow: hidden; display: block; }
.dcard__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .9s var(--ease); }
.dcard:hover .dcard__bg { transform: scale(1.08); }
.dcard__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,24,47,.22), transparent 45%); }
.dcard__body { display: flex; flex-direction: column; flex: 1; padding: 0 1.5rem 1.5rem; }
.dcard__tag { align-self: flex-start; transform: translateY(-50%); background: var(--grad-gold); color: var(--navy); font-weight: 800; font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; padding: .48rem 1.05rem; border-radius: 100px; box-shadow: 0 8px 20px rgba(224,177,60,.45); }
.dcard__body h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.28rem; color: var(--navy); margin: .1rem 0 .45rem; line-height: 1.25; transition: color .3s; }
.dcard:hover .dcard__body h3 { color: var(--blue); }
.dcard__body p { color: var(--muted); font-size: .92rem; line-height: 1.62; margin: 0 0 1.2rem; }
.dcard__cta { margin-top: auto; display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: .86rem; color: var(--gold-deep); }
.dcard__go { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(224,177,60,.14); border: 1px solid rgba(224,177,60,.4); transition: all .35s var(--ease); }
.dcard:hover .dcard__go { background: var(--grad-gold); color: var(--navy); border-color: transparent; transform: translateX(4px); box-shadow: 0 6px 16px rgba(224,177,60,.5); }
@media (max-width: 1000px) { .dcard { width: calc(50% - 14px); } }
@media (max-width: 600px) { .dcard { width: 100%; } .dcard__img { height: 190px; } }
.fcard { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: all .4s var(--ease); }
.fcard:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); border-color: transparent; }
.fcard__img { height: 280px; background-size: cover; background-position: center; transition: transform .6s var(--ease); position: relative; }
.fcard__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,24,47,.5), transparent 55%); opacity: 0; transition: opacity .4s; }
.fcard:hover .fcard__img { transform: scale(1.08); }
.fcard:hover .fcard__img::after { opacity: 1; }
.fcard__body { padding: 1.6rem 1.5rem; }
.fcard__body h3 { font-family: var(--font-head); font-size: 1.4rem; color: var(--navy); margin-bottom: .45rem; }
.fcard__body p { color: var(--muted); font-size: .94rem; margin-bottom: 1rem; }

/* ===== Stories ===== */
.stories { position: relative; overflow: hidden; background: linear-gradient(160deg, #081d3d 0%, #0d2a54 55%, #143a72 100%); }
.stories::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(224,177,60,.2), transparent 70%); top: -160px; right: -110px; pointer-events: none; }
.stories::after { content: ''; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(46,141,245,.18), transparent 70%); bottom: -180px; left: -120px; pointer-events: none; }
.stories .container { position: relative; z-index: 1; }
.stories .section__title { color: #fff; }
.stories .kicker { color: var(--gold-soft); background: rgba(255,255,255,.08); border-color: rgba(246,215,126,.32); }
.stories .story__body h3 { color: #fff; }
.stories .story__body p { color: #c6d2e6; }
.stories .story__btn { color: #fff; }
.stories .story__label { color: var(--gold-soft); background: rgba(255,255,255,.09); border-color: rgba(246,215,126,.32); }
.stories .story__num { -webkit-text-stroke: 2px rgba(246,215,126,.4); }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 64px; }
.story:last-child { margin-bottom: 0; }
.story--rev .story__media { order: 2; }
.story__media { position: relative; height: 400px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.story__media::before { content: ''; position: absolute; inset: 0; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.25); z-index: 3; pointer-events: none; }
.story__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .9s var(--ease); }
.story:hover .story__img { transform: scale(1.09); }
.story__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(8,24,47,.45), transparent 55%); z-index: 1; }
.story__badge { position: absolute; top: 18px; left: 18px; z-index: 2; background: var(--grad-gold); color: var(--navy); font-weight: 800; font-size: .82rem; letter-spacing: .06em; padding: .5rem 1.1rem; border-radius: 100px; box-shadow: var(--glow-gold); }
.story__body { position: relative; }
.story__num { position: absolute; top: -3.4rem; right: 0; font-family: var(--font-head); font-weight: 900; font-size: 7rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(224,177,60,.32); z-index: 0; pointer-events: none; }
.story__label { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); background: linear-gradient(135deg, rgba(224,177,60,.18), rgba(246,215,126,.12)); padding: .42rem 1rem; border-radius: 100px; margin-bottom: 1.1rem; border: 1px solid rgba(224,177,60,.3); }
.story__label::before { content: ''; width: 16px; height: 2px; background: var(--gold); border-radius: 2px; }
.story__body h3 { position: relative; z-index: 1; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--navy); line-height: 1.2; margin-bottom: .9rem; }
.story__body p { position: relative; z-index: 1; color: var(--muted); font-size: 1.04rem; margin-bottom: 1.4rem; }
.story__btn { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--navy); font-size: .95rem; transition: gap .3s var(--ease); position: relative; z-index: 1; }
.story__btn span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--grad-gold); color: var(--navy); box-shadow: 0 6px 16px rgba(224,177,60,.45); transition: transform .3s var(--ease); }
.story__btn:hover { gap: .9rem; }
.story__btn:hover span { transform: translateX(3px); }

/* ===== Showcase (text + image gallery) ===== */
.showcase__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.showcase__text .section__title { text-align: left; }
.showcase__text .section__title::after { margin-left: 0; }
.showcase__text > p { color: var(--muted); font-size: 1.08rem; margin: 1rem 0 1.6rem; }
.showcase__list { display: grid; gap: .85rem; margin-bottom: 2rem; }
.showcase__list li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.showcase__list li::before { content: "\2713"; color: var(--navy); background: var(--grad-gold); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; font-weight: 800; flex-shrink: 0; box-shadow: 0 4px 12px rgba(224,177,60,.4); }
/* image slider */
/* ===== Key Strengths (dark navy showcase: framed image slider + floating white panel) ===== */
.strengths { position: relative; background: linear-gradient(160deg, #081d3d 0%, #0d2a54 55%, #143a72 100%); overflow: hidden; }
.strengths::before { content: ''; position: absolute; inset: 0; pointer-events: none; background:
    radial-gradient(560px 560px at 92% -8%, rgba(224,177,60,.16), transparent 65%),
    radial-gradient(520px 520px at -6% 104%, rgba(46,141,245,.14), transparent 65%); }
.strengths::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.6px); background-size: 24px 24px; }
.strengths .container { position: relative; z-index: 1; }
.strengths .section__title { color: #fff; }
.strengths .section__sub { color: #c6d2e6; }
.strengths .kicker { color: var(--gold-soft); background: rgba(255,255,255,.08); border-color: rgba(246,215,126,.32); }
/* reference-style header: serif title with gold accent word */
.strengths__head { text-align: center; max-width: 780px; margin: 0 auto 46px; }
.strengths__kicker { display: inline-flex; align-items: center; gap: .9rem; color: var(--gold-soft); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: .82rem; margin-bottom: 1.1rem; }
.strengths__kicker::before, .strengths__kicker::after { content: ''; width: 48px; height: 2px; border-radius: 2px; }
.strengths__kicker::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.strengths__kicker::after { background: linear-gradient(270deg, transparent, var(--gold)); }
.strengths__head h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 4.8vw, 3.5rem); color: #fff; line-height: 1.12; margin-bottom: 1rem; text-wrap: balance; }
.strengths__head h2 em { font-style: normal; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.strengths__head p { color: #c6d2e6; font-size: 1.06rem; line-height: 1.7; }
.strengths__diamond { display: block; width: 9px; height: 9px; background: var(--gold); border-radius: 2px; transform: rotate(45deg); margin: 1.3rem auto 0; box-shadow: 0 0 16px rgba(224,177,60,.9); }
.strengths__list { display: grid; gap: 36px; }
/* milestone card: arrow-edged photo + white content, icon badge on the seam */
.strength { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; align-items: stretch; background: #fff; border: 1px solid rgba(224,177,60,.55); border-radius: 18px; overflow: hidden; box-shadow: 0 26px 60px rgba(3,10,24,.45); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.strength:hover { transform: translateY(-6px); box-shadow: 0 36px 80px rgba(3,10,24,.55); }
.strength .slider { height: auto; min-height: 480px; border: 0; border-radius: 0; background: #0d2a54; box-shadow: none; clip-path: polygon(0 0, calc(100% - 52px) 0, 100% 50%, calc(100% - 52px) 100%, 0 100%); }
.strength .slider .slider__slide { inset: 0; border-radius: 0; }
.strength--rev { grid-template-columns: 1fr 1.02fr; }
.strength--rev .strength__media { order: 2; }
.strength--rev .slider { clip-path: polygon(52px 0, 100% 0, 100% 100%, 52px 100%, 0 50%); }
.strength__panel { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 2.7rem 2.7rem 2.5rem 3.1rem; }
.strength--rev .strength__panel { padding: 3.5rem 3.1rem 2.5rem 2.7rem; }
/* round icon badge sitting on the photo/content seam */
.strength__badge { position: absolute; top: 50%; left: 0; transform: translate(-58%, -50%); width: 72px; height: 72px; border-radius: 50%; background: var(--grad-navy); border: 3px solid var(--gold); display: grid; place-items: center; font-size: 1.65rem; box-shadow: 0 12px 30px rgba(3,10,24,.5), var(--glow-gold); z-index: 3; }
.strength--rev .strength__badge { left: auto; right: 0; transform: translate(58%, -50%); }
/* serif gold ordinal */
.strength__num { position: absolute; top: 1.3rem; right: 1.7rem; font-family: var(--font-head); font-weight: 700; font-size: 3.1rem; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; pointer-events: none; }
.strength--rev .strength__num { right: auto; left: 1.7rem; }
.strength__eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--gold-deep); background: rgba(224,177,60,.07); border: 1px solid rgba(224,177,60,.55); padding: .42rem 1.05rem; border-radius: 100px; margin-bottom: 1rem; }
.strength__panel h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.45rem, 2.4vw, 1.95rem); color: var(--navy); line-height: 1.2; margin: 0 0 .75rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.strength__panel > p { color: var(--muted); font-size: .97rem; line-height: 1.75; margin: 0 0 1.5rem; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.strength__btn { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: .9rem; color: #fff; background: var(--grad-navy); padding: .8rem 1.7rem; border-radius: 10px; box-shadow: 0 10px 26px rgba(8,24,47,.5); transition: all .3s var(--ease); }
.strength__btn span { transition: transform .3s var(--ease); }
.strength__btn:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 16px 36px rgba(8,24,47,.6); }
.strength__btn:hover span { transform: translateX(4px); }
@media (max-width: 1000px) {
  .strengths__list { gap: 30px; }
  .strength, .strength--rev { grid-template-columns: 1fr; }
  .strength--rev .strength__media { order: 0; }
  .strength .slider, .strength--rev .slider { min-height: 0; height: 310px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 50% 100%, 0 calc(100% - 24px)); }
  .strength__panel, .strength--rev .strength__panel { padding: 2.5rem 1.5rem 1.9rem; }
  .strength__badge, .strength--rev .strength__badge { top: 0; left: auto; right: 1.2rem; transform: translate(0, -50%); width: 60px; height: 60px; font-size: 1.35rem; }
  .strength__num, .strength--rev .strength__num { font-size: 2.4rem; top: auto; bottom: 1.1rem; right: 1.5rem; left: auto; }
}
.slider { position: relative; height: 440px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.slider::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,24,47,.4), transparent 45%); pointer-events: none; z-index: 2; }
.slider__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 5s linear; }
.slider__slide.is-active { opacity: 1; transform: scale(1); }
.slider__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); opacity: 0; transition: all .35s var(--ease); }
.slider:hover .slider__nav { opacity: 1; }
.slider__nav:hover { background: var(--grad-gold); transform: translateY(-50%) scale(1.1); }
.slider__prev { left: 16px; }
.slider__next { right: 16px; }
.slider__dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: .5rem; }
.slider__dots button { width: 28px; height: 5px; border-radius: 100px; border: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: .3s; padding: 0; }
.slider__dots button.is-active { background: var(--grad-gold); width: 42px; }

/* ===== Video tour ===== */
.tour { position: relative; background-size: cover; background-position: center; background-attachment: fixed; color: #fff; text-align: center; }
.tour__overlay { position: absolute; inset: 0; background: linear-gradient(rgba(8,24,47,.82), rgba(8,24,47,.88)); }
.tour__inner { position: relative; z-index: 2; padding: 76px 24px; max-width: 760px; margin: 0 auto; }
.tour .section__title { color: #fff; margin-top: .4rem; }
.tour__inner p { color: #cdd7e8; margin: 1rem 0 2rem; }
.tour__play { position: relative; width: 88px; height: 88px; border-radius: 50%; border: 0; background: var(--gold); color: var(--navy); cursor: pointer; display: inline-grid; place-items: center; transition: transform .3s var(--ease); }
.tour__play:hover { transform: scale(1.08); }
.tour__tri { font-size: 1.6rem; margin-left: 4px; }
.tour__ring { position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(202,164,74,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

/* ===== Scholarships banner ===== */
.schol { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-600) 55%, var(--blue) 100%); color: #fff; position: relative; overflow: hidden; }
.schol::before { content: ''; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(202,164,74,.28), transparent 70%); }
.schol__inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; padding: 60px 24px; }
.schol__text .section__title { color: #fff; }
.schol__text .section__title span { color: var(--gold); }
.schol__text p { color: #cdd7e8; margin: 1rem 0 1.8rem; max-width: 480px; }
.schol__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.schol__card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 1.3rem; transition: all .3s var(--ease); }
.schol__card:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.schol__card strong { display: block; font-size: 1.2rem; color: var(--gold-soft); font-family: var(--font-head); }
.schol__card span { font-size: .85rem; color: #c1cde0; }

/* ===== Events ===== */
.events { position: relative; overflow: hidden; background: linear-gradient(180deg, #e9f0fa 0%, #f6f9ff 60%, #ffffff 100%); }
.events::before { content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(224,177,60,.16), transparent 70%); top: -160px; left: -120px; pointer-events: none; }
.events::after { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(47,107,184,.14), transparent 70%); bottom: -160px; right: -120px; pointer-events: none; }
.events .container { position: relative; z-index: 1; }
.events__list { display: grid; gap: 18px; max-width: 960px; margin: 0 auto; }
.event { position: relative; display: grid; grid-template-columns: auto 1fr auto auto; gap: 26px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem 1.8rem; transition: all .35s var(--ease); overflow: hidden; }
.event__go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); color: var(--navy); font-size: 1.2rem; font-weight: 800; flex-shrink: 0; transition: all .35s var(--ease); }
.event:hover .event__go { background: var(--grad-gold); color: var(--navy); transform: translateX(4px); box-shadow: 0 6px 16px rgba(224,177,60,.45); }
.event::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad-gold); transform: scaleY(0); transition: transform .35s var(--ease); }
.event:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.event:hover::before { transform: scaleY(1); }
.event__date { position: relative; width: 84px; height: 88px; border-radius: 16px; background: var(--grad-navy); color: #fff; display: grid; place-items: center; align-content: center; flex-shrink: 0; box-shadow: 0 10px 26px rgba(20,58,114,.32); overflow: hidden; transition: transform .35s var(--ease); }
.event__date::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--grad-gold); }
.event:hover .event__date { transform: scale(1.05); }
.event__day { font-size: 2rem; font-weight: 900; line-height: 1; font-family: var(--font-head); margin-top: 5px; }
.event__mon { font-size: .72rem; letter-spacing: .16em; color: var(--gold-soft); font-weight: 800; }
.event__body h4 { color: var(--navy); font-size: 1.2rem; margin-bottom: .3rem; transition: color .3s; }
.event:hover .event__body h4 { color: var(--blue); }
.event__body p { color: var(--muted); font-size: .92rem; }
.event__meta { font-size: .82rem; color: var(--navy); font-weight: 700; white-space: nowrap; background: var(--bg-alt); border: 1px solid var(--line); padding: .55rem 1rem; border-radius: 100px; transition: all .3s; }
.event:hover .event__meta { background: var(--grad-gold); border-color: transparent; color: var(--navy); }

/* ===== Testimonials ===== */
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 2rem; position: relative; transition: all .35s var(--ease); }
.tcard:hover { background: rgba(255,255,255,.09); transform: translateY(-6px); }
.tcard::before { content: "\201C"; position: absolute; top: 4px; left: 22px; font-family: var(--font-head); font-size: 4rem; color: var(--gold); opacity: .35; line-height: 1; }
.tcard p { color: #dbe4f2; font-size: 1rem; margin: 1.4rem 0 1.6rem; position: relative; z-index: 1; }
.tcard figcaption { display: flex; align-items: center; gap: .9rem; }
.tcard figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.tcard figcaption span { display: flex; flex-direction: column; font-size: .85rem; color: #b9c5da; }
.tcard figcaption strong { color: #fff; font-size: 1rem; }

/* ===== Partners ===== */
.partners__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.partner { display: grid; place-items: center; min-width: 150px; height: 88px; padding: 0 1.5rem; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--navy); letter-spacing: .02em; transition: all .3s var(--ease); }
.partner:hover { background: var(--navy); color: #fff; transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ===== FAQ ===== */
.faq__wrap { max-width: 820px; margin: 0 auto; }
.faq__list { display: grid; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .3s; }
.faq__item.open { box-shadow: var(--shadow-sm); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; background: none; border: 0; cursor: pointer; padding: 1.3rem 1.5rem; font-size: 1.05rem; font-weight: 700; color: var(--navy); font-family: var(--font-body); }
.faq__q span { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: rgba(202,164,74,.15); color: var(--gold); font-size: 1.3rem; transition: transform .3s; }
.faq__item.open .faq__q span { transform: rotate(45deg); background: var(--gold); color: #fff; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding: 0 1.5rem 1.3rem; color: var(--muted); }

/* ===== Newsletter ===== */
.news-signup { background: var(--navy); color: #fff; }
.signup__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 54px 24px; flex-wrap: wrap; }
.signup__text h3 { font-family: var(--font-head); font-size: 1.7rem; }
.signup__text p { color: #c1cde0; margin-top: .3rem; }
.signup__form { display: flex; gap: .6rem; flex-wrap: wrap; }
.signup__form input { padding: .9rem 1.3rem; border-radius: 100px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; font-size: .95rem; min-width: 280px; }
.signup__form input::placeholder { color: #9fb0cb; }
.signup__form input:focus { outline: none; border-color: var(--gold); }

/* ============================================================
   HOME-PAGE IMAGE FRAMING - 10px radius + 2px matte border
   ============================================================ */
/* element-background images + the chairman portrait */
.vc__portrait img,
.about__img,
.gallery__item,
.ncard__img {
  border-radius: 10px;
  border: 2px solid var(--gold);
  padding: 2px;
  background-color: #fff;
  background-clip: content-box;
  background-origin: content-box;
}
/* container-type images (sliders + spotlight stories): frame the box, inset the image for the matte */
.slider,
.story__media {
  border-radius: 10px;
  border: 2px solid var(--gold);
  background: #fff;
}
.slider .slider__slide,
.story__img { inset: 2px; border-radius: 8px; }

/* ============================================================
   INNER PAGES
   ============================================================ */

/* ===== Page hero / banner ===== */
.pagehero { position: relative; padding: 90px 0 78px; color: #fff; background-size: cover; background-position: center; overflow: hidden; }
.pagehero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(8,24,47,.93), rgba(8,24,47,.7) 60%, rgba(47,107,184,.45)); }
.pagehero__inner { position: relative; z-index: 2; }
.pagehero h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.1; letter-spacing: -.5px; }
.pagehero p { color: #cfd9ea; margin-top: .8rem; max-width: 620px; font-size: 1.1rem; }
.crumb { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: #aebbd0; margin-bottom: 1.1rem; }
.crumb a { color: var(--gold-soft); }
.crumb a:hover { color: #fff; }
.crumb span { opacity: .6; }

/* ===== Generic content ===== */
.prose { max-width: 1000px; }
.prose p { color: var(--muted); font-size: 1.06rem; margin-bottom: 1.2rem; }
.lead { font-size: 1.2rem !important; color: var(--ink) !important; font-weight: 500; }

/* two-column info */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; background-size: cover; background-position: center; }
.split h2 { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); margin-bottom: 1rem; }
.split p { color: var(--muted); margin-bottom: 1rem; }

/* mission/vision cards */
.mv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mv { background: var(--grad-navy); border: 0; border-radius: 16px; padding: 2.2rem 1.8rem; transition: all .4s var(--ease); color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-sm); }
.mv::before { content: ''; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(224,177,60,.22), transparent 70%); transition: transform .5s var(--ease); }
.mv:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.mv:hover::before { transform: scale(1.5); }
.mv__ico { font-size: 1.6rem; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.12); margin-bottom: 1.1rem; position: relative; z-index: 1; transition: all .4s var(--ease); }
.mv:hover .mv__ico { background: var(--grad-gold); transform: rotate(-6deg) scale(1.08); box-shadow: var(--glow-gold); }
.mv h3 { font-family: var(--font-head); font-size: 1.5rem; color: #fff; margin-bottom: .6rem; position: relative; z-index: 1; }
.mv p { color: rgba(255,255,255,.8); font-size: .96rem; line-height: 1.6; position: relative; z-index: 1; }
/* middle card highlighted in gold (like the featured program card) */
.mv:nth-child(2) { background: var(--grad-gold); }
.mv:nth-child(2)::before { background: radial-gradient(circle, rgba(255,255,255,.35), transparent 70%); }
.mv:nth-child(2) .mv__ico { background: rgba(8,24,47,.16); }
.mv:nth-child(2):hover .mv__ico { background: var(--navy); box-shadow: none; }
.mv:nth-child(2) h3 { color: var(--navy); }
.mv:nth-child(2) p { color: rgba(8,24,47,.82); }

/* leadership cards */
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .35s var(--ease); }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.member img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: top center; /* never crop a face out of the top of a portrait */ }
.member__body { padding: 1.2rem; text-align: center; }
.member__body h4 { color: var(--navy); font-size: 1.1rem; }
.member__body span { color: var(--gold); font-size: .85rem; font-weight: 600; }

/* ===== Admission steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; position: relative; transition: all .35s var(--ease); }
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-card::before { counter-increment: step; content: '0' counter(step); font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: rgba(202,164,74,.3); line-height: 1; }
.step-card h4 { color: var(--navy); font-size: 1.15rem; margin: .6rem 0 .4rem; }
.step-card p { color: var(--muted); font-size: .92rem; }

/* fee / list tables */
.ftable { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.ftable th, .ftable td { padding: 1rem 1.4rem; text-align: left; border-bottom: 1px solid var(--line); }
.ftable th { background: var(--navy); color: #fff; font-weight: 600; font-size: .92rem; }
.ftable tr:last-child td { border-bottom: 0; }
.ftable td:last-child { font-weight: 700; color: var(--navy); }
.ftable tbody tr:hover { background: var(--bg-alt); }

/* checklist */
.checklist { display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; color: var(--muted); }
.checklist li::before { content: "\2713"; color: #fff; background: var(--gold); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; flex-shrink: 0; }

/* ===== Contact ===== */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.cinfo { display: grid; gap: 18px; }
.cinfo__item { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem 1.5rem; }
.cinfo__ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: linear-gradient(135deg, rgba(47,107,184,.12), rgba(202,164,74,.16)); flex-shrink: 0; }
.cinfo__item h4 { color: var(--navy); font-size: 1.02rem; margin-bottom: .2rem; }
.cinfo__item p { color: var(--muted); font-size: .94rem; }
.cform { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow-sm); }
.cform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.field input, .field textarea, .field select { width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; font-family: inherit; font-size: .95rem; color: var(--ink); background: var(--bg-alt); transition: border-color .2s, background .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin-top: 40px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 380px; border: 0; display: block; }

@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .mv__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .team__grid, .steps, .cform .row { grid-template-columns: 1fr; }
}

/* ===== Admissions Popup Modal ===== */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__overlay { position: absolute; inset: 0; background: rgba(8,24,47,.62); backdrop-filter: blur(6px); }
/* One column: the artwork, then a slim action bar. Width is driven by the
   picture's own 16:9 so the dialog is never taller than the viewport. */
.modal__box {
  position: relative; z-index: 2;
  width: min(920px, 100%);
  /* A flex item will not shrink past its content's min-content width unless
     told to; without this the action bar's button row propped the dialog wider
     than a phone screen and the artwork was cut off at the right. */
  min-width: 0;
  max-width: calc((100vh - 190px) * 1.7778);   /* keep the 16:9 art fully on screen */
  background: #fff;
  /* A gold frame: the artwork inside is navy and gold, so the dialog is edged
     in the same gold rather than floating borderless on the dark overlay. The
     thin white ring outside it stops the gold bleeding into the backdrop. */
  border: 3px solid var(--gold);
  /* A white mat between the frame and the artwork, so the gold edges the dialog
     rather than the picture. The inner block keeps its own radius because the
     padding pulls it away from the box's rounded corners. */
  padding: 12px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 250, 235, .22), 0 40px 90px rgba(4, 14, 32, .55);
  transform: translateY(28px) scale(.94);
  opacity: 0;
  transition: transform .55s var(--ease), opacity .55s var(--ease);
}
.modal.is-open .modal__box { transform: none; opacity: 1; }

/* the whole picture, uncropped, and clickable */
.modal__art { display: block; line-height: 0; background: var(--navy); border-radius: 12px 12px 0 0; overflow: hidden; }
.modal__art img {
  display: block;
  width: 100%; height: auto;
  transition: transform .7s var(--ease);
}
.modal__art:hover img { transform: scale(1.015); }

.modal__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.2rem 1.6rem;
  flex-wrap: wrap;
  padding: 1.05rem 1.4rem;
  /* a quiet divider, not a second gold rule — the frame already carries the gold */
  border-top: 1px solid #e3e8f1;
  background: linear-gradient(180deg, #ffffff, #f2f5fb);
  border-radius: 0 0 12px 12px;
}
.modal__note {
  flex: 1 1 260px;
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: .88rem; line-height: 1.5;
}
.modal__actions { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.modal__later {
  background: none; border: 0;
  color: var(--muted); font-weight: 600; font-size: .88rem;
  cursor: pointer; font-family: inherit;
}
.modal__later:hover { color: var(--navy); text-decoration: underline; }

.modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 40px; height: 40px;
  border-radius: 50%; border: 0;
  background: rgba(255,255,255,.94); color: var(--navy);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(4, 14, 32, .35);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.modal__close:hover { background: var(--gold); transform: rotate(90deg); }

@media (max-width: 640px) {
  .modal { padding: 14px; }
  /* the height clamp is for landscape desktops; on a phone the width wins */
  .modal__box { max-width: 100%; padding: 8px; }
  .modal__bar { padding: .95rem 1rem; justify-content: center; text-align: center; }
  .modal__note { flex-basis: 100%; font-size: .84rem; }
  .modal__actions { width: 100%; justify-content: center; gap: .9rem; }
}
@media (max-width: 640px) {
  .modal__box { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .modal__media { min-height: 170px; }
  .modal__body { padding: 1.9rem 1.5rem; }
}

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1280px) {
  .topbar__hide { display: none; }
}
@media (max-width: 980px) {
  .topbar__links a:not(.topbar__apply) { display: none; }
}
@media (max-width: 1080px) {
  .nav { gap: .9rem; }
  .nav__link { font-size: .84rem; }
  .nav__ico { display: none; }
  .nav__cta { font-size: .8rem; padding: .55rem 1.1rem; }
}
@media (max-width: 1000px) {
  .about__grid { grid-template-columns: 1fr; gap: 90px; }
  .about__media { height: 560px; max-width: 680px; }
  .programs__grid, .why__grid { grid-template-columns: repeat(2, 1fr); }
  .fac__grid { grid-template-columns: repeat(2, 1fr); }
  .quick__grid { grid-template-columns: repeat(2, 1fr); }
  .news__grid, .testi__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .featured__grid { grid-template-columns: repeat(2, 1fr); }
  .launched__grid { grid-template-columns: 1fr; }
  .story, .story--rev .story__media { grid-template-columns: 1fr; order: 0; }
  .story { gap: 28px; margin-bottom: 44px; }
  .story__media { height: 300px; }
  .story__num { font-size: 4.5rem; top: -2.6rem; }
  .tour { background-attachment: scroll; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
  .stat { padding: 40px 14px; }
  .gallery { grid-template-rows: repeat(3, 180px); }
  .gallery__item--lg { grid-column: span 2; grid-row: span 1; }
  .vc__grid { grid-template-columns: 1fr; gap: 48px; }
  .vc__portrait { max-width: 380px; }
  .showcase__grid { grid-template-columns: 1fr; gap: 36px; }
  .slider { height: 340px; }
  .slider__nav { opacity: 1; }
  .schol__inner { grid-template-columns: 1fr; gap: 36px; }
  .event { grid-template-columns: auto 1fr; }
  .event__meta { grid-column: 2; }
  .event__go { display: none; }
}
@media (max-width: 760px) {
  /* Top bar: balanced — phone on the left, Apply Now on the right */
  .topbar__hide { display: none; }
  .topbar__contact { display: flex; gap: .8rem; min-width: 0; }
  .topbar__contact span + span { display: none; }            /* keep phone, drop email */
  .topbar__contact span { font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar__links a:not(.topbar__apply) { display: none; }
  .topbar__inner { justify-content: space-between; height: 44px; gap: .6rem; }
  .topbar__apply { padding: .34rem .9rem; font-size: .78rem; flex-shrink: 0; }
  /* Ticker: smaller text so it reads cleanly on a narrow screen */
  .ticker { font-size: .76rem; }
  .ticker__track { gap: 2.5rem; padding-left: 1rem; }
  /* Header: shorter, with the logo constrained so it never collides with the toggle */
  /* Drop backdrop-filter on mobile: it creates a containing block that traps the
     position:fixed nav inside the header. Without it, the nav anchors to the viewport. */
  .header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .header__inner { height: 66px; gap: 12px; }
  .brand { min-width: 0; flex: 0 1 auto; }
  .brand__logo { height: 46px; max-width: 100%; object-fit: contain; }
  .nav__toggle { flex-shrink: 0; position: relative; z-index: 120; }
  .nav { position: fixed; top: var(--nav-top, 66px); left: 0; right: 0; bottom: 0; flex-direction: column; background: #fff; padding: 8px 18px 32px; gap: 0; box-shadow: var(--shadow-md); transform: translateY(-110%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s; align-items: stretch; text-align: left; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .nav.open { transform: none; visibility: visible; }
  .nav__toggle { display: flex; }
  .nav__cta { margin: 1rem auto 0; }
  .nav__item { width: 100%; border-bottom: 1px solid var(--line); }
  .nav > .nav__link { padding: 1rem .2rem; border-bottom: 1px solid var(--line); justify-content: flex-start; }
  .nav__item > .nav__link { justify-content: space-between; padding: 1rem .2rem; width: 100%; }
  /* chevron for items that contain a submenu */
  .nav__item:has(.nav__drop) > .nav__link::after,
  .nav__item:has(.nav__mega) > .nav__link::after { content: '\25BE'; margin-left: auto; font-size: .9em; color: var(--gold-deep); transition: transform .3s var(--ease); }
  .nav__item.open > .nav__link::after { transform: rotate(180deg); }
  /* submenus become collapsible accordion panels (child combinator beats global .nav__drop rules) */
  .nav__item > .nav__drop,
  .nav__item > .nav__mega { position: static; transform: none; opacity: 1; visibility: visible; display: block; min-width: 0; width: 100%; background: var(--bg-alt); border: 0; border-radius: 10px; box-shadow: none; padding: 0; margin: 0; max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
  .nav__item.open > .nav__drop,
  .nav__item.open > .nav__mega { max-height: 3000px; margin: 0 0 12px; padding: 6px; }
  .nav__item > .nav__drop a { text-align: left; white-space: normal; padding: .7rem .85rem; }
  .nav__item > .nav__mega { columns: 1; }
  .nav__mega-col { display: block; width: 100%; margin-bottom: .5rem; }
  .nav__mega-head, .nav__mega-link { text-align: left; }
  /* flyout sub-menus expand inline (indented) on mobile instead of flying out */
  .nav__has-sub { position: static; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; display: block; min-width: 0; width: 100%; background: transparent; border: 0; box-shadow: none; padding: 0 0 0 .8rem; margin: .1rem 0 .3rem; border-left: 2px solid var(--gold); }
  .nav__sub a { white-space: normal; }
  .nav__sub-toggle .nav__caret { transform: rotate(90deg); }
  /* Quick Links (top-bar utility links) inside the mobile menu */
  .nav__utility { display: block; }
  .nav__utility-title { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); padding: 1.1rem .2rem .2rem; }
  .nav__utility .nav__link { display: block; width: 100%; padding: .9rem .2rem; border-bottom: 1px solid var(--line); justify-content: flex-start; font-size: .82rem; }
  .nav__utility-apply { color: var(--gold-deep); }
  body.nav-lock { overflow: hidden; }
  .section { padding: 42px 0; }
  .section__head { margin: 0 auto 28px; }
  .ticker__label { display: none; }
  .hero__nav { opacity: 1; width: 40px; height: 40px; font-size: 1.5rem; }
  .hero__prev { left: 10px; }
  .hero__next { right: 10px; }
  .hero { aspect-ratio: 4 / 5; max-height: 70vh; }
  .hero__overlay { align-items: flex-end; padding-bottom: 56px; background: linear-gradient(0deg, rgba(7,21,46,.92) 0%, rgba(7,21,46,.6) 45%, rgba(7,21,46,.15) 100%); }
  .hero__caption { max-width: 100%; text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
}
@media (max-width: 560px) {
  .programs__grid, .fac__grid, .why__grid, .footer__grid, .quick__grid, .schol__cards, .featured__grid { grid-template-columns: 1fr; }
  .signup__form input { min-width: 100%; }
  .signup__form { width: 100%; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item--lg { grid-column: span 2; }
  .hero__actions, .cta__actions { width: 100%; }
  .btn--lg { flex: 1; }
}

/* ============================================================
   DYNAMIC PAGE LAYOUT (About Us & all CMS pages)
   ============================================================ */
.page-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.page-main { min-width: 0; }
.page-aside { position: sticky; top: 110px; display: grid; gap: 20px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.aside-card h4 { font-family: var(--font-head); color: var(--navy); font-size: 1.2rem; margin-bottom: 1rem; padding-bottom: .8rem; border-bottom: 2px solid var(--gold); }
.aside-links { display: grid; gap: .25rem; }
.aside-links a { display: flex; align-items: center; gap: .5rem; padding: .65rem .9rem; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .92rem; transition: all .25s var(--ease); }
.aside-links a::before { content: "\2192"; color: var(--gold-deep); font-weight: 800; transition: transform .25s; }
.aside-links a:hover { background: var(--bg-alt); color: var(--navy); }
.aside-links a:hover::before { transform: translateX(3px); }
.aside-links a.is-current { background: var(--grad-navy); color: #fff; }
.aside-links a.is-current::before { color: var(--gold-soft); }
.aside-cta { background: var(--grad-navy); color: #fff; border: 0; text-align: center; }
.aside-cta h4 { color: #fff; border: 0; padding: 0; margin-bottom: .5rem; }
.aside-cta p { color: #c6d2e6; font-size: .9rem; margin-bottom: 1rem; }

.prose h2 { font-family: var(--font-head); color: var(--navy); font-size: 1.65rem; margin: 1.9rem 0 .8rem; }
.prose h2::after { content: ""; display: block; width: 54px; height: 3px; background: var(--grad-gold); border-radius: 3px; margin-top: .6rem; }
.prose h3 { font-family: var(--font-head); color: var(--navy); font-size: 1.3rem; margin: 1.4rem 0 .6rem; }
.prose p { color: var(--muted); font-size: 1.06rem; line-height: 1.85; margin-bottom: 1.1rem; }
.prose .lead { font-size: 1.22rem; color: var(--ink); font-weight: 500; }
.prose ul, .prose ol { margin: 0 0 1.2rem 0; padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; color: var(--ink); line-height: 1.6; }
.prose ul li::before { content: "\2713"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad-gold); color: var(--navy); font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.prose ol { counter-reset: s; }
.prose ol li { position: relative; padding-left: 2.1rem; margin-bottom: .6rem; color: var(--ink); counter-increment: s; line-height: 1.6; }
.prose ol li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .8rem; font-weight: 800; display: grid; place-items: center; }
.prose img { max-width: 100%; border-radius: 12px; border: 2px solid var(--gold); padding: 2px; margin: 1.4rem 0; }
/* Uploaded images via the page editor (Trix attachments): hide filename/size junk, float as a clean portrait */
.prose .attachment__name, .prose .attachment__size { display: none; }
.prose figure.attachment { margin: .4rem 0 1.4rem; }
.prose figure.attachment img { margin: 0; }
.prose figure.attachment .attachment__caption { margin-top: .55rem; text-align: center; font-size: .9rem; color: var(--muted); font-style: italic; }
@media (min-width: 760px) {
  .prose figure.attachment[data-trix-content-type^="image"] { float: left; max-width: 320px; margin: .35rem 1.8rem 1.1rem 0; }
}
.prose__portrait { float: left; width: 280px; margin: .2rem 1.6rem 1.2rem 0; }
.prose blockquote { border-left: 4px solid var(--gold); background: var(--bg-alt); padding: 1.2rem 1.5rem; border-radius: 0 12px 12px 0; margin: 1.3rem 0; font-size: 1.12rem; color: var(--navy); font-style: italic; }
.prose a { color: var(--blue); font-weight: 600; }
.member-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 1rem 0 1.4rem; }
.member-grid .m { background: var(--bg-alt); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 10px; padding: .9rem 1.1rem; }
.member-grid .m strong { display: block; color: var(--navy); font-size: .98rem; }
.member-grid .m span { color: var(--muted); font-size: .85rem; }

@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
  .page-aside { position: static; }
  .prose__portrait { float: none; width: 100%; max-width: 320px; display: block; margin: 0 auto 1.2rem; }
  .member-grid { grid-template-columns: 1fr; }
}

/* Stronger page hero */
.pagehero { padding: 104px 0 88px; }
.pagehero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.pagehero p { font-size: 1.18rem; max-width: 680px; }
/* ===== Image-left, description-right for all CMS page body images (desktop) ===== */
@media (min-width: 901px) {
  .prose > img { float: left; width: 340px; max-width: 46%; margin: .4rem 1.7rem 1.1rem 0; }
  .prose h2 { clear: left; }
}
/* ===== Program list cards (Programs sub-pages) ===== */
.prose .prog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 1rem 0 1.9rem; }
.prose .prog-item { position: relative; display: flex; align-items: center; gap: .85rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; color: var(--navy); font-weight: 700; font-size: .95rem; overflow: hidden; transition: all .3s var(--ease); }
.prose .prog-item::before { content: "\01F393"; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(224,177,60,.22), rgba(47,107,184,.14)); font-size: 1.15rem; flex-shrink: 0; transition: all .3s var(--ease); }
.prose .prog-item::after { content: "\2192"; margin-left: auto; padding-left: .6rem; color: var(--gold-deep); font-weight: 800; font-size: 1.1rem; opacity: 0; transform: translateX(-8px); transition: all .3s var(--ease); }
.prose .prog-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.prose .prog-item:hover::before { background: var(--grad-gold); transform: rotate(-6deg) scale(1.08); box-shadow: var(--glow-gold); }
.prose .prog-item:hover::after { opacity: 1; transform: translateX(0); }
@media (max-width: 600px) { .prose .prog-grid { grid-template-columns: 1fr; } }
/* ===== Beautiful program cards (name + 2-line desc + Read more) ===== */
.prose .prog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 1.1rem 0 2rem; }
.prose .prog-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem 1.5rem; overflow: hidden; transition: all .35s var(--ease); }
.prose .prog-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.prose .prog-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: transparent; }
.prose .prog-card:hover::before { transform: scaleX(1); }
.prose .prog-card__ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: linear-gradient(135deg, rgba(224,177,60,.22), rgba(47,107,184,.14)); margin-bottom: 1rem; transition: all .35s var(--ease); }
.prose .prog-card:hover .prog-card__ico { background: var(--grad-gold); transform: rotate(-6deg) scale(1.08); box-shadow: var(--glow-gold); }
.prose .prog-card h3 { font-family: var(--font-head); color: var(--navy); font-size: 1.2rem; line-height: 1.25; margin: 0 0 .55rem; }
.prose .prog-card h3::after { display: none; }
.prose .prog-card p { color: var(--muted); font-size: .92rem; line-height: 1.6; margin: 0 0 1.2rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prose .prog-card__btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; font-size: .82rem; color: var(--navy); background: var(--grad-gold); padding: .55rem 1.2rem; border-radius: 100px; box-shadow: 0 6px 16px rgba(224,177,60,.4); transition: all .25s var(--ease); }
.prose .prog-card__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(224,177,60,.55); color: var(--navy); }
@media (max-width: 700px) { .prose .prog-grid { grid-template-columns: 1fr; } }
/* ===== Full-width program pages (no sidebar) -> 3-column cards ===== */
.prose--wide { max-width: 100%; }
.prose--wide .prog-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .prose--wide .prog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .prose--wide .prog-grid { grid-template-columns: 1fr; } }

/* generic tables inside prose (scheme of studies etc.) */
.prose table { width: 100%; border-collapse: collapse; background: #fff; margin: 1.1rem 0 1.6rem; font-size: .92rem; box-shadow: var(--shadow-sm); border-radius: 12px; overflow: hidden; }
.prose table th, .prose table td { padding: .68rem 1rem; text-align: left; border: 1px solid var(--line); vertical-align: top; color: var(--ink); }
.prose table th { background: var(--navy); color: #fff; font-weight: 600; font-size: .88rem; border-color: rgba(255,255,255,.14); }
.prose table thead + tbody tr:first-child td { border-top: 0; }
.prose table tbody tr:nth-child(even) { background: #f7fafd; }
.prose .table-wrap { overflow-x: auto; margin: 1.1rem 0 1.6rem; }
.prose .table-wrap table { margin: 0; min-width: 560px; }

/* ---- home: achievements (UI GreenMetric) ---- */
.achv { background: linear-gradient(180deg, #f6f9fd 0%, #eef3fa 100%); border-top: 3px solid var(--gold); overflow: hidden; }
.achv__head { text-align: center; max-width: 720px; margin: 0 auto 2.6rem; }
.achv__head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--navy); margin: .55rem 0 .6rem; }
.achv__head h2 em { font-style: normal; color: var(--gold-deep); }
.achv__head p { color: var(--muted); }
.achv__feature { display: grid; grid-template-columns: minmax(300px, 460px) 1fr; gap: 2.6rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 2rem; box-shadow: var(--shadow-md); }
.achv__media { position: relative; }
.achv__media img { width: 100%; border-radius: 16px; display: block; box-shadow: var(--shadow-sm); }
/* National Coordinator: auto-flip photo deck (same behaviour as the other galleries) */
.achv__media--deck { height: 440px; }
.achv__media--deck img { position: absolute; inset: 0; height: 100%; object-fit: cover; border: 5px solid #fff; box-shadow: 0 24px 48px rgba(10,35,66,.28); animation: deckcycle 10.5s infinite; }
.achv__media--deck img:nth-child(1) { animation-delay: -3.5s; }
.achv__media--deck img:nth-child(2) { animation-delay: -7s; }
.achv__media--deck img:nth-child(3) { animation-delay: 0s; }
.achv__media--deck .achv__stamp { z-index: 6; }
.achv__feature:hover .achv__media--deck img { animation-play-state: paused; }
@media (max-width: 960px) { .achv__media--deck { height: 340px; } }
.achv__stamp { position: absolute; left: 14px; bottom: 14px; background: var(--grad-gold, linear-gradient(135deg, #e0b13c, #f6d77e)); color: var(--navy); font-weight: 800; font-size: .72rem; line-height: 1.25; padding: .55rem .85rem; border-radius: 10px; box-shadow: 0 10px 24px rgba(224,177,60,.45); text-transform: uppercase; letter-spacing: .04em; }
.achv__body h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); color: var(--navy); margin: 0 0 .9rem; line-height: 1.3; }
.achv__body p { color: #42506b; line-height: 1.75; margin: 0 0 .95rem; font-size: .96rem; }
.achv__chips { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.05rem 0 1.35rem; }
.achv__chips span { background: rgba(8,29,61,.06); border: 1px solid var(--line); color: var(--navy); font-weight: 700; font-size: .78rem; padding: .42rem .8rem; border-radius: 100px; }
.achv__workshop { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.4rem; align-items: center; margin-top: 2.4rem; background: linear-gradient(160deg, #081d3d 0%, #0d2a54 60%, #143a72 100%); border-radius: 22px; padding: 2.1rem 2.3rem; box-shadow: var(--shadow-md); }
.achv__wbody h3 { color: #fff; font-size: clamp(1.08rem, 2vw, 1.35rem); margin: 0 0 .8rem; line-height: 1.35; }
.achv__wbody p { color: #b9c6dd; line-height: 1.75; margin: 0; font-size: .93rem; }
.achv__wbody strong { color: var(--gold-soft); }
.achv__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.achv__facts div { text-align: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 1rem .6rem; }
.achv__facts b { display: block; font-family: var(--font-serif, serif); font-size: 1.7rem; color: var(--gold); margin-bottom: .2rem; }
.achv__facts span { color: #b9c6dd; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
/* flagship 3D doctorate card */
.achv__tag { display: inline-block; background: var(--grad-gold, linear-gradient(135deg, #e0b13c, #f6d77e)); color: var(--navy); font-weight: 800; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; padding: .4rem .85rem; border-radius: 100px; margin-bottom: .85rem; box-shadow: 0 8px 20px rgba(224,177,60,.35); }
.achv__doc { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.8rem; align-items: center; margin-top: 2.4rem; background: linear-gradient(160deg, #081d3d 0%, #0d2a54 55%, #143a72 100%); border-radius: 22px; padding: 2.5rem 2.6rem; box-shadow: var(--shadow-lg); overflow: hidden; perspective: 1200px; }
.achv__doc::before { content: ""; position: absolute; top: -140px; right: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(224,177,60,.22), transparent 65%); pointer-events: none; }
.achv__doc::after { content: ""; position: absolute; bottom: -160px; left: -110px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(20,58,114,.8), transparent 65%); pointer-events: none; }
.achv__docbody { position: relative; z-index: 1; }
.achv__docbody h3 { color: #fff; font-size: clamp(1.2rem, 2.3vw, 1.6rem); line-height: 1.32; margin: 0 0 .95rem; }
.achv__docbody p { color: #b9c6dd; line-height: 1.75; font-size: .93rem; margin: 0 0 .9rem; }
.achv__docbody strong { color: var(--gold-soft); }
.achv__quote { margin: 1.2rem 0 0; padding: 1rem 1.25rem; border-left: 4px solid var(--gold); background: rgba(255,255,255,.05); border-radius: 0 14px 14px 0; color: #e8eefb; font-family: var(--font-serif, serif); font-style: italic; font-size: 1.02rem; line-height: 1.6; }
.achv__quote cite { display: block; margin-top: .55rem; color: var(--gold); font-style: normal; font-weight: 700; font-size: .82rem; }
.achv__deck { position: relative; height: 400px; transform-style: preserve-3d; z-index: 1; }
.achv__deck img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; border: 5px solid rgba(255,255,255,.92); box-shadow: 0 30px 60px rgba(2,10,25,.55); animation: deckcycle 10.5s infinite; }
.achv__deck img:nth-child(1) { animation-delay: -3.5s; }
.achv__deck img:nth-child(2) { animation-delay: -7s; }
.achv__deck img:nth-child(3) { animation-delay: 0s; }
.achv__doc:hover .achv__deck img { animation-play-state: paused; }
/* auto-shuffle: front -> tucked left -> tucked right -> front (each card offset by 1/3) */
@keyframes deckcycle {
  0%       { transform: rotate(-1.5deg); z-index: 3; }
  27.5%    { transform: rotate(-1.5deg); z-index: 3; }
  33.3%    { transform: rotate(-8deg) translate(-7%, 4%) scale(.94); z-index: 1; }
  60.8%    { transform: rotate(-8deg) translate(-7%, 4%) scale(.94); z-index: 1; }
  66.6%    { transform: rotate(6deg) translate(7%, 8%) scale(.94); z-index: 2; }
  94.1%    { transform: rotate(6deg) translate(7%, 8%) scale(.94); z-index: 2; }
  100%     { transform: rotate(-1.5deg); z-index: 3; }
}

/* 3D tilt highlight cards (historic day / ICCC) */
.achv__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; margin-top: 2.4rem; }
.hcard { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.7rem 1.7rem 1.9rem; box-shadow: var(--shadow-md); transition: transform .45s var(--ease), box-shadow .45s var(--ease); transform-style: preserve-3d; }
.hcard:nth-child(1):hover { transform: perspective(950px) rotateX(2.2deg) rotateY(2.4deg) translateY(-9px); box-shadow: var(--shadow-lg); }
.hcard:nth-child(2):hover { transform: perspective(950px) rotateX(2.2deg) rotateY(-2.4deg) translateY(-9px); box-shadow: var(--shadow-lg); }
.hcard__fan { position: relative; height: 330px; margin-bottom: 1.6rem; }
.hcard__fan img { position: absolute; top: 8px; left: 0; width: 70%; height: 305px; object-fit: cover; border-radius: 14px; border: 4px solid #fff; box-shadow: 0 16px 34px rgba(10,35,66,.28); animation: fancycle 9s infinite; }
.hcard__fan img:nth-child(1) { animation-delay: -3s; }
.hcard__fan img:nth-child(2) { animation-delay: -6s; }
.hcard__fan img:nth-child(3) { animation-delay: 0s; }
.hcard:hover .hcard__fan img { animation-play-state: paused; }
/* auto-slide fan: center-front -> left -> right -> center (each photo offset by 1/3) */
@keyframes fancycle {
  0%     { transform: translateX(21.4%) translateY(-8px); z-index: 2; }
  26.5%  { transform: translateX(21.4%) translateY(-8px); z-index: 2; }
  33.3%  { transform: translateX(0) rotate(-6deg) scale(.96); z-index: 1; }
  59.8%  { transform: translateX(0) rotate(-6deg) scale(.96); z-index: 1; }
  66.6%  { transform: translateX(42.9%) rotate(6deg) scale(.96); z-index: 1; }
  93.1%  { transform: translateX(42.9%) rotate(6deg) scale(.96); z-index: 1; }
  100%   { transform: translateX(21.4%) translateY(-8px); z-index: 2; }
}
@media (max-width: 600px) { .hcard__fan { height: 250px; } .hcard__fan img { height: 228px; } }
@media (prefers-reduced-motion: reduce) {
  .achv__deck img, .hcard__fan img, .achv__media--deck img, .achv__track { animation: none; }
}
.hcard__body h3 { color: var(--navy); font-size: 1.18rem; margin: 0 0 .7rem; line-height: 1.35; }
.hcard__body p { color: #42506b; font-size: .92rem; line-height: 1.72; margin: 0; }

.achv__strip { margin-top: 2.4rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.achv__track { display: flex; gap: 14px; width: max-content; animation: achvscroll 55s linear infinite; }
.achv__strip:hover .achv__track { animation-play-state: paused; }
.achv__track img { height: 170px; width: auto; border-radius: 12px; box-shadow: var(--shadow-sm); }
@keyframes achvscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 960px) {
  .achv__feature { grid-template-columns: 1fr; padding: 1.4rem; }
  .achv__workshop { grid-template-columns: 1fr; padding: 1.6rem; }
  .achv__track img { height: 120px; }
  .achv__doc { grid-template-columns: 1fr; padding: 1.6rem; }
  .achv__deck { height: 300px; max-width: 420px; margin: 0 auto; width: 100%; }
  .achv__duo { grid-template-columns: 1fr; }
}



/* ===========================================================================
   Office & department team rosters.

   Same visual language as the officer card further down this file
   (<figure class="profile">): a portrait in a fixed 4/5 frame sitting on a
   navy plate with a gold rule. A roster typed in the admin as plain
   <div class="team-card"><img><h3><p></div> comes out looking like the rest
   of the site with nobody writing CSS.
   =========================================================================== */
.prose .team-grid {
  /* flex rather than grid: a last row of one or two people stays centred
     instead of hanging off to the left, which is what rosters of 4, 5 and 7
     produce in a fixed column count */
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.55rem; margin: 1.5rem 0 2.2rem;
}
.prose .team-card {
  flex: 0 1 246px;
  display: flex; flex-direction: column;
  position: relative;
  background: linear-gradient(150deg, #0d2a54, #071730);
  border: 0; border-radius: 18px; overflow: hidden; text-align: center;
  padding: 0 0 1.2rem;
  box-shadow: 0 18px 40px -24px rgba(8, 24, 47, .8);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.prose .team-card::after {
  /* a hairline of gold that lights up round the card on hover */
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  border: 1px solid rgba(224, 177, 60, 0); pointer-events: none;
  transition: border-color .4s var(--ease);
}
.prose .team-card:hover { transform: translateY(-7px); box-shadow: 0 30px 60px -26px rgba(8, 24, 47, .9); }
.prose .team-card:hover::after { border-color: rgba(224, 177, 60, .6); }
.prose .team-card img {
  display: block; width: 100%;
  /* one portrait shape whatever was uploaded — studio shot or phone photo */
  aspect-ratio: 4 / 5; object-fit: cover; object-position: top center;
  /* .prose img carries a gold border, padding and vertical margins: all wrong
     inside this card, where they left a white frame around every face */
  margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none;
  transition: transform .7s var(--ease);
}
.prose .team-card:hover img { transform: scale(1.05); }
.prose .team-card h3 {
  position: relative; z-index: 1;
  margin: 0; padding: 1rem .9rem .32rem;
  border-top: 3px solid var(--gold);
  font-family: var(--font-head);
  font-size: 1rem; line-height: 1.3; color: #fff; letter-spacing: -.2px;
  /* two lines are always reserved: a long name then costs the card nothing
     and the roles stay on one line across the row */
  min-height: 3.95rem;
}
.prose .team-card h3::before {
  /* the photo sinks into the plate instead of stopping dead on the gold rule */
  content: ''; position: absolute; left: 0; right: 0; bottom: calc(100% + 3px);
  height: 82px; background: linear-gradient(180deg, rgba(7, 23, 48, 0), rgba(7, 23, 48, .72));
  pointer-events: none;
}
/* a card with no photo starts at the plate, so it needs its own headroom */
.prose .team-card h3:first-child { padding-top: 1.6rem; border-top: 0; }
.prose .team-card h3:first-child::before { display: none; }
.prose .team-card p {
  position: relative; z-index: 1;
  margin: 0; padding: 0 .9rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--gold);
}
/* an address published beside the role — kept out of the uppercasing, which
   would mangle it */
.prose .team-card p a {
  display: inline-block; margin-top: .5rem;
  font-size: .72rem; font-weight: 600; letter-spacing: 0; text-transform: none;
  color: rgba(255, 255, 255, .74); text-decoration: none; word-break: break-word;
}
.prose .team-card p a:hover { color: var(--gold); text-decoration: underline; }
@media (max-width: 560px) {
  .prose .team-grid { gap: 1.2rem; }
  .prose .team-card { flex: 0 1 230px; }
}

/* embedded PDF viewer (scheme of studies documents) */
.prose .pdfbox { margin: 1.2rem 0 1.9rem; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.prose .pdfbox__bar { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; background: var(--grad-navy, linear-gradient(135deg, #0a1f44, #143a72)); color: #fff; padding: .85rem 1.15rem; }
.prose .pdfbox__bar strong { color: #fff; font-size: .95rem; flex: 1 1 auto; min-width: 180px; }
.prose .pdfbox__bar a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; font-size: .8rem; color: var(--navy); background: var(--grad-gold); padding: .5rem 1.1rem; border-radius: 100px; box-shadow: 0 6px 16px rgba(224,177,60,.4); transition: all .25s var(--ease); }
.prose .pdfbox__bar a:hover { transform: translateY(-2px); color: var(--navy); }
.prose .pdfbox iframe { display: block; width: 100%; height: 78vh; border: 0; background: #eef2f7; }
/* Long Faculties dropdown: allow scroll */
.nav__drop { max-height: 78vh; overflow-y: auto; }
/* …but the flyout variant must not clip its side-opening sub-menus */
.nav__drop--flyout { max-height: none; overflow: visible; }

/* ===== Faculties mega-menu (faculty-wise departments) ===== */
.nav__mega {
  position: absolute; top: 100%; right: 0; transform: translateY(12px);
  width: min(1080px, 94vw); background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-md); padding: 1.4rem;
  display: block; column-count: 4; column-gap: 1.8rem;
  opacity: 0; visibility: hidden; transition: all .28s var(--ease); z-index: 60;
}
.nav__mega::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav__item:hover .nav__mega { opacity: 1; visibility: visible; transform: translateY(8px); }
.nav__mega-col { padding: .1rem .2rem 0; border-radius: 10px; break-inside: avoid; -webkit-column-break-inside: avoid; display: inline-block; width: 100%; margin-bottom: 1.2rem; }
.nav__mega-head { display: block; font-weight: 800; font-size: .9rem; color: var(--navy); padding: .3rem .4rem .5rem; border-bottom: 2px solid var(--gold); margin-bottom: .35rem; text-transform: none; letter-spacing: 0; }
.nav__mega-head:hover { color: var(--blue); }
.nav__mega-link { display: block; padding: .4rem .5rem; font-size: .85rem; font-weight: 600; color: var(--muted); border-radius: 8px; transition: all .2s; text-transform: none; letter-spacing: 0; }
.nav__mega-link::before { content: "\2192"; color: var(--gold-deep); margin-right: .4rem; font-weight: 800; }
.nav__mega-link:hover { background: var(--bg-alt); color: var(--navy); padding-left: .8rem; }
@media (max-width: 1080px) { .nav__mega { display: none; } }
/* ===== Center the Faculties mega-menu (balance on screen) ===== */
.nav__item--mega { position: static; }
.nav__mega { left: 50% !important; right: auto !important; transform: translateX(-50%) translateY(12px); }
.nav__item--mega:hover .nav__mega { transform: translateX(-50%) translateY(8px); }
/* widen the hover bridge so the gap to the centered panel doesn't drop the hover */
.nav__item--mega .nav__mega::before { left: -50vw; right: -50vw; }
/* Mega-menu department links: no arrow (emoji icons instead), full names */
.nav__mega-link::before { content: none !important; }
.nav__mega-link { padding-left: .5rem; }
.nav__mega-link:hover { padding-left: .8rem; }

/* ===== Dropdown menu arrow icons ===== */
.nav__drop a, .nav__sub a, .nav__sub-toggle, .nav__mega-link {
  display: flex; align-items: center; gap: .5rem;
}
.nav__sub-toggle { justify-content: flex-start; }
.nav__sub-toggle .nav__caret { margin-left: auto; }
.nav__arw {
  flex: none; color: var(--gold-deep); font-weight: 800; font-size: .9em; line-height: 1;
  transition: transform .2s var(--ease), color .2s var(--ease);
}
.nav__drop a:hover .nav__arw, .nav__sub a:hover .nav__arw,
.nav__has-sub:hover > .nav__sub-toggle .nav__arw,
.nav__mega-link:hover .nav__arw {
  transform: translateX(3px); color: var(--gold);
}

/* ===== Department Quick Links sidebar (navy box, gold accent) ===== */
.aside-quick { background: var(--grad-navy); border: 0; }
.aside-quick h4 { color: #fff; border-bottom: 2px solid var(--gold); }
.aside-quick__links { display: grid; gap: .3rem; }
.aside-quick__links a { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; border-radius: 10px; color: #cdd7e8; font-weight: 600; font-size: .92rem; transition: all .22s var(--ease); }
.aside-quick__links a span { width: 22px; text-align: center; }
.aside-quick__links a:hover { background: rgba(255,255,255,.1); color: #fff; padding-left: 1.15rem; }
:target { scroll-margin-top: 120px; }
/* ===== HOD message beside the photo (do not clear the left float) ===== */
.prose h2.hod-msg-title { clear: none; margin-top: .2rem; }
/* ===== News article photo gallery ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 1.2rem 0 1.5rem; }
.gallery-grid__item { aspect-ratio: 1/1; border-radius: 12px; border: 2px solid var(--gold); background-size: cover; background-position: center; transition: transform .3s var(--ease), box-shadow .3s; }
.gallery-grid__item:hover { transform: scale(1.05); box-shadow: var(--shadow-md); z-index: 2; }
@media (max-width: 700px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
/* ===== News article (Read more) - attractive layout ===== */
.news-hero { padding: 120px 0 96px; }
.news-hero__cat { display: inline-block; background: var(--grad-gold); color: var(--navy); font-weight: 800; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; padding: .4rem 1.1rem; border-radius: 100px; margin-bottom: 1rem; box-shadow: var(--glow-gold); }
.news-hero h1 { max-width: 900px; }
.news-hero__date { color: var(--gold-soft) !important; font-weight: 600; }
.news-article { max-width: 1000px; margin: 0 auto; }
.news-article__feature { margin: -90px auto 2rem; max-width: 920px; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 4px solid #fff; box-shadow: var(--shadow-lg); position: relative; z-index: 3; background: var(--bg-alt); }
.news-article__feature img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prose--article { max-width: 820px; margin: 0 auto; }
.prose--article > img { float: none !important; width: 100%; margin: 1.4rem 0; }

/* bigger photo gallery */
.news-gallery__title { max-width: 820px; margin: 1.2rem auto 1rem; font-family: var(--font-head); color: var(--navy); font-size: 1.7rem; }
.news-gallery__title::after { content: ""; display: block; width: 60px; height: 4px; background: var(--grad-gold); border-radius: 3px; margin-top: .6rem; }
.news-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1000px; margin: 0 auto; }
.news-gallery__item { position: relative; aspect-ratio: 4/3; border-radius: 14px; border: 3px solid var(--gold); background-size: cover; background-position: center; cursor: zoom-in; transition: transform .35s var(--ease), box-shadow .35s; overflow: hidden; }
.news-gallery__item::after { content: ""; position: absolute; inset: 0; background: rgba(8,24,47,.0); transition: background .3s; }
.news-gallery__item:hover { transform: translateY(-5px) scale(1.02); box-shadow: var(--shadow-lg); z-index: 2; }
.news-gallery__item:hover::after { background: rgba(8,24,47,.28); }
.news-gallery__zoom { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; color: #fff; font-size: 1.8rem; opacity: 0; transition: opacity .3s; }
.news-gallery__item:hover .news-gallery__zoom { opacity: 1; }
@media (max-width: 700px) { .news-gallery { grid-template-columns: repeat(2, 1fr); } }

/* ===== Lightbox ===== */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; background: rgba(6,16,33,.92); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: 88vw; max-height: 84vh; border-radius: 12px; border: 3px solid var(--gold); box-shadow: 0 30px 80px rgba(0,0,0,.6); transform: scale(.96); transition: transform .35s var(--ease); }
.lightbox.open .lightbox__img { transform: scale(1); }
.lightbox__nav, .lightbox__close { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); cursor: pointer; display: grid; place-items: center; transition: all .25s var(--ease); }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; font-size: 2rem; }
.lightbox__nav:hover, .lightbox__close:hover { background: var(--grad-gold); color: var(--navy); border-color: transparent; }
.lightbox__prev { left: 3vw; }
.lightbox__next { right: 3vw; }
.lightbox__close { top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; }
.lightbox__count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; background: rgba(0,0,0,.45); padding: .4rem 1rem; border-radius: 100px; font-size: .9rem; font-weight: 600; }
@media (max-width: 700px) { .lightbox__prev { left: 8px; } .lightbox__next { right: 8px; } .lightbox__nav { width: 44px; height: 44px; } }
/* Gallery-count badge on news cards */
.ncard__gallery { position: absolute; bottom: 12px; right: 12px; z-index: 2; background: rgba(8,24,47,.82); color: #fff; font-size: .78rem; font-weight: 700; padding: .3rem .7rem; border-radius: 100px; backdrop-filter: blur(4px); }
/* tighten article spacing before gallery */
.prose--article > *:last-child { margin-bottom: 0; }
.prose--article:empty { display: none; }

/* ===== Mobile inner-page hero (placed last so it overrides the desktop .pagehero rule above) ===== */
@media (max-width: 760px) {
  .pagehero { padding: 40px 0 34px; }
  .pagehero h1 { font-size: clamp(1.6rem, 6vw, 2.1rem); }
  .pagehero p { font-size: 1rem; margin-top: .6rem; }
  .crumb { flex-wrap: wrap; gap: .35rem; margin-bottom: .8rem; font-size: .8rem; }
}

/* ===== Faculty profiles (departmental) ===== */
.facdept + .facdept { margin-top: 64px; }
.facdept__head { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; margin-bottom: 2rem; padding-bottom: .95rem; border-bottom: 2px solid rgba(224,177,60,.35); }
.facdept__head h2 { display: flex; align-items: center; gap: .85rem; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.45rem, 2.5vw, 1.95rem); color: var(--navy); letter-spacing: -.4px; line-height: 1.15; }
.facdept__head h2::before { content: ''; width: 10px; height: 28px; border-radius: 4px; background: var(--grad-gold); flex-shrink: 0; box-shadow: 0 4px 12px rgba(224,177,60,.4); }
.facdept__count { flex-shrink: 0; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); background: linear-gradient(135deg, rgba(224,177,60,.16), rgba(246,215,126,.1)); border: 1px solid rgba(224,177,60,.35); padding: .45rem 1.05rem; border-radius: 100px; }
.faculty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
/* ===========================================================================
   Faculty cards.

   A white card with the portrait set inside it like a mounted photograph: a
   margin of card all the way round the picture, so twenty faces shot against
   twenty different walls still line up as one calm grid. Gold is used sparingly
   — a rule under the name, the role, and the arrow — and the card lifts onto a
   gold edge when it is pointed at.
   =========================================================================== */
.fmcard {
  position: relative; display: flex; flex-direction: column; text-align: center;
  background: linear-gradient(180deg, #fff 58%, #f7f9fc 100%);
  border: 1px solid rgba(8, 29, 61, .1); border-radius: 22px;
  padding: 14px 14px 1.4rem;
  box-shadow: 0 12px 30px -20px rgba(8, 29, 61, .5);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
/* the mount: a hairline frame just inside the card edge */
.fmcard::before {
  content: ''; position: absolute; inset: 7px; border-radius: 17px;
  border: 1px solid rgba(8, 29, 61, .06); pointer-events: none; z-index: 0;
  transition: border-color .45s var(--ease);
}
.fmcard::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px;
  background: var(--grad-gold); border-radius: 3px 3px 0 0;
  transform: scaleX(0); transform-origin: center;
  transition: transform .45s var(--ease);
}
.fmcard:hover {
  transform: translateY(-9px);
  box-shadow: 0 30px 54px -24px rgba(8, 29, 61, .55);
  border-color: rgba(224, 177, 60, .5);
}
.fmcard:hover::before { border-color: rgba(224, 177, 60, .35); }
.fmcard:hover::after { transform: scaleX(1); }

.fmcard__photo {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 5;
  border: 0; padding: 0; border-radius: 16px; overflow: hidden;
  background-color: transparent;
  background-image: linear-gradient(135deg, var(--navy), var(--blue));
  background-size: cover; background-position: top center;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px -16px rgba(8, 29, 61, .7), inset 0 0 0 1px rgba(8, 29, 61, .07);
  transition: transform .6s var(--ease);
}
.fmcard:hover .fmcard__photo { transform: scale(1.045); }
.fmcard__ico { display: none; }
.fmcard__initials { font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; color: rgba(255, 255, 255, .85); }

.fmcard__body {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; flex: 1; width: 100%;
  padding: 1.05rem .45rem 0;
}
.fmcard__body h3 {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 800;
  color: var(--navy); line-height: 1.26; letter-spacing: -.3px;
  margin: 0 0 .6rem; min-height: 2.55em;
}
/* the rule sits under the name and stretches when the card is hovered */
.fmcard__body h3::after {
  content: ''; display: block; width: 26px; height: 2px; border-radius: 2px;
  background: var(--grad-gold); margin: .55rem auto 0;
  transition: width .45s var(--ease);
}
.fmcard:hover .fmcard__body h3::after { width: 46px; }
.fmcard__role {
  display: inline-block;
  background: linear-gradient(135deg, rgba(224, 177, 60, .16), rgba(246, 215, 126, .1));
  border: 1px solid rgba(224, 177, 60, .34);
  padding: .3rem .85rem; border-radius: 100px;
  color: var(--gold-deep); font-weight: 800; font-size: .66rem;
  letter-spacing: .1em; text-transform: uppercase;
}
.fmcard__qual {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  color: var(--muted); font-size: .76rem; line-height: 1.5; margin-top: .45rem;
  min-height: 2.9em;
}
.fmcard__sep, .fmcard__dept, .fmcard__dico, .fmcard__email { display: none; }
.fmcard__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  width: auto; margin: 1.05rem auto 0; margin-top: auto;
  position: relative;
  padding: .55rem 1.35rem; border-radius: 100px;
  background: none; border: 1.5px solid rgba(8, 29, 61, .22);
  color: var(--navy); font-weight: 800; font-size: .78rem;
  box-shadow: none; white-space: nowrap;
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.fmcard__btn::before {
  content: ''; position: absolute; left: 50%; top: -.85rem; transform: translateX(-50%);
  width: 58px; height: 1px; background: rgba(8, 29, 61, .12);
}
.fmcard__btn svg { display: none; }
.fmcard__btn b { transition: transform .3s var(--ease); }
.fmcard:hover .fmcard__btn { background: var(--grad-gold); border-color: transparent; color: var(--navy); }
.fmcard:hover .fmcard__btn b { transform: translateX(4px); }
@media (max-width: 1000px) { .faculty-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .faculty-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .facdept + .facdept { margin-top: 44px; }
  .facdept__head { flex-wrap: wrap; gap: .7rem; }
  /* two cards to a row, so the mount and the type come down a step */
  .fmcard { padding: 10px 10px 1.1rem; border-radius: 18px; }
  .fmcard::before { inset: 5px; border-radius: 14px; }
  .fmcard__photo { border-radius: 12px; }
  .fmcard__body { padding: .85rem .2rem 0; }
  .fmcard__body h3 { font-size: .92rem; min-height: 2.5em; }
  /* the degree costs two lines out of a card this size — it is on the
     profile, a tap away */
  .fmcard__qual { display: none; }
  .fmcard__role { font-size: .58rem; letter-spacing: .07em; padding: .24rem .6rem; }
  .fmcard__btn { font-size: .72rem; padding: .48rem 1rem; }
  .fmcard__btn::before { display: none; }
}
@media (max-width: 420px) { .faculty-grid { grid-template-columns: 1fr; } }

/* Faculty profile detail page */
.fprofile { display: grid; grid-template-columns: 320px 1fr; gap: 44px; align-items: start; }
.fprofile__side { position: sticky; top: 110px; display: grid; gap: 16px; }
.fprofile__photo { aspect-ratio: 5 / 6; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--blue)); background-size: cover; background-position: center 30%; display: grid; place-items: center; box-shadow: var(--shadow-md); border: 4px solid #fff; }
.fprofile__initials { font-family: var(--font-head); font-size: 4.5rem; font-weight: 800; color: rgba(255,255,255,.85); }
.fprofile__meta { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .4rem 1.1rem; box-shadow: var(--shadow-sm); }
.fprofile__row { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.fprofile__row:last-child { border-bottom: 0; }
.fprofile__row span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: .2rem; }
.fprofile__row strong { color: var(--navy); font-size: .95rem; font-weight: 700; }
.fprofile__row a { color: var(--blue); word-break: break-word; }
.fprofile__name { font-family: var(--font-head); font-size: 2rem; color: var(--navy); margin-bottom: .3rem; }
.fprofile__role { color: var(--gold-deep); font-weight: 700; margin-bottom: 1.4rem; }
@media (max-width: 860px) {
  .fprofile { grid-template-columns: 1fr; gap: 28px; }
  .fprofile__side { position: static; max-width: 360px; }
}

/* ===== Faculty profile popup (profile-page layout) ===== */
.fpmodal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 22px; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.fpmodal.is-open { opacity: 1; visibility: visible; }
.fpmodal__overlay { position: absolute; inset: 0; background: rgba(8,24,47,.66); backdrop-filter: blur(6px); }
.fpmodal__box { position: relative; z-index: 2; width: min(980px, 100%); max-height: 90vh; display: flex; flex-direction: column; background: #e9eff8; border-radius: 20px; overflow: hidden; border: 2px solid var(--gold); box-shadow: var(--shadow-lg); transform: translateY(26px) scale(.95); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.fpmodal.is-open .fpmodal__box { transform: none; opacity: 1; }
.fpmodal__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: all .3s var(--ease); }
.fpmodal__close:hover { background: var(--gold); transform: rotate(90deg); }
/* scrolls like a page, gold scrollbar */
.fpmodal__body { overflow-y: auto; flex: 1; overscroll-behavior: contain; padding: 14px; }
.fpmodal__body::-webkit-scrollbar { width: 9px; }
.fpmodal__body::-webkit-scrollbar-track { background: var(--bg-alt); }
.fpmodal__body::-webkit-scrollbar-thumb { background: var(--grad-gold); border-radius: 100px; }
/* hero banner */
.fpmodal__hero { position: relative; display: flex; gap: 1.9rem; align-items: center; background: linear-gradient(120deg, #081d3d 0%, #0d2a54 55%, #143a72 100%); border-radius: 16px; padding: 1.9rem 2rem; overflow: hidden; margin-bottom: 14px; }
.fpmodal__hero::before { content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(224,177,60,.25), transparent 70%); top: -130px; right: -90px; }
.fpmodal__hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.3px); background-size: 20px 20px; pointer-events: none; }
.fpmodal__photo { position: relative; z-index: 1; width: 195px; aspect-ratio: 5 / 6; flex-shrink: 0; border-radius: 14px; border: 4px solid rgba(255,255,255,.95); background-color: transparent; background-image: linear-gradient(135deg, var(--navy-600), var(--blue)); background-size: cover; background-position: center 30%; display: grid; place-items: center; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.fpmodal__photo span { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: rgba(255,255,255,.9); }
.fpmodal__id { position: relative; z-index: 1; min-width: 0; }
.fpmodal__role { display: inline-flex; align-items: center; gap: .45rem; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); background: var(--grad-gold); padding: .42rem 1.05rem; border-radius: 100px; box-shadow: var(--glow-gold); margin-bottom: .8rem; }
.fpmodal__id h3 { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.05rem); color: #fff; line-height: 1.15; margin-bottom: .4rem; }
.fpmodal__subs { color: #c6d2e6; font-weight: 600; font-size: .98rem; line-height: 1.55; margin-bottom: 1rem; }
.fpmodal__subs span { display: block; }
.fpmodal__contacts { display: flex; flex-direction: column; gap: .5rem; }
.fpmodal__crow { display: inline-flex; align-items: center; gap: .65rem; color: #dbe4f2; font-size: .92rem; font-weight: 600; }
.fpmodal__crow svg { width: 16px; height: 16px; color: var(--gold-soft); flex-shrink: 0; }
.fpmodal__crow em { font-style: normal; }
a.fpmodal__crow:hover em { color: #fff; text-decoration: underline; }
/* white cards with icon headers */
.fpmodal__card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem 1.7rem; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.fpmodal__chead { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.fpmodal__cico { width: 42px; height: 42px; border-radius: 12px; background: var(--grad-navy); color: #fff; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 8px 18px rgba(20,58,114,.35); }
.fpmodal__cico svg { width: 20px; height: 20px; }
.fpmodal__chead h4 { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--navy); }
.fpmodal__prose { border-left: 3px solid var(--blue); padding-left: 1.15rem; }
.fpmodal__prose p { color: var(--muted); font-size: .98rem; line-height: 1.85; margin-bottom: .9rem; }
.fpmodal__prose p:last-child { margin-bottom: 0; }
/* same-department colleagues */
.fpmodal__relgrid { display: flex; flex-wrap: wrap; gap: 12px; }
.fpmodal__rel { display: flex; align-items: center; gap: .65rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .5rem .95rem .5rem .5rem; cursor: pointer; font-family: inherit; text-align: left; transition: all .25s var(--ease); }
.fpmodal__rel:hover { border-color: rgba(224,177,60,.6); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.fpmodal__rel-avatar { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--gold); background-color: transparent; background-image: linear-gradient(135deg, var(--navy), var(--blue)); background-size: cover; background-position: center 30%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .8rem; flex-shrink: 0; }
.fpmodal__rel strong { display: block; color: var(--navy); font-size: .85rem; font-weight: 800; line-height: 1.2; }
.fpmodal__rel small { color: var(--muted); font-size: .72rem; font-weight: 600; }
/* bottom CTA band */
.fpmodal__cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: var(--grad-navy); border-radius: 16px; padding: 1.25rem 1.7rem; }
.fpmodal__cta strong { display: block; color: #fff; font-size: 1rem; font-weight: 800; }
.fpmodal__cta small { color: #c6d2e6; font-size: .85rem; }
.fpmodal__ctabtn { display: inline-flex; align-items: center; gap: .5rem; background: var(--grad-gold); color: var(--navy); font-weight: 800; font-size: .9rem; padding: .75rem 1.55rem; border-radius: 100px; box-shadow: var(--glow-gold); transition: all .3s var(--ease); white-space: nowrap; }
.fpmodal__ctabtn:hover { transform: translateY(-2px); color: var(--navy); box-shadow: 0 14px 34px rgba(224,177,60,.6); }
@media (max-width: 700px) {
  .fpmodal { padding: 12px; }
  .fpmodal__box { max-height: 94vh; }
  .fpmodal__body { padding: 10px; }
  .fpmodal__hero { flex-direction: column; text-align: center; gap: 1.2rem; padding: 1.8rem 1.2rem 1.5rem; }
  .fpmodal__photo { width: 150px; }
  .fpmodal__contacts { align-items: center; }
  .fpmodal__card { padding: 1.2rem 1.1rem; }
  .fpmodal__cta { justify-content: center; text-align: center; }
}

/* ===== Faculty dept page: animated extras ===== */
/* hero entrance (all inner pages) */
.pagehero .crumb { animation: heroRise .6s var(--ease) .05s backwards; }
.pagehero h1 { animation: heroRise .7s var(--ease) .15s backwards; }
.pagehero p { animation: heroRise .7s var(--ease) .3s backwards; }
@keyframes heroRise { from { opacity: 0; transform: translateY(22px); } }

/* floating math symbols in the hero */
.mathfx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.mathfx span { position: absolute; font-family: var(--font-head); font-weight: 800; color: rgba(246,215,126,.22); text-shadow: 0 2px 18px rgba(0,0,0,.25); animation: symFloat 9s ease-in-out infinite alternate; }
.mathfx span:nth-child(1) { top: 18%; left: 6%;  font-size: 3.2rem; animation-duration: 11s; }
.mathfx span:nth-child(2) { top: 58%; left: 16%; font-size: 2.2rem; animation-delay: 1.2s; color: rgba(255,255,255,.14); }
.mathfx span:nth-child(3) { top: 24%; left: 38%; font-size: 2.6rem; animation-delay: 2.1s; }
.mathfx span:nth-child(4) { top: 66%; left: 55%; font-size: 3.6rem; animation-delay: .6s; color: rgba(255,255,255,.12); animation-duration: 13s; }
.mathfx span:nth-child(5) { top: 20%; left: 74%; font-size: 2.4rem; animation-delay: 1.7s; }
.mathfx span:nth-child(6) { top: 60%; left: 88%; font-size: 3rem; animation-delay: 2.6s; animation-duration: 12s; }
@keyframes symFloat { from { transform: translateY(-14px) rotate(-6deg); } to { transform: translateY(18px) rotate(8deg); } }

/* ambient drifting orbs behind the grid */
.section--fx { position: relative; overflow: hidden; }
.section--fx::before, .section--fx::after { content: ''; position: absolute; width: 460px; height: 460px; border-radius: 50%; pointer-events: none; }
.section--fx::before { background: radial-gradient(circle, rgba(224,177,60,.14), transparent 70%); top: -140px; left: -140px; animation: orbDrift 18s ease-in-out infinite alternate; }
.section--fx::after { background: radial-gradient(circle, rgba(47,107,184,.12), transparent 70%); bottom: -160px; right: -140px; animation: orbDrift 22s ease-in-out infinite alternate-reverse; }
@keyframes orbDrift { from { transform: translate(0,0) scale(1); } to { transform: translate(70px, 40px) scale(1.15); } }
.section--fx .container { position: relative; z-index: 1; }

/* HOD spotlight banner */
.fhod { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 2.4rem; align-items: center; background: linear-gradient(135deg, #0d2a54 0%, #143a72 55%, #2f6bb8 100%); border-radius: 22px; padding: 2.4rem 2.8rem; margin-bottom: 44px; overflow: hidden; box-shadow: var(--shadow-md); }
.fhod::before { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(224,177,60,.28), transparent 70%); top: -140px; right: -100px; animation: orbDrift 14s ease-in-out infinite alternate; }
.fhod::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.4px); background-size: 22px 22px; pointer-events: none; }
.fhod__photo { position: relative; z-index: 1; width: 205px; aspect-ratio: 4 / 5; border-radius: 6px; border: 2px solid var(--gold); padding: 5px; background-color: transparent; background-image: linear-gradient(135deg, var(--navy-600), var(--blue)); background-size: cover; background-position: center 30%; background-clip: content-box; display: grid; place-items: center; box-shadow: 12px 12px 0 rgba(224,177,60,.22), 0 16px 40px rgba(0,0,0,.4); }
.fhod__photo::before { content: ''; position: absolute; inset: -12px; border-radius: 10px; border: 2px dashed rgba(246,215,126,.5); animation: archPulse 3.6s ease-in-out infinite; }
@keyframes archPulse { 0%, 100% { opacity: .35; } 50% { opacity: .9; } }
.fhod__photo span { font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: rgba(255,255,255,.9); }
.fhod__body { position: relative; z-index: 1; }
.fhod__kicker { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: var(--grad-gold); padding: .4rem 1.05rem; border-radius: 100px; box-shadow: var(--glow-gold); margin-bottom: .8rem; }
.fhod__body h3 { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; line-height: 1.15; margin-bottom: .3rem; }
.fhod__qual { color: var(--gold-soft); font-weight: 700; font-size: .95rem; margin-bottom: .7rem; }
.fhod__body p { color: #c6d2e6; font-size: .98rem; line-height: 1.7; margin-bottom: 1.2rem; max-width: 640px; }
.fhod__btn { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; font-size: .9rem; color: var(--navy); background: var(--grad-gold); padding: .75rem 1.7rem; border-radius: 100px; box-shadow: var(--glow-gold); transition: all .3s var(--ease); }
.fhod__btn:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(224,177,60,.6); color: var(--navy); }
@media (max-width: 760px) {
  .fhod { grid-template-columns: 1fr; text-align: center; padding: 2rem 1.4rem; gap: 1.4rem; }
  .fhod__photo { margin: 0 auto; width: 165px; }
}

@keyframes spinRing { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .mathfx span, .section--fx::before, .section--fx::after, .fhod::before, .fhod__photo::before, .fmcard__photo::before { animation: none; }
}

/* ===== Slider thumbnail strip (synced previews under the slideshow) ===== */
.slider__thumbs { position: absolute; left: 50%; transform: translateX(-50%); bottom: 12px; z-index: 4; display: flex; gap: 8px; padding: 7px; max-width: min(86%, 430px); overflow-x: auto; scrollbar-width: none; background: rgba(8,24,47,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; }
.slider__thumbs::-webkit-scrollbar { display: none; }
.slider__thumbs button { flex-shrink: 0; width: 56px; height: 38px; border-radius: 8px; border: 2px solid transparent; background-size: cover; background-position: center; cursor: pointer; padding: 0; opacity: .6; transition: all .3s var(--ease); }
.slider__thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.slider__thumbs button.is-active { border-color: var(--gold); opacity: 1; transform: translateY(-2px); box-shadow: 0 0 0 2px rgba(224,177,60,.35), 0 8px 16px rgba(0,0,0,.45); }
/* thumbs replace the plain dots wherever both exist */
.slider:has(.slider__thumbs) .slider__dots { display: none; }
@media (max-width: 760px) {
  .slider__thumbs { bottom: 8px; gap: 6px; padding: 5px; }
  .slider__thumbs button { width: 46px; height: 32px; }
}

/* strengths cards: filmstrip thumbnails BELOW the photo (desktop) */
@media (min-width: 1001px) {
  .strength .slider:has(.slider__thumbs) .slider__slide { inset: 0 0 70px 0; }
  .strength .slider__thumbs { left: 0; right: 0; bottom: 0; transform: none; width: 100%; max-width: none; height: 70px; justify-content: center; align-items: center; padding: 10px 60px; border-radius: 0; border: 0; border-top: 2px solid rgba(224,177,60,.55); background: linear-gradient(135deg, #0b2347 0%, #143a72 100%); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .strength .slider__thumbs button { width: 64px; height: 44px; }
}

/* ===== News & Events dark showcase ===== */
.newsx { position: relative; padding: 64px 0 70px; background: linear-gradient(160deg, #071730 0%, #0a2144 55%, #10305e 100%); border-top: 3px solid var(--gold); overflow: hidden; }
.newsx::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1.5px); background-size: 24px 24px; }
.newsx::after { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(224,177,60,.14), transparent 70%); top: -180px; right: -140px; pointer-events: none; }
.newsx .container { position: relative; z-index: 1; }
/* filter tabs */
.newsx__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: -4px 0 34px; }
.newsx__tabs button { font-family: inherit; cursor: pointer; font-size: .82rem; font-weight: 800; letter-spacing: .03em; color: #dbe4f2; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); padding: .55rem 1.3rem; border-radius: 100px; transition: all .3s var(--ease); }
.newsx__tabs button:hover { background: rgba(255,255,255,.15); color: #fff; }
.newsx__tabs button.is-active { background: var(--grad-gold); border-color: transparent; color: var(--navy); box-shadow: var(--glow-gold); }
/* cards */
.newsx__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.newsx-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid rgba(224,177,60,.35); box-shadow: 0 18px 44px rgba(3,10,24,.4); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.newsx-card:hover { transform: translateY(-8px); box-shadow: 0 28px 60px rgba(3,10,24,.55); }
.newsx-card__img { position: relative; display: block; height: 205px; overflow: hidden; background: #0b2347; }
/* blurred copy of the photo fills the box; the sharp photo shows in FULL on top */
.newsx-card__blur { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(14px) brightness(.55) saturate(1.15); transform: scale(1.18); }
.newsx-card__pic { position: absolute; inset: 0; z-index: 1; background-size: contain; background-repeat: no-repeat; background-position: center; transition: transform .5s var(--ease); }
.newsx-card:hover .newsx-card__pic { transform: scale(1.04); }
.newsx-card__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,24,47,.28), transparent 45%); }
.newsx-card__date { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; align-items: center; line-height: 1.05; background: var(--grad-navy); color: #fff; border: 1px solid rgba(224,177,60,.55); border-radius: 10px; padding: .5rem .7rem .45rem; box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.newsx-card__date b { font-size: 1.3rem; font-weight: 800; }
.newsx-card__date i { font-style: normal; font-size: .6rem; font-weight: 800; letter-spacing: .1em; color: var(--gold-soft); }
.newsx-card__count { position: absolute; bottom: 10px; right: 10px; z-index: 2; background: rgba(8,24,47,.8); color: #fff; font-size: .75rem; font-weight: 700; padding: .28rem .68rem; border-radius: 100px; backdrop-filter: blur(4px); }
.newsx-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.3rem 1.2rem; }
.newsx-card__cat { align-self: flex-start; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); border: 1px solid rgba(224,177,60,.55); background: rgba(224,177,60,.07); padding: .32rem .8rem; border-radius: 100px; margin-bottom: .7rem; }
.newsx-card__body h3 { font-size: 1.06rem; font-weight: 800; color: var(--navy); line-height: 1.35; margin-bottom: .45rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.newsx-card__body h3 a { color: inherit; }
.newsx-card__body h3 a:hover { color: var(--blue); }
.newsx-card__body p { color: var(--muted); font-size: .9rem; line-height: 1.6; margin-bottom: .95rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.newsx-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; font-size: .85rem; color: var(--navy); border-top: 1px solid var(--line); padding-top: .85rem; transition: color .25s; }
.newsx-card__link span { transition: transform .3s var(--ease); }
.newsx-card__link:hover { color: var(--gold-deep); }
.newsx-card__link:hover span { transform: translateX(4px); }
/* bottom CTA band */
.newsx__cta { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; background: rgba(255,255,255,.05); border: 1px solid rgba(224,177,60,.45); border-radius: 16px; padding: 1.2rem 1.7rem; }
.newsx__cta-left { display: flex; align-items: center; gap: 1.1rem; }
.newsx__cta-ico { width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--gold); background: rgba(224,177,60,.12); display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0; }
.newsx__cta strong { display: block; font-family: var(--font-head); color: #fff; font-size: 1.18rem; margin-bottom: .1rem; }
.newsx__cta small { color: #c6d2e6; font-size: .88rem; }
.newsx__cta-btn { display: inline-flex; align-items: center; gap: .55rem; background: var(--grad-gold); color: var(--navy); font-weight: 800; font-size: .92rem; padding: .85rem 1.75rem; border-radius: 100px; box-shadow: var(--glow-gold); transition: all .3s var(--ease); white-space: nowrap; }
.newsx__cta-btn span { transition: transform .3s var(--ease); }
.newsx__cta-btn:hover { transform: translateY(-2px); color: var(--navy); box-shadow: 0 14px 34px rgba(224,177,60,.6); }
.newsx__cta-btn:hover span { transform: translateX(4px); }
@media (max-width: 1000px) { .newsx__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .newsx__grid { grid-template-columns: 1fr; }
  .newsx__cta { justify-content: center; text-align: center; }
  .newsx__cta-left { flex-direction: column; }
}

/* ===== Department page (HOD spotlight layout) ===== */
.dpt { padding: 40px 0 64px; background: linear-gradient(180deg, #f6f9fd 0%, #edf2fa 100%); }
.dpt__crumb { font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.dpt__crumb a { color: var(--gold-deep); font-weight: 600; }
.dpt__crumb a:hover { color: var(--navy); }
.dpt__crumb span { opacity: .5; margin: 0 .3rem; }
.dpt__grid { display: grid; grid-template-columns: 300px 1fr 290px; grid-template-areas: "hod msg side" "stats stats side"; gap: 26px; align-items: start; }
/* HOD photo card */
.dpt__hodcard { grid-area: hod; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); border-bottom: 5px solid var(--gold); }
.dpt__hodphoto { height: 295px; background: linear-gradient(135deg, var(--navy-600), var(--blue)); background-size: cover; background-position: center 30%; }
.dpt__hodinfo { position: relative; background: var(--grad-navy); color: #fff; padding: 2.4rem 1.6rem 1.5rem; }
.dpt__hex { position: absolute; top: -26px; left: 1.4rem; width: 52px; height: 52px; border-radius: 14px; background: var(--grad-gold); border: 3px solid #fff; display: grid; place-items: center; font-size: 1.3rem; box-shadow: 0 10px 24px rgba(224,177,60,.5); }
.dpt__hodinfo h3 { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; line-height: 1.2; margin-bottom: .35rem; }
.dpt__hodrole { display: inline-block; color: var(--gold-soft); font-weight: 700; font-size: .92rem; margin-bottom: .5rem; }
.dpt__hodinfo p { color: #c6d2e6; font-size: .9rem; line-height: 1.55; }
/* message column */
.dpt__msg { grid-area: msg; padding: 4px 8px 0; }
.dpt__kicker { display: inline-flex; align-items: center; gap: .5rem; color: var(--gold-deep); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; margin-bottom: .5rem; }
.dpt__msg h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.1rem, 4vw, 3.1rem); color: var(--navy); line-height: 1.1; margin-bottom: .9rem; }
.dpt__divider { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem; }
.dpt__divider::before, .dpt__divider::after { content: ''; width: 56px; height: 2px; background: var(--gold); border-radius: 2px; }
.dpt__divider::after { width: 10px; height: 10px; transform: rotate(45deg); border-radius: 2px; }
.dpt__quote { position: relative; font-family: var(--font-head); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--ink); line-height: 1.5; padding-left: 3.4rem; margin-bottom: 1.6rem; border: 0; background: none; }
.dpt__quote::before { content: '\201C'; position: absolute; left: 0; top: -1.1rem; font-family: var(--font-head); font-size: 4.6rem; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dpt__dear { font-weight: 800; color: var(--navy); font-size: 1.05rem; margin-bottom: .9rem; }
.dpt__msg > p { color: var(--muted); font-size: .99rem; line-height: 1.85; margin-bottom: 1rem; }
.dpt__sign { margin-top: 1.4rem; }
.dpt__signword { display: block; color: var(--muted); font-size: .95rem; margin-bottom: .5rem; }
.dpt__sign strong { display: block; font-family: var(--font-head); font-size: 1.35rem; color: var(--navy); }
.dpt__sign em { display: block; font-style: normal; color: var(--gold-deep); font-weight: 700; font-size: .92rem; margin: .15rem 0 .3rem; }
.dpt__sign small { color: var(--muted); font-size: .88rem; line-height: 1.5; }
/* dark navigation sidebar */
.dpt__side { grid-area: side; background: linear-gradient(170deg, #081d3d 0%, #0d2a54 60%, #143a72 100%); border: 1px solid rgba(224,177,60,.5); border-radius: 20px; padding: 1.35rem 1.1rem 1.3rem; box-shadow: var(--shadow-lg); }
.dpt__sidehead { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.05rem; }
.dpt__sideico { width: 46px; height: 46px; border-radius: 13px; background: rgba(224,177,60,.16); border: 1px solid rgba(224,177,60,.45); display: grid; place-items: center; font-size: 1.25rem; flex-shrink: 0; }
.dpt__sidehead h4 { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: #fff; line-height: 1.2; }
.dpt__sidehead h4 em { font-style: normal; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dpt__nav { display: grid; gap: .45rem; }
.dpt__nav a { display: flex; align-items: center; gap: .7rem; color: #dbe4f2; font-weight: 600; font-size: .92rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: .72rem .95rem; transition: all .25s var(--ease); }
.dpt__nav a span { width: 22px; text-align: center; flex-shrink: 0; }
.dpt__nav a b { margin-left: auto; color: var(--gold-soft); font-weight: 800; font-size: 1.05rem; transition: transform .25s var(--ease); }
.dpt__nav a:hover { background: rgba(255,255,255,.12); color: #fff; transform: translateX(3px); }
.dpt__nav a:hover b { transform: translateX(3px); }
.dpt__nav a.is-active { background: var(--grad-gold); border-color: transparent; color: var(--navy); font-weight: 800; box-shadow: var(--glow-gold); }
.dpt__nav a.is-active b { color: var(--navy); }
.dpt__brand { margin-top: 1.4rem; padding: 1.15rem 1rem; text-align: center; border-radius: 14px; background: radial-gradient(120px 60px at 50% 0%, rgba(224,177,60,.2), transparent 70%), rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.dpt__brand b { display: block; font-family: var(--font-head); font-size: 1.9rem; letter-spacing: .12em; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dpt__brand span { color: #c6d2e6; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; line-height: 1.6; }
/* stats band */
.dpt__stats { grid-area: stats; display: flex; flex-wrap: wrap; background: #fff; border-radius: 18px; box-shadow: var(--shadow-md); padding: .4rem; }
.dpt__stat { flex: 1 1 0; min-width: 170px; display: flex; align-items: center; justify-content: center; gap: .85rem; padding: 1.15rem 1rem; border-left: 1px solid var(--line); }
.dpt__stat:first-child { border-left: 0; }
.dpt__stat > span { font-size: 1.7rem; }
.dpt__stat b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; color: var(--navy); line-height: 1.1; }
.dpt__stat small { color: var(--muted); font-size: .82rem; font-weight: 600; }
@media (max-width: 1120px) {
  .dpt__grid { grid-template-columns: 300px 1fr; grid-template-areas: "hod msg" "stats stats" "side side"; }
}
@media (max-width: 760px) {
  .dpt__grid { grid-template-columns: 1fr; grid-template-areas: "hod" "msg" "stats" "side"; }
  .dpt__hodcard { max-width: 420px; margin: 0 auto; }
  .dpt__stat { min-width: 46%; border-left: 0; }
}

/* ===== Vision/Mission/Values strip overlapping the hero ===== */
.vmstrip { position: relative; z-index: 6; margin-top: 0; margin-bottom: 8px; }
.vmstrip__grid { display: grid; grid-template-columns: 1fr 1fr 1.15fr; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.vmitem { display: flex; gap: 1.05rem; padding: 1.8rem 1.6rem; border-left: 1px solid var(--line); align-items: flex-start; transition: background .3s; }
.vmitem:first-child { border-left: 0; }
.vmitem:hover { background: #fbfcfe; }
.vmitem__ico { width: 62px; height: 62px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-size: 1.5rem; background: var(--grad-navy); color: #fff; box-shadow: 0 10px 24px rgba(20,58,114,.35); }
.vmitem:nth-child(2) .vmitem__ico { background: var(--grad-gold); box-shadow: var(--glow-gold); }
.vmitem h3 { font-family: var(--font-head); color: var(--navy); font-size: 1.3rem; font-weight: 700; margin-bottom: .35rem; }
.vmitem p { color: var(--muted); font-size: .92rem; line-height: 1.65; }
.vmitem ul { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1rem; margin-top: .15rem; }
.vmitem ul li { color: var(--muted); font-size: .9rem; font-weight: 500; display: flex; gap: .5rem; align-items: center; }
.vmitem ul li::before { content: ''; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--gold); flex-shrink: 0; }
/* hero dots move to the corner on desktop so the strip never covers them */
@media (min-width: 1001px) {
  .hero__dots { left: auto; right: 36px; transform: none; bottom: 86px; }
}
@media (max-width: 1000px) {
  .vmstrip { margin-top: 26px; }
  .vmstrip__grid { grid-template-columns: 1fr; }
  .vmitem { border-left: 0; border-top: 1px solid var(--line); }
  .vmitem:first-child { border-top: 0; }
}

/* ===== About section: stat chips + action buttons ===== */
.about__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 1.5rem 0 1.7rem; }
.afact { display: flex; align-items: center; gap: .75rem; border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; background: #fbfcfe; transition: all .3s var(--ease); }
.afact:hover { border-color: rgba(224,177,60,.55); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.afact__ico { width: 42px; height: 42px; border-radius: 11px; background: linear-gradient(135deg, rgba(224,177,60,.16), rgba(47,107,184,.12)); display: grid; place-items: center; font-size: 1.15rem; flex-shrink: 0; }
.afact b { font-family: var(--font-head); color: var(--navy); font-size: 1.2rem; font-weight: 700; line-height: 1.1; display: block; }
.afact small { color: var(--muted); font-size: .78rem; font-weight: 600; line-height: 1.3; }
.about__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.about__actions .btn--navy { margin-top: 0; }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(8,24,47,.3); }
@media (max-width: 560px) { .about__facts { grid-template-columns: 1fr; } }


/* ===== Image Gallery (home) ===== */
.galx__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: -6px 0 30px; }
.galx__tabs button { font-family: inherit; cursor: pointer; font-size: .84rem; font-weight: 800; color: var(--navy); background: #fff; border: 1px solid var(--line); padding: .5rem 1.3rem; border-radius: 100px; transition: all .3s var(--ease); }
.galx__tabs button:hover { border-color: rgba(224,177,60,.6); transform: translateY(-1px); }
.galx__tabs button.is-active { background: var(--grad-navy); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(20,58,114,.35); }
.galx__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 14px; grid-auto-flow: dense; }
.galx__item { position: relative; display: block; border-radius: 14px; overflow: hidden; background-size: cover; background-position: center; border: 2px solid rgba(224,177,60,.5); box-shadow: var(--shadow-sm); cursor: zoom-in; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.galx__grid:not(.is-filtered) .galx__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.galx__grid:not(.is-filtered) .galx__item:nth-child(8) { grid-column: span 2; }
.galx__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,24,47,.55), transparent 45%); opacity: .85; transition: opacity .3s; }
.galx__item:hover { transform: translateY(-5px) scale(1.02); box-shadow: var(--shadow-lg); z-index: 2; }
.galx__item:hover::after { opacity: 1; }
.galx__tag { position: absolute; left: 12px; bottom: 10px; z-index: 2; color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: rgba(8,24,47,.55); border: 1px solid rgba(246,215,126,.45); padding: .28rem .7rem; border-radius: 100px; backdrop-filter: blur(4px); }
.galx__zoom { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; font-size: 1.6rem; opacity: 0; transition: opacity .3s; }
.galx__item:hover .galx__zoom { opacity: 1; }
@media (max-width: 1000px) { .galx__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; } }
@media (max-width: 640px) { .galx__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 10px; } }

/* ===== Student Life (home) ===== */
/* bento mosaic — real campus photos, varied tile sizes */
.slife__bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 20px; }
.slcard { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); }
.slcard--feature { grid-column: span 2; grid-row: span 2; }
.slcard--wide { grid-column: span 2; }
.slcard__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1s var(--ease); }
.slcard:hover .slcard__bg { transform: scale(1.1); }
.slcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,18,40,.92), rgba(6,18,40,.32) 52%, rgba(6,18,40,.05)); transition: background .4s var(--ease); }
.slcard:hover::after { background: linear-gradient(to top, rgba(6,18,40,.94), rgba(11,38,80,.4) 55%, rgba(224,177,60,.12)); }
.slcard::before { content: ''; position: absolute; inset: 0; z-index: 3; border: 2px solid transparent; border-radius: 18px; transition: border-color .4s var(--ease); pointer-events: none; }
.slcard:hover::before { border-color: rgba(224,177,60,.65); }
.slcard__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 1.15rem 1.4rem 1.35rem; transform: translateY(0); transition: transform .4s var(--ease); }
.slcard__body h3 { font-family: var(--font-head); color: #fff; font-size: 1.28rem; font-weight: 800; margin-bottom: .25rem; line-height: 1.2; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.slcard--feature .slcard__body h3 { font-size: 2rem; }
.slcard__body h3::after { content: ''; display: block; width: 38px; height: 3px; background: var(--grad-gold); border-radius: 3px; margin-top: .5rem; transform-origin: left; transition: transform .35s var(--ease); }
.slcard:hover .slcard__body h3::after { transform: scaleX(1.9); }
.slcard__body small { color: #dbe4f2; font-size: .88rem; font-weight: 600; display: block; margin-top: .35rem; }
.slcard--feature .slcard__body small { font-size: 1rem; }
@media (max-width: 900px) {
  .slife__bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .slcard--feature { grid-column: span 2; grid-row: span 1; }
  .slcard--wide { grid-column: span 2; }
  .slcard--feature .slcard__body h3 { font-size: 1.5rem; }
}
@media (max-width: 560px) {
  .slife__bento { grid-template-columns: 1fr; }
  .slcard, .slcard--feature, .slcard--wide { grid-column: span 1; }
}
@media (max-width: 1000px) { .slife__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .slife__grid { grid-template-columns: 1fr; } .slcard { height: 210px; } }

/* ============ Office pages (banner + body + navy Offices sidebar) ============ */
.offpg { padding: 54px 0 8px; }
.offpg__grid { display: grid; grid-template-columns: minmax(0, 1fr) 344px; gap: 42px; align-items: start; }
.offpg__main { max-width: none; }
.offpg__side { grid-area: auto; position: sticky; top: 96px; }
/* an office with no quick links has no sidebar, so the text takes the width */
.offpg__grid--wide { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 980px) { .offpg__grid { grid-template-columns: 1fr; } .offpg__side { position: static; } }

/* Office head lead — photo card + message, mirrors the department HOD spotlight */
.offhead { display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: 34px; align-items: start; margin: 0 0 34px; }
@media (max-width: 720px) { .offhead { grid-template-columns: 1fr; } }
.offcard { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); background: #fff; border: 1px solid var(--line); }
.offcard__photo { aspect-ratio: 3 / 3.4; background-size: cover; background-position: center 22%; background-color: #e9eef6; }
.offcard__info { position: relative; background: var(--grad-navy); color: #fff; padding: 44px 22px 24px; margin-top: -30px; border-radius: 20px 20px 0 0; }
.offcard__hex { position: absolute; top: -22px; left: 22px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--grad-gold); border-radius: 12px; font-size: 1.2rem; box-shadow: 0 8px 18px rgba(224,177,60,.5); }
.offcard__info h3 { font-family: var(--font-head); font-size: 1.32rem; margin: 0 0 4px; color: #fff; }
.offcard__role { display: inline-block; color: var(--gold); font-weight: 800; font-size: .9rem; margin-bottom: 10px; }
.offcard__info p { color: #cdd7ea; font-size: .84rem; line-height: 1.5; margin: 0; }
.offcard__info::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--grad-gold); }

.offmsg .off-kicker { display: inline-flex; align-items: center; gap: .4rem; color: var(--gold-deep); font-weight: 800; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }
.offmsg h2 { font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.5rem); color: var(--navy); line-height: 1.08; margin: .3rem 0 .5rem; }
.offmsg .off-divider { display: block; width: 74px; height: 3px; background: var(--grad-gold); border-radius: 3px; margin: 0 0 1.1rem; position: relative; }
.offmsg .off-divider::after { content: '◆'; position: absolute; right: -20px; top: -9px; color: var(--gold); font-size: .7rem; }
.offmsg blockquote { border: 0; margin: 0 0 1.1rem; padding: 0 0 0 18px; border-left: 3px solid var(--gold); font-family: var(--font-head); font-style: italic; font-size: 1.12rem; color: var(--navy); }
.offmsg p { color: var(--muted); line-height: 1.75; margin: 0 0 1rem; }
.offmsg .off-contact { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: .4rem 0 0; }
.offmsg .off-contact a, .offmsg .off-contact span { display: inline-flex; align-items: center; gap: .5rem; color: var(--navy); font-weight: 700; font-size: .9rem; }
.offmsg .off-sign { margin-top: 1.4rem; }
.offmsg .off-sign strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); }
.offmsg .off-sign em { color: var(--gold-deep); font-weight: 700; font-style: normal; font-size: .9rem; }

/* Team grid for team offices (HR, IT, Treasurer, etc.) */
.offteam { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 12px 0 8px; }
@media (max-width: 900px) { .offteam { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .offteam { grid-template-columns: 1fr; } }
.offmember { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.offmember:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.offmember__photo { aspect-ratio: 1 / 1.02; background-size: cover; background-position: center 20%; background-color: #e9eef6; }
.offmember__body { padding: 16px 16px 20px; text-align: center; }
.offmember__body h4 { font-family: var(--font-head); font-size: 1.06rem; color: var(--navy); margin: 0 0 3px; }
.offmember__body span { color: var(--gold-deep); font-weight: 700; font-size: .82rem; }
.offmember__body small { display: block; color: var(--muted); font-size: .8rem; margin-top: 6px; word-break: break-word; }

/* Info blocks used by content-only offices (Library, ORIC, QEC) */
.offpg__main .info-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 6px 0 10px; }
@media (max-width: 620px) { .offpg__main .info-cards { grid-template-columns: 1fr; } }
.offpg__main .info-card { background: var(--bg-alt); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 14px; padding: 18px 20px; }
.offpg__main .info-card h3 { margin: 0 0 6px; font-size: 1.05rem; color: var(--navy); }
.offpg__main .info-card h3::after { display: none; }
.offpg__main .info-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* ============================================================
   NEW HOME LAYOUT (reference-mockup redesign)
   ============================================================ */

/* ---- row heading with "view all" link ---- */
.rowhead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.rowhead__title { font-family: var(--font-head); font-size: clamp(1.45rem, 2.6vw, 2rem); color: var(--navy); font-weight: 800; }
.rowhead__title em { font-style: normal; color: var(--gold-deep); }
.rowhead__more { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; font-size: .88rem; color: var(--gold-deep); white-space: nowrap; }
.rowhead__more span { transition: transform .3s var(--ease); }
.rowhead__more:hover { color: var(--navy); }
.rowhead__more:hover span { transform: translateX(4px); }
.rowhead--light .rowhead__title, .rowhead--light .rowhead__more { color: #fff; }
.rowhead--light .rowhead__title em { color: var(--gold); }

/* ---- quick links strip (overlaps hero) ---- */
/* ---- quick-links strip ---------------------------------------------------
   Edge to edge, and light rather than navy: sitting navy-on-navy under the
   banner there was no boundary at all, which is what made it read as flat.
   A pale surface with a gold hairline above it draws a crisp architectural
   line under the hero, and gives the navy type somewhere to be legible. */
.qstrip {
  position: relative; z-index: 7;
  /* Deep gold, darkening downwards so the row has weight and does not read as
     a flat yellow band. Navy sits on gold everywhere else on this site (the
     CTA buttons, the banner stamps), so the type and icon wells follow suit —
     it is the pairing with real contrast, unlike gold-on-gold. */
  background: linear-gradient(180deg, #cf9f2c 0%, #b8871c 55%, #9c6f10 100%);
  border-top: 2px solid #081d3d;
  border-bottom: 3px solid #7d5808;
  box-shadow: inset 0 1px 0 rgba(255, 245, 214, .45);
  overflow: hidden;
}
/* A wide diagonal sheen. Flat gold looks like paint; a slow highlight across it
   looks like metal, which is the whole point of using gold. */
.qstrip::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(104deg,
    rgba(255, 252, 240, 0) 22%,
    rgba(255, 252, 240, .28) 44%,
    rgba(255, 252, 240, .06) 58%,
    rgba(255, 252, 240, 0) 76%);
}
.qstrip__bar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: 100%;
}
.qstrip__item {
  position: relative;
  z-index: 1;                      /* above the sheen */
  display: flex; align-items: center; gap: .6rem;
  padding: .92rem 1rem;            /* tighter now the icon is smaller */
  /* a dark rule with a light one beside it — a single line on gold looks
     scratched, a pair reads as a moulded groove */
  border-left: 1px solid rgba(70, 46, 0, .3);
  box-shadow: inset 1px 0 0 rgba(255, 240, 200, .22);
  transition: background .28s var(--ease), transform .28s var(--ease);
}
.qstrip__item:first-child { border-left: 0; box-shadow: none; }
/* the bar is full-bleed, but the outermost items still need room to breathe
   instead of being pinned against the window edge */
.qstrip__item:first-child { padding-left: clamp(1rem, 3.2vw, 3rem); }
.qstrip__item:last-child  { padding-right: clamp(1rem, 3.2vw, 3rem); }

/* a navy bar grows along the top of the hovered cell */
.qstrip__item::after {
  content: '';
  position: absolute; left: 0; right: 0; top: -2px; height: 2px;
  background: linear-gradient(90deg, #081d3d, #143a72);
  transform: scaleX(0);
  transition: transform .32s var(--ease);
}
.qstrip__item:hover { background: rgba(255, 246, 219, .3); }
.qstrip__item:hover::after { transform: scaleX(1); }

/* Small and light on purpose. The chunky filled navy squares that were here
   before sat on the gold like seven bricks and dragged the whole row down; a
   thin ring with a white glyph belongs to the same family as the type beside
   it, so each cell reads as one thing instead of a box plus a label. */
.qstrip__ico {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(10, 32, 68, .16);
  border: 1px solid rgba(255, 250, 235, .4);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: background .3s var(--ease), border-color .3s var(--ease),
              transform .3s var(--ease);
}
.qstrip__ico svg { width: 17px; height: 17px; }
.qstrip__item:hover .qstrip__ico {
  background: rgba(10, 32, 68, .82);
  border-color: rgba(255, 250, 235, .7);
  transform: translateY(-2px) scale(1.06);
}

.qstrip__txt { min-width: 0; }
.qstrip__item b {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-size: .84rem; font-weight: 800; line-height: 1.2;
  letter-spacing: -.1px;
  /* White on mid-tone gold is a thinner contrast than navy was, so the letters
     get a soft dark shadow to hold their edge. */
  text-shadow: 0 1px 2px rgba(60, 38, 0, .45);
}
.qstrip__item small {
  display: block;
  /* Held-back white rather than the old navy: with a white title above it, a
     dark second line would read as the heavier of the two and invert the
     hierarchy. */
  color: rgba(255, 250, 238, .82);
  font-size: .71rem; font-weight: 700;
  text-shadow: 0 1px 2px rgba(60, 38, 0, .35);
}

@media (max-width: 1180px) {
  .qstrip__bar { grid-template-columns: repeat(4, 1fr); }
  .qstrip__item { border-top: 1px solid rgba(70, 46, 0, .28); }
  .qstrip__item:nth-child(-n+4) { border-top: 0; }
  .qstrip__item:nth-child(4n+1) { border-left: 0; box-shadow: none; }
}
@media (max-width: 720px) {
  .qstrip__bar { grid-template-columns: repeat(2, 1fr); }
  .qstrip__item { padding: .9rem .8rem; gap: .55rem; }
  .qstrip__item:nth-child(-n+4) { border-top: 1px solid rgba(70, 46, 0, .28); }
  .qstrip__item:nth-child(-n+2) { border-top: 0; }
  .qstrip__item:nth-child(odd) { border-left: 0; box-shadow: none; }
  /* seven items in two columns leaves the last one stranded beside a gap */
  .qstrip__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .qstrip__ico { width: 30px; height: 30px; }
  .qstrip__ico svg { width: 15px; height: 15px; }
}

/* ---- about (3-column: body | collage | vision-mission-values) ---- */
.about2__grid { display: grid; grid-template-columns: 1.15fr 1fr .95fr; gap: 2.6rem; align-items: center; }
.about2__body p { color: var(--muted); line-height: 1.78; margin: 0 0 1rem; font-size: .95rem; }
.about2__body .btn { margin-top: .5rem; }
.about2__media { display: grid; gap: 14px; }
.about2__img { border-radius: 14px; background-size: cover; background-position: center; box-shadow: var(--shadow-sm); }
.about2__img--main { height: 240px; }
.about2__imgrow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about2__imgrow .about2__img { height: 130px; }
.about2__vmv { display: grid; gap: 1.15rem; }
.about2__vitem { display: flex; gap: .95rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.05rem 1.15rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.about2__vitem:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.about2__vico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; font-size: 1.25rem; border-radius: 50%; background: var(--grad-navy, linear-gradient(135deg, #0a1f44, #143a72)); color: #fff; box-shadow: 0 8px 20px rgba(20,58,114,.35); }
.about2__vitem:nth-child(2) .about2__vico { background: var(--grad-gold); color: var(--navy); }
.about2__vitem h3 { font-size: 1.02rem; color: var(--navy); margin: 0 0 .3rem; }
.about2__vitem p { color: var(--muted); font-size: .84rem; line-height: 1.6; margin: 0; }
@media (max-width: 1080px) { .about2__grid { grid-template-columns: 1fr 1fr; } .about2__vmv { grid-column: span 2; grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .about2__grid { grid-template-columns: 1fr; } .about2__vmv { grid-column: span 1; grid-template-columns: 1fr; } }

/* ---- faculties strip: premium cards on a continuous marquee (~4 visible) ---- */
.facmq { overflow: hidden; padding: 14px 0 30px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.facmq__track { display: flex; gap: 26px; width: max-content; animation: facscroll 70s linear infinite; }
.facmq:hover .facmq__track { animation-play-state: paused; }
@keyframes facscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.fcard { flex: none; width: 268px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.fcard:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); border-color: rgba(224,177,60,.55); }
.fcard__img { position: relative; display: block; height: 190px; background-size: cover; background-position: center; overflow: hidden; }
.fcard__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,29,61,.72), rgba(8,29,61,.12) 55%, transparent); transition: background .4s var(--ease); }
.fcard:hover .fcard__img::after { background: linear-gradient(to top, rgba(8,29,61,.8), rgba(20,58,114,.28) 55%, rgba(224,177,60,.14)); }
.fcard__ico { position: absolute; z-index: 2; left: 14px; bottom: 14px; width: 46px; height: 46px; display: grid; place-items: center; font-size: 1.3rem; border-radius: 13px; background: var(--grad-gold); color: var(--navy); box-shadow: 0 10px 24px rgba(224,177,60,.5); transition: transform .4s var(--ease); }
.fcard:hover .fcard__ico { transform: scale(1.1) rotate(-6deg); }
.fcard__body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.3rem 1.35rem; }
.fcard__eyebrow { color: var(--gold-deep); font-weight: 800; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .3rem; }
.fcard__name { font-family: var(--font-head); color: var(--navy); font-size: 1.02rem; font-weight: 800; line-height: 1.32; margin: 0 0 .55rem; min-height: 2.65em; display: flex; align-items: flex-start; transition: color .3s var(--ease); }
.fcard:hover .fcard__name { color: var(--blue, #143a72); }
.fcard__meta { display: inline-flex; align-items: center; gap: .35rem; align-self: flex-start; color: var(--muted); font-size: .74rem; font-weight: 700; background: rgba(8,29,61,.05); border: 1px solid var(--line); padding: .28rem .7rem; border-radius: 100px; margin-bottom: 1rem; }
.fcard__cta { margin-top: auto; display: inline-flex; align-items: center; gap: .45rem; color: var(--gold-deep); font-weight: 800; font-size: .82rem; }
.fcard__cta b { transition: transform .3s var(--ease); }
.fcard:hover .fcard__cta { color: var(--navy); }
.fcard:hover .fcard__cta b { transform: translateX(5px); }
@media (max-width: 640px) { .fcard { width: 240px; } .fcard__img { height: 160px; } .facmq__track { animation-duration: 50s; } }
@media (prefers-reduced-motion: reduce) { .facmq__track { animation: none; } }

/* ---- achievements stats bar ---- */
.statsbar { background: linear-gradient(160deg, #081d3d 0%, #0d2a54 55%, #143a72 100%); border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); padding: 46px 0; }
.statsbar__inner { display: flex; align-items: center; gap: 2.2rem; flex-wrap: wrap; }
.statsbar__title { font-family: var(--font-head); color: #fff; font-size: 1.5rem; line-height: 1.2; font-weight: 800; flex: none; }
.statsbar__title em { font-style: normal; color: var(--gold); }
.statsbar__grid { display: grid; grid-template-columns: repeat(6, auto); gap: 1.9rem; flex: 1; justify-content: space-between; }
.statx { display: flex; align-items: center; gap: .7rem; }
.statx__ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; font-size: 1.2rem; border-radius: 50%; background: rgba(224,177,60,.14); border: 1px solid rgba(224,177,60,.45); }
.statx b { display: block; font-family: var(--font-head); font-size: 1.45rem; color: var(--gold); line-height: 1.05; }
.statx small { color: #b9c6dd; font-size: .74rem; font-weight: 600; }
.statsbar__btn { flex: none; }
@media (max-width: 1200px) { .statsbar__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .statsbar__inner { flex-direction: column; align-items: flex-start; } .statsbar__grid { grid-template-columns: repeat(2, 1fr); width: 100%; } }

/* ---- latest news + upcoming events ---- */
.nev__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 2.2rem; align-items: start; }
.nev__feat { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), transform .3s var(--ease); margin-bottom: 1.3rem; }
.nev__feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.nev__featimg { position: relative; min-height: 210px; background-size: cover; background-position: center; display: block; }
.nev__featbody { padding: 1.35rem 1.45rem; }
.nev__featbody h3 { color: var(--navy); font-size: 1.12rem; line-height: 1.35; margin: 0 0 .55rem; }
.nev__featbody p { color: var(--muted); font-size: .88rem; line-height: 1.65; margin: 0 0 .8rem; }
.nev__date { position: absolute; top: 12px; left: 12px; background: var(--navy); color: #fff; border-radius: 10px; padding: .4rem .6rem; text-align: center; line-height: 1.05; box-shadow: var(--shadow-sm); }
.nev__date b { display: block; font-size: 1.05rem; color: var(--gold); }
.nev__date i { font-style: normal; font-size: .62rem; font-weight: 700; letter-spacing: .06em; }
.nev__more { display: inline-flex; align-items: center; gap: .4rem; color: var(--gold-deep); font-weight: 800; font-size: .8rem; }
.nev__more b { transition: transform .3s var(--ease); }
.nev__item:hover .nev__more b, .nev__feat:hover .nev__more b { transform: translateX(4px); }
.nev__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.nev__item { display: flex; gap: .85rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: .95rem 1rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.nev__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.nev__date--sm { position: static; flex: none; }
.nev__item h4 { color: var(--navy); font-size: .88rem; line-height: 1.4; margin: 0 0 .35rem; font-weight: 700; }
.nev__events { background: linear-gradient(165deg, #0a2246 0%, #0d2a54 60%, #113265 100%); border-radius: 18px; padding: 1.5rem 1.5rem 1.7rem; box-shadow: var(--shadow-md); }
.nev__events .rowhead { margin-bottom: 1.2rem; }
.nev__event { display: flex; gap: .95rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 1rem 1.05rem; margin-bottom: .9rem; transition: background .3s var(--ease), transform .3s var(--ease); }
.nev__event:hover { background: rgba(255,255,255,.11); transform: translateY(-3px); }
.nev__edate { flex: none; width: 54px; height: 60px; border-radius: 11px; background: var(--grad-gold); color: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; box-shadow: 0 8px 20px rgba(224,177,60,.4); }
.nev__edate b { font-family: var(--font-head); font-size: 1.3rem; }
.nev__edate i { font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.nev__ebody h4 { color: #fff; font-size: .92rem; line-height: 1.35; margin: 0 0 .3rem; }
.nev__ebody small { display: block; color: #a8b6cf; font-size: .76rem; margin-bottom: .5rem; }
.nev__ebtn { display: inline-block; color: var(--gold); font-weight: 800; font-size: .76rem; }
@media (max-width: 1000px) { .nev__grid { grid-template-columns: 1fr; } .nev__feat { grid-template-columns: 1fr; } }
@media (max-width: 620px)  { .nev__list { grid-template-columns: 1fr; } }

/* ---- Latest News: vertical auto-scroll marquee (4 full blocks visible) ----
   cards use margin-bottom (not gap) so the duplicated set lines up exactly
   at translateY(-50%) and the loop is seamless. */
.nvup {
  --ncard-h: 162px;
  --ncard-gap: 16px;
  position: relative;
  overflow: hidden;
  height: calc((var(--ncard-h) + var(--ncard-gap)) * 4);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 5%, #000 94%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 5%, #000 94%, transparent 100%);
}
/* flow-root keeps the last card's margin-bottom inside the track, so the track
   is exactly 2 x (8 cards + 8 gaps) tall and translateY(-50%) loops seamlessly */
.nvup__track { display: flow-root; animation: nvupscroll 46s linear infinite; will-change: transform; }
.nvup:hover .nvup__track { animation-play-state: paused; }
@keyframes nvupscroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* NOTE: named .nvcard, not .ncard — .ncard is already the news-listing card
   (300px tall image + gold frame) and would break this compact row layout. */
.nvcard {
  display: grid;
  grid-template-columns: 262px 1fr;
  height: var(--ncard-h);
  margin-bottom: var(--ncard-gap);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.nvcard:hover { transform: translateX(5px); box-shadow: var(--shadow-md); border-color: rgba(224,177,60,.55); }
.nvcard__img { position: relative; height: 100%; background-size: cover; background-position: center; background-color: #dfe5ee; }
.nvcard__img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(8,29,61,.28), rgba(8,29,61,0) 60%);
}
.nvcard__body {
  padding: .9rem 1.35rem;
  display: flex; flex-direction: column; justify-content: center; gap: .4rem;
  min-width: 0;
}
.nvcard__body h3 {
  color: var(--navy); font-size: 1.04rem; line-height: 1.35; margin: 0; font-weight: 800;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nvcard:hover .nvcard__body h3 { color: var(--gold-deep); }
.nvcard__body p {
  color: var(--muted); font-size: .855rem; line-height: 1.55; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 1000px) { .nvup { --ncard-h: 152px; } .nvcard { grid-template-columns: 210px 1fr; } .nvcard__body { padding: .8rem 1.05rem; } }
@media (max-width: 620px) {
  .nvup { --ncard-h: 268px; height: calc((var(--ncard-h) + var(--ncard-gap)) * 2); }
  .nvcard { grid-template-columns: 1fr; grid-template-rows: 140px 1fr; }
}
@media (prefers-reduced-motion: reduce) { .nvup__track { animation: none; } }

/* ---- virtual campus tour panel ---- */
/* full-bleed navy band — panel spans the entire viewport width */
.tour2 { background: linear-gradient(160deg, #081d3d 0%, #0d2a54 55%, #143a72 100%); border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); padding: 0; }
.tour2 > .container { max-width: none; width: 100%; padding: 0; }
.tour2__panel { display: grid; grid-template-columns: 1.05fr 1.6fr 190px; gap: 2.2rem; background: none; border-radius: 0; padding: 3rem clamp(1.2rem, 4vw, 4rem); box-shadow: none; align-items: center; }
.tour2__text h2 { font-family: var(--font-head); color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.2; margin: .5rem 0 .8rem; }
.tour2__text p { color: #b9c6dd; font-size: .9rem; line-height: 1.7; margin-bottom: 1.1rem; }
.tour2__facts { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; margin-bottom: 1.35rem; }
.tour2__facts b { display: block; font-family: var(--font-head); color: var(--gold); font-size: 1.25rem; }
.tour2__facts small { color: #b9c6dd; font-size: .7rem; font-weight: 600; }
.tour2__video { position: relative; min-height: 380px; border-radius: 16px; background-size: cover; background-position: center; box-shadow: 0 22px 50px rgba(2,10,25,.5); display: grid; place-items: center; overflow: hidden; }
.tour2__video::after { content: ''; position: absolute; inset: 0; background: rgba(4,14,32,.32); }
.tour2__video .tour__play { position: relative; z-index: 2; }
/* tour film: hidden until play, then fills the frame above the dark wash */
.tour2__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; z-index: 3; }
.tour2__film[hidden] { display: none; }
.tour2__video.is-playing::after, .tour2__video.is-playing .tour__play { display: none; }
.tour2__thumbs { display: grid; gap: 12px; }
.tour2__thumb { position: relative; height: 88px; border-radius: 12px; background-size: cover; background-position: center; overflow: hidden; border: 2px solid rgba(255,255,255,.25); cursor: pointer; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.tour2__thumb:hover { border-color: var(--gold); transform: scale(1.04); }
.tour2__thumb span { position: absolute; left: 0; right: 0; bottom: 0; padding: .3rem .5rem; background: linear-gradient(to top, rgba(4,14,32,.85), transparent); color: #fff; font-size: .64rem; font-weight: 700; }
@media (max-width: 1000px) { .tour2__panel { grid-template-columns: 1fr; padding: 2.2rem 1.4rem; } .tour2__thumbs { grid-template-columns: repeat(4, 1fr); } .tour2__video { min-height: 280px; } }
@media (max-width: 620px)  { .tour2__thumbs { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   LIFE AT GAUS — cinematic bento photo wall
   Deep near-black stage so the photography carries the section;
   sits between the navy tour band and the light campus gallery.
   ============================================================ */
.lifegau {
  position: relative;
  overflow: hidden;
  padding: 92px 0 96px;
  background: #04101f;
  border-top: 3px solid var(--gold);
}
/* two soft gold/blue washes drifting behind the mosaic */
.lifegau__aura {
  position: absolute; inset: -20% -10%;
  pointer-events: none;
  background:
    radial-gradient(46% 42% at 14% 12%, rgba(224,177,60,.20), transparent 68%),
    radial-gradient(50% 46% at 88% 82%, rgba(35,96,190,.30), transparent 70%);
  animation: lifeaura 22s ease-in-out infinite alternate;
}
@keyframes lifeaura {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-3%, 3%, 0) scale(1.12); }
}
.lifegau > .container { position: relative; z-index: 2; }

.lifegau__head { text-align: center; max-width: 720px; margin: 0 auto 2.6rem; }
.lifegau__kicker {
  display: inline-block;
  padding: .42rem 1.1rem;
  border-radius: 100px;
  background: rgba(224,177,60,.13);
  border: 1px solid rgba(224,177,60,.42);
  color: var(--gold);
  font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.lifegau__head h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  color: #fff; margin: 0 0 .8rem; line-height: 1.15;
}
.lifegau__head h2 em {
  font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lifegau__head p { color: #a9bad4; font-size: .96rem; line-height: 1.75; margin: 0; }

/* ---- the mosaic ---- */
.lifemos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 158px;
  gap: 14px;
  grid-template-areas:
    "a a a b b c"
    "a a a d d c"
    "e e f g g h"
    "i i f j j h";
}
.lifetile--a { grid-area: a; } .lifetile--b { grid-area: b; }
.lifetile--c { grid-area: c; } .lifetile--d { grid-area: d; }
.lifetile--e { grid-area: e; } .lifetile--f { grid-area: f; }
.lifetile--g { grid-area: g; } .lifetile--h { grid-area: h; }
.lifetile--i { grid-area: i; } .lifetile--j { grid-area: j; }

.lifetile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #08182f;
  box-shadow: 0 14px 34px rgba(0,0,0,.42);
  transition: box-shadow .45s var(--ease), transform .45s var(--ease);
}
.lifetile__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.03);
  filter: saturate(.92) brightness(.88);
  transition: transform 1.1s var(--ease), filter .55s var(--ease);
}
/* scrim keeps the caption readable over any photo */
.lifetile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3,10,22,.94) 0%, rgba(3,10,22,.55) 34%, rgba(3,10,22,.05) 66%);
  transition: opacity .45s var(--ease);
}
.lifetile:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(0,0,0,.6), 0 0 0 2px var(--gold) inset; }
.lifetile:hover .lifetile__img { transform: scale(1.14); filter: saturate(1.08) brightness(1); }

/* the big hero tile breathes on its own — slow ken-burns drift */
.lifetile--a .lifetile__img { animation: lifeken 26s ease-in-out infinite alternate; }
.lifetile--a:hover .lifetile__img { animation-play-state: paused; }
@keyframes lifeken {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to   { transform: scale(1.2) translate3d(-2.5%, -2%, 0); }
}

/* Caption only — the emoji badge and the "+" zoom disc that used to sit over
   each photograph were removed, so nothing covers the picture now. */
.lifetile__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: flex-end;
  padding: 1rem 1.05rem;
}
.lifetile__txt { min-width: 0; }
.lifetile__txt b {
  display: block;
  color: #fff; font-size: .95rem; font-weight: 800; line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
/* sub-line stays folded away until hover so the wall reads clean */
.lifetile__txt i {
  display: block;
  font-style: normal;
  color: var(--gold);
  font-size: .76rem; line-height: 1.45;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .45s var(--ease), opacity .45s var(--ease), margin-top .45s var(--ease);
}
.lifetile:hover .lifetile__txt i { max-height: 3.2em; opacity: 1; margin-top: .22rem; }

/* the a-tile is large enough to always show its sub-line */
.lifetile--a .lifetile__cap { padding: 1.5rem 1.6rem; }
.lifetile--a .lifetile__txt b { font-size: 1.45rem; font-family: var(--font-head); font-weight: 700; }
.lifetile--a .lifetile__txt i { max-height: 3.2em; opacity: 1; margin-top: .3rem; font-size: .88rem; }

/* ---- closing CTA band ---- */
.lifecta {
  display: grid;
  grid-template-columns: 1.3fr auto auto;
  align-items: center;
  gap: 2rem;
  margin-top: 2.4rem;
  padding: 1.8rem 2rem;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
}
.lifecta__txt h3 { color: #fff; font-size: 1.35rem; margin: 0 0 .35rem; }
.lifecta__txt p { color: #a9bad4; font-size: .88rem; line-height: 1.65; margin: 0; }
.lifecta__stats { display: flex; gap: 1.8rem; }
.lifecta__stats span { display: block; color: #8fa3c2; font-size: .74rem; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.lifecta__stats b {
  display: block;
  font-family: var(--font-head); font-size: 1.75rem; line-height: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: .2rem;
}

@media (max-width: 1000px) {
  .lifemos {
    grid-auto-rows: 132px;
    grid-template-areas:
      "a a a a c c"
      "a a a a d d"
      "b b e e f f"
      "g g h h j j"
      "i i i i i i";
  }
  .lifetile--a .lifetile__txt b { font-size: 1.15rem; }
  .lifecta { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .lifecta__stats { justify-content: center; flex-wrap: wrap; gap: 1.4rem; }
}
@media (max-width: 620px) {
  .lifegau { padding: 62px 0 66px; }
  .lifemos {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 128px;
    gap: 10px;
    grid-template-areas:
      "a a" "a a" "b c" "d e" "f g" "h i" "j j";
  }
  /* on a phone every tile shows its sub-line — there is no hover */
  .lifetile__txt i { max-height: 3.2em; opacity: 1; margin-top: .2rem; }
  .lifetile__cap { padding: .7rem .75rem; }
  .lifetile__txt b { font-size: .8rem; }
  .lifetile__txt i { font-size: .68rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lifegau__aura, .lifetile--a .lifetile__img { animation: none; }
}

/* ---- testimonials ---- */
.testi { background: linear-gradient(160deg, #081d3d 0%, #0d2a54 55%, #143a72 100%); border-top: 3px solid var(--gold); padding: 56px 0; }
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.testi__card { position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13); border-radius: 16px; padding: 1.6rem 1.5rem 1.4rem; transition: background .3s var(--ease), transform .3s var(--ease); }
.testi__card:hover { background: rgba(255,255,255,.1); transform: translateY(-5px); }
.testi__avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--grad-gold); color: var(--navy); font-weight: 800; font-size: 1.25rem; font-family: var(--font-head); margin-bottom: .9rem; box-shadow: 0 8px 22px rgba(224,177,60,.4); }
.testi__card blockquote { color: #dbe4f2; font-size: .92rem; line-height: 1.7; font-style: italic; margin: 0 0 .95rem; }
.testi__card strong { display: block; color: #fff; font-size: .95rem; }
.testi__card small { color: var(--gold); font-size: .78rem; font-weight: 700; }
@media (max-width: 900px) { .testi__grid { grid-template-columns: 1fr; } }

/* ---- achievements: continuous multi-card marquee (3-4 visible) ---- */
.amq { margin-top: 2.2rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); padding: 14px 0 26px; }
.amq__track { display: flex; gap: 22px; width: max-content; animation: amqscroll 60s linear infinite; }
.amq:hover .amq__track { animation-play-state: paused; }
@keyframes amqscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.amq__card { flex: none; width: 400px; background: linear-gradient(160deg, #0a2246 0%, #0d2a54 60%, #113265 100%); border: 1px solid rgba(224,177,60,.28); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.amq__card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(224,177,60,.65); }
.amq__img { display: block; height: 200px; background-size: cover; background-position: center; }
.amq__body { padding: 1.15rem 1.3rem 1.4rem; }
.amq__body .achv__tag { margin-bottom: .6rem; font-size: .66rem; padding: .32rem .7rem; }
.amq__body h3 { color: #fff; font-size: 1.02rem; line-height: 1.35; margin: 0 0 .5rem; }
.amq__body p { color: #b9c6dd; font-size: .82rem; line-height: 1.65; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.amq__more { display: inline-flex; align-items: center; gap: .45rem; margin-top: .85rem; background: var(--grad-gold); color: var(--navy); font-weight: 800; font-size: .76rem; padding: .5rem 1.05rem; border-radius: 100px; box-shadow: 0 8px 20px rgba(224,177,60,.4); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.amq__more b { transition: transform .3s var(--ease); }
.amq__more:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(224,177,60,.55); color: var(--navy); }
.amq__more:hover b { transform: translateX(4px); }
@media (max-width: 640px) { .amq__card { width: 300px; } .amq__img { height: 160px; } .amq__track { animation-duration: 45s; } }
@media (prefers-reduced-motion: reduce) { .amq__track { animation: none; } }

/* achievement detail pages: photo grid inside prose */
.prose .ach-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 1.4rem 0; }
.prose .ach-photos img { width: 100%; height: 190px; object-fit: cover; border-radius: 12px; margin: 0; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.prose .ach-photos img:hover { transform: scale(1.03); box-shadow: var(--shadow-md); }
@media (max-width: 640px) { .prose .ach-photos { grid-template-columns: 1fr; } .prose .ach-photos img { height: 220px; } }

/* ---- achievements: full-card carousel ---- */
.acar { position: relative; margin-top: 2.2rem; }
.acar__viewport { overflow: hidden; border-radius: 22px; box-shadow: var(--shadow-lg); }
.acar__track { display: flex; transition: transform .75s var(--ease); }
.acar__slide { flex: 0 0 100%; min-width: 100%; display: grid; grid-template-columns: 1fr 1.25fr; gap: 2.6rem; align-items: center; background: linear-gradient(160deg, #081d3d 0%, #0d2a54 55%, #143a72 100%); padding: 2.5rem 2.8rem; min-height: 480px; position: relative; overflow: hidden; }
.acar__slide::before { content: ""; position: absolute; top: -140px; right: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(224,177,60,.18), transparent 65%); pointer-events: none; }
.acar__slide::after { content: ""; position: absolute; bottom: -150px; left: -110px; width: 330px; height: 330px; border-radius: 50%; background: radial-gradient(circle, rgba(60,110,190,.2), transparent 65%); pointer-events: none; }
.acar__media { position: relative; height: 370px; z-index: 1; }
.acar__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; border: 5px solid rgba(255,255,255,.92); box-shadow: 0 28px 56px rgba(2,10,25,.55); animation: deckcycle 10.5s infinite; }
.acar__media img:nth-child(1) { animation-delay: -3.5s; }
.acar__media img:nth-child(2) { animation-delay: -7s; }
.acar__media img:nth-child(3) { animation-delay: 0s; }
.acar:hover .acar__media img { animation-play-state: paused; }
.acar__body { position: relative; z-index: 1; }
.acar__body h3 { color: #fff; font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.3; margin: 0 0 .9rem; }
.acar__body p { color: #b9c6dd; font-size: .94rem; line-height: 1.75; margin: 0 0 1rem; }
.acar__body strong { color: var(--gold-soft); }
.acar__body .achv__quote { margin-top: .4rem; }
.acar__facts { display: flex; gap: 1rem; margin-top: .4rem; }
.acar__facts div { text-align: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: .8rem 1.2rem; }
.acar__facts b { display: block; font-family: var(--font-head); font-size: 1.4rem; color: var(--gold); }
.acar__facts span { color: #b9c6dd; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.acar__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer; font-size: 1.6rem; font-weight: 800; color: var(--navy); background: var(--grad-gold); box-shadow: 0 12px 28px rgba(224,177,60,.5); display: grid; place-items: center; transition: transform .3s var(--ease); }
.acar__nav:hover { transform: translateY(-50%) scale(1.12); }
.acar__prev { left: -20px; }
.acar__next { right: -20px; }
.acar__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.3rem; }
.acar__dots button { width: 26px; height: 5px; border-radius: 4px; border: 0; cursor: pointer; background: rgba(8,29,61,.22); transition: background .3s var(--ease), width .3s var(--ease); }
.acar__dots button.is-active { background: var(--gold-deep); width: 40px; }
@media (max-width: 960px) {
  .acar__slide { grid-template-columns: 1fr; padding: 1.7rem; min-height: 0; }
  .acar__media { height: 260px; max-width: 420px; width: 100%; margin: 0 auto; }
  .acar__prev { left: 4px; } .acar__next { right: 4px; }
}

/* ---- achievements: 3-up compact highlight cards ---- */
.achv__trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.4rem; }
.achv__trio .hcard { padding: 1.35rem 1.35rem 1.5rem; }
.achv__trio .hcard:hover { transform: perspective(950px) rotateX(2deg) translateY(-8px); box-shadow: var(--shadow-lg); }
.achv__trio .hcard__fan { height: 235px; margin-bottom: 1.2rem; }
.achv__trio .hcard__fan img { height: 215px; }
.achv__trio .hcard__body h3 { font-size: 1.05rem; }
.achv__trio .hcard__body p { font-size: .85rem; }
@media (max-width: 1080px) { .achv__trio { grid-template-columns: 1fr; } .achv__trio .hcard__fan { height: 300px; } .achv__trio .hcard__fan img { height: 280px; } }

/* ---- mockup fidelity tweaks ---- */
/* news snippet line under small item titles */
.nev__snippet { display: block; color: var(--muted); font-size: .76rem; line-height: 1.5; margin-bottom: .4rem; }

/* testimonials side arrows (decorative, like the reference) */
.testi__wrap { position: relative; }
.testi__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 1.4rem; line-height: 1; }
.testi__arrow--l { left: -6px; }
.testi__arrow--r { right: -6px; }
@media (max-width: 900px) { .testi__arrow { display: none; } }

/* footer: five columns + newsletter + map (reference layout) */
.footer__grid--five { grid-template-columns: 1.25fr .8fr .9fr 1fr 1.15fr; }
.footer__news p { font-size: .82rem; }
.footer__form { display: flex; gap: .5rem; margin: .65rem 0 .9rem; }
.footer__form input { flex: 1; min-width: 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 9px; padding: .55rem .8rem; color: #fff; font-size: .82rem; }
.footer__form input::placeholder { color: #93a3bd; }
.footer__sub { flex: none; background: var(--grad-gold); color: var(--navy); font-weight: 800; font-size: .8rem; border: 0; border-radius: 9px; padding: .55rem .95rem; cursor: pointer; box-shadow: 0 8px 20px rgba(224,177,60,.35); transition: transform .25s var(--ease); }
.footer__sub:hover { transform: translateY(-2px); }
.footer__map { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); }
.footer__map iframe { display: block; width: 100%; height: 120px; border: 0; filter: saturate(.85); }
@media (max-width: 1100px) { .footer__grid--five { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px)  { .footer__grid--five { grid-template-columns: 1fr; } }

/* ---- accreditations ---- */
.accred { background: #fff; }
.accred__row { display: flex; flex-wrap: wrap; gap: 1rem; }
.accred__chip { flex: 1 1 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .2rem; background: #f6f9fd; border: 1px solid var(--line); border-radius: 14px; padding: 1.15rem .9rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.accred__chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: rgba(224,177,60,.5); }
.accred__chip b { font-family: var(--font-head); color: var(--navy); font-size: 1.05rem; }
.accred__chip small { color: var(--muted); font-size: .72rem; font-weight: 600; }


/* ============================================================================
   ACADEMICS HIERARCHY
   Faculties index -> Faculty -> Department -> Program -> Scheme of Study.
   One shared shell (achero / acnav / acsec) so every level of the tree feels
   like the same site, with a level-specific card system on top.
   ============================================================================ */

/* ---- breadcrumb ---- */
.acrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-bottom: 1.1rem; font-size: .82rem; }
.acrumb a { color: rgba(255,255,255,.78); font-weight: 600; transition: color .25s var(--ease); }
.acrumb a:hover { color: var(--gold); }
.acrumb b { color: var(--gold); font-weight: 700; }
.acrumb__sep { color: rgba(255,255,255,.4); }

/* ---- shared hero ---- */
.achero {
  position: relative;
  padding: 74px 0 78px;
  background: var(--grad-hero);
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.achero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 90% at 8% 0%, rgba(224,177,60,.20), transparent 60%),
    linear-gradient(100deg, rgba(6,17,36,.94) 0%, rgba(8,29,61,.86) 48%, rgba(8,29,61,.62) 100%);
}
.achero__inner { position: relative; z-index: 2; max-width: 900px; }
.achero__eyebrow {
  display: inline-block; margin-bottom: .8rem;
  padding: .34rem 1rem; border-radius: 100px;
  background: rgba(224,177,60,.15); border: 1px solid rgba(224,177,60,.45);
  color: var(--gold); font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.achero h1 {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3.05rem); line-height: 1.12; letter-spacing: -.5px;
  margin: 0; text-wrap: balance;
}
.achero__sub { margin: .85rem 0 0; color: #c3d2e8; font-size: 1.02rem; line-height: 1.7; max-width: 62ch; }
.achero__stats { display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 1.9rem; }
.achero__stats span { display: block; color: #91a5c3; font-size: .74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.achero__stats b {
  display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1; margin-bottom: .25rem;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---- sticky section nav ---- */
.acnav { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 6px 20px rgba(8,24,47,.06); }
.acnav__inner { display: flex; align-items: center; gap: .3rem; overflow-x: auto; scrollbar-width: none; }
.acnav__inner::-webkit-scrollbar { display: none; }
.acnav a {
  flex: none; padding: 1rem .95rem; font-size: .85rem; font-weight: 700; color: var(--muted);
  border-bottom: 3px solid transparent; white-space: nowrap; transition: color .25s var(--ease), border-color .25s var(--ease);
}
.acnav a:hover { color: var(--navy); border-bottom-color: var(--gold); }
.acnav__cta { margin-left: auto; color: var(--gold-deep) !important; }

/* ---- section furniture ---- */
.acsec { padding: 68px 0; }
.acsec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.4rem; margin-bottom: 2rem; flex-wrap: wrap; }
.acsec__count { color: var(--muted); font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.acsec__count--link { color: var(--gold-deep); }
.ackicker { display: block; color: var(--gold-deep); font-size: .72rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; margin-bottom: .5rem; }
.acheading { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 2.8vw, 2.15rem); color: var(--navy); line-height: 1.18; margin: 0; }

/* ---- search / filter ---- */
.acfilter { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.acfilter__field { position: relative; flex: 1 1 340px; max-width: 520px; }
.acfilter__ico { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font-size: .95rem; opacity: .55; }
.acfilter__field input {
  width: 100%; padding: .85rem 1rem .85rem 2.7rem;
  border: 1px solid var(--line); border-radius: 100px; background: var(--bg-alt);
  font-family: inherit; font-size: .92rem; color: var(--ink);
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.acfilter__field input:focus { outline: none; background: #fff; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(224,177,60,.16); }
.acfilter__count { color: var(--muted); font-size: .82rem; font-weight: 700; }
.acfilter__empty { text-align: center; color: var(--muted); padding: 2.4rem 0; font-size: .95rem; }

/* ---- grids ---- */
.acgrid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.acgrid--dept { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.acgrid--prog { grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 1.2rem; }

/* ---- faculties index card ---- */
.fac {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.6rem 1.6rem 1.3rem; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.fac:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg, 0 22px 48px rgba(8,24,47,.14)); border-color: rgba(224,177,60,.5); }
.fac__top { display: flex; gap: .95rem; align-items: flex-start; margin-bottom: .9rem; }
.fac__ico {
  flex: none; width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: 15px; background: var(--grad-gold); font-size: 1.5rem;
  box-shadow: 0 10px 24px rgba(224,177,60,.32);
}
.fac__eyebrow { display: block; color: var(--gold-deep); font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.fac__name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--navy); line-height: 1.22; margin: .18rem 0 0; }
.fac__blurb { color: var(--muted); font-size: .88rem; line-height: 1.65; margin: 0 0 1rem; }
.fac__dean { display: flex; align-items: center; gap: .7rem; padding: .6rem .8rem; margin-bottom: .9rem; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); }
.fac__deanpic { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--grad-navy) center/cover; border: 2px solid var(--gold); }
.fac__dean small { display: block; color: var(--gold-deep); font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fac__dean strong { color: var(--navy); font-size: .86rem; }
.fac__depts { list-style: none; margin: 0 0 1.1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.fac__depts a {
  display: inline-block; padding: .3rem .7rem; border-radius: 100px;
  background: rgba(20,58,114,.06); border: 1px solid rgba(20,58,114,.12);
  color: var(--navy); font-size: .76rem; font-weight: 600; transition: all .22s var(--ease);
}
.fac__depts a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.fac__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.fac__meta { color: var(--muted); font-size: .78rem; }
.fac__meta b { color: var(--navy); }
.fac__meta i { color: var(--line); font-style: normal; }
.fac__btn { color: var(--gold-deep); font-weight: 800; font-size: .84rem; display: inline-flex; align-items: center; gap: .4rem; }
.fac__btn b { transition: transform .3s var(--ease); }
.fac:hover .fac__btn b { transform: translateX(5px); }

/* ---- dean / HOD message ---- */
.acmsg { display: grid; grid-template-columns: 260px 1fr; gap: 2.4rem; align-items: start; }
.acmsg__who { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem 1.3rem; box-shadow: var(--shadow-sm); }
.acmsg__photo {
  width: 158px; height: 158px; margin: 0 auto .95rem; border-radius: 50%;
  background: var(--grad-navy) center/cover; border: 4px solid var(--gold);
  box-shadow: 0 14px 34px rgba(8,24,47,.2);
  display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-size: 2.6rem; font-weight: 700;
}
.acmsg__who h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.16rem; color: var(--navy); margin: 0 0 .3rem; line-height: 1.25; }
.acmsg__role { display: block; color: var(--gold-deep); font-size: .8rem; font-weight: 800; }
.acmsg__qual { color: var(--muted); font-size: .8rem; line-height: 1.55; margin: .55rem 0 0; }
.acmsg__mail { display: inline-block; margin-top: .7rem; color: var(--blue); font-size: .8rem; font-weight: 600; word-break: break-all; }
.acmsg__kicker { display: block; color: var(--gold-deep); font-size: .72rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; margin-bottom: .55rem; }
.acmsg__body { position: relative; padding-left: 2.4rem; }
.acmsg__body::before {
  content: "\201C"; position: absolute; left: 0; top: -.7rem;
  font-family: var(--font-head); font-size: 5rem; line-height: 1; color: var(--gold); opacity: .34;
}
.acmsg__body h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 1.85rem); color: var(--navy); line-height: 1.22; margin: 0 0 1rem; }
.acmsg__body p { color: var(--ink); font-size: .96rem; line-height: 1.85; margin: 0 0 .95rem; }
.acmsg__more { display: inline-flex; align-items: center; gap: .45rem; color: var(--gold-deep); font-weight: 800; font-size: .87rem; margin-top: .3rem; }
.acmsg__more b { transition: transform .3s var(--ease); }
.acmsg__more:hover b { transform: translateX(5px); }

/* ---- about + facts sidebar ---- */
.acabout { display: grid; grid-template-columns: 1fr 340px; gap: 2.6rem; align-items: start; }
.acabout__lead { color: var(--navy); font-size: 1.08rem; line-height: 1.8; margin: 1rem 0 1.2rem; font-weight: 500; }
.acabout__lead--center { max-width: 780px; margin: 0 auto 2rem; text-align: center; }
.acfacts { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem 1.5rem 1.6rem; box-shadow: var(--shadow-sm); }
.acfacts + .acfacts { margin-top: 1.2rem; }
.acfacts h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--navy); margin: 0 0 1rem; padding-bottom: .7rem; border-bottom: 2px solid var(--gold); }
.acfacts ul { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.acfacts li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); }
.acfacts li:last-child { border-bottom: 0; }
.acfacts li span { color: var(--muted); font-size: .82rem; }
.acfacts li b { color: var(--navy); font-size: .88rem; text-align: right; }
.acfacts .btn { width: 100%; justify-content: center; margin-top: .5rem; }
.acfacts--soft { background: var(--bg-alt); }
.acfacts--soft p { color: var(--muted); font-size: .87rem; line-height: 1.7; margin: 0 0 .8rem; }

/* ---- department card ---- */
.dcard2 {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.dcard2:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(8,24,47,.15); border-color: rgba(224,177,60,.5); }
.dcard2__media { position: relative; display: block; height: 150px; background: var(--grad-navy) center/cover; }
.dcard2__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,20,42,.78), rgba(6,20,42,.15)); }
.dcard2__ico {
  position: absolute; left: 1.1rem; bottom: -22px; z-index: 2;
  width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px;
  background: var(--grad-gold); font-size: 1.35rem; box-shadow: 0 10px 24px rgba(224,177,60,.4);
}
.dcard2__body { display: flex; flex-direction: column; flex: 1; padding: 2rem 1.3rem 1.3rem; }
.dcard2__body h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; line-height: 1.28; margin: 0 0 .5rem; }
.dcard2__body h3 a { color: var(--navy); transition: color .25s var(--ease); }
.dcard2:hover .dcard2__body h3 a { color: var(--gold-deep); }
.dcard2__body p { color: var(--muted); font-size: .85rem; line-height: 1.6; margin: 0 0 .9rem; }
.dcard2__hod { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 11px; background: var(--bg-alt); border: 1px solid var(--line); margin-bottom: .85rem; }
.dcard2__hodpic { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--grad-navy) center/cover; border: 2px solid var(--gold); }
.dcard2__hod small { display: block; color: var(--gold-deep); font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dcard2__hod strong { color: var(--navy); font-size: .8rem; }
.dcard2__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.dcard2__chips span { padding: .26rem .65rem; border-radius: 100px; background: rgba(20,58,114,.07); color: var(--navy); font-size: .72rem; font-weight: 700; }
.dcard2__btn { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; color: var(--gold-deep); font-weight: 800; font-size: .84rem; }
.dcard2__btn b { transition: transform .3s var(--ease); }
.dcard2:hover .dcard2__btn b { transform: translateX(5px); }

/* ---- programs by level ---- */
.aclevel + .aclevel { margin-top: 2.4rem; }
.aclevel__title { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.1rem; font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; color: var(--navy); }
.aclevel__title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.aclevel__title i { order: 3; font-style: normal; min-width: 28px; height: 28px; display: grid; place-items: center; padding: 0 .5rem; border-radius: 100px; background: var(--grad-gold); color: var(--navy); font-size: .75rem; font-weight: 800; }
.pgcard {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem 1.3rem 1.15rem;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pgcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(224,177,60,.5); }
.pgcard__level { display: inline-block; align-self: flex-start; margin-bottom: .6rem; padding: .24rem .68rem; border-radius: 100px; background: rgba(224,177,60,.16); border: 1px solid rgba(224,177,60,.4); color: var(--gold-deep); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pgcard h4 { font-family: var(--font-head); font-weight: 700; font-size: 1.06rem; color: var(--navy); line-height: 1.3; margin: 0 0 .5rem; }
.pgcard p { color: var(--muted); font-size: .84rem; line-height: 1.6; margin: 0 0 .8rem; }
.pgcard__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 1.1rem; margin: 0 0 .9rem; padding: 0; }
.pgcard__meta li { color: var(--navy); font-size: .84rem; font-weight: 700; }
.pgcard__meta small { display: block; color: var(--muted); font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pgcard__btn { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; color: var(--gold-deep); font-weight: 800; font-size: .82rem; }
.pgcard__btn--soft { color: var(--blue); }
.pgcard__btn b { transition: transform .3s var(--ease); }
.pgcard:hover .pgcard__btn b { transform: translateX(5px); }

/* ---- program detail extras ---- */
.pgfacts { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.2rem 0 1.6rem; }
.pgfacts span { flex: 1 1 130px; padding: .85rem 1rem; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--line); }
.pgfacts small { display: block; color: var(--muted); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .25rem; }
.pgfacts b { color: var(--navy); font-family: var(--font-head); font-size: 1.05rem; }
.pgblock { margin-top: 2rem; padding: 1.5rem 1.6rem; border-radius: 16px; background: var(--bg-alt); border: 1px solid var(--line); border-left: 4px solid var(--gold); }
.pgblock h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy); margin: 0 0 .7rem; }

/* ---- scheme accordion ---- */
.acacc { display: flex; flex-direction: column; gap: .8rem; }
.acacc__item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.acacc__item[open] { border-color: rgba(224,177,60,.55); box-shadow: var(--shadow-md); }
.acacc__item summary { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; cursor: pointer; list-style: none; }
.acacc__item summary::-webkit-details-marker { display: none; }
.acacc__item summary:hover { background: var(--bg-alt); }
.acacc__ico { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(224,177,60,.16); border: 1px solid rgba(224,177,60,.4); font-size: 1.1rem; }
.acacc__txt { min-width: 0; flex: 1; }
.acacc__txt b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--navy); line-height: 1.3; }
.acacc__txt i { display: block; font-style: normal; color: var(--muted); font-size: .8rem; line-height: 1.5; margin-top: .18rem; }
.acacc__caret { flex: none; font-size: 1.5rem; color: var(--gold-deep); transition: transform .3s var(--ease); }
.acacc__item[open] .acacc__caret { transform: rotate(90deg); }
.acacc__panel { padding: 0 1.3rem 1.3rem; border-top: 1px solid var(--line); }
.acacc__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; padding: .85rem 0; }
.acacc__bar strong { color: var(--navy); font-size: .9rem; }
.acacc__bar a { display: inline-block; margin-left: .7rem; color: var(--gold-deep); font-size: .82rem; font-weight: 800; }
.acacc__panel iframe { width: 100%; height: 620px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-alt); }
.acacc__none { color: var(--muted); font-size: .9rem; padding: 1rem 0; }
.acacc__panel .acmsg__more { margin-top: 1rem; }

/* ---- contact strip ---- */
.accontact { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center; }
.accontact p { color: var(--muted); font-size: .95rem; line-height: 1.8; margin: .9rem 0 1.2rem; }
.accontact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.accontact__list li { display: flex; gap: .9rem; align-items: center; padding: 1rem 1.2rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.accontact__list li span { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(224,177,60,.15); border: 1px solid rgba(224,177,60,.4); font-size: 1.1rem; }
.accontact__list small { display: block; color: var(--gold-deep); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.accontact__list div { color: var(--navy); font-size: .9rem; font-weight: 600; line-height: 1.5; }

/* ---- faculties dropdown in the main nav (faculty names only) ---- */
.nav__drop--faculties { min-width: 320px; }

/* ---- responsive ---- */
@media (max-width: 1000px) {
  .acmsg { grid-template-columns: 1fr; gap: 1.6rem; }
  .acmsg__who { display: grid; grid-template-columns: 130px 1fr; gap: 1.2rem; text-align: left; align-items: center; }
  .acmsg__photo { width: 118px; height: 118px; margin: 0; }
  .acmsg__body { padding-left: 1.9rem; }
  .acabout { grid-template-columns: 1fr; }
  .accontact { grid-template-columns: 1fr; gap: 1.6rem; }
}
@media (max-width: 620px) {
  .achero { padding: 52px 0 56px; }
  .achero__stats { gap: 1.4rem; }
  .achero__stats b { font-size: 1.55rem; }
  .acsec { padding: 48px 0; }
  .acmsg__who { grid-template-columns: 1fr; text-align: center; }
  .acmsg__photo { margin: 0 auto; }
  .acacc__panel iframe { height: 420px; }
  .acacc__item summary { padding: .9rem 1rem; }
}


/* ============================================================================
   DEPARTMENT / FACULTY LANDING — mockup layout
   Dark cinematic hero, an overlapping leadership-message card, then light
   content bands. Shared by pages/department.blade.php and pages/faculty.blade.php.
   ============================================================================ */

.acic { width: 22px; height: 22px; flex: none; }

/* ---------- hero ---------- */
.fhero {
  position: relative;
  overflow: hidden;
  padding: 66px 0 108px;
  background: #061530;
  color: #fff;
}
.fhero__photo {
  position: absolute; inset: 0 0 0 34%;
  background-size: cover; background-position: center;
  opacity: .95;
}
.fhero__wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 100% at 0% 0%, rgba(224,177,60,.13), transparent 62%),
    linear-gradient(96deg, #061530 0%, #08203f 34%, rgba(9,32,62,.92) 52%, rgba(9,32,62,.55) 72%, rgba(9,32,62,.25) 100%);
}
.fhero__inner { position: relative; z-index: 2; max-width: 760px; }
.fhero__title {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.08; letter-spacing: -.5px;
  margin: 0; text-wrap: balance;
}
.fhero__title span { display: block; color: #fff; }
.fhero__title em {
  display: block; font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.fhero__rule { display: block; width: 74px; height: 4px; border-radius: 3px; background: var(--grad-gold); margin: 1.1rem 0 1.3rem; }
.fhero__tag { font-size: clamp(1rem, 1.6vw, 1.22rem); font-weight: 700; color: #fff; margin: 0 0 .8rem; }
.fhero__desc { color: #b3c4dd; font-size: .98rem; line-height: 1.8; margin: 0; max-width: 60ch; }

.fstats {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 0;
  margin-top: 2rem; padding: .35rem;
  border: 1px solid rgba(255,255,255,.16); border-radius: 16px;
  background: rgba(255,255,255,.05); backdrop-filter: blur(6px);
  width: fit-content; max-width: 100%;
}
.fstat { display: flex; align-items: center; gap: .8rem; padding: .85rem 1.5rem; position: relative; }
.fstat + .fstat::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: rgba(255,255,255,.18); }
.fstat .acic { width: 30px; height: 30px; color: var(--gold); }
.fstat b { display: block; font-family: var(--font-head); font-size: 1.6rem; line-height: 1.05; color: #fff; }
.fstat i { display: block; font-style: normal; font-size: .74rem; color: #9db0cc; font-weight: 600; letter-spacing: .02em; }

/* ---------- dean / HOD message card (overlaps the hero) ---------- */
.dmsg {
  position: relative;
  display: grid; grid-template-columns: 300px 1fr; gap: 2.4rem;
  margin: -68px 0 0; padding: 1.9rem 2.1rem;
  border-radius: 20px;
  background: linear-gradient(150deg, #0a2044 0%, #0c2a55 55%, #0e3164 100%);
  border: 1px solid rgba(224,177,60,.32);
  box-shadow: 0 30px 70px rgba(4,12,28,.42);
  overflow: hidden; z-index: 5;
}
.dmsg__crest {
  position: absolute; right: 2.5rem; top: 2rem; pointer-events: none;
  color: rgba(224,177,60,.14);
}
.dmsg__crest .acic { width: 118px; height: 118px; }
.dmsg__photo {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  background: var(--grad-navy) center/cover;
  border: 3px solid var(--gold);
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
  display: grid; place-items: center;
  color: #fff; font-family: var(--font-head); font-size: 3.4rem; font-weight: 700;
}
.dmsg__body { position: relative; z-index: 2; min-width: 0; }
.dmsg__label { font-family: var(--font-head); font-weight: 700; font-size: 1.55rem; color: var(--gold); margin: 0; }
.dmsg__rule { display: block; width: 58px; height: 3px; border-radius: 3px; background: var(--grad-gold); margin: .55rem 0 1.3rem; }
.dmsg__name { font-family: var(--font-head); font-weight: 700; font-size: 1.75rem; color: #fff; margin: 0 0 .4rem; line-height: 1.2; }
.dmsg__role { color: #a9bcd8; font-size: .92rem; line-height: 1.6; margin: 0 0 1.2rem; }
.dmsg__quote { display: flex; gap: .9rem; }
.dmsg__mark { font-family: var(--font-head); font-size: 3.2rem; line-height: .8; color: var(--gold); opacity: .75; }
.dmsg__quote p { color: #cfdcef; font-size: .95rem; line-height: 1.85; margin: 0 0 .8rem; }
.dmsg__quote p:last-child { margin-bottom: 0; }
.dmsg__foot { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.5rem; }
.dmsg__sign { font-family: var(--font-head); font-style: italic; font-size: 1.25rem; color: rgba(255,255,255,.82); }
.dmsg__btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .72rem 1.4rem; border-radius: 10px;
  border: 1px solid var(--gold); color: var(--gold);
  font-weight: 800; font-size: .87rem;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.dmsg__btn:hover { background: var(--grad-gold); color: var(--navy); }
.dmsg__btn b { transition: transform .3s var(--ease); }
.dmsg__btn:hover b { transform: translateX(4px); }
.dmsg__contact {
  display: flex; flex-wrap: wrap; gap: 1.1rem 2.2rem;
  margin-top: 1.5rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.14);
}
.dmsg__contact span { display: inline-flex; align-items: center; gap: .55rem; color: #c6d4e8; font-size: .85rem; }
.dmsg__contact .acic { width: 18px; height: 18px; color: var(--gold); }

/* ---------- light content bands ---------- */
.acsec2 { padding: 50px 0; }
.acsec2--tight { padding-top: 0; }
.acsec2--alt { background: var(--bg-alt); }
.ahead { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); text-align: center; margin: 0; }
.ahead--left { text-align: left; }
/* the row of jump pills under the head of department card */
.djump { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 1.1rem; }
.djump a {
  display: inline-flex; align-items: center;
  padding: .5rem 1.05rem; border-radius: 100px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  color: var(--navy); font-size: .82rem; font-weight: 700;
  transition: transform .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.djump a:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--gold-deep); }
@media (max-width: 620px) {
  .djump { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: .3rem; }
  .djump::-webkit-scrollbar { display: none; }
  .djump a { flex: none; }
}
/* the eyebrow that heads every band on a department page */
.akick {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--gold-deep); font-size: .7rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: .45rem;
}
.akick::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--grad-gold); }
/* a department with no separate focus note leaves one card on its own —
   dressed as a feature it reads as a highlight rather than a stray strip */
.mocards--one .mocard {
  background: linear-gradient(150deg, #f6f9fe 0%, #eef2fa 100%);
  border-color: rgba(8, 29, 61, .1); border-left: 4px solid var(--gold);
  padding: 1.6rem 1.8rem;
}
.ahead__rule { display: block; width: 68px; height: 3px; border-radius: 3px; background: var(--grad-gold); margin: .7rem auto 1.55rem; }
.ahead__rule--left { margin-left: 0; margin-right: 0; margin-bottom: 1rem; }

/* ---------- department tiles ---------- */
.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 1.5rem; }
.dtile {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.8rem 1.4rem 1.4rem; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.dtile:hover { transform: translateY(-7px); box-shadow: 0 24px 50px rgba(8,24,47,.15); border-color: rgba(224,177,60,.5); }
.dtile__ico {
  width: 62px; height: 62px; display: grid; place-items: center;
  border-radius: 50%; font-size: 1.6rem; margin-bottom: 1.1rem;
  box-shadow: 0 12px 26px rgba(8,24,47,.18);
}
.dtile--t1 .dtile__ico { background: linear-gradient(140deg, #2a7ee0, #1a56a8); }
.dtile--t2 .dtile__ico { background: linear-gradient(140deg, #1fb37a, #12805a); }
.dtile--t3 .dtile__ico { background: linear-gradient(140deg, #8a5ce6, #5f34b8); }
.dtile--t4 .dtile__ico { background: linear-gradient(140deg, #f0a93c, #d07d18); }
.dtile--t5 .dtile__ico { background: linear-gradient(140deg, #e8586c, #b8304a); }
.dtile--t6 .dtile__ico { background: linear-gradient(140deg, #21acc4, #10788e); }
.dtile h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; line-height: 1.3; margin: 0 0 .55rem; }
.dtile h3 a { color: var(--navy); transition: color .25s var(--ease); }
.dtile:hover h3 a { color: var(--gold-deep); }
.dtile p { color: var(--muted); font-size: .84rem; line-height: 1.6; margin: 0 0 1rem; }
.dtile__hod { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .55rem .7rem; margin-bottom: .9rem; border-radius: 11px; background: var(--bg-alt); border: 1px solid var(--line); text-align: left; }
.dtile__hodpic { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--grad-navy) center/cover; border: 2px solid var(--gold); }
.dtile__hod small { display: block; color: var(--gold-deep); font-size: .58rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dtile__hod b { color: var(--navy); font-size: .78rem; font-weight: 700; }
.dtile__stat { display: flex; width: 100%; margin: auto 0 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.dtile__stat span { flex: 1; }
.dtile__stat b { display: block; font-family: var(--font-head); font-size: 1.4rem; color: var(--gold-deep); line-height: 1; }
.dtile__stat i { display: block; font-style: normal; font-size: .7rem; color: var(--muted); font-weight: 600; margin-top: .2rem; }
.dtile__btn {
  display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%;
  padding: .8rem 1rem; border-radius: 10px;
  background: var(--grad-navy); color: #fff; font-weight: 800; font-size: .85rem;
  transition: filter .3s var(--ease);
}
.dtile__btn:hover { filter: brightness(1.18); }
.dtile__btn b { transition: transform .3s var(--ease); }
.dtile:hover .dtile__btn b { transform: translateX(4px); }

/* ---------- focus / objectives cards ---------- */
.mocards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
.mocard {
  display: flex; gap: 1.1rem;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.45rem 1.55rem; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.mocard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(224,177,60,.45); }
.mocard__ico {
  flex: none; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; background: var(--grad-navy); color: var(--gold);
  box-shadow: 0 12px 26px rgba(8,24,47,.2);
}
.mocard__ico .acic { width: 26px; height: 26px; }
.mocard h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; color: var(--navy); margin: .1rem 0 .55rem; }
.mocard p { color: var(--muted); font-size: .93rem; line-height: 1.8; margin: 0; }
.mocard__list { list-style: none; margin: 0; padding: 0; }
.mocard__list li { position: relative; padding-left: 1.2rem; color: var(--muted); font-size: .91rem; line-height: 1.75; margin-bottom: .5rem; }
.mocard__list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* ---------- programs + scheme panels ---------- */
.dpanels { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.dpanel {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 1.55rem 1.6rem 1.5rem; border-radius: 18px;
  background: linear-gradient(150deg, #0a2044 0%, #0c2a55 60%, #0e3164 100%);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 20px 46px rgba(4,12,28,.28);
}
.dpanel header { display: flex; gap: 1rem; margin-bottom: 1.05rem; position: relative; z-index: 2; }
.dpanel__ico {
  flex: none; width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 13px; border: 1px solid rgba(224,177,60,.45); background: rgba(224,177,60,.14); color: var(--gold);
}
.dpanel__ico .acic { width: 24px; height: 24px; }
.dpanel h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: #fff; margin: .1rem 0 .35rem; }
.dpanel header p { color: #a9bcd8; font-size: .87rem; line-height: 1.6; margin: 0; }
.dpanel__list { list-style: none; margin: 0 0 1.15rem; padding: 0; position: relative; z-index: 2; }
.dpanel__list li + li { margin-top: .3rem; }
.dpanel__list a {
  display: flex; align-items: center; gap: .7rem;
  padding: .72rem .9rem; border-radius: 10px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  color: #dbe6f5; font-size: .89rem; font-weight: 600;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.dpanel__list a:hover { background: rgba(224,177,60,.14); border-color: rgba(224,177,60,.4); transform: translateX(4px); }
.dpanel__list .acic { width: 18px; height: 18px; color: var(--gold); }
.dpanel__list span { flex: 1; min-width: 0; }
.dpanel__list b { color: var(--gold); font-size: 1.15rem; line-height: 1; }
.dpanel .btn { align-self: flex-start; margin-top: auto; position: relative; z-index: 2; }
.dpanel__art { position: absolute; right: -18px; bottom: -22px; color: rgba(224,177,60,.1); pointer-events: none; }
.dpanel__art .acic { width: 190px; height: 190px; }
.dpanel--scheme { justify-content: space-between; min-height: 260px; }

/* ---------- faculty carousel ---------- */
.fcpanel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem 1.5rem 1.2rem; box-shadow: var(--shadow-sm); }
.fcpanel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.fcpanel__head h2 { font-family: var(--font-head); font-weight: 700; font-size: 1.55rem; color: var(--navy); margin: 0; }
.fcpanel__all { color: var(--gold-deep); font-weight: 800; font-size: .87rem; display: inline-flex; align-items: center; gap: .4rem; }
.fcpanel__all--plain { color: var(--muted); font-weight: 700; }
.fcar { position: relative; padding: 0 46px; }
.fcar__win { overflow: hidden; }
/* flex-start, not stretch: the cards size themselves from their 3/4 ratio,
   and stretching them left the portraits clipped */
.fcar__track { display: flex; gap: .9rem; align-items: stretch; transition: transform .5s var(--ease); will-change: transform; }
.fcard2 {
  position: relative; flex: 0 0 auto; width: 208px;
  display: flex; flex-direction: column; text-align: center;
  background: linear-gradient(180deg, #fff 58%, #f7f9fc 100%);
  border: 1px solid rgba(8, 29, 61, .1); border-radius: 18px;
  padding: 11px 11px 1.15rem; overflow: hidden;
  box-shadow: 0 10px 26px -18px rgba(8, 29, 61, .5);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.fcard2::before {
  content: ''; position: absolute; inset: 6px; border-radius: 14px;
  border: 1px solid rgba(8, 29, 61, .06); pointer-events: none;
  transition: border-color .4s var(--ease);
}
.fcard2::after {
  content: ''; position: absolute; left: 11px; right: 11px; bottom: 0; height: 3px;
  background: var(--grad-gold); border-radius: 3px 3px 0 0;
  transform: scaleX(0); transition: transform .4s var(--ease);
}
.fcard2:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 46px -22px rgba(8, 29, 61, .55);
  border-color: rgba(224, 177, 60, .5);
}
.fcard2:hover::before { border-color: rgba(224, 177, 60, .32); }
.fcard2:hover::after { transform: scaleX(1); }
.fcard2__photo {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 5; margin: 0;
  border: 0; border-radius: 13px; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  background-size: cover; background-position: top center;
  display: grid; place-items: center;
  color: #fff; font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  box-shadow: 0 8px 20px -14px rgba(8, 29, 61, .7), inset 0 0 0 1px rgba(8, 29, 61, .07);
  transition: transform .6s var(--ease);
}
.fcard2:hover .fcard2__photo { transform: scale(1.045); }
.fcard2 h4 {
  position: relative; z-index: 1;
  font-family: var(--font-head); font-size: .92rem; font-weight: 800;
  color: var(--navy); line-height: 1.28; letter-spacing: -.2px;
  margin: .8rem 0 .5rem; padding: 0 .2rem; border: 0; min-height: 2.55em;
}
.fcard2 h4::after {
  content: ''; display: block; width: 22px; height: 2px; border-radius: 2px;
  background: var(--grad-gold); margin: .5rem auto 0;
  transition: width .4s var(--ease);
}
.fcard2:hover h4::after { width: 40px; }
.fcard2__role {
  position: relative; z-index: 1; display: inline-block;
  background: linear-gradient(135deg, rgba(224, 177, 60, .16), rgba(246, 215, 126, .1));
  border: 1px solid rgba(224, 177, 60, .34);
  padding: .26rem .7rem; border-radius: 100px;
  color: var(--gold-deep); font-size: .6rem; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase;
}
/* the degree is on the profile itself — a card this size cannot carry it */
.fcard2__qual { display: none; }
.fcard2__btn {
  position: relative; z-index: 1; margin-top: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  margin-left: auto; margin-right: auto; padding: .48rem 1.15rem;
  border-radius: 100px; background: none; border: 1.5px solid rgba(8, 29, 61, .22);
  color: var(--navy); font-size: .72rem; font-weight: 800; box-shadow: none; white-space: nowrap;
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.fcard2__btn b { transition: transform .3s var(--ease); }
.fcard2:hover .fcard2__btn { background: var(--grad-gold); border-color: transparent; color: var(--navy); }
.fcard2:hover .fcard2__btn b { transform: translateX(4px); }
.fcar__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  background: #fff; border: 1px solid var(--line); color: var(--navy);
  font-size: 1.4rem; line-height: 1; display: grid; place-items: center;
  box-shadow: var(--shadow-sm); transition: all .25s var(--ease);
}
.fcar__nav:hover { background: var(--grad-gold); border-color: transparent; }
.fcar__nav[disabled] { opacity: .35; cursor: default; }
.fcar__prev { left: 0; }
.fcar__next { right: 0; }
.fcar__dots { display: flex; justify-content: center; gap: .4rem; margin-top: .9rem; }
.fcar__dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--line); transition: all .25s var(--ease);
}
.fcar__dots button.is-on { background: var(--gold); width: 22px; border-radius: 100px; }

/* ---------- pillars band ---------- */
.fpillars { background: linear-gradient(150deg, #0a2044 0%, #0c2a55 60%, #0e3164 100%); border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); padding: 2rem 0; }
.fpillars__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.6rem 2rem; }
.fpillar { display: flex; gap: .95rem; align-items: flex-start; }
.fpillar .acic { width: 30px; height: 30px; color: var(--gold); margin-top: .15rem; }
.fpillar b { display: block; color: #fff; font-size: .95rem; font-weight: 800; margin-bottom: .25rem; }
.fpillar span { display: block; color: #a2b5d1; font-size: .8rem; line-height: 1.6; }

/* ---------- key statistics ---------- */
.kstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.2rem; }
.kstat {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.6rem 1.1rem; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.kstat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.kstat .acic { width: 34px; height: 34px; color: var(--gold-deep); margin-bottom: .7rem; }
.kstat b { font-family: var(--font-head); font-size: 2rem; line-height: 1; color: var(--navy); }
.kstat span { color: var(--muted); font-size: .8rem; font-weight: 600; margin-top: .3rem; }

/* ---------- about + office ---------- */
.fabout { display: grid; grid-template-columns: 1fr 350px; gap: 2.2rem; align-items: start; }
.fabout__text p { color: var(--muted); font-size: .96rem; line-height: 1.85; }
.fabout__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.25rem; }
/* Both halves are grid items, so they default to min-width: auto and cannot
   shrink past their widest child. On a phone the "Faculty of Computing &
   Information Technology" button — a .btn, and every .btn is nowrap — was
   holding the column at 503px and pushing the whole page sideways. */
.fabout__text, .fcontact { min-width: 0; }
@media (max-width: 760px) {
  .fabout__cta { width: 100%; }
  .fabout__cta .btn { flex: 1 1 100%; justify-content: center; text-align: center; white-space: normal; }
}
.fcontact { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem 1.6rem 1.4rem; box-shadow: var(--shadow-sm); }
.fcontact h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy); margin: 0 0 1rem; padding-bottom: .7rem; border-bottom: 2px solid var(--gold); }
.fcontact ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.fcontact li { display: flex; gap: .85rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.fcontact li:last-child { border-bottom: 0; }
.fcontact .acic { width: 20px; height: 20px; color: var(--gold-deep); margin-top: .15rem; }
.fcontact small { display: block; color: var(--gold-deep); font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fcontact div { color: var(--navy); font-size: .88rem; font-weight: 600; line-height: 1.55; }
.fcontact__all { display: inline-flex; align-items: center; gap: .4rem; color: var(--gold-deep); font-weight: 800; font-size: .85rem; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .fhero { padding: 52px 0 96px; }
  .fhero__photo { inset: 0; opacity: .3; }
  .dmsg { grid-template-columns: 1fr; gap: 1.6rem; padding: 1.8rem 1.5rem; margin-top: -60px; }
  .dmsg__photo { width: 190px; aspect-ratio: 1; border-radius: 50%; margin: 0 auto; }
  .dmsg__crest { display: none; }
  .mocards, .dpanels, .fabout { grid-template-columns: 1fr; }
  .acsec2 { padding: 52px 0; }
}
@media (max-width: 620px) {
  .fstats { width: 100%; }
  .fstat { flex: 1 1 46%; padding: .7rem .9rem; }
  .fstat + .fstat::before { display: none; }
  .fstat b { font-size: 1.25rem; }
  .fcar { padding: 0; }
  .fcar__nav { display: none; }
  .fcar__win { overflow-x: auto; scrollbar-width: none; }
  .fcar__win::-webkit-scrollbar { display: none; }
  .fcar__track { transform: none !important; }
  .dmsg__foot { flex-direction: column; align-items: flex-start; }
}

/* department layout — single-card focus row and scheme-panel detail list */
.mocards--one { grid-template-columns: 1fr; }
.mocard__list--two { columns: 2; column-gap: 2.2rem; }
.mocard__list--two li { break-inside: avoid; }
.dpanel__facts { list-style: none; margin: 0 0 1.6rem; padding: 0; position: relative; z-index: 2; }
.dpanel__facts li { position: relative; padding-left: 1.35rem; color: #bccce3; font-size: .88rem; line-height: 1.75; margin-bottom: .35rem; }
.dpanel__facts li::before { content: ''; position: absolute; left: .1rem; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
@media (max-width: 700px) { .mocard__list--two { columns: 1; } }

/* faculty layout — mockup department tiles and horizontal key-stat cards */
.dtile__ico { color: #fff; }
.dtile__ico .acic { width: 28px; height: 28px; }
.dtile h3 { min-height: 2.6em; display: flex; align-items: center; justify-content: center; }
.dtile__stat { position: relative; align-items: center; justify-content: space-between; overflow: hidden; padding-bottom: .3rem; }
.dtile__num { flex: 0 0 auto; text-align: left; }
.dtile__num b { display: block; font-family: var(--font-head); font-size: 1.75rem; line-height: 1; }
.dtile__num i { display: block; font-style: normal; font-size: .74rem; color: var(--muted); font-weight: 600; margin-top: .18rem; }
.dtile__mark { flex: none; opacity: .16; }
.dtile__mark .acic { width: 52px; height: 52px; }
.dtile--t1 .dtile__num b, .dtile--t1 .dtile__mark { color: #1a56a8; }
.dtile--t2 .dtile__num b, .dtile--t2 .dtile__mark { color: #12805a; }
.dtile--t3 .dtile__num b, .dtile--t3 .dtile__mark { color: #5f34b8; }
.dtile--t4 .dtile__num b, .dtile--t4 .dtile__mark { color: #d07d18; }
.dtile--t5 .dtile__num b, .dtile--t5 .dtile__mark { color: #b8304a; }
.dtile--t6 .dtile__num b, .dtile--t6 .dtile__mark { color: #10788e; }

.kstat { flex-direction: row; align-items: center; justify-content: center; gap: 1rem; text-align: left; padding: 1.4rem 1.1rem; }
.kstat .acic { width: 38px; height: 38px; margin-bottom: 0; }
.kstat__txt b { display: block; font-family: var(--font-head); font-size: 1.85rem; line-height: 1; color: var(--navy); }
.kstat__txt i { display: block; font-style: normal; color: var(--muted); font-size: .8rem; font-weight: 600; margin-top: .25rem; }

/* faculty department tiles: up to four across at 1200px, centred when a faculty has fewer */
.dgrid { grid-template-columns: repeat(auto-fit, minmax(240px, 280px)); justify-content: center; }
@media (max-width: 620px) { .dgrid { grid-template-columns: minmax(0, 320px); } }

/* hero copy sits hard left across the full banner width.
   (The inner div no longer carries .container, whose `margin:0 auto`
   was centring the capped 760px block in the middle of the banner.) */
.fhero__inner,
.achero__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(1.4rem, 5vw, 4.5rem);
}
.achero__sub, .fhero__desc { max-width: 62ch; }
@media (max-width: 620px) {
  .fhero__inner, .achero__inner { padding: 0 1.2rem; }
}

/* faculty hero: title on one line, no tagline/description (both moved into #about) */
.fhero--one { padding: 74px 0 112px; }
.fhero--one .fhero__title { font-size: clamp(1.7rem, 3.3vw, 3rem); line-height: 1.15; }
.fhero--one .fhero__title span,
.fhero--one .fhero__title em { display: inline; }
.fhero--one .fhero__title span { margin-right: .32em; }
.fhero--one .fhero__title em { white-space: nowrap; }
.fhero--one .fhero__rule { margin: 1.2rem 0 1.7rem; }
.fabout__tag { color: var(--navy); font-size: 1.05rem; font-weight: 700; margin: 0 0 .7rem; }
.fabout__lead { color: var(--muted); font-size: 1rem; line-height: 1.85; margin: 0 0 1rem; }
@media (max-width: 900px) {
  .fhero--one .fhero__title em { white-space: normal; }
  .fhero--one .fhero__title span { display: block; margin-right: 0; }
}

/* one banner for the whole site: eyebrow pill, and the title wraps rather than
   overflowing now that long department names run through the same component */
.fhero--one .fhero__title em { white-space: normal; }
.fhero__eyebrow {
  display: inline-block; margin-bottom: .9rem;
  padding: .34rem 1rem; border-radius: 100px;
  background: rgba(224,177,60,.15); border: 1px solid rgba(224,177,60,.45);
  color: var(--gold); font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}

/* ---- Our Achievements strip, rebuilt: heading row on top, six even stat
       columns below with line-art icons instead of emoji ---- */
.statsbar { padding: 52px 0 56px; }
.statsbar__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.2rem;
  padding-bottom: 1.4rem; border-bottom: 1px solid rgba(255,255,255,.14);
}
.statsbar__title { font-family: var(--font-head); color: #fff; font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 800; line-height: 1.2; margin: 0; }
.statsbar__title em { font-style: normal; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.statsbar__btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .72rem 1.4rem; border-radius: 10px;
  border: 1px solid var(--gold); color: var(--gold);
  font-weight: 700; font-size: .87rem;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.statsbar__btn:hover { background: var(--grad-gold); color: var(--navy); }
.statsbar__btn b { transition: transform .3s var(--ease); }
.statsbar__btn:hover b { transform: translateX(4px); }

.statsbar__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.statx {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: .1rem; padding: .2rem .4rem; position: relative;
}
.statx + .statx::before { content: ''; position: absolute; left: calc(-.5rem - 1px); top: 12%; bottom: 12%; width: 1px; background: rgba(255,255,255,.13); }
.statx__ico {
  width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: .6rem;
  border-radius: 14px; color: var(--gold);
  background: rgba(224,177,60,.12); border: 1px solid rgba(224,177,60,.38);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.statx__ico .acic { width: 24px; height: 24px; }
.statx:hover .statx__ico { background: rgba(224,177,60,.22); transform: translateY(-3px); }
.statx b {
  font-family: var(--font-head); font-size: clamp(1.5rem, 2.4vw, 1.95rem); line-height: 1.05; font-weight: 800;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.statx small { color: #b9c6dd; font-size: .78rem; font-weight: 600; line-height: 1.4; margin-top: .25rem; }

@media (max-width: 1100px) {
  .statsbar__grid { grid-template-columns: repeat(3, 1fr); gap: 1.6rem 1rem; }
  .statx:nth-child(3n+1)::before { display: none; }
}
@media (max-width: 620px) {
  .statsbar__grid { grid-template-columns: repeat(2, 1fr); }
  .statx::before { display: none !important; }
  .statx__ico { width: 42px; height: 42px; }
}

/* ---- typography pass for the single-family (Plus Jakarta Sans) system ----
   A sans needs a touch more tracking discipline than the serif it replaced:
   tighten large display sizes, keep body copy at a comfortable measure. */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 800; letter-spacing: -.02em; }
h1, .fhero__title, .hero__title, .achero h1 { letter-spacing: -.03em; }
.ahead, .acheading, .rowhead__title, .section__title { letter-spacing: -.025em; }
p, li, td, th, input, textarea, select, button { font-family: var(--font-body); }
body { letter-spacing: -.005em; }
.prose p, .prose li { font-size: .97rem; line-height: 1.85; }
/* small caps-ish labels read better with a little positive tracking */
.ackicker, .kicker, .fhero__eyebrow, .achero__eyebrow, .statx small,
.fstat i, .acrumb { letter-spacing: .01em; }

/* ---- Vision / Mission / Core Values: navy cards, white copy, no icons ---- */
.about2__vmv { gap: 1rem; }
.about2__vitem {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 1.4rem 1.5rem 1.35rem;
  border-radius: 16px;
  background: linear-gradient(150deg, #0a2044 0%, #0c2a55 58%, #0e3164 100%);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 14px 32px rgba(6,18,40,.22);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
/* gold spine on the left, grows on hover */
.about2__vitem::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--grad-gold);
  transform: scaleY(.34); transform-origin: top;
  transition: transform .45s var(--ease);
}
.about2__vitem:hover { transform: translateY(-5px); box-shadow: 0 22px 46px rgba(6,18,40,.34); border-color: rgba(224,177,60,.42); }
.about2__vitem:hover::before { transform: scaleY(1); }
.about2__vitem h3 {
  font-family: var(--font-head); font-weight: 800;
  font-size: 1.1rem; color: #fff; line-height: 1.3; margin: 0 0 .5rem;
}
.about2__vitem p { color: #b8c8e0; font-size: .87rem; line-height: 1.72; margin: 0; }

/* ============================================================================
   HERO SLIDER — navy copy panel on the left, campus photograph on the right.
   Overrides the older full-bleed caption treatment further up this file.
   ============================================================================ */
.hero { position: relative; overflow: hidden; background: #061530; }
.hero__slides { position: relative; }
.hero__slide {
  position: absolute; inset: 0;
  display: block;
  background-size: cover; background-position: center right;
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.hero__slide.is-active { opacity: 1; z-index: 2; }
.hero__slide::before { content: ''; display: block; padding-top: 40%; }
.hero__wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 90% at 0% 10%, rgba(224,177,60,.12), transparent 62%),
    linear-gradient(96deg, #061530 0%, #08203f 30%, rgba(9,32,62,.94) 46%, rgba(9,32,62,.62) 62%, rgba(9,32,62,.18) 82%, rgba(9,32,62,0) 100%);
}
.hero__inner {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center;
  /* left gutter clears the prev arrow so the copy never runs underneath it */
  padding: 0 clamp(4.2rem, 7vw, 7.5rem) clamp(3.5rem, 7vw, 6rem);
}
.hero__caption { max-width: 620px; }
.hero__kicker {
  display: inline-block; margin-bottom: .9rem;
  color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .06em;
}
.hero__title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.8rem, 3.9vw, 3.35rem); line-height: 1.12; letter-spacing: -.03em;
  color: #fff; margin: 0 0 1rem; text-shadow: 0 3px 22px rgba(0,0,0,.35);
}
.hero__title em {
  display: block; font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__sub { color: #c0d0e6; font-size: clamp(.88rem, 1.1vw, 1rem); line-height: 1.75; margin: 0 0 1.7rem; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__cta, .hero__ghost {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: 8px;
  font-weight: 700; font-size: .9rem; white-space: nowrap;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.hero__cta { background: var(--grad-gold); color: var(--navy); box-shadow: 0 12px 30px rgba(224,177,60,.32); }
.hero__cta:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(224,177,60,.44); }
.hero__cta b { transition: transform .3s var(--ease); }
.hero__cta:hover b { transform: translateX(4px); }
.hero__ghost { border: 1px solid rgba(255,255,255,.42); color: #fff; }
.hero__ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.hero__play {
  width: 24px; height: 24px; flex: none; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-size: .55rem; padding-left: 2px;
}

.hero__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(8,24,47,.42); border: 1px solid rgba(255,255,255,.32);
  color: #fff; font-size: 1.5rem; line-height: 1;
  backdrop-filter: blur(6px);
  transition: background .28s var(--ease), border-color .28s var(--ease);
}
.hero__nav:hover { background: var(--grad-gold); border-color: transparent; color: var(--navy); }
.hero__prev { left: clamp(.6rem, 1.6vw, 1.4rem); }
.hero__next { right: clamp(.6rem, 1.6vw, 1.4rem); }
.hero__dots {
  position: absolute; left: 0; right: 0; bottom: clamp(4.2rem, 8vw, 6.5rem); z-index: 6;
  display: flex; justify-content: center; gap: .45rem;
}
.hero__dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.42); transition: all .28s var(--ease);
}
.hero__dots button.is-active { background: var(--gold); width: 26px; border-radius: 100px; }

@media (max-width: 900px) {
  .hero__slide::before { padding-top: 78%; }
  .hero__wash { background: linear-gradient(180deg, rgba(6,21,48,.9) 0%, rgba(8,32,63,.78) 45%, rgba(9,32,62,.55) 100%); }
  .hero__caption { max-width: none; }
  .hero__inner { padding-bottom: clamp(5rem, 14vw, 7rem); }
  .hero__nav { width: 34px; height: 34px; font-size: 1.2rem; }
}
@media (max-width: 560px) {
  .hero__slide::before { padding-top: 108%; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__cta, .hero__ghost { justify-content: center; }
}

/* --- reconcile the new hero with the original rules further up this file --- */
.hero__slides { position: absolute; inset: 0; }
/* every slide is absolutely positioned; .hero's aspect-ratio drives the height */
.hero__slide, .hero__slide:first-child { position: absolute; inset: 0; }
.hero__slide { transform: scale(1.05); transition: opacity 1s var(--ease), transform 8s linear; }
.hero__slide.is-active { transform: scale(1); }
.hero__slide::before { content: none; }
/* the kicker is plain gold text here, not the old pill */
.hero__kicker { background: none; border: 0; padding: 0; border-radius: 0; text-transform: none; backdrop-filter: none; }
/* arrows stay visible instead of appearing only on hover */
.hero__nav { opacity: 1; }
.hero:hover .hero__nav { opacity: 1; }
.hero__nav:hover { transform: translateY(-50%) scale(1.08); }
/* dots: the old rule centred with a translate; this one centres with flex */
.hero__dots { left: 0; right: 0; transform: none; }
/* buttons fade up with the rest of the caption */
.hero__slide .hero__actions { opacity: 0; transform: translateY(20px); }
.hero__slide.is-active .hero__actions { animation: heroUp .7s var(--ease) .86s forwards; }

/* panoramic campus shots: bias right for the split layout but keep more of the frame */
.hero__slide { background-position: 72% center; transform: scale(1.02); }
.hero__slide.is-active { transform: scale(1); }

/* Caption entrance uses transitions, not keyframes. The slider toggles
   .is-active on the same elements every cycle, and a re-added animation does
   not reliably restart, which left the copy stuck invisible after one loop. */
.hero__slide .hero__kicker,
.hero__slide .hero__title,
.hero__slide .hero__sub,
.hero__slide .hero__actions {
  animation: none !important;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.hero__slide.is-active .hero__kicker,
.hero__slide.is-active .hero__title,
.hero__slide.is-active .hero__sub,
.hero__slide.is-active .hero__actions { opacity: 1; transform: none; }
.hero__slide.is-active .hero__kicker  { transition-delay: .22s; }
.hero__slide.is-active .hero__title   { transition-delay: .34s; }
.hero__slide.is-active .hero__sub     { transition-delay: .48s; }
.hero__slide.is-active .hero__actions { transition-delay: .62s; }

/* ----------------------------------------------------- designed banner slides
   Slides whose artwork already contains the headline. The whole point is that
   the visitor sees the banner exactly as it was designed, so: no slow zoom
   (it would drift the composition and clip the edges), no right-biased crop,
   and no dark gradient over it. The three supplied banners are all 1920x700,
   which is the ratio .hero is set to, so `cover` shows them whole. */
.hero:has(.hero__slide--art) { aspect-ratio: 1920 / 750; }
.hero:has(.hero__slide--art)::after { content: none; }

.hero__slide--art,
.hero__slide--art.is-active {
  background-position: center center;
  background-repeat: no-repeat;
  transform: none;
  /* A long cross-fade between two dense, text-heavy designs shows both sets of
     headlines at once and reads as a smudge. Photographs tolerate a 1s blend;
     artwork does not, so keep the overlap brief. */
  transition: opacity .45s ease-in-out;
}
/* the banner is the message — make the whole slide the click target */
.hero__full { position: absolute; inset: 0; z-index: 3; }

/* Each banner ends in its own gold strip, so the dots sit inside the artwork
   rather than over the bar below it. (The quick-links strip no longer pulls
   itself up over the hero — see .qstrip.) */
/* pushed to the right so they land on the banner's quiet corner rather than on
   top of its own footer strip, which is where centring put them */
.hero:has(.hero__slide--art) .hero__dots {
  bottom: 16px;
  left: auto; right: clamp(1rem, 3.2vw, 3rem);
  justify-content: flex-end;
}
.hero:has(.hero__slide--art) .hero__dots button { background: rgba(255,255,255,.5); }
.hero:has(.hero__slide--art) .hero__dots button.is-active { background: var(--gold); }

@media (max-width: 700px) {
  /* Keep the banner whole on a phone rather than cropping to fill a taller
     box: these are finished designs, and a crop cuts the headline or the stats
     panel off. It renders short, but complete — the way it was drawn. */
  .hero:has(.hero__slide--art) { max-height: none; }
  .hero__slide--art { background-size: contain; background-position: center; }
}




/* ---- Featured film: same three-column panel as the campus tour, but the
       centre cell holds a real <video> instead of a background image. ---- */
.filmrow { border-top: 3px solid var(--gold); }
.filmrow__video { position: relative; overflow: hidden; background: #000; padding: 0; }
.filmrow__el {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background: #000;
}
/* the gold play button rides above the video until playback starts */
.filmrow .tour__play { position: absolute; inset: 0; margin: auto; z-index: 3; }
.filmrow .tour__play.is-gone { opacity: 0; visibility: hidden; }
.filmrow .tour__play { transition: opacity .35s var(--ease), visibility .35s var(--ease); }

/* related shots double as a lightbox gallery */
.filmshot { display: block; }
.filmshot::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(224,177,60,0);
  transition: background .3s var(--ease);
}
.filmshot:hover::after { background: rgba(224,177,60,.18); }


/* the hidden play overlay must not swallow clicks meant for the native controls */
.filmrow .tour__play.is-gone { pointer-events: none; }
/* keep the button clear of the control bar while it is still showing */
.filmrow .tour__play { inset: 0 0 46px; }


/* ---- Hero photo layers -------------------------------------------------
   The slide element still carries the background-image (that is what the
   slider's lazy loader sets), but it no longer paints it directly. Two child
   layers inherit that same image:

     .hero__blur  cover + blur, so the frame is filled edge to edge whatever
                  the photo's aspect ratio happens to be — no letterbox bars
     .hero__pic   contain + right, so the building is never cut in half; its
                  left edge is masked away and dissolves into the blurred copy
                  underneath, which is where the caption sits.

   Because both layers use `background-image: inherit`, this works for any
   photo dropped into a slide from the admin panel — no per-image tuning.
   ------------------------------------------------------------------------ */
.hero__slide { background-image: none; background-color: #061530; }
.hero__slide[style*="background-image"] { background-color: #061530; }

.hero__blur,
.hero__pic {
  position: absolute;
  background-image: inherit;
  background-repeat: no-repeat;
  pointer-events: none;
}
.hero__blur {
  /* overscanned so the blur has no soft edge against the frame */
  inset: -40px;
  background-size: cover;
  background-position: center;
  filter: blur(26px) saturate(.85) brightness(.5);
  transform: scale(1.06);
}
.hero__pic {
  inset: 0;
  background-size: contain;
  background-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.25) 16%, rgba(0,0,0,.75) 30%, #000 44%);
          mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.25) 16%, rgba(0,0,0,.75) 30%, #000 44%);
}
/* the navy wash now only has to carry text contrast, so it can be lighter
   on the right and let the full photograph read */
.hero__wash {
  background:
    radial-gradient(58% 88% at 0% 12%, rgba(224,177,60,.13), transparent 62%),
    linear-gradient(96deg, rgba(6,21,48,.95) 0%, rgba(8,32,63,.9) 26%, rgba(9,32,62,.68) 44%, rgba(9,32,62,.3) 62%, rgba(9,32,62,.08) 78%, rgba(9,32,62,0) 100%);
}

@media (max-width: 900px) {
  /* stacked layout: the photo sits behind the copy, so cover reads better */
  .hero__pic { background-size: cover; background-position: center; -webkit-mask-image: none; mask-image: none; opacity: .55; }
  .hero__blur { filter: blur(18px) brightness(.45); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__blur { transform: none; }
}


/* Let the blurred copy actually read through on the caption side. The navy is
   still heavy enough for white text, but the photo now fades in behind it
   instead of the left third going flat navy. */
.hero__blur { filter: blur(24px) saturate(.9) brightness(.62); }
.hero__wash {
  background:
    radial-gradient(58% 88% at 0% 12%, rgba(224,177,60,.14), transparent 62%),
    linear-gradient(96deg,
      rgba(6,21,48,.86) 0%,
      rgba(7,26,54,.8) 22%,
      rgba(9,32,62,.62) 40%,
      rgba(9,32,62,.34) 58%,
      rgba(9,32,62,.12) 76%,
      rgba(9,32,62,0) 100%);
}
/* a touch more shadow so the copy stays crisp over the softened backdrop */
.hero__sub { text-shadow: 0 2px 14px rgba(4,12,28,.75); }
.hero__kicker { text-shadow: 0 2px 10px rgba(4,12,28,.8); }


/* ---- Hero photo, take 2 ------------------------------------------------
   The previous build masked a `contain` copy over a blurred `cover` copy,
   which left a hard vertical seam where the two met. Now there is a single
   photograph filling the slide, with a soft-focus veil above it whose mask
   fades out — so the caption side is gently out of focus and the picture
   still runs edge to edge as one image.
   ------------------------------------------------------------------------ */
.hero__pic {
  inset: 0;
  background-size: cover;
  background-position: 62% center;
  -webkit-mask-image: none;
          mask-image: none;
  filter: none;
}
.hero__blur {
  inset: 0;
  background: none;
  transform: none;
  filter: none;
  -webkit-backdrop-filter: blur(15px) saturate(.92);
          backdrop-filter: blur(15px) saturate(.92);
  /* the blur strength ramps down gradually — no edge anywhere */
  -webkit-mask-image: linear-gradient(96deg, #000 0%, rgba(0,0,0,.94) 22%, rgba(0,0,0,.62) 38%, rgba(0,0,0,.26) 50%, rgba(0,0,0,.06) 60%, transparent 68%);
          mask-image: linear-gradient(96deg, #000 0%, rgba(0,0,0,.94) 22%, rgba(0,0,0,.62) 38%, rgba(0,0,0,.26) 50%, rgba(0,0,0,.06) 60%, transparent 68%);
}
/* darkening ramp follows the same curve so the two blend as one effect */
.hero__wash {
  background:
    radial-gradient(58% 88% at 0% 12%, rgba(224,177,60,.13), transparent 60%),
    linear-gradient(96deg,
      rgba(6,21,48,.9) 0%,
      rgba(7,26,54,.82) 22%,
      rgba(9,32,62,.6) 38%,
      rgba(9,32,62,.34) 50%,
      rgba(9,32,62,.16) 62%,
      rgba(9,32,62,.05) 78%,
      rgba(9,32,62,0) 100%);
}

@media (max-width: 900px) {
  /* stacked layout: soften the whole frame instead of one side */
  .hero__pic { background-position: center; }
  .hero__blur {
    -webkit-backdrop-filter: blur(8px) saturate(.9);
            backdrop-filter: blur(8px) saturate(.9);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 55%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 55%, transparent 100%);
  }
  .hero__wash {
    background: linear-gradient(180deg, rgba(6,21,48,.9) 0%, rgba(8,32,63,.78) 48%, rgba(9,32,62,.5) 100%);
  }
}


/* A slightly taller frame crops far less off tall subjects like the clock
   tower, and the focal point sits above centre because that is where campus
   architecture lives in almost every photo. */
.hero { aspect-ratio: 16 / 7; min-height: 480px; }
.hero__pic { background-position: 60% 40%; }
.hero__blur { -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); }

/* ...but a designed banner must keep its own proportions, so the 480px floor
   above (which exists to stop photo heroes going letterbox-thin) has to be
   lifted for it — otherwise the artwork is stretched or cropped to fill.
   These live here, after that rule, because specificity alone would not win. */
.hero:has(.hero__slide--art) { aspect-ratio: 1920 / 750; min-height: 0; max-height: none; }
@media (max-width: 700px) {
  .hero:has(.hero__slide--art) { min-height: 0; }
}


/* ============================================================================
   OUR FACULTIES strip, rebuilt.
   The old cards leaned on stock photography that had nothing to do with the
   university (a hotel bedroom stood in for Sciences). These are icon-led
   instead, matching the department tiles on the faculty pages, and every
   number comes from the Faculties menu rather than being typed in by hand.
   ============================================================================ */
.facstrip .rowhead { align-items: flex-end; }
.facstrip .rowhead .kicker { margin-bottom: .5rem; }

.facmq { padding: 20px 0 34px; }
.facmq__track { gap: 20px; }

/* Photograph on top, copy on white below.
   Nothing is printed over the picture and there is no wash across it, so each
   photograph shows in its own colours — which is the whole reason for using
   photography here. The gold icon straddles the join between the two, which is
   what stops the card reading as two stacked rectangles. */
.fcard {
  position: relative;
  flex: none;
  width: 288px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(8, 24, 47, .09);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.fcard:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 50px rgba(8, 24, 47, .2);
  border-color: rgba(224, 177, 60, .6);
}

.fcard__pic {
  position: relative;
  display: block;
  height: 168px;
  overflow: hidden;
  background: #e8edf5;
}
.fcard__shot {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s var(--ease);
}
.fcard:hover .fcard__shot { transform: scale(1.08); }

/* a hairline of gold under the photograph, drawn on the card so it survives the
   image scaling above it */
.fcard__pic::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.fcard:hover .fcard__pic::after { transform: scaleX(1); }

.fcard__body {
  position: relative;
  display: flex; flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.25rem 1.2rem;
}

/* sits half over the photograph, half over the white */
.fcard__badge {
  position: absolute; top: -23px; left: 1.25rem;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--grad-gold);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(8, 24, 47, .28);
  transition: transform .4s var(--ease);
}
.fcard__badge .acic { width: 23px; height: 23px; }
.fcard:hover .fcard__badge { transform: translateY(-3px) rotate(-6deg); }

.fcard__eyebrow {
  display: block;
  color: var(--gold-deep);
  font-size: .63rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  margin: .55rem 0 .3rem;
}
/* `.fcard__body h3` from the original photo card is one step more specific than
   a lone class, so the element has to be named here too or its rule wins. */
h3.fcard__name,
.fcard__body h3.fcard__name {
  font-family: var(--font-head); font-weight: 800;
  font-size: 1.06rem; line-height: 1.3; color: var(--navy);
  margin: 0 0 .85rem;
  /* two lines keeps every card in the row the same height */
  min-height: 2.6em;
  display: flex; align-items: flex-start;
  transition: color .3s var(--ease);
}
.fcard:hover h3.fcard__name { color: var(--gold-deep); }

.fcard__stats {
  display: flex;
  margin: auto 0 0;
  padding: .85rem 0 .95rem;
  border-top: 1px solid var(--line);
}
.fcard__stats > span { flex: 1; }
.fcard__stats b {
  display: block;
  font-family: var(--font-head); font-size: 1.32rem; line-height: 1;
  color: var(--navy);
}
.fcard__stats i {
  display: block; font-style: normal;
  font-size: .69rem; font-weight: 600; margin-top: .2rem;
  color: var(--muted);
}

.fcard__cta {
  display: flex; align-items: center; gap: .45rem;
  margin-top: 0;
  color: var(--gold-deep); font-weight: 800; font-size: .81rem;
  transition: color .3s var(--ease);
}
.fcard:hover .fcard__cta { color: var(--navy); }
.fcard__cta b { transition: transform .3s var(--ease); }
.fcard:hover .fcard__cta b { transform: translateX(5px); }

@media (max-width: 640px) {
  .fcard { width: 254px; }
  .fcard__pic { height: 146px; }
  .fcard__badge { width: 40px; height: 40px; border-radius: 11px; top: -20px; }
  .fcard__badge .acic { width: 20px; height: 20px; }
}

/* ---- raw-HTML page bodies -------------------------------------------------
   Deliberately unstyled: the author's own markup, inline styles and <style>
   blocks decide everything. Only guard rails are here so a stray wide element
   cannot break the page's horizontal scroll. --------------------------------- */
.rawhtml { width: 100%; max-width: 100%; overflow-x: hidden; }
.rawhtml img, .rawhtml video, .rawhtml iframe, .rawhtml table { max-width: 100%; }
.section--raw, .acsec2--raw { padding: 0; }


/* ============================================================================
   FEATURED FILM — take three.
   The previous build reused the campus-tour panel, so the two sections read as
   twins on the same page. This one is deliberately unlike it: a near-black
   cinema stage instead of the navy card, the player leading at full size on the
   left, and the copy, meta, stills and CTA stacked in a rail on the right.
   ============================================================================ */
.filmx {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background: #050d1a;
  border-top: 1px solid rgba(224,177,60,.35);
  border-bottom: 1px solid rgba(224,177,60,.35);
}
.filmx__aura {
  position: absolute; inset: -25% -12%;
  pointer-events: none;
  background:
    radial-gradient(42% 46% at 24% 6%, rgba(224,177,60,.16), transparent 66%),
    radial-gradient(46% 48% at 88% 92%, rgba(30,88,180,.28), transparent 70%);
}
.filmx__grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .9fr);
  gap: 2.6rem;
  align-items: center;
}

/* ---- the stage ---- */
.filmx__stage {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(224,177,60,.4);
  box-shadow: 0 34px 80px rgba(0,0,0,.6);
}
.filmx__video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.filmx__play {
  position: absolute;
  inset: 0 0 44px;          /* clear of the native control bar */
  margin: auto;
  z-index: 3;
}
.filmx__play.is-gone { opacity: 0; visibility: hidden; pointer-events: none; }
/* run-time badge tucked into the corner of the frame */
.filmx__badge {
  position: absolute; left: 16px; top: 16px; z-index: 3;
  display: flex; align-items: baseline; gap: .3rem;
  padding: .4rem .8rem; border-radius: 100px;
  background: rgba(5,13,26,.72);
  border: 1px solid rgba(224,177,60,.5);
  backdrop-filter: blur(6px);
}
.filmx__badge b { color: var(--gold); font-family: var(--font-head); font-size: 1rem; line-height: 1; }
.filmx__badge i { font-style: normal; color: #9fb2cd; font-size: .7rem; font-weight: 700; }

/* ---- the rail ---- */
.filmx__kicker {
  display: inline-block; margin-bottom: 1rem;
  padding: .38rem 1rem; border-radius: 100px;
  background: rgba(224,177,60,.13); border: 1px solid rgba(224,177,60,.42);
  color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
}
.filmx__title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem); line-height: 1.14; letter-spacing: -.02em;
  color: #fff; margin: 0 0 .9rem;
}
.filmx__title em {
  font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.filmx__lede { color: #a4b6d0; font-size: .94rem; line-height: 1.8; margin: 0 0 1.4rem; }

.filmx__meta {
  list-style: none; display: flex; gap: 2rem; margin: 0 0 1.5rem; padding: 1.1rem 0 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.filmx__meta b {
  display: block; font-family: var(--font-head); font-size: 1.3rem; line-height: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.filmx__meta span { display: block; color: #8fa3c2; font-size: .74rem; font-weight: 600; margin-top: .25rem; }

/* stills as a 2 x 2 block, not the tour's single column */
.filmx__shots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 1.5rem; }
.filmx__shot {
  position: relative; display: block; height: 84px;
  border-radius: 11px; overflow: hidden;
  background: #0b1a30 center/cover;
  border: 1px solid rgba(255,255,255,.14);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.filmx__shot::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,12,26,.9), rgba(4,12,26,.05) 62%);
}
.filmx__shot:hover { border-color: var(--gold); transform: translateY(-3px); }
.filmx__shot span {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: .35rem .5rem;
  color: #fff; font-size: .63rem; font-weight: 700; line-height: 1.25;
}

.filmx__cta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 100px;
  background: var(--grad-gold); color: var(--navy);
  font-weight: 800; font-size: .88rem;
  box-shadow: 0 14px 34px rgba(224,177,60,.32);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.filmx__cta:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(224,177,60,.45); }
.filmx__cta b { transition: transform .3s var(--ease); }
.filmx__cta:hover b { transform: translateX(4px); }

@media (max-width: 1000px) {
  .filmx { padding: 62px 0; }
  .filmx__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .filmx__shots { grid-template-columns: repeat(4, 1fr); }
  .filmx__shot { height: 72px; }
}
@media (max-width: 620px) {
  .filmx__shots { grid-template-columns: 1fr 1fr; }
  .filmx__meta { gap: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { .filmx__aura { animation: none; } }


/* ============================================================================
   AI ASSISTANT WIDGET
   Bottom-left launcher + chat panel. Scoped under .gai so it cannot collide
   with the site's own styles, and themed independently of the page (the panel
   carries its own light/dark switch).
   ============================================================================ */
.gai {
  --gai-bg: #ffffff;
  --gai-bg-soft: #f4f6fa;
  --gai-ink: #17233a;
  --gai-muted: #64748b;
  --gai-line: #e4e9f2;
  --gai-navy: #0a2044;
  --gai-gold: #e0b13c;
  --gai-user: #0d2a54;

  position: fixed;
  left: clamp(14px, 2.2vw, 28px);
  bottom: clamp(14px, 2.2vw, 28px);
  z-index: 9000;
  font-family: var(--font-body, system-ui, sans-serif);
}
.gai[data-theme="dark"] {
  --gai-bg: #0d1526;
  --gai-bg-soft: #141f36;
  --gai-ink: #e8eefb;
  --gai-muted: #93a4c0;
  --gai-line: #22314f;
}

/* ---------------------------------------------------------------- launcher */
/* A pill carrying the agent's face and name while closed; it contracts to a
   round close button once the panel is open, so only one of the two ever asks
   for attention. Width is animated, which is why the label is clipped rather
   than removed. */
.gai__bubble {
  position: relative;
  display: flex; align-items: center; gap: .6rem;
  height: 60px;
  padding: 0 1.05rem 0 .4rem;
  border: 0; border-radius: 100px;
  cursor: pointer;
  font-family: inherit;
  background: linear-gradient(140deg, #123a72 0%, #0a2044 60%, #071730 100%);
  color: #fff;
  box-shadow: 0 14px 34px rgba(8, 24, 47, .42), 0 0 0 1px rgba(224, 177, 60, .55);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              padding .4s var(--ease), border-radius .4s var(--ease);
}
.gai__bubble:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(8, 24, 47, .5), 0 0 0 2px var(--gai-gold);
}

/* the drawn agent */
.gai__face { position: relative; flex: none; width: 48px; height: 48px; }
.gai__face .agentav { width: 100%; height: 100%; display: block; }
.gai__live {
  position: absolute; right: 1px; bottom: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #24c07a;
  border: 2px solid #0a2044;
  box-shadow: 0 0 0 0 rgba(36, 192, 122, .75);
  /* own keyframe name: `gaiLive` is already taken further down by .gai__dot,
     and a duplicate @keyframes would silently override it */
  animation: gaiFacePulse 2.2s ease-out infinite;
}
@keyframes gaiFacePulse {
  0%   { box-shadow: 0 0 0 0 rgba(36, 192, 122, .7); }
  70%  { box-shadow: 0 0 0 7px rgba(36, 192, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(36, 192, 122, 0); }
}

.gai__hail {
  display: flex; flex-direction: column; align-items: flex-start;
  max-width: 130px;
  overflow: hidden;
  white-space: nowrap;
  text-align: left;
  transition: max-width .4s var(--ease), opacity .28s var(--ease);
}
.gai__hail b {
  font-family: var(--font-head);
  font-size: .86rem; font-weight: 800; letter-spacing: -.1px; line-height: 1.15;
}
.gai__hail i {
  font-style: normal;
  font-size: .68rem; font-weight: 600;
  color: var(--gai-gold);
}

/* --- open state: collapse to a circle with a cross --- */
.gai__bubbleClose {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 1.9rem; line-height: 1;
  opacity: 0; transform: rotate(-90deg) scale(.6);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  pointer-events: none;
}
.gai.is-open .gai__bubble { padding: 0; width: 56px; height: 56px; border-radius: 50%; }
.gai.is-open .gai__face { opacity: 0; transform: scale(.6); transition: opacity .2s, transform .3s; }
.gai.is-open .gai__hail { max-width: 0; opacity: 0; }
.gai.is-open .gai__bubbleClose { opacity: 1; transform: rotate(0) scale(1); }

/* one soft pulse ring so the launcher reads as live, not decorative */
.gai__ping {
  position: absolute; inset: 0;
  border-radius: 100px;
  border: 2px solid rgba(224, 177, 60, .5);
  animation: gaiPing 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes gaiPing {
  0%   { transform: scale(1);    opacity: .7; }
  70%  { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}
.gai.is-open .gai__ping { display: none; }

@media (max-width: 560px) {
  /* Keep the name on a phone too — a bare circle does not tell a first-time
     visitor that a person is on the other side, which is the whole point of the
     label. Just tighter: smaller face, smaller type, shorter second line. */
  .gai__bubble { height: 54px; padding: 0 .85rem 0 .3rem; gap: .5rem; }
  .gai__face { width: 44px; height: 44px; }
  .gai__hail { max-width: 108px; }
  .gai__hail b { font-size: .78rem; }
  .gai__hail i { font-size: .62rem; }
}

/* ------------------------------------------------------------------ panel */
.gai__panel {
  position: absolute;
  left: 0; bottom: 76px;
  width: min(400px, calc(100vw - 28px));
  height: min(620px, calc(100vh - 130px));
  display: flex; flex-direction: column;
  background: var(--gai-bg);
  border: 1px solid var(--gai-line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(8, 24, 47, .3);
  opacity: 0;
  transform: translateY(14px) scale(.97);
  transform-origin: bottom left;
  transition: opacity .26s cubic-bezier(.16, 1, .3, 1), transform .26s cubic-bezier(.16, 1, .3, 1);
}
.gai.is-open .gai__panel { opacity: 1; transform: translateY(0) scale(1); }

.gai__head {
  display: flex; align-items: center; gap: .7rem;
  padding: .85rem 1rem;
  background: linear-gradient(120deg, #0a2044, #123a72);
  color: #fff;
  flex: none;
}
.gai__avatar {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}
.gai__avatar img { width: 30px; height: 30px; object-fit: contain; }
/* the header shows the same drawn agent as the launcher */
.gai__avatar .agentav { width: 100%; height: 100%; display: block; }
.gai__who { flex: 1; min-width: 0; }
.gai__who b { display: block; font-size: .93rem; font-weight: 800; letter-spacing: -.01em; }
.gai__who i {
  display: flex; align-items: center; gap: .35rem;
  font-style: normal; font-size: .71rem; color: #a9c0e4;
}
.gai__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, .6);
  animation: gaiLive 2.2s infinite;
}
@keyframes gaiLive {
  0%   { box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); }
  70%  { box-shadow: 0 0 0 6px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}
.gai__headActions { display: flex; gap: .15rem; }
.gai__iconBtn {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 0; border-radius: 8px; cursor: pointer;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  transition: background .2s;
}
.gai__iconBtn:hover { background: rgba(255, 255, 255, .22); }
.gai__iconBtn svg { width: 15px; height: 15px; }
.gai__moon { display: none; }
.gai[data-theme="dark"] .gai__sun { display: none; }
.gai[data-theme="dark"] .gai__moon { display: block; }

/* -------------------------------------------------------------------- log */
.gai__log {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem;
  background: var(--gai-bg-soft);
  scrollbar-width: thin;
}
.gai__log::-webkit-scrollbar { width: 6px; }
.gai__log::-webkit-scrollbar-thumb { background: var(--gai-line); border-radius: 100px; }

.gai__welcome { text-align: center; padding: 1.4rem .6rem; }
.gai__welcomeIco {
  width: 54px; height: 54px; margin: 0 auto .9rem;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(140deg, #123a72, #0a2044);
  color: var(--gai-gold);
  box-shadow: 0 12px 26px rgba(8, 24, 47, .22);
}
.gai__welcomeIco svg { width: 26px; height: 26px; }
.gai__welcome h3 { font-size: 1.06rem; color: var(--gai-ink); margin: 0 0 .4rem; font-weight: 800; }
.gai__welcome p { font-size: .84rem; line-height: 1.6; color: var(--gai-muted); margin: 0 0 1.1rem; }
.gai__chips { display: grid; gap: .45rem; }
.gai__chip {
  padding: .6rem .85rem;
  border: 1px solid var(--gai-line);
  border-radius: 11px;
  background: var(--gai-bg);
  color: var(--gai-ink);
  font-family: inherit; font-size: .82rem; text-align: left;
  cursor: pointer;
  transition: border-color .2s, transform .2s, background .2s;
}
.gai__chip:hover { border-color: var(--gai-gold); transform: translateX(3px); }

.gai__row { margin-bottom: .85rem; display: flex; flex-direction: column; }
.gai__row--user { align-items: flex-end; }
.gai__row--bot { align-items: flex-start; }
.gai__msg {
  max-width: 86%;
  padding: .7rem .9rem;
  border-radius: 15px;
  font-size: .86rem;
  line-height: 1.65;
  word-wrap: break-word;
}
.gai__row--user .gai__msg {
  background: var(--gai-user);
  color: #fff;
  border-bottom-right-radius: 5px;
}
.gai__row--bot .gai__msg {
  background: var(--gai-bg);
  color: var(--gai-ink);
  border: 1px solid var(--gai-line);
  border-bottom-left-radius: 5px;
}

/* ------------------------------------------------------- language chooser */
.gai__pick { text-align: center; padding: 1.5rem .9rem 1.6rem; }
.gai__pickFace {
  display: block;
  width: 74px; height: 74px;
  margin: 0 auto .85rem;
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(8, 24, 47, .22);
}
.gai__pickFace .agentav { width: 100%; height: 100%; display: block; }
.gai__pick h3 { font-size: 1.14rem; color: var(--gai-ink); margin: 0 0 .2rem; font-weight: 800; }
.gai__pickUr { font-size: 1.02rem; line-height: 2.1; color: var(--gai-ink); margin: 0 0 .5rem; }
.gai__pickAsk {
  font-size: .76rem; font-weight: 600;
  color: var(--gai-muted);
  margin: 0 0 1.05rem;
}
.gai__pickAsk span { font-size: .92rem; }
.gai__pickBtns { display: grid; gap: .6rem; }
.gai__pickBtn {
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  padding: .85rem 1rem;
  border: 1px solid var(--gai-line);
  border-radius: 13px;
  background: var(--gai-bg);
  color: var(--gai-ink);
  font-family: inherit;
  cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.gai__pickBtn b { font-size: 1.02rem; font-weight: 800; }
.gai__pickBtn i { font-style: normal; font-size: .78rem; color: var(--gai-muted); }
.gai__pickBtn:hover {
  border-color: var(--gai-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(8, 24, 47, .14);
}
.gai__pickBtn--ur b { font-size: 1.35rem; line-height: 2; }
.gai__pickBtn--ur i { line-height: 2; }

/* the header's language tag is text, not an icon, so it needs its own sizing */
.gai__langBtn { font-size: .72rem; font-weight: 800; letter-spacing: .02em; }
.gai[data-lang="ur"] .gai__langBtn { font-size: .95rem; }

/* Urdu flips the whole panel, so the bubbles, form and header follow.
   No align-items override belongs here: flexbox already resolves flex-end to
   the left inside an RTL container, which puts the visitor's own message on
   the left and the reply on the right, as RTL chat apps do. Only the corner
   radii need flipping, because those are physical properties. */
.gai__panel[dir="rtl"] .gai__row--user .gai__msg {
  border-bottom-right-radius: 15px; border-bottom-left-radius: 5px;
}
.gai__panel[dir="rtl"] .gai__row--bot .gai__msg {
  border-bottom-left-radius: 15px; border-bottom-right-radius: 5px;
}
.gai__panel[dir="rtl"] .gai__chip { text-align: right; }
.gai__panel[dir="rtl"] .gai__chip:hover { transform: translateX(-3px); }
.gai__panel[dir="rtl"] .gai__sources { flex-direction: row-reverse; }

/* Nastaliq is a steeply sloped script: its glyphs climb well above and below
   the baseline, so at the Latin line-height the strokes of one line collide
   with the next. dir="auto" on the bubble is what selects this. */
.gai__msg[dir="rtl"] {
  line-height: 2.5;
  font-size: .95rem;
  text-align: right;
}
.gai__msg[dir="rtl"] p { margin-bottom: .5rem; }
.gai__msg[dir="rtl"] ul,
.gai__msg[dir="rtl"] ol { padding-right: 1.15rem; padding-left: 0; }
.gai__msg[dir="rtl"] li { margin-bottom: .35rem; }
.gai__field textarea[dir="rtl"] { line-height: 2.2; font-size: .95rem; }
.gai__msg p { margin: 0 0 .5rem; }
.gai__msg p:last-child { margin-bottom: 0; }
.gai__msg ul { margin: .3rem 0 .5rem; padding-left: 1.1rem; }
.gai__msg li { margin-bottom: .22rem; }
.gai__msg a { color: var(--gai-gold); font-weight: 700; text-decoration: underline; }
.gai__msg code {
  background: var(--gai-bg-soft);
  padding: .1rem .35rem; border-radius: 5px;
  font-size: .85em;
}

.gai__msgTools { display: flex; gap: .25rem; margin: .3rem 0 0 .2rem; }
.gai__tool {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 0; border-radius: 7px; cursor: pointer;
  background: transparent;
  color: var(--gai-muted);
  transition: background .2s, color .2s;
}
.gai__tool:hover { background: var(--gai-line); color: var(--gai-ink); }
.gai__tool.is-live { color: var(--gai-gold); background: rgba(224, 177, 60, .16); }
.gai__tool.is-done { color: #17a34a; }
.gai__tool svg { width: 14px; height: 14px; }

.gai__sources {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem;
  margin: .45rem 0 0 .2rem;
}
.gai__sources span {
  font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gai-muted);
}
.gai__sources a {
  padding: .25rem .6rem;
  border: 1px solid var(--gai-line);
  border-radius: 100px;
  background: var(--gai-bg);
  color: var(--gai-ink);
  font-size: .72rem; font-weight: 600;
  transition: border-color .2s, color .2s;
}
.gai__sources a:hover { border-color: var(--gai-gold); color: var(--gai-gold); }

.gai__typing { display: flex; gap: .28rem; align-items: center; padding: .85rem .95rem; }
.gai__typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gai-muted);
  animation: gaiBounce 1.3s infinite;
}
.gai__typing span:nth-child(2) { animation-delay: .18s; }
.gai__typing span:nth-child(3) { animation-delay: .36s; }
@keyframes gaiBounce {
  0%, 60%, 100% { transform: translateY(0);   opacity: .4; }
  30%           { transform: translateY(-5px); opacity: 1; }
}

/* ------------------------------------------------------------------- form */
.gai__form {
  flex: none;
  display: flex; align-items: flex-end; gap: .45rem;
  padding: .7rem .8rem .5rem;
  background: var(--gai-bg);
  border-top: 1px solid var(--gai-line);
}
.gai__form.is-busy { opacity: .65; pointer-events: none; }
.gai__field { flex: 1; min-width: 0; }
.gai__field textarea {
  width: 100%;
  max-height: 120px;
  padding: .6rem .8rem;
  border: 1px solid var(--gai-line);
  border-radius: 13px;
  background: var(--gai-bg-soft);
  color: var(--gai-ink);
  font-family: inherit; font-size: .86rem; line-height: 1.5;
  resize: none;
  transition: border-color .2s, box-shadow .2s;
}
.gai__field textarea:focus {
  outline: none;
  border-color: var(--gai-gold);
  box-shadow: 0 0 0 3px rgba(224, 177, 60, .16);
}
.gai__mic, .gai__send {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border: 0; border-radius: 11px; cursor: pointer;
  transition: transform .2s, background .2s, color .2s;
}
.gai__mic { background: var(--gai-bg-soft); color: var(--gai-muted); border: 1px solid var(--gai-line); }
.gai__mic:hover { color: var(--gai-ink); }
.gai__mic.is-live {
  background: #e8586c; color: #fff; border-color: transparent;
  animation: gaiRec 1.3s infinite;
}
@keyframes gaiRec {
  0%   { box-shadow: 0 0 0 0 rgba(232, 88, 108, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(232, 88, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 88, 108, 0); }
}
.gai__send { background: linear-gradient(140deg, #123a72, #0a2044); color: #fff; }
.gai__send:hover { transform: scale(1.06); }
.gai__mic svg, .gai__send svg { width: 17px; height: 17px; }

.gai__foot {
  flex: none;
  margin: 0; padding: 0 .8rem .6rem;
  background: var(--gai-bg);
  color: var(--gai-muted);
  font-size: .66rem; text-align: center;
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 520px) {
  .gai { left: 12px; bottom: 12px; }
  .gai__panel {
    width: calc(100vw - 24px);
    height: calc(100vh - 100px);
    height: calc(100dvh - 100px);
  }
  /* No width override here: the launcher is a flex pill that carries its label
     on phones too, and a fixed width would crush the avatar inside it. Height
     and padding come from the 560px rule above. */
  .gai__bubble { border-radius: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .gai__ping, .gai__dot, .gai__typing span, .gai__mic.is-live { animation: none; }
  .gai__panel { transition: opacity .01s; }
}

/* ------------------------------------------------------ WhatsApp shortcut
   Bottom-right, clear of the live-agent pill on the left and sitting above the
   back-to-top button. WhatsApp's own green is used deliberately — people look
   for that colour, and recolouring it to the site palette would cost more in
   recognition than it gains in tidiness. */
.wapp {
  position: fixed;
  right: 26px; bottom: 86px;      /* 26 + 48 button + 12 gap */
  z-index: 95;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .45), 0 0 0 1px rgba(255, 255, 255, .35);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}
.wapp svg { position: relative; z-index: 2; width: 32px; height: 32px; }
.wapp:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 18px 40px rgba(37, 211, 102, .6); }

/* slow outward pulse, same idea as the live-agent ring */
.wapp__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .65);
  animation: wappPing 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes wappPing {
  0%   { transform: scale(1);   opacity: .75; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

.wapp__tip {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap;
  padding: .45rem .8rem;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  font-size: .78rem; font-weight: 700;
  opacity: 0; pointer-events: none;
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.wapp__tip::after {
  content: '';
  position: absolute; left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--navy);
}
.wapp:hover .wapp__tip { opacity: 1; transform: translateY(-50%) translateX(0); }

@media (max-width: 560px) {
  /* 54px, not 50: this is a thumb target on a phone, and it should read as an
     equal to the live-agent pill opposite it rather than a smaller afterthought. */
  .wapp { right: 14px; bottom: 76px; width: 54px; height: 54px; }
  .wapp svg { width: 30px; height: 30px; }
  .wapp__tip { display: none; }   /* no hover on touch, and it would clip */
}
@media (prefers-reduced-motion: reduce) {
  .wapp__ring { animation: none; }
}

/* the back-to-top button lives bottom-right, so the two never collide */

/* ---------------------------------------------------------------- nav icons
   TRIAL 2026-08-18: the little gold glyphs beside each top-level menu label are
   switched off, to see whether the bar reads cleaner as pure type. They already
   disappeared below 1080px, so this only changes the desktop bar.

   TO PUT THEM BACK: delete this one rule. Nothing else was touched — the SVGs
   are still in partials/icon.blade.php and still in the markup. */
.nav__ico { display: none; }

/* Dropdown indicator on the parent items. Only the top-level links that
   actually have children get one (the caret is printed inside that branch of
   the Blade), so it reads as "there is more under here" rather than decoration.
   Sits after the label and flips when the menu opens. */
.nav__dcaret {
  display: inline-flex; align-items: center;
  margin-left: .28rem;
  color: var(--gold-deep);
  transition: transform .28s var(--ease), color .2s;
}
.nav__dcaret svg { width: 12px; height: 12px; }
.nav__item:hover > .nav__link .nav__dcaret,
.nav__link.active .nav__dcaret { color: var(--gold); transform: rotate(180deg); }

/* The mobile menu stacks the links, where a rotating caret on the right edge is
   the usual affordance. */
@media (max-width: 1080px) {
  .nav__dcaret { margin-left: auto; }
  .nav__dcaret svg { width: 14px; height: 14px; }
}

/* The gold icon badge that straddled the photo and the white body is gone from
   the faculty cards. The body no longer has to reserve room above the eyebrow
   for it, so that top padding and the eyebrow's own offset come back down. */
.fcard__body { padding-top: 1.05rem; }
.fcard__eyebrow { margin-top: 0; }

/* Gold frame on every faculty card, with a hairline mat so the photograph does
   not sit directly against the border. The inner block keeps a slightly tighter
   radius than the card, or the 1px inset shows as a square corner inside a
   round one. */
.fcard {
  border: 1px solid var(--gold);
  padding: 1px;
  background: #fff;
}
.fcard__pic { border-radius: 17px 17px 0 0; }
.fcard:hover { border-color: var(--gold-deep); }

/* ===========================================================================
   Vision & Mission page
   Styled through data-page rather than a template of its own, so the content
   stays editable in the ordinary Pages editor. The markup it dresses is plain
   prose — h2, blockquote, and a list whose items hold a <strong> and a <span>.
   No photographs by request: the type and the panels carry it.
   =========================================================================== */
[data-page="vision-mission"] .prose h2 {
  position: relative;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.4px;
  margin: 2.6rem 0 1.1rem;
  padding-left: 1.05rem;
}
[data-page="vision-mission"] .prose h2:first-child { margin-top: 0; }
/* a gold stem instead of the usual underline — it lines the whole page up */
[data-page="vision-mission"] .prose h2::before {
  content: '';
  position: absolute; left: 0; top: .15em; bottom: .15em;
  width: 5px; border-radius: 100px;
  background: var(--grad-gold);
}

/* Vision and Mission: one deliberate statement each, set on navy so it reads
   as a declaration rather than as body copy. */
[data-page="vision-mission"] .prose blockquote {
  position: relative;
  margin: 0 0 1.4rem;
  padding: 1.9rem 2rem 1.9rem 3.6rem;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #0d2a54 0%, #0a2044 55%, #071730 100%);
  color: #eaf1fb;
  font-size: 1.06rem;
  line-height: 1.75;
  font-style: normal;
  box-shadow: 0 18px 44px rgba(8, 24, 47, .22);
  overflow: hidden;
}
/* the quotation mark is decoration, so it is drawn rather than typed */
[data-page="vision-mission"] .prose blockquote::before {
  content: '\201C';
  position: absolute; left: 1rem; top: .35rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 4.6rem; line-height: 1;
  color: var(--gold);
  opacity: .55;
}
/* a soft gold wash in the far corner keeps the panel from reading as a slab */
[data-page="vision-mission"] .prose blockquote::after {
  content: '';
  position: absolute; right: -70px; top: -70px;
  width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 177, 60, .28), transparent 68%);
  pointer-events: none;
}

/* Core values: cards, not bullets */
[data-page="vision-mission"] .prose ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
}
[data-page="vision-mission"] .prose ul li {
  counter-increment: vmv;
  position: relative;
  margin: 0;
  padding: 1.5rem 1.3rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(8, 24, 47, .07);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
[data-page="vision-mission"] .prose ul { counter-reset: vmv; }
[data-page="vision-mission"] .prose ul li:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(8, 24, 47, .15);
}
/* a large faint numeral behind each card, so the three read as a set */
[data-page="vision-mission"] .prose ul li::after {
  content: counter(vmv, decimal-leading-zero);
  position: absolute; right: .85rem; top: .5rem;
  font-family: var(--font-head);
  font-size: 2.5rem; font-weight: 900;
  color: rgba(8, 29, 61, .07);
  line-height: 1;
}
[data-page="vision-mission"] .prose ul li strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.08rem; font-weight: 800;
  color: var(--navy);
  margin-bottom: .45rem;
}
[data-page="vision-mission"] .prose ul li span {
  display: block;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65;
}

@media (max-width: 640px) {
  [data-page="vision-mission"] .prose blockquote { padding: 1.5rem 1.2rem 1.5rem 2.9rem; font-size: 1rem; }
  [data-page="vision-mission"] .prose blockquote::before { font-size: 3.6rem; left: .7rem; }
}
/* the site-wide prose bullet is a gold tick; these are cards, not a list */
[data-page="vision-mission"] .prose ul li::before { content: none; }

/* The chat panel is laid out with display:flex, which overrides the `hidden`
   attribute it carries while closed. Being merely transparent (opacity:0) it
   still swallowed every click underneath it — a 400x620 dead zone at the lower
   left that reached up over the header logo on shorter windows. Closed, it must
   be untouchable and out of the accessibility tree. */
.gai__panel { pointer-events: none; visibility: hidden; }
.gai.is-open .gai__panel { pointer-events: auto; visibility: visible; }

/* the paragraph that introduces the values, and the motto panel */
[data-page="vision-mission"] .prose h2 + p { margin-bottom: 1.3rem; color: var(--muted); }
/* The motto is three words, not a sentence — centre it and let it breathe. */
[data-page="vision-mission"] .prose h2 + p + blockquote {
  text-align: center;
  padding: 2.1rem 1.6rem;
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--gold-soft);
}
[data-page="vision-mission"] .prose h2 + p + blockquote::before { content: none; }

/* "Read more" under each Vision / Mission / Core Values box. The box trims its
   text at 150 characters, so there has to be a way through to the full thing. */
.about2__vmore {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: .7rem;
  color: var(--gold);
  font-size: .78rem; font-weight: 800;
  letter-spacing: .02em;
  transition: color .25s var(--ease), gap .25s var(--ease);
}
.about2__vmore b { transition: transform .25s var(--ease); }
.about2__vmore:hover { color: var(--gold-soft); gap: .55rem; }
.about2__vmore:hover b { transform: translateX(3px); }


/* ===========================================================================
   Officer profile card — one design for every page that presents a person:
   Chairman, Vice Chancellor, Pro Vice Chancellor, a Head of Department.

   Deliberately NOT scoped to page slugs. Any page whose body contains
   <figure class="profile"> gets this card, so a new officer page created from
   the admin looks identical to the existing ones with nobody touching CSS.
   =========================================================================== */
.prose .profile {
  float: left;
  width: 290px;
  margin: .4rem 2rem 1.4rem 0;
  padding: 0;
  background: #fff;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(8, 24, 47, .2);
}
.prose .profile img {
  display: block;
  width: 100%;
  /* a fixed portrait ratio keeps every card the same shape whatever is uploaded */
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  /* .prose img carries a gold border, 2px padding and a vertical margin: right
     for a picture dropped into an article, wrong inside this card, where it left
     a white strip above the photo and another under it. */
  margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none;
}
.prose .profile figcaption {
  margin: 0;
  padding: .95rem 1.1rem 1.05rem;
  text-align: center;
  border-top: 3px solid var(--gold);
  background: linear-gradient(140deg, #0d2a54, #071730);
}
.prose .profile figcaption::before {
  content: "\201C";
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem; line-height: .5; color: var(--gold);
  margin-bottom: .45rem;
}
.prose .profile figcaption strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.04rem; color: #fff; letter-spacing: -.2px;
}
.prose .profile figcaption span {
  display: block;
  margin-top: .28rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--gold);
}
/* an office that publishes a contact address alongside the role — kept out of
   the uppercase treatment above, which would mangle an email address */
.prose .profile figcaption small {
  display: block;
  margin-top: .4rem;
  font-size: .72rem; font-weight: 600;
  text-transform: none; letter-spacing: 0;
  color: rgba(255, 255, 255, .72);
  word-break: break-word;
}
@media (max-width: 620px) {
  /* on a phone the portrait takes its own row rather than a narrow column */
  .prose .profile { float: none; width: 250px; margin: 0 auto 1.5rem; }
}

/* The opening line carries the whole message, so it is set as a statement.
   Keyed off the card with :has() rather than the slug — and note that
   class="lead" is used on nearly every page of the site, so this must never
   become a plain .prose .lead rule. */
.prose:has(.profile) .lead {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.45;
  color: var(--navy);
  margin-bottom: 1.1rem;
}

/* the signature, set off from the end of the letter */
.prose .signoff {
  clear: both;
  margin-top: 1.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.prose .signoff strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--navy); }
.prose .signoff span   { display: block; font-size: .84rem; color: var(--muted); }

/* ---------------------------------------------------------------------------
   Board of Governors — the same card, arranged in a grid.
   These were round avatars on white, which read as a different website from the
   officer pages sitting next to them in the same menu. They now use the
   portrait-and-nameplate card above, so all of About Us is one design.

   The navy gradient is on the card itself rather than on the nameplate: the
   name and the role are two sibling elements, and giving each its own
   background left a visible seam between them.
   --------------------------------------------------------------------------- */
.prose .bog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 1.4rem 0 2.4rem; }
.prose .bog-card {
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(140deg, #0d2a54, #071730);
  box-shadow: 0 14px 34px rgba(8, 24, 47, .16);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.prose .bog-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(8, 24, 47, .28); }
.prose .bog-card img,
.prose .bog-avatar {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  margin: 0; padding: 0;
  border: 0; border-bottom: 3px solid var(--gold);
  border-radius: 0;
  box-shadow: none;
}
/* The initials stand-in, for a member whose photograph we do not have.
   Written as .bog-card .bog-avatar, not .bog-avatar: the markup is a <span>, so
   the role rule below (.bog-card span) would otherwise out-specify it and the
   initials came out as small gold caption text at the top of the card. */
.prose .bog-card .bog-avatar {
  display: grid; place-items: center;
  padding: 0;
  background: linear-gradient(150deg, #123863, #0a2246);
  font-family: var(--font-head); font-weight: 800; font-size: 2.9rem;
  letter-spacing: .02em; text-transform: none;
  color: rgba(255, 255, 255, .92);
}
.prose .bog-card strong {
  display: block;
  padding: .95rem 1rem .15rem;
  text-align: center;
  font-family: var(--font-head); font-size: 1rem; line-height: 1.25; color: #fff;
}
.prose .bog-card span {
  display: block;
  padding: 0 1rem 1.05rem;
  text-align: center;
  font-size: .73rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--gold);
}
@media (max-width: 900px) { .prose .bog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .prose .bog-grid { grid-template-columns: 1fr; } }

/* the chairman, as the same card at a larger size */
.prose .bog-featured {
  position: relative;
  max-width: 330px;
  margin: .8rem auto 2.8rem;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(140deg, #0d2a54, #071730);
  box-shadow: 0 22px 50px rgba(8, 24, 47, .28);
}
.prose .bog-featured img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  margin: 0; padding: 0;
  border: 0; border-bottom: 3px solid var(--gold);
  border-radius: 0;
  box-shadow: none;
}
.prose .bog-featured .badge {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-gold);
  color: var(--navy);
  font-weight: 800; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .38rem 1.05rem;
  border-radius: 100px;
  box-shadow: var(--glow-gold);
}
.prose .bog-featured strong {
  display: block;
  padding: 1.05rem 1.1rem .2rem;
  text-align: center;
  font-family: var(--font-head); font-size: 1.35rem; line-height: 1.15; color: #fff;
}
.prose .bog-featured .role {
  display: block;
  padding: 0 1.1rem 1.2rem;
  text-align: center;
  font-size: .76rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--gold);
}

/* Board of Governors: round portraits on white cards. The photo sits as a
   circle with a bold dark-gold ring instead of filling the card edge to edge. */
.prose .bog-card,
.prose .bog-featured {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(8, 24, 47, .1);
}
.prose .bog-card:hover { box-shadow: 0 22px 50px rgba(8, 24, 47, .18); }
.prose .bog-card { padding-top: 1.8rem; }
.prose .bog-card img,
.prose .bog-card .bog-avatar {
  width: 68%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border: 7px solid #a8790c;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(8, 24, 47, .18);
}
.prose .bog-card .bog-avatar {
  background: linear-gradient(150deg, #fdf8ec, #f3e6c4);
  color: var(--navy);
}
.prose .bog-featured { padding-top: 3.4rem; }
.prose .bog-featured img {
  width: 72%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border: 8px solid #a8790c;
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(8, 24, 47, .2);
}
.prose .bog-card strong,
.prose .bog-featured strong { color: var(--navy); }
.prose .bog-card span,
.prose .bog-featured .role { color: #a8790c; }

/* one-line explanation under each section heading */
.prose .bog-desc { margin: -.4rem 0 .2rem; color: var(--muted); font-size: .98rem; }

/* Read More, only on members who have a profile page */
.prose .bog-card,
.prose .bog-featured { display: flex; flex-direction: column; }
.prose .bog-more {
  align-self: center;
  margin: auto 0 1.3rem;
  padding: .5rem 1.25rem;
  border: 2px solid var(--navy);
  border-radius: 100px;
  background: var(--navy);
  font-size: .8rem; font-weight: 700; letter-spacing: .03em;
  color: #fff;
  text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.prose .bog-more:hover { background: #fff; color: var(--navy); }

/* Life at GAUS: event albums as a grid of cover + title; a click opens the photos */
.prose .evgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 1.4rem 0 1rem; }
.prose a.evcard {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  color: var(--navy);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(8, 24, 47, .1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.prose a.evcard:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(8, 24, 47, .2); }
.prose .evcard__img {
  position: relative; display: block;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt) center / cover no-repeat;
  border-bottom: 3px solid var(--gold);
}
.prose .evcard__count {
  position: absolute; right: 12px; bottom: 12px;
  padding: .3rem .8rem;
  border-radius: 100px;
  background: var(--navy);
  color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
}
.prose .evcard__title {
  display: block;
  padding: 1rem 1.1rem 1.2rem;
  font-family: var(--font-head); font-size: 1.05rem; line-height: 1.3;
}
.prose a.evcard:hover .evcard__title { color: #a8790c; }
@media (max-width: 900px) { .prose .evgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .prose .evgrid { grid-template-columns: 1fr; } }

/* The article rule (.prose h2 { clear: left }) exists so a heading does not
   collide with a floated body image. Beside the profile card it left a hole the
   height of the portrait — the Directorate of Academics page had its lead line,
   then empty space, then its first heading below the photograph. On a page that
   carries a profile card the text keeps flowing alongside it instead. */
@media (min-width: 901px) {
  .prose:has(.profile) h2 { clear: none; }
}

/* A list that ran alongside a floated portrait or body image lost its gold tick
   marks: the <ul> box starts at the container edge — behind the float — and the
   markers are positioned at its left:0, so they were drawn underneath the photo.
   flow-root gives the list its own block formatting context, so the list is set
   beside the float and its markers land where the text is. Chosen over
   overflow:hidden, which would clip the hover lift on the core-values cards. */
.prose ul, .prose ol { display: flow-root; }
[data-page="vision-mission"] .prose ul { display: grid; }   /* keeps its card grid */

/* ===========================================================================
   Scheme of studies — the semester-by-semester course structure on a program
   page. Built as cards rather than one long table: a BS scheme is eight
   semesters and 126 credit hours, which as a single table is unreadable and,
   on a phone, unusable.

   Written against the site's own tokens so a scheme page looks like the rest of
   the site. The content is ordinary page body, so it stays editable in the
   admin.
   =========================================================================== */
.prose .sos { margin: 1.4rem 0 0; }

/* the programme's headline numbers, above the grid */
.prose .sos__meta {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  padding: 1rem 1.3rem;
  border-radius: 14px;
  background: linear-gradient(140deg, #0d2a54, #071730);
  box-shadow: 0 14px 34px rgba(8, 24, 47, .18);
}
.prose .sos__kicker {
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  letter-spacing: .01em; color: #fff;
}
.prose .sos__total { display: flex; align-items: baseline; gap: .45rem; }
.prose .sos__total b {
  font-family: var(--font-head); font-size: 1.7rem; line-height: 1; color: var(--gold);
}
.prose .sos__total i {
  font-style: normal; font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.72);
}

.prose .sos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 1.1rem;
  margin: 1.1rem 0 0;
}

.prose .sos__card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.prose .sos__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.prose .sos__head {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .85rem 1rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.prose .sos__sem {
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--navy);
}
.prose .sos__sem small {
  display: block;
  font-family: var(--font-body);
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold-deep);
}
.prose .sos__cr { text-align: right; flex: none; }
.prose .sos__cr b {
  display: block;
  font-family: var(--font-head); font-size: 1.15rem; line-height: 1; color: var(--navy);
}
.prose .sos__cr i {
  font-style: normal; font-size: .64rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
}

/* a narrow phone still gets the whole table — it scrolls inside its own card */
.prose .sos__scroll { overflow-x: auto; }

.prose .sos__table { width: 100%; margin: 0; border-collapse: collapse; font-size: .88rem; }
.prose .sos__table thead th {
  padding: .55rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: .68rem; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted); text-align: left;
}
.prose .sos__table thead th:last-child,
.prose .sos__table td.sos__ch { text-align: right; }
.prose .sos__table td {
  padding: .55rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink); line-height: 1.45;
}
.prose .sos__table tr:last-child td { border-bottom: 0; }
.prose .sos__table tbody tr:hover td { background: var(--bg-alt); }

.prose .sos__code {
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .8rem; font-weight: 700; color: var(--navy);
}
/* the credit figure reads as a chip, so the eye can total a semester quickly */
.prose .sos__ch span {
  display: inline-block;
  min-width: 2.4rem;
  padding: .12rem .5rem;
  border-radius: 100px;
  background: var(--grad-gold);
  font-size: .74rem; font-weight: 800; color: var(--navy); text-align: center;
}

.prose .sos__note {
  margin: 1.1rem 0 0;
  padding: .8rem 1rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: var(--bg-alt);
  font-size: .87rem; color: var(--muted);
}
.prose .sos__note strong { color: var(--navy); }

@media (max-width: 560px) {
  .prose .sos__meta { flex-direction: column; align-items: flex-start; }
  .prose .sos__grid { grid-template-columns: 1fr; }
}
/* "Cr (T+L)" is a unit, not a sentence — it must not wrap onto two lines */
.prose .sos__table thead th:last-child { white-space: nowrap; }

/* Programme card extras: the level/duration/credit line, and the stand-in for a
   programme whose scheme of studies is not published yet — better than a card
   with a button that goes nowhere. */
.prose .prog-card__meta {
  margin: 0 0 .5rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: var(--gold-deep);
  -webkit-line-clamp: 2;
}
.prose .prog-card__soon {
  margin-top: auto; align-self: flex-start;
  padding: .5rem 1rem;
  border: 1px dashed var(--line);
  border-radius: 100px;
  font-size: .78rem; font-weight: 700; color: var(--muted);
}

/* ===========================================================================
   Department vision, mission and goals.
   Each department publishes its own statement — the university's is a separate
   page — so it is presented on the department page rather than linked away to.
   The content sits in the page body inside the dept-vision fence and is written
   from the Departments screen in the admin.
   =========================================================================== */
.dvm { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1.15rem; }

.dvm__card {
  position: relative;
  padding: 2rem 1.9rem 1.8rem;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(150deg, #0d2a54, #071730);
  box-shadow: 0 18px 44px rgba(8, 24, 47, .22);
}
.dvm__card::after {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad-gold);
}
.dvm__ico {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 1rem;
  border-radius: 13px;
  background: rgba(224, 177, 60, .16);
  color: var(--gold);
}
.dvm__ico svg { width: 24px; height: 24px; }
.dvm__card h3 {
  margin: 0 0 .6rem;
  font-family: var(--font-head); font-size: 1.3rem; color: #fff;
}
.dvm__card .prose p { margin: 0 0 .7rem; color: rgba(255, 255, 255, .84); line-height: 1.75; }
.dvm__card .prose p:last-child { margin-bottom: 0; }

.dvm__goals {
  margin-top: 2rem;
  padding: 1.5rem 1.7rem;
  border-left: 4px solid var(--gold);
  border-radius: 0 16px 16px 0;
  background: var(--bg-alt);
}
.dvm__goals h3 { margin: 0 0 .5rem; font-family: var(--font-head); font-size: 1.2rem; color: var(--navy); }
.dvm__goals .prose p { margin: 0; color: var(--ink); line-height: 1.8; }

@media (max-width: 620px) { .dvm__card { padding: 1.6rem 1.4rem; } }
/* Biosciences publishes a mission but no vision. One card stretched the full
   width of the page, giving very long lines — it is centred at a readable
   measure instead. */
.dvm__card:only-child { max-width: 860px; margin-inline: auto; }
/* the goals block often carries a short list of objectives */
.dvm__goals .prose p { margin: 0 0 .7rem; }
.dvm__goals .prose p:last-child { margin-bottom: 0; }
.dvm__goals .prose ul { margin: 0; }
.dvm__goals .prose ul li { margin-bottom: .45rem; }
.dvm__goals .prose ul li:last-child { margin-bottom: 0; }

/* ===========================================================================
   Department documents — PEOs, PLOs/GAs, CLOs, a prospectus. Some departments
   publish these as PDFs, some as scans, so a card handles both: a thumbnail of
   the page for an image, a document icon for a PDF.
   =========================================================================== */
.ddocs__head { margin-bottom: 1.2rem; }
.ddocs__head p { margin: .4rem 0 0; color: var(--muted); font-size: .95rem; }

.ddocs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; }

.ddoc {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.ddoc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }

.ddoc__ico {
  flex: none;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(224,177,60,.22), rgba(47,107,184,.14));
  color: var(--navy);
}
.ddoc__ico svg { width: 24px; height: 24px; }

/* a scanned page reads better as a thumbnail of itself */
.ddoc__shot {
  flex: none;
  width: 64px; height: 64px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background-size: cover; background-position: top center;
}

.ddoc__body { display: block; min-width: 0; }
.ddoc__body strong {
  display: block;
  font-family: var(--font-head); font-size: 1rem; color: var(--navy); line-height: 1.3;
}
.ddoc__body span {
  display: block; margin-top: .2rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; color: var(--gold-deep);
}

/* ---------------------------------------------------------------------------
   Faculty landing, redesign trial (pages/faculty-v2.blade.php, faculty-sciences).
   White dean card, photo-led department cards, light "why study" section.
   --------------------------------------------------------------------------- */
.fv2-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--gold-deep);
  font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.fv2-eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--grad-gold); }

.fv2-sec { padding: 80px 0; background: #fff; }
.fv2-sec--soft { background: linear-gradient(180deg, #f7f9fd 0%, #fff 100%); }
.fv2-head { max-width: 680px; margin: 0 auto 2.6rem; text-align: center; }
.fv2-head .fv2-eyebrow::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--grad-gold); }
.fv2-head h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.025em; color: var(--navy); margin: .6rem 0 .7rem; }
.fv2-head p { color: var(--muted); font-size: 1rem; line-height: 1.75; margin: 0; }

.fv2-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: 100px;
  background: var(--navy);
  color: #fff;
  font-weight: 700; font-size: .9rem;
  box-shadow: 0 12px 28px rgba(13, 42, 84, .28);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.fv2-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(13, 42, 84, .36); color: #fff; }
.fv2-btn b { transition: transform .3s var(--ease); }
.fv2-btn:hover b { transform: translateX(4px); }

/* --- dean card --- */
.fv2-dean {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: 340px 1fr; gap: 3.2rem;
  margin-top: -90px;
  padding: 3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(8, 24, 47, .14);
}
.fv2-dean::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  border-radius: 26px 26px 0 0; background: var(--grad-gold);
}
.fv2-dean__media { position: relative; }
.fv2-dean__frame { position: relative; padding: 0 0 18px 18px; }
.fv2-dean__frame::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: calc(100% - 18px); height: calc(100% - 18px);
  border: 3px solid var(--gold); border-radius: 20px;
}
.fv2-dean__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  background: var(--grad-navy) center top / cover no-repeat;
  box-shadow: 0 22px 44px rgba(8, 24, 47, .22);
  display: grid; place-items: center;
}
.fv2-dean__photo span { font-family: var(--font-head); font-size: 4rem; font-weight: 800; color: #fff; }
.fv2-dean__photo .acic { width: 110px; height: 110px; color: rgba(255, 255, 255, .55); }
.fv2-dean--empty .fv2-dean__quote { max-height: none; -webkit-mask-image: none; mask-image: none; }
.fv2-dean__plate {
  position: relative;
  margin: -46px 14px 0 46px;
  padding: .95rem 1.2rem;
  background: var(--navy);
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(8, 24, 47, .3);
  text-align: center;
}
.fv2-dean__plate b { display: block; color: #fff; font-family: var(--font-head); font-size: 1rem; line-height: 1.3; }
.fv2-dean__plate span { display: block; color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .04em; margin-top: .2rem; }

.fv2-dean__body { min-width: 0; padding-top: .4rem; }
.fv2-dean__name { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.02em; color: var(--navy); margin: .7rem 0 .35rem; line-height: 1.2; }
.fv2-dean__role { color: var(--gold-deep); font-weight: 700; font-size: .92rem; margin: 0 0 1.4rem; }
.fv2-dean__quote {
  position: relative;
  margin: 0;
  padding: 2.6rem 0 0 1.6rem;
  border-left: 3px solid var(--gold);
  max-height: 15.5em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
          mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.fv2-dean__quote::before {
  content: "\201C"; position: absolute; left: 1.3rem; top: -.4rem;
  font-family: Georgia, serif; font-size: 4.6rem; line-height: 1; color: var(--gold); opacity: .55;
}
.fv2-dean__quote p { color: #3d4a5e; font-size: 1rem; line-height: 1.9; margin: 0 0 .9rem; }
.fv2-dean__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.6rem; flex-wrap: wrap; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.fv2-dean__contact { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.fv2-dean__contact a, .fv2-dean__contact span { display: inline-flex; align-items: center; gap: .5rem; color: var(--navy); font-size: .86rem; font-weight: 600; }
.fv2-dean__contact .acic { width: 18px; height: 18px; color: var(--gold-deep); }

/* --- department cards --- */
/* always quarter-width cards, four to a row; fewer than four sit centred */
.fv2-depts { display: grid; grid-template-columns: repeat(auto-fit, calc((100% - 3 * 26px) / 4)); justify-content: center; gap: 26px; }
@media (max-width: 1000px) { .fv2-depts { grid-template-columns: repeat(auto-fit, calc((100% - 26px) / 2)); } }
@media (max-width: 600px) { .fv2-depts { grid-template-columns: 1fr; } }
.fv2-dept {
  --tone: #1a56a8;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  color: var(--navy);
  box-shadow: 0 14px 34px rgba(8, 24, 47, .08);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.fv2-dept:hover { transform: translateY(-8px); box-shadow: 0 28px 56px rgba(8, 24, 47, .16); border-color: rgba(224, 177, 60, .55); color: var(--navy); }
.fv2-dept--t2 { --tone: #12805a; }
.fv2-dept--t3 { --tone: #5f34b8; }
.fv2-dept--t4 { --tone: #d07d18; }
.fv2-dept--t5 { --tone: #b8304a; }
.fv2-dept--t6 { --tone: #10788e; }
.fv2-dept__img {
  position: relative; display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(140deg, var(--tone), #0d2a54) center / cover no-repeat;
  transition: transform .5s var(--ease);
}
.fv2-dept__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8, 24, 47, .45)); }
.fv2-dept__ico {
  position: absolute; left: 20px; bottom: -26px; z-index: 2;
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--tone);
  border: 4px solid #fff;
  color: #fff;
  box-shadow: 0 10px 22px rgba(8, 24, 47, .25);
}
.fv2-dept__ico .acic { width: 26px; height: 26px; }
.fv2-dept__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.4rem 1.3rem; }
.fv2-dept__img { aspect-ratio: 4 / 3; border-bottom: 4px solid var(--tone); }
.fv2-dept__img .fv2-dept__ico { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); width: 76px; height: 76px; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); }
.fv2-dept__img .fv2-dept__ico .acic { width: 36px; height: 36px; }
.fv2-dept h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; line-height: 1.3; margin: 0 0 .5rem; transition: color .3s var(--ease); }
.fv2-dept:hover h3 { color: var(--tone); }
.fv2-dept p { color: var(--muted); font-size: .86rem; line-height: 1.65; margin: 0 0 1rem; }
.fv2-dept__hod { display: flex; align-items: center; gap: .65rem; margin: 0 0 1rem; padding: .6rem .7rem; border-radius: 12px; background: #f7f9fd; font-size: .82rem; font-weight: 700; line-height: 1.3; }
.fv2-dept__hod small { display: block; color: var(--gold-deep); font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.fv2-dept__hodpic { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--grad-navy) center top / cover; border: 2px solid var(--gold); }
.fv2-dept__meta { display: flex; align-items: center; gap: 1.1rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; font-weight: 600; }
.fv2-dept__meta b { color: var(--tone); font-family: var(--font-head); font-size: 1.15rem; margin-right: .15rem; }
.fv2-dept__go {
  margin-left: auto;
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: #f1f4fa; color: var(--navy);
  font-style: normal; font-weight: 800;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.fv2-dept:hover .fv2-dept__go { background: var(--tone); color: #fff; transform: translateX(3px); }

/* --- why study + numbers --- */
.fv2-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fv2-pillar {
  padding: 1.8rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(8, 24, 47, .05);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.fv2-pillar:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(8, 24, 47, .1); }
.fv2-pillar__ico { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.1rem; border-radius: 14px; background: linear-gradient(140deg, #fdf6e3, #f6e6bd); }
.fv2-pillar__ico .acic { width: 28px; height: 28px; color: var(--gold-deep); }
.fv2-pillar b { display: block; color: var(--navy); font-family: var(--font-head); font-size: 1.05rem; margin-bottom: .4rem; }
.fv2-pillar > span:last-child { display: block; color: var(--muted); font-size: .86rem; line-height: 1.65; }

.fv2-numbers {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-top: 2.6rem;
  background: var(--navy);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(8, 24, 47, .2);
}
.fv2-number { padding: 2rem 1rem; text-align: center; border-right: 1px solid rgba(255, 255, 255, .1); }
.fv2-number:last-child { border-right: 0; }
.fv2-number b { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fv2-number span { display: block; margin-top: .5rem; color: #c6d4e8; font-size: .82rem; font-weight: 600; letter-spacing: .03em; }

/* --- about + office + cta --- */
.fv2-about { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: start; }
.fv2-about > div { min-width: 0; }
.fv2-about__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; color: var(--navy); margin: .6rem 0 1rem; }
.fv2-about__tag { color: var(--navy); font-size: 1.05rem; font-weight: 700; margin: 0 0 .7rem; }
.fv2-about__lead { color: var(--muted); font-size: 1rem; line-height: 1.85; margin: 0 0 1rem; }
.fv2-office { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 18px; padding: 1.6rem; box-shadow: 0 14px 34px rgba(8, 24, 47, .08); }
.fv2-office h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy); margin: 0 0 .6rem; }
.fv2-office ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.fv2-office li { display: flex; gap: .85rem; align-items: flex-start; padding: .75rem 0; border-bottom: 1px dashed var(--line); }
.fv2-office li:last-child { border-bottom: 0; }
.fv2-office .acic { width: 20px; height: 20px; color: var(--gold-deep); margin-top: .15rem; }
.fv2-office small { display: block; color: var(--gold-deep); font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fv2-office div { color: var(--navy); font-size: .88rem; font-weight: 600; line-height: 1.55; }
.fv2-office__all { display: inline-flex; align-items: center; gap: .4rem; color: var(--gold-deep); font-weight: 800; font-size: .85rem; }

.fv2-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap;
  margin-top: 3.4rem;
  padding: 2.4rem 2.8rem;
  border-radius: 24px;
  background: var(--grad-navy);
  box-shadow: 0 24px 50px rgba(13, 42, 84, .3);
}
.fv2-cta h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: #fff; margin: 0 0 .35rem; }
.fv2-cta p { color: #c6d4e8; margin: 0; }
.fv2-cta__btns { display: flex; flex-wrap: wrap; gap: .8rem; }
.fv2-cta .btn { margin-top: 0; }

@media (max-width: 1000px) {
  .fv2-dean { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
  .fv2-dean__media { max-width: 340px; margin: 0 auto; width: 100%; }
  .fv2-pillars { grid-template-columns: repeat(2, 1fr); }
  .fv2-about { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .fv2-sec { padding: 56px 0; }
  .fv2-dean { padding: 1.4rem; margin-top: -60px; border-radius: 20px; }
  .fv2-pillars { grid-template-columns: 1fr; }
  .fv2-number { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .fv2-cta { padding: 1.8rem 1.4rem; }
}

/* ---------------------------------------------------------------------------
   Department landing, redesign trial (pages/department-v2.blade.php).
   Bento intro + program explorer with an inline scheme-of-study viewer.
   --------------------------------------------------------------------------- */
.dv4-sec { padding: 88px 0; background: #fff; }
.dv4-sec--soft { background: #f6f8fc; }
.dv4-sec--tight { padding-top: 0; }
.dv4-tag {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--gold-deep);
  font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.dv4-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(224, 177, 60, .2); }
.dv4-tag--light { color: var(--gold); }
.dv4-more { display: inline-flex; align-items: center; gap: .5rem; color: var(--navy); font-weight: 800; font-size: .9rem; }
.dv4-more i { font-style: normal; transition: transform .3s var(--ease); }
.dv4-more:hover { color: var(--gold-deep); }
.dv4-more:hover i { transform: translateX(4px); }
.dv4-head { max-width: 720px; margin: 0 auto 2.4rem; text-align: center; }
.dv4-head h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -.03em; color: var(--navy); margin: .8rem 0 .7rem; line-height: 1.1; }
.dv4-head p { color: var(--muted); font-size: 1rem; line-height: 1.7; margin: 0; }

/* --- bento grid --- */
.dv4-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(150px, auto);
  grid-auto-flow: dense;
  gap: 20px;
}
.dv4-tile {
  position: relative;
  grid-column: span 6;
  padding: 2rem;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(8, 24, 47, .07);
  overflow: hidden;
}
.dv4-tile h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; letter-spacing: -.02em; margin: 1rem 0 .7rem; }
.dv4-text, .dv4-text p { font-size: .98rem; line-height: 1.8; margin: 0; }
.dv4-tile__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; }
.dv4-tile__ico .acic { width: 26px; height: 26px; }

/* HOD: one full-width card, navy profile side + white message side */
.dv4-hod { grid-column: span 12; display: grid; grid-template-columns: 340px 1fr; padding: 0; }
.dv4-hod__side {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2.8rem 2rem 2.4rem;
  background: var(--navy);
  background-image: radial-gradient(circle at 50% 0%, rgba(47, 107, 184, .45), transparent 60%);
  color: #fff;
}
.dv4-hod__pic {
  display: grid; place-items: center;
  width: 176px; height: 176px;
  border-radius: 50%;
  background: var(--grad-navy) center top / cover no-repeat;
  border: 5px solid var(--navy);
  box-shadow: 0 0 0 4px var(--gold), 0 18px 40px rgba(0, 0, 0, .35);
  transition: transform .4s var(--ease);
}
.dv4-hod__pic:hover { transform: scale(1.04); }
.dv4-hod__pic span { font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: #fff; }
.dv4-hod__badge { margin-top: 1.5rem; padding: .3rem .85rem; border-radius: 100px; background: var(--gold); color: var(--navy); font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dv4-hod__name { margin: .8rem 0 .25rem; font-family: var(--font-head); font-size: 1.45rem; line-height: 1.2; }
.dv4-hod__role { color: #a9bcd8; font-size: .86rem; }
.dv4-hod__mail { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .14); color: #e3ebf7; font-size: .82rem; font-weight: 600; word-break: break-all; }
.dv4-hod__mail .acic { width: 16px; height: 16px; color: var(--gold); flex: none; }
.dv4-hod__mail:hover { color: var(--gold); }
.dv4-hod__msg { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 3rem 3.4rem; }
.dv4-hod__msg::before {
  content: "\201C"; position: absolute; right: 2.4rem; top: 1.2rem;
  font-family: Georgia, serif; font-size: 9rem; line-height: 1; color: rgba(224, 177, 60, .18);
}
.dv4-hod__msg h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.02em; color: var(--navy); margin: .9rem 0 1rem; line-height: 1.2; max-width: 90%; }
.dv4-hod__msg p { color: #4a5870; font-size: 1.04rem; line-height: 1.9; margin: 0 0 1.8rem; }
.dv4-hod__btn {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.5rem;
  border-radius: 100px;
  background: var(--navy); color: #fff;
  font-weight: 700; font-size: .88rem;
  box-shadow: 0 12px 26px rgba(13, 42, 84, .25);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.dv4-hod__btn i { font-style: normal; transition: transform .3s var(--ease); }
.dv4-hod__btn:hover { background: var(--gold-deep); color: #fff; transform: translateY(-2px); }
.dv4-hod__btn:hover i { transform: translateX(4px); }

.dv4-tile__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.dv4-tile__head h3 { margin: 0; }

.dv4-tile--vision { grid-column: span 6; background: var(--navy); border: 0; color: #fff; }
.dv4-tile--vision .dv4-tile__ico { background: rgba(255, 255, 255, .1); color: var(--gold); }
.dv4-tile--vision h3 { color: #fff; }
.dv4-tile--vision .dv4-text, .dv4-tile--vision .dv4-text p { color: #c6d4e8; }
.dv4-tile--vision::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; border: 30px solid rgba(224, 177, 60, .12); }

.dv4-tile--mission { grid-column: span 6; background: linear-gradient(150deg, #fdf6e3, #f6e3b4); border-color: #f0dca6; }
.dv4-tile--mission .dv4-tile__ico { background: var(--navy); color: var(--gold); }
.dv4-tile--mission h3 { color: var(--navy); }
.dv4-tile--mission .dv4-text, .dv4-tile--mission .dv4-text p { color: #5b4a22; }

.dv4-tile--goals { grid-column: span 7; }
.dv4-goals p { color: var(--muted); margin: .9rem 0 .8rem; }
.dv4-goals ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.dv4-goals li { position: relative; padding-left: 2.1rem; color: var(--navy); font-weight: 600; line-height: 1.6; }
.dv4-goals li::before {
  content: "\2713"; position: absolute; left: 0; top: .1em;
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy); color: var(--gold); font-size: .7rem; font-weight: 800;
}

.dv4-tile--why { grid-column: span 5; background: linear-gradient(150deg, #0d2a54, #143a72 70%, #1f4f93); border: 0; }
.dv4-tile--why ul { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .9rem; }
.dv4-tile--why li { display: flex; gap: .8rem; color: #e3ebf7; font-size: .94rem; line-height: 1.55; }
.dv4-tile--why li::before { content: "\2192"; flex: none; color: var(--gold); font-weight: 800; }

/* --- program explorer --- */
.dv4-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin: 0 auto 2.4rem; }
.dv4-tabs button {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.35rem;
  border: 1px solid var(--line); border-radius: 100px;
  background: #fff; color: var(--navy);
  font-family: inherit; font-size: .9rem; font-weight: 700; cursor: pointer;
  transition: all .3s var(--ease);
}
.dv4-tabs button span { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 .4rem; border-radius: 100px; background: #eef2f8; font-size: .74rem; }
.dv4-tabs button:hover { border-color: var(--navy); }
.dv4-tabs button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 12px 26px rgba(13, 42, 84, .3); }
.dv4-tabs button.is-active span { background: var(--gold); color: var(--navy); }

.dv4-progs { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.dv4-prog {
  --lv: #1a56a8; --lv-bg: #e8f0fb;
  position: relative;
  display: flex; flex-direction: column;
  padding: 1.7rem 1.6rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(8, 24, 47, .06);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.dv4-prog[hidden] { display: none; }
.dv4-prog::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--lv); }
.dv4-prog:hover { transform: translateY(-6px); box-shadow: 0 26px 52px rgba(8, 24, 47, .14); border-color: transparent; }
.dv4-prog--adp { --lv: #12805a; --lv-bg: #e5f5ee; }
.dv4-prog--ms  { --lv: #5f34b8; --lv-bg: #efe9fb; }
.dv4-prog--phd { --lv: #b8304a; --lv-bg: #fbe9ec; }
.dv4-prog__top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.dv4-prog__lvl { padding: .32rem .85rem; border-radius: 100px; background: var(--lv-bg); color: var(--lv); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dv4-prog__dur { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .78rem; font-weight: 600; }
.dv4-prog__dur .acic { width: 15px; height: 15px; color: var(--gold-deep); }
.dv4-prog h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; color: var(--navy); margin: 1.1rem 0 .55rem; line-height: 1.25; }
.dv4-prog p { color: var(--muted); font-size: .88rem; line-height: 1.65; margin: 0 0 1.3rem; }
.dv4-prog__acts { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; }
.dv4-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.15rem;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--navy);
  font-family: inherit; font-size: .84rem; font-weight: 700; cursor: pointer;
  transition: all .3s var(--ease);
}
.dv4-btn .acic { width: 17px; height: 17px; }
.dv4-btn:hover { border-color: var(--navy); color: var(--navy); }
.dv4-btn--solid { background: var(--navy); border-color: var(--navy); color: #fff; }
.dv4-btn--solid .acic { color: var(--gold); }
.dv4-btn--solid:hover { background: var(--lv); border-color: var(--lv); color: #fff; }
.dv4-soon { color: var(--muted); font-size: .82rem; font-style: italic; }

/* --- scheme viewer --- */
.dv4-pdf {
  position: fixed; inset: 0; z-index: 2100;
  display: grid; place-items: center;
  padding: 3vh 3vw;
  background: rgba(6, 16, 33, .78); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.dv4-pdf.is-open { opacity: 1; visibility: visible; }
.dv4-pdf__box { display: flex; flex-direction: column; width: min(1100px, 100%); height: 100%; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 40px 90px rgba(0, 0, 0, .45); transform: translateY(14px); transition: transform .35s var(--ease); }
.dv4-pdf.is-open .dv4-pdf__box { transform: none; }
.dv4-pdf__bar { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.2rem; background: var(--navy); }
.dv4-pdf__bar b { flex: 1; min-width: 0; color: #fff; font-family: var(--font-head); font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv4-pdf__bar a { color: var(--gold); font-size: .82rem; font-weight: 700; white-space: nowrap; }
.dv4-pdf__bar button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.4rem; cursor: pointer; }
.dv4-pdf__bar button:hover { background: var(--gold); color: var(--navy); }
.dv4-pdf iframe { flex: 1; width: 100%; border: 0; background: #f1f3f7; }

/* --- closing CTA --- */
.dv4-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: 3rem 3.2rem;
  border-radius: 28px;
  background: var(--navy);
  background-image: radial-gradient(circle at 100% 0%, rgba(224, 177, 60, .25), transparent 45%), radial-gradient(circle at 0% 100%, rgba(47, 107, 184, .35), transparent 50%);
}
.dv4-cta h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.02em; color: #fff; margin: .8rem 0 .5rem; }
.dv4-cta p { color: #a9bcd8; margin: 0; font-size: .9rem; }
.dv4-cta__btns { display: flex; flex-wrap: wrap; gap: .8rem; }
.dv4-cta .btn { margin-top: 0; }

@media (max-width: 1000px) {
  .dv4-sec { padding: 64px 0; }
  .dv4-tile, .dv4-tile--goals, .dv4-tile--why { grid-column: span 12; }
  .dv4-hod { grid-template-columns: 1fr; }
  .dv4-hod__msg { padding: 2.4rem 2rem; }
  .dv4-tile--vision, .dv4-tile--mission { grid-column: span 6; }
}
@media (max-width: 640px) {
  .dv4-tile--vision, .dv4-tile--mission { grid-column: span 12; }
  .dv4-tile { padding: 1.6rem; }
  .dv4-hod { padding: 0; }
  .dv4-hod__msg { padding: 2rem 1.5rem; }
  .dv4-hod__msg::before { font-size: 6rem; right: 1rem; }
  .dv4-progs { grid-template-columns: 1fr; }
  .dv4-cta { padding: 2rem 1.5rem; }
  .dv4-pdf { padding: 0; }
  .dv4-pdf__box { border-radius: 0; }
  .dv4-pdf__bar a[data-pdf-dl] { display: none; }
}

/* Department intro (HOD / vision / mission / goals / why) in the faculty-page
   scheme: white cards, gold top rule and accents, no navy or blue fills. */
.dv4-bento .dv4-tile { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); color: var(--navy); }
.dv4-hod { border-top: 0; }
.dv4-hod::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad-gold); z-index: 2; }
.dv4-hod__side { background: linear-gradient(180deg, #fdf8ec, #fff); background-image: none; background-color: #fdf9ef; color: var(--navy); border-right: 1px solid #f1e3bd; }
.dv4-hod__pic { border-color: #fff; box-shadow: 0 0 0 4px var(--gold), 0 18px 40px rgba(8, 24, 47, .18); }
.dv4-hod__role { color: var(--muted); }
.dv4-hod__mail { color: var(--navy); border-top-color: #f1e3bd; }
.dv4-hod__mail:hover { color: var(--gold-deep); }

.dv4-tile__ico, .dv4-tile--vision .dv4-tile__ico, .dv4-tile--mission .dv4-tile__ico { background: linear-gradient(140deg, #fdf6e3, #f6e6bd); color: var(--gold-deep); }
.dv4-tile--vision, .dv4-tile--mission, .dv4-tile--why { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); }
.dv4-tile--vision::after { display: none; }
.dv4-tile--vision h3, .dv4-tile--mission h3 { color: var(--navy); }
.dv4-tile--vision .dv4-text, .dv4-tile--vision .dv4-text p,
.dv4-tile--mission .dv4-text, .dv4-tile--mission .dv4-text p { color: var(--muted); }
.dv4-tile--why .dv4-tag--light { color: var(--gold-deep); }
.dv4-tile--why li { color: var(--navy); font-weight: 600; }
.dv4-tile--why li::before { color: var(--gold-deep); }
.dv4-goals li::before { background: linear-gradient(140deg, #fdf6e3, #f6e6bd); color: var(--gold-deep); }
.dv4-hod__pic--empty { background: linear-gradient(140deg, #fdf6e3, #f6e6bd); color: var(--gold-deep); }
.dv4-hod__pic--empty .acic { width: 70px; height: 70px; }
/* goals or why standing alone takes the full row instead of leaving a hole */
.dv4-tile--full { grid-column: span 12; }
.dv4-tile--why.dv4-tile--full ul { grid-template-columns: repeat(2, 1fr); gap: .9rem 2.4rem; }
@media (max-width: 640px) { .dv4-tile--why.dv4-tile--full ul { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   Department faculty listing, redesign trial (pages/faculty-dept-v2.blade.php).
   Reuses the dv4 HOD card; member cards with round, gold-ringed portraits.
   --------------------------------------------------------------------------- */
.fx2-head { margin-top: 4.5rem; }
/* quarter-width cards, centred when a department has fewer than four */
.fx2-grid { display: grid; grid-template-columns: repeat(auto-fit, calc((100% - 3 * 24px) / 4)); justify-content: center; gap: 24px; }
@media (max-width: 1000px) { .fx2-grid { grid-template-columns: repeat(auto-fit, calc((100% - 24px) / 2)); } }
@media (max-width: 600px) { .fx2-grid { grid-template-columns: 1fr; } }
.fx2-card {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2.2rem 1.5rem 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(8, 24, 47, .07);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.fx2-card:hover { transform: translateY(-8px); box-shadow: 0 28px 56px rgba(8, 24, 47, .14); }
.fx2-card__pic {
  display: grid; place-items: center;
  width: 210px; height: 210px;
  border-radius: 50%;
  background: linear-gradient(140deg, #fdf6e3, #f6e6bd) center top / cover no-repeat;
  border: 5px solid #fff;
  box-shadow: 0 0 0 4px var(--gold), 0 16px 34px rgba(8, 24, 47, .16);
  transition: transform .4s var(--ease);
}
.fx2-card:hover .fx2-card__pic { transform: scale(1.05); }
.fx2-card__pic span { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--gold-deep); }
.fx2-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy); margin: 1.4rem 0 .55rem; line-height: 1.3; }
.fx2-card__role { padding: .3rem .85rem; border-radius: 100px; background: #fdf6e3; border: 1px solid #f1e3bd; color: var(--gold-deep); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fx2-card__qual { margin: .9rem 0 0; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.fx2-card__btn {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: auto;
  padding: .65rem 1.3rem;
  border-radius: 100px;
  background: var(--navy); color: #fff;
  font-size: .82rem; font-weight: 700;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
/* buttons sit on one line across a row, whether or not a card has a qualification */
.fx2-card > :nth-last-child(2) { margin-bottom: 1.4rem; }
.fx2-card__btn i { font-style: normal; transition: transform .3s var(--ease); }
.fx2-card__btn:hover { background: var(--gold-deep); color: #fff; }
.fx2-card__btn:hover i { transform: translateX(4px); }
.fx2-back { margin-top: 3rem; text-align: center; }

/* faculty listing: larger portraits (HOD scoped to this page via .facdept) */
.fx2-card__pic span { font-size: 3.4rem; }
.facdept .dv4-hod__pic { width: 230px; height: 230px; }
.facdept .dv4-hod__side { justify-content: center; }
@media (max-width: 600px) { .fx2-card__pic { width: 180px; height: 180px; } }
/* carousel whose cards all fit: hide the arrows and centre the row */
.fcar.is-static .fcar__nav { display: none; }
.fcar.is-static .fcar__track { justify-content: center; }

/* ---------------------------------------------------------------------------
   Collaborations page (/page/collaboration, raw-HTML body). White cards, gold
   accents, partner logos on white tiles; initials where there is no logo.
   --------------------------------------------------------------------------- */
.clb { padding-top: 80px; padding-bottom: 90px; }
.clb-intro { max-width: 860px; margin: 0 auto 2.6rem; text-align: center; }
.clb-kicker { display: inline-flex; align-items: center; gap: .55rem; color: var(--gold-deep); font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.clb-kicker::before, .clb-kicker::after { content: ""; width: 26px; height: 2px; background: var(--gold); }
.clb-intro h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.7rem); letter-spacing: -.03em; color: var(--navy); margin: .8rem 0 .9rem; line-height: 1.15; }
.clb-intro p { color: var(--muted); font-size: 1.02rem; line-height: 1.8; margin: 0; }
.clb-stats { display: inline-grid; grid-template-columns: repeat(3, auto); margin-top: 2rem; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 20px; box-shadow: 0 14px 34px rgba(8, 24, 47, .08); }
.clb-stats div { padding: 1.2rem 2.4rem; border-left: 1px solid var(--line); }
.clb-stats div:first-child { border-left: 0; }
.clb-stats b { display: block; font-family: var(--font-head); font-size: 2.2rem; line-height: 1; color: var(--navy); }
.clb-stats span { display: block; margin-top: .35rem; color: var(--gold-deep); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.clb-tools { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 0 0 2.6rem; padding: .7rem; background: #fff; border: 1px solid var(--line); border-radius: 100px; box-shadow: 0 10px 26px rgba(8, 24, 47, .06); }
.clb-tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.clb-tabs button { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.25rem; border: 0; border-radius: 100px; background: transparent; color: var(--navy); font-family: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; transition: all .3s var(--ease); }
.clb-tabs button span { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 .4rem; border-radius: 100px; background: #eef2f8; font-size: .72rem; }
.clb-tabs button:hover { background: #f4f6fb; }
.clb-tabs button.is-active { background: var(--navy); color: #fff; }
.clb-tabs button.is-active span { background: var(--gold); color: var(--navy); }
.clb-search input { width: 280px; max-width: 100%; padding: .7rem 1.2rem; border: 1px solid var(--line); border-radius: 100px; background: #f8fafd; font-family: inherit; font-size: .9rem; color: var(--navy); outline: none; transition: border-color .3s, box-shadow .3s; }
.clb-search input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(224, 177, 60, .18); background: #fff; }

.clb-group + .clb-group { margin-top: 3.4rem; }
.clb-group__head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.6rem; padding-bottom: 1.1rem; border-bottom: 2px solid var(--line); }
.clb-group__ico { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(140deg, #fdf6e3, #f6e6bd); color: var(--gold-deep); }
.clb-group__ico .acic { width: 28px; height: 28px; }
.clb-group__head h2 { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; letter-spacing: -.02em; color: var(--navy); margin: 0; }
.clb-group__head p { color: var(--muted); margin: .2rem 0 0; font-size: .92rem; }

.clb-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, calc((100% - 3 * 20px) / 4)); justify-content: center; gap: 20px; }
.clb-card {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 1.8rem 1.2rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(8, 24, 47, .06);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.clb-card[hidden], .clb-group[hidden] { display: none; }
.clb-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(8, 24, 47, .13); border-color: rgba(224, 177, 60, .6); }
.clb-no { position: absolute; top: 14px; left: 16px; color: var(--gold-deep); font-family: var(--font-head); font-size: .8rem; font-weight: 800; letter-spacing: .06em; }
.clb-logo { display: grid; place-items: center; width: 116px; height: 116px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(8, 24, 47, .07); overflow: hidden; }
.clb-logo img { width: 100%; height: 100%; object-fit: contain; padding: 12px; margin: 0; border: 0; box-shadow: none; border-radius: 0; }
.clb-ini { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(140deg, #fdf6e3, #f6e6bd); color: var(--gold-deep); font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; letter-spacing: .02em; }
.clb-card h4 { margin: 1.1rem 0 0; font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1.45; color: var(--navy); }
.clb-empty { margin: 2rem 0 0; text-align: center; color: var(--muted); }

@media (max-width: 1000px) { .clb-grid { grid-template-columns: repeat(auto-fit, calc((100% - 2 * 20px) / 3)); } }
@media (max-width: 700px) {
  .clb { padding-top: 56px; }
  .clb-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .clb-logo { width: 86px; height: 86px; }
  .clb-tools { border-radius: 22px; }
  .clb-search, .clb-search input { width: 100%; }
  .clb-stats div { padding: 1rem 1.2rem; }
}

/* Nine top-level menu items (Collaborations added): keep every label on one line
   and tighten the row between the desktop breakpoint and the hamburger at 1000px. */
.nav__link { white-space: nowrap; }
@media (max-width: 1440px) and (min-width: 1001px) {
  .header .nav { gap: .95rem; }
  .header .nav__link { font-size: .8rem; letter-spacing: .02em; }
}
@media (max-width: 1240px) and (min-width: 1001px) {
  .header .nav { gap: .7rem; }
  .header .nav__link { font-size: .74rem; letter-spacing: 0; }
  .header .brand__logo { height: 52px; }
}
/* collaborations: country line and the MoU link at the foot of each card */
.clb-place { margin-top: .35rem; color: var(--gold-deep); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.clb-card h4 { margin-bottom: 1rem; }
.clb-mou {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1.1rem;
  border: 1.5px solid var(--navy); border-radius: 100px;
  color: var(--navy); font-size: .78rem; font-weight: 700;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.clb-place + .clb-mou { margin-top: 1rem; }
.clb-mou:hover { background: var(--navy); color: #fff; }

/* Featured film on white: same layout, light treatment with gold accents */
.filmx { background: #fff; border-top: 0; border-bottom: 0; padding: 100px 0; }
.filmx__aura {
  background:
    radial-gradient(40% 50% at 8% 10%, rgba(224, 177, 60, .14), transparent 70%),
    radial-gradient(40% 50% at 96% 92%, rgba(224, 177, 60, .12), transparent 70%);
}
.filmx__stage {
  border: 0;
  border-radius: 24px;
  box-shadow: 24px 24px 0 -6px #f3e2b3, 0 30px 70px rgba(8, 24, 47, .22);
  outline: 4px solid #fff;
}
.filmx__badge { background: rgba(255, 255, 255, .92); border-color: var(--gold); }
.filmx__badge b { color: var(--gold-deep); }
.filmx__badge i { color: var(--muted); }

.filmx__kicker { background: #fdf6e3; border-color: #f1e3bd; color: var(--gold-deep); }
.filmx__title { color: var(--navy); }
.filmx__lede { color: var(--muted); font-size: .98rem; }
.filmx__meta { border-top-color: var(--line); }
.filmx__meta li { padding-left: 1rem; border-left: 3px solid var(--gold); }
.filmx__meta b { background: none; -webkit-text-fill-color: var(--navy); color: var(--navy); }
.filmx__meta span { color: var(--gold-deep); font-weight: 700; }

.filmx__shot { height: 92px; border: 3px solid #fff; box-shadow: 0 8px 22px rgba(8, 24, 47, .14); }
.filmx__shot:hover { border-color: var(--gold); transform: translateY(-4px); }
.filmx__shot::after { background: linear-gradient(to top, rgba(8, 24, 47, .78), rgba(8, 24, 47, 0) 62%); }

.filmx__cta { background: var(--navy); color: #fff; box-shadow: 0 14px 30px rgba(13, 42, 84, .28); }
.filmx__cta b { color: var(--gold); }
.filmx__cta:hover { color: #fff; background: var(--gold-deep); box-shadow: 0 18px 38px rgba(13, 42, 84, .32); }
.filmx__cta:hover b { color: #fff; }
@media (max-width: 900px) { .filmx { padding: 64px 0; } .filmx__stage { box-shadow: 14px 14px 0 -4px #f3e2b3, 0 24px 50px rgba(8, 24, 47, .2); } }

/* Home: the light sections are pure white (no tints, gradients or glows) */
.facstrip, .galx, .achv, .filmx { background: #fff; }
.facstrip.section--alt, .galx.section--alt { background: #fff; background-image: none; }
.achv { background-image: none; }
.filmx__aura { display: none; }

/* Featured film, round two: one clean white card, no gold blocks or rules */
.filmx { padding: 90px 0; }
.filmx__grid {
  padding: 2.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(8, 24, 47, .10);
}
.filmx__stage { outline: 0; border-radius: 20px; box-shadow: 0 22px 50px rgba(8, 24, 47, .22); }
.filmx__kicker { display: inline-flex; align-items: center; gap: .5rem; }
.filmx__kicker::before { content: "\25B6"; font-size: .6rem; }
.filmx__title { font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
.filmx__meta { gap: .7rem; padding-top: 0; border-top: 0; }
.filmx__meta li {
  padding: .7rem 1.1rem;
  border-left: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafd;
}
.filmx__meta b { font-size: 1.15rem; }
.filmx__meta span { color: var(--muted); font-weight: 600; }
.filmx__shots { gap: 12px; }
.filmx__shot { height: 96px; border: 0; border-radius: 14px; box-shadow: 0 10px 24px rgba(8, 24, 47, .16); }
.filmx__shot:hover { border: 0; transform: translateY(-4px) scale(1.02); box-shadow: 0 18px 34px rgba(8, 24, 47, .24); }
@media (max-width: 900px) {
  .filmx__grid { padding: 1.4rem; border-radius: 22px; }
  .filmx__stage { box-shadow: 0 16px 36px rgba(8, 24, 47, .2); }
}

/* Featured film, round three: fine gold gradient lines as the accent */
.filmx__grid { position: relative; overflow: hidden; }
/* shimmering gold rule along the top of the card, fading at both ends */
.filmx__grid::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, transparent, #e0b13c 18%, #f6d77e 50%, #e0b13c 82%, transparent);
}
/* thin gold divider between the film and the rail */
.filmx__rail { position: relative; padding-left: 2.4rem; }
.filmx__rail::before {
  content: ""; position: absolute; left: 0; top: 6%; bottom: 6%; width: 2px;
  background: linear-gradient(180deg, transparent, #e0b13c 25%, #f6d77e 50%, #e0b13c 75%, transparent);
}
/* gold gradient frame around the video */
.filmx__stage { padding: 3px; background: linear-gradient(135deg, #f6d77e, #c9962a 45%, #f6d77e 70%, #c9962a); }
.filmx__video { border-radius: 17px; }
/* gold rule with a diamond under the title */
.filmx__title { position: relative; padding-bottom: 1.1rem; margin-bottom: 1.1rem; }
.filmx__title::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 120px; height: 2px;
  background: linear-gradient(90deg, #c9962a, #f6d77e 60%, transparent);
}
.filmx__title::before {
  content: ""; position: absolute; left: 52px; bottom: -4px; width: 10px; height: 10px;
  background: var(--grad-gold); transform: rotate(45deg);
  box-shadow: 0 0 0 3px #fff;
}
.filmx__meta li { position: relative; overflow: hidden; }
.filmx__meta li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-gold); }
.filmx__shot:hover { box-shadow: 0 0 0 3px #e0b13c, 0 18px 34px rgba(8, 24, 47, .24); }
@media (max-width: 900px) {
  .filmx__rail { padding-left: 0; }
  .filmx__rail::before { display: none; }
}

/* Featured film, round four: bolder glowing gold lines, dark-blue buttons */
.filmx__grid::before { height: 6px; box-shadow: 0 2px 14px rgba(224, 177, 60, .55); }
.filmx__stage {
  padding: 6px;
  background: linear-gradient(135deg, #fbe6a6 0%, #e0b13c 25%, #b8861f 50%, #f6d77e 75%, #c9962a 100%);
  box-shadow: 0 0 0 1px rgba(201, 150, 42, .4), 0 0 28px rgba(224, 177, 60, .45), 0 26px 56px rgba(8, 24, 47, .24);
}
.filmx__video { border-radius: 15px; }
.filmx__rail::before {
  width: 4px; border-radius: 4px;
  background: linear-gradient(180deg, transparent, #c9962a 18%, #f6d77e 50%, #c9962a 82%, transparent);
  box-shadow: 0 0 12px rgba(224, 177, 60, .5);
}
.filmx__rail::after {
  content: ""; position: absolute; left: -5px; top: calc(50% - 7px); width: 14px; height: 14px;
  background: var(--grad-gold); transform: rotate(45deg);
  box-shadow: 0 0 0 4px #fff, 0 0 14px rgba(224, 177, 60, .6);
}
.filmx__title::after { width: 190px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #b8861f, #f6d77e 55%, rgba(246, 215, 126, 0)); box-shadow: 0 2px 10px rgba(224, 177, 60, .35); }
.filmx__title::before { left: 78px; bottom: -5px; width: 14px; height: 14px; box-shadow: 0 0 0 4px #fff, 0 0 12px rgba(224, 177, 60, .6); }
.filmx__meta li::before { height: 5px; background: linear-gradient(90deg, #b8861f, #f6d77e, #c9962a); }

/* buttons in the site's dark blue */
.filmx__play.tour__play { background: var(--navy); color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 16px 36px rgba(8, 24, 47, .45); }
.filmx__play .tour__ring { border-color: rgba(246, 215, 126, .85); }
.filmx__kicker { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.filmx__cta { background: var(--navy); color: #fff; border: 2px solid #e0b13c; }
.filmx__cta b { color: var(--gold); }
.filmx__cta:hover { background: #0a2044; color: #fff; box-shadow: 0 0 22px rgba(224, 177, 60, .45), 0 18px 38px rgba(13, 42, 84, .32); }
.filmx__cta:hover b { color: var(--gold); }
@media (max-width: 900px) { .filmx__rail::after { display: none; } }
/* the four stills get the same gold frame as the film, glowing brighter on hover */
.filmx__shot { box-shadow: 0 0 0 3px #fff, 0 0 0 6px #e0b13c, 0 0 18px rgba(224, 177, 60, .45), 0 12px 26px rgba(8, 24, 47, .18); }
.filmx__shot:hover { box-shadow: 0 0 0 3px #fff, 0 0 0 6px #f6d77e, 0 0 28px rgba(224, 177, 60, .7), 0 18px 34px rgba(8, 24, 47, .24); }
.filmx__shots { gap: 18px; padding: 6px; }

/* About GAUS: the same floating white card as the featured film */
.about2__grid {
  position: relative;
  overflow: hidden;
  padding: 2.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(8, 24, 47, .10);
}
.about2__grid::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, transparent, #e0b13c 18%, #f6d77e 50%, #e0b13c 82%, transparent);
  box-shadow: 0 2px 14px rgba(224, 177, 60, .55);
}
@media (max-width: 900px) { .about2__grid { padding: 1.6rem; border-radius: 22px; } }

/* Proud Achievements: the same floating white card as About and the film */
.achv { border-top: 0; }
.achv > .container {
  position: relative;
  overflow: hidden;
  padding-top: 2.8rem; padding-bottom: 2.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(8, 24, 47, .10);
}
.achv > .container::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, transparent, #e0b13c 18%, #f6d77e 50%, #e0b13c 82%, transparent);
  box-shadow: 0 2px 14px rgba(224, 177, 60, .55);
}
@media (max-width: 900px) { .achv > .container { padding-top: 1.6rem; padding-bottom: 1.6rem; border-radius: 22px; } }

/* ---------------------------------------------------------------------------
   News detail (news-show.blade.php): full-width white card for title + story,
   then a full-width photo gallery. No featured image on top.
   --------------------------------------------------------------------------- */
.nx2-sec { padding: 80px 0 90px; background: #fff; }
.nx2-card {
  position: relative; overflow: hidden;
  padding: 3rem 3.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(8, 24, 47, .10);
}
.nx2-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, transparent, #e0b13c 18%, #f6d77e 50%, #e0b13c 82%, transparent);
  box-shadow: 0 2px 14px rgba(224, 177, 60, .55);
}
.nx2-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.nx2-tag { padding: .35rem .95rem; border-radius: 100px; background: var(--navy); color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.nx2-date { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .88rem; font-weight: 600; }
.nx2-date .acic { width: 17px; height: 17px; color: var(--gold-deep); }
.nx2-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.2; letter-spacing: -.025em; color: var(--navy); margin: 1.1rem 0 1rem; }
.nx2-rule { position: relative; display: block; width: 190px; height: 4px; margin-bottom: 1.8rem; border-radius: 4px; background: linear-gradient(90deg, #b8861f, #f6d77e 55%, rgba(246, 215, 126, 0)); }
.nx2-rule::after { content: ""; position: absolute; left: 78px; top: -5px; width: 14px; height: 14px; background: var(--grad-gold); transform: rotate(45deg); box-shadow: 0 0 0 4px #fff; }
.nx2-body { max-width: none; font-size: 1.04rem; line-height: 1.9; color: #3d4a5e; }
.nx2-body p { margin: 0 0 1rem; }

.nx2-gal { margin-top: 3.4rem; }
.nx2-gal__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; padding-bottom: .9rem; border-bottom: 2px solid var(--line); }
.nx2-gal__head h2 { position: relative; margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--navy); }
.nx2-gal__head h2::after { content: ""; position: absolute; left: 0; bottom: calc(-.9rem - 2px); width: 90px; height: 2px; background: var(--gold); }
.nx2-gal__head span { color: var(--gold-deep); font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.news-gallery.nx2-grid { max-width: none; margin: 0; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.nx2-back { margin-top: 2.6rem; text-align: center; }
@media (max-width: 1000px) { .news-gallery.nx2-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) {
  .nx2-sec { padding: 56px 0; }
  .nx2-card { padding: 1.8rem 1.4rem; border-radius: 22px; }
  .news-gallery.nx2-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
/* news gallery in its own padded card so tiles never touch the edges */
.nx2-gal {
  position: relative; overflow: hidden;
  margin-top: 2.6rem;
  padding: 2.4rem 2.6rem 2.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(8, 24, 47, .10);
}
.nx2-gal::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, transparent, #e0b13c 18%, #f6d77e 50%, #e0b13c 82%, transparent);
}
.news-gallery.nx2-grid { gap: 22px; padding: 6px; }
@media (max-width: 700px) { .nx2-gal { padding: 1.5rem 1.1rem; border-radius: 22px; } .news-gallery.nx2-grid { gap: 12px; padding: 3px; } }
/* WordPress file blocks: show the PDF preview WP's own script would have revealed */
.nx2-body .wp-block-file__embed[hidden] { display: block; width: 100%; height: 900px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 1rem; }
.nx2-body .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.nx2-body .wp-block-file__button { padding: .55rem 1.3rem; border-radius: 100px; background: var(--navy); color: #fff; font-weight: 700; }
@media (max-width: 700px) { .nx2-body .wp-block-file__embed[hidden] { height: 520px; } }

/* News listing: tabs are links now (server-side filter), plus a pager */
.newsx__tabs a { font-family: inherit; font-size: .82rem; font-weight: 800; letter-spacing: .03em; color: #dbe4f2; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); padding: .55rem 1.3rem; border-radius: 100px; transition: all .3s var(--ease); }
.newsx__tabs a:hover { background: rgba(255,255,255,.15); color: #fff; }
.newsx__tabs a.is-active { background: var(--grad-gold); border-color: transparent; color: var(--navy); box-shadow: var(--glow-gold); }
.newsx-pager { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: 3rem; }
.newsx-pager__info { color: #a9bcd8; font-size: .88rem; font-weight: 600; }
.newsx-pager__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.newsx-pager__links a, .newsx-pager__links span {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 1rem;
  border-radius: 100px; font-weight: 800; font-size: .9rem;
  border: 1px solid rgba(255,255,255,.2); color: #dbe4f2; background: rgba(255,255,255,.06);
  transition: all .3s var(--ease);
}
.newsx-pager__links a:hover { background: rgba(255,255,255,.16); color: #fff; border-color: var(--gold); }
.newsx-pager__links .is-on { background: var(--grad-gold); color: var(--navy); border-color: transparent; box-shadow: var(--glow-gold); }
.newsx-pager__links .is-off { opacity: .35; }

/* ---------------------------------------------------------------------------
   Admissions popup as a slider (.pop2, layouts/app.blade.php + main.js).
   --------------------------------------------------------------------------- */
.pop2__box {
  width: min(960px, 100%);
  max-width: calc((100vh - 250px) * 1.7778);
  padding: 0;
  border: 0;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(224, 177, 60, .5), 0 0 60px rgba(224, 177, 60, .25), 0 40px 90px rgba(4, 14, 32, .55);
}
/* shimmering gold rule across the top */
.pop2__box::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; z-index: 4;
  background: linear-gradient(90deg, #c9962a, #f6d77e 30%, #e0b13c 50%, #f6d77e 70%, #c9962a);
  background-size: 200% 100%;
  animation: pop2Shine 4s linear infinite;
}
@keyframes pop2Shine { to { background-position: -200% 0; } }

.pop2__stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0b1f3d; }
.pop2__slide {
  position: absolute; inset: 0; display: block; line-height: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .8s var(--ease), visibility .8s;
}
.pop2__slide.is-on { opacity: 1; visibility: visible; }
/* the same picture, blurred, fills any space the artwork leaves */
.pop2__blur { position: absolute; inset: -30px; background: center / cover no-repeat; filter: blur(22px) brightness(.85) saturate(1.1); transform: scale(1.1); }
.pop2__slide img {
  position: relative; display: block;
  width: 100%; height: 100%;
  object-fit: contain;
  transform: scale(1.04);
  transition: transform 6s ease-out;
}
.pop2__slide.is-on img { transform: scale(1); }

.pop2__nav {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid #e0b13c; background: rgba(13, 42, 84, .88); color: var(--gold);
  font-size: 1.7rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(4, 14, 32, .4);
  opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.pop2__stage:hover .pop2__nav, .pop2__nav:focus-visible { opacity: 1; }
.pop2__nav:hover { background: var(--navy); transform: translateY(-50%) scale(1.08); box-shadow: 0 0 22px rgba(224, 177, 60, .55); }
.pop2__prev { left: 16px; }
.pop2__next { right: 16px; }
/* time left on the current slide */
.pop2__timer { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 4px; background: rgba(255, 255, 255, .25); }
.pop2__timer i { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #c9962a, #f6d77e); box-shadow: 0 0 10px rgba(246, 215, 126, .8); }

.pop2__close { top: 18px; right: 18px; z-index: 5; background: rgba(255, 255, 255, .95); }

.pop2__bar {
  position: relative;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem 1.6rem;
  padding: 1.3rem 1.8rem 1.4rem;
  background: #fff;
}
.pop2__info { grid-column: 1; grid-row: 1; display: none; min-width: 0; }
.pop2__info.is-on { display: block; animation: pop2In .55s var(--ease); }
@keyframes pop2In { from { opacity: 0; transform: translateY(10px); } }
.pop2__kicker { color: var(--gold-deep); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.pop2__info h3 { margin: .35rem 0 .3rem; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; line-height: 1.25; color: var(--navy); }
.pop2__info p { margin: 0 0 .95rem; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.pop2__actions { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.pop2__cta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.5rem; border-radius: 100px;
  background: var(--navy); color: #fff; border: 2px solid #e0b13c;
  font-weight: 800; font-size: .88rem;
  box-shadow: 0 10px 22px rgba(13, 42, 84, .28);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pop2__cta b { color: var(--gold); transition: transform .3s var(--ease); }
.pop2__cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 0 22px rgba(224, 177, 60, .5), 0 14px 28px rgba(13, 42, 84, .3); }
.pop2__cta:hover b { transform: translateX(4px); }
.pop2__dots { grid-column: 2; grid-row: 1; display: flex; gap: .45rem; padding-bottom: .9rem; }
.pop2__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 10px; background: #d5dbe6; cursor: pointer; transition: all .35s var(--ease); }
.pop2__dots button.is-on { width: 30px; background: linear-gradient(90deg, #c9962a, #f6d77e); }

@media (max-width: 640px) {
  .pop2__box { max-width: 100%; border-radius: 20px; }
  .pop2__bar { grid-template-columns: 1fr; padding: 1rem 1.1rem 1.1rem; }
  .pop2__dots { grid-column: 1; grid-row: 2; justify-content: center; padding-bottom: 0; }
  .pop2__info h3 { font-size: 1.1rem; }
  .pop2__nav { opacity: 1; width: 38px; height: 38px; font-size: 1.4rem; }
  .pop2__prev { left: 8px; } .pop2__next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) { .pop2__box::before { animation: none; } .pop2__slide img { transition: none; } }
/* bigger popup: up to 1200px wide, still keeping the whole 16:9 artwork on screen */
.pop2__box { width: min(1200px, 96vw); max-width: calc((100vh - 210px) * 1.7778); }
.pop2__info h3 { font-size: 1.45rem; }
@media (max-width: 640px) { .pop2__box { width: 100%; max-width: 100%; } }

/* ---- Popup v3: artwork as large as the screen allows; one slim navy action bar ---- */
.pop2__box {
  width: min(1280px, 94vw);
  max-width: calc((100vh - 120px) * 1.7778);     /* artwork + ~80px bar fit any laptop screen */
  border-radius: 22px;
  background: var(--navy);
  box-shadow: 0 0 0 3px #e0b13c, 0 0 0 7px rgba(255, 255, 255, .9), 0 0 70px rgba(224, 177, 60, .45), 0 50px 110px rgba(4, 14, 32, .65);
}
.pop2__box::before { display: none; }
.pop2__stage { border-radius: 22px 22px 0 0; }
.pop2__bar {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: .85rem 1.4rem;
  background: linear-gradient(120deg, #081d3d 0%, #0d2a54 60%, #143a72 100%);
  border-top: 3px solid #e0b13c;
}
.pop2__info.is-on { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1.4rem; flex-wrap: wrap; }
.pop2__info > .pop2__kicker, .pop2__info > h3, .pop2__info > p { margin: 0; }
.pop2__kicker { color: var(--gold); }
.pop2__info h3 { color: #fff; font-size: 1.15rem; flex: 1 1 260px; min-width: 0; }
.pop2__info p { display: none; }
.pop2__actions { flex-wrap: nowrap; gap: .9rem; }
.pop2__cta { background: var(--grad-gold); color: var(--navy); border: 0; box-shadow: 0 0 22px rgba(224, 177, 60, .45); padding: .7rem 1.6rem; }
.pop2__cta b { color: var(--navy); }
.pop2__cta:hover { color: var(--navy); }
.pop2__bar .modal__later { color: #c6d4e8; }
.pop2__bar .modal__later:hover { color: #fff; }
.pop2__dots { padding-bottom: 0; }
.pop2__dots button { background: rgba(255, 255, 255, .3); }
.pop2__close { background: var(--grad-gold); color: var(--navy); width: 44px; height: 44px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 8px 22px rgba(4, 14, 32, .45); }
.pop2__close:hover { background: #fff; }
/* the detail line returns when the screen is tall enough to spare it */
@media (min-height: 900px) {
  .pop2__box { max-width: calc((100vh - 150px) * 1.7778); }
  .pop2__info p { display: block; flex: 1 0 100%; order: 3; color: #c6d4e8; font-size: .86rem; }
}
@media (max-width: 640px) {
  .pop2__box { width: 100%; max-width: 100%; border-radius: 18px; }
  .pop2__stage { border-radius: 18px 18px 0 0; }
  .pop2__bar { grid-template-columns: 1fr; padding: .9rem 1rem 1rem; }
  .pop2__info p { display: block; flex: 1 0 100%; color: #c6d4e8; font-size: .84rem; }
  .pop2__actions { flex-wrap: wrap; }
}
/* scheme of study: source heading, extra info boxes, the official-PDF links */
.prose .sos__src { margin: .9rem 0 0; color: var(--muted); font-size: .88rem; font-style: italic; }
.prose .sos__card--wide { margin-top: 1.2rem; }
.prose .sos__alt td { color: var(--muted); }
.prose .sos__sum td { background: #fdf8ec; }
.prose .sos__box { margin-top: 1.2rem; padding: 1.1rem 1.3rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 14px; }
.prose .sos__box h4 { margin: 0 0 .5rem; color: var(--navy); font-size: 1rem; }
.prose .sos__box p, .prose .sos__box ul { margin: 0; color: var(--muted); font-size: .9rem; }
.prose .sos__box ul { padding-left: 1.2rem; }
.prose .sos__pdf { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.prose .sos__pdf a { display: inline-flex; align-items: center; padding: .6rem 1.2rem; border-radius: 100px; border: 2px solid var(--navy); color: var(--navy); font-weight: 700; font-size: .85rem; text-decoration: none; }
.prose .sos__pdf a:first-child { background: var(--navy); color: #fff; }
/* a closed popup must not catch the mouse: the active slide's own visibility:visible
   would otherwise keep an invisible image over the header menu */
.modal:not(.is-open), .modal:not(.is-open) * { visibility: hidden !important; pointer-events: none !important; }
.prose .sos__or td { text-align: center; color: var(--gold-deep); font-weight: 800; letter-spacing: .12em; background: #fdf8ec; }

/* ===========================================================================
   OUR FACULTIES v3 — framed cards.
   Photograph is still shown in its own colours (no wash, nothing printed on
   it); the lift comes from the frame, the numbering, stat tiles and a full
   width call to action instead.
   =========================================================================== */
.facstrip__lead { margin: .55rem 0 0; max-width: 560px; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.facstrip__totals { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0 .4rem; }
.facstrip__totals span {
  display: inline-flex; align-items: baseline; gap: .45rem;
  padding: .55rem 1.1rem; border-radius: 100px;
  background: #fff; border: 1px solid rgba(224,177,60,.55);
  box-shadow: 0 6px 16px rgba(8,24,47,.07);
  color: var(--navy); font-weight: 700; font-size: .85rem;
}
.facstrip__totals span:first-child { background: var(--navy); border-color: var(--navy); color: #fff; }
.facstrip__totals b { font-size: 1.25rem; line-height: 1; color: var(--gold-deep); }
.facstrip__totals span:first-child b { color: var(--gold); }

.facmq { padding: 26px 0 40px; }
.facmq__track { gap: 24px; }

.fcard {
  width: 300px;
  padding: 10px;
  border: 1px solid rgba(224,177,60,.45);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8,24,47,.10);
  overflow: hidden;
}
/* gold bar along the top edge that draws across on hover */
.fcard::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 3;
  background: var(--grad-gold);
  transform: scaleX(.18); transform-origin: left;
  transition: transform .5s var(--ease);
}
.fcard:hover::before { transform: scaleX(1); }
.fcard:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 28px 56px rgba(8,24,47,.22), 0 0 0 4px rgba(224,177,60,.16);
}

/* photograph framed inside the card */
.fcard__pic {
  height: 178px;
  border-radius: 16px !important;
  box-shadow: inset 0 0 0 1px rgba(8,24,47,.06);
}
.fcard__pic::after { display: none; }

.fcard__body { padding: 1.05rem .55rem .35rem; }
.fcard__num {
  position: absolute; right: .55rem; top: .55rem;
  font-family: var(--font-head); font-weight: 800; font-size: 2.3rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.4px rgba(224,177,60,.75);
  transition: color .35s var(--ease), transform .35s var(--ease);
}
.fcard:hover .fcard__num { color: var(--gold); transform: translateY(-2px); }
.fcard__eyebrow { padding-right: 3.2rem; }
h3.fcard__name,
.fcard__body h3.fcard__name { font-size: 1.14rem; padding-right: 2.6rem; margin-bottom: .9rem; }

/* stats as two tiles */
.fcard__stats { gap: .6rem; padding: 0; border-top: 0; margin: auto 0 .9rem; }
.fcard__stats > span {
  padding: .7rem .8rem; border-radius: 13px;
  background: linear-gradient(180deg, #f6f8fc, #eef2f9);
  border: 1px solid rgba(8,24,47,.06);
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.fcard__stats b { font-size: 1.45rem; color: var(--gold-deep); }
.fcard__stats i { color: var(--navy); font-weight: 700; opacity: .7; }
.fcard:hover .fcard__stats > span { background: #fff8e6; border-color: rgba(224,177,60,.45); }

/* full-width call to action */
.fcard__cta {
  justify-content: space-between;
  padding: .7rem .75rem .7rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--navy);
  color: var(--navy); font-size: .84rem;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.fcard__cta b {
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad-gold); color: var(--navy);
}
.fcard:hover .fcard__cta { background: var(--navy); color: #fff; border-color: var(--navy); }
.fcard:hover .fcard__cta b { transform: translateX(3px); }

@media (max-width: 640px) {
  .fcard { width: 262px; }
  .fcard__pic { height: 150px; }
  .fcard__num { font-size: 1.9rem; }
  .facstrip__totals span { font-size: .78rem; padding: .45rem .85rem; }
}

/* ===========================================================================
   Top-bar pages: Policies / Download table, Newsletter, Announcement,
   Summer Skills Development Program
   =========================================================================== */
.doctbl { border: 1px solid rgba(224,177,60,.5); border-radius: 18px; overflow: hidden; box-shadow: 0 12px 30px rgba(8,24,47,.08); background: #fff; margin: .5rem 0 1.5rem; }
.doctbl__head, .doctbl__row { display: grid; grid-template-columns: 64px 1fr 120px; align-items: center; }
.doctbl__head { background: var(--navy); color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.doctbl__head span { padding: 1rem 1.1rem; }
.doctbl__head span:last-child, .doctbl__a { text-align: center; }
.doctbl__row { border-top: 1px solid var(--line); transition: background .25s var(--ease); }
.doctbl__row:nth-child(odd) { background: #fafbfd; }
.doctbl__row:hover { background: #fff8e6; }
.doctbl__row > span { padding: .85rem 1.1rem; }
.doctbl__n { font-weight: 800; color: var(--gold-deep); font-size: 1rem; }
.doctbl__t { color: var(--navy); font-weight: 600; font-size: .95rem; line-height: 1.45; }
.prose .doctbl__a a, .doctbl__a a {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .45rem .85rem; border-radius: 100px;
  background: var(--grad-gold); color: var(--navy); text-decoration: none;
  font-weight: 800; font-size: .74rem; box-shadow: 0 6px 14px rgba(224,177,60,.35);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.doctbl__a a svg { width: 16px; height: 16px; fill: currentColor; }
.doctbl__a a i { font-style: normal; }
.prose .doctbl__a a:hover, .doctbl__a a:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.doctbl__a em { font-style: normal; font-size: .74rem; color: var(--muted); font-weight: 600; }
@media (max-width: 640px) {
  .doctbl__head, .doctbl__row { grid-template-columns: 44px 1fr 86px; }
  .doctbl__row > span, .doctbl__head span { padding: .75rem .6rem; }
  .doctbl__t { font-size: .86rem; }
}

.nlx { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; margin: .5rem 0 1.5rem; }
.nlx__card { position: relative; padding: 2rem 1.6rem 1.6rem; border-radius: 20px; background: #fff; border: 1px solid rgba(224,177,60,.5); box-shadow: 0 12px 30px rgba(8,24,47,.08); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.nlx__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad-gold); }
.nlx__card:hover { transform: translateY(-6px); box-shadow: 0 24px 46px rgba(8,24,47,.16); }
.nlx__ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--navy); font-size: 1.7rem; margin-bottom: 1rem; }
.prose .nlx__card h3, .nlx__card h3 { margin: 0 0 .4rem; color: var(--navy); font-size: 1.35rem; }
.prose .nlx__card p, .nlx__card p { color: var(--muted); margin: 0 0 1.2rem; }
.prose .nlx__card a, .nlx__card a { display: inline-flex; padding: .65rem 1.2rem; border-radius: 100px; background: var(--grad-gold); color: var(--navy); font-weight: 800; font-size: .85rem; text-decoration: none; }
.prose .nlx__card a:hover, .nlx__card a:hover { background: var(--navy); color: #fff; }

.annx { display: grid; gap: 1rem; margin: .5rem 0 1.5rem; }
.annx__item { display: flex; gap: 1.1rem; align-items: center; padding: 1.3rem 1.5rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--gold); box-shadow: 0 10px 26px rgba(8,24,47,.07); }
.annx__n { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; font-size: 1.1rem; }
.prose .annx__item h3, .annx__item h3 { margin: 0 0 .35rem; color: var(--navy); font-size: 1.12rem; }
.prose .annx__item a, .annx__item a { color: var(--gold-deep); font-weight: 800; text-decoration: none; }
.prose .annx__item a:hover, .annx__item a:hover { color: var(--navy); }

.ssdp__hero { padding: 2.2rem 2rem; border-radius: 22px; background: linear-gradient(135deg, var(--navy), #143a72); color: #fff; box-shadow: 0 18px 40px rgba(8,24,47,.22); margin-bottom: 1.8rem; }
.ssdp__tag { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.prose .ssdp__hero h2, .ssdp__hero h2 { color: #fff; margin: 0 0 .5rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.prose .ssdp__hero h2::after { display: none; }
.prose .ssdp__hero p, .ssdp__hero p { color: #cfdaeb; margin: 0 0 1.1rem; }
.ssdp__start { display: inline-block; padding: .5rem 1rem; border-radius: 100px; background: var(--grad-gold); color: var(--navy); font-weight: 800; font-size: .88rem; }
.prose .ssdp__h, .ssdp__h { color: var(--navy); margin: 0 0 1rem; }
.prose ul.ssdp__courses, .ssdp__courses { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .7rem; }
.prose .ssdp__courses li, .ssdp__courses li { margin: 0; padding: .8rem 1rem .8rem 2.3rem; position: relative; border-radius: 12px; background: #fff; border: 1px solid rgba(224,177,60,.45); color: var(--navy); font-weight: 700; font-size: .9rem; box-shadow: 0 4px 12px rgba(8,24,47,.05); }
.prose .ssdp__courses li::before, .ssdp__courses li::before { content: "\2713"; position: absolute; left: .9rem; top: .75rem; color: var(--gold-deep); font-weight: 900; background: none; width: auto; height: auto; border-radius: 0; }
.ssdp__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .9rem; margin-bottom: 1.8rem; }
.ssdp__facts > div { padding: 1.2rem 1rem; border-radius: 16px; background: #f6f8fc; text-align: center; border: 1px solid var(--line); }
.ssdp__facts b { display: block; font-size: 1.8rem; margin-bottom: .4rem; }
.ssdp__facts span { color: var(--navy); font-weight: 700; font-size: .9rem; }
.ssdp__two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.6rem; }
.ssdp__box { padding: 1.4rem 1.5rem; border-radius: 18px; border: 1px solid rgba(224,177,60,.5); background: #fff; }
.prose .ssdp__box h4, .ssdp__box h4 { margin: 0 0 .7rem; color: var(--navy); }
.prose .ssdp__box ul, .ssdp__box ul { margin: 0; }
.prose .ssdp__box p, .ssdp__box p { margin: 0; color: var(--muted); }
.prose .ssdp__cta a, .ssdp__cta a { display: inline-flex; padding: .9rem 1.8rem; border-radius: 100px; background: var(--grad-gold); color: var(--navy); font-weight: 800; text-decoration: none; box-shadow: 0 10px 24px rgba(224,177,60,.4); }
.prose .ssdp__cta a:hover, .ssdp__cta a:hover { background: var(--navy); color: #fff; }
.ssdp__contact { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.ssdp__contact span { padding: .55rem 1rem; border-radius: 100px; background: #f6f8fc; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: .84rem; }
@media (max-width: 760px) { .ssdp__two { grid-template-columns: 1fr; } .ssdp__hero { padding: 1.6rem 1.3rem; } }

/* ===========================================================================
   Summer Skills Development Program — v2 (full-width, raw page)
   =========================================================================== */
.section--raw:has(.ssx) { padding-top: 56px; }
.ssx { color: var(--navy); }
.ssx-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .9rem 1.6rem; border-radius: 100px; font-weight: 800; font-size: .92rem; text-decoration: none; transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.ssx-btn:hover { transform: translateY(-3px); }
.ssx-btn--gold { background: var(--grad-gold); color: var(--navy); box-shadow: 0 12px 26px rgba(224,177,60,.42); }
.ssx-btn--gold:hover { background: #fff; color: var(--navy); }
.ssx-btn--line { border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
.ssx-btn--line:hover { background: #fff; color: var(--navy); }
.ssx-btn--wa { background: #25d366; color: #fff; box-shadow: 0 12px 26px rgba(37,211,102,.35); }

/* hero */
.ssx-hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: center;
  padding: 3.2rem 3rem 4.6rem; border-radius: 28px;
  background: radial-gradient(circle at 85% 20%, rgba(224,177,60,.22), transparent 42%), linear-gradient(135deg, #081d3d 0%, #0f2d5c 55%, #143a72 100%);
  color: #fff; box-shadow: 0 30px 60px rgba(8,24,47,.28);
}
.ssx-hero::before, .ssx-hero::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(224,177,60,.25); pointer-events: none; }
.ssx-hero::before { width: 420px; height: 420px; right: -120px; bottom: -220px; }
.ssx-hero::after { width: 260px; height: 260px; left: -90px; top: -120px; border-color: rgba(255,255,255,.08); }
.ssx-hero__tag { display: inline-block; padding: .45rem 1rem; border-radius: 100px; background: rgba(224,177,60,.14); border: 1px solid rgba(224,177,60,.4); color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ssx-hero h2 { margin: 1.1rem 0 .8rem; color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.08; font-weight: 800; }
.ssx-hero h2 span { display: block; color: var(--gold); }
.ssx-hero p { color: #cfdaeb; font-size: 1.08rem; margin: 0 0 1.8rem; max-width: 560px; }
.ssx-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.ssx-date { position: relative; z-index: 1; text-align: center; padding: 1.8rem 1.4rem; border-radius: 24px; background: #fff; color: var(--navy); box-shadow: 0 22px 44px rgba(0,0,0,.28); border-top: 6px solid var(--gold); transform: rotate(2deg); }
.ssx-date__lbl { display: block; font-size: .78rem; font-weight: 800; color: var(--gold-deep); text-transform: uppercase; letter-spacing: .1em; }
.ssx-date b { display: block; font-size: 5rem; line-height: 1; font-weight: 800; margin: .4rem 0 0; }
.ssx-date b sup { font-size: 1.6rem; vertical-align: super; color: var(--gold-deep); }
.ssx-date__m { display: block; font-size: 1.45rem; font-weight: 800; }
.ssx-date__tail { display: block; margin-top: .9rem; padding-top: .9rem; border-top: 1px dashed var(--line); color: var(--muted); font-size: .82rem; font-weight: 600; }

/* facts — pulled up over the hero */
.ssx-facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: -3rem 2rem 4rem; }
.ssx-facts > div { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.4rem 1rem; border-radius: 20px; background: #fff; border: 1px solid rgba(224,177,60,.5); box-shadow: 0 16px 34px rgba(8,24,47,.12); transition: transform .3s var(--ease); }
.ssx-facts > div:hover { transform: translateY(-6px); }
.ssx-facts span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--grad-gold); font-size: 1.5rem; margin-bottom: .7rem; }
.ssx-facts b { font-size: 1.12rem; }
.ssx-facts i { font-style: normal; color: var(--muted); font-size: .86rem; font-weight: 600; }

/* section heads */
.ssx-head { text-align: center; margin-bottom: 1.8rem; }
.ssx-head--left { text-align: left; }
.ssx-kicker { display: inline-block; padding: .35rem .9rem; border-radius: 100px; background: #fff8e6; border: 1px solid rgba(224,177,60,.5); color: var(--gold-deep); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ssx-head h3 { margin: .7rem 0 0; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--navy); }
.ssx-head h3 em { font-style: normal; color: var(--gold-deep); }

/* courses */
.ssx-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; margin-bottom: 4rem; }
.ssx-course { position: relative; padding: 1.3rem 1.2rem 1.2rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(8,24,47,.06); transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease); }
.ssx-course:hover { transform: translateY(-6px); border-color: var(--gold); background: linear-gradient(180deg, #fff, #fff8e6); box-shadow: 0 20px 40px rgba(8,24,47,.14); }
.ssx-course__no { position: absolute; top: .9rem; right: 1rem; font-weight: 800; font-size: 1.5rem; color: transparent; -webkit-text-stroke: 1.2px rgba(224,177,60,.7); }
.ssx-course__ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--navy); font-size: 1.45rem; margin-bottom: .9rem; transition: transform .3s var(--ease); }
.ssx-course:hover .ssx-course__ico { transform: rotate(-8deg) scale(1.06); }
.ssx-course h4 { margin: 0; font-size: .98rem; line-height: 1.35; color: var(--navy); font-weight: 800; }

/* who can apply */
.ssx-who { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: stretch; margin-bottom: 4rem; }
.ssx-aud { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.ssx-aud > div { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; border-radius: 16px; background: #f6f8fc; border: 1px solid var(--line); font-weight: 800; font-size: .98rem; }
.ssx-aud span { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); font-size: 1.3rem; }
.ssx-rec { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 2.2rem 2rem; border-radius: 24px; background: var(--grad-gold); color: var(--navy); box-shadow: 0 20px 40px rgba(224,177,60,.35); overflow: hidden; }
.ssx-rec__q { position: absolute; right: 1rem; top: -1.6rem; font-size: 9rem; line-height: 1; color: rgba(8,24,47,.12); font-family: Georgia, serif; }
.ssx-rec h4 { margin: 0 0 .7rem; font-size: 1.35rem; font-weight: 800; }
.ssx-rec p { margin: 0; font-size: 1.06rem; font-weight: 600; line-height: 1.6; }

/* register band */
.ssx-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 2.2rem 2.5rem; border-radius: 24px; background: linear-gradient(120deg, #081d3d, #143a72); color: #fff; margin-bottom: 2.5rem; box-shadow: 0 24px 50px rgba(8,24,47,.24); border-left: 6px solid var(--gold); }
.ssx-band h3 { margin: 0 0 .35rem; color: #fff; font-size: 1.6rem; font-weight: 800; }
.ssx-band p { margin: 0; color: #cfdaeb; }
.ssx-band__btns { display: flex; flex-wrap: wrap; gap: .7rem; }

/* contact */
.ssx-contact { display: grid; grid-template-columns: repeat(5, 1fr); gap: .9rem; }
.ssx-contact > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .2rem; padding: 1.2rem .8rem; border-radius: 18px; background: #fff; border: 1px solid rgba(224,177,60,.45); box-shadow: 0 8px 20px rgba(8,24,47,.06); }
.ssx-contact span { font-size: 1.5rem; margin-bottom: .2rem; }
.ssx-contact i { font-style: normal; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.ssx-contact b { font-size: .9rem; color: var(--navy); }

@media (max-width: 1000px) {
  .ssx-hero { grid-template-columns: 1fr; padding: 2.4rem 1.8rem 4.4rem; }
  .ssx-date { max-width: 300px; transform: none; }
  .ssx-facts { grid-template-columns: 1fr 1fr; margin: -2.6rem .8rem 3rem; }
  .ssx-who { grid-template-columns: 1fr; }
  .ssx-contact { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ssx-hero { padding: 2rem 1.3rem 4rem; border-radius: 22px; }
  .ssx-aud { grid-template-columns: 1fr; }
  .ssx-band { padding: 1.8rem 1.4rem; }
  .ssx-contact { grid-template-columns: 1fr; }
}

/* ===========================================================================
   Footer v2 — mirrors gaus.edu.pk: brand | GAUS Quick Links (two columns) |
   Explore Courses | Contacts | newsletter + map.  Careers / Archives pages.
   =========================================================================== */
.footer__grid--five { grid-template-columns: 1.1fr 1.55fr .95fr 1.05fr 1.15fr; gap: 34px; }
.footer__col--split .footer__links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.2rem; }
.footer__links a { font-size: .9rem; line-height: 1.35; }
.footer__col p a { display: inline; padding: 0; }
.footer__bottom a { color: var(--gold); }
@media (max-width: 1100px) { .footer__grid--five { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px)  { .footer__grid--five { grid-template-columns: 1fr; } }

/* Careers */
.jobx__ads { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; margin-bottom: 2rem; }
.prose .jobx__ad, .jobx__ad { position: relative; display: block; border-radius: 18px; overflow: hidden; border: 1px solid rgba(224,177,60,.55); box-shadow: 0 14px 32px rgba(8,24,47,.12); background: #fff; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.jobx__ad:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(8,24,47,.2); }
.prose .jobx__ad img, .jobx__ad img { display: block; width: 100%; height: auto; margin: 0; border-radius: 0; }
.jobx__ad span { display: block; padding: .8rem 1rem; background: var(--navy); color: var(--gold); font-weight: 800; font-size: .85rem; text-align: center; }
.jobx__pdf { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(8,24,47,.08); margin-bottom: 1.2rem; }
.jobx__pdfhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; padding: 1rem 1.2rem; background: var(--navy); }
.prose .jobx__pdfhead h3, .jobx__pdfhead h3 { margin: 0; color: #fff; font-size: 1.05rem; }
.prose .jobx__pdfhead a, .jobx__pdfhead a { padding: .5rem 1rem; border-radius: 100px; background: var(--grad-gold); color: var(--navy); font-weight: 800; font-size: .82rem; text-decoration: none; }
.jobx__pdf iframe { display: block; width: 100%; height: 760px; border: 0; background: #f3f5f9; }
.jobx__more { color: var(--muted); }

/* Archives */
.arcx { display: grid; gap: 1.6rem; }
.arcx__post { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 1.5rem; align-items: start; padding: 1.2rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--gold); box-shadow: 0 10px 26px rgba(8,24,47,.07); }
.arcx__post:not(:has(.arcx__text)) { grid-template-columns: 1fr; }
.arcx__imgs { display: grid; gap: .7rem; }
.arcx__imgs--3 { grid-template-columns: repeat(3, 1fr); }
.prose .arcx__imgs a, .arcx__imgs a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.prose .arcx__imgs img, .arcx__imgs img { display: block; width: 100%; height: auto; margin: 0; border-radius: 0; transition: transform .5s var(--ease); }
.arcx__imgs a:hover img { transform: scale(1.04); }
.prose .arcx__text p, .arcx__text p { margin: 0 0 .8rem; color: var(--navy); font-size: .93rem; line-height: 1.65; }
@media (max-width: 760px) { .arcx__post { grid-template-columns: 1fr; } .arcx__imgs--3 { grid-template-columns: 1fr 1fr; } .jobx__pdf iframe { height: 520px; } }

/* Footer v3: four link columns, newsletter + map on their own row below */
.footer__grid--five { grid-template-columns: 1.15fr 1.7fr 1fr 1.15fr; padding-bottom: 36px; }
.footer__newsrow {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 2rem; align-items: center;
  margin-bottom: 40px; padding: 1.8rem 2rem;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(255,255,255,.06), rgba(224,177,60,.08));
  border: 1px solid rgba(224,177,60,.32);
}
.footer__newscopy h4 { color: #fff; font-size: 1.25rem; margin: 0 0 .35rem; }
.footer__newscopy p { color: #aebbd0; margin: 0; font-size: .92rem; }
.footer__newscopy .footer__form { margin: 1rem 0 0; max-width: 460px; }
.footer__newscopy .footer__form input { padding: .8rem 1rem; font-size: .9rem; border-radius: 12px; }
.footer__newscopy .footer__sub { padding: .8rem 1.4rem; font-size: .88rem; border-radius: 12px; }
.footer__newsrow .footer__map { border-radius: 16px; }
.footer__newsrow .footer__map iframe { height: 170px; }
@media (max-width: 1100px) { .footer__grid--five { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .footer__newsrow { grid-template-columns: 1fr; padding: 1.4rem 1.2rem; } }
@media (max-width: 620px) { .footer__grid--five { grid-template-columns: 1fr; } }

/* ===========================================================================
   Official Academic Journal Repository (ORIC) — v2
   =========================================================================== */
.section--raw:has(.jrn) { padding-top: 56px; }
.jrn-hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
  padding: 2.8rem 3rem; margin-bottom: 2.6rem; border-radius: 28px;
  background: radial-gradient(circle at 90% 10%, rgba(224,177,60,.22), transparent 40%), linear-gradient(135deg, #081d3d 0%, #0f2d5c 55%, #143a72 100%);
  color: #fff; box-shadow: 0 30px 60px rgba(8,24,47,.26);
}
.jrn-hero::after { content: ""; position: absolute; width: 380px; height: 380px; right: -130px; bottom: -200px; border-radius: 50%; border: 2px solid rgba(224,177,60,.25); }
.jrn-hero__tag { display: inline-block; padding: .45rem 1rem; border-radius: 100px; background: rgba(224,177,60,.14); border: 1px solid rgba(224,177,60,.4); color: var(--gold); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.jrn-hero h2 { margin: 1rem 0 .7rem; color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.1; font-weight: 800; }
.jrn-hero h2 span { color: var(--gold); }
.jrn-hero p { margin: 0; max-width: 620px; color: #cfdaeb; font-size: 1.02rem; line-height: 1.65; }
.jrn-hero__count { position: relative; z-index: 1; display: flex; align-items: center; gap: .9rem; padding: 1.4rem 1.8rem; border-radius: 22px; background: #fff; color: var(--navy); border-top: 5px solid var(--gold); box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.jrn-hero__count b { font-size: 4rem; line-height: 1; font-weight: 800; color: var(--gold-deep); }
.jrn-hero__count span { font-weight: 800; font-size: 1.05rem; line-height: 1.25; }

.jrn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.jrn-card {
  position: relative; display: flex; flex-direction: column;
  padding: 1.6rem 1.5rem 1.5rem; border-radius: 22px; background: #fff;
  border: 1px solid rgba(224,177,60,.45); box-shadow: 0 12px 30px rgba(8,24,47,.09);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.jrn-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad-gold); transform: scaleX(.2); transform-origin: left; transition: transform .45s var(--ease); }
.jrn-card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: 0 28px 54px rgba(8,24,47,.18), 0 0 0 4px rgba(224,177,60,.14); }
.jrn-card:hover::before { transform: scaleX(1); }
.jrn-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.jrn-card__ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--navy); font-size: 1.6rem; box-shadow: 0 10px 22px rgba(8,24,47,.25); transition: transform .35s var(--ease); }
.jrn-card:hover .jrn-card__ico { transform: rotate(-8deg) scale(1.06); }
.jrn-card__no { font-size: 2.6rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.4px rgba(224,177,60,.75); transition: color .35s var(--ease); }
.jrn-card:hover .jrn-card__no { color: var(--gold); }
.jrn-card__disc { align-self: flex-start; padding: .3rem .75rem; border-radius: 100px; background: #fff8e6; border: 1px solid rgba(224,177,60,.5); color: var(--gold-deep); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .75rem; }
.jrn-card h3 { margin: 0 0 .8rem; color: var(--navy); font-size: 1.12rem; line-height: 1.38; font-weight: 800; }
.jrn-card h3 em { font-style: normal; color: var(--gold-deep); }
.jrn-card__host { margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--line); color: var(--muted); font-size: .84rem; font-weight: 600; }
.jrn-card__btn {
  display: flex; align-items: center; justify-content: space-between; margin-top: 1rem;
  padding: .75rem .8rem .75rem 1.1rem; border-radius: 14px; border: 1.5px solid var(--navy);
  color: var(--navy); font-weight: 800; font-size: .88rem; text-decoration: none;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.jrn-card__btn b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad-gold); color: var(--navy); }
.jrn-card:hover .jrn-card__btn { background: var(--navy); color: #fff; }
.jrn-foot { margin: 2.2rem 0 0; text-align: center; color: var(--muted); font-size: .85rem; }
@media (max-width: 1000px) { .jrn-grid { grid-template-columns: 1fr 1fr; } .jrn-hero { grid-template-columns: 1fr; padding: 2.2rem 1.8rem; } .jrn-hero__count { justify-self: start; } }
@media (max-width: 620px) { .jrn-grid { grid-template-columns: 1fr; } .jrn-hero { padding: 1.8rem 1.3rem; } }

/* journals grid adapts to the office layout (sidebar beside it) */
.jrn-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.jrn-hero { grid-template-columns: 1fr; }
.jrn-hero__count { justify-self: start; }

/* Summer page v3 — course cards with a photograph on top */
.ssx-course--pic { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.ssx-course__pic { display: block; height: 150px; background-size: cover; background-position: center; transition: transform .6s var(--ease); }
.ssx-course--pic:hover .ssx-course__pic { transform: scale(1.06); }
.ssx-course__body { position: relative; display: block; padding: 1.6rem 1.1rem 1.15rem; background: inherit; }
.ssx-course--pic .ssx-course__ico { position: absolute; top: -25px; left: 1rem; width: 48px; height: 48px; margin: 0; border: 3px solid #fff; box-shadow: 0 8px 18px rgba(8,24,47,.25); font-size: 1.3rem; }
.ssx-course--pic .ssx-course__no { top: .7rem; }
.ssx-course--pic h4 { margin-top: .35rem; }
.ssx-credits { margin: 2rem 0 0; font-size: .72rem; color: var(--muted); line-height: 1.6; }
.ssx-credits a { color: var(--muted); text-decoration: underline; }

/* ===========================================================================
   Offices sync (Oct 2026): View Profile button on team cards, profile pages,
   Clubs & Societies (listing + club pages), GAUS Digital Library directory
   =========================================================================== */
.prose .team-card__more, .team-card__more {
  display: inline-flex; align-items: center; gap: .3rem; margin-top: .7rem;
  padding: .4rem .9rem; border-radius: 100px; background: var(--grad-gold);
  color: var(--navy); font-size: .76rem; font-weight: 800; text-decoration: none;
  position: relative; z-index: 2;
}
.prose .team-card__more:hover { background: #fff; color: var(--navy); }

.prof .profile { margin-bottom: 1.6rem; }
.prof .profile small { display: block; margin-top: .25rem; font-size: .85rem; opacity: .85; }
.prose .prof__back a { color: var(--gold-deep); font-weight: 800; text-decoration: none; }

/* clubs listing */
.clubx__form { margin: 0 0 1.6rem; }
.prose .clubx__form a { display: inline-flex; padding: .75rem 1.3rem; border-radius: 100px; background: var(--navy); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 10px 24px rgba(8,24,47,.2); }
.prose .clubx__form a:hover { background: var(--gold); color: var(--navy); }
.clubx { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.1rem; }
.prose a.clubx__card, a.clubx__card {
  position: relative; display: flex; flex-direction: column; padding: 1.4rem 1.3rem 1.2rem;
  border-radius: 18px; background: #fff; border: 1px solid rgba(224,177,60,.45);
  box-shadow: 0 10px 24px rgba(8,24,47,.07); text-decoration: none; color: var(--navy);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
a.clubx__card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 22px 44px rgba(8,24,47,.16); }
.clubx__no { font-size: 2rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.3px rgba(224,177,60,.8); margin-bottom: .6rem; }
a.clubx__card:hover .clubx__no { color: var(--gold); }
.prose .clubx__card h3, .clubx__card h3 { margin: 0 0 .45rem; font-size: 1.05rem; color: var(--navy); }
.prose .clubx__card p, .clubx__card p { margin: 0 0 1rem; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.clubx__more { margin-top: auto; color: var(--gold-deep); font-weight: 800; font-size: .82rem; }
.clubx__tag { margin-top: 1.6rem; text-align: center; font-weight: 800; color: var(--gold-deep); letter-spacing: .08em; }

/* club page */
.clubp__aim { padding: 1.3rem 1.5rem; border-radius: 18px; background: linear-gradient(135deg, #081d3d, #143a72); color: #fff; margin: 0 0 1.6rem; }
.prose .clubp__aim h2 { color: var(--gold); margin-top: 0; }
.prose .clubp__aim h2::after { display: none; }
.prose .clubp__aim p { color: #dbe4f1; margin: 0; }
.prose ol.clubp__coc { padding-left: 1.4rem; }
.prose ol.clubp__coc li { margin-bottom: .45rem; }
.prose .clubp__foot { color: var(--muted); font-size: .85rem; }

/* GAUS Digital Library */
.jdx__sec { display: flex; align-items: center; gap: .9rem; margin: 2rem 0 1rem; }
.jdx__no { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad-gold); color: var(--navy); font-weight: 800; }
.prose .jdx__sec h2 { margin: 0; }
.prose .jdx__sec h2::after { display: none; }
.prose .jdx__sec h2 small { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; margin-top: .15rem; }
.jdx__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.jdx__card { display: flex; flex-direction: column; padding: 1.2rem 1.2rem 1.1rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); box-shadow: 0 8px 20px rgba(8,24,47,.06); }
.prose .jdx__card h4 { margin: 0 0 .4rem; color: var(--navy); font-size: 1rem; }
.prose .jdx__card p { margin: 0 0 .9rem; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.jdx__btns { margin-top: auto; display: flex; flex-wrap: wrap; gap: .5rem; }
.prose a.jdx__btn, a.jdx__btn { display: inline-flex; padding: .5rem .95rem; border-radius: 100px; background: var(--navy); color: #fff; font-size: .78rem; font-weight: 800; text-decoration: none; }
.prose a.jdx__btn:hover { background: var(--gold); color: var(--navy); }
.jdx__sign { margin-top: 2rem; padding: 1rem 1.3rem; border-left: 4px solid var(--gold); background: #fff8e6; border-radius: 12px; }

/* View Profile: a centred pill, not a full-width bar */
.prose .team-card__more { align-self: center; width: auto; margin: .2rem auto 1.1rem; justify-content: center; }

/* ===========================================================================
   Administration team cards in the faculty card style (fx2-card), inside the
   office page's .prose column (narrower than a faculty listing, so 3 across).
   =========================================================================== */
.prose .fx2-grid--office { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); justify-content: stretch; gap: 22px; margin: 1.2rem 0 1.8rem; }
.prose .fx2-card { margin: 0; }
.prose .fx2-card__pic { width: 170px; height: 170px; background-size: cover; background-position: center top; }
.prose .fx2-card h3 { margin: 1.3rem 0 .55rem; font-size: 1.08rem; padding: 0; border: 0; }
.prose .fx2-card h3::before, .prose .fx2-card h3::after { display: none; }
.prose .fx2-card__role { display: inline-block; line-height: 1.5; }
.prose a.fx2-card__btn { color: #fff; text-decoration: none; }
.prose a.fx2-card__btn:hover { color: #fff; }
@media (max-width: 600px) { .prose .fx2-grid--office { grid-template-columns: 1fr; } .prose .fx2-card__pic { width: 170px; height: 170px; } }

/* ===========================================================================
   Degree-level index (pages/level.blade.php) — /page/adp
   =========================================================================== */
.lvl { padding: 70px 0 90px; background: #fff; }
.lvl-intro { display: grid; grid-template-columns: 1fr minmax(280px, 420px); gap: 2rem; align-items: end; margin-bottom: 1.6rem; }
.lvl-tag { display: inline-block; padding: .4rem .95rem; border-radius: 100px; background: #fff8e6; border: 1px solid rgba(224,177,60,.5); color: var(--gold-deep); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.lvl-intro h2 { margin: .8rem 0 .5rem; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--navy); line-height: 1.12; }
.lvl-intro h2 em { font-style: normal; color: var(--gold-deep); }
.lvl-intro p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.65; max-width: 640px; }
.lvl-search { display: flex; align-items: center; gap: .6rem; padding: .35rem .5rem .35rem 1.1rem; border-radius: 100px; background: #fff; border: 1.5px solid rgba(224,177,60,.6); box-shadow: 0 12px 28px rgba(8,24,47,.08); }
.lvl-search .acic { width: 20px; height: 20px; color: var(--gold-deep); flex: none; }
.lvl-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: .7rem .2rem; font: inherit; font-size: .95rem; color: var(--navy); }

.lvl-chips { position: sticky; top: 74px; z-index: 5; display: flex; flex-wrap: wrap; gap: .55rem; padding: .9rem 0; margin-bottom: 1.4rem; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.lvl-chips button { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 100px; border: 1px solid var(--line); background: #f6f8fc; color: var(--navy); font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; transition: all .25s var(--ease); }
.lvl-chips button b { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 .35rem; border-radius: 100px; background: #fff; color: var(--gold-deep); font-size: .72rem; }
.lvl-chips button:hover { border-color: var(--gold); }
.lvl-chips button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.lvl-chips button.is-active b { background: var(--gold); color: var(--navy); }

.lvl-fac { margin-top: 2.6rem; }
.lvl-fac__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.lvl-fac__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--grad-gold); font-size: 1.6rem; box-shadow: 0 10px 22px rgba(224,177,60,.35); }
.lvl-fac__head small { display: block; color: var(--gold-deep); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.lvl-fac__head h3 { margin: .1rem 0 0; font-size: 1.55rem; font-weight: 800; }
.lvl-fac__head h3 a { color: var(--navy); text-decoration: none; }
.lvl-fac__head h3 a:hover { color: var(--gold-deep); }

.lvl-dept { margin-bottom: 1.6rem; padding: 1.2rem; border-radius: 24px; background: linear-gradient(180deg, #f7f9fd, #fff); border: 1px solid var(--line); }
.lvl-dept__head { display: flex; align-items: center; gap: 1rem; padding: .3rem .3rem 1.1rem; text-decoration: none; }
.lvl-dept__photo { position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--navy) center / cover no-repeat; border: 3px solid #fff; box-shadow: 0 0 0 3px var(--gold), 0 8px 18px rgba(8,24,47,.18); }
.lvl-dept__photo i { position: absolute; right: -6px; bottom: -6px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; font-style: normal; font-size: .95rem; box-shadow: 0 4px 10px rgba(8,24,47,.2); }
.lvl-dept__name { flex: 1; min-width: 0; }
.lvl-dept__name small { display: block; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.lvl-dept__name b { display: block; color: var(--navy); font-size: 1.15rem; font-weight: 800; line-height: 1.3; }
.lvl-dept__count { flex: none; padding: .45rem .95rem; border-radius: 100px; background: var(--navy); color: #fff; font-size: .78rem; font-weight: 800; }
.lvl-dept__count em { font-style: normal; color: var(--gold); margin-left: .2rem; transition: margin .25s var(--ease); }
.lvl-dept__head:hover .lvl-dept__count em { margin-left: .5rem; }

.lvl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.lvl-card { position: relative; display: flex; flex-direction: column; padding: 1.4rem 1.3rem 1.2rem; border-radius: 18px; background: #fff; border: 1px solid rgba(224,177,60,.45); box-shadow: 0 8px 20px rgba(8,24,47,.06); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.lvl-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-gold); transform: scaleY(.3); transform-origin: top; transition: transform .4s var(--ease); }
.lvl-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 22px 44px rgba(8,24,47,.15); }
.lvl-card:hover::before { transform: scaleY(1); }
.lvl-card__badge { align-self: flex-start; padding: .25rem .65rem; border-radius: 8px; background: var(--navy); color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.lvl-card h4 { margin: .8rem 0 .45rem; color: var(--navy); font-size: 1.08rem; font-weight: 800; line-height: 1.35; }
.lvl-card p { margin: 0 0 .9rem; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.lvl-card__meta { margin-top: auto; margin-bottom: .9rem; }
.lvl-card__meta span { display: inline-flex; align-items: center; gap: .35rem; color: var(--navy); font-size: .78rem; font-weight: 700; }
.lvl-card__meta .acic { width: 16px; height: 16px; color: var(--gold-deep); }
.lvl-card__btn { display: flex; align-items: center; justify-content: space-between; padding: .65rem .8rem .65rem 1rem; border-radius: 12px; border: 1.5px solid var(--navy); color: var(--navy); font-size: .84rem; font-weight: 800; text-decoration: none; transition: background .3s var(--ease), color .3s var(--ease); }
.lvl-card__btn i { font-style: normal; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-gold); color: var(--navy); }
.lvl-card:hover .lvl-card__btn { background: var(--navy); color: #fff; }
.lvl-empty { margin: 2rem 0; text-align: center; color: var(--muted); font-weight: 600; }

@media (max-width: 860px) {
  .lvl-intro { grid-template-columns: 1fr; }
  .lvl-chips { top: 60px; overflow-x: auto; flex-wrap: nowrap; }
  .lvl-chips button { flex: none; }
  .lvl-dept__head { flex-wrap: wrap; }
}

/* level index: departments pair up two to a row unless they carry 3+ programs */
.lvl-depts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.lvl-depts .lvl-dept { margin-bottom: 0; }
.lvl-dept--wide { grid-column: 1 / -1; }
.lvl-dept:not(.lvl-dept--wide) .lvl-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
@media (max-width: 860px) { .lvl-depts { grid-template-columns: 1fr; } }

/* level index v2: flex so a lone or odd-one-out department stretches the full row;
   program cards stretch to fill their panel, a single card stays a sensible width */
.lvl-depts { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.lvl-depts .lvl-dept { flex: 1 1 calc(50% - .6rem); min-width: 0; }
.lvl-depts .lvl-dept--wide { flex-basis: 100%; }
.lvl-dept .lvl-grid, .lvl-dept:not(.lvl-dept--wide) .lvl-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.lvl-dept--one .lvl-grid, .lvl-dept--one:not(.lvl-dept--wide) .lvl-grid { grid-template-columns: minmax(240px, 440px); }
@media (max-width: 860px) { .lvl-depts .lvl-dept { flex-basis: 100%; } .lvl-dept--one .lvl-grid { grid-template-columns: 1fr; } }

/* ===========================================================================
   Degree-level index, simplified (lvl2) — /page/adp
   =========================================================================== */
.lvl2 { padding: 56px 0 90px; background: #fff; }
.lvl2-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-bottom: 2rem; border-radius: 18px; overflow: hidden; background: var(--line); border: 1px solid var(--line); box-shadow: 0 10px 26px rgba(8,24,47,.06); }
.lvl2-facts > div { padding: 1.2rem 1rem; background: #fff; text-align: center; }
.lvl2-facts b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.lvl2-facts span { color: var(--muted); font-size: .86rem; font-weight: 600; }

.lvl2-find { position: sticky; top: 74px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; padding: .9rem 0 1rem; margin-bottom: 1rem; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.lvl2-search { flex: 1 1 320px; display: flex; align-items: center; gap: .6rem; padding: 0 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: #f8fafd; }
.lvl2-search:focus-within { border-color: var(--gold); background: #fff; }
.lvl2-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: .8rem 0; font: inherit; font-size: .95rem; color: var(--navy); }
.lvl2-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.lvl2-chips button { padding: .5rem .95rem; border-radius: 100px; border: 1px solid var(--line); background: #fff; color: var(--navy); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; transition: all .2s var(--ease); }
.lvl2-chips button:hover { border-color: var(--gold); }
.lvl2-chips button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.lvl2-dept { padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.lvl2-dept__head { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; margin-bottom: 1.1rem; }
.lvl2-dept__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff8e6; border: 1px solid rgba(224,177,60,.5); font-size: 1.3rem; }
.lvl2-dept__head h2 { margin: 0; font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.lvl2-dept__head small { color: var(--muted); font-size: .82rem; font-weight: 600; }
.lvl2-dept__head small::before { content: "· "; }
.lvl2-dept__head a { margin-left: auto; color: var(--gold-deep); font-size: .85rem; font-weight: 800; text-decoration: none; }
.lvl2-dept__head a:hover { color: var(--navy); }

.lvl2-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .9rem; }
.lvl2-card { display: flex; flex-direction: column; padding: 1.15rem 1.2rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); text-decoration: none; box-shadow: 0 4px 12px rgba(8,24,47,.04); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.lvl2-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 16px 32px rgba(8,24,47,.12); }
.lvl2-card h3 { margin: 0 0 .35rem; color: var(--navy); font-size: 1.05rem; font-weight: 800; line-height: 1.35; }
.lvl2-card p { margin: 0 0 .8rem; color: var(--muted); font-size: .85rem; line-height: 1.55; }
.lvl2-card__go { margin-top: auto; color: var(--gold-deep); font-size: .84rem; font-weight: 800; }
.lvl2-card:hover .lvl2-card__go { color: var(--navy); }
.lvl2-empty { margin: 2rem 0; text-align: center; color: var(--muted); font-weight: 600; }

@media (max-width: 760px) {
  .lvl2-facts { grid-template-columns: 1fr 1fr; }
  .lvl2-find { top: 60px; }
  .lvl2-chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; }
  .lvl2-chips button { flex: none; }
  .lvl2-dept__head a { margin-left: 0; width: 100%; }
}

/* ADP index: the search + faculty bar scrolls with the page instead of sticking */
.lvl2-find { position: static; background: transparent; backdrop-filter: none; }
.lvl2-card__dur { align-self: flex-start; margin: -.3rem 0 .8rem; padding: .25rem .7rem; border-radius: 100px; background: #fff8e6; border: 1px solid rgba(224,177,60,.5); color: var(--gold-deep); font-size: .74rem; font-weight: 800; }

/* ===========================================================================
   Degree-level index (ADP / Bachelor's / M.Phil-MS) — visual polish, same layout
   =========================================================================== */
.lvl2 { background: linear-gradient(180deg, #fff 0, #f6f8fc 420px, #f6f8fc 100%); }

/* summary strip: navy band, gold figures */
.lvl2-facts { gap: 0; border: 0; border-radius: 22px; background: linear-gradient(120deg, #081d3d 0%, #0f2d5c 60%, #143a72 100%); box-shadow: 0 22px 46px rgba(8,24,47,.24); position: relative; overflow: hidden; }
.lvl2-facts::after { content: ""; position: absolute; right: -80px; top: -120px; width: 280px; height: 280px; border-radius: 50%; border: 2px solid rgba(224,177,60,.22); pointer-events: none; }
.lvl2-facts > div { background: transparent; padding: 1.5rem 1rem; position: relative; }
.lvl2-facts > div + div::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: linear-gradient(180deg, transparent, rgba(224,177,60,.6), transparent); }
.lvl2-facts b { color: var(--gold); font-size: 2rem; }
.lvl2-facts span { color: #c9d6ea; text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; font-weight: 700; }

/* search + filters */
.lvl2-find { margin-top: .4rem; border-bottom: 0; }
.lvl2-search { padding: 0 1.2rem; border-radius: 16px; border: 1.5px solid rgba(224,177,60,.5); background: #fff; box-shadow: 0 10px 26px rgba(8,24,47,.07); transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.lvl2-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(224,177,60,.18), 0 12px 28px rgba(8,24,47,.1); }
.lvl2-search input { padding: 1rem 0; font-size: 1rem; }
.lvl2-chips button { background: #fff; box-shadow: 0 3px 10px rgba(8,24,47,.05); }
.lvl2-chips button:hover { background: #fff8e6; border-color: var(--gold); color: var(--navy); }
.lvl2-chips button.is-active { background: linear-gradient(135deg, #081d3d, #143a72); color: var(--gold); border-color: transparent; box-shadow: 0 8px 18px rgba(8,24,47,.25); }

/* department panel */
.lvl2-dept { margin: 1.4rem 0; padding: 1.6rem 1.6rem 1.7rem; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 12px 30px rgba(8,24,47,.06); }
.lvl2-dept__head { gap: .4rem .9rem; margin-bottom: 1.3rem; padding-bottom: 1.1rem; border-bottom: 1px dashed rgba(224,177,60,.5); }
.lvl2-dept__ico { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, #081d3d, #143a72); border: 2px solid var(--gold); font-size: 1.45rem; box-shadow: 0 8px 18px rgba(8,24,47,.22); }
.lvl2-dept__head h2 { font-size: 1.35rem; position: relative; }
.lvl2-dept__head small { padding: .25rem .7rem; border-radius: 100px; background: #f6f8fc; border: 1px solid var(--line); color: var(--navy); font-weight: 700; font-size: .74rem; }
.lvl2-dept__head small::before { content: none; }
.lvl2-dept__head a { padding: .55rem 1.1rem; border-radius: 100px; background: var(--grad-gold); color: var(--navy); font-size: .8rem; box-shadow: 0 8px 18px rgba(224,177,60,.35); transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease); }
.lvl2-dept__head a:hover { transform: translateY(-2px); background: var(--navy); color: #fff; }

/* program cards */
.lvl2-grid { gap: 1.1rem; }
.lvl2-card { position: relative; overflow: hidden; padding: 1.4rem 1.3rem 1.2rem; border-radius: 18px; border: 1px solid rgba(224,177,60,.4); border-left-width: 1px; background: linear-gradient(180deg, #fff 0%, #fffdf7 100%); box-shadow: 0 8px 20px rgba(8,24,47,.06); }
.lvl2-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-gold); transform: scaleX(.25); transform-origin: left; transition: transform .45s var(--ease); }
.lvl2-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(224,177,60,.12), transparent 70%); transition: transform .45s var(--ease); }
.lvl2-card:hover { transform: translateY(-7px); border-color: var(--gold); box-shadow: 0 24px 46px rgba(8,24,47,.16), 0 0 0 4px rgba(224,177,60,.12); }
.lvl2-card:hover::before { transform: scaleX(1); }
.lvl2-card:hover::after { transform: scale(1.6); }
.lvl2-card h3 { font-size: 1.1rem; margin-bottom: .45rem; position: relative; z-index: 1; }
.lvl2-card p { position: relative; z-index: 1; }
.lvl2-card__go { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--navy); }
.lvl2-card__go::after { content: "\2192"; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad-gold); color: var(--navy); font-weight: 800; transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease); }
.lvl2-card:hover .lvl2-card__go::after { transform: translateX(4px); background: var(--navy); color: var(--gold); }
.lvl2-card__dur { position: relative; z-index: 1; }

@media (max-width: 760px) {
  .lvl2-dept { padding: 1.2rem 1rem 1.3rem; border-radius: 18px; }
  .lvl2-facts > div + div::before { display: none; }
}
.lvl2-facts::after { right: -170px; top: -170px; opacity: .8; }
.lvl2-facts > div { z-index: 1; }

/* Degree-level index: program cards on the site's dark blue, white type, gold accents */
.lvl2-card { background: linear-gradient(140deg, #081d3d 0%, #0f2d5c 60%, #143a72 100%); border-color: rgba(224,177,60,.35); box-shadow: 0 12px 28px rgba(8,24,47,.22); }
.lvl2-card::after { background: radial-gradient(circle, rgba(224,177,60,.22), transparent 70%); }
.lvl2-card:hover { border-color: var(--gold); box-shadow: 0 26px 50px rgba(8,24,47,.35), 0 0 0 4px rgba(224,177,60,.18); }
.lvl2-card h3 { color: #fff; }
.lvl2-card p { color: #c9d6ea; }
.lvl2-card__go { color: var(--gold); border-top-color: rgba(255,255,255,.14); }
.lvl2-card:hover .lvl2-card__go { color: #fff; }
.lvl2-card:hover .lvl2-card__go::after { background: #fff; color: var(--navy); }
.lvl2-card__dur { background: rgba(224,177,60,.15); border-color: rgba(224,177,60,.5); color: var(--gold); }

/* Degree-level index: card body back to light; only the "View Program" strip is dark blue */
.lvl2-card { padding-bottom: 0; background: linear-gradient(180deg, #fff 0%, #fffdf7 100%); border-color: rgba(224,177,60,.4); box-shadow: 0 8px 20px rgba(8,24,47,.06); }
.lvl2-card::after { background: radial-gradient(circle, rgba(224,177,60,.12), transparent 70%); bottom: 10px; }
.lvl2-card:hover { border-color: var(--gold); box-shadow: 0 24px 46px rgba(8,24,47,.16), 0 0 0 4px rgba(224,177,60,.12); }
.lvl2-card h3 { color: var(--navy); }
.lvl2-card p { color: var(--muted); }
.lvl2-card__dur { background: #fff8e6; border-color: rgba(224,177,60,.5); color: var(--gold-deep); }
.lvl2-card__go {
  margin: auto -1.3rem 0; padding: .8rem 1.1rem .8rem 1.3rem;
  border-top: 0; border-radius: 0 0 17px 17px;
  background: linear-gradient(120deg, #081d3d 0%, #0f2d5c 60%, #143a72 100%);
  color: #fff;
  transition: background .3s var(--ease);
}
.lvl2-card p + .lvl2-card__go, .lvl2-card h3 + .lvl2-card__go, .lvl2-card__dur + .lvl2-card__go { margin-top: auto; }
.lvl2-card:hover .lvl2-card__go { color: var(--gold); }
.lvl2-card__go::after { background: var(--grad-gold); color: var(--navy); }
.lvl2-card:hover .lvl2-card__go::after { background: #fff; color: var(--navy); }

/* home About: full text, comfortable paragraph rhythm */
.about2__text p { margin: 0 0 .85rem; font-size: .94rem; line-height: 1.7; }
.about2__text { margin-bottom: 1.3rem; }

/* ===========================================================================
   Vision & Mission page — "About Us" block at the top
   =========================================================================== */
.prose .abx { margin: 0 0 3rem; }
.prose .abx__intro { padding: 2.4rem 2.6rem; border-radius: 26px; background: radial-gradient(circle at 92% 12%, rgba(224,177,60,.2), transparent 40%), linear-gradient(135deg, #081d3d 0%, #0f2d5c 60%, #143a72 100%); color: #fff; box-shadow: 0 24px 50px rgba(8,24,47,.24); }
.prose .abx__tag { display: inline-block; padding: .4rem .95rem; border-radius: 100px; background: rgba(224,177,60,.15); border: 1px solid rgba(224,177,60,.45); color: var(--gold); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.prose .abx__intro h2 { margin: .9rem 0 .8rem; padding: 0; color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.15; border: 0; }
.prose .abx__intro h2::before, .prose .abx__intro h2::after { display: none; }
.prose .abx__intro h2 em { font-style: normal; color: var(--gold); }
.prose .abx__lead { margin: 0; color: #d6e0ef; font-size: 1.05rem; line-height: 1.75; max-width: 900px; }

.prose .abx__facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin: -1.6rem 1.6rem 2rem; position: relative; z-index: 1; }
.prose .abx__facts > div { padding: 1.2rem .8rem; border-radius: 18px; background: #fff; text-align: center; border: 1px solid rgba(224,177,60,.5); border-top: 4px solid var(--gold); box-shadow: 0 14px 30px rgba(8,24,47,.1); }
.prose .abx__facts b { display: block; color: var(--navy); font-size: 1.45rem; font-weight: 800; line-height: 1.15; }
.prose .abx__facts span { display: block; margin-top: .2rem; color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

.prose .abx__body p { font-size: 1.02rem; line-height: 1.8; color: #3d4a5f; margin: 0 0 1rem; }
.prose .abx__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin: 1.6rem 0; }
.prose .abx__card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem 1.4rem; border-radius: 18px; background: #fff8e6; border: 1px solid rgba(224,177,60,.5); }
.prose .abx__card span { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); font-size: 1.4rem; }
.prose .abx__card p { margin: 0; color: var(--navy); font-weight: 600; line-height: 1.6; }
.prose .abx__close { margin: 1.6rem 0 0; }

@media (max-width: 900px) {
  .prose .abx__facts { grid-template-columns: repeat(3, 1fr); margin: -1.2rem .6rem 1.6rem; }
  .prose .abx__cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .prose .abx__intro { padding: 1.8rem 1.4rem; }
  .prose .abx__facts { grid-template-columns: 1fr 1fr; }
}
.prose .abx__intro p.abx__lead { color: #e3eaf5 !important; opacity: 1; }

/* ===========================================================================
   Home page: tight vertical rhythm. Every section keeps 24px top and bottom, so
   two neighbours sit about 48px apart.
   Scoped to body.is-home so no other page changes.
   =========================================================================== */
body.is-home section.about2,
body.is-home section.facstrip,
body.is-home section.achv,
body.is-home section.filmx,
body.is-home section.nev,
body.is-home section.galx { padding-top: 24px; padding-bottom: 24px; }
/* the full-bleed dark bands keep a little more inside so their copy can breathe */
body.is-home section.lifegau { padding-top: 44px; padding-bottom: 44px; }
body.is-home section.testi { padding-top: 34px; padding-bottom: 34px; }
body.is-home section.statsbar { padding-top: 32px; padding-bottom: 36px; }
body.is-home section.about2 { padding-top: 28px; }
body.is-home .facmq { padding: 16px 0 22px; }

/* ===========================================================================
   Faculty Directory (HR system) — listing + profile
   =========================================================================== */
.fdir { padding: 56px 0 80px; background: linear-gradient(180deg, #fff 0, #f6f8fc 420px, #f6f8fc 100%); }
.fdir__empty, .fdir__note { text-align: center; color: var(--muted); }
.fdir__note { margin-top: 2rem; font-size: .84rem; }
.fdir__find { margin-bottom: .6rem; }
.fdir__grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); justify-content: stretch; gap: 22px; }
.fdir__grid .fx2-card__pic { width: 170px; height: 170px; background-size: cover; background-position: center top; }
.fdir__grid .fx2-card h3 { font-size: 1.05rem; }
.fdir__grid .fx2-card__btn { color: #fff; text-decoration: none; }

.fprof { padding: 56px 0 80px; background: #f6f8fc; }
.fprof__grid { display: grid; grid-template-columns: 320px 1fr; gap: 2rem; align-items: start; }
.fprof__card { position: sticky; top: 100px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem 1.5rem; border-radius: 24px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--gold); box-shadow: 0 16px 36px rgba(8,24,47,.08); }
.fprof__pic { width: 200px; height: 200px; background-size: cover; background-position: center top; }
.fprof__card h2 { margin: 1.3rem 0 .6rem; font-size: 1.3rem; color: var(--navy); line-height: 1.3; }
.fprof__dept { margin-top: .8rem; color: var(--gold-deep); font-weight: 700; font-size: .9rem; text-decoration: none; }
.fprof__nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: .6rem; width: 100%; margin-top: 1.3rem; }
.fprof__nums > div { padding: .8rem .5rem; border-radius: 14px; background: linear-gradient(135deg, #081d3d, #143a72); }
.fprof__nums b { display: block; color: var(--gold); font-size: 1.5rem; line-height: 1.1; }
.fprof__nums span { color: #c9d6ea; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.fprof__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-top: 1.2rem; }
.fprof__links a { padding: .4rem .8rem; border-radius: 100px; background: #fff8e6; border: 1px solid rgba(224,177,60,.5); color: var(--navy); font-size: .78rem; font-weight: 700; text-decoration: none; }
.fprof__links a:hover { background: var(--navy); color: #fff; }
.fprof__back { margin-top: 1.4rem; color: var(--muted); font-size: .85rem; font-weight: 700; text-decoration: none; }

.fprof__sec { padding: 1.6rem 1.7rem; margin-bottom: 1.2rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(8,24,47,.05); }
.fprof__sec h3 { display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; font-size: 1.15rem; color: var(--navy); }
.fprof__sec h3::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: var(--grad-gold); }
.fprof__sec h3 small { padding: .15rem .6rem; border-radius: 100px; background: #fff8e6; color: var(--gold-deep); font-size: .74rem; }
.fprof__sec p { margin: 0; color: #3d4a5f; line-height: 1.75; }
.fprof__two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.fprof__tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.fprof__tags span { padding: .4rem .85rem; border-radius: 100px; background: #f6f8fc; border: 1px solid var(--line); color: var(--navy); font-size: .82rem; font-weight: 600; }
.fprof__list { margin: 0; padding-left: 1.3rem; display: grid; gap: .9rem; }
.fprof__list li { color: var(--navy); line-height: 1.5; }
.fprof__list b { display: block; font-weight: 700; }
.fprof__meta { display: block; color: var(--muted); font-size: .82rem; margin-top: .15rem; }
.fprof__list a { color: var(--gold-deep); font-size: .8rem; font-weight: 800; text-decoration: none; }
.fprof__time { list-style: none; margin: 0; padding: 0 0 0 1.2rem; border-left: 2px solid rgba(224,177,60,.5); display: grid; gap: 1rem; }
.fprof__time li { position: relative; }
.fprof__time li::before { content: ""; position: absolute; left: -1.62rem; top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--gold); }
.fprof__time b { display: block; color: var(--navy); }
.fprof__time span { display: block; color: #3d4a5f; font-size: .9rem; }
.fprof__time small { color: var(--muted); font-size: .8rem; }
.fprof__mates { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; }
.fprof__mates a { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1rem .6rem; border-radius: 16px; border: 1px solid var(--line); text-decoration: none; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.fprof__mates a:hover { border-color: var(--gold); transform: translateY(-3px); }
.fprof__matepic { display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: .6rem; border-radius: 50%; background: #fdf6e3 center top / cover no-repeat; box-shadow: 0 0 0 3px var(--gold); color: var(--gold-deep); font-weight: 800; }
.fprof__mates b { color: var(--navy); font-size: .85rem; line-height: 1.3; }
.fprof__mates small { color: var(--muted); font-size: .74rem; }
@media (max-width: 900px) { .fprof__grid { grid-template-columns: 1fr; } .fprof__card { position: static; } .fprof__two { grid-template-columns: 1fr; } }

/* Faculty profile: publication badges and expandable abstract */
.fprof__badges { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-top: .4rem; }
.fprof__badges i { font-style: normal; padding: .15rem .55rem; border-radius: 100px; background: #f6f8fc; border: 1px solid var(--line); color: var(--navy); font-size: .72rem; font-weight: 700; }
.fprof__badges i.is-gold { background: #fff8e6; border-color: rgba(224,177,60,.55); color: var(--gold-deep); }
.fprof__more { margin-top: .5rem; }
.fprof__more summary { cursor: pointer; color: var(--gold-deep); font-size: .8rem; font-weight: 800; }
.fprof__more p { margin: .5rem 0 0; color: #3d4a5f; font-size: .86rem; line-height: 1.65; }
.fprof__cite { padding: .6rem .8rem; border-left: 3px solid var(--gold); background: #fafbfd; font-style: italic; }

/* department welcome text when no HOD is on file (dept-intro block) */
.dv4-hod__intro p { color: #4a5870; font-size: 1rem; line-height: 1.85; margin: 0 0 1rem; }
.dv4-hod__intro p:last-child { margin-bottom: 1.6rem; }
/* gallery-only / poster pages built from the live site (labs, PDC courses, events) */
.nx2-poster { display: block; max-width: 760px; margin: 1.4rem auto 0; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(8,29,61,.55); }
.nx2-poster img { display: block; width: 100%; height: auto; }

/* MoU page — one card per signed agreement (links to its news story) */
.mou-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.mou-card { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(8,29,61,.1); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 26px -18px rgba(8,29,61,.5); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.mou-card:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -22px rgba(8,29,61,.55); }
.mou-card__img { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--navy), var(--blue)) center / cover no-repeat; }
.mou-card__body { display: flex; flex-direction: column; gap: .45rem; padding: 1rem 1.1rem 1.2rem; flex: 1; }
.mou-card__body small { color: var(--gold-deep); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mou-card__body strong { color: var(--navy); font-family: var(--font-head); font-size: .98rem; line-height: 1.35; }
.mou-card__body em { margin-top: auto; color: var(--navy); font-style: normal; font-size: .8rem; font-weight: 800; }
/* Civil Engineering Labs index */
.prose .labs-list { list-style: none; padding: 0; display: grid; gap: .7rem; }
.prose .labs-list li { padding: .85rem 1rem; border: 1px solid rgba(8,29,61,.1); border-left: 3px solid var(--gold); border-radius: 10px; background: #fafbfd; }
.prose .labs-list li { position: relative; padding-left: 2.6rem; }
.prose .labs-list li::before { left: .85rem; top: 1rem; }

/* Faculty Directory — "Showing <department> · Show all" when opened on one department */
.fdir__only { margin: -.4rem 0 1.4rem; color: #4a5870; font-size: .92rem; }
.fdir__only b { color: var(--navy); }
.fdir__only a { color: var(--gold-deep); font-weight: 800; }

/* Faculty profile — every section is an accordion panel; one open at a time */
.fprof__acc { padding: 0; overflow: hidden; }
.fprof__sum { display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.4rem; cursor: pointer; list-style: none; user-select: none; transition: background .25s; }
.fprof__sum::-webkit-details-marker { display: none; }
.fprof__sum:hover { background: #fafbfd; }
.fprof__sum h3 { flex: 1; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.fprof__sum h3::after { display: none !important; }
.fprof__sum i { position: relative; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: #f3f5f9; border: 1px solid rgba(8,29,61,.12); transition: background .3s, transform .3s; }
.fprof__sum i::before, .fprof__sum i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--navy); transition: transform .3s; }
.fprof__sum i::after { transform: rotate(90deg); }
.fprof__acc[open] > .fprof__sum { background: linear-gradient(90deg, rgba(224,177,60,.12), transparent 70%); border-bottom: 1px solid rgba(8,29,61,.08); }
.fprof__acc[open] > .fprof__sum i { background: var(--navy); border-color: var(--navy); }
.fprof__acc[open] > .fprof__sum i::before, .fprof__acc[open] > .fprof__sum i::after { background: var(--gold); }
.fprof__acc[open] > .fprof__sum i::after { transform: rotate(0deg); }
.fprof__body { padding: 1.2rem 1.4rem 1.4rem; animation: fprofOpen .3s ease; }
.fprof__body.fprof__two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 700px) { .fprof__body.fprof__two { grid-template-columns: 1fr; } }
@keyframes fprofOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
/* accordion: JS animates height/opacity, so drop the snap keyframe; slower icon turn */
.fprof__body { animation: none; overflow: hidden; }
.fprof__sum, .fprof__sum i, .fprof__sum i::before, .fprof__sum i::after { transition-duration: .45s; }
.fprof__acc.is-closing > .fprof__sum { background: none; border-bottom-color: transparent; }
.fprof__acc.is-closing > .fprof__sum i { background: #f3f5f9; border-color: rgba(8,29,61,.12); }
.fprof__acc.is-closing > .fprof__sum i::before, .fprof__acc.is-closing > .fprof__sum i::after { background: var(--navy); }
.fprof__acc.is-closing > .fprof__sum i::after { transform: rotate(90deg); }
.fprof__sum, .fprof__sum i, .fprof__sum i::before, .fprof__sum i::after { transition-duration: .6s; }

/* profile interests — research then teaching, each full width (never side by side) */
.fprof__interests { display: flex; flex-direction: column; gap: 1.3rem; }
.fprof__int + .fprof__int { padding-top: 1.3rem; border-top: 1px dashed rgba(8,29,61,.14); }
.fprof__int h4 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .7rem; color: var(--navy); font-size: 1rem; font-weight: 800; }
.fprof__int h4::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--grad-gold); }
.fprof__intp { margin: 0 0 .7rem !important; color: #3d4a5f; line-height: 1.8; text-align: justify; }
.fprof__int .fprof__tags + .fprof__intp, .fprof__intp + .fprof__tags { margin-top: .4rem; }
.fprof__intp { text-align: left; }

/* program page — link to the department's program overview PDF */
.prog-brochure { margin: .2rem 0 1.4rem; }
.prog-brochure a { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.1rem; border-radius: 100px; background: #fff8e6; border: 1px solid rgba(224,177,60,.5); color: var(--navy); font-weight: 800; font-size: .88rem; text-decoration: none; }
.prog-brochure a:hover { background: var(--navy); color: #fff; }

/* program page — the program's own description above its scheme */
.prog-intro { margin: 0 0 2rem; padding: 1.4rem 1.6rem; border: 1px solid rgba(8,29,61,.1); border-left: 4px solid var(--gold); border-radius: 14px; background: #fff; }
.prog-intro h3 { margin-top: 0; color: var(--navy); }
.prog-intro h4 { margin: 1.1rem 0 .5rem; color: var(--navy); }
/* QEC report photos */
.prose .qec-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; margin-top: 1.4rem; }
.prose .qec-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }

/* ---------------------------------------------------------------------------
   Contact Us page (ContactController): cards, photo + form, map
--------------------------------------------------------------------------- */
.ctc { padding: 70px 0 90px; background: linear-gradient(180deg, #f6f8fc 0, #fff 420px); }
.ctc__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: -120px; position: relative; z-index: 2; }
.ctc-card { background: #fff; border-radius: 18px; padding: 1.6rem 1.4rem; border: 1px solid rgba(8,29,61,.08); box-shadow: 0 20px 44px -26px rgba(8,29,61,.45); transition: transform .35s var(--ease), box-shadow .35s var(--ease); border-top: 3px solid var(--gold); }
.ctc-card:hover { transform: translateY(-6px); box-shadow: 0 28px 54px -26px rgba(8,29,61,.55); }
.ctc-card__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: var(--gold); margin-bottom: 1rem; }
.ctc-card__ico svg { width: 24px; height: 24px; }
.ctc-card h3 { margin: 0 0 .5rem; color: var(--navy); font-size: 1.08rem; font-family: var(--font-head); }
.ctc-card p { margin: 0 0 .6rem; color: #4a5870; line-height: 1.7; font-size: .95rem; }
.ctc-card p a { color: var(--navy); font-weight: 700; text-decoration: none; }
.ctc-card > a { color: var(--gold-deep); font-weight: 800; font-size: .85rem; text-decoration: none; }
.ctc-card__wa { color: #128c4b !important; }
.ctc-card__note { color: #8a96a8; font-size: .8rem; }

.ctc__main { display: grid; grid-template-columns: 5fr 7fr; margin-top: 3.2rem; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px -40px rgba(8,29,61,.6); border: 1px solid rgba(8,29,61,.08); scroll-margin-top: 120px; }
.ctc__photo { position: relative; min-height: 560px; background: center / cover no-repeat; display: flex; align-items: flex-end; }
.ctc__photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,29,61,.05) 20%, rgba(8,29,61,.92) 100%); }
.ctc__photo-text { position: relative; padding: 2.2rem; color: #fff; }
.ctc__photo-text h2 { color: #fff; margin: .4rem 0 .7rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; }
.ctc__photo-text p { color: rgba(255,255,255,.85); line-height: 1.75; margin: 0 0 1.3rem; }
.ctc__kicker { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ctc__kicker--gold { color: var(--gold-deep); }
.ctc__apply { display: inline-block; padding: .75rem 1.5rem; border-radius: 100px; background: var(--grad-gold); color: var(--navy); font-weight: 800; text-decoration: none; }

.ctc__form-wrap { padding: 2.6rem 2.8rem; }
.ctc__form-wrap h2 { margin: .3rem 0 1.4rem; color: var(--navy); font-size: 1.8rem; }
.ctc__ok { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.2rem; margin-bottom: 1.3rem; border-radius: 12px; background: #ecfaf1; border: 1px solid #9fdcb6; color: #146c3a; }
.ctc__err { padding: .85rem 1.2rem; margin-bottom: 1.3rem; border-radius: 12px; background: #fff1f1; border: 1px solid #f2b8b8; color: #a12828; font-weight: 600; }
.ctc-form { display: flex; flex-direction: column; gap: 1.1rem; }
.ctc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.ctc-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ctc-field { display: flex; flex-direction: column; gap: .4rem; }
.ctc-field > span { font-size: .82rem; font-weight: 800; color: var(--navy); }
.ctc-field input, .ctc-field select, .ctc-field textarea { width: 100%; padding: .85rem 1rem; border: 1.5px solid #dde3ec; border-radius: 12px; background: #fafbfd; font: inherit; font-size: .95rem; color: var(--navy); transition: border-color .25s, box-shadow .25s, background .25s; }
.ctc-field textarea { resize: vertical; min-height: 140px; }
.ctc-field input:focus, .ctc-field select:focus, .ctc-field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(224,177,60,.16); }
.ctc-field.is-bad input, .ctc-field.is-bad select, .ctc-field.is-bad textarea { border-color: #e06b6b; }
.ctc-field small { color: #c03b3b; font-size: .8rem; }
.ctc-form__btn { align-self: flex-start; display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 2rem; border: 0; border-radius: 100px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font: inherit; font-weight: 800; cursor: pointer; transition: transform .25s, box-shadow .25s; box-shadow: 0 14px 30px -16px rgba(8,29,61,.8); }
.ctc-form__btn:hover { transform: translateY(-2px); }
.ctc-form__btn b { color: var(--gold); }

.ctc__map { margin-top: 3rem; border-radius: 22px; overflow: hidden; border: 1px solid rgba(8,29,61,.1); box-shadow: 0 20px 50px -34px rgba(8,29,61,.6); }
.ctc__map iframe { display: block; width: 100%; height: 420px; border: 0; }

@media (max-width: 1100px) { .ctc__cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .ctc__main { grid-template-columns: 1fr; } .ctc__photo { min-height: 320px; } .ctc__form-wrap { padding: 2rem 1.4rem; } }
@media (max-width: 600px) { .ctc__cards { grid-template-columns: 1fr; margin-top: -60px; } .ctc-form__row { grid-template-columns: 1fr; } }
.prog-card__btn--soon { opacity: .65; cursor: default; pointer-events: none; }

/* ---------------------------------------------------------------------------
   Society Activities Calendar (/page/society-activities-calendar)
--------------------------------------------------------------------------- */
.scal { padding: 60px 0 90px; background: linear-gradient(180deg, #f6f8fc 0, #fff 380px); }
.scal__kicker, .evh__kicker { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.scal__next { background: linear-gradient(135deg, var(--navy), #13306a); border-radius: 22px; padding: 1.6rem 1.8rem 1.8rem; margin-bottom: 2rem; box-shadow: 0 26px 60px -36px rgba(8,29,61,.8); }
.scal__nexthead { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.scal__next .scal__kicker { color: var(--gold); }
.scal__pdf { color: #fff; font-weight: 800; font-size: .85rem; text-decoration: none; padding: .5rem 1rem; border-radius: 100px; border: 1px solid rgba(255,255,255,.35); }
.scal__pdf:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.scal__nextgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.scal-next { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); text-decoration: none; transition: background .3s, transform .3s; }
.scal-next:hover { background: rgba(255,255,255,.13); transform: translateY(-3px); }
.scal-next__date, .scal-item__date, .evh-up__date { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 62px; border-radius: 14px; background: var(--grad-gold); color: var(--navy); line-height: 1; }
.scal-next__date b, .scal-item__date b, .evh-up__date b { font-size: 1.45rem; font-family: var(--font-head); }
.scal-next__date i, .scal-item__date i, .evh-up__date i { font-style: normal; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-top: .2rem; }
.scal-next__body strong { display: block; color: #fff; font-size: .95rem; line-height: 1.35; }
.scal-next__body small { display: block; margin-top: .35rem; color: rgba(255,255,255,.7); font-size: .78rem; }

.scal__tools { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 1.6rem; }
.scal__search { display: flex; align-items: center; gap: .7rem; padding: .2rem 1.1rem; background: #fff; border: 1.5px solid rgba(224,177,60,.45); border-radius: 14px; }
.scal__search input { flex: 1; border: 0; outline: 0; padding: .85rem 0; font: inherit; font-size: .98rem; background: transparent; color: var(--navy); }
.scal__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.scal__chips button { padding: .5rem 1rem; border-radius: 100px; border: 1px solid rgba(8,29,61,.14); background: #fff; color: var(--navy); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; transition: background .25s, color .25s; }
.scal__chips button:hover { border-color: var(--gold); }
.scal__chips button.is-active { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.scal__past { display: inline-flex; align-items: center; gap: .5rem; color: #4a5870; font-size: .88rem; font-weight: 600; cursor: pointer; }
.scal__past input { width: 17px; height: 17px; accent-color: var(--navy); }

.scal-month { margin-top: 2.2rem; }
.scal-month__title { display: flex; align-items: baseline; gap: .8rem; margin: 0 0 1rem; padding-bottom: .6rem; border-bottom: 2px solid rgba(224,177,60,.4); color: var(--navy); font-size: 1.5rem; }
.scal-month__title small { color: #8a96a8; font-size: .85rem; font-weight: 600; }
.scal-month__list { display: grid; gap: .9rem; }
.scal-item { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.1rem 1.3rem; background: #fff; border: 1px solid rgba(8,29,61,.09); border-left: 4px solid var(--gold); border-radius: 16px; box-shadow: 0 10px 26px -22px rgba(8,29,61,.55); scroll-margin-top: 130px; transition: box-shadow .3s; }
.scal-item:target { box-shadow: 0 0 0 3px rgba(224,177,60,.55), 0 16px 34px -22px rgba(8,29,61,.6); }
.scal-item__date small { margin-top: .25rem; font-size: .58rem; font-weight: 800; text-transform: uppercase; }
.scal-item__body { flex: 1; min-width: 0; }
.scal-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .3rem; }
.scal-item__when { color: #6b7890; font-size: .8rem; font-weight: 700; }
.scal-badge { padding: .15rem .6rem; border-radius: 100px; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.scal-badge--done { background: #eef1f6; color: #6b7890; }
.scal-badge--live { background: #e6f8ee; color: #137a40; }
.scal-item h3 { margin: 0 0 .6rem; color: var(--navy); font-size: 1.04rem; line-height: 1.45; font-family: var(--font-head); }
.scal-item__people { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; align-items: center; font-size: .82rem; color: #4a5870; }
.scal-item__people em { font-style: normal; color: #8a96a8; font-weight: 700; margin-right: .2rem; }
.scal-soc { padding: .25rem .75rem; border-radius: 100px; background: #fff8e6; border: 1px solid rgba(224,177,60,.45); color: var(--gold-deep); font-weight: 800; text-decoration: none; }
a.scal-soc:hover { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.scal-item.is-past { opacity: .62; border-left-color: #c9d1dc; }
.scal-item.is-past .scal-item__date { background: #e6eaf0; color: #6b7890; }
.scal-item.is-live { border-left-color: #1aa35a; }
.scal__empty { margin-top: 2rem; padding: 1.2rem; text-align: center; color: #6b7890; background: #fff; border-radius: 14px; border: 1px dashed rgba(8,29,61,.2); }
.scal__note { margin-top: 2rem; color: #8a96a8; font-size: .82rem; }

/* ---------------------------------------------------------------------------
   GAUS Events hub (/page/gaus-events)
--------------------------------------------------------------------------- */
.evh { padding: 60px 0 90px; }
.evh__sec + .evh__sec { margin-top: 3.4rem; }
.evh__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.2rem; margin-bottom: 1.3rem; }
.evh__head .evh__kicker { flex-basis: 100%; }
.evh__head h2 { margin: 0; color: var(--navy); font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.evh__more { margin-left: auto; color: var(--gold-deep); font-weight: 800; text-decoration: none; }
.evh__up { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.evh-up { display: flex; flex-direction: column; gap: .6rem; padding: 1.2rem; border-radius: 18px; background: #fff; border: 1px solid rgba(8,29,61,.09); box-shadow: 0 14px 30px -24px rgba(8,29,61,.6); text-decoration: none; transition: transform .3s, box-shadow .3s; }
.evh-up:hover { transform: translateY(-5px); box-shadow: 0 24px 40px -24px rgba(8,29,61,.6); }
.evh-up strong { color: var(--navy); font-size: .95rem; line-height: 1.4; }
.evh-up small { color: var(--gold-deep); font-weight: 700; font-size: .78rem; margin-top: auto; }
.evh__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.evh-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid rgba(8,29,61,.09); box-shadow: 0 18px 40px -30px rgba(8,29,61,.7); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.evh-card:hover { transform: translateY(-6px); box-shadow: 0 30px 56px -30px rgba(8,29,61,.7); }
.evh-card__img { position: relative; display: block; aspect-ratio: 16 / 10; background: #dfe5ee center / cover no-repeat; }
.evh-card__img span { position: absolute; left: 14px; bottom: 14px; padding: .35rem .8rem; border-radius: 100px; background: rgba(8,29,61,.85); color: var(--gold); font-size: .74rem; font-weight: 800; }
.evh-card__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.2rem 1.3rem 1.4rem; flex: 1; }
.evh-card h3 { margin: 0; font-size: 1.08rem; line-height: 1.35; }
.evh-card h3 a { color: var(--navy); text-decoration: none; }
.evh-card p { margin: 0; color: #4a5870; font-size: .9rem; line-height: 1.6; }
.evh-card__links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .6rem; }
.evh-card__btn { color: var(--navy); font-weight: 800; font-size: .85rem; text-decoration: none; }
.evh-card__sub { padding: .2rem .7rem; border-radius: 100px; background: #fff8e6; border: 1px solid rgba(224,177,60,.45); color: var(--gold-deep); font-size: .76rem; font-weight: 800; text-decoration: none; }
.evh__two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.evh-box { padding: 1.8rem 2rem; border-radius: 22px; background: #fff; border: 1px solid rgba(8,29,61,.09); box-shadow: 0 18px 40px -32px rgba(8,29,61,.7); }
.evh-box h2 { margin: .3rem 0 1rem; color: var(--navy); font-size: 1.5rem; }
.evh-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.evh-box li a { display: block; padding: .8rem 1rem; border-radius: 12px; background: #f6f8fc; color: var(--navy); font-weight: 700; text-decoration: none; }
.evh-box li a:hover { background: #fff8e6; }
.evh-box--navy { background: linear-gradient(135deg, var(--navy), #13306a); border: 0; }
.evh-box--navy h2 { color: #fff; }
.evh-box--navy .evh__kicker { color: var(--gold); }
.evh-box--navy p { color: rgba(255,255,255,.82); line-height: 1.7; }
.evh-box__btn { display: inline-block; margin-top: .4rem; padding: .8rem 1.5rem; border-radius: 100px; background: var(--grad-gold); color: var(--navy); font-weight: 800; text-decoration: none; }
.evh-box__link { display: inline-block; margin: .4rem 0 0 1rem; color: #fff; font-weight: 700; text-decoration: none; }

/* a society page: its upcoming calendar activities */
.socup { margin-top: 2rem; padding: 1.4rem 1.5rem; border-radius: 18px; background: #f6f8fc; border: 1px solid rgba(8,29,61,.08); }
.socup h2 { margin-top: 0 !important; }
.socup ul { list-style: none !important; padding: 0 !important; margin: 0 0 1rem !important; display: grid; gap: .6rem; }
.socup li { display: flex; gap: .9rem; align-items: center; padding: .7rem .9rem; border-radius: 12px; background: #fff; }
.socup li::before { display: none !important; }
.socup .socup__d { flex: 0 0 auto; min-width: 74px; padding: .35rem .5rem; border-radius: 10px; background: var(--grad-gold); color: var(--navy); font-weight: 800; font-size: .78rem; text-align: center; }
.socup a.socup__all { font-weight: 800; color: var(--gold-deep); }

@media (max-width: 1000px) { .scal__nextgrid, .evh__up { grid-template-columns: 1fr 1fr; } .evh__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .scal__nextgrid, .evh__up, .evh__grid, .evh__two { grid-template-columns: 1fr; } .scal-item { padding: 1rem; gap: .9rem; } .scal__nexthead { flex-direction: column; align-items: flex-start; } }
.scal-item[hidden], .scal-month[hidden], .scal__empty[hidden] { display: none !important; }

/* Campus Gallery (/page/campus-gallery) — an album per news story */
.cgal { padding: 60px 0 90px; }
.cgal__tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.cgal__tabs button { padding: .55rem 1.1rem; border-radius: 100px; border: 1px solid rgba(8,29,61,.14); background: #fff; color: var(--navy); font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.cgal__tabs button b { margin-left: .3rem; color: var(--gold-deep); }
.cgal__tabs button.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.cgal__tabs button.is-active b { color: var(--gold); }
.cgal__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.cgal-album { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid rgba(8,29,61,.09); box-shadow: 0 14px 32px -26px rgba(8,29,61,.7); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cgal-album:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -26px rgba(8,29,61,.7); }
.cgal-album[hidden] { display: none !important; }
.cgal-album__img { position: relative; display: block; aspect-ratio: 4 / 3; background: #dfe5ee center / cover no-repeat; }
.cgal-album__count { position: absolute; right: 10px; bottom: 10px; padding: .3rem .7rem; border-radius: 100px; background: rgba(8,29,61,.85); color: #fff; font-size: .74rem; font-weight: 800; }
.cgal-album__body { display: flex; flex-direction: column; gap: .35rem; padding: .9rem 1rem 1.1rem; }
.cgal-album__body small { color: var(--gold-deep); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.cgal-album__body strong { color: var(--navy); font-size: .92rem; line-height: 1.4; }
.cgal__morewrap { text-align: center; margin-top: 2rem; }
.cgal__morewrap[hidden] { display: none; }
.cgal__more { padding: .9rem 2.2rem; border: 0; border-radius: 100px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
@media (max-width: 1100px) { .cgal__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .cgal__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .cgal__grid { grid-template-columns: 1fr; } }
.evh-card { scroll-margin-top: 120px; } .evh-card:target { box-shadow: 0 0 0 3px rgba(224,177,60,.6), 0 30px 56px -30px rgba(8,29,61,.7); }

/* ---- Home: "Latest" ticker sits under the slider, in navy so it separates
   the artwork from the gold quick-links strip below it. ---- */
.ticker--home { position: relative; z-index: 8; background: #081d3d; color: #fff; border-top: 3px solid var(--gold); }
.ticker--home .ticker__label { background: var(--gold); color: #081d3d; padding: .7rem 1.4rem; }
.ticker--home .ticker__track { padding-top: .1rem; }
.ticker--home .ticker__track span { color: #f3f6fb; }
.ticker--home + .qstrip { border-top: 0; }

/* ---- Student club & society pages (PageController::$isClub → .section--club).
   Intro + aim beside the representative card, objectives and code of conduct
   as numbered cards, the motto as a closing banner. ---- */
.section--club { background: linear-gradient(180deg, var(--bg-alt) 0, #fff 520px); }
.section--club .prose--wide { max-width: 100%; }
.section--club .prose h2 { font-size: 1.55rem; margin: 2.6rem 0 1.1rem; }

.clubp__top { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2.5rem; align-items: start; margin: 0 0 1rem; }
.clubp__intro > :first-child { margin-top: 0; }
.clubp__intro h2:first-child { margin-top: 0; }

.section--club .lead { position: relative; padding-left: 1.2rem; margin: 0 0 1.6rem; font-size: 1.3rem !important; line-height: 1.6; color: var(--navy) !important; font-weight: 600; max-width: 62ch; }
.section--club .lead::before { content: ""; position: absolute; left: 0; top: .25em; bottom: .25em; width: 4px; border-radius: 4px; background: var(--grad-gold); }

.section--club .clubp__aim { position: relative; overflow: hidden; padding: 1.7rem 1.9rem 1.7rem 5.2rem; border-radius: var(--radius); background: var(--grad-navy); box-shadow: var(--shadow-md); margin: 0 0 .4rem; }
.section--club .clubp__aim::before { content: ""; position: absolute; left: 1.6rem; top: 1.75rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 3px solid var(--gold); box-shadow: inset 0 0 0 6px rgba(8,29,61,.9), inset 0 0 0 11px var(--gold); }
.section--club .clubp__aim::after { content: ""; position: absolute; right: -60px; top: -60px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(224,177,60,.22), transparent 70%); }
.section--club .clubp__aim h2 { margin: 0 0 .45rem; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.section--club .clubp__aim p { position: relative; z-index: 1; margin: 0; font-size: 1.08rem; line-height: 1.75; color: #e6edf8; }

.section--club ul.clubp__obj { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; counter-reset: obj; }
.section--club ul.clubp__obj li { counter-increment: obj; margin: 0; padding: 1.05rem 1.1rem 1.05rem 3.6rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 4px 14px rgba(10,35,66,.05); line-height: 1.55; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.section--club ul.clubp__obj li::before { content: counter(obj, decimal-leading-zero); left: 1rem; top: 1rem; width: 32px; height: 32px; border-radius: 10px; font-size: .78rem; background: var(--grad-gold); color: var(--navy); }
.section--club ul.clubp__obj li:hover { transform: translateY(-2px); border-color: rgba(224,177,60,.55); box-shadow: var(--shadow-sm); }

.section--club h2 + p { color: var(--muted); margin-top: -.3rem; }
.section--club ol.clubp__coc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; padding: 1.4rem; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); }
.section--club ol.clubp__coc li { margin: 0; padding: .95rem 1rem .95rem 3.3rem; background: #fff; border-radius: 12px; line-height: 1.55; box-shadow: 0 2px 8px rgba(10,35,66,.04); }
.section--club ol.clubp__coc li::before { left: .95rem; top: .9rem; width: 28px; height: 28px; background: var(--navy); color: var(--gold-soft); }

.section--club .prose blockquote { position: relative; margin: 2.4rem 0 1rem; padding: 1.6rem 2rem 1.6rem 4.2rem; border: 0; border-radius: var(--radius); background: var(--grad-hero); color: #fff; font-size: 1.3rem; font-weight: 600; font-style: italic; box-shadow: var(--shadow-md); }
.section--club .prose blockquote::before { content: "\201C"; position: absolute; left: 1.3rem; top: .3rem; font-size: 4rem; line-height: 1; font-style: normal; color: var(--gold); }
.section--club .clubp__foot { text-align: center; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.2rem; }
.section--club .prof__back { text-align: center; }
.section--club .prof__back a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .6rem 1.4rem; border-radius: 999px; border: 1px solid var(--navy); color: var(--navy); font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.section--club .prof__back a:hover, .section--club .prof__back a:focus-visible { background: var(--navy); color: #fff; }

.clubp__rep { position: sticky; top: 110px; margin: 0; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.clubp__rep a { display: block; border-radius: 14px; overflow: hidden; }
.clubp__rep img { display: block; width: 100%; height: auto; margin: 0; transition: transform .4s var(--ease); }
.clubp__rep a:hover img { transform: scale(1.03); }
.clubp__rep figcaption { padding: 1rem .5rem .4rem; line-height: 1.45; }
.clubp__rep-label { display: inline-block; margin-bottom: .45rem; padding: .25rem .65rem; border-radius: 999px; background: rgba(224,177,60,.16); color: var(--gold-deep); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.clubp__rep-name { display: block; font-family: var(--font-head); font-size: 1.12rem; color: var(--navy); margin-bottom: .2rem; }
.clubp__rep-detail { display: block; font-size: .88rem; color: var(--muted); }

.section--club .socup { margin-top: 2.4rem; }

@media (max-width: 960px) {
  .clubp__top { grid-template-columns: 1fr; }
  .clubp__rep { position: static; max-width: 380px; }
}
@media (max-width: 680px) {
  .section--club ul.clubp__obj, .section--club ol.clubp__coc { grid-template-columns: 1fr; }
  .section--club ol.clubp__coc { padding: 1rem; }
  .section--club .clubp__aim { padding: 1.4rem 1.3rem 1.4rem 4.4rem; }
  .section--club .clubp__aim::before { left: 1.1rem; }
  .section--club .prose blockquote { font-size: 1.12rem; padding: 1.3rem 1.3rem 1.3rem 3.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .section--club ul.clubp__obj li, .clubp__rep img { transition: none; }
}

/* Mobile menu fix (2026-11-19): on touch screens a tapped item keeps :hover, and the
   desktop centring rules (translateX(-50%), left:50%) were shifting the opened
   submenu half its width off the left edge. Pin the accordion panels in place. */
@media (max-width: 760px) {
  .nav .nav__item > .nav__drop,
  .nav .nav__item > .nav__mega,
  .nav .nav__item:hover > .nav__drop,
  .nav .nav__item:hover > .nav__mega,
  .nav .nav__item--mega:hover > .nav__mega { position: static !important; left: auto !important; right: auto !important; transform: none !important; width: 100%; max-width: 100%; box-sizing: border-box; }
  .nav .nav__item > .nav__mega::before,
  .nav .nav__item > .nav__drop::before { content: none; }
  .nav__mega-col, .nav__drop a, .nav__mega-link, .nav__mega-head { max-width: 100%; overflow-wrap: anywhere; }
}

/* Small-phone fix (2026-11-20): on 280-380px screens the top bar, a "View all" link
   and the footer newsletter row were wider than the screen, so phones zoomed out or
   let the page slide sideways (which also made the menu look shifted). */
@media (max-width: 760px) {
  .topbar__contact { flex: 1 1 auto; min-width: 0; overflow: hidden; }
  .topbar__contact span { min-width: 0; max-width: 100%; }
  .topbar__links { flex-shrink: 0; }
  .footer__newsrow { grid-template-columns: minmax(0, 1fr) !important; }
  .footer__newsrow > *, .footer__grid > * { min-width: 0; }
  .rowhead { flex-wrap: wrap; row-gap: .5rem; }
  .rowhead > * { min-width: 0; }
  .nev__grid { grid-template-columns: minmax(0, 1fr); }
  .nev__grid > *, .nev__feat > * { min-width: 0; }
}
@media (max-width: 380px) {
  .topbar__apply { padding: .3rem .7rem; font-size: .74rem; }
  .container { padding-left: 14px; padding-right: 14px; }
}

/* ===========================================================================
   Leadership messages — Chairman, Vice Chancellor, Pro Vice Chancellor
   (added 2026-11-24). Only these three slugs: the officer pages and Board of
   Governors keep the shared portrait card above.
   =========================================================================== */
:is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(8, 29, 61, .12);
  overflow: hidden;
  padding-bottom: 2.6rem;
  max-width: 1000px;
  margin-inline: auto;
}
/* header band holding the portrait */
:is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .profile {
  float: none;
  width: auto;
  margin: 0 0 2.4rem;
  padding: 3rem 1.5rem 2.2rem;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  background:
    radial-gradient(420px 220px at 85% 0%, rgba(224, 177, 60, .28), transparent 70%),
    radial-gradient(380px 200px at 10% 100%, rgba(46, 141, 245, .22), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 16px),
    var(--grad-hero);
  border-bottom: 4px solid var(--gold);
}
:is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .profile img {
  width: 290px; height: 290px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 12%;
  background: #fff;
  border: 7px solid #fff;
  box-shadow: 0 0 0 3px var(--gold), 0 0 0 12px rgba(224, 177, 60, .18), 0 24px 60px rgba(0, 0, 0, .4);
  transition: transform .6s var(--ease);
}
:is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .profile:hover img { transform: scale(1.03); }
:is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .profile figcaption {
  background: none; border: 0;
  padding: 1.5rem 0 0;
}
:is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .profile figcaption::before { content: none; }
:is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .profile figcaption strong {
  font-size: clamp(1.35rem, 2.6vw, 1.75rem); color: #fff; letter-spacing: -.3px;
}
:is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .profile figcaption span {
  display: inline-block;
  margin-top: .7rem;
  padding: .42rem 1.1rem;
  border-radius: 999px;
  background: var(--grad-gold);
  color: var(--navy);
  font-size: .74rem; letter-spacing: .08em;
  box-shadow: var(--glow-gold);
}

/* the letter itself */
:is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose > p {
  margin-inline: clamp(1.2rem, 4vw, 2.8rem);
  font-size: 1.04rem;
  line-height: 1.85;
  color: #33415c;
}
/* opening paragraph: large gold quote mark and a stronger voice */
:is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .profile + p {
  position: relative;
  padding-top: 2.6rem;
  font-size: 1.16rem;
  color: var(--navy);
  font-weight: 500;
}
:is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .profile + p::before {
  content: "\201C";
  position: absolute; top: -.6rem; left: -.2rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 5.5rem; line-height: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
:is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .profile + p.lead {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem); font-weight: 800;
}
:is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose a {
  color: var(--navy-600); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px;
}

/* signature block */
:is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .signoff {
  position: relative;
  margin-top: 2.2rem;
  padding: 1.3rem 0 0 1.2rem;
  border-top: 0;
}
:is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .signoff::before {
  content: ""; position: absolute; left: 0; top: 1.3rem; bottom: 0;
  width: 4px; border-radius: 4px; background: var(--grad-gold);
}
:is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .signoff strong { font-size: 1.15rem; }
:is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .signoff span { font-size: .9rem; font-weight: 600; color: var(--gold-deep); }

@media (max-width: 620px) {
  :is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .profile { padding: 2.2rem 1rem 1.8rem; }
  :is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .profile img { width: 210px; height: 210px; }
  :is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose > p { font-size: 1rem; line-height: 1.75; }
  :is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .profile + p { font-size: 1.04rem; }
  :is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .profile + p.lead { font-size: 1.2rem; }
}

/* Leadership messages — portrait in a left column, message on the right
   (added 2026-11-24; overrides the stacked layout above on wide screens). */
@media (min-width: 901px) {
  :is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose {
    max-width: 1140px;
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    align-items: start;
    padding-bottom: 0;
    background:
      linear-gradient(90deg, transparent 0 340px, #fff 340px),
      radial-gradient(300px 260px at 20% 0%, rgba(224, 177, 60, .22), transparent 70%),
      repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 16px),
      var(--grad-hero);
  }
  :is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose > * {
    grid-column: 2;
  }
  :is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .profile {
    grid-column: 1;
    grid-row: 1 / span 30;
    position: sticky; top: 120px;
    margin: 0;
    padding: 3rem 1.6rem 2.6rem;
    background: none;
    border-bottom: 0;
  }
  :is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .profile img {
    width: 250px; height: 250px;
  }
  :is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .profile figcaption strong {
    font-size: 1.45rem;
  }
  :is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose > p {
    margin-inline: 3rem;
  }
  :is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .profile + p {
    margin-top: 2.6rem;
  }
  :is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .signoff {
    margin-bottom: 3rem;
  }
}

/* Leadership messages — wide card with an even gap at both screen edges
   (added 2026-11-24). */
:is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) > .container {
  max-width: none;
  padding-inline: clamp(16px, 2.6vw, 44px);
}
:is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose {
  max-width: none;
  margin-inline: 0;   /* auto margins would stop it stretching inside the office grid */
}
@media (min-width: 901px) {
  :is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose {
    grid-template-columns: clamp(340px, 27vw, 460px) minmax(0, 1fr);
    background:
      linear-gradient(90deg, transparent 0 clamp(340px, 27vw, 460px), #fff clamp(340px, 27vw, 460px)),
      radial-gradient(300px 260px at 20% 0%, rgba(224, 177, 60, .22), transparent 70%),
      repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 16px),
      var(--grad-hero);
  }
  :is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose .profile img {
    width: clamp(250px, 20vw, 320px); height: clamp(250px, 20vw, 320px);
  }
  /* keep lines readable on very wide screens */
  :is([data-page="chairmans-message"], [data-page="vice-chancellor-message"], [data-page="pro-vice-chancellor"], [data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose > p {
    max-width: 1000px;
    margin-inline: clamp(2rem, 4vw, 4.5rem);
    font-size: clamp(1.04rem, 1.05vw, 1.12rem);
  }
}

/* Office heads (Directors, Registrar, Controller, QEC, Librarian, VC office) share the
   leadership-message layout above; their pages also carry headings, lists and cards,
   which get the same side margins as the paragraphs (added 2026-11-24). */
:is([data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose > :is(h2, h3, h4, ul, ol, table, div, blockquote) {
  margin-inline: clamp(1.2rem, 4vw, 2.8rem);
}
@media (min-width: 901px) {
  :is([data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose > :is(h2, h3, h4, ul, ol, table, div, blockquote) {
    max-width: 1000px;
    margin-inline: clamp(2rem, 4vw, 4.5rem);
  }
  :is([data-page="vice-chancellor"], [data-page="registrar-office"], [data-page="controller-examination-office"], [data-page="directorate-of-academics"], [data-page="directorate-of-student-affairs"], [data-page="admission-office"], [data-page="qec"], [data-page="library"]) .prose > :last-child { margin-bottom: 3rem; }
}

/* Board of Governors: chairman badge sits under the photo, not on top of it (2026-11-24) */
.prose .bog-featured { padding-top: 2.2rem; }
.prose .bog-featured .badge {
  position: static;
  transform: none;
  align-self: center;
  margin: 1.1rem auto 0;
}

/* ===========================================================================
   Offices pages — wider text column, one paragraph style (added 2026-11-25).
   Applies to every page rendered by pages/office.blade.php (.offpg): the
   Offices menu and their sub-pages. Side columns are trimmed moderately —
   Quick Links 344 → ~300px, the officer's photo column 369 → ~314px at 1366px.
   =========================================================================== */
.offpg[data-page] > .container {
  max-width: none;
  padding-inline: clamp(16px, 2.6vw, 44px);
}
@media (min-width: 981px) {
  .offpg[data-page] .offpg__grid {
    grid-template-columns: minmax(0, 1fr) clamp(280px, 21vw, 320px);
    gap: clamp(24px, 2.3vw, 36px);
  }
  .offpg[data-page] .offpg__grid--wide { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 901px) {
  /* officer pages: slimmer navy photo column */
  .offpg[data-page] .offpg__main.prose:has(> .profile) {
    grid-template-columns: clamp(290px, 23vw, 400px) minmax(0, 1fr);
    background:
      linear-gradient(90deg, transparent 0 clamp(290px, 23vw, 400px), #fff clamp(290px, 23vw, 400px)),
      radial-gradient(300px 260px at 20% 0%, rgba(224, 177, 60, .22), transparent 70%),
      repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 16px),
      var(--grad-hero);
  }
  .offpg[data-page] .offpg__main.prose > .profile { padding-inline: 1.2rem; }
  .offpg[data-page] .offpg__main.prose > .profile img {
    width: clamp(220px, 17vw, 290px); height: clamp(220px, 17vw, 290px);
  }
  .offpg[data-page] .offpg__main.prose:has(> .profile) > :not(.profile) {
    max-width: none;
    margin-inline: clamp(1.6rem, 3vw, 3.4rem);
  }
}

/* one paragraph style everywhere: same size, weight and colour, justified */
.offpg[data-page] .offpg__main > p,
.offpg[data-page] .offpg__main > p.lead,
.offpg[data-page] .offpg__main > .profile + p,
.offpg[data-page] .offpg__main.prose > .profile + p.lead,
.offpg[data-page] .offpg__main > ul > li,
.offpg[data-page] .offpg__main > ol > li {
  font-family: inherit;
  font-size: 1.04rem;
  font-weight: 400;
  line-height: 1.8;
  color: #33415c;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}
/* the site-wide .lead rule uses !important, so the override must too */
.offpg[data-page] .offpg__main > p.lead { font-size: 1.04rem !important; color: #33415c !important; }
@media (max-width: 620px) {
  .offpg[data-page] .offpg__main > p.lead { font-size: 1rem !important; }
  .offpg[data-page] .offpg__main > p,
  .offpg[data-page] .offpg__main > ul > li,
  .offpg[data-page] .offpg__main > ol > li { font-size: 1rem; text-align: left; hyphens: manual; }
}

/* 2026-11-30: GAUS Events menu — its second-level lists (Gaus Events ›, 3rd National Workshop ›, …)
   opened to the right and ran off the screen. Desktop only: open them to the LEFT for this tab.
   Backup: ~/gaus-move-2026-11-30/backup/style.css.before-events-menu */
@media (min-width: 761px) {
  .nav__item:has(> .nav__link[href$="/page/gaus-events"]) .nav__sub {
    left: auto; right: 100%; transform: translateX(-8px);
  }
  .nav__item:has(> .nav__link[href$="/page/gaus-events"]) .nav__has-sub:hover > .nav__sub {
    transform: translateX(0);
  }
  .nav__item:has(> .nav__link[href$="/page/gaus-events"]) .nav__sub::before {
    left: auto; right: -14px;
  }
  .nav__item:has(> .nav__link[href$="/page/gaus-events"]) .nav__has-sub > .nav__sub-toggle .nav__caret {
    transform: scaleX(-1);
  }
  .nav__item:has(> .nav__link[href$="/page/gaus-events"]) .nav__has-sub:hover > .nav__sub-toggle .nav__caret {
    transform: scaleX(-1) translateX(3px);
  }
}
