/* ==========================================================================
   Institutional theme — built on Fusion design tokens (tokens.css, rp-new).
   Structure mirrors the design canvas: header chrome, homepage variants,
   faculty directory + profile, generic content, footer.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; }

body {
	background: var(--rp-color-background-muted);
	font-family: var(--rp-font-family-sans);
	color: var(--rp-color-text-default);
	line-height: var(--rp-font-line-height-600);
}

a { color: var(--rp-color-primary); text-decoration: none; }
a:hover { color: var(--rp-color-primary-dark); text-decoration: underline; }

h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul { list-style: none; padding: 0; }
img { max-width: 100%; display: block; }

.screen-reader-text {
	position: absolute; left: -9999px;
}
.skip-link:focus {
	position: fixed; top: var(--rp-space-200); left: var(--rp-space-200);
	background: var(--rp-color-background-default); padding: var(--rp-space-200) var(--rp-space-400);
	border-radius: var(--rp-radius-100); z-index: 100;
}

.container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 var(--rp-space-800);
}

/* ---------- buttons / badges / chips ---------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center;
	height: 44px; padding: 0 var(--rp-space-600);
	border-radius: var(--rp-radius-button);
	font-size: var(--rp-font-size-400); font-weight: var(--rp-font-weight-bold);
	border: none; cursor: pointer; text-decoration: none;
}
.btn--primary { background: var(--rp-color-secondary); color: var(--rp-color-text-inverse); }
.btn--primary:hover { background: var(--rp-color-secondary-dark); color: var(--rp-color-text-inverse); text-decoration: none; }
.btn--outline { background: transparent; border: 2px solid var(--rp-color-border-strong); color: var(--rp-color-text-default); }
.btn--outline-inverse { background: transparent; border: 2px solid color-mix(in srgb, var(--rp-color-text-inverse) 70%, transparent); color: var(--rp-color-text-inverse); }
.btn--block { width: 100%; }

.badge {
	display: inline-flex; align-items: center; font-size: var(--rp-font-size-250);
	font-weight: var(--rp-font-weight-bold); padding: var(--rp-space-050) var(--rp-space-200);
	border-radius: var(--rp-radius-050); text-transform: uppercase; letter-spacing: .06em;
}
.badge--muted { background: var(--rp-color-primary-highlight); color: var(--rp-color-primary); }
.badge--new { background: var(--rp-color-error); color: var(--rp-color-text-inverse); }
.badge--primary { background: var(--rp-color-primary); color: var(--rp-color-text-inverse); }
.badge--eyebrow {
	align-self: flex-start; background: var(--rp-color-secondary); color: var(--rp-color-text-inverse);
	padding: var(--rp-space-150) var(--rp-space-400); border-radius: var(--rp-radius-round);
	font-size: var(--rp-font-size-300);
}

.chip {
	display: inline-flex; align-items: center; background: var(--rp-color-background-muted);
	font-size: var(--rp-font-size-250); padding: var(--rp-space-050) var(--rp-space-200);
	border-radius: var(--rp-radius-050);
}
.chip--outline { background: var(--rp-color-background-default); border: 1px solid var(--rp-color-border-default); border-radius: var(--rp-radius-round); padding: var(--rp-space-150) var(--rp-space-300); font-size: var(--rp-font-size-300); }

.text-success { color: var(--rp-color-success); font-weight: var(--rp-font-weight-bold); }

/* ---------- breadcrumb ---------- */

.breadcrumb {
	display: flex; gap: var(--rp-space-200); align-items: center;
	font-size: var(--rp-font-size-300); color: var(--rp-color-text-weakest);
	padding: var(--rp-space-300) var(--rp-space-800);
	background: var(--rp-color-background-subtle);
	border-bottom: 1px solid var(--rp-color-border-default);
}
.breadcrumb a { color: var(--rp-color-primary); }
.breadcrumb__current { color: var(--rp-color-text-default); font-weight: var(--rp-font-weight-bold); }

/* ==========================================================================
   Site chrome
   ========================================================================== */

.secondary-bar {
	background: var(--rp-color-secondary-dark); color: var(--rp-color-text-inverse);
	padding: 0 var(--rp-space-800); height: 30px; font-size: var(--rp-font-size-250);
	display: flex; align-items: center;
}
.secondary-bar__links { display: flex; gap: var(--rp-space-500); align-items: center; list-style: none; margin: 0; padding: 0; }
.secondary-bar__links li { display: flex; align-items: center; gap: var(--rp-space-500); }
.secondary-bar__links li:not(:last-child)::after { content: "|"; margin-left: var(--rp-space-500); opacity: .5; }
.secondary-bar__links a { color: inherit; text-decoration: none; opacity: .92; }
.secondary-bar__links a:hover { opacity: 1; text-decoration: underline; }

