:root {
  --header-height: 72px;
  --color-highlight-start: #4a56d1;
  --color-highlight-end: #3e4dc2;
  --color-navy-900: #0f2747;
  --color-navy-800: #15335b;
  --color-navy-700: #1f4a7a;
  --color-slate-100: #f6f8fb;
  --color-slate-200: #e4ebf3;
  --color-slate-300: #d5dfeb;
  --color-slate-500: #64748b;
  --color-text: #1d2733;
  --color-white: #ffffff;
  --color-accent: #4a56d1;
  --color-accent-strong: #3e4dc2;
  --shadow-soft: 0 18px 42px rgba(15, 39, 71, 0.12);
  --shadow-subtle: 0 10px 24px rgba(15, 39, 71, 0.08);
  --shadow-card: 0 14px 34px rgba(15, 39, 71, 0.14);
  --shadow-card-hover: 0 24px 50px rgba(15, 39, 71, 0.2);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --container: 1200px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 20px;
  --space-4: 28px;
  --space-5: 34px;
  --space-6: 46px;
  --space-7: 58px;
  --space-8: 78px;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Tahoma, sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.map-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px; /* Optional: rounds the corners of your map */
  margin-top: 15px;
}


.faculty-card__media {
  width: 100%;
  height: 250px; 
  background-color: #f3f4f6;  
  object-fit: cover;
  object-position: center top;  Prioritises heads over shoulders 
  border-radius: 8px;
  display: block;

}

img {
  width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: linear-gradient(180deg, var(--color-highlight-start) 0%, var(--color-highlight-end) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 1px 0 rgba(25, 33, 120, 0.2);
}

.site-header .container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 8px;
}

.site-header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

main {
  padding-top: var(--header-height);
}

.brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.brand__title {
  font-family: Inter, "Segoe UI", Tahoma, sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.site-header .brand__title,
.site-header .nav-link,
.site-header .submenu-toggle {
  font-family: Inter, "Segoe UI", Tahoma, sans-serif;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(11, 31, 54, 0.35);
}

.brand__subtitle {
  color: rgba(232, 237, 245, 0.82);
  font-size: 0.74rem;
}

.brand__title-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
  box-shadow: var(--shadow-subtle);
  flex: 0 0 auto;
}

.brand--footer .brand__logo {
  box-shadow: none;
}

.nav-toggle {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--color-white);
}

.primary-nav {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-height);
  background: linear-gradient(180deg, var(--color-highlight-start) 0%, var(--color-highlight-end) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  display: none;
}

.primary-nav.is-open {
  display: block;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: var(--space-2);
  display: grid;
  gap: 6px;
}

.nav-link,
.submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 7px 9px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

@media (max-width: 1099px) {
  .primary-nav .nav-link,
  .primary-nav .submenu-toggle {
    justify-content: flex-start;
    text-align: left;
    padding-left: 14px;
  }
}

.nav-link:hover,
.submenu-toggle:hover,
.nav-link:focus-visible,
.submenu-toggle:focus-visible {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.nav-link:active,
.submenu-toggle:active {
  transform: translateY(1px);
  color: var(--color-navy-900);
  background: var(--color-white);
  box-shadow: inset 0 2px 10px rgba(15, 39, 71, 0.16), 0 6px 16px rgba(15, 39, 71, 0.12);
}

.nav-link.is-active {
  color: var(--color-navy-900);
  background: var(--color-white);
  box-shadow: 0 8px 18px rgba(15, 39, 71, 0.14);
}

.submenu {
  list-style: none;
  margin: 0;
  padding: 0 0 0 14px;
  display: none;
}

.has-submenu.is-open .submenu {
  display: block;
}

.submenu a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--color-navy-900);
}

.submenu a:hover,
.submenu a:focus-visible {
  color: var(--color-navy-900);
  background: var(--color-slate-100);
}

.nav-toggle:active {
  transform: translateY(1px);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 2px 10px rgba(15, 39, 71, 0.16), 0 6px 16px rgba(15, 39, 71, 0.12);
}

.header-actions {
  display: none;
  gap: 10px;
  align-items: center;
}

.header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--color-white);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  transition: transform var(--transition), border-color var(--transition), background-color var(--transition), color var(--transition);
}

.header-link:hover,
.header-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.44);
}

.header-link--solid {
  background: var(--color-white);
  color: var(--color-navy-900);
  border-color: var(--color-white);
}

.header-link--solid:hover,
.header-link--solid:focus-visible {
  background: #eef2f8;
  border-color: #eef2f8;
}

body[data-page="home"] .hero--home {
  min-height: 62vh;
}

body[data-page="home"] .section {
  padding: 34px 0;
}

body[data-page="home"] .section--highlight {
  padding: 16px 0 18px;
}

body[data-page="home"] .section-header {
  margin-bottom: var(--space-3);
}

body[data-page="home"] .section--institution {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(104deg, rgba(249, 251, 255, 0.94) 0%, rgba(245, 248, 253, 0.9) 42%, rgba(241, 245, 252, 0.72) 72%, rgba(237, 243, 252, 0.6) 100%),
    url("../assets/images/workshop/14.jpg") center/cover no-repeat;
  border-top: 1px solid var(--color-slate-200);
  border-bottom: 1px solid var(--color-slate-200);
  margin-top: 14px;
  padding: 26px 0;
}

body[data-page="home"] .institution-showcase {
  position: relative;
  display: grid;
  gap: 0;
  align-items: center;
  min-height: 500px;
}

body[data-page="home"] .institution-showcase::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 33%;
  width: 20%;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(245, 248, 253, 0.05) 0%, rgba(245, 248, 253, 0.55) 42%, rgba(245, 248, 253, 0.95) 100%);
}

body[data-page="home"] .institution-showcase__person {
  position: relative;
  left: auto;
  bottom: auto;
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
  z-index: 1;
  opacity: 0.98;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 78%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 78%, transparent 100%);
}

body[data-page="home"] .institution-showcase__content {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  animation: home-institution-slide 560ms ease both;
  position: relative;
  z-index: 2;
  max-width: none;
  margin-left: 0;
  padding-left: 10px;
}

body[data-page="home"] .institution-showcase__eyebrow {
  margin: 0 0 8px;
  color: #102944;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 800;
}

body[data-page="home"] .institution-showcase__content h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.3vw, 3.05rem);
  line-height: 1.16;
  color: #081f3d;
}

body[data-page="home"] .institution-showcase__content p {
  margin: 0 0 12px;
  color: #0f2747;
  font-size: 1.08rem;
  line-height: 1.6;
}

body[data-page="home"] .institution-showcase__author {
  font-weight: 700;
  margin-top: 12px;
  font-size: 1.06rem;
}

body[data-page="home"] .institution-showcase__content .btn {
  margin-top: 10px;
  background: #4a56d1;
  color: #ffffff;
  border-color: #4a56d1;
  min-height: 56px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 1.03rem;
  font-weight: 800;
  align-self: flex-start;
}

body[data-page="home"] .institution-showcase__content .btn:hover,
body[data-page="home"] .institution-showcase__content .btn:focus-visible {
  background: #3e4dc2;
  border-color: #3e4dc2;
  color: #ffffff;
}

@keyframes home-institution-slide {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

body[data-page="home"] .section--highlight .section-header {
  margin-bottom: 8px;
}

body[data-page="home"] .vm-showcase {
  display: grid;
  gap: var(--space-3);
  align-items: stretch;
}

body[data-page="home"] #vision-mission-home {
  position: relative;
  overflow: hidden;
}

body[data-page="home"] #vision-mission-home::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(74, 86, 209, 0.16), rgba(74, 86, 209, 0));
  pointer-events: none;
}

body[data-page="home"] .vm-card {
  border-left: 4px solid #4a56d1;
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
  animation: vm-card-rise 620ms ease both;
}

body[data-page="home"] .vm-card--mission {
  animation-delay: 120ms;
}

body[data-page="home"] .vm-card:hover,
body[data-page="home"] .vm-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(29, 35, 79, 0.12);
}

body[data-page="home"] .vm-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(74, 86, 209, 0.15), rgba(74, 86, 209, 0.75), rgba(74, 86, 209, 0.15));
}

body[data-page="home"] .vm-card__eyebrow {
  margin: 0 0 8px;
  color: #4a56d1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 800;
}

body[data-page="home"] .vm-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

body[data-page="home"] .vm-card p,
body[data-page="home"] .vm-card li {
  font-size: 1rem;
  line-height: 1.55;
}

body[data-page="home"] .vm-card .list {
  margin: 0;
}

