/* ==========================================================================
   Techno Global University, Sironj — Modern theme
   Self-contained: no Bootstrap / jQuery required.
   ========================================================================== */

/* Self-hosted fonts (latin, variable) — no render-blocking request to Google */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/plus-jakarta-sans.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../fonts/fraunces.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/fraunces-italic.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy-950: #050d1f;
  --navy-900: #081630;
  --navy-800: #0c2045;
  --navy-700: #14305f;
  --navy-600: #1f4380;
  --red: #e3242b;
  --red-600: #c91c23;
  --red-700: #a8161c;
  --gold: #d6aa55;
  --gold-soft: #f3e6c8;
  --ink: #0e1726;
  --body: #3d4658;
  --muted: #6b7386;
  --line: #e4e7ee;
  --line-dark: rgba(255, 255, 255, .12);
  --bg: #ffffff;
  --bg-soft: #f5f6fa;
  --cream: #fbf8f2;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(8, 22, 48, .06), 0 2px 8px rgba(8, 22, 48, .05);
  --shadow: 0 10px 30px -12px rgba(8, 22, 48, .22);
  --shadow-lg: 0 30px 60px -24px rgba(8, 22, 48, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --container: 1240px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; color: var(--ink); line-height: 1.2; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--gold); color: var(--navy-950); padding: 10px 18px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.icon { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { display: none; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--gold); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 48px);
  letter-spacing: -.015em;
  line-height: 1.12;
  color: var(--ink);
}
.display em { font-style: italic; color: var(--red); font-weight: 500; }
.display--light { color: #fff; }
.display--light em { color: var(--gold); }
.lead { font-size: 18px; color: var(--muted); max-width: 62ch; }
.text-center { text-align: center; }
.text-center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: .01em; line-height: 1;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(227, 36, 43, .7); }
.btn--primary:hover { background: var(--red-600); transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--navy-950); }
.btn--gold:hover { background: #e2b965; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--navy-900); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 13.5px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--red); }
.link-arrow:hover { color: var(--red-700); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow .icon { transition: transform .25s var(--ease); }

/* ==========================================================================
   Top bar + Header
   ========================================================================== */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, .78); font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar__links, .topbar__contact { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; list-style: none; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: var(--gold); }
.topbar__badge { color: #fff; background: var(--red); padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: 12px; letter-spacing: .02em; }
.topbar__badge:hover { background: var(--red-600); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 22, 48, .97);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
@supports (backdrop-filter: blur(10px)) {
  .site-header { background: rgba(8, 22, 48, .88); backdrop-filter: saturate(160%) blur(14px); }
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .6); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.is-scrolled .site-header__inner { height: 70px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 56px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand img { height: 48px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 13px; border-radius: 10px;
  color: rgba(255, 255, 255, .86); font-weight: 600; font-size: 14.5px;
  background: none; border: 0;
  position: relative;
}
.nav__link .icon { width: 14px; height: 14px; transition: transform .25s var(--ease); opacity: .7; }
.nav__link::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: var(--red); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__item:hover > .nav__link, .nav__link:focus-visible { color: #fff; }
.nav__item:hover > .nav__link::after, .nav__item.active > .nav__link::after, .nav__item.is-current > .nav__link::after { transform: scaleX(1); }
.nav__item.active > .nav__link, .nav__item.is-current > .nav__link { color: #fff; }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 250px;
  list-style: none; padding: 10px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item:hover > .dropdown, .nav__item:focus-within > .dropdown, .nav__item.is-open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item:hover > .nav__link .icon, .nav__item.is-open > .nav__link .icon { transform: rotate(180deg); }
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  color: var(--ink); font-size: 14.5px; font-weight: 600;
}
.dropdown a .icon { width: 16px; height: 16px; color: var(--muted); }
.dropdown a:hover, .dropdown li.active > a { background: var(--bg-soft); color: var(--red); }
.dropdown a:hover .icon { color: var(--red); }
.dropdown__tag { margin-left: auto; font-size: 10.5px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }

.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255, 255, 255, .08); border: 1px solid var(--line-dark); color: #fff;
  align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }

/* ==========================================================================
   Hero slider (home)
   ========================================================================== */
.hero { position: relative; background: var(--navy-950); color: #fff; overflow: hidden; isolation: isolate; }
.hero__slides { position: relative; height: clamp(520px, 78vh, 760px); }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 1.1s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transform: scale(1.08); transition: transform 7s linear; }
.hero__slide.is-active img { transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 13, 31, .92) 0%, rgba(5, 13, 31, .72) 38%, rgba(5, 13, 31, .15) 75%),
    linear-gradient(0deg, rgba(5, 13, 31, .7) 0%, rgba(5, 13, 31, 0) 40%);
}
.hero__content { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.hero__copy { max-width: 640px; padding: 40px 0 90px; }
.hero__title {
  font-family: var(--font-display); font-weight: 600; color: #fff;
  font-size: clamp(38px, 5.4vw, 72px); line-height: 1.04; letter-spacing: -.02em; margin-bottom: 22px;
}
.hero__title em { font-style: italic; font-weight: 500; color: var(--gold); }
.hero__text { font-size: clamp(16px, 1.4vw, 19px); color: rgba(255, 255, 255, .82); max-width: 54ch; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; list-style: none; }
.hero__badges li {
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px);
}
.hero__controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: 34px; }
.hero__controls .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hero__dots { display: flex; gap: 8px; }
.hero__dot { width: 34px; height: 4px; border-radius: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, .3); transition: background .3s, width .3s var(--ease); }
.hero__dot.is-active { background: var(--red); width: 56px; }
.hero__arrows { display: flex; gap: 10px; }
.hero__arrow {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s, border-color .25s;
}
.hero__arrow:hover { background: var(--red); border-color: var(--red); }