.brand-band {
	display: flex; align-items: center; justify-content: space-between;
	padding: var(--rp-space-500) var(--rp-space-800); gap: var(--rp-space-600);
	border-bottom: 1px solid var(--rp-color-border-default);
	background: var(--rp-color-background-default);
}
.brand-band__identity { display: flex; align-items: center; gap: var(--rp-space-500); }
.brand-band__name { font-size: var(--rp-font-size-600); font-weight: var(--rp-font-weight-bold); line-height: 1.15; }
.brand-band__affiliation { font-size: var(--rp-font-size-350); color: var(--rp-color-text-weaker); margin-top: var(--rp-space-050); }
.brand-band__credentials { display: flex; align-items: center; gap: var(--rp-space-500); }
.credential { text-align: right; border-right: 1px solid var(--rp-color-border-default); padding-right: var(--rp-space-500); }
.credential:last-child { border-right: none; padding-right: 0; }
.credential__label { font-size: var(--rp-font-size-300); color: var(--rp-color-text-weakest); text-transform: uppercase; letter-spacing: .06em; }
.credential__value { font-size: var(--rp-font-size-450); font-weight: var(--rp-font-weight-bold); }

.main-nav {
	background: var(--rp-color-primary); color: var(--rp-color-text-inverse);
	display: flex; align-items: center; justify-content: space-between;
	padding: 0 var(--rp-space-800); height: 52px; position: relative;
}
.main-nav__links { display: flex; align-items: stretch; gap: var(--rp-space-600); font-size: var(--rp-font-size-350); font-weight: var(--rp-font-weight-bold); height: 100%; }
.main-nav__links li { display: flex; align-items: stretch; height: 100%; position: relative; }
.main-nav__links a {
	color: inherit; text-decoration: none; display: flex; align-items: center; height: 100%;
	transition: background-color .15s ease, color .15s ease;
}
.main-nav__links a:hover, .main-nav__links .is-open > a {
	background: var(--rp-color-background-default); color: var(--rp-color-primary-dark);
	padding: 0 var(--rp-space-400); margin: 0 calc(var(--rp-space-400) * -1);
}
.main-nav__links .menu-item-has-children > a::after {
	content: ""; width: 6px; height: 6px; margin-left: var(--rp-space-200);
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg); flex: none;
}
.main-nav__search {
	display: flex; align-items: center; gap: var(--rp-space-300);
	background: color-mix(in srgb, var(--rp-color-text-inverse) 16%, transparent);
	border-radius: var(--rp-radius-input); padding: var(--rp-space-200) var(--rp-space-400);
	width: 240px; font-size: var(--rp-font-size-350);
}
.main-nav__search input {
	background: transparent; border: none; color: var(--rp-color-text-inverse); outline: none; width: 100%;
}
.main-nav__search input::placeholder { color: color-mix(in srgb, var(--rp-color-text-inverse) 80%, transparent); }
.main-nav__search svg { flex: none; color: currentColor; }

.main-nav__toggle {
	display: none; flex: none; width: 40px; height: 40px; align-items: center; justify-content: center;
	background: transparent; border: none; color: inherit; cursor: pointer; margin-right: var(--rp-space-400);
}
.main-nav__toggle-bars { position: relative; display: block; width: 22px; height: 2px; background: currentColor; }
.main-nav__toggle-bars::before, .main-nav__toggle-bars::after {
	content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor;
}
.main-nav__toggle-bars::before { top: -7px; }
.main-nav__toggle-bars::after { top: 7px; }

.main-nav__links .sub-menu {
	display: none; flex-direction: column; list-style: none; margin: 0; padding: var(--rp-space-200) 0;
	position: absolute; top: 100%; left: 0; min-width: 240px; z-index: 30;
	background: var(--rp-color-background-default); border-bottom: 4px solid var(--rp-color-secondary);
	box-shadow: var(--rp-shadow-2);
}
.main-nav__links .menu-item-has-children:hover > .sub-menu,
.main-nav__links .menu-item-has-children:focus-within > .sub-menu,
.main-nav__links .menu-item-has-children.is-open > .sub-menu {
	display: flex;
}
.main-nav__links .sub-menu li { height: auto; }
.main-nav__links .sub-menu a {
	height: auto; width: 100%; padding: var(--rp-space-300) var(--rp-space-500);
	color: var(--rp-color-text-default); font-weight: var(--rp-font-weight-regular);
	font-size: var(--rp-font-size-350); white-space: nowrap;
}
.main-nav__links .sub-menu a:hover {
	background: var(--rp-color-background-subtle); color: var(--rp-color-primary);
	padding: var(--rp-space-300) var(--rp-space-500); margin: 0;
}

/* ==========================================================================
   Homepage
   ========================================================================== */

.homepage__section { padding: var(--rp-space-1200) var(--rp-space-800); }
.homepage__section--muted { background: var(--rp-color-background-subtle); }

/* Hero slider — shared by Civic Standard & Full-Bleed Slider */