body[data-page="home"] .vm-home-actions {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

body[data-page="home"] .vm-home-actions .btn {
  min-height: 50px;
  padding: 0 30px;
  font-weight: 800;
}

body[data-page="home"] .vm-orbit {
  display: none;
}

@keyframes vm-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes vm-card-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes vm-dot-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

body[data-page="home"] .section--highlight h2 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

body[data-page="home"] .section--highlight .stat-card {
  padding: 8px 6px;
  min-height: 46px;
}

body[data-page="home"] .stats--highlight .stat-card__value {
  white-space: nowrap;
  line-height: 1;
  font-size: clamp(1.2rem, 1.9vw, 1.9rem);
}

body[data-page="home"] .stats--highlight .stat-card__label {
  white-space: nowrap;
  margin-top: 2px;
  font-size: 0.62rem;
}

body[data-page="home"] #kcc-live-updates {
  border-top: 1px solid var(--color-slate-200);
  border-bottom: 1px solid var(--color-slate-200);
  background: linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%);
}

body[data-page="home"] .kcc-news-ticker {
  border: 1px solid rgba(16, 41, 68, 0.12);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: var(--shadow-subtle);
  padding: 12px;
}

body[data-page="home"] .kcc-news-ticker__viewport {
  overflow: hidden;
  border-radius: 10px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

body[data-page="home"] .kcc-news-ticker__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: kcc-news-scroll 46s linear infinite;
}

body[data-page="home"] .kcc-news-ticker:hover .kcc-news-ticker__track,
body[data-page="home"] .kcc-news-ticker:focus-within .kcc-news-ticker__track {
  animation-play-state: paused;
}

body[data-page="home"] .kcc-news-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 0.9rem;
  color: #102944;
  background: #ffffff;
  border: 1px solid rgba(16, 41, 68, 0.12);
  border-radius: 999px;
  padding: 8px 14px;
}

body[data-page="home"] .kcc-news-ticker__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(180deg, #4a56d1 0%, #3441bf 100%);
}

body[data-page="home"] .kcc-news-ticker__source {
  margin: 10px 0 2px;
  font-size: 0.78rem;
  color: var(--color-slate-500);
}

@keyframes kcc-news-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 8px));
  }
}

.intro-layout {
  display: grid;
  gap: var(--space-3);
  max-width: 980px;
  margin-inline: auto;
}

.intro-panel {
  padding: var(--space-2);
}

.intro-panel p {
  margin: 0 0 12px;
  font-size: 1.02rem;
}

.intro-subdivisions {
  gap: var(--space-2);
}

.intro-layout-break {
  height: 0;
}

.intro-timeline {
  display: grid;
  gap: var(--space-2);
}

.intro-timeline__item {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.intro-timeline__label {
  margin: 0 0 10px;
  color: var(--color-accent-strong);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.intro-timeline__item h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.intro-timeline__item p:last-child {
  max-width: 34ch;
  margin-inline: auto;
  font-size: 1.02rem;
}

.intro-timeline__connector {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
}

.intro-timeline__line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(43, 108, 176, 0.15), rgba(43, 108, 176, 0.55));
}

.intro-timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 6px rgba(43, 108, 176, 0.12);
  flex: 0 0 auto;
}

.compact-division-grid .card--compact {
  min-height: 0;
}

.compact-division-grid .card p {
  margin-bottom: 12px;
}

.compact-division-grid .text-link {
  font-size: 0.94rem;
}

body[data-page="home"] #explore-site-stream .compact-division-grid .card--compact {
  min-height: 136px;
  padding: 14px 16px;
  border-radius: 12px;
}

body[data-page="home"] #explore-site-stream .compact-division-grid .card--compact h3 {
  margin-bottom: 8px;
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  display: flex;
  align-items: center;
  gap: 8px;
}

body[data-page="home"] #explore-site-stream .compact-division-grid .card--compact p {
  margin: 0 0 10px;
  font-size: 0.96rem;
  line-height: 1.45;
}

body[data-page="home"] #explore-site-stream .compact-division-grid .card--compact .text-link {
  font-size: 0.9rem;
}

body[data-page="home"] #explore-site-stream .explore-title-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex: 0 0 auto;
  box-shadow: 0 4px 10px rgba(29, 64, 146, 0.2);
}

body[data-page="home"] #explore-site-stream .explore-title-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-page="home"] #explore-site-stream .explore-title-icon--facilities {
  background: linear-gradient(180deg, #1d57ae 0%, #173f86 100%);
}

body[data-page="home"] #explore-site-stream .explore-title-icon--people {
  background: linear-gradient(180deg, #2c62ce 0%, #244fa9 100%);
}

body[data-page="home"] #explore-site-stream .explore-title-icon--activities {
  background: linear-gradient(180deg, #3b67d8 0%, #2b49bc 100%);
}

body[data-page="home"] #explore-site-stream .explore-title-icon--training {
  background: linear-gradient(180deg, #4a59d4 0%, #3643b7 100%);
}

body[data-page="home"] #explore-site-stream .explore-stream {
  position: relative;
}

body[data-page="home"] #explore-site-stream .explore-stream__viewport {
  overflow: hidden;
}

body[data-page="home"] #explore-site-stream .explore-stream__track {
  display: block;
}

body[data-page="home"] #explore-site-stream .compact-division-grid {
  gap: var(--space-2);
}

body[data-page="home"] #explore-site-stream .explore-card {
  min-height: 248px;
  border: 1px solid rgba(16, 41, 68, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

body[data-page="home"] #explore-site-stream .explore-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.08rem, 1.55vw, 1.45rem);
}

body[data-page="home"] #explore-site-stream .explore-card p {
  margin: 0 0 14px;
}

body[data-page="home"] #explore-site-stream .explore-card .text-link {
  margin-top: auto;
  color: #3651cf;
  font-weight: 700;
}

body[data-page="home"] #explore-site-stream .explore-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(30, 69, 146, 0.24);
}

body[data-page="home"] #explore-site-stream .explore-card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-page="home"] #explore-site-stream .explore-card--facilities .explore-card__icon {
  background: linear-gradient(180deg, #1b56ad 0%, #153e82 100%);
}

body[data-page="home"] #explore-site-stream .explore-card--people .explore-card__icon {
  background: linear-gradient(180deg, #2f63ce 0%, #234ca8 100%);
}

body[data-page="home"] #explore-site-stream .explore-card--activities .explore-card__icon {
  background: linear-gradient(180deg, #3f67db 0%, #2a49bd 100%);
}

body[data-page="home"] #explore-site-stream .explore-card--training .explore-card__icon {
  background: linear-gradient(180deg, #4a57d4 0%, #3340b5 100%);
}

body[data-page="home"] #explore-site-stream .explore-stream__track > .compact-division-grid[data-explore-clone="true"] {
  display: none;
}

@keyframes home-explore-stream {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - (var(--space-2) / 2)));
  }
}

body[data-page="home"] .hero__content {
  max-width: 720px;
}

.hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #102944 0%, #0b1f36 100%);
}

.hero--inner {
  min-height: 42vh;
}

body[data-page="about"] .hero--inner {
  min-height: 62vh;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 54, 0.5), rgba(11, 31, 54, 0.82));
}

.hero__content {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  max-width: 780px;
  text-align: left;
  padding: var(--space-7) 0;
}

.eyebrow {
  margin: 0 0 var(--space-1);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #b8d3ef;
}

h1,
h2,
h3,
h4 {
  font-family: Inter, "Segoe UI", Tahoma, sans-serif;
  letter-spacing: -0.03em;
  margin-top: 0;
  color: var(--color-navy-900);
}

.hero h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

.hero p {
  margin: 0;
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.94);
  max-width: 680px;
}