/* ---------- Announcement ticker ---------- */
.ticker { background: var(--red); color: #fff; overflow: hidden; }
.ticker__inner { display: flex; align-items: stretch; }
.ticker__label {
  flex: none; display: flex; align-items: center; gap: 8px;
  padding: 0 22px 0 0; margin-right: 22px; font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  border-right: 1px solid rgba(255, 255, 255, .3);
}
.ticker__label .icon { width: 18px; height: 18px; }
.ticker__viewport { overflow: hidden; flex: 1; min-width: 0; padding: 13px 0; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__track { display: inline-flex; gap: 60px; white-space: nowrap; animation: ticker 45s linear infinite; }
.ticker__track p { margin: 0; font-weight: 500; font-size: 15px; }
.ticker__track .marquee-clr { color: var(--gold-soft); font-weight: 700; margin: 0 6px; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy-900); color: rgba(255, 255, 255, .78); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--tight { padding: clamp(50px, 6vw, 80px) 0; }
.section__head { margin-bottom: clamp(36px, 5vw, 60px); }
.section__head.text-center { max-width: 760px; margin-left: auto; margin-right: auto; }
.section__head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.media-frame:hover img { transform: scale(1.04); }
.media-deco { position: absolute; z-index: -1; width: 62%; aspect-ratio: 1; border-radius: var(--radius-lg); background: repeating-linear-gradient(45deg, var(--gold-soft) 0 2px, transparent 2px 12px); }
.media-deco--br { right: -26px; bottom: -26px; }
.media-deco--tl { left: -26px; top: -26px; }
.media-badge {
  position: absolute; left: -22px; bottom: 32px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 22px; display: flex; align-items: center; gap: 14px; max-width: 260px;
}
.media-badge__num { font-family: var(--font-display); font-size: 38px; font-weight: 700; color: var(--red); line-height: 1; }
.media-badge__txt { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.split--reverse .media-badge { left: auto; right: -22px; }

.prose p { color: var(--body); }
.prose p + p { margin-top: .2em; }
.check-list { list-style: none; display: grid; gap: 12px; margin: 22px 0 30px; }
.prose > .btn { margin-top: 8px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--red); margin-top: 4px; }

/* ---------- Trust / authenticity notice ---------- */
.notice-card {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  background: linear-gradient(135deg, #fff 0%, var(--cream) 100%);
  border: 1px solid #efe3c8; border-left: 5px solid var(--gold);
  border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow-sm);
}
.notice-card__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--navy-900); color: var(--gold); display: grid; place-items: center; }
.notice-card__icon .icon { width: 26px; height: 26px; }
.notice-card h2 { font-size: 18px; margin-bottom: 8px; }
.notice-card p { margin: 0; font-size: 15px; }
.notice-card a { color: var(--red); font-weight: 700; border-bottom: 1px solid currentColor; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--navy-900); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.stat { padding: 34px 28px; color: rgba(255, 255, 255, .72); position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 1px; background: var(--line-dark); }
.stat__icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(214, 170, 85, .14); color: var(--gold); display: grid; place-items: center; margin-bottom: 18px; }
.stat__icon .icon { width: 22px; height: 22px; }
.stat__num { display: block; font-family: var(--font-display); font-size: clamp(32px, 3vw, 42px); font-weight: 600; color: #fff; line-height: 1.05; margin-bottom: 6px; }
.stat__label { font-size: 14px; font-weight: 500; }
.stats--overlap { margin-top: -70px; position: relative; z-index: 5; }

/* ---------- Feature / highlight card (recruitment notice) ---------- */
.feature-banner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow-lg); }
.feature-banner__copy { padding: clamp(32px, 5vw, 60px); color: rgba(255, 255, 255, .78); display: flex; flex-direction: column; justify-content: center; }
.feature-banner__copy h2 { color: #fff; }
.feature-banner__media { display: block; position: relative; background: #fff; }
.feature-banner__media img { width: 100%; height: 100%; object-fit: contain; max-height: 520px; transition: transform .6s var(--ease); }
.feature-banner__media:hover img { transform: scale(1.02); }
.zoom-hint {
  position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(8, 22, 48, .85); color: #fff; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px;
}

/* ---------- Leadership messages ---------- */
.leaders { display: grid; gap: 34px; }
.leader {
  display: grid; grid-template-columns: 380px 1fr; gap: 0;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.leader--reverse { grid-template-columns: 1fr 380px; }
.leader--reverse .leader__media { order: 2; }
.leader__media { position: relative; min-height: 320px; }
.leader__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.leader__body { padding: clamp(30px, 4vw, 52px); position: relative; }
.leader__quote { position: absolute; right: 34px; top: 26px; width: 64px; height: 64px; color: var(--gold-soft); }
.leader__role { font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.leader__title { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; margin-bottom: 18px; }
.leader__body p { font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 400px at 85% -10%, rgba(227, 36, 43, .55), transparent 60%), linear-gradient(120deg, var(--navy-950), var(--navy-700));
  color: rgba(255, 255, 255, .8);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 26px 26px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.cta-band__inner { display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; }
.cta-band h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.6vw, 50px); color: #fff; line-height: 1.1; margin-bottom: 16px; }
.cta-band h2 span { color: var(--gold); font-style: italic; font-weight: 500; }
.cta-band p { max-width: 62ch; margin: 0; }
.cta-band__note { display: inline-block; margin-top: 18px !important; color: var(--gold-soft); font-weight: 700; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Mission / Vision ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.mv-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mv-card__media { aspect-ratio: 2 / 1; overflow: hidden; background: var(--bg-soft); }
.mv-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mv-card:hover .mv-card__media img { transform: scale(1.05); }
.mv-card__body { padding: 30px 32px 34px; display: flex; flex-direction: column; flex: 1; }
.mv-card__body h3 { font-family: var(--font-display); font-size: 28px; font-weight: 600; }
.mv-card__body h3 span { color: var(--red); font-style: italic; font-weight: 500; }
.mv-card__body p { flex: 1; }

/* ---------- Approvals ---------- */
.logo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.logo-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px;
  display: grid; place-items: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.logo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.logo-card img { max-height: 150px; width: auto; object-fit: contain; }

/* ---------- Programs ---------- */
.program-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.program-grid--tech { grid-template-columns: repeat(3, 1fr); }
.program {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 18px;
  padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, background .35s;
}
.program::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.program:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.program:hover::after { transform: scaleX(1); }
.program__icon { width: 52px; height: 52px; border-radius: 14px; background: #fdecec; color: var(--red); display: grid; place-items: center; }
.program__icon .icon { width: 26px; height: 26px; }
.program h3 { font-size: 19px; margin: 0; }
.program__meta { font-size: 13px; color: var(--muted); font-weight: 600; }
.program--dark { background: rgba(255, 255, 255, .04); border-color: var(--line-dark); }
.program--dark h3 { color: #fff; }
.program--dark .program__icon { background: rgba(214, 170, 85, .14); color: var(--gold); }
.program--dark .program__meta { color: rgba(255, 255, 255, .6); }
.program--dark:hover { background: rgba(255, 255, 255, .08); box-shadow: none; }
.program__tag { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-950); background: var(--gold); border-radius: 6px; padding: 3px 8px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid--home .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); aspect-ratio: 3 / 2; }
.gallery-grid--home .gallery-item:nth-child(1) { aspect-ratio: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 22, 48, .7), rgba(8, 22, 48, 0) 60%);
  opacity: 0; transition: opacity .35s var(--ease);
}
.gallery-item__zoom {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 54px; height: 54px; border-radius: 50%;
  background: #fff; color: var(--red); display: grid; place-items: center;
  transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.07); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.gallery-item:hover .gallery-item__zoom, .gallery-item:focus-visible .gallery-item__zoom { transform: translate(-50%, -50%) scale(1); opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center;
  background: rgba(5, 13, 31, .94); padding: 70px 80px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); object-fit: contain; }
.lightbox__btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; transition: background .2s;
}
.lightbox__btn:hover { background: var(--red); border-color: var(--red); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .7); font-size: 14px; font-weight: 600; letter-spacing: .1em; }
body.no-scroll { overflow: hidden; }

/* ---------- Map ---------- */
.map-wrap { position: relative; line-height: 0; filter: grayscale(.25); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; background: var(--navy-900); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(900px 300px at 90% 0%, rgba(227, 36, 43, .45), transparent 60%), linear-gradient(90deg, rgba(5, 13, 31, .95), rgba(5, 13, 31, .55));
}
.page-hero__inner { padding-block: clamp(70px, 9vw, 120px) clamp(50px, 6vw, 80px); }
.page-hero h1 { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: clamp(36px, 5vw, 64px); letter-spacing: -.02em; margin-bottom: 18px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; font-size: 14px; color: rgba(255, 255, 255, .7); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: var(--gold); font-weight: 600; }

/* About inner */
.about-feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.about-feature { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--bg-soft); font-weight: 600; color: var(--ink); font-size: 14.5px; }
.about-feature .icon { color: var(--red); width: 20px; height: 20px; }

.tig-logo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.tig-logo img { max-height: 220px; width: auto; }

/* Doc list (approvals, documents, statutes) */
.doc-list { list-style: none; display: grid; gap: 14px; }
.doc {
  display: flex; align-items: center; gap: 18px; padding: 20px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.doc:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; }