.hero-slider__stage { position: relative; height: 460px; background: var(--rp-color-primary-dark); overflow: hidden; }
.hero-slider--slider .hero-slider__stage { height: 620px; }
.hero-slider__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; }
.hero-slider__slide.is-active { opacity: 1; z-index: 1; }
.hero-slider__media { position: absolute; inset: 0; }
.hero-slider__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-slider__scrim {
	position: absolute; inset: 0; display: flex; align-items: center;
	background: linear-gradient(90deg, color-mix(in srgb, var(--rp-color-primary-dark) 94%, transparent) 0%, color-mix(in srgb, var(--rp-color-primary-dark) 82%, transparent) 46%, color-mix(in srgb, var(--rp-color-primary-dark) 0%, transparent) 78%);
}
.hero-slider__content {
	padding: 0 var(--rp-space-2400); max-width: 820px; display: flex; flex-direction: column;
	gap: var(--rp-space-400); color: var(--rp-color-text-inverse);
}
.hero-slider__title { font-size: var(--rp-font-size-1200); line-height: 1.05; font-weight: var(--rp-font-weight-bold); }
.hero-slider__excerpt { font-size: var(--rp-font-size-500); line-height: var(--rp-font-line-height-650); opacity: .92; }
.hero-slider__ctas { display: flex; gap: var(--rp-space-400); margin-top: var(--rp-space-200); }
.hero-slider__controls {
	position: absolute; left: var(--rp-space-2400); bottom: var(--rp-space-600);
	display: flex; align-items: center; gap: var(--rp-space-400); color: var(--rp-color-text-inverse); z-index: 2;
}
.hero-slider__dots { display: flex; gap: var(--rp-space-200); align-items: center; }
.hero-slider__dot { width: 12px; height: 4px; background: color-mix(in srgb, var(--rp-color-text-inverse) 45%, transparent); border-radius: var(--rp-radius-round); cursor: pointer; }
.hero-slider__dot.is-active { width: 28px; background: var(--rp-color-text-inverse); }
.hero-slider__nav { display: flex; gap: var(--rp-space-200); }
.hero-slider__nav button {
	width: 36px; height: 36px; border: 1px solid color-mix(in srgb, var(--rp-color-text-inverse) 50%, transparent);
	border-radius: var(--rp-radius-round); display: grid; place-items: center; font-size: var(--rp-font-size-350);
	background: transparent; color: inherit; cursor: pointer;
}
.hero-slider__filmstrip { display: flex; gap: var(--rp-space-300); padding: var(--rp-space-500) var(--rp-space-800); background: var(--rp-color-background-default); overflow-x: auto; }
.hero-slider__filmstrip-item { flex: none; width: 160px; border: 2px solid transparent; border-radius: var(--rp-radius-200); overflow: hidden; background: none; padding: 0; cursor: pointer; text-align: left; }
.hero-slider__filmstrip-item.is-active { border-color: var(--rp-color-primary); }
.hero-slider__filmstrip-item span { display: block; padding: var(--rp-space-200); font-size: var(--rp-font-size-300); }

/* Split hero — Editorial Campus */

.hero-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; background: var(--rp-color-background-default); }
.hero-split__content { display: flex; flex-direction: column; gap: var(--rp-space-400); justify-content: center; padding: var(--rp-space-2000) var(--rp-space-2000); }
.hero-split__title { font-size: var(--rp-font-size-1200); line-height: 1.08; font-weight: var(--rp-font-weight-bold); }
.hero-split__excerpt { font-size: var(--rp-font-size-500); color: var(--rp-color-text-weaker); line-height: var(--rp-font-line-height-650); }
.hero-split__ctas { display: flex; gap: var(--rp-space-400); margin-top: var(--rp-space-200); }
.hero-split__media { position: relative; }
.hero-split__media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
	.hero-split { grid-template-columns: 1fr; }
	.hero-split__content { padding: var(--rp-space-1200); }
}

/* Task Rail */

.task-rail-layout { display: grid; grid-template-columns: 280px 1fr; gap: var(--rp-space-800); padding: var(--rp-space-800); align-items: start; }
.task-rail { position: sticky; top: var(--rp-space-500); background: var(--rp-color-background-default); border: 1px solid var(--rp-color-border-default); border-radius: var(--rp-radius-card); padding: var(--rp-space-500); }
.quick-links--rail { display: flex; flex-direction: column; gap: var(--rp-space-200); }
.quick-links--rail a { display: block; padding: var(--rp-space-300) var(--rp-space-400); border-radius: var(--rp-radius-100); color: var(--rp-color-text-default); font-weight: var(--rp-font-weight-bold); font-size: var(--rp-font-size-350); }
.quick-links--rail a:hover { background: var(--rp-color-background-muted); text-decoration: none; }
.campaign-band { display: grid; grid-template-columns: 320px 1fr; background: var(--rp-color-background-default); border: 1px solid var(--rp-color-border-default); border-radius: var(--rp-radius-card); overflow: hidden; }
.campaign-band__media img { width: 100%; height: 100%; object-fit: cover; }
.campaign-band__content { display: flex; flex-direction: column; gap: var(--rp-space-300); justify-content: center; padding: var(--rp-space-800); }
.campaign-band__title { font-size: var(--rp-font-size-800); font-weight: var(--rp-font-weight-bold); line-height: 1.15; }
.campaign-band__excerpt { color: var(--rp-color-text-weaker); }