.hero__actions {
  margin-top: var(--space-4);
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.btn {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #3e4dc2;
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--color-white);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.section {
  padding: 40px 0;
}

.section--compact {
  padding: 16px 0 24px;
}

.section--muted {
  background: var(--color-slate-100);
}

.section--highlight {
  background: linear-gradient(180deg, var(--color-highlight-start) 0%, var(--color-highlight-end) 100%);
  color: var(--color-white);
  padding: 20px 0 16px 0;
}

.section--highlight h2 {
  color: var(--color-white);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

body[data-page="home"] .section--cta {
  background: var(--color-white);
  color: var(--color-navy-900);
}

.section-header {
  margin-bottom: var(--space-3);
}

.section-header h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
}

.section--highlight .section-header h2,
.section--highlight .eyebrow {
  color: var(--color-white);
}

.section--highlight .section-header {
  margin-bottom: var(--space-2);
}

.grid {
  display: grid;
  gap: var(--space-2);
}

.card,
.feature-card,
.stat-card,
.cta-box,
.info-panel,
.table-wrap,
.contact-card,
.gallery-card {
  background: var(--color-slate-100);
  border: 1px solid var(--color-slate-200);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

body[data-page="people"] .card,
body[data-page="people"] .feature-card,
body[data-page="people"] .stat-card,
body[data-page="people"] .info-panel,
body[data-page="people"] .table-wrap,
body[data-page="people"] .contact-card,
body[data-page="people"] .gallery-card {
  background: var(--color-white);
}

body[data-page="people"] .profile-overview--blue {
  background: linear-gradient(180deg, #102944 0%, #0b1f36 100%);
  border-color: transparent;
  color: var(--color-white);
}

.card,
.stat-card,
.info-panel,
.contact-card,
.gallery-card,
.feature-card {
  padding: var(--space-3);
}

.card {
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.stat-card,
.info-panel,
.contact-card,
.gallery-card,
.feature-card {
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover,
.stat-card:focus-within,
.info-panel:hover,
.info-panel:focus-within,
.contact-card:hover,
.contact-card:focus-within,
.gallery-card:hover,
.gallery-card:focus-within,
.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.card--no-shadow,
.feature-card--no-shadow,
.stat-card--no-shadow,
.info-panel--no-shadow,
.gallery-card--no-shadow,
.contact-card--no-shadow,
.cta-box--no-shadow {
  box-shadow: none !important;
}

.card--no-shadow:hover,
.card--no-shadow:focus-within,
.feature-card--no-shadow:hover,
.feature-card--no-shadow:focus-within,
.stat-card--no-shadow:hover,
.stat-card--no-shadow:focus-within,
.info-panel--no-shadow:hover,
.info-panel--no-shadow:focus-within,
.gallery-card--no-shadow:hover,
.gallery-card--no-shadow:focus-within,
.contact-card--no-shadow:hover,
.contact-card--no-shadow:focus-within,
.cta-box--no-shadow:hover,
.cta-box--no-shadow:focus-within {
  box-shadow: none !important;
}

.card h3,
.feature-card h3,
.info-panel h2,
.contact-card h2 {
  color: var(--color-navy-900);
}

.card--compact {
  min-height: 160px;
}

/* Non-home visual audit pass: card variance, icon accents, and animated links */
body:not([data-page="home"]) main .grid .card,
body:not([data-page="home"]) main .info-panel,
body:not([data-page="home"]) main .contact-card,
body:not([data-page="home"]) main .gallery-card,
body:not([data-page="home"]) main .resource-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 41, 68, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

body:not([data-page="home"]) main .grid .card::after,
body:not([data-page="home"]) main .info-panel::after,
body:not([data-page="home"]) main .contact-card::after,
body:not([data-page="home"]) main .gallery-card::after {
  content: "";
  position: absolute;
  inset: auto -44px -44px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 86, 209, 0.18), rgba(74, 86, 209, 0));
  pointer-events: none;
}

body:not([data-page="home"]) main .grid .card:nth-child(3n + 2),
body:not([data-page="home"]) main .gallery-card:nth-child(3n + 2) {
  border-color: rgba(41, 96, 194, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

body:not([data-page="home"]) main .grid .card:nth-child(3n),
body:not([data-page="home"]) main .gallery-card:nth-child(3n) {
  border-color: rgba(38, 136, 167, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #f3fbff 100%);
}

body:not([data-page="home"]) main .card > h3,
body:not([data-page="home"]) main .info-panel > h2,
body:not([data-page="home"]) main .contact-card > h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body:not([data-page="home"]) main .card > h3::before,
body:not([data-page="home"]) main .info-panel > h2::before,
body:not([data-page="home"]) main .contact-card > h2::before {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 4px;
  flex: 0 0 auto;
  background: linear-gradient(180deg, #3e67da 0%, #2b49bd 100%);
  box-shadow: 0 4px 10px rgba(41, 73, 189, 0.22);
}

body:not([data-page="home"]) main .text-link,
body:not([data-page="home"]) main p a,
body:not([data-page="home"]) main li a {
  position: relative;
  transition: color 180ms ease;
}

body:not([data-page="home"]) main .text-link::after,
body:not([data-page="home"]) main p a::after,
body:not([data-page="home"]) main li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #3e67da, #2b49bd);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

body:not([data-page="home"]) main .text-link:hover::after,
body:not([data-page="home"]) main .text-link:focus-visible::after,
body:not([data-page="home"]) main p a:hover::after,
body:not([data-page="home"]) main p a:focus-visible::after,
body:not([data-page="home"]) main li a:hover::after,
body:not([data-page="home"]) main li a:focus-visible::after {
  transform: scaleX(1);
}

body:not([data-page="home"]) main .grid .card,
body:not([data-page="home"]) main .info-panel,
body:not([data-page="home"]) main .contact-card,
body:not([data-page="home"]) main .gallery-card {
  animation: audit-card-rise 460ms ease both;
}

body:not([data-page="home"]) main .grid .card:nth-child(2),
body:not([data-page="home"]) main .gallery-card:nth-child(2) {
  animation-delay: 90ms;
}

body:not([data-page="home"]) main .grid .card:nth-child(3),
body:not([data-page="home"]) main .gallery-card:nth-child(3) {
  animation-delay: 180ms;
}

@keyframes audit-card-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-card {
  text-align: center;
}

.stats--highlight {
  gap: 0;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.section--highlight .stat-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 12px 8px;
  min-height: 60px;
  display: grid;
  place-items: center;
}

.section--highlight .stat-card:first-child {
  border-left: 0;
}

.stat-card__value {
  margin: 0;
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--color-navy-900);
}

.stat-card__label {
  margin: 10px 0 0;
  color: var(--color-slate-500);
  font-size: 0.86rem;
  font-weight: 500;
}

.section--highlight .stat-card__value,
.section--highlight .stat-card__label {
  color: var(--color-white);
}

.section--highlight .stat-card__value {
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  font-weight: 800;
}

.section--highlight .stat-card__label {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.1;
}

.feature-card {
  overflow: hidden;
}

body[data-page="activities-events"] .workshop-grid {
  align-items: stretch;
}

body[data-page="activities-events"] .workshop-grid .feature-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

body[data-page="activities-events"] .workshop-grid .feature-card__body {
  flex: 1;
}

body[data-page="activities-events"] .activities-timeline-wrap {
  margin-top: var(--space-4);
}

body[data-page="activities-events"] .activities-snapshot {
  display: grid;
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
}

body[data-page="activities-events"] .activities-snapshot__item {
  position: relative;
  overflow: hidden;
  border-left: 4px solid #4a56d1;
  background:
    linear-gradient(180deg, rgba(74, 86, 209, 0.08) 0%, rgba(74, 86, 209, 0.02) 52%, rgba(255, 255, 255, 0.94) 100%),
    var(--color-white);
  animation: activity-snapshot-rise 520ms ease both;
}

body[data-page="activities-events"] .activities-snapshot__item:nth-child(2) {
  animation-delay: 90ms;
}

body[data-page="activities-events"] .activities-snapshot__item:nth-child(3) {
  animation-delay: 180ms;
}

body[data-page="activities-events"] .activities-snapshot__label {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: #4a56d1;
}

body[data-page="activities-events"] .activities-snapshot__value {
  margin: 4px 0 6px;
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  font-weight: 800;
  color: var(--color-navy-900);
}

body[data-page="activities-events"] .activities-snapshot__note {
  margin: 0;
  color: var(--color-slate-500);
}

body[data-page="activities-events"] .list--activity-pills {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-page="activities-events"] .list--activity-pills li {
  border: 1px solid rgba(74, 86, 209, 0.16);
  border-radius: 999px;
  background: rgba(74, 86, 209, 0.06);
  padding: 8px 12px;
  margin: 0;
  line-height: 1.4;
}

body[data-page="activities-events"] .list--activity-pills-links li {
  background: rgba(15, 39, 71, 0.04);
  border-color: rgba(15, 39, 71, 0.12);
}

body[data-page="activities-events"] .list--activity-pills-links li a {
  font-weight: 700;
}

body[data-page="activities-events"] .list--activity-pills-compact li {
  font-weight: 700;
}

body[data-page="activities-events"] .activity-focus-grid {
  margin-top: var(--space-2);
  display: grid;
  gap: 10px;
}

body[data-page="activities-events"] .activity-focus-grid__item {
  border: 1px solid var(--color-slate-200);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--color-white);
}

body[data-page="activities-events"] .activity-focus-grid__item p {
  margin: 0;
}

body[data-page="activities-events"] .activity-focus-grid__title {
  color: #4a56d1;
  font-weight: 800;
  margin-bottom: 2px;
}

body[data-page="activities-events"] .activities-timeline__title {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  color: var(--color-navy-900);
}

body[data-page="activities-events"] .activities-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: var(--space-2);
  align-items: stretch;
  overflow-x: auto;
  padding-bottom: 4px;
}

body[data-page="activities-events"] .activities-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 42px;
  height: 2px;
  background: linear-gradient(90deg, rgba(74, 86, 209, 0.2), rgba(74, 86, 209, 0.7), rgba(74, 86, 209, 0.2));
  background-size: 200% 100%;
  animation: timeline-flow 5s linear infinite;
}

body[data-page="activities-events"] .activities-timeline__item {
  position: relative;
  padding-top: 26px;
  border-left: 4px solid #4a56d1;
  animation: timeline-rise 500ms ease both;
}

body[data-page="activities-events"] .activities-timeline__item::before {
  content: "";
  position: absolute;
  top: 32px;
  left: -8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4a56d1;
  box-shadow: 0 0 0 6px rgba(74, 86, 209, 0.18);
}

body[data-page="activities-events"] .activities-timeline__item:nth-child(2) {
  animation-delay: 120ms;
}

body[data-page="activities-events"] .activities-timeline__item:nth-child(3) {
  animation-delay: 240ms;
}

body[data-page="activities-events"] .activities-timeline__label {
  margin: 0 0 8px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: #4a56d1;
}

body[data-page="activities-events"] .activities-timeline__item h4 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

body[data-page="activities-events"] .activities-timeline__item p:last-child {
  margin: 0;
}

body[data-page="academics-training"] .academics-tiles .card,
body[data-page="academics-training"] .training-tiles .card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 41, 68, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
  padding-top: 22px;
}

body[data-page="academics-training"] .academics-tiles .card::before,
body[data-page="academics-training"] .training-tiles .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #4a56d1, #6c7bf0);
}

body[data-page="academics-training"] .academics-tiles .card::after,
body[data-page="academics-training"] .training-tiles .card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 86, 209, 0.2), rgba(74, 86, 209, 0));
  pointer-events: none;
}