.doc__icon { width: 48px; height: 48px; border-radius: 12px; background: #fdecec; color: var(--red); display: grid; place-items: center; flex: none; }
.doc__icon .icon { width: 24px; height: 24px; }
.doc__title { font-weight: 700; color: var(--ink); line-height: 1.35; }
.doc__meta { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.doc__go { margin-left: auto; color: var(--muted); transition: color .2s, transform .25s var(--ease); }
.doc:hover .doc__go { color: var(--red); transform: translate(3px, -3px); }

.side-card { background: var(--navy-900); color: rgba(255, 255, 255, .78); border-radius: var(--radius-lg); padding: 34px; position: sticky; top: 110px; }
.side-card h3 { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 24px; }
.side-card .btn { margin-top: 14px; }

.layout-aside { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }

/* Facilities */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.facility { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.facility:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.facility__media { aspect-ratio: 3 / 2; overflow: hidden; display: block; }
.facility__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.facility:hover .facility__media img { transform: scale(1.06); }
.facility__body { padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.facility__body h3 { font-size: 18px; margin: 0; }
.facility__num { font-family: var(--font-display); font-size: 15px; color: var(--red); font-weight: 700; }

/* Academics */
.dept-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.dept { display: grid; grid-template-columns: 220px 1fr; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.dept:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.dept__media { overflow: hidden; }
.dept__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dept:hover .dept__media img { transform: scale(1.06); }
.dept__body { padding: 26px 28px; }
.dept__body h3 { font-size: 17px; letter-spacing: .04em; margin-bottom: 10px; }
.dept__body p { font-size: 14.5px; margin: 0; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 15px; }
.data-table th {
  text-align: left; background: var(--navy-900); color: #fff; font-weight: 700; font-size: 12.5px;
  letter-spacing: .08em; text-transform: uppercase; padding: 16px 18px; white-space: nowrap;
}
.data-table td { padding: 15px 18px; border-top: 1px solid var(--line); color: var(--ink); vertical-align: middle; }
.data-table tbody tr:nth-child(even) td { background: #fafbfd; }
.data-table tbody tr:hover td { background: #fff5f5; }
.data-table td:first-child { color: var(--muted); font-weight: 600; width: 70px; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .06em; background: var(--bg-soft); color: var(--navy-700); }
.pill--pg { background: #e9efff; color: #1f4380; }
.pill--ug { background: #fdecec; color: var(--red-700); }
.seat { font-weight: 800; color: var(--ink); }
.table-actions { display: flex; justify-content: center; margin: 34px 0 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.contact-card__icon { width: 58px; height: 58px; border-radius: 16px; background: var(--navy-900); color: var(--gold); display: grid; place-items: center; margin-bottom: 22px; }
.contact-card__icon .icon { width: 26px; height: 26px; }
.contact-card h3 { font-size: 19px; margin-bottom: 8px; }
.contact-card p, .contact-card address { margin: 0; color: var(--body); word-break: break-word; }
.contact-card a:hover { color: var(--red); }

/* Tabs (placements) */
.tabs { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.tabs__list { list-style: none; display: grid; gap: 8px; background: var(--bg-soft); padding: 10px; border-radius: var(--radius); position: sticky; top: 110px; }
.tabs__btn {
  width: 100%; text-align: left; border: 0; background: transparent; padding: 14px 18px; border-radius: 12px;
  font-weight: 700; color: var(--body); display: flex; align-items: center; justify-content: space-between; gap: 10px;
  transition: background .2s, color .2s, box-shadow .2s;
}
.tabs__btn:hover { color: var(--ink); background: rgba(255, 255, 255, .6); }
.tabs__btn[aria-selected="true"] { background: #fff; color: var(--red); box-shadow: var(--shadow-sm); }
.tabs__panel[hidden] { display: none; }
.tabs__panel { animation: fadeUp .5s var(--ease); }
.tabs__panel img { border-radius: var(--radius); margin: 10px 0 24px; box-shadow: var(--shadow); width: 100%; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Notice page */
.notice-list { list-style: none; display: grid; gap: 18px; }
.notice-item { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 24px 26px; }
.notice-item h3 { font-size: 18px; }
.notice-item span { display: block; margin-bottom: 6px; }
.notice-item b { color: var(--red); margin-right: 4px; }

/* Vision list */
.vision-list { list-style: none; display: grid; gap: 14px; margin-top: 20px; }
.vision-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 500; }
.vision-list__num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; }

/* Counter stats (About TIG) */
.stats--light { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.stats--light .stat { color: var(--muted); }
.stats--light .stat__num { color: var(--ink); }
.stats--light .stat + .stat::before { background: var(--line); }
.stats--light .stat__icon { background: #fdecec; color: var(--red); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .66); position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; right: -200px; top: -200px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 36, 43, .22), transparent 65%); pointer-events: none;
}
.footer-cta { border-bottom: 1px solid var(--line-dark); padding: 54px 0; }
.footer-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-cta h2 { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: clamp(26px, 3vw, 38px); margin: 0; }
.footer-cta h2 em { color: var(--gold); font-weight: 500; }
.footer-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 50px; padding: 70px 0 54px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 22px; }
.footer-brand p { font-size: 15px; max-width: 40ch; }
.footer-col h3 { color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.footer-links { list-style: none; display: grid; gap: 11px; }
.footer-links a { font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: ""; width: 0; height: 2px; background: var(--red); transition: width .25s var(--ease); }
.footer-links a:hover { color: #fff; }
.footer-links a:hover::before { width: 12px; }
.footer-contact { list-style: none; display: grid; gap: 16px; font-size: 15px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--gold); margin-top: 4px; }
.footer-contact a { word-break: break-word; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 22px 0; font-size: 14px; }
.footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* Floating actions */
.fab-group { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fab {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 0;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); transition: transform .25s var(--ease), opacity .3s, visibility .3s;
}
.fab:hover { transform: translateY(-3px); }
.fab--call { background: var(--red); color: #fff; }
.fab--top { background: #fff; color: var(--navy-900); opacity: 0; visibility: hidden; }
.fab--top.is-visible { opacity: 1; visibility: visible; }
.fab .icon { width: 22px; height: 22px; }

/* ==========================================================================
   Reveal animations
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .1s; }
.js [data-reveal="3"] { transition-delay: .2s; }
.js [data-reveal="4"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ticker__track { animation: none; white-space: normal; display: block; }
  .ticker__track p[aria-hidden] { display: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .nav__link { padding: 10px 9px; font-size: 14px; }
  .nav__link::after { left: 9px; right: 9px; }
  .header-cta .btn--ghost { display: none; }
}

@media (max-width: 1080px) {
  :root { --header-h: 74px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); z-index: 200;
    background: var(--navy-950); padding: 90px 20px 30px; overflow-y: auto;
    transform: translateX(100%); transition: transform .4s var(--ease); margin: 0;
    box-shadow: -30px 0 60px rgba(0, 0, 0, .4);
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 14px; font-size: 16px; border-radius: 12px; }
  .nav__link::after { display: none; }
  .nav__item.active > .nav__link, .nav__item.is-current > .nav__link { background: rgba(255, 255, 255, .06); color: var(--gold); }
  .dropdown {
    position: static; transform: none !important; opacity: 1; visibility: visible; min-width: 0;
    background: rgba(255, 255, 255, .04); border: 0; box-shadow: none; padding: 4px 6px; margin: 4px 0 8px;
    display: none;
  }
  .nav__item:hover > .dropdown { display: none; }
  .nav__item.is-open > .dropdown { display: block; }
  .nav__item:hover > .nav__link .icon { transform: none; }
  .nav__item.is-open > .nav__link .icon { transform: rotate(180deg); }
  .dropdown a { color: rgba(255, 255, 255, .78); }
  .dropdown a .icon { color: rgba(255, 255, 255, .45); }
  .dropdown a:hover, .dropdown li.active > a { background: rgba(255, 255, 255, .06); color: #fff; }
  .dropdown__tag { color: rgba(255, 255, 255, .5); border-color: var(--line-dark); }
  .nav__close {
    position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 12px;
    background: rgba(255, 255, 255, .08); border: 1px solid var(--line-dark); color: #fff; display: grid; place-items: center;
  }
  .nav-backdrop { position: fixed; inset: 0; z-index: 150; background: rgba(5, 13, 31, .6); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
  .nav__mobile-extra { display: grid; gap: 10px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line-dark); }

  .program-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .leader, .leader--reverse { grid-template-columns: 1fr; }
  .leader--reverse .leader__media { order: 0; }
  .leader__media { min-height: 0; aspect-ratio: 16 / 9; }
  .dept { grid-template-columns: 1fr; }
  .dept__media { aspect-ratio: 2 / 1; }
}
@media (min-width: 1081px) { .nav__close, .nav-backdrop, .nav__mobile-extra { display: none; } }

@media (max-width: 900px) {
  .topbar__links { display: none; }
  .topbar__inner { justify-content: center; }
  .split, .split--reverse, .layout-aside, .feature-banner, .cta-band__inner, .tabs { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .mv-grid, .dept-grid { grid-template-columns: 1fr; }
  .card-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid--home .gallery-item:nth-child(1) { grid-column: span 3; grid-row: auto; aspect-ratio: 16 / 9; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
  .side-card, .tabs__list { position: static; }
  .tabs__list { grid-auto-flow: column; overflow-x: auto; }
  .media-badge { left: 16px; bottom: 16px; }
  .split--reverse .media-badge { right: 16px; }
  .media-deco { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding: 0 18px; }
  .topbar__contact li:last-child { display: none; }
  .brand img { height: 46px; }
  .header-cta .btn--primary { padding: 10px 14px; font-size: 13px; }
  .hero__slides { height: 620px; }
  .hero::after { background: linear-gradient(0deg, rgba(5, 13, 31, .95) 0%, rgba(5, 13, 31, .7) 55%, rgba(5, 13, 31, .35) 100%); }
  .hero__content { align-items: flex-end; }
  .hero__copy { padding-bottom: 110px; }
  .hero__arrows { display: none; }
  .stats, .stats--light { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 18px; }
  .stats--overlap { margin-top: -40px; }
  .program-grid, .program-grid--tech { grid-template-columns: 1fr 1fr; }
  .logo-row { grid-template-columns: 1fr; }
  .card-grid, .contact-grid, .about-feature-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-grid--home .gallery-item:nth-child(1) { grid-column: span 2; }
  .notice-card { grid-template-columns: 1fr; padding: 22px; }
  .footer-main { grid-template-columns: 1fr; }
  .lightbox { padding: 70px 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; }
  .ticker__label span { display: none; }
  .ticker__label { padding-right: 14px; margin-right: 14px; }
  .doc { padding: 16px; gap: 14px; }
  .fab-group { right: 14px; bottom: 14px; }
}

@media print {
  .topbar, .site-header, .fab-group, .hero__controls, .ticker, .map-wrap, .footer-cta { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

[id] { scroll-margin-top: 110px; }

/* Hero controls sit above the overlapping stats card */
.hero__controls { bottom: 104px; }
@media (max-width: 640px) { .hero__controls { bottom: 64px; } .hero__copy { padding-bottom: 130px; } }
html, body { overflow-x: clip; }

/* ==========================================================================
   Header width fixes (1080px – 1500px)
   ========================================================================== */
.topbar .container,
.site-header .container { max-width: 1440px; }
.brand, .header-cta { flex: none; }
.nav { flex: 0 0 auto; }

/* Student Login: in header only on wide screens, otherwise in the top bar */
.topbar__login { display: none; }
@media (max-width: 1399px) {
  .header-cta .btn--ghost { display: none; }
  .topbar__login { display: inline-flex; }
  .site-header__inner { gap: 18px; }
}
@media (min-width: 1081px) and (max-width: 1240px) {
  .nav__link { padding: 10px 8px; font-size: 13.5px; }
  .nav__link::after { left: 8px; right: 8px; }
  .brand img { height: 50px; }
  .site-header__inner { gap: 14px; }
}
@media (max-width: 1199px) { .topbar__contact li:last-child { display: none; } }

.container--narrow { max-width: 960px; }
/* Slider controls sit above the overlapping stats card */
.hero__controls { bottom: 104px; }
@media (max-width: 640px) { .hero__controls { bottom: 64px; } .hero__copy { padding-bottom: 130px; } }

/* ==========================================================================
   Compact spacing
   ========================================================================== */
.section { padding: clamp(48px, 6vw, 80px) 0; }
.section--tight { padding: clamp(32px, 4vw, 50px) 0; }
.section__head { margin-bottom: clamp(24px, 3.2vw, 40px); }
.split { gap: clamp(28px, 4.5vw, 64px); }
.leaders { gap: 24px; }
.leader__body { padding: clamp(24px, 3vw, 40px); }
.page-hero__inner { padding-block: clamp(50px, 6.5vw, 84px) clamp(36px, 4.5vw, 56px); }
.page-hero h1 { margin-bottom: 12px; }
.mv-grid, .dept-grid, .card-grid, .contact-grid { gap: 22px; }
.mv-card__body { padding: 24px 26px 26px; }
.program { padding: 24px 22px; gap: 14px; }
.logo-card { padding: 26px; }
.contact-card { padding: 28px 26px; }
.stats--overlap { margin-top: -60px; }
.stat { padding: 28px 26px; }
.stat__icon { margin-bottom: 14px; }
.footer-main { padding: 56px 0 40px; gap: 40px; }
.notice-card { padding: 24px 26px; }
.display { margin-bottom: .45em; }
.eyebrow { margin-bottom: 10px; }
.cta-band__note { margin-top: 12px !important; }

/* ==========================================================================
   Professional card hover (no underline): soft lift, tinted border,
   layered shadow, icon fills with brand colour
   ========================================================================== */
.program::after { display: none; }

.program, .mv-card, .logo-card, .facility, .dept, .contact-card, .doc, .notice-item {
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.program:hover, .mv-card:hover, .logo-card:hover, .facility:hover,
.dept:hover, .contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 36, 43, .22);
  box-shadow: 0 1px 2px rgba(8, 22, 48, .04), 0 14px 32px -14px rgba(8, 22, 48, .22), 0 0 0 4px rgba(227, 36, 43, .04);
}
.doc:hover { transform: translateY(-2px); border-color: rgba(227, 36, 43, .22); box-shadow: 0 14px 30px -16px rgba(8, 22, 48, .25); }

/* icon tile fills on hover */
.program__icon, .doc__icon, .contact-card__icon, .stat__icon {
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.program:hover .program__icon, .doc:hover .doc__icon { background: var(--red); color: #fff; transform: scale(1.06); }
.contact-card:hover .contact-card__icon { background: var(--red); color: #fff; transform: scale(1.06); }
.program h3 { transition: color .3s var(--ease); }
.program:hover h3 { color: var(--red); }

/* dark (technology) cards */
.program--dark:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(214, 170, 85, .45);
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .6);
}
.program--dark:hover .program__icon { background: var(--gold); color: var(--navy-950); }
.program--dark:hover h3 { color: var(--gold); }

/* gentler image zoom inside cards */
.mv-card:hover .mv-card__media img, .facility:hover .facility__media img, .dept:hover .dept__media img { transform: scale(1.035); }
.logo-card img { transition: transform .35s var(--ease); }
.logo-card:hover img { transform: scale(1.04); }

/* stats: subtle icon highlight */
.stat:hover .stat__icon { background: var(--gold); color: var(--navy-950); }
.stats--light .stat:hover .stat__icon { background: var(--red); color: #fff; }

@media (hover: none) {
  .program:hover, .mv-card:hover, .logo-card:hover, .facility:hover, .dept:hover, .contact-card:hover, .doc:hover { transform: none; }
}

/* Active page inside dropdown: light red box */
.dropdown li.active > a,
.dropdown li.active > a:hover { background: #fdecec; color: var(--red); font-weight: 700; box-shadow: inset 0 0 0 1px rgba(227, 36, 43, .14); }
.dropdown li.active > a .icon { color: var(--red); }
@media (max-width: 1080px) {
  .dropdown li.active > a,
  .dropdown li.active > a:hover { background: rgba(227, 36, 43, .18); color: #fff; box-shadow: inset 0 0 0 1px rgba(227, 36, 43, .35); }
  .dropdown li.active > a .icon { color: #ff8a8f; }
}

/* Smoother hover motion */
.program, .mv-card, .logo-card, .facility, .dept, .contact-card, .doc, .notice-item, .gallery-item, .media-frame {
  transition-property: transform, box-shadow, border-color, background-color;
  transition-duration: .45s;
  transition-timing-function: cubic-bezier(.2, .7, .2, 1);
  transition-delay: 0s;
  backface-visibility: hidden;
}
@media (hover: hover) {
  .program, .mv-card, .logo-card, .facility, .dept, .contact-card, .doc { will-change: transform; }
}
.mv-card__media img, .facility__media img, .dept__media img, .gallery-item img, .media-frame img, .logo-card img {
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
  backface-visibility: hidden;
}

/* ==========================================================================
   Grid system — section > container > row > col > div
   (Bootstrap-style class names, no library needed; loop-friendly)
   ========================================================================== */
.row { --gx: 24px; --gy: 24px; display: flex; flex-wrap: wrap; margin-top: calc(var(--gy) * -1); margin-left: calc(var(--gx) * -.5); margin-right: calc(var(--gx) * -.5); }
.row > * { flex-shrink: 0; width: 100%; max-width: 100%; padding-left: calc(var(--gx) * .5); padding-right: calc(var(--gx) * .5); margin-top: var(--gy); }
.g-0 { --gx: 0px; --gy: 0px; }
.g-2 { --gx: 12px; --gy: 12px; }
.g-3 { --gx: 16px; --gy: 16px; }
.g-4 { --gx: 24px; --gy: 24px; }
.g-5 { --gx: 48px; --gy: 32px; }
.align-items-start { align-items: flex-start; }
.align-items-center { align-items: center; }
.align-items-end { align-items: flex-end; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.text-end { text-align: right; }
.col { flex: 1 0 0%; }
.col-auto { flex: 0 0 auto; width: auto; }
.col-1 { flex: 0 0 auto; width: 8.333333%; }
.col-2 { flex: 0 0 auto; width: 16.666667%; }
.col-3 { flex: 0 0 auto; width: 25%; }
.col-4 { flex: 0 0 auto; width: 33.333333%; }
.col-5 { flex: 0 0 auto; width: 41.666667%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-7 { flex: 0 0 auto; width: 58.333333%; }
.col-8 { flex: 0 0 auto; width: 66.666667%; }
.col-9 { flex: 0 0 auto; width: 75%; }
.col-10 { flex: 0 0 auto; width: 83.333333%; }
.col-11 { flex: 0 0 auto; width: 91.666667%; }
.col-12 { flex: 0 0 auto; width: 100%; }
.row-cols-1 > * { flex: 0 0 auto; width: 100%; }
.row-cols-2 > * { flex: 0 0 auto; width: 50%; }
.row-cols-3 > * { flex: 0 0 auto; width: 33.333333%; }
.row-cols-4 > * { flex: 0 0 auto; width: 25%; }
.row-cols-5 > * { flex: 0 0 auto; width: 20%; }
.row-cols-6 > * { flex: 0 0 auto; width: 16.666667%; }
.order-first { order: -1; }
.order-last { order: 6; }
.order-0 { order: 0; }
.text-end { text-align: right; }
.text-start { text-align: left; }
@media (min-width: 576px) {
  .col-sm { flex: 1 0 0%; }
  .col-sm-auto { flex: 0 0 auto; width: auto; }
  .col-sm-1 { flex: 0 0 auto; width: 8.333333%; }
  .col-sm-2 { flex: 0 0 auto; width: 16.666667%; }
  .col-sm-3 { flex: 0 0 auto; width: 25%; }
  .col-sm-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-sm-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-sm-6 { flex: 0 0 auto; width: 50%; }
  .col-sm-7 { flex: 0 0 auto; width: 58.333333%; }
  .col-sm-8 { flex: 0 0 auto; width: 66.666667%; }
  .col-sm-9 { flex: 0 0 auto; width: 75%; }
  .col-sm-10 { flex: 0 0 auto; width: 83.333333%; }
  .col-sm-11 { flex: 0 0 auto; width: 91.666667%; }
  .col-sm-12 { flex: 0 0 auto; width: 100%; }
  .row-cols-sm-1 > * { flex: 0 0 auto; width: 100%; }
  .row-cols-sm-2 > * { flex: 0 0 auto; width: 50%; }
  .row-cols-sm-3 > * { flex: 0 0 auto; width: 33.333333%; }
  .row-cols-sm-4 > * { flex: 0 0 auto; width: 25%; }
  .row-cols-sm-5 > * { flex: 0 0 auto; width: 20%; }
  .row-cols-sm-6 > * { flex: 0 0 auto; width: 16.666667%; }
  .order-sm-first { order: -1; }
  .order-sm-last { order: 6; }
  .order-sm-0 { order: 0; }
  .text-sm-end { text-align: right; }
  .text-sm-start { text-align: left; }
}
@media (min-width: 768px) {
  .col-md { flex: 1 0 0%; }
  .col-md-auto { flex: 0 0 auto; width: auto; }
  .col-md-1 { flex: 0 0 auto; width: 8.333333%; }
  .col-md-2 { flex: 0 0 auto; width: 16.666667%; }
  .col-md-3 { flex: 0 0 auto; width: 25%; }
  .col-md-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-md-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-7 { flex: 0 0 auto; width: 58.333333%; }
  .col-md-8 { flex: 0 0 auto; width: 66.666667%; }
  .col-md-9 { flex: 0 0 auto; width: 75%; }
  .col-md-10 { flex: 0 0 auto; width: 83.333333%; }
  .col-md-11 { flex: 0 0 auto; width: 91.666667%; }
  .col-md-12 { flex: 0 0 auto; width: 100%; }
  .row-cols-md-1 > * { flex: 0 0 auto; width: 100%; }
  .row-cols-md-2 > * { flex: 0 0 auto; width: 50%; }
  .row-cols-md-3 > * { flex: 0 0 auto; width: 33.333333%; }
  .row-cols-md-4 > * { flex: 0 0 auto; width: 25%; }
  .row-cols-md-5 > * { flex: 0 0 auto; width: 20%; }
  .row-cols-md-6 > * { flex: 0 0 auto; width: 16.666667%; }
  .order-md-first { order: -1; }
  .order-md-last { order: 6; }
  .order-md-0 { order: 0; }
  .text-md-end { text-align: right; }
  .text-md-start { text-align: left; }
}
@media (min-width: 992px) {
  .col-lg { flex: 1 0 0%; }
  .col-lg-auto { flex: 0 0 auto; width: auto; }
  .col-lg-1 { flex: 0 0 auto; width: 8.333333%; }
  .col-lg-2 { flex: 0 0 auto; width: 16.666667%; }
  .col-lg-3 { flex: 0 0 auto; width: 25%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.333333%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.666667%; }
  .col-lg-9 { flex: 0 0 auto; width: 75%; }
  .col-lg-10 { flex: 0 0 auto; width: 83.333333%; }
  .col-lg-11 { flex: 0 0 auto; width: 91.666667%; }
  .col-lg-12 { flex: 0 0 auto; width: 100%; }
  .row-cols-lg-1 > * { flex: 0 0 auto; width: 100%; }
  .row-cols-lg-2 > * { flex: 0 0 auto; width: 50%; }
  .row-cols-lg-3 > * { flex: 0 0 auto; width: 33.333333%; }
  .row-cols-lg-4 > * { flex: 0 0 auto; width: 25%; }
  .row-cols-lg-5 > * { flex: 0 0 auto; width: 20%; }
  .row-cols-lg-6 > * { flex: 0 0 auto; width: 16.666667%; }
  .order-lg-first { order: -1; }
  .order-lg-last { order: 6; }
  .order-lg-0 { order: 0; }
  .text-lg-end { text-align: right; }
  .text-lg-start { text-align: left; }
}
@media (min-width: 1200px) {
  .col-xl { flex: 1 0 0%; }
  .col-xl-auto { flex: 0 0 auto; width: auto; }
  .col-xl-1 { flex: 0 0 auto; width: 8.333333%; }
  .col-xl-2 { flex: 0 0 auto; width: 16.666667%; }
  .col-xl-3 { flex: 0 0 auto; width: 25%; }
  .col-xl-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-xl-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-xl-6 { flex: 0 0 auto; width: 50%; }
  .col-xl-7 { flex: 0 0 auto; width: 58.333333%; }
  .col-xl-8 { flex: 0 0 auto; width: 66.666667%; }
  .col-xl-9 { flex: 0 0 auto; width: 75%; }
  .col-xl-10 { flex: 0 0 auto; width: 83.333333%; }
  .col-xl-11 { flex: 0 0 auto; width: 91.666667%; }
  .col-xl-12 { flex: 0 0 auto; width: 100%; }
  .row-cols-xl-1 > * { flex: 0 0 auto; width: 100%; }
  .row-cols-xl-2 > * { flex: 0 0 auto; width: 50%; }
  .row-cols-xl-3 > * { flex: 0 0 auto; width: 33.333333%; }
  .row-cols-xl-4 > * { flex: 0 0 auto; width: 25%; }
  .row-cols-xl-5 > * { flex: 0 0 auto; width: 20%; }
  .row-cols-xl-6 > * { flex: 0 0 auto; width: 16.666667%; }
  .order-xl-first { order: -1; }
  .order-xl-last { order: 6; }
  .order-xl-0 { order: 0; }
  .text-xl-end { text-align: right; }
  .text-xl-start { text-align: left; }
}

/* ---------- Components adapted to row/col structure ---------- */
/* cards fill their column so every card in a row has equal height */
.row > * > .program, .row > * > .mv-card, .row > * > .logo-card, .row > * > .facility,
.row > * > .dept, .row > * > .contact-card, .row > * > .notice-item, .row > * > .stat,
.row > * > .gallery-item, .row > * > .doc { height: 100%; }
.row > * > .gallery-item { height: auto; }

/* stats: background on wrapper, items in columns */
.stats, .stats--light { display: block; }
.stats .row > * + * .stat::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 1px; background: var(--line-dark); }
.stats--light .row > * + * .stat::before { background: var(--line); }
.stat + .stat::before { display: none; }
@media (max-width: 991px) { .stats .row > :nth-child(odd) .stat::before { display: none; } }

/* blocks that used CSS grid now rely on row/col */
.footer-main { display: block; }
.cta-band__inner, .feature-banner__row { display: block; }
.cta-band__actions { align-items: stretch; }
@media (min-width: 992px) { .cta-band__actions { align-items: flex-end; } }
@media (max-width: 991px) { .cta-band__actions { flex-direction: row; flex-wrap: wrap; } }

/* section heads as rows */
.row.section__head { max-width: none; }
.section__head .col-12 > .display:last-child, .section__head [class*="col"] > .display:last-child { margin-bottom: 0; }

/* split media/text */
.split__media { position: relative; }
@media (max-width: 991px) { .media-deco { display: none; } }

/* documents as stacked cards */
.doc { height: auto; }

/* tabs */
.tabs__list { margin: 0; }
@media (max-width: 991px) { .tabs__list { position: static; grid-auto-flow: column; overflow-x: auto; } }

/* about TIG logo column */
.tig-logo { height: 100%; min-height: 260px; }

/* leaders */
.row > * > .leader { height: 100%; }

/* contact cards */
.contact-card { height: 100%; }

/* ---------- About TIG: wide photo + two-column text ---------- */
.media-frame--wide img { aspect-ratio: 1280 / 655; object-fit: cover; }
.tig-media .media-deco { width: 40%; }
.tig-text { margin-top: clamp(14px, 2vw, 26px); }
.tig-lead { font-size: 1.12em; color: var(--ink); line-height: 1.75; }
.tig-lead::first-letter {
  float: left; font-family: var(--font-display); font-weight: 600; color: var(--red);
  font-size: 3.6em; line-height: .82; margin: .08em .1em 0 0;
}
@media (min-width: 992px) {
  .tig-text > [class*="col"] + [class*="col"] .prose { border-left: 1px solid var(--line); padding-left: 32px; margin-left: -8px; }
}

/* ---------- 1081px – 1500px: slightly smaller content type ---------- */
@media (min-width: 1081px) and (max-width: 1500px) {
  body { font-size: 15px; }
  .prose p, .leader__body p, .mv-card__body p, .notice-item span { font-size: 15px; }
  .lead { font-size: 16.5px; }
  .display { font-size: clamp(28px, 2.7vw, 40px); }
  .hero__title { font-size: clamp(38px, 4.4vw, 60px); }
  .hero__text { font-size: 16.5px; }
  .leader__title { font-size: clamp(22px, 2vw, 28px); }
  .mv-card__body h3 { font-size: 24px; }
  .program h3 { font-size: 17px; }
  .dept__body p, .notice-card p { font-size: 14px; }
  .dept__body h3 { font-size: 15.5px; }
  .stat__num { font-size: clamp(28px, 2.5vw, 36px); }
  .stat__label { font-size: 13.5px; }
  .data-table { font-size: 14px; }
  .page-hero h1 { font-size: clamp(34px, 4vw, 54px); }
  .cta-band h2 { font-size: clamp(28px, 3vw, 42px); }
  .footer-brand p, .footer-links a, .footer-contact { font-size: 14px; }
  .contact-card h3, .facility__body h3 { font-size: 17px; }
  .tig-lead { font-size: 16px; }
}

/* ==========================================================================
   Scroll experience: progress bar, subtle reveal variants, parallax helpers
   ========================================================================== */
.scroll-progress {
  position: fixed; left: 0; top: 0; z-index: 300; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}
.hero__slides, .page-hero__bg { will-change: transform; }

/* softer, slightly longer base reveal */
.js [data-reveal] { transform: translateY(28px); transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].reveal-left:not(.is-in) { transform: translateX(-36px); }
.js [data-reveal].reveal-right:not(.is-in) { transform: translateX(36px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* images settle in (zoom-out) as they appear */
.js [data-reveal] .media-frame img,
.js [data-reveal] .mv-card__media img,
.js [data-reveal] .dept__media img,
.js [data-reveal] .facility__media img,
.js [data-reveal].col > .gallery-item img { transform: scale(1.1); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in .media-frame img,
.js [data-reveal].is-in .mv-card__media img,
.js [data-reveal].is-in .dept__media img,
.js [data-reveal].is-in .facility__media img,
.js [data-reveal].is-in.col > .gallery-item img { transform: scale(1); }

/* eyebrow line draws in */
.js [data-reveal] .eyebrow::before { transform: scaleX(0); transform-origin: left center; transition: transform .8s .25s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in .eyebrow::before { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .js [data-reveal] .media-frame img, .js [data-reveal] .eyebrow::before { transform: none; }
}

/* ==========================================================================
   Tablet / mobile menu fix
   backdrop-filter on the header turns it into the containing block for the
   fixed drawer (drawer got trapped inside the 74px header) and the dark
   backdrop sat on top of it. Use a solid header and keep the backdrop below it.
   ========================================================================== */
@media (max-width: 1080px) {
  .site-header { background: var(--navy-900); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav { height: 100vh; height: 100dvh; z-index: 220; }
  .nav-backdrop { z-index: 90; }
  .btn--ghost { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ==========================================================================
   Mobile type: paragraphs 14px, headings 2px smaller
   ========================================================================== */
@media (max-width: 767px) {
  p, .prose p, .hero__text, .lead, .leader__body p, .mv-card__body p, .dept__body p,
  .notice-card p, .contact-card p, .contact-card address, .notice-item span,
  .footer-brand p, .tig-lead, .cta-band p, .vision-list li, .check-list li { font-size: 14px; }

  .hero__title { font-size: 36px; }
  .display { font-size: 28px; }
  .page-hero h1 { font-size: 34px; }
  .cta-band h2 { font-size: 28px; }
  .leader__title { font-size: 22px; }
  .mv-card__body h3 { font-size: 26px; }
  .program h3 { font-size: 17px; }
  .dept__body h3 { font-size: 15px; }
  .contact-card h3 { font-size: 17px; }
  .facility__body h3 { font-size: 16px; }
  .notice-card h2, .notice-item h3 { font-size: 16px; }
  .footer-col h3 { font-size: 11px; }
  .side-card h3 { font-size: 22px; }
}

/* Footer links spacing */
.footer-links { gap: 7px; }
@media (max-width: 767px) {
  /* 13px text; line-height 2px less than the default (13 x 1.7 = 22px -> 20px) */
  .footer-links a { font-size: 13px; line-height: 20px; }
}

/* Mobile menu links */
@media (max-width: 767px) {
  .nav__link { font-size: 15px; padding: 12px 14px; }
}

/* ==========================================================================
   Fixed quick contact — left edge, slides out on hover / focus
   ========================================================================== */
.side-contact {
  position: fixed; left: 0; top: 50%; z-index: 95;
  display: flex; flex-direction: column; gap: 10px;
  transform: translateY(-50%);
}
.side-contact__item {
  --tab: 54px;
  display: flex; align-items: center; justify-content: flex-end;
  max-width: calc(100vw - 20px);
  padding-left: 22px;
  border-radius: 0 14px 14px 0;
  background: var(--navy-900); color: #fff;
  border: 1px solid rgba(255, 255, 255, .08); border-left: 0;
  box-shadow: 0 14px 30px -14px rgba(5, 13, 31, .55);
  transform: translateX(calc(-100% + var(--tab)));
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), box-shadow .4s, background-color .4s;
}
.side-contact__item:hover,
.side-contact__item:focus-visible {
  transform: translateX(0);
  box-shadow: 0 18px 40px -14px rgba(5, 13, 31, .6);
  outline: none;
}
.side-contact__text {
  display: flex; flex-direction: column; padding: 8px 16px 8px 0;
  font-size: 14px; font-weight: 700; line-height: 1.25; white-space: nowrap;
  opacity: 0; transform: translateX(-12px);
  transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1);
}
.side-contact__text small { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.side-contact__item:hover .side-contact__text,
.side-contact__item:focus-visible .side-contact__text { opacity: 1; transform: none; transition-delay: .12s; }
.side-contact__icon {
  flex: none; width: var(--tab); height: var(--tab);
  display: grid; place-items: center;
  border-radius: 0 13px 13px 0;
  transition: background-color .4s;
}
.side-contact__icon .icon { width: 22px; height: 22px; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.side-contact__item--phone .side-contact__icon { background: var(--red); }
.side-contact__item--mail .side-contact__icon { background: var(--gold); color: var(--navy-950); }
.side-contact__item:hover .side-contact__icon .icon { transform: rotate(-10deg) scale(1.08); }
@keyframes ring { 0%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } 50% { transform: rotate(0); } }
.side-contact__item--phone .side-contact__icon .icon { animation: ring 3.2s ease-in-out 2s infinite; }
.side-contact__item--phone:hover .side-contact__icon .icon { animation: none; }

/* the call button is now on the left, so the duplicate floating call button is hidden */
.fab--call { display: none; }

@media (max-width: 767px) {
  .side-contact__item { --tab: 44px; padding-left: 14px; }
  .side-contact__icon .icon { width: 19px; height: 19px; }
  .side-contact__text { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .side-contact__item--phone .side-contact__icon .icon { animation: none; } }
@media print { .side-contact { display: none !important; } }
/* each tab is only as wide as its own content (phone panel no longer stretches to the e-mail width) */
.side-contact { align-items: flex-start; }
.side-contact__item { width: max-content; }

/* ==========================================================================
   Mobile (≤767px): buttons + compact spacing
   ========================================================================== */
@media (max-width: 767px) {
  /* buttons — border colour is kept per variant (outline/ghost stay visible) */
  .btn { padding: 10px 20px; border-radius: 999px; border-width: 1.5px; border-style: solid; font-weight: 700; font-size: 13px; gap: 8px; }
  .btn .icon { width: 1em; height: 1em; }

  /* sections */
  .section { padding: 36px 0; }
  .section--tight { padding: 24px 0; }
  .section__head { margin-bottom: 20px; }
  .display { margin-bottom: .35em; }
  .eyebrow { margin-bottom: 8px; font-size: 11.5px; }
  .prose p { margin-bottom: .8em; }
  .prose > .btn { margin-top: 4px; }

  /* grid gutters */
  .row:not(.g-0):not(.g-2):not(.g-3):not(.g-4):not(.g-5) { --gy: 16px; }
  .g-5 { --gx: 24px; --gy: 24px; }
  .g-3 { --gx: 12px; --gy: 12px; }

  /* hero + page hero */
  .hero__title { margin-bottom: 14px; }
  .hero__text { margin-bottom: 22px; }
  .hero__actions { gap: 10px; }
  .page-hero__inner { padding-block: 40px 30px; }

  /* cards */
  .stat { padding: 18px 14px; }
  .stat__icon { width: 38px; height: 38px; margin-bottom: 10px; }
  .notice-card { padding: 18px; gap: 14px; }
  .notice-card__icon { width: 44px; height: 44px; }
  .leader__body { padding: 20px; }
  .leader__quote { width: 44px; height: 44px; right: 18px; top: 16px; }
  .mv-card__body { padding: 18px 20px 20px; }
  .program { padding: 18px 16px; gap: 10px; }
  .program__icon { width: 44px; height: 44px; }
  .logo-card { padding: 20px; }
  .contact-card { padding: 22px 20px; }
  .contact-card__icon { width: 48px; height: 48px; margin-bottom: 14px; }
  .dept__body { padding: 18px 20px; }
  .facility__body { padding: 16px 18px; }
  .doc { padding: 14px; gap: 12px; }
  .doc__icon { width: 40px; height: 40px; }
  .notice-item { padding: 18px; }
  .feature-banner__copy { padding: 24px 20px; }
  .vision-list { gap: 10px; }
  .vision-list li { padding: 12px 14px; }
  .table-actions { margin-top: 20px; }
  .cta-band__actions { gap: 10px; }

  /* footer */
  .footer-main { padding: 40px 0 28px; }
  .footer-brand img { margin-bottom: 14px; }
  .footer-col h3 { margin-bottom: 12px; }
  .footer-bottom { padding: 16px 0; }
}

/* Leadership quote mark: much smaller, never over the title */
.leader__quote { width: 30px; height: 30px; right: 24px; top: 22px; opacity: .9; }
.leader__role, .leader__title { padding-right: 46px; }
@media (max-width: 767px) {
  .leader__quote { width: 22px; height: 22px; right: 16px; top: 16px; }
  .leader__role, .leader__title { padding-right: 32px; }
}

/* ==========================================================================
   Page loader
   ========================================================================== */
.page-loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: radial-gradient(800px 400px at 50% 40%, rgba(227, 36, 43, .18), transparent 70%), var(--navy-950);
  transition: opacity .4s ease, visibility .4s;
  /* safety net: disappears on its own even if JavaScript fails */
  animation: loaderFailsafe .4s ease 1.6s forwards;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; }
.page-loader__inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.page-loader__logo { height: 64px; width: auto; animation: loaderBreath 1.8s ease-in-out infinite; }
.page-loader__bar { position: relative; width: 180px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.page-loader__bar span {
  position: absolute; top: 0; left: 0; height: 100%; width: 40%; border-radius: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  animation: loaderSlide 1.1s cubic-bezier(.65, .05, .36, 1) infinite;
}
@keyframes loaderBreath { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .75; transform: scale(.97); } }
@keyframes loaderSlide { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; } }
@media (max-width: 767px) { .page-loader__logo { height: 50px; } .page-loader__bar { width: 140px; } }
@media (prefers-reduced-motion: reduce) { .page-loader { display: none; } }
@media print { .page-loader { display: none !important; } }

/* Mobile fixes: closed menu drawer must not cast a shadow; contact tabs sit at the bottom-left, clear of the text column's middle */
@media (max-width: 1080px) {
  .nav:not(.is-open) { box-shadow: none; }
}
@media (max-width: 767px) {
  .side-contact { top: auto; bottom: 14px; left: 14px; transform: none; flex-direction: row; gap: 8px; }
  .side-contact__item,
  .side-contact__item:hover,
  .side-contact__item:focus-visible { --tab: 42px; transform: none; padding: 0; border: 0; border-radius: 50%; }
  .side-contact__text { display: none; }
  .side-contact__icon { border-radius: 50%; }
  .side-contact__item--phone { background: var(--red); }
  .side-contact__item--mail { background: var(--gold); }
}

/* ==========================================================================
   Page scrollbar in theme colours
   ========================================================================== */
html::-webkit-scrollbar { width: 12px; }
html::-webkit-scrollbar-track { background: var(--navy-950); }
html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--red), var(--gold));
  border: 3px solid var(--navy-950); border-radius: 999px; min-height: 60px;
}
html::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--red-600), var(--red)); border-width: 2px; }
html::-webkit-scrollbar-thumb:active { background: var(--red-700); }
/* Firefox (only where ::-webkit-scrollbar is unsupported) */
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-color: var(--red) var(--navy-950); scrollbar-width: thin; }
}

/* Parallax images: uses the separate `scale` / `translate` properties so hover and reveal `transform`s keep working */
.has-parallax { overflow: hidden; }
.has-parallax img { scale: 1.16; will-change: translate; }

/* Mobile: flagship program cards closer together, title and label closer */
@media (max-width: 767px) {
  #programs .row.row-cols-2 { --gx: 12px; --gy: 12px; }
  .program__meta { margin-top: -6px; }
}

/* Mobile: approval logos in one compact row of three */
@media (max-width: 767px) {
  .approval-row.row { --gx: 10px; --gy: 10px; }
  .approval-row.row > .col { flex: 0 0 auto; width: 33.333333%; }
  .approval-row .logo-card { padding: 14px 10px; border-radius: 14px; }
  .approval-row .logo-card img { max-height: 84px; max-width: 100%; }
}

/* ==========================================================================
   Dark / light theme
   ========================================================================== */
.theme-toggle {
  flex: none; width: 42px; height: 42px; border-radius: 50%; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-dark);
  transition: background-color .3s, color .3s;
}
.theme-toggle:hover { background: var(--gold); color: var(--navy-950); }
.theme-toggle .icon { width: 19px; height: 19px; }
.theme-toggle__sun, [data-theme="dark"] .theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: block; }
@media (max-width: 420px) {
  .header-cta { gap: 6px; }
  .theme-toggle { width: 38px; height: 38px; }
  .nav-toggle { width: 40px; height: 40px; }
  .site-header__inner { gap: 8px; }
  .site-header .brand img, .site-header.is-scrolled .brand img { height: 38px; }
  .header-cta .btn--primary { padding: 9px 11px; font-size: 12px; }
}
@media (max-width: 345px) {
  .site-header .brand img, .site-header.is-scrolled .brand img { height: 32px; }
}

[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f1f4fa;
  --body: #c0c9da;
  --muted: #98a4ba;
  --line: rgba(255, 255, 255, .11);
  --bg: #0a1224;
  --bg-soft: #0e1830;
  --cream: #0d162b;
  --card: #142140;
  --red-text: #ff6b70;
}
/* cards and panels */
[data-theme="dark"] .notice-card,
[data-theme="dark"] .leader, [data-theme="dark"] .mv-card, [data-theme="dark"] .program,
[data-theme="dark"] .doc, [data-theme="dark"] .facility, [data-theme="dark"] .dept,
[data-theme="dark"] .table-wrap, [data-theme="dark"] .contact-card, [data-theme="dark"] .notice-item,
[data-theme="dark"] .vision-list li, [data-theme="dark"] .stats--light,
[data-theme="dark"] .tabs__btn[aria-selected="true"] { background: var(--card); }
[data-theme="dark"] .notice-card { border-color: rgba(214, 170, 85, .3); border-left-color: var(--gold); }
[data-theme="dark"] .stats:not(.stats--light), [data-theme="dark"] .feature-banner { background: #101d3a; border: 1px solid var(--line); }
[data-theme="dark"] .tabs__btn:hover { background: rgba(255, 255, 255, .05); }
[data-theme="dark"] .tabs__btn[aria-selected="true"]:hover { background: var(--card); }
[data-theme="dark"] .leader__quote { color: rgba(214, 170, 85, .45); }
[data-theme="dark"] .media-deco { opacity: .3; }
/* official logos keep a white tile: some are dark and would vanish */
[data-theme="dark"] .logo-card { background: #fff; }
/* red text needs a lighter red on dark */
[data-theme="dark"] .display:not(.display--light) em,
[data-theme="dark"] .eyebrow:not(.eyebrow--light),
[data-theme="dark"] .link-arrow, [data-theme="dark"] .leader__role, [data-theme="dark"] .mv-card__body h3 span,
[data-theme="dark"] .notice-card a, [data-theme="dark"] .facility__num, [data-theme="dark"] .notice-item b,
[data-theme="dark"] .check-list .icon, [data-theme="dark"] .tig-lead::first-letter,
[data-theme="dark"] .tabs__btn[aria-selected="true"], [data-theme="dark"] .contact-card a:hover,
[data-theme="dark"] .program:hover h3, [data-theme="dark"] .doc:hover .doc__go { color: var(--red-text); }
[data-theme="dark"] .link-arrow:hover { color: #ff8f93; }
/* icon tiles */
[data-theme="dark"] .program__icon, [data-theme="dark"] .doc__icon, [data-theme="dark"] .stats--light .stat__icon { background: rgba(255, 107, 112, .14); color: var(--red-text); }
[data-theme="dark"] .program:hover .program__icon, [data-theme="dark"] .doc:hover .doc__icon, [data-theme="dark"] .stats--light .stat:hover .stat__icon { background: var(--red); color: #fff; }
/* outline button */
[data-theme="dark"] .btn--outline { border-color: rgba(255, 255, 255, .4); color: #fff; }
[data-theme="dark"] .btn--outline:hover { background: #fff; color: var(--navy-900); }
/* tables */
[data-theme="dark"] .data-table th { background: #1b2c54; }
[data-theme="dark"] .data-table tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .03); }
[data-theme="dark"] .data-table tbody tr:hover td { background: rgba(227, 36, 43, .12); }
[data-theme="dark"] .pill--pg { background: rgba(120, 160, 255, .18); color: #b4c8ff; }
[data-theme="dark"] .pill--ug { background: rgba(255, 107, 112, .16); color: #ff9da0; }
/* desktop dropdown */
@media (min-width: 1081px) {
  [data-theme="dark"] .dropdown { background: var(--card); }
  [data-theme="dark"] .dropdown a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
  [data-theme="dark"] .dropdown li.active > a, [data-theme="dark"] .dropdown li.active > a:hover { background: rgba(227, 36, 43, .2); color: #ff9da0; }
  [data-theme="dark"] .dropdown li.active > a .icon { color: #ff9da0; }
}
/* soft colour change while switching */
body, .section, .stats, .table-wrap { transition: background-color .35s ease, color .35s ease; }
@media print { .theme-toggle { display: none !important; } }
/* transparent PNG photos keep their white backing */
[data-theme="dark"] .media-frame { background: #fff; }

/* Cut-out photo: always shown whole (no crop, no parallax, no zoom) */
.media-frame--full { background: #fff; }
.media-frame--full img, .media-frame--full:hover img,
.js [data-reveal] .media-frame--full img { aspect-ratio: auto; height: auto; object-fit: contain; transform: none; }

/* Quick-contact wrapper is as wide as the (hidden) e-mail panel — let clicks pass through it,
   only the visible tabs themselves are clickable (fixes left tab lists on 1100–1500px screens) */
.side-contact { pointer-events: none; }
.side-contact__item { pointer-events: auto; }

/* 1081px – 1500px: slightly smaller call / mail tabs */
@media (min-width: 1081px) and (max-width: 1500px) {
  .side-contact { gap: 8px; }
  .side-contact__item { --tab: 44px; padding-left: 16px; }
  .side-contact__icon { border-radius: 0 11px 11px 0; }
  .side-contact__icon .icon { width: 18px; height: 18px; }
  .side-contact__text { font-size: 13px; padding: 6px 14px 6px 0; }
}

/* Real campus photo (3:2) — shown whole, no side crop */
.media-frame--photo img { aspect-ratio: 3 / 2; object-fit: cover; }


/* Sticky footer — short pages: footer always sits at the bottom of the screen */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body > * { flex-shrink: 0; }
.site-footer { margin-top: auto; }

/* Inner page banner — much shorter */
.page-hero__inner { padding-block: clamp(30px, 3.4vw, 48px) clamp(26px, 3vw, 40px); }
.page-hero h1 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 8px; }
.page-hero .eyebrow { margin-bottom: 6px; }
@media (min-width: 1081px) and (max-width: 1500px) { .page-hero h1 { font-size: clamp(30px, 3vw, 40px); } }
@media (max-width: 767px) {
  .page-hero__inner { padding-block: 24px 20px; }
  .page-hero h1 { font-size: 28px; }
}
/* 1081px – 1500px: banner a little shorter still */
@media (min-width: 1081px) and (max-width: 1500px) {
  .page-hero__inner { padding-block: 26px 24px; }
  .page-hero h1 { font-size: clamp(28px, 2.6vw, 36px); margin-bottom: 6px; }
  .page-hero .eyebrow { margin-bottom: 4px; }
}

/* Hero: vertical slide pagination on the right edge */
@media print { .hero__dots { display: none !important; } }
.hero__dots {
  position: absolute; z-index: 3; right: clamp(16px, 2.4vw, 40px); top: 50%; transform: translateY(-50%);
  flex-direction: column; align-items: center; gap: 8px;
}
.hero__dot { width: 4px; height: 30px; box-sizing: content-box; border: 8px solid transparent; border-block-width: 0; background-clip: padding-box; border-radius: 12px; cursor: pointer; transition: background .3s, height .3s var(--ease); }
.hero__dot.is-active { width: 4px; height: 52px; }
.hero__dot:hover { background: rgba(255, 255, 255, .6); }
.hero__dot.is-active:hover { background: var(--red); }
.hero__controls .container { justify-content: flex-end; }
@media (max-width: 767px) {
  .hero__dots { right: 2px; gap: 6px; }
  .hero__dot { width: 3px; height: 22px; }
  .hero__dot.is-active { width: 3px; height: 38px; }
}

/* Vertical pagination — on a dark glass pill so it reads on any photo */
.hero__dots {
  gap: 4px; padding: 12px 0;
  background: rgba(5, 13, 31, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6);
}
.hero__dot { width: 5px; height: 26px; border-width: 4px 9px; border-radius: 14px; background-color: rgba(255, 255, 255, .55); }
.hero__dot.is-active { width: 5px; height: 48px; background-color: var(--red); }
.hero__dot:hover { background-color: #fff; }
.hero__dot.is-active:hover { background-color: var(--gold); }
@media (max-width: 767px) {
  .hero__dots { right: 8px; padding: 10px 0; gap: 2px; }
  .hero__dot { width: 4px; height: 18px; border-width: 4px 7px; }
  .hero__dot.is-active { width: 4px; height: 34px; }
}

/* Vertical pagination — round dots */
.hero__dots { gap: 2px; padding: 10px 0; }
.hero__dot { width: 9px; height: 9px; border-width: 6px 9px; border-radius: 50%; background-color: rgba(255, 255, 255, .55); transition: background-color .3s, transform .3s var(--ease); }
.hero__dot.is-active { width: 9px; height: 9px; background-color: var(--red); transform: scale(1.35); }
@media (max-width: 767px) {
  .hero__dots { padding: 8px 0; gap: 0; }
  .hero__dot { width: 7px; height: 7px; border-width: 5px 7px; }
  .hero__dot.is-active { width: 7px; height: 7px; }
}

/* Active slide = elongated red capsule, others stay round */
.hero__dots { gap: 0; padding: 8px 0; }
.hero__dot { width: 9px; height: 9px; border-width: 7px; border-radius: 999px; transform: none; transition: background-color .3s, height .35s var(--ease); }
.hero__dot.is-active { width: 9px; height: 26px; transform: none; }
@media (max-width: 767px) {
  .hero__dots { padding: 6px 0; }
  .hero__dot { width: 7px; height: 7px; border-width: 6px; }
  .hero__dot.is-active { width: 7px; height: 20px; }
}

/* Active capsule: no padding, gold */
.hero__dot.is-active { border-width: 0; background-color: var(--gold); }
.hero__dot.is-active:hover { background-color: var(--gold); }
@media (max-width: 767px) { .hero__dot.is-active { border-width: 0; } }
/* inactive dots: no hover effect */
.hero__dot:not(.is-active):hover { background-color: rgba(255, 255, 255, .55); }

/* Mobile banner: shorter, no pagination, arrows right under the buttons */
@media (max-width: 767px) {
  .hero__slides { height: 540px; }
  .hero__content { align-items: flex-end; }
  .hero__dots { display: none; }
  .hero__copy { padding-bottom: 136px; }
  .hero__controls { bottom: 76px; }
  .hero__controls .container { justify-content: flex-start; }
  .hero__arrows { display: flex; gap: 10px; }
  .hero__arrow { width: 42px; height: 42px; }
}

/* Mobile banner: height follows the text (no big empty gap above the heading) */
@media (max-width: 767px) {
  .hero__slides { position: absolute; inset: 0; height: auto; }
  .hero__content { position: relative; inset: auto; display: block; padding-top: 56px; }
  .hero__copy { padding-top: 0; }
}