@media (max-width: 900px) {
	.task-rail-layout { grid-template-columns: 1fr; }
	.campaign-band { grid-template-columns: 1fr; }
}

/* Ticker */

.ticker { display: flex; align-items: center; background: var(--rp-color-secondary-highlight); border-bottom: 1px solid var(--rp-color-border-default); }
.ticker__label {
	background: var(--rp-color-secondary-dark); color: var(--rp-color-text-inverse);
	font-size: var(--rp-font-size-300); font-weight: var(--rp-font-weight-bold); letter-spacing: .08em;
	text-transform: uppercase; padding: var(--rp-space-300) var(--rp-space-500); align-self: stretch;
	display: flex; align-items: center; flex: none;
}
.ticker__items { padding: var(--rp-space-300) var(--rp-space-500); font-size: var(--rp-font-size-350); color: var(--rp-color-text-weaker); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Quick links (grid variant) */

.quick-links--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: var(--rp-space-400); padding: 0 var(--rp-space-800) var(--rp-space-800); }
.quick-links--grid a {
	border: 1px solid var(--rp-color-border-default); border-radius: var(--rp-radius-card);
	padding: var(--rp-space-500) var(--rp-space-300); display: flex; flex-direction: column;
	align-items: center; gap: var(--rp-space-300); text-align: center; color: var(--rp-color-text-default);
	font-size: var(--rp-font-size-350); font-weight: var(--rp-font-weight-bold);
}
.quick-links--grid a:hover { border-color: var(--rp-color-primary); text-decoration: none; }

/* Three-lane board: notices / news / events */

.three-lanes { display: grid; grid-template-columns: 1.1fr 1.1fr .8fr; gap: var(--rp-space-800); align-items: start; }
.lane { display: flex; flex-direction: column; gap: var(--rp-space-400); background: var(--rp-color-background-default); border: 1px solid var(--rp-color-border-default); border-radius: var(--rp-radius-card); padding: var(--rp-space-500); }
.lane__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--rp-space-300); }
.lane__head h3 { font-size: var(--rp-font-size-500); font-weight: var(--rp-font-weight-bold); }
.lane__empty { color: var(--rp-color-text-weakest); font-size: var(--rp-font-size-350); }
.lane__readmore, .lane__viewall { align-self: flex-start; font-size: var(--rp-font-size-300); color: var(--rp-color-primary); font-weight: var(--rp-font-weight-bold); white-space: nowrap; }

.link-list { display: flex; flex-direction: column; gap: var(--rp-space-300); }
.link-list__item { display: flex; align-items: flex-start; gap: var(--rp-space-300); padding-bottom: var(--rp-space-300); border-bottom: 1px solid var(--rp-color-border-default); }
.link-list__item:last-child { border-bottom: none; padding-bottom: 0; }
.link-list__icon { flex: none; margin-top: 2px; color: var(--rp-color-primary); }
.link-list__item a { color: var(--rp-color-text-default); font-size: var(--rp-font-size-350); line-height: var(--rp-font-line-height-550); }
.link-list__item a:hover { color: var(--rp-color-primary); }

.notice-list { display: flex; flex-direction: column; gap: var(--rp-space-300); }
.notice-list__item {
	display: grid; grid-template-columns: auto 1fr; column-gap: var(--rp-space-300); row-gap: 2px;
	padding-bottom: var(--rp-space-300); border-bottom: 1px solid var(--rp-color-border-default);
}
.notice-list__item:last-child { border-bottom: none; padding-bottom: 0; }
.notice-list__date {
	font-size: var(--rp-font-size-300); font-weight: var(--rp-font-weight-bold); color: var(--rp-color-text-weaker);
	white-space: nowrap;
}
.notice-list__title { color: var(--rp-color-text-default); font-size: var(--rp-font-size-350); line-height: var(--rp-font-line-height-550); }
.notice-list__title:hover { color: var(--rp-color-primary); }
.notice-list__meta { grid-column: 2; display: flex; align-items: center; gap: var(--rp-space-300); }
.notice-list__category { font-size: var(--rp-font-size-250); color: var(--rp-color-text-weakest); text-transform: uppercase; letter-spacing: .02em; }
.notice-list__flag {
	font-size: var(--rp-font-size-250); font-weight: var(--rp-font-weight-bold); color: var(--rp-color-text-inverse);
	background: var(--rp-color-primary); border-radius: var(--rp-radius-100); padding: 1px var(--rp-space-200);
}

@media (max-width: 1100px) {
	.three-lanes { grid-template-columns: 1fr; }
}

/* External portals (homepage) */