body[data-page="academics-training"] .placement-focus {
  border-left: 5px solid #4a56d1;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  margin-bottom: var(--space-2);
}

body[data-page="academics-training"] .placement-focus h3 {
  margin-bottom: 8px;
}

body[data-page="academics-training"] .placement-focus__list {
  margin-top: 8px;
}

body[data-page="academics-training"] .placement-transfer {
  border-left: 5px solid #3e67da;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  margin-bottom: var(--space-2);
}

body[data-page="academics-training"] .placement-transfer h3 {
  margin-bottom: 8px;
}

body[data-page="academics-training"] .placement-transfer__list {
  margin-top: 8px;
}

body[data-page="academics-training"] .placement-transfer-grid {
  gap: var(--space-2);
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-bottom: var(--space-2);
}

body[data-page="academics-training"] .placement-transfer-grid__item {
  border: 1px solid rgba(16, 41, 68, 0.14);
  border-left: 4px solid #4a56d1;
  border-radius: 12px;
  background: #ffffff;
  padding: 14px 16px;
  box-shadow: 0 8px 16px rgba(15, 39, 71, 0.08);
}

body[data-page="academics-training"] #placement-support.reveal .placement-transfer-grid__item {
  opacity: 0;
  transform: translateY(12px);
}

body[data-page="academics-training"] #placement-support.is-visible .placement-transfer-grid__item {
  animation: placement-transfer-rise 520ms ease both;
}

body[data-page="academics-training"] #placement-support.is-visible .placement-transfer-grid__item:nth-child(2) {
  animation-delay: 110ms;
}

body[data-page="academics-training"] #placement-support.is-visible .placement-transfer-grid__item:nth-child(3) {
  animation-delay: 220ms;
}

body[data-page="academics-training"] .placement-transfer-grid__item p {
  margin: 0;
  color: #214067;
}

body[data-page="academics-training"] .placement-transfer-grid__title {
  margin: 0 0 6px;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  color: #3349b8;
}

@keyframes placement-transfer-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body[data-page="academics-training"] .placement-meters {
  gap: var(--space-2);
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-bottom: var(--space-2);
}

body[data-page="academics-training"] .placement-meter {
  border: 1px solid rgba(16, 41, 68, 0.13);
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

body[data-page="academics-training"] .placement-meter__title {
  margin: 0 0 12px;
  font-weight: 700;
  color: #102944;
}

body[data-page="academics-training"] .placement-meter__track {
  position: relative;
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: #e7edf8;
  overflow: hidden;
}

body[data-page="academics-training"] .placement-meter__fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4a56d1 0%, #6c7bf0 100%);
  box-shadow: 0 4px 10px rgba(74, 86, 209, 0.26);
}

body[data-page="academics-training"] .placement-meter__value {
  margin: 0;
  padding-top: 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #102944;
  line-height: 1.05;
}

body[data-page="academics-training"] .placement-yearly {
  margin-top: var(--space-2);
  border: 1px solid rgba(16, 41, 68, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

body[data-page="academics-training"] .placement-yearly__header h3 {
  margin-bottom: 6px;
}

body[data-page="academics-training"] .placement-yearly__header p {
  margin: 0;
  color: var(--color-slate-500);
  font-size: 0.94rem;
}

body[data-page="academics-training"] .placement-yearly__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

body[data-page="academics-training"] .placement-yearly__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #214067;
}

body[data-page="academics-training"] .placement-yearly__legend-item::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 3px;
}

body[data-page="academics-training"] .placement-yearly__legend-item--placement::before {
  background: linear-gradient(180deg, #4a56d1, #2f3bb7);
}

body[data-page="academics-training"] .placement-yearly__legend-item--internship::before {
  background: linear-gradient(180deg, #1e9fb2, #14707d);
}

body[data-page="academics-training"] .placement-yearly__viewport {
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

body[data-page="academics-training"] .placement-yearly__chart {
  min-width: 560px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
}

body[data-page="academics-training"] .placement-year {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

body[data-page="academics-training"] .placement-year__bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 185px;
}

body[data-page="academics-training"] .placement-year__bar {
  position: relative;
  flex: 1;
  max-width: 44px;
  height: 100%;
  border-radius: 12px 12px 8px 8px;
  background: #e8edf8;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 10px;
}

body[data-page="academics-training"] .placement-year__bar-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
}

body[data-page="academics-training"] .placement-year__bar--placement .placement-year__bar-fill {
  background: linear-gradient(180deg, #4a56d1 0%, #2f3bb7 100%);
}

body[data-page="academics-training"] .placement-year__bar--internship .placement-year__bar-fill {
  background: linear-gradient(180deg, #1e9fb2 0%, #14707d 100%);
}

body[data-page="academics-training"] .placement-year__bar-value {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  color: #102944;
}

body[data-page="academics-training"] .placement-year__label {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #214067;
}

body[data-page="activities-events"] .activities-feature-cards .card {
  position: relative;
  overflow: hidden;
  border-left: 5px solid #4a56d1;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

body[data-page="activities-events"] .activities-feature-cards .card::after {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 86, 209, 0.22), rgba(74, 86, 209, 0));
  pointer-events: none;
}

body[data-page="facilities"] .facilities-pillars--ribbon .card {
  position: relative;
  overflow: hidden;
  padding-top: 26px;
}

body[data-page="facilities"] .facilities-pillars--ribbon .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #102944, #4a56d1);
}

body[data-page="facilities"] .facilities-pillars--ribbon .card:last-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 520px);
}