.external-portals { margin-top: var(--rp-space-600); }
.external-portals__label { font-size: var(--rp-font-size-350); font-weight: var(--rp-font-weight-bold); color: var(--rp-color-text-weaker); text-transform: uppercase; letter-spacing: .04em; margin-bottom: var(--rp-space-300); }
.external-portals__list { display: flex; flex-wrap: wrap; gap: var(--rp-space-300); list-style: none; }
.external-portals__list a {
	display: inline-flex; align-items: center; padding: var(--rp-space-300) var(--rp-space-500);
	background: var(--rp-color-background-default); border: 1px solid var(--rp-color-border-default);
	border-radius: var(--rp-radius-100); font-size: var(--rp-font-size-350); font-weight: var(--rp-font-weight-bold);
	color: var(--rp-color-text-default);
}
.external-portals__list a:hover { border-color: var(--rp-color-primary); color: var(--rp-color-primary); text-decoration: none; }

/* Stats band (homepage) */

.stats-band {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: var(--rp-space-600); padding: var(--rp-space-800); background: var(--rp-color-primary-dark);
	text-align: center;
}
.stats-band__value { font-size: var(--rp-font-size-700); font-weight: var(--rp-font-weight-black); color: var(--rp-color-text-inverse); line-height: 1; }
.stats-band__label { margin-top: var(--rp-space-200); font-size: var(--rp-font-size-300); color: color-mix(in srgb, var(--rp-color-text-inverse) 75%, transparent); }

/* ==========================================================================
   Faculty directory (2a)
   ========================================================================== */

.page-intro { padding: var(--rp-space-800) var(--rp-space-800) 0; display: flex; flex-direction: column; gap: var(--rp-space-300); }
.page-intro h1 { font-size: var(--rp-font-size-900); font-weight: var(--rp-font-weight-bold); }

.faculty-directory__layout { display: grid; grid-template-columns: 300px 1fr; gap: var(--rp-space-800); padding: var(--rp-space-800); }

.faculty-filters { display: flex; flex-direction: column; gap: var(--rp-space-600); }
.faculty-filters__search { display: flex; align-items: center; gap: var(--rp-space-300); border: 1px solid var(--rp-color-border-strong); border-radius: var(--rp-radius-input); padding: 0 var(--rp-space-400); height: 44px; }
.faculty-filters__search input { border: none; background: transparent; outline: none; width: 100%; font-size: var(--rp-font-size-350); }
.faculty-filters__group { border: none; border-top: 1px solid var(--rp-color-border-default); padding-top: var(--rp-space-500); margin: 0; display: flex; flex-direction: column; gap: var(--rp-space-300); }
.faculty-filters__group:first-of-type { border-top: none; padding-top: 0; }
.faculty-filters__group legend { font-size: var(--rp-font-size-300); font-weight: var(--rp-font-weight-bold); letter-spacing: .08em; text-transform: uppercase; color: var(--rp-color-text-weakest); padding: 0; }
.faculty-filters__checkbox { display: flex; align-items: center; gap: var(--rp-space-300); font-size: var(--rp-font-size-350); color: var(--rp-color-text-weaker); cursor: pointer; }
.faculty-filters__count { margin-left: auto; color: var(--rp-color-text-weakest); }
.faculty-filters__submit { margin-top: var(--rp-space-300); }

.faculty-directory__toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--rp-space-500); flex-wrap: wrap; gap: var(--rp-space-400); }
.faculty-directory__count { font-size: var(--rp-font-size-350); color: var(--rp-color-text-weaker); }
.faculty-directory__toggles { display: flex; align-items: center; gap: var(--rp-space-400); }
.faculty-directory__sort select { font-size: var(--rp-font-size-350); border: 1px solid var(--rp-color-border-strong); border-radius: var(--rp-radius-input); padding: var(--rp-space-150) var(--rp-space-300); }
.view-toggle { display: flex; border: 1px solid var(--rp-color-border-strong); border-radius: var(--rp-radius-input); overflow: hidden; }
.view-toggle__btn { font-size: var(--rp-font-size-300); font-weight: var(--rp-font-weight-bold); padding: var(--rp-space-200) var(--rp-space-400); color: var(--rp-color-text-weaker); text-decoration: none; }
.view-toggle__btn.is-active { background: var(--rp-color-primary); color: var(--rp-color-text-inverse); }