@keyframes timeline-flow {
  0% {
    background-position: 0% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes timeline-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes activity-snapshot-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body[data-page="activities-events"] .event-zigzag {
  display: grid;
  gap: var(--space-3);
}

body[data-page="activities-events"] .event-media-frame {
  border-left: 4px solid #4a56d1;
  background: var(--color-white);
}

body[data-page="activities-events"] .event-media-frame__head h3 {
  margin-bottom: 6px;
}

body[data-page="activities-events"] .event-media-frame__stage {
  margin-top: var(--space-2);
  border-radius: 10px;
  overflow: hidden;
  background: #0f2747;
}

body[data-page="activities-events"] .event-media-frame__stage img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: opacity 360ms ease, transform 360ms ease;
}

body[data-page="activities-events"] .event-media-frame__stage img.is-switching {
  opacity: 0.25;
  transform: scale(1.015);
}

body[data-page="activities-events"] .event-media-frame__tabs {
  margin-top: var(--space-2);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-page="activities-events"] .event-media-frame__tab {
  border: 1px solid var(--color-slate-300);
  background: #eef2f8;
  color: var(--color-navy-900);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

body[data-page="activities-events"] .event-media-frame__tab:hover,
body[data-page="activities-events"] .event-media-frame__tab:focus-visible {
  border-color: #4a56d1;
  outline: none;
}

body[data-page="activities-events"] .event-media-frame__tab.is-active {
  background: #4a56d1;
  color: var(--color-white);
  border-color: #4a56d1;
}

body[data-page="activities-events"] .event-media-frame__caption {
  margin: 12px 0 0;
  color: var(--color-navy-800);
  font-weight: 600;
}

body[data-page="activities-events"] .event-card .event-media-frame__stage {
  margin-top: 0;
  background: transparent;
  min-height: 100%;
}

body[data-page="activities-events"] .event-card .event-media-frame__stage img {
  height: 100%;
  min-height: 100%;
}

body[data-page="activities-events"] .event-zigzag > .card {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

body[data-page="activities-events"] .event-card {
  border-left: 4px solid #4a56d1;
  background: var(--color-white);
}

body[data-page="activities-events"] .event-card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

body[data-page="activities-events"] .event-card p {
  margin: 0 0 8px;
}

body[data-page="activities-events"] .event-card p:last-child {
  margin-bottom: 0;
}

body[data-page="activities-events"] .event-card--with-media {
  display: grid;
  gap: var(--space-2);
}

body[data-page="activities-events"] .event-card__body {
  min-width: 0;
}

body[data-page="activities-events"] .event-card__media {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  min-height: 220px;
}

body[data-page="activities-events"] .event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 520ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

body[data-page="activities-events"] .event-card__media img.is-switching {
  opacity: 0.18;
  transform: scale(1.01);
}

.feature-card img {
  height: 260px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.feature-card:hover img {
  transform: scale(1.05);
}

.feature-card__body {
  padding: var(--space-3);
}

.text-link {
  color: var(--color-accent-strong);
  font-weight: 700;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--color-accent);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  background: var(--color-white);
  border-color: var(--color-slate-200);
  box-shadow: var(--shadow-subtle);
  padding: var(--space-4);
}

.cta-box .btn--primary {
  background: #4a56d1;
  color: #ffffff;
  border-color: #4a56d1;
}

.cta-box .btn--primary:hover,
.cta-box .btn--primary:focus-visible {
  background: #3e4dc2;
  color: #ffffff;
  border-color: #3e4dc2;
}

.cta-box h2 {
  color: var(--color-navy-900);
}

.cta-box p {
  margin-bottom: 0;
  color: var(--color-slate-500);
}

.site-footer {
  background: linear-gradient(180deg, #0b1f36 0%, #081526 100%);
  color: #e8edf5;
  padding-top: var(--space-6);
}

.site-footer__inner {
  display: grid;
  gap: var(--space-4);
}

.site-footer__brand {
  max-width: 420px;
}

.site-footer__brand p {
  color: rgba(232, 237, 245, 0.82);
}

.site-footer__title {
  font-family: Inter, "Segoe UI", Tahoma, sans-serif;
  font-size: 1.05rem;
  margin: 0;
}

.site-footer__links {
  display: grid;
  gap: var(--space-3);
}

.footer-column h3 {
  color: var(--color-white);
  font-size: 0.98rem;
  margin-bottom: 12px;
}

.footer-column a,
.footer-column p {
  display: block;
  margin: 0 0 8px;
  color: rgba(232, 237, 245, 0.82);
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--color-white);
}

.site-footer__bottom {
  margin-top: var(--space-5);
  padding: var(--space-3) 0 var(--space-4);
  border-top: 1px solid rgba(232, 237, 245, 0.14);
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  flex-wrap: wrap;
  color: rgba(232, 237, 245, 0.74);
  font-size: 0.92rem;
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-slate-200);
}

.list li:last-child {
  border-bottom: 0;
}

.list--bullets {
  list-style: disc;
  padding-left: 1.35rem;
}

.list--bullets li {
  padding: 6px 0;
  border-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
}

.profile-overview {
  display: grid;
  gap: var(--space-3);
  align-items: center;
}

.profile-overview--blue {
  background: linear-gradient(180deg, #102944 0%, #0b1f36 100%);
  border-color: transparent;
  color: var(--color-white);
  padding: 38px 44px;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  text-align: center;
  max-width: 1120px;
  margin-inline: auto;
}

.profile-overview--blue .eyebrow,
.profile-overview--blue h1,
.profile-overview--blue h2,
.profile-overview--blue .profile-overview__role,
.profile-overview--blue .profile-overview__meta,
.profile-overview--blue .profile-overview__meta strong {
  color: var(--color-white);
}

.profile-overview--blue .profile-overview__meta li {
  color: rgba(255, 255, 255, 0.92);
}

.profile-overview--blue .profile-overview__meta strong {
  color: var(--color-white);
}

.profile-overview--blue .profile-overview__media {
  width: 220px;
  height: 220px;
  border: 8px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.profile-overview--blue .profile-overview__body {
  text-align: center;
  max-width: none;
}

.profile-overview--blue .profile-overview__meta {
  justify-items: center;
}

.profile-overview--blue .profile-overview__meta li {
  max-width: none;
}

.profile-overview--blue .profile-overview__body h1 {
  margin-bottom: 8px;
}

.profile-overview--blue .profile-overview__body h2 {
  margin-top: 8px;
}

.profile-overview__card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
}

.profile-overview__media {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 6px solid rgba(15, 39, 71, 0.08);
  box-shadow: 0 14px 30px rgba(15, 39, 71, 0.14);
}

.profile-overview__body {
  min-width: 0;
}

.profile-overview__body h1 {
  margin-bottom: 6px;
  font-size: clamp(1.8rem, 2.8vw, 2.35rem);
}

.profile-overview__role {
  margin: 0 0 14px;
  color: var(--color-slate-500);
  font-size: 1.02rem;
}

.profile-overview__body h2 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.profile-overview__meta {
  display: grid;
  gap: 6px;
  margin: 0;
}

.profile-overview__meta li {
  padding: 0;
  border-bottom: 0;
  line-height: 1.45;
}

.profile-overview__meta strong {
  color: var(--color-navy-900);
}

.profile-overview .table-wrap {
  margin-top: 10px;
}

body[data-page="about"] .about-welcome-grid {
  align-items: stretch;
}

body[data-page="about"] .about-story-card {
  position: relative;
  overflow: hidden;
}

body[data-page="about"] .about-story-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #4a56d1, rgba(74, 86, 209, 0.25));
}

body[data-page="about"] .about-story-kicker {
  margin: 0 0 10px;
  color: #4a56d1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  font-weight: 800;
}

body[data-page="about"] .about-story-note {
  margin-bottom: 0;
  font-weight: 700;
  color: var(--color-navy-800);
}

body[data-page="about"] .about-fact-strip {
  margin-top: var(--space-3);
}

body[data-page="about"] .about-fact-strip .card {
  text-align: center;
}

body[data-page="about"] .about-fact-strip .stat-card__value {
  color: #4a56d1;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 800;
}

body[data-page="about"] .about-fact-strip .stat-card__label {
  margin-top: 6px;
}

body[data-page="about"] .about-vision-panel {
  border-left: 4px solid #4a56d1;
}

body[data-page="about"] .about-vm-heading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

body[data-page="about"] .about-vm-heading__icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 12px rgba(29, 64, 146, 0.2);
  flex: 0 0 auto;
}

body[data-page="about"] .about-vm-heading__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-page="about"] .about-vm-heading__icon--vision {
  background: linear-gradient(180deg, #2f63ce 0%, #224ca7 100%);
}

body[data-page="about"] .about-vm-heading__icon--mission {
  background: linear-gradient(180deg, #3e67da 0%, #2b49bd 100%);
}

body[data-page="about"] .about-mission-grid .card {
  border-left: 4px solid rgba(74, 86, 209, 0.72);
}

body[data-page="about"] .about-vm-detail {
  margin-bottom: var(--space-2);
}

body[data-page="about"] .about-vm-detail .card {
  border-left: 4px solid rgba(74, 86, 209, 0.72);
}

body[data-page="about"] .about-story-card,
body[data-page="about"] .about-fact-strip .card,
body[data-page="about"] .about-mission-grid .card {
  animation: about-rise 520ms ease both;
}

body[data-page="about"] .about-welcome-grid .about-story-card:nth-child(2) {
  animation-delay: 120ms;
}

body[data-page="about"] .about-fact-strip .card:nth-child(2) {
  animation-delay: 80ms;
}

body[data-page="about"] .about-fact-strip .card:nth-child(3) {
  animation-delay: 160ms;
}

body[data-page="about"] .about-fact-strip .card:nth-child(4) {
  animation-delay: 240ms;
}

body[data-page="home"] .home-about-teaser {
  border-left: 4px solid #4a56d1;
  position: relative;
  overflow: hidden;
}

body[data-page="home"] .home-about-teaser::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(74, 86, 209, 0.2), rgba(74, 86, 209, 0));
  pointer-events: none;
}

body[data-page="home"] .home-about-teaser__eyebrow {
  margin: 0 0 8px;
  color: #4a56d1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 800;
}

body[data-page="home"] .home-about-teaser h2 {
  margin-bottom: 10px;
}

body[data-page="home"] .home-about-teaser p {
  max-width: 76ch;
}

body[data-page="home"] .home-about-teaser .btn {
  margin-top: 6px;
}

@keyframes about-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-overview table {
  min-width: 560px;
}

.experience-table th:nth-child(2),
.experience-table td:nth-child(2) {
  white-space: nowrap;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

thead th {
  background: var(--color-navy-900);
  color: var(--color-white);
}

th,
td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-slate-200);
}

tr:hover td {
  background: #f9fbfd;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-sm);
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
  background: var(--color-white);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--space-3);
}

.faculty-gallery {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.faculty-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.faculty-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4a56d1, #6c7bf0);
}

.faculty-card:hover,
.faculty-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-slate-300);
}

.faculty-card--link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.faculty-card--link:hover,
.faculty-card--link:focus-visible {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 42px rgba(15, 39, 71, 0.18);
  border-color: #9fb7d8;
}

.faculty-card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, #eef4fb 0%, #dce8f5 100%);
  transition: transform 380ms ease, filter 380ms ease;
  position: relative;
  z-index: 1;
  border-bottom: 3px solid rgba(74, 86, 209, 0.18);
}

.faculty-card:hover .faculty-card__media {
  transform: scale(1.03);
  filter: saturate(1.04);
}

.faculty-card__media--placeholder {
  display: grid;
  place-items: center;
  color: var(--color-navy-800);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.faculty-card__body {
  padding: 14px 16px 16px;
  position: relative;
  z-index: 1;
}

.faculty-card__body h3 {
  margin: 0;
  font-size: 1rem;
}

.faculty-card__body p {
  margin: 4px 0 0;
  color: var(--color-slate-500);
  font-size: 0.93rem;
}

@keyframes people-card-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-card {
  overflow: hidden;
}

.gallery-card img {
  height: 240px;
  object-fit: cover;
  transition: transform 360ms ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.page-lead {
  max-width: 780px;
  color: var(--color-slate-500);
  margin-bottom: var(--space-4);
}

body[data-page="resources"] .resources-grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

body[data-page="resources"] .resource-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  animation: resource-rise 520ms ease both;
}

body[data-page="resources"] .resource-card:nth-child(2) {
  animation-delay: 80ms;
}

body[data-page="resources"] .resource-card:nth-child(3) {
  animation-delay: 160ms;
}

body[data-page="resources"] .resource-card:nth-child(4) {
  animation-delay: 240ms;
}

body[data-page="resources"] .resource-card:nth-child(5) {
  animation-delay: 320ms;
}

body[data-page="resources"] .resource-card:nth-child(6) {
  animation-delay: 400ms;
}

body[data-page="resources"] .resource-card:nth-child(7) {
  animation-delay: 480ms;
}

body[data-page="resources"] .resource-card:hover,
body[data-page="resources"] .resource-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(74, 86, 209, 0.35);
}

body[data-page="resources"] .resource-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-white);
  flex: 0 0 auto;
}

body[data-page="resources"] .resource-card__body {
  display: grid;
  gap: 4px;
}

body[data-page="resources"] .resource-card__title {
  font-weight: 800;
  color: var(--color-navy-900);
  font-size: 1.02rem;
}

body[data-page="resources"] .resource-card__meta {
  color: var(--color-slate-500);
  font-size: 0.92rem;
}

body[data-page="resources"] .resource-card--violet .resource-card__icon {
  background: #7c4dff;
}

body[data-page="resources"] .resource-card--pink .resource-card__icon {
  background: #ff6bd6;
}

body[data-page="resources"] .resource-card--orange .resource-card__icon {
  background: #ff6b2c;
}

body[data-page="resources"] .resource-card--green .resource-card__icon {
  background: #32c56d;
}

body[data-page="resources"] .resource-card--yellow .resource-card__icon {
  background: #f5c400;
}

body[data-page="resources"] .resource-card--magenta .resource-card__icon {
  background: #e91e63;
}

body[data-page="resources"] .resource-card--blue .resource-card__icon {
  background: #1e88ff;
}

@keyframes resource-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.facilities-shell {
  display: grid;
  gap: var(--space-3);
}

.facilities-spotlight {
  display: grid;
  gap: var(--space-3);
}

.facilities-spotlight > .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.facilities-spotlight__lead,
.facilities-spotlight__note {
  padding: var(--space-4);
}

.facilities-spotlight__lead h3,
.facilities-spotlight__note h3 {
  margin-bottom: 10px;
}

.facilities-spotlight__lead p {
  margin-bottom: 12px;
}

.facilities-spotlight__lead p:last-child {
  margin-bottom: 0;
}

.facilities-metrics {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

body[data-page="facilities"] .facilities-service-lane {
  margin-top: var(--space-3);
  padding: 18px;
  border: 1px solid var(--color-slate-200);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(74, 86, 209, 0.08) 0%, rgba(74, 86, 209, 0.02) 42%, rgba(255, 255, 255, 0.85) 100%),
    var(--color-white);
}

body[data-page="facilities"] .facilities-service-lane__header {
  margin-bottom: var(--space-2);
}

body[data-page="facilities"] .facilities-service-lane__header h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

body[data-page="facilities"] .facilities-service-lane__grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

body[data-page="facilities"] .facilities-lane-card {
  position: relative;
  overflow: hidden;
  border-left: 4px solid #4a56d1;
  padding: 16px;
}

body[data-page="facilities"] .facilities-lane-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(74, 86, 209, 0.12), rgba(74, 86, 209, 0.7), rgba(74, 86, 209, 0.12));
}

body[data-page="facilities"] .facilities-lane-card__step {
  margin: 0 0 8px;
  width: fit-content;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(74, 86, 209, 0.12);
  color: #3e4dc2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

body[data-page="facilities"] .facilities-lane-card h4 {
  margin: 0 0 8px;
  color: var(--color-navy-900);
  font-size: 1.02rem;
}

body[data-page="facilities"] .facilities-lane-card p:last-child {
  margin: 0;
}

body[data-page="facilities"] .facilities-metrics .stat-card {
  text-align: left;
  border-left: 4px solid var(--color-accent);
}

body[data-page="facilities"] .facilities-metrics .stat-card__value {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}
body[data-page="facilities"] .facilities-metrics-strip {
  padding: 18px 0 16px;
}
body[data-page="facilities"] .facilities-metrics--strip {
  gap: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
body[data-page="facilities"] .facilities-metrics--strip .stat-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
  padding: 12px 8px;
}
body[data-page="facilities"] .facilities-metrics--strip .stat-card__value,
body[data-page="facilities"] .facilities-metrics--strip .stat-card__label {
  color: var(--color-white);
}
body[data-page="facilities"] .facilities-metrics--strip .stat-card__label {
  font-size: 0.7rem;
}

.facilities-pillars {
  display: grid;
  gap: var(--space-3);
}

.facilities-pillars .card {
  padding: var(--space-3);
  position: relative;
  overflow: hidden;
}

body[data-page="facilities"] .facilities-pillars .card h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body[data-page="facilities"] .facilities-pillars .card h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4a56d1;
  box-shadow: 0 0 0 5px rgba(74, 86, 209, 0.16);
}

body[data-page="facilities"] .facilities-pillars .card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  border-radius: 0 0 0 120px;
  background: radial-gradient(circle at top right, rgba(74, 86, 209, 0.18), rgba(74, 86, 209, 0));
  pointer-events: none;
}

.facilities-inventory {
  display: grid;
  gap: var(--space-3);
}

body[data-page="facilities"] #infrastructure-inventory {
  overflow-x: hidden;
}

body[data-page="facilities"] .inv-wrap {
  display: none;
}