.faculty-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--rp-space-500); margin-bottom: var(--rp-space-600); }
.faculty-card { border: 1px solid var(--rp-color-border-default); border-radius: var(--rp-radius-card); overflow: hidden; display: flex; flex-direction: column; background: var(--rp-color-background-default); }
.faculty-card__media img { width: 100%; height: 190px; object-fit: cover; }
.faculty-card__body { padding: var(--rp-space-500); display: flex; flex-direction: column; gap: var(--rp-space-200); }
.faculty-card__name { font-size: var(--rp-font-size-450); font-weight: var(--rp-font-weight-bold); line-height: 1.2; color: var(--rp-color-text-default); }
.faculty-card__role { font-size: var(--rp-font-size-300); color: var(--rp-color-primary); font-weight: var(--rp-font-weight-bold); }
.faculty-card__quals { font-size: var(--rp-font-size-300); color: var(--rp-color-text-weaker); }
.faculty-card__tags { display: flex; gap: var(--rp-space-200); flex-wrap: wrap; margin-top: var(--rp-space-100); }
.faculty-card__footer { border-top: 1px solid var(--rp-color-border-default); margin-top: var(--rp-space-200); padding-top: var(--rp-space-300); display: flex; justify-content: space-between; align-items: center; font-size: var(--rp-font-size-300); color: var(--rp-color-text-weakest); }
.faculty-card__link { color: var(--rp-color-primary); font-weight: var(--rp-font-weight-bold); }

.faculty-table, .data-table { border: 1px solid var(--rp-color-border-default); border-radius: var(--rp-radius-card); overflow: hidden; margin-bottom: var(--rp-space-600); background: var(--rp-color-background-default); }
.faculty-table__row { display: grid; grid-template-columns: 2fr 1.4fr 1.6fr 1fr; padding: var(--rp-space-400) var(--rp-space-500); border-bottom: 1px solid var(--rp-color-border-default); font-size: var(--rp-font-size-350); align-items: center; }
.faculty-table__row:nth-child(even) { background: var(--rp-color-background-subtle); }
.faculty-table__row--head { background: var(--rp-color-background-subtle) !important; font-size: var(--rp-font-size-300); font-weight: var(--rp-font-weight-bold); color: var(--rp-color-text-weakest); text-transform: uppercase; letter-spacing: .06em; }
.faculty-table__name a { font-weight: var(--rp-font-weight-bold); color: var(--rp-color-text-default); }
.faculty-table__designation, .faculty-table__specialisation { color: var(--rp-color-text-weaker); }

.faculty-directory__pagination { display: flex; gap: var(--rp-space-200); justify-content: center; }
.faculty-directory__pagination a, .faculty-directory__pagination span {
	width: 36px; height: 36px; border: 1px solid var(--rp-color-border-strong); border-radius: var(--rp-radius-100);
	display: grid; place-items: center; font-size: var(--rp-font-size-350); color: var(--rp-color-text-weakest); text-decoration: none;
}
.faculty-directory__pagination .current { background: var(--rp-color-primary); color: var(--rp-color-text-inverse); border-color: var(--rp-color-primary); font-weight: var(--rp-font-weight-bold); }