@media (min-width: 760px) {
  body[data-page="facilities"] .inv-wrap {
    display: flex;
    border: 1px solid #d1d9ef;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    margin-top: 2rem;
    min-height: 500px;
    box-shadow: var(--shadow-subtle);
  }

  body[data-page="facilities"] .inv-sidebar {
    width: 290px;
    min-width: 290px;
    background: linear-gradient(180deg, #102944 0%, #0f2747 100%);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
  }

  body[data-page="facilities"] .inv-sidebar-title {
    padding: 1.25rem 1.25rem 0.75rem;
    font-size: 0.76rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.46);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  body[data-page="facilities"] #inv-tabs {
    display: flex;
    flex-direction: column;
  }

  body[data-page="facilities"] .inv-tab {
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.9rem 1.25rem;
    cursor: pointer;
    border-left: 3px solid transparent;
    text-align: left;
    transition: background 0.15s ease, border-color 0.15s ease;
  }

  body[data-page="facilities"] .inv-tab:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  body[data-page="facilities"] .inv-tab.active {
    background: rgba(255, 255, 255, 0.14);
    border-left-color: #9fb7d8;
  }

  body[data-page="facilities"] .inv-tab-label {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.72);
    flex: 1;
    line-height: 1.4;
  }

  body[data-page="facilities"] .inv-tab.active .inv-tab-label {
    color: #ffffff;
  }

  body[data-page="facilities"] .inv-tab-count {
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
  }

  body[data-page="facilities"] .inv-tab.active .inv-tab-count {
    background: var(--color-accent);
    color: #ffffff;
  }

  body[data-page="facilities"] .inv-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 0;
    background: var(--color-white);
  }

  body[data-page="facilities"] .inv-main-head {
    padding: 1.35rem 1.5rem 1rem;
    border-bottom: 1px solid var(--color-slate-200);
  }

  body[data-page="facilities"] .inv-main-head h3 {
    margin: 0 0 0.2rem;
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--color-navy-900);
  }

  body[data-page="facilities"] .inv-main-head p {
    margin: 0;
    font-size: 1rem;
    color: var(--color-slate-500);
  }

  body[data-page="facilities"] .inv-rows {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.4rem 0;
    scrollbar-width: none;
  }

  body[data-page="facilities"] .inv-rows::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  body[data-page="facilities"] .inv-row {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0.68rem 1.5rem;
    border-bottom: 1px solid var(--color-slate-200);
    transition: background 0.12s ease;
    animation: invRowSlide 0.2s ease both;
  }

  body[data-page="facilities"] .inv-row:last-child {
    border-bottom: none;
  }

  body[data-page="facilities"] .inv-row:hover {
    background: var(--color-slate-100);
  }

  body[data-page="facilities"] .inv-row-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-slate-200);
    color: var(--color-navy-700);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 0.85rem;
  }

  body[data-page="facilities"] .inv-row-name {
    font-size: 1rem;
    color: var(--color-navy-900);
    flex: 1;
    line-height: 1.5;
    min-width: 0;
  }

  body[data-page="facilities"] .inv-row-qty {
    background: var(--color-slate-200);
    color: var(--color-navy-900);
    font-size: 0.86rem;
    font-weight: 700;
    padding: 3px 11px;
    border-radius: 20px;
    min-width: 34px;
    text-align: center;
    white-space: nowrap;
    margin-left: 0.85rem;
    flex-shrink: 0;
  }

  body[data-page="facilities"] .inv-footer {
    padding: 0.8rem 1.5rem;
    background: var(--color-slate-100);
    border-top: 1px solid var(--color-slate-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--color-slate-500);
  }

  body[data-page="facilities"] .inv-mobile {
    display: none !important;
  }
}

body[data-page="facilities"] .inv-mobile {
  display: none;
  gap: 12px;
  margin-bottom: 1rem;
}

body[data-page="facilities"] .inv-mobile__item {
  border: 1px solid #d1d9ef;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

body[data-page="facilities"] .inv-mobile__item summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #1e3a6e;
}

body[data-page="facilities"] .inv-mobile__item summary::-webkit-details-marker {
  display: none;
}

body[data-page="facilities"] .inv-mobile__count {
  background: #1e3a6e;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

body[data-page="facilities"] .inv-mobile__list {
  list-style: none;
  margin: 0;
  padding: 6px 12px 12px;
  display: grid;
  gap: 8px;
}

body[data-page="facilities"] .inv-mobile__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: #f3f6ff;
  border-radius: 10px;
  padding: 8px 10px;
}

body[data-page="facilities"] .inv-mobile__list .inv-item-name {
  font-size: 0.8rem;
  padding-right: 0;
}

body[data-page="facilities"] .inv-item-name {
  font-size: 0.82rem;
  color: #2d3a5e;
  flex: 1;
  padding-right: 0.75rem;
  line-height: 1.4;
}

body[data-page="facilities"] .inv-item-qty {
  background: #dce6ff;
  color: #1e3a6e;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  min-width: 32px;
  text-align: center;
  white-space: nowrap;
}

@keyframes invRowIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes invRowSlide {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

body[data-page="facilities"] .facilities-inventory .list li,
body[data-page="facilities"] .facilities-pillars .list li {
  border-bottom-color: var(--color-slate-300);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 759px) {
  body[data-page="facilities"] .inv-wrap {
    display: none;
  }

  body[data-page="facilities"] .inv-mobile {
    display: flex;
    flex-direction: column;
  }

  body[data-page="facilities"] .mindmap-node[open] .mindmap-node__panel,
  body[data-page="facilities"] .mindmap-node:hover .mindmap-node__panel {
    max-height: none;
    overflow: visible;
  }

  body[data-page="resources"] .resource-card {
    padding: 14px 16px;
  }

  body[data-page="facilities"] .facilities-metrics--strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  body[data-page="facilities"] .facilities-metrics--strip .stat-card__value {
    font-size: 1.35rem;
  }

  body[data-page="activities-events"] .event-card--with-media {
    display: flex;
    flex-direction: column;
  }

  body[data-page="activities-events"] .event-card__media {
    order: 1;
  }

  body[data-page="activities-events"] .event-card__body {
    order: 2;
  }

  body[data-page="people"] .profile-overview--blue {
    text-align: left;
    justify-items: start;
    padding: 28px 24px;
  }

  body[data-page="people"] .profile-overview--blue .profile-overview__body {
    text-align: left;
  }

  body[data-page="people"] .profile-overview--blue .profile-overview__media {
    margin-inline: auto;
  }

  body[data-page="people"] .profile-overview--blue .profile-overview__meta {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  body[data-page="people"] .profile-overview--blue .profile-overview__meta {
    justify-items: start;
  }

  body[data-page="people"] #faculty.reveal {
    opacity: 1;
    transform: none;
  }

  body[data-page="people"] .faculty-card {
    animation: people-card-rise 520ms ease both;
  }

  body[data-page="people"] .faculty-card:nth-child(2) {
    animation-delay: 80ms;
  }

  body[data-page="home"] .kcc-news-ticker__item {
    font-size: 0.82rem;
    padding: 7px 10px;
    gap: 8px;
  }

  body[data-page="home"] .kcc-news-ticker__tag {
    min-width: 56px;
    min-height: 24px;
    padding: 0 8px;
    font-size: 0.66rem;
  }

  body[data-page="home"] .kcc-news-ticker__source {
    font-size: 0.72rem;
  }

  body[data-page="home"] #explore-site-stream .explore-title-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
  }

  body[data-page="home"] #explore-site-stream .explore-title-icon svg {
    width: 13px;
    height: 13px;
  }

  body[data-page="home"] #explore-site-stream .explore-card {
    min-height: 0;
    padding: 18px;
  }

  body[data-page="home"] #explore-site-stream .explore-card__icon {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
  }

  body[data-page="home"] #explore-site-stream .explore-card__icon svg {
    width: 21px;
    height: 21px;
  }

  body[data-page="people"] .faculty-card:nth-child(3) {
    animation-delay: 160ms;
  }

  body[data-page="people"] .faculty-card:nth-child(4) {
    animation-delay: 240ms;
  }

  body[data-page="people"] .faculty-card:nth-child(5) {
    animation-delay: 320ms;
  }

  body[data-page="people"] .faculty-card:nth-child(6) {
    animation-delay: 400ms;
  }

  body[data-page="people"] .faculty-card:nth-child(7) {
    animation-delay: 480ms;
  }

  body[data-page="people"] .faculty-card:nth-child(8) {
    animation-delay: 560ms;
  }

  body[data-page="people"] .faculty-card:nth-child(9) {
    animation-delay: 640ms;
  }

  body[data-page="people"] .faculty-card:nth-child(10) {
    animation-delay: 720ms;
  }

  body[data-page="people"] .faculty-card:nth-child(11) {
    animation-delay: 800ms;
  }

  body[data-page="people"] .faculty-card:nth-child(12) {
    animation-delay: 880ms;
  }

  body[data-page="people"] .faculty-card:nth-child(13) {
    animation-delay: 960ms;
  }

  body[data-page="home"] .stats--highlight {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }

  body[data-page="home"] .section--highlight .stat-card {
    min-height: auto;
    padding: 10px 8px;
  }

  body[data-page="home"] .stats--highlight .stat-card__value {
    font-size: 1.35rem;
  }

  body[data-page="home"] .stats--highlight .stat-card__label {
    font-size: 0.7rem;
  }

  body[data-page="home"] .institution-showcase {
    min-height: 0;
    gap: var(--space-2);
  }

  body[data-page="home"] .institution-showcase::after {
    display: none;
  }

  body[data-page="home"] .institution-showcase__person {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    max-height: 360px;
    border-radius: 14px;
    -webkit-mask-image: none;
    mask-image: none;
    order: 1;
  }

  body[data-page="home"] .institution-showcase__content {
    max-width: none;
    margin-left: 0;
    order: 2;
  }
}

@media (min-width: 760px) {
  body[data-page="resources"] .resources-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-page="home"] .institution-showcase {
    grid-template-columns: minmax(380px, 47%) minmax(0, 53%);
    gap: 0;
    align-items: stretch;
    min-height: 540px;
  }

  body[data-page="home"] .institution-showcase__person {
    order: 1;
    height: 100%;
    max-height: 540px;
  }

  body[data-page="home"] .institution-showcase__content {
    order: 2;
    min-height: 540px;
    padding: 6px 0 6px 8px;
    justify-content: center;
  }

  body[data-page="home"] .institution-showcase__content .btn {
    margin-top: 14px;
  }

  body[data-page="home"] .vm-showcase {
    grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
    align-items: stretch;
    gap: var(--space-4);
  }

  body[data-page="home"] .vm-orbit {
    display: grid;
    place-items: center;
    position: relative;
  }

  body[data-page="home"] .vm-orbit__ring {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 2px dashed rgba(74, 86, 209, 0.42);
    animation: vm-spin 12s linear infinite;
  }

  body[data-page="home"] .vm-orbit__dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4a56d1;
    box-shadow: 0 0 0 5px rgba(74, 86, 209, 0.18);
    animation: vm-dot-float 3.2s ease-in-out infinite;
  }

  body[data-page="home"] .vm-orbit__dot--one {
    top: 18px;
    left: 58px;
  }

  body[data-page="home"] .vm-orbit__dot--two {
    bottom: 18px;
    right: 58px;
    animation-delay: 1.1s;
  }

  .intro-layout {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: var(--space-4);
    max-width: 980px;
    margin-inline: auto;
  }

  .intro-layout-break,
  .intro-panel,
  .intro-timeline {
    grid-column: 1 / -1;
  }

  .profile-overview {
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: start;
  }

  .facilities-spotlight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  body[data-page="activities-events"] .activities-snapshot {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-page="activities-events"] .activity-focus-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-page="academics-training"] .placement-meters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="academics-training"] .placement-transfer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-page="academics-training"] .placement-yearly__chart {
    min-width: 0;
  }

  .facilities-metrics {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  body[data-page="facilities"] .facilities-service-lane__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .facilities-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facilities-inventory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="facilities"] .mindmap-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-page="activities-events"] .event-zigzag {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    justify-items: center;
  }

  body[data-page="activities-events"] .activities-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-page="activities-events"] .event-zigzag > .card {
    width: 100%;
    max-width: 1080px;
    height: 100%;
    margin: 0 auto;
  }

  body[data-page="activities-events"] .event-card--with-media {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-page="activities-events"] .event-card--media-left {
    grid-template-columns: minmax(260px, 38%) minmax(0, 1fr);
    align-items: stretch;
    grid-template-areas: "media body";
  }

  body[data-page="activities-events"] .event-card--media-right {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 38%);
    align-items: stretch;
    grid-template-areas: "body media";
  }

  body[data-page="activities-events"] .event-card--media-left .event-card__media,
  body[data-page="activities-events"] .event-card--media-right .event-card__media {
    grid-area: media;
  }

  body[data-page="activities-events"] .event-card--media-left .event-card__body,
  body[data-page="activities-events"] .event-card--media-right .event-card__body {
    grid-area: body;
  }

  body[data-page="activities-events"] .event-card--media-left .event-card__media {
    min-height: 100%;
  }

  body[data-page="activities-events"] .event-media-frame__stage img {
    height: 420px;
  }

  body[data-page="activities-events"] .event-card .event-media-frame__stage img {
    height: 100%;
  }

  body[data-page="activities-events"] .activities-timeline__item {
    min-height: 230px;
  }

  .profile-overview--blue {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    text-align: left;
  }

  .profile-overview--blue .profile-overview__body {
    text-align: left;
  }

  .profile-overview--blue .profile-overview__meta {
    justify-items: start;
  }

  .intro-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .grid--six {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .faculty-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-subdivisions {
    align-content: stretch;
  }

  .intro-subdivisions .card {
    height: 100%;
  }

  .intro-timeline {
    grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
    align-items: stretch;
    max-width: none;
    margin-inline: 0;
    margin-top: 0;
  }

  .intro-timeline__connector {
    padding: 0;
    flex-direction: column;
    gap: 8px;
    align-self: center;
  }

  .intro-timeline__line {
    width: 2px;
    height: auto;
    min-height: 44px;
    background: linear-gradient(180deg, rgba(43, 108, 176, 0.15), rgba(43, 108, 176, 0.6));
  }

  .site-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .vm-card,
  body[data-page="home"] .vm-orbit__ring,
  body[data-page="home"] .vm-orbit__dot {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  body[data-page="home"] #explore-site-stream .explore-stream__track {
    animation: none !important;
    transform: none !important;
  }

  body[data-page="academics-training"] #placement-support .placement-transfer-grid__item {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  body[data-page="home"] .kcc-news-ticker__track {
    animation: none !important;
    transform: none !important;
  }

  body[data-page="facilities"] .facilities-inventory .info-panel,
  body[data-page="facilities"] .facilities-inventory .info-panel::after {
    animation: none !important;
  }

  body[data-page="facilities"] .mindmap-core::after {
    animation: none !important;
  }
}

@media (min-width: 760px) and (hover: hover) {
  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    display: block;
  }

  .has-submenu:hover > .submenu-toggle,
  .has-submenu:focus-within > .submenu-toggle {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.12);
  }
}

@media (min-width: 1100px) {
  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: block;
    border-bottom: 0;
    margin-left: auto;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
  }

  .nav-link,
  .submenu-toggle {
    width: auto;
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .has-submenu {
    position: relative;
  }

  .submenu {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 210px;
    padding: 8px;
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    background: var(--color-white);
  }

  .submenu-toggle {
    color: rgba(255, 255, 255, 0.92);
  }

  .grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body[data-page="home"] #explore-site-stream .explore-stream__viewport {
    mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  }

  body[data-page="home"] #explore-site-stream .explore-stream__track.is-streaming {
    display: flex;
    align-items: stretch;
    gap: var(--space-2);
    width: max-content;
    animation: home-explore-stream 24s linear infinite;
    will-change: transform;
  }

  body[data-page="home"] #explore-site-stream .explore-stream__track.is-streaming:hover,
  body[data-page="home"] #explore-site-stream .explore-stream__track.is-streaming:focus-within {
    animation-play-state: paused;
  }

  body[data-page="home"] #explore-site-stream .explore-stream__track.is-streaming > .compact-division-grid {
    display: flex;
    gap: var(--space-2);
    flex: 0 0 auto;
    width: max-content;
    min-width: max-content;
  }

  body[data-page="home"] #explore-site-stream .explore-stream__track.is-streaming > .compact-division-grid .card--compact {
    width: clamp(230px, 20vw, 278px);
  }

  body[data-page="home"] #explore-site-stream .explore-stream__track.is-streaming > .compact-division-grid[data-explore-clone="true"] {
    display: flex;
  }

  .faculty-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .header-actions {
    display: inline-flex;
  }

  .site-footer__inner {
    grid-template-columns: 1.1fr 1.9fr;
    align-items: start;
  }

  .site-footer__links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