@media (max-width: 1000px) {
	.faculty-directory__layout { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Faculty profile (2b)
   ========================================================================== */

.faculty-identity {
	display: flex; gap: var(--rp-space-800); padding: var(--rp-space-1000) var(--rp-space-800);
	background: var(--rp-color-primary-highlight); border-bottom: 1px solid var(--rp-color-border-default);
	align-items: flex-start;
}
.faculty-identity__portrait { width: 200px; height: 240px; flex: none; border-radius: var(--rp-radius-card); overflow: hidden; box-shadow: var(--rp-shadow-1); }
.faculty-identity__portrait img { width: 100%; height: 100%; object-fit: cover; }
.faculty-identity__main { display: flex; flex-direction: column; gap: var(--rp-space-300); flex: 1; min-width: 0; }
.faculty-identity__department { font-size: var(--rp-font-size-300); font-weight: var(--rp-font-weight-bold); letter-spacing: .08em; text-transform: uppercase; color: var(--rp-color-primary); }
.faculty-identity__name { font-size: var(--rp-font-size-900); font-weight: var(--rp-font-weight-bold); line-height: 1.1; }
.faculty-identity__headline { font-size: var(--rp-font-size-500); color: var(--rp-color-text-weaker); }
.faculty-identity__quals { font-size: var(--rp-font-size-400); color: var(--rp-color-text-weaker); }
.faculty-identity__tags { display: flex; gap: var(--rp-space-200); flex-wrap: wrap; margin-top: var(--rp-space-200); }
.faculty-identity__stats { display: flex; gap: var(--rp-space-600); flex: none; padding-left: var(--rp-space-800); border-left: 1px solid var(--rp-color-border-strong); }
.stat__value { font-size: var(--rp-font-size-700); font-weight: var(--rp-font-weight-bold); color: var(--rp-color-primary); line-height: 1; }
.stat__label { font-size: var(--rp-font-size-300); color: var(--rp-color-text-weakest); margin-top: var(--rp-space-100); }

.faculty-tabs { display: flex; border-bottom: 1px solid var(--rp-color-border-default); padding: 0 var(--rp-space-800); box-shadow: var(--rp-shadow-1); background: var(--rp-color-background-default); overflow-x: auto; }
.faculty-tabs__tab {
	font-size: var(--rp-font-size-350); padding: var(--rp-space-400) var(--rp-space-500); color: var(--rp-color-text-weaker);
	background: none; border: none; border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap;
}
.faculty-tabs__tab.is-active { font-weight: var(--rp-font-weight-bold); border-bottom-color: var(--rp-color-primary); color: var(--rp-color-primary); }

.faculty-profile__layout { display: grid; grid-template-columns: 1fr 360px; gap: var(--rp-space-1200); padding: var(--rp-space-1200) var(--rp-space-800); }
.faculty-profile__main { display: flex; flex-direction: column; gap: var(--rp-space-1000); min-width: 0; }
.faculty-panel { display: none; flex-direction: column; gap: var(--rp-space-400); }
.faculty-panel.is-active { display: flex; }
.faculty-panel h2 { font-size: var(--rp-font-size-600); font-weight: var(--rp-font-weight-bold); }
.faculty-panel__prose p + p { margin-top: var(--rp-space-400); }
.faculty-panel__prose { color: var(--rp-color-text-weaker); line-height: var(--rp-font-line-height-650); }
.faculty-panel__note { font-size: var(--rp-font-size-350); color: var(--rp-color-text-weaker); background: var(--rp-color-background-subtle); border: 1px solid var(--rp-color-border-default); border-radius: var(--rp-radius-card); padding: var(--rp-space-400) var(--rp-space-500); }

.data-table__row { display: grid; grid-template-columns: 120px 2fr 1fr 110px; padding: var(--rp-space-400) var(--rp-space-500); border-bottom: 1px solid var(--rp-color-border-default); font-size: var(--rp-font-size-350); align-items: center; }
.data-table__row:nth-child(even) { background: var(--rp-color-background-subtle); }
.data-table__row--head { background: var(--rp-color-background-subtle) !important; font-size: var(--rp-font-size-300); font-weight: var(--rp-font-weight-bold); color: var(--rp-color-text-weakest); text-transform: uppercase; letter-spacing: .06em; }
.data-table__strong { font-weight: var(--rp-font-weight-bold); }
.faculty-panel[data-tab-panel="supervision"] .data-table__row { grid-template-columns: 1.6fr 1fr; }

.publication-list__item { display: flex; gap: var(--rp-space-500); padding-bottom: var(--rp-space-400); border-bottom: 1px solid var(--rp-color-border-default); }
.publication-list__item:last-child { border-bottom: none; padding-bottom: 0; }
.publication-list__year { font-size: var(--rp-font-size-300); font-weight: var(--rp-font-weight-bold); color: var(--rp-color-primary); width: 44px; flex: none; }
.publication-list__title { font-size: var(--rp-font-size-400); font-weight: var(--rp-font-weight-bold); line-height: var(--rp-font-line-height-600); }
.publication-list__venue { font-size: var(--rp-font-size-350); color: var(--rp-color-text-weaker); margin-top: var(--rp-space-150); }
.publication-list__tags { display: flex; gap: var(--rp-space-200); margin-top: var(--rp-space-150); }

.project-card { border: 1px solid var(--rp-color-border-default); border-radius: var(--rp-radius-card); padding: var(--rp-space-500); display: flex; flex-direction: column; gap: var(--rp-space-200); margin-bottom: var(--rp-space-400); }
.project-card__head { display: flex; justify-content: space-between; align-items: center; }
.project-card__years { font-size: var(--rp-font-size-300); color: var(--rp-color-text-weakest); }
.project-card__title { font-size: var(--rp-font-size-400); font-weight: var(--rp-font-weight-bold); }
.project-card__detail { font-size: var(--rp-font-size-350); color: var(--rp-color-text-weaker); }

.faculty-sidebar { display: flex; flex-direction: column; gap: var(--rp-space-500); }
.sidebar-card { border: 1px solid var(--rp-color-border-default); border-radius: var(--rp-radius-card); overflow: hidden; background: var(--rp-color-background-default); }
.sidebar-card__head { padding: var(--rp-space-400) var(--rp-space-500); background: var(--rp-color-background-subtle); border-bottom: 1px solid var(--rp-color-border-default); font-size: var(--rp-font-size-300); font-weight: var(--rp-font-weight-bold); letter-spacing: .08em; text-transform: uppercase; color: var(--rp-color-text-weakest); }
.sidebar-card__body { padding: var(--rp-space-500); display: flex; flex-direction: column; gap: var(--rp-space-400); }
.contact-row__label { font-size: var(--rp-font-size-300); color: var(--rp-color-text-weakest); }
.contact-row__value { font-size: var(--rp-font-size-350); font-weight: var(--rp-font-weight-bold); }
.profile-row { display: flex; justify-content: space-between; align-items: center; font-size: var(--rp-font-size-350); font-weight: var(--rp-font-weight-bold); padding: var(--rp-space-300) 0; border-bottom: 1px solid var(--rp-color-border-default); }
.profile-row:last-child { border-bottom: none; padding-bottom: 0; }
.faculty-sidebar__actions { display: flex; flex-direction: column; gap: var(--rp-space-300); }
.also-appears { background: var(--rp-color-primary-highlight); border-radius: var(--rp-radius-card); padding: var(--rp-space-500); display: flex; flex-direction: column; gap: var(--rp-space-300); }
.also-appears__label { font-size: var(--rp-font-size-300); font-weight: var(--rp-font-weight-bold); letter-spacing: .08em; text-transform: uppercase; color: var(--rp-color-primary); }
.also-appears__item { font-size: var(--rp-font-size-350); font-weight: var(--rp-font-weight-bold); color: var(--rp-color-primary-dark); display: block; }
.also-appears__note { font-size: var(--rp-font-size-300); color: var(--rp-color-text-weaker); margin-top: var(--rp-space-100); }

@media (max-width: 1000px) {
	.faculty-identity { flex-direction: column; }
	.faculty-identity__stats { border-left: none; padding-left: 0; }
	.faculty-profile__layout { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Generic content + footer
   ========================================================================== */

.generic-content { max-width: 900px; margin: 0 auto; padding: var(--rp-space-1200) var(--rp-space-800); display: flex; flex-direction: column; gap: var(--rp-space-600); }
.generic-content h1 { font-size: var(--rp-font-size-900); font-weight: var(--rp-font-weight-bold); }
.page-content { line-height: var(--rp-font-line-height-650); color: var(--rp-color-text-weaker); }
.page-content p + p { margin-top: var(--rp-space-400); }

.post-list__item { display: flex; gap: var(--rp-space-500); padding-bottom: var(--rp-space-600); border-bottom: 1px solid var(--rp-color-border-default); margin-bottom: var(--rp-space-600); }
.post-list__media { flex: none; width: 220px; border-radius: var(--rp-radius-card); overflow: hidden; }
.post-list__title a { color: var(--rp-color-text-default); }
.post-list__meta { font-size: var(--rp-font-size-300); color: var(--rp-color-text-weakest); }

.site-footer { background: var(--rp-color-primary-dark); color: var(--rp-color-text-inverse); margin-top: var(--rp-space-1600); }
.site-footer a { color: var(--rp-color-text-inverse); opacity: .85; }
.site-footer a:hover { opacity: 1; }

.site-footer__columns {
	max-width: 1440px; margin: 0 auto; padding: var(--rp-space-1200) var(--rp-space-800);
	display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--rp-space-800);
}
.footer-column__head {
	font-size: var(--rp-font-size-300); font-weight: var(--rp-font-weight-bold);
	letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-bottom: var(--rp-space-400);
}
.footer-column__list { display: flex; flex-direction: column; gap: var(--rp-space-300); }
.footer-column__list a { font-size: var(--rp-font-size-350); }
.social-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: var(--rp-radius-round);
	background: color-mix(in srgb, var(--rp-color-text-inverse) 14%, transparent);
	margin-right: var(--rp-space-300);
}
.secondary-bar--footer { justify-content: center; }
.site-footer__copyright {
	text-align: center; padding: var(--rp-space-500) var(--rp-space-800);
	border-top: 1px solid color-mix(in srgb, var(--rp-color-text-inverse) 16%, transparent);
	font-size: var(--rp-font-size-300); opacity: .8;
}

@media (max-width: 900px) {
	.site-footer__columns { grid-template-columns: 1fr; }
}

/* ---------- narrow-screen chrome collapse ---------- */

@media (max-width: 900px) {
	.secondary-bar, .brand-band__credentials, .main-nav__search { display: none; }

	.main-nav { height: 56px; }
	.main-nav__toggle { display: flex; }

	.main-nav__links {
		display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 40;
		flex-direction: column; align-items: stretch; height: auto; gap: 0;
		background: var(--rp-color-primary); box-shadow: var(--rp-shadow-2);
		max-height: calc(100vh - 56px); overflow-y: auto;
	}
	.main-nav__links.is-open { display: flex; }
	.main-nav__links li { height: auto; flex-direction: column; align-items: stretch; }
	.main-nav__links a {
		height: auto; padding: var(--rp-space-400) var(--rp-space-800);
		border-bottom: 1px solid color-mix(in srgb, var(--rp-color-text-inverse) 16%, transparent);
	}
	.main-nav__links a:hover, .main-nav__links .is-open > a {
		margin: 0; padding: var(--rp-space-400) var(--rp-space-800);
	}
	.main-nav__links .menu-item-has-children > a { justify-content: space-between; }

	/* Submenus become inline accordions instead of absolutely-positioned flyouts. */
	.main-nav__links .sub-menu {
		position: static; min-width: 0; box-shadow: none; border-bottom: none;
		background: color-mix(in srgb, var(--rp-color-primary-dark) 40%, transparent);
	}
	.main-nav__links .sub-menu a { color: var(--rp-color-text-inverse); padding-left: var(--rp-space-1000); }
	.main-nav__links .sub-menu a:hover { background: color-mix(in srgb, var(--rp-color-text-inverse) 12%, transparent); color: inherit; }
}
