/* ==========================================================================
   iNQUEST theme — modern, minimal, academic.
   Colour (from the logo), used the same way on every page:
     --brand  #1C6FA5  primary actions, links, active states
     --ink    #0F2742  text, footer, the course-code tile
     --amber  #F7931E  accent only: Register, tile numbers, small markers
   Type: Source Serif 4 (headings, long reading), Source Sans 3 (interface).
   Signature: the course-code tile (i015, i017…), like a catalogue label.
   ========================================================================== */

:root {
	--ink: #0f2742;
	--ink-2: #2a4563;
	--muted: #5a6e84;
	--brand: #1c6fa5;
	--brand-bright: #0081cc;
	--brand-soft: #e8f1f8;
	--amber: #f7931e;
	--amber-soft: #fff3e3;
	--amber-ink: #8a4a00;
	--paper: #f5f8fb;
	--line: #dde6ef;
	--line-strong: #c5d4e3;
	--white: #fff;

	--serif: "Source Serif 4", "Iowan Old Style", "Charter", Georgia, serif;
	--sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

	--step--1: 0.875rem;
	--step-0: 1.0625rem;
	--step-1: 1.1875rem;
	--step-2: 1.4rem;
	--step-3: clamp(1.6rem, 1.35rem + 1vw, 2rem);
	--step-4: clamp(1.95rem, 1.5rem + 1.9vw, 2.75rem);
	--step-5: clamp(2.35rem, 1.6rem + 3.2vw, 3.9rem);

	--wrap: 1180px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--radius: 8px;
	--radius-sm: 5px;
	--header-h: 74px;
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
	margin: 0;
	font-family: var(--sans);
	font-size: var(--step-0);
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.012em;
	margin: 0 0 0.5em;
	color: var(--ink);
	font-optical-sizing: auto;
	text-wrap: balance;
}

p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	z-index: 1000; top: 0.5rem; left: 0.5rem;
	padding: 0.75rem 1rem; background: var(--ink); color: #fff;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }

.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Buttons, links, chips ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 44px;
	padding: 0.55rem 1.1rem;
	font: 600 0.98rem/1.2 var(--sans);
	border-radius: var(--radius-sm);
	border: 1px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn--lg { min-height: 50px; padding: 0.75rem 1.4rem; font-size: 1.03rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--ink); color: #fff; }
.btn--accent { background: var(--amber); color: var(--ink); }
.btn--accent:hover { background: #ffa640; color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--brand); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--amber-soft); color: var(--ink); }

.link-more {
	display: inline-flex; align-items: center; gap: 0.4em;
	font-weight: 600; color: var(--brand); text-decoration: none; white-space: nowrap;
}
.link-more:hover { color: var(--ink); text-decoration: underline; }
.link-more .icon { transition: transform 0.15s; }
.link-more:hover .icon { transform: translateX(3px); }

.chip {
	display: inline-block;
	padding: 0.1rem 0.55rem;
	font: 600 0.8rem/1.6 var(--sans);
	border-radius: 999px;
	border: 1px solid var(--line-strong);
	color: var(--muted);
	background: #fff;
	vertical-align: middle;
}
.chip--open { border-color: #f3c48b; background: var(--amber-soft); color: var(--amber-ink); }
.chip--soon { border-color: #b8d4ea; background: var(--brand-soft); color: var(--brand); }

.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.95rem; color: var(--muted); margin-bottom: 1.5rem; }
.crumbs a { font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.training__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; font-size: 0.95rem; color: var(--muted); margin-bottom: 0.9rem; }
.training__crumbs a { font-weight: 600; text-decoration: none; }

/* ---------- Header ---------- */

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand__img { height: 44px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.site-nav__list { display: flex; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
	display: block; padding: 0.5rem 0.65rem;
	font-weight: 600; font-size: 0.98rem; color: var(--ink-2);
	text-decoration: none;
}
.site-nav__list a:hover { color: var(--brand); }
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a,
.site-nav__list .current-menu-ancestor > a { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); }

.nav-toggle {
	display: none; margin-left: auto;
	width: 44px; height: 44px; padding: 0;
	align-items: center; justify-content: center;
	background: none; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--ink);
	cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		display: none;
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 1rem;
		padding: 0.75rem var(--gutter) 1.5rem;
		background: #fff; border-bottom: 1px solid var(--line);
		box-shadow: 0 18px 30px -22px rgba(15, 39, 66, 0.35);
	}
	.site-nav.is-open { display: flex; }
	.site-nav__list { flex-direction: column; }
	.site-nav__list a { padding: 0.8rem 0.25rem; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
	.site-nav__list .current-menu-item > a { box-shadow: inset 3px 0 0 var(--brand); padding-left: 0.85rem; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(3.5rem, 7vw, 5.75rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section--flush { padding-top: clamp(2rem, 4vw, 3rem); }
.section--paper { background: var(--paper); border-block: 1px solid var(--line); }

.section__head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 1.25rem 3rem;
	margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.section__title { font-size: var(--step-4); margin: 0 0 0.3em; max-width: 24ch; }
.section__lead { color: var(--muted); max-width: 60ch; margin: 0; font-size: var(--step-1); line-height: 1.55; }
@media (max-width: 720px) { .section__head { flex-direction: column; align-items: flex-start; } }

.page-head { padding-block: clamp(3rem, 6vw, 4.75rem) clamp(1.75rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); }
.page-head__title { font-size: var(--step-5); margin: 0 0 0.35em; max-width: 20ch; }
.page-head__lead { font-size: var(--step-1); color: var(--muted); max-width: 62ch; margin: 0; line-height: 1.55; }

/* ---------- The course-code tile ---------- */

.tile {
	--tile: 112px;
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto 1fr auto;
	width: var(--tile);
	aspect-ratio: 1;
	padding: 0.6rem 0.65rem 0.55rem;
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius-sm);
	font-family: var(--sans);
	line-height: 1;
	flex: none;
	overflow: hidden;
}
.tile::after {
	content: "";
	position: absolute; inset: 5px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 3px;
	pointer-events: none;
}
.tile__corner { font-size: 0.95rem; font-weight: 700; color: var(--amber); font-variant-numeric: tabular-nums; }
.tile__corner small { font-size: 0.62rem; font-weight: 400; color: rgba(255, 255, 255, 0.6); }
.tile__mode { font: 600 0.62rem/1 var(--sans); color: rgba(255, 255, 255, 0.65); text-align: right; padding-top: 0.2rem; }
.tile__code {
	grid-column: 1 / -1;
	align-self: center;
	font-family: var(--serif);
	font-size: calc(var(--tile) * 0.31);
	font-weight: 600;
	letter-spacing: -0.02em;
}
.tile--date .tile__code { font-size: calc(var(--tile) * 0.22); }
.tile__kind {
	grid-column: 1 / -1;
	font: 400 0.66rem/1.2 var(--sans);
	color: rgba(255, 255, 255, 0.75);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tile--online { background: var(--brand); }
.tile--upcoming { box-shadow: 0 0 0 3px var(--amber); }
.tile--lg { --tile: 156px; padding: 0.85rem 0.9rem 0.8rem; }
.tile--lg .tile__corner { font-size: 1.15rem; }
.tile--lg .tile__mode, .tile--lg .tile__kind { font-size: 0.78rem; }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(2.5rem, 6vw, 5rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__title {
	font-size: var(--step-5);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.06;
	margin-bottom: 0.45em;
	max-width: 15ch;
}
.hero__lead { font-size: var(--step-1); color: var(--muted); max-width: 52ch; line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.hero__visual { position: relative; }
.hero__image { aspect-ratio: 4 / 4.3; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__card {
	position: absolute; left: clamp(-2.5rem, -3vw, -1rem); bottom: 2rem;
	display: flex; align-items: center; gap: 1rem;
	max-width: min(420px, 92%);
	padding: 0.8rem 1.2rem 0.8rem 0.8rem;
	background: #fff; color: var(--ink); text-decoration: none;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 22px 44px -26px rgba(15, 39, 66, 0.45);
}
.hero__card .tile { --tile: 88px; }
.hero__card:hover { color: var(--ink); border-color: var(--brand); }
.hero__card-body { display: grid; gap: 0.25rem; }
.hero__card-label { font-size: var(--step--1); font-weight: 700; color: var(--brand); }
.hero__card-title { font-family: var(--serif); font-weight: 600; line-height: 1.25; font-size: 1.05rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero__card-meta { font-size: var(--step--1); color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
	.hero__copy > * { animation: inq-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
	.hero__copy > :nth-child(2) { animation-delay: 0.08s; }
	.hero__copy > :nth-child(3) { animation-delay: 0.16s; }
	.hero__image { animation: inq-fade 0.9s ease-out both; }
	.hero__card { animation: inq-rise 0.7s 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}
@keyframes inq-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes inq-fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 900px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__image { aspect-ratio: 16 / 11; }
	.hero__card { position: relative; left: auto; bottom: auto; margin: -3rem 1rem 0; max-width: none; }
}

/* ---------- Pillars ---------- */

.pillars { border-block: 1px solid var(--line); }
.pillars__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { padding: 1.75rem 1.5rem 1.75rem 0; }
.pillar + .pillar { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.pillar__title { font-size: 1.15rem; margin-bottom: 0.4em; }
.pillar p { color: var(--muted); margin: 0; font-size: 0.98rem; }
@media (max-width: 900px) {
	.pillars__grid { grid-template-columns: 1fr 1fr; }
	.pillar:nth-child(3) { padding-left: 0; border-left: 0; }
	.pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
	.pillars__grid { grid-template-columns: 1fr; }
	.pillar, .pillar + .pillar { padding: 1.25rem 0; border-left: 0; }
	.pillar + .pillar { border-top: 1px solid var(--line); }
}

/* ---------- Event list ---------- */

.event-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; border-top: 1px solid var(--line); }
.event-list--full { grid-template-columns: 1fr; }
.event-row {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas: "tile body" "tile actions";
	gap: 0.5rem 1.25rem;
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--line);
}
.event-row__tile { grid-area: tile; text-decoration: none; align-self: start; }
.event-row__body { grid-area: body; min-width: 0; }
.event-row__actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 0.5rem; align-self: end; }
.event-row__status { margin: 0 0 0.45rem; }
.event-row__title { font-size: 1.2rem; margin: 0 0 0.3rem; line-height: 1.3; }
.event-row__title a { color: var(--ink); text-decoration: none; }
.event-row__title a:hover { color: var(--brand); text-decoration: underline; }
.event-row__sub { color: var(--muted); font-size: 0.98rem; margin: 0 0 0.6rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta-list { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; list-style: none; margin: 0; padding: 0; font-size: 0.93rem; color: var(--ink-2); }
.meta-list li { display: inline-flex; align-items: flex-start; gap: 0.35rem; }
.meta-list .icon { color: var(--brand); margin-top: 0.22em; }

.event-list--full .event-row { grid-template-columns: auto 1fr auto; grid-template-areas: "tile body actions"; align-items: center; }
.event-list--full .event-row__actions { align-self: center; justify-content: flex-end; }
.event-list--full .event-row__title { font-size: 1.35rem; }
.event-list--full .tile { --tile: 124px; }
.event-row[hidden] { display: none; }

@media (max-width: 1000px) { .event-list { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
	.event-list--full .event-row { grid-template-columns: auto 1fr; grid-template-areas: "tile body" "actions actions"; }
	.event-list--full .event-row__actions { justify-content: flex-start; }
}
@media (max-width: 520px) {
	.event-row, .event-list--full .event-row { grid-template-columns: 1fr; grid-template-areas: "tile" "body" "actions"; }
	.event-row .tile, .event-list--full .tile { --tile: 92px; }
	.event-row__tile { display: flex; }
}

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.filter {
	min-height: 40px; padding: 0.4rem 0.95rem;
	font: 600 0.95rem/1 var(--sans); color: var(--ink-2);
	background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer;
}
.filter span { color: var(--muted); font-weight: 400; margin-left: 0.2rem; }
.filter:hover { border-color: var(--brand); color: var(--brand); }
.filter.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter.is-active span { color: rgba(255, 255, 255, 0.75); }
.filters__empty { color: var(--muted); padding: 2rem 0; }

.notice-box {
	padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
	margin-bottom: 2rem;
	background: var(--brand-soft);
	border-left: 3px solid var(--brand);
	border-radius: 0 var(--radius) var(--radius) 0;
}
.notice-box h2 { font-size: var(--step-2); }
.notice-box p { max-width: 62ch; }
.notice-box__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0 0; }

/* ==========================================================================
   Single training — syllabus layout
   ========================================================================== */

.course__head { padding-block: clamp(2rem, 4vw, 3rem) 0; border-bottom: 1px solid var(--line); }
.course__id { display: flex; gap: clamp(1.25rem, 3vw, 2.25rem); align-items: flex-start; }
.course__titles { min-width: 0; }
.course__kind { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 0 0 0.6rem; font-weight: 600; color: var(--brand); }
.course__title { font-size: var(--step-4); max-width: 28ch; margin-bottom: 0.4em; }
.course__lead { font-family: var(--serif); font-size: var(--step-1); color: var(--ink-2); max-width: 62ch; line-height: 1.55; margin: 0; }

.glance {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
	border-top: 1px solid var(--line);
}
.glance__item { padding: 1.1rem 1.25rem 1.25rem 0; }
.glance__item + .glance__item { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.glance dt { display: flex; align-items: center; gap: 0.4rem; font-size: var(--step--1); color: var(--muted); margin-bottom: 0.3rem; }
.glance dt .icon { color: var(--brand); }
.glance dd { margin: 0; font-weight: 600; line-height: 1.4; }
@media (max-width: 860px) {
	.glance { grid-template-columns: 1fr 1fr; }
	.glance__item:nth-child(3) { padding-left: 0; border-left: 0; }
	.glance__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
	.course__id { flex-direction: column; }
	.tile--lg { --tile: 116px; }
}

.course__grid {
	display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4.5rem);
	padding-block: clamp(2.5rem, 5vw, 3.75rem) clamp(3rem, 6vw, 5rem);
	align-items: start;
}
.course__section + .course__section { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.course__h2 { font-size: var(--step-3); margin-bottom: 1.25rem; }
.course__note { color: var(--muted); font-size: 0.95rem; margin-top: 1rem; }

.course__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.5rem; }
.admin-bar .course__aside { top: calc(var(--header-h) + 32px + 1.5rem); }
.enrol { padding: 1.5rem; border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--radius); background: #fff; }
.enrol__fee { display: grid; margin: 0 0 1.1rem; font-family: var(--serif); font-size: 1.85rem; font-weight: 600; line-height: 1.1; }
.enrol__fee span { font: 600 var(--step--1)/1.4 var(--sans); color: var(--muted); margin-bottom: 0.25rem; }
.enrol__note { font-size: var(--step--1); color: var(--muted); margin: 0.65rem 0 0; }
.enrol__closed { font-weight: 600; color: var(--ink-2); margin-bottom: 0.75rem; }
.enrol__details { margin: 1.4rem 0 0; border-top: 1px solid var(--line); }
.enrol__details div { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.enrol__details div:last-child { border-bottom: 0; padding-bottom: 0; }
.enrol__details dt { font-size: var(--step--1); color: var(--muted); }
.enrol__details dd { margin: 0.1rem 0 0; font-weight: 600; line-height: 1.4; }

.course__poster { margin: 0; }
.course__poster a { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.course__poster img { width: 100%; max-height: 420px; object-fit: cover; object-position: top; }
.course__poster a:hover img { opacity: 0.92; }
.course__poster figcaption { font-size: var(--step--1); color: var(--muted); margin-top: 0.5rem; }

@media (max-width: 960px) {
	.course__grid { grid-template-columns: 1fr; }
	.course__aside { position: static; order: -1; grid-template-columns: 1fr; }
}
@media (min-width: 600px) and (max-width: 960px) {
	.course__aside { grid-template-columns: 1fr 220px; align-items: start; }
}

/* Course content reads like a syllabus: list items become ruled rows. */
.syllabus ul, .syllabus ol { list-style: none; padding: 0; margin: 0.5rem 0 1.5rem; border-top: 1px solid var(--line); }
.syllabus li { position: relative; padding: 0.75rem 0 0.75rem 1.4rem; border-bottom: 1px solid var(--line); margin: 0 !important; }
.syllabus li::before { content: ""; position: absolute; left: 0.2rem; top: 1.28rem; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.syllabus li p { margin: 0; }
.syllabus > p > b:only-child, .syllabus > p > strong:only-child { font-family: var(--serif); font-size: var(--step-1); font-weight: 600; }

/* Taught by */
.people-lines { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.person-line { display: flex; align-items: center; gap: 0.9rem; padding: 0.75rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.person-line:hover { border-color: var(--brand); color: var(--ink); }
.person-line__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; background: var(--paper); }
.person-line__text { display: grid; }
.person-line__name { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.person-line__role { font-size: 0.9rem; color: var(--muted); }

/* ==========================================================================
   Advisor profile — faculty page
   ========================================================================== */

.faculty__head { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: clamp(2.25rem, 5vw, 3.75rem); }
.faculty__head-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: end; }
.faculty__photo { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.faculty__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.faculty__photo img.is-placeholder { object-position: 50% 100%; }
.faculty__id .crumbs { margin-bottom: 1rem; }
.faculty__name { font-size: var(--step-5); margin-bottom: 0.25em; max-width: 20ch; }
.faculty__role { font-size: var(--step-1); color: var(--brand); font-weight: 600; margin: 0; }
.faculty__links { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.faculty__links .btn { font-weight: 600; }

.faculty__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(2.5rem, 5vw, 3.75rem) clamp(3rem, 6vw, 5rem); align-items: start; }
.faculty__aside { display: grid; gap: 2rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.admin-bar .faculty__aside { top: calc(var(--header-h) + 32px + 1.5rem); }

.aside-block { padding-top: 1rem; border-top: 3px solid var(--brand); }
.aside-block__title { font-size: 1.2rem; margin-bottom: 0.75rem; }
.interests { list-style: none; margin: 0; padding: 0; }
.interests li { padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink-2); }
.interests li:last-child { border-bottom: 0; }

.mini-courses { list-style: none; margin: 0; padding: 0; }
.mini-courses li + li { border-top: 1px solid var(--line); }
.mini-courses a { display: grid; grid-template-columns: 3.6rem 1fr; gap: 0.75rem; padding: 0.7rem 0; color: var(--ink); text-decoration: none; align-items: baseline; }
.mini-courses a:hover .mini-courses__title { color: var(--brand); text-decoration: underline; }
.mini-courses__code { font-family: var(--serif); font-weight: 600; color: var(--brand); font-size: 0.95rem; }
.mini-courses__title { font-size: 0.95rem; line-height: 1.4; }

@media (max-width: 900px) {
	.faculty__grid { grid-template-columns: 1fr; }
	.faculty__aside { position: static; }
}
@media (max-width: 640px) {
	.faculty__head-grid { grid-template-columns: 1fr; }
	.faculty__photo { max-width: 220px; }
}

/* ---------- Prose ---------- */

.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: var(--step-3); margin-top: 1.6em; }
.prose h3 { font-size: var(--step-2); margin-top: 1.5em; }
.prose h4 { font-size: var(--step-1); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.35em; }
.prose li::marker { color: var(--brand); }
.prose ol li::marker { font-weight: 700; }
.prose img { border-radius: var(--radius-sm); }
.prose a { word-break: break-word; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.prose--serif { font-family: var(--serif); font-size: 1.125rem; line-height: 1.75; color: var(--ink-2); }
.prose--serif p:first-child::first-line { color: var(--ink); }

/* ---------- People ---------- */

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2.25rem 1.75rem; }
.people--four { grid-template-columns: repeat(4, 1fr); }
.people--scroll {
	grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); grid-template-columns: none;
	overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.75rem;
	scrollbar-width: thin;
}
.people--scroll .person { scroll-snap-align: start; }
@media (max-width: 900px) { .people--four { grid-template-columns: 1fr 1fr; } }

.person__link { display: grid; gap: 0.85rem; text-decoration: none; color: var(--ink); }
.person__photo {
	display: grid; place-items: center;
	aspect-ratio: 4 / 5;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--paper);
	border: 1px solid var(--line);
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 0.4s ease; }
.person__photo img.is-placeholder { object-position: 50% 100%; }
.person__link:hover .person__photo img { transform: scale(1.03); }
.person__name { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.person__link:hover .person__name { color: var(--brand); text-decoration: underline; text-underline-offset: 0.2em; }
.person__role { margin: 0.3rem 0 0; font-size: 0.93rem; color: var(--muted); line-height: 1.4; }

.directors-strip { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2.5rem; align-items: center; }
.directors-strip__title { font-size: var(--step-2); margin: 0; }
.directors-strip__list { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; list-style: none; margin: 0; padding: 0; }
.directors-strip__list li { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.directors-strip__photo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; background: var(--paper); }
@media (max-width: 900px) { .directors-strip { grid-template-columns: 1fr; } }

.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.board__item { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); }
.board__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; background: var(--paper); }
.board__text { display: grid; }
.board__name { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.board__role { color: var(--muted); font-size: 0.93rem; }

/* ---------- Contact lists & socials ---------- */

.contact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.75rem; }
.contact-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.contact-list .icon { color: var(--brand); margin-top: 0.25em; }
.contact-list a { color: inherit; }
.contact-list a:hover { color: var(--brand); }
.contact-list--lg { font-size: var(--step-1); gap: 1rem; }

.socials { display: flex; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.socials a {
	display: inline-grid; place-items: center; width: 42px; height: 42px;
	border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink);
}
.socials a:hover { border-color: var(--brand); color: var(--brand); }
.socials--light a { border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.socials--light a:hover { border-color: var(--amber); color: var(--amber); }

/* ---------- Intro / about ---------- */

.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.intro__image { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.intro__image img { width: 100%; height: 100%; object-fit: cover; }
.intro__copy p { font-family: var(--serif); font-size: var(--step-1); color: var(--ink-2); line-height: 1.65; max-width: 56ch; }
.intro__actions { margin-top: 1.5rem; }
@media (max-width: 860px) { .intro__grid { grid-template-columns: 1fr; } }

.about-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.about-head__image { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.about-head__image img { width: 100%; height: 100%; object-fit: cover; }
.page-head--about { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-head--about .page-head__lead { font-family: var(--serif); color: var(--ink-2); }
@media (max-width: 860px) { .about-head { grid-template-columns: 1fr; } }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.mv__item { padding-top: 1.25rem; border-top: 3px solid var(--brand); }
.mv__item--vision { border-top-color: var(--amber); }
.mv__title { font-size: var(--step-3); }
.mv__item p { font-family: var(--serif); font-size: var(--step-1); line-height: 1.7; color: var(--ink-2); }
@media (max-width: 760px) { .mv { grid-template-columns: 1fr; } }

.timeline { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.timeline__item { position: relative; padding: 2.25rem 1.5rem 0 0; counter-increment: step; }
.timeline__item::before {
	content: counter(step);
	position: absolute; top: -1rem; left: 0;
	display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
	background: var(--brand); color: #fff; font: 600 0.95rem/1 var(--serif);
}
.timeline__item::after { content: ""; position: absolute; top: 0; left: 2rem; right: 0; height: 1px; background: var(--line-strong); }
.timeline__item:last-child::after { display: none; }
.timeline__when { font-weight: 700; color: var(--brand); margin-bottom: 0.4rem; display: grid; }
.timeline__when span { font-weight: 400; color: var(--muted); font-size: 0.93rem; }
.timeline__title { font-size: 1.2rem; margin-bottom: 0.35em; }
.timeline__item p:last-child { color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 900px) {
	.timeline { grid-template-columns: 1fr; gap: 0; margin-left: 1rem; border-left: 1px solid var(--line-strong); }
	.timeline__item { padding: 0 0 2rem 2rem; }
	.timeline__item::before { top: -0.1rem; left: -1rem; }
	.timeline__item::after { display: none; }
}

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-block: 2.5rem; border-block: 1px solid var(--line); }
.cta-band__title { font-size: var(--step-3); margin: 0; max-width: 24ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }

/* ---------- Posters (updates & blog) ---------- */

.posters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.75rem; }
.posters--wall { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.poster__link { display: grid; gap: 0.85rem; text-decoration: none; color: var(--ink); }
.poster__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.poster__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.poster__img .poster__placeholder { object-fit: contain; padding: 25%; opacity: 0.35; }
.poster__title { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; line-height: 1.3; }
.poster__link:hover .poster__title { color: var(--brand); text-decoration: underline; text-underline-offset: 0.2em; }
.poster__date { font-size: 0.9rem; color: var(--muted); margin: 0.35rem 0 0; }
@media (max-width: 860px) { .posters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .posters { grid-template-columns: 1fr; } }

.article__head { padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem; }
.article__title { font-size: var(--step-4); }
.article__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(3rem, 6vw, 5rem); align-items: start; }
.article__grid--poster { grid-template-columns: minmax(0, 720px); justify-content: center; }
.article__poster { margin: 0; position: sticky; top: calc(var(--header-h) + 1.25rem); }
.article__poster img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.single-post .article__grid { grid-template-columns: minmax(0, 760px); justify-content: center; }
.single-post .article__poster { position: static; }
.single-post .prose, .single-update .prose { font-family: var(--serif); font-size: 1.125rem; line-height: 1.75; }
@media (max-width: 860px) {
	.article__grid { grid-template-columns: 1fr; }
	.article__poster { position: static; }
}

/* ---------- Gallery ---------- */

.gallery-wall .wp-block-gallery,
.gallery-wall .gallery {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1rem;
	margin: 0;
}
.gallery-wall .wp-block-gallery .wp-block-image,
.gallery-wall .gallery-item { width: auto !important; margin: 0 !important; }
.gallery-wall figure { margin: 0; }
.gallery-wall img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.gallery-wall a { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.gallery-wall a:hover img { opacity: 0.9; }

.lightbox {
	position: fixed; inset: 0; z-index: 200;
	display: grid; place-items: center;
	padding: 4rem 1rem 1rem;
	background: rgba(10, 24, 42, 0.92);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 6rem); width: auto; border-radius: var(--radius-sm); }
.lightbox__btn {
	position: absolute; display: grid; place-items: center;
	width: 48px; height: 48px; border-radius: 50%; border: 0;
	background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__btn .icon { width: 24px; height: 24px; }

/* ---------- Contact page ---------- */

.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); padding-bottom: 2rem; }
.contact__heading { font-size: var(--step-2); margin-top: 2.5rem; }
.contact__form .contact__heading { margin-top: 0; }
.contact__form { padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); align-self: start; }
.offices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }
.office { padding-top: 0.85rem; border-top: 1px solid var(--line-strong); }
.office__name { font-size: 1.1rem; margin-bottom: 0.3rem; }
.office p { margin: 0 0 0.2rem; color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .offices { grid-template-columns: 1fr; } }

.inq-form__row { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
.inq-form label { font-weight: 600; }
.inq-form input[type="text"],
.inq-form input[type="email"],
.inq-form textarea {
	width: 100%;
	padding: 0.75rem 0.9rem;
	font: inherit; color: var(--ink);
	background: #fff;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
}
.inq-form input:focus, .inq-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(28, 111, 165, 0.18); }
.inq-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inq-form__notice { padding: 0.85rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.inq-form__notice--ok { background: #e2f5ea; color: #1d5b37; }
.inq-form__notice--error { background: #fde8e6; color: #8c2219; }

.map { border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; filter: saturate(0.85); }
.map--wide iframe { min-height: 420px; }

.visit__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
@media (max-width: 860px) { .visit__grid { grid-template-columns: 1fr; } }

/* ---------- Follow band & footer ---------- */

.follow { background: var(--brand); color: #fff; }
.follow__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-block: clamp(2.25rem, 4vw, 3rem); }
.follow__title { color: #fff; font-size: var(--step-3); margin-bottom: 0.3em; }
.follow p { margin: 0; max-width: 64ch; color: rgba(255, 255, 255, 0.88); }

.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.78); font-size: 0.98rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--amber); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem 3rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.site-footer__brand img { height: 48px; width: auto; margin-bottom: 1.25rem; }
.site-footer__brand p { max-width: 40ch; }
.site-footer__heading { font-size: 1.05rem; color: #fff; margin-bottom: 1rem; }
.site-footer__list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1.5rem; }
.site-footer__list li { margin-bottom: 0.5rem; break-inside: avoid; }
.site-footer__list a { text-decoration: none; }
.site-footer__list a:hover { text-decoration: underline; }
.site-footer .contact-list .icon { color: var(--amber); }
.site-footer .contact-list a:hover { color: var(--amber); }
.site-footer__base {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem;
	padding-block: 1.25rem 1.75rem; border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.9rem; color: rgba(255, 255, 255, 0.6);
}
.site-footer__base p { margin: 0; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */

.notfound { display: grid; gap: 1rem; justify-items: start; }
.nav-links { display: flex; gap: 0.5rem; margin-top: 2.5rem; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 0.75rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-weight: 600; }
.page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Events: live search ---------- */

.event-search { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-bottom: 1.1rem; }
.event-search__field { position: relative; flex: 1 1 420px; max-width: 620px; display: block; }
.event-search__field .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); width: 1.2em; height: 1.2em; pointer-events: none; }
.event-search__field input {
	width: 100%;
	min-height: 52px;
	padding: 0.75rem 1rem 0.75rem 2.9rem;
	font: inherit; font-size: 1.05rem; color: var(--ink);
	background: #fff;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	-webkit-appearance: none; appearance: none;
}
.event-search__field input::placeholder { color: #8396aa; }
.event-search__field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(28, 111, 165, 0.16); }
.event-search__field input:focus + .icon, .event-search__field:focus-within .icon { color: var(--brand); }
.event-search__count { margin: 0; color: var(--muted); font-size: 0.95rem; }
.filters__empty { color: var(--ink-2); padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.filters__empty p { margin: 0; }
.link-button { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--brand); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.link-button:hover { color: var(--ink); }
.notice-box[hidden] { display: none; }

/* ---------- Advisors page: square-photo cards ---------- */

.advisor-count { margin: 0 0 1.25rem; color: var(--muted); font-size: 0.95rem; }
.advisor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
@media (max-width: 960px) { .advisor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
@media (max-width: 560px) { .advisor-grid { grid-template-columns: 1fr; } }

.advisor-card {
	position: relative;
	display: flex; flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color 0.15s, box-shadow 0.2s;
}
.advisor-card:hover { border-color: var(--brand); box-shadow: 0 18px 36px -28px rgba(15, 39, 66, 0.55); }
.advisor-card:focus-within { border-color: var(--brand); }

.advisor-card__photo { display: block; aspect-ratio: 1 / 1; background: var(--paper); overflow: hidden; border-bottom: 1px solid var(--line); }
.advisor-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 0.45s ease; }
.advisor-card__photo img.is-placeholder { object-position: 50% 100%; }
.advisor-card:hover .advisor-card__photo img { transform: scale(1.035); }

.advisor-card__body { flex: 1; padding: 1.25rem 1.35rem 0.5rem; }
.advisor-card__role { margin: 0 0 0.45rem; font-size: 0.9rem; font-weight: 600; color: var(--brand); line-height: 1.35; }
.advisor-card__name { font-size: 1.3rem; line-height: 1.25; margin: 0 0 0.9rem; }
.advisor-card__name a { color: var(--ink); text-decoration: none; }
.advisor-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card is clickable */
.advisor-card:hover .advisor-card__name a { color: var(--brand); }

.advisor-card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.advisor-card__tags li { padding: 0.15rem 0.6rem; font-size: 0.82rem; font-weight: 600; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; line-height: 1.5; }
.advisor-card__tags .advisor-card__more { color: var(--muted); background: #fff; }

.advisor-card__foot {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	margin-top: 1rem; padding: 0.85rem 1.35rem;
	border-top: 1px solid var(--line);
}
.advisor-card__cta { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.95rem; color: var(--brand); text-decoration: none; }
.advisor-card__cta .icon { transition: transform 0.15s; }
.advisor-card:hover .advisor-card__cta .icon { transform: translateX(3px); }
.advisor-card__icons { display: inline-flex; gap: 0.35rem; position: relative; z-index: 2; } /* stay clickable above the card link */
.advisor-card__icons a {
	display: inline-grid; place-items: center; width: 36px; height: 36px;
	border: 1px solid var(--line); border-radius: 50%; color: var(--ink-2);
}
.advisor-card__icons a:hover { border-color: var(--brand); color: var(--brand); }

/* Square photos for advisors everywhere (homepage row, "Other advisors"). */
.person__photo { aspect-ratio: 1 / 1; }

/* ==========================================================================
   Motion & transitions
   Everything here is skipped when the visitor prefers reduced motion
   (the `motion` class is only added to <html> when motion is allowed).
   ========================================================================== */

:root { --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); }

/* Scroll reveal: content rises gently into place as it enters the screen. */
.motion .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
	transition-delay: var(--reveal-delay, 0s);
}
.motion .reveal--fade { transform: none; }
.motion .reveal--zoom { transform: scale(0.97); }
.motion .reveal.is-in { opacity: 1; transform: none; }

/* Page titles: a single soft entrance. */
.motion .page-head__title,
.motion .course__title,
.motion .faculty__name { animation: inq-rise 0.8s var(--ease-out) both; }
.motion .page-head__lead,
.motion .course__lead,
.motion .faculty__role { animation: inq-rise 0.8s 0.08s var(--ease-out) both; }
.motion .course__id .tile,
.motion .faculty__photo { animation: inq-pop 0.7s var(--ease-out) both; }
@keyframes inq-pop { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }

/* Header: lifts with a hairline shadow once you scroll. */
.site-header { transition: box-shadow 0.3s ease, background-color 0.3s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(15, 39, 66, 0.5); background: rgba(255, 255, 255, 0.98); }
.brand__img { transition: height 0.3s var(--ease-out); }
.site-header.is-scrolled .brand__img { height: 38px; }

/* Menu links: underline draws in from the left. */
.site-nav__list a { position: relative; transition: color 0.2s ease; }
@media (min-width: 1081px) {
	.site-nav__list a::after {
		content: ""; position: absolute; left: 0.65rem; right: 0.65rem; bottom: 0.15rem; height: 2px;
		background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-out);
	}
	.site-nav__list a:hover::after { transform: scaleX(1); }
	.site-nav__list .current-menu-item > a,
	.site-nav__list .current_page_item > a,
	.site-nav__list .current-menu-ancestor > a { box-shadow: none; }
	.site-nav__list .current-menu-item > a::after,
	.site-nav__list .current_page_item > a::after,
	.site-nav__list .current-menu-ancestor > a::after { transform: scaleX(1); }
}
.motion .site-nav.is-open { animation: inq-drop 0.28s var(--ease-out) both; }
@keyframes inq-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Buttons: lift on hover, press on click. */
.btn { transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out), box-shadow 0.2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -14px rgba(15, 39, 66, 0.55); }
.btn:active { transform: translateY(0); box-shadow: none; transition-duration: 0.06s; }
.btn .icon { transition: transform 0.2s var(--ease-out); }
.btn:hover .icon { transform: translateX(2px); }
.filter { transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease; }
.filter:active { transform: scale(0.96); }
.socials a, .advisor-card__icons a { transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out), background-color 0.2s ease; }
.socials a:hover, .advisor-card__icons a:hover { transform: translateY(-2px); }

/* Body links: underline grows on hover. */
.prose a, .contact-list a, .office a {
	text-decoration-color: rgba(28, 111, 165, 0.35);
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.prose a:hover, .contact-list a:hover, .office a:hover { text-decoration-color: currentColor; }

/* Training rows: tile lifts, title shifts colour. */
.event-row__tile .tile { transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease; }
.event-row:hover .event-row__tile .tile { transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 14px 26px -16px rgba(15, 39, 66, 0.7); }
.event-row:hover .event-row__tile .tile--upcoming { box-shadow: 0 0 0 3px var(--amber), 0 14px 26px -16px rgba(15, 39, 66, 0.7); }
.event-row__title a { transition: color 0.2s ease; }
.motion .event-row.is-filtered-in { animation: inq-rise 0.35s var(--ease-out) both; }

/* Hero card. */
.hero__card { transition: border-color 0.2s ease, transform 0.3s var(--ease-out), box-shadow 0.3s ease; }
.hero__card:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -26px rgba(15, 39, 66, 0.55); }
.hero__image img { transition: transform 1.2s var(--ease-out); }
.hero__visual:hover .hero__image img { transform: scale(1.02); }

/* Cards & images. */
.person__photo img, .poster__img img, .intro__image img, .about-head__image img, .course__poster img, .gallery-wall img {
	transition: transform 0.6s var(--ease-out), opacity 0.3s ease;
}
.poster__link:hover .poster__img img { transform: scale(1.03); }
.poster__img, .course__poster a, .board__item, .person-line, .office, .contact__form {
	transition: border-color 0.2s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-out);
}
.poster__link:hover .poster__img { box-shadow: 0 18px 34px -24px rgba(15, 39, 66, 0.55); }
.board__item:hover, .person-line:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 14px 28px -22px rgba(15, 39, 66, 0.55); }
.gallery-wall a:hover img { transform: scale(1.04); opacity: 1; }
.intro__image:hover img, .about-head__image:hover img { transform: scale(1.02); }
.course__poster a:hover img { transform: scale(1.02); opacity: 1; }
.interests li, .mini-courses a { transition: color 0.2s ease, padding 0.2s var(--ease-out); }
.interests li:hover { color: var(--brand); padding-left: 0.3rem; }

/* Form fields. */
.inq-form input, .inq-form textarea, .event-search__field input { transition: border-color 0.2s ease, box-shadow 0.2s ease; }

/* Image viewer: fades and scales in. */
.motion .lightbox:not([hidden]) { animation: inq-fade 0.25s ease both; }
.motion .lightbox:not([hidden]) img { animation: inq-pop 0.35s var(--ease-out) both; }
.lightbox__btn { transition: background-color 0.2s ease, transform 0.2s ease; }

/* Back-to-top button. */
.to-top {
	position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 40;
	display: grid; place-items: center; width: 46px; height: 46px;
	border-radius: 50%; background: var(--brand); color: #fff; text-decoration: none;
	box-shadow: 0 12px 26px -14px rgba(15, 39, 66, 0.7);
	opacity: 0; transform: translateY(12px); pointer-events: none;
	transition: opacity 0.3s ease, transform 0.3s var(--ease-out), background-color 0.2s ease;
}
.to-top[hidden] { display: grid; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }

/* Link arrows nudge forward. */
.link-more .icon, .advisor-card__cta .icon { transition: transform 0.25s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
	.btn:hover, .hero__card:hover, .board__item:hover, .person-line:hover, .to-top:hover,
	.event-row:hover .event-row__tile .tile { transform: none; }
}

.person-line--static { cursor: default; }
.person-line--static:hover { border-color: var(--line); transform: none; box-shadow: none; }
.person-line__photo.is-placeholder { object-position: 50% 100%; }

/* ==========================================================================
   v1.6 — wider layout, photo hero, update cards, large course poster
   ========================================================================== */

:root { --wrap: 1320px; }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }

/* ---------- Photo hero ---------- */

.hero--photo {
	position: relative;
	isolation: isolate;
	display: flex; align-items: stretch;
	min-height: clamp(560px, 82vh, 780px);
	padding: 0;
	color: #fff;
	background: var(--ink);
	overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero__bg::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(15, 39, 66, 0.94) 0%, rgba(15, 39, 66, 0.82) 38%, rgba(15, 39, 66, 0.45) 72%, rgba(15, 39, 66, 0.25) 100%),
		linear-gradient(0deg, rgba(15, 39, 66, 0.85) 0%, rgba(15, 39, 66, 0) 45%);
}
.hero__inner {
	display: grid;
	grid-template-rows: 1fr auto;
	gap: clamp(2rem, 4vw, 3rem);
	padding-block: clamp(4rem, 9vw, 7rem) clamp(2rem, 4vw, 3rem);
}
.hero--photo .hero__copy { align-self: center; max-width: 760px; }
.hero--photo .hero__title { color: #fff; max-width: 16ch; font-size: clamp(2.6rem, 1.6rem + 3.8vw, 4.6rem); }
.hero--photo .hero__lead { color: rgba(255, 255, 255, 0.86); font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); max-width: 56ch; }
.hero--photo .hero__actions { margin-top: 2rem; }

.hero__latest-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.85rem; }
.hero__latest-label { margin: 0; font-weight: 700; color: var(--amber); font-size: 0.95rem; }
.hero__latest-all { display: inline-flex; align-items: center; gap: 0.35rem; color: #fff; font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.hero__latest-all:hover { color: var(--amber); }
.hero__latest-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.hero-card {
	display: flex; align-items: center; gap: 0.9rem;
	height: 100%;
	padding: 0.75rem 1rem 0.75rem 0.75rem;
	color: #fff; text-decoration: none;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--radius);
	backdrop-filter: blur(10px) saturate(1.2);
	-webkit-backdrop-filter: blur(10px) saturate(1.2);
	transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.3s var(--ease-out, ease);
}
.hero-card:hover { color: #fff; background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.45); transform: translateY(-3px); }
.hero-card .tile { --tile: 76px; box-shadow: none; }
.hero-card .tile__kind, .hero-card .tile__mode { display: none; }
.hero-card .tile { grid-template-rows: auto 1fr; }
.hero-card__body { display: grid; gap: 0.35rem; min-width: 0; }
.hero-card__title { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-card__meta { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.88rem; color: rgba(255, 255, 255, 0.78); }
.hero-card__meta .icon { color: var(--amber); }

@media (prefers-reduced-motion: no-preference) {
	.hero--photo .hero__bg img { animation: inq-hero-zoom 14s ease-out both; }
	.hero__latest-list li { animation: inq-rise 0.7s var(--ease-out, ease) both; }
	.hero__latest-list li:nth-child(1) { animation-delay: 0.3s; }
	.hero__latest-list li:nth-child(2) { animation-delay: 0.4s; }
	.hero__latest-list li:nth-child(3) { animation-delay: 0.5s; }
}
@keyframes inq-hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

@media (max-width: 980px) {
	.hero__latest-list { grid-template-columns: 1fr; }
	.hero__latest-list li:nth-child(n+3) { display: none; }
	.hero__bg img { object-position: 60% 50%; }
	.hero__bg::after { background: linear-gradient(180deg, rgba(15, 39, 66, 0.78) 0%, rgba(15, 39, 66, 0.9) 100%); }
}

/* ---------- Update cards ---------- */

.posters, .posters--wall { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 1.75rem; }
.posters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .posters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .posters { grid-template-columns: 1fr; } }

.update-card {
	position: relative;
	display: flex; flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-out, ease);
}
.update-card:hover { border-color: transparent; transform: translateY(-4px); box-shadow: 0 24px 44px -26px rgba(15, 39, 66, 0.5), 0 0 0 1px var(--brand); }
.update-card:focus-within { box-shadow: 0 0 0 2px var(--brand); }
.update-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.update-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.6s var(--ease-out, ease); }
.update-card:hover .update-card__media img { transform: scale(1.04); }
.update-card__media .update-card__placeholder { object-fit: contain; padding: 22%; opacity: 0.3; }
.update-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.35rem 1.3rem; }
.update-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 0 0 0.7rem; font-size: 0.85rem; color: var(--muted); }
.update-card__type { padding: 0.1rem 0.55rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 0.78rem; }
.update-card__title { font-size: 1.2rem; line-height: 1.3; margin: 0 0 0.6rem; }
.update-card__title a { color: var(--ink); text-decoration: none; }
.update-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.update-card:hover .update-card__title a { color: var(--brand); }
.update-card__excerpt { margin: 0 0 1rem; font-size: 0.95rem; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.update-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; font-size: 0.93rem; color: var(--brand); }
.update-card__more .icon { transition: transform 0.25s var(--ease-out, ease); }
.update-card:hover .update-card__more .icon { transform: translateX(4px); }

/* ---------- Single training: large poster ---------- */

.course__grid { grid-template-columns: minmax(0, 1fr) 360px; }
.course__poster { margin: 0 0 3rem; }
.course__poster a {
	position: relative;
	display: grid; place-items: center;
	padding: clamp(0.75rem, 2vw, 1.5rem);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
	cursor: zoom-in;
}
.course__poster img {
	width: auto; max-width: 100%;
	max-height: min(88vh, 1100px);
	object-fit: contain; object-position: center;
	border-radius: 6px;
	box-shadow: 0 20px 40px -28px rgba(15, 39, 66, 0.55);
}
.course__poster a:hover img { transform: none; opacity: 1; }
.course__zoom {
	position: absolute; right: 1rem; bottom: 1rem;
	display: inline-flex; align-items: center; gap: 0.4rem;
	padding: 0.45rem 0.8rem;
	font-size: 0.85rem; font-weight: 600;
	color: #fff; background: rgba(15, 39, 66, 0.82);
	border-radius: 999px;
	opacity: 0; transform: translateY(6px);
	transition: opacity 0.25s ease, transform 0.25s var(--ease-out, ease);
}
.course__poster a:hover .course__zoom, .course__poster a:focus-visible .course__zoom { opacity: 1; transform: none; }
@media (hover: none) { .course__zoom { opacity: 1; transform: none; } }
@media (min-width: 600px) and (max-width: 960px) { .course__aside { grid-template-columns: 1fr; } }
@media (max-width: 960px) { .course__grid { grid-template-columns: 1fr; } }

/* ---------- Board of directors (homepage + Directors page) ---------- */
.board { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 960px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .board { grid-template-columns: 1fr; } }
.board__item { gap: 1.1rem; padding: 1.25rem 1.4rem; background: #fff; border-radius: 12px; }
.board__photo { width: 72px; height: 72px; border: 1px solid var(--line); }
.board__photo.is-placeholder { object-position: 50% 100%; }
.board__name { font-size: 1.15rem; line-height: 1.3; }
.board__role { margin-top: 0.15rem; color: var(--brand); font-weight: 600; font-size: 0.9rem; }
.directors-home { background: var(--paper); border-block: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem); }
/* Posters fill the full column width (smaller files are scaled up to fit). */
.course__poster img { width: 100%; height: auto; max-height: min(92vh, 1200px); }

/* ==========================================================================
   v1.7 — split section heads, gallery masonry, About redesign
   ========================================================================== */

/* Section heads: title left, intro + link right, ruled underneath. */
.section__head--split {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: end;
	gap: 1.25rem clamp(2rem, 6vw, 6rem);
	padding-bottom: clamp(1.5rem, 3vw, 2rem);
	margin-bottom: 0;
	border-bottom: 1px solid var(--line);
}
.section__head--split .section__title { max-width: 18ch; margin: 0; font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); }
.section__side { display: grid; gap: 1rem; justify-items: start; }
.section__side .section__lead { font-size: 1.08rem; max-width: 52ch; }
.section__head--split + .event-list { border-top: 0; }
.section__head--split + .people, .section__head--split + .feature-grid { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
@media (max-width: 820px) {
	.section__head--split { grid-template-columns: 1fr; }
}

/* ---------- Gallery ---------- */

.page-head--gallery { padding-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.gallery-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 3rem; }
.gallery-head__count { margin: 0; color: var(--muted); font-weight: 600; }
.gallery-head__count span { font-family: var(--serif); font-size: 2.2rem; color: var(--brand); margin-right: 0.2rem; }

.masonry { columns: 3 320px; column-gap: 1.1rem; }
.masonry__item { position: relative; break-inside: avoid; margin: 0 0 1.1rem; border-radius: 12px; overflow: hidden; background: var(--paper); }
.masonry__link { display: block; position: relative; cursor: zoom-in; }
.masonry__link img { width: 100%; height: auto; transition: transform 0.7s var(--ease-out, ease), filter 0.4s ease; }
.masonry__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 39, 66, 0.55), rgba(15, 39, 66, 0) 55%); opacity: 0; transition: opacity 0.35s ease; }
.masonry__item:hover .masonry__link img { transform: scale(1.04); }
.masonry__item:hover .masonry__link::after, .masonry__link:focus-visible::after { opacity: 1; }
.masonry__zoom {
	position: absolute; right: 0.85rem; top: 0.85rem; z-index: 1;
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	background: rgba(255, 255, 255, 0.92); color: var(--ink);
	opacity: 0; transform: scale(0.85); transition: opacity 0.3s ease, transform 0.3s var(--ease-out, ease);
}
.masonry__item:hover .masonry__zoom, .masonry__link:focus-visible .masonry__zoom { opacity: 1; transform: none; }
.masonry__caption {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
	padding: 1rem 1.1rem 0.9rem;
	color: #fff; font-weight: 600; font-size: 0.95rem; line-height: 1.35;
	transform: translateY(8px); opacity: 0; pointer-events: none;
	transition: opacity 0.35s ease, transform 0.35s var(--ease-out, ease);
}
.masonry__item:hover .masonry__caption { opacity: 1; transform: none; }
@media (hover: none) {
	.masonry__caption { opacity: 1; transform: none; }
	.masonry__link::after { opacity: 1; }
}

/* ---------- About ---------- */

.about-hero { padding-block: clamp(2rem, 4vw, 3rem) 0; background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 70%, #fff 70%); }
.about-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-bottom: clamp(2rem, 4vw, 3rem); }
.about-hero__title { font-size: clamp(2.4rem, 1.5rem + 3.2vw, 4.1rem); line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 0.45em; }
.about-hero__lead { font-family: var(--serif); font-size: clamp(1.1rem, 1rem + 0.35vw, 1.28rem); line-height: 1.65; color: var(--ink-2); margin: 0; max-width: 58ch; }
.about-hero__media { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 30px 60px -36px rgba(15, 39, 66, 0.6); }
.about-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.motion .about-hero__title { animation: inq-rise 0.8s var(--ease-out, ease) both; }
.motion .about-hero__lead { animation: inq-rise 0.8s 0.08s var(--ease-out, ease) both; }
.motion .about-hero__media { animation: inq-pop 0.9s 0.1s var(--ease-out, ease) both; }

.stats {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0; background: #fff;
	border: 1px solid var(--line); border-radius: 14px;
	box-shadow: 0 20px 40px -32px rgba(15, 39, 66, 0.45);
}
.stats__item { display: flex; flex-direction: column-reverse; gap: 0.25rem; padding: 1.4rem 1.6rem; }
.stats__item + .stats__item { border-left: 1px solid var(--line); }
.stats dt { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.stats dd { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); line-height: 1; color: var(--brand); }
@media (max-width: 860px) {
	.about-hero__grid { grid-template-columns: 1fr; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stats__item:nth-child(3) { border-left: 0; }
	.stats__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

.mv-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mv-card { position: relative; padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.mv-card--mission { background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, 0.86); }
.mv-card--mission .mv-card__title { color: #fff; }
.mv-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.25rem; background: var(--brand-soft); color: var(--brand); }
.mv-card--mission .mv-card__icon { background: rgba(247, 147, 30, 0.16); color: var(--amber); }
.mv-card__title { font-size: var(--step-3); margin-bottom: 0.6rem; }
.mv-card p { font-family: var(--serif); font-size: 1.1rem; line-height: 1.7; margin: 0; }
@media (max-width: 860px) { .mv-cards { grid-template-columns: 1fr; } }

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.feature { padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; border-top: 3px solid var(--brand); transition: transform 0.3s var(--ease-out, ease), box-shadow 0.3s ease; }
.feature:nth-child(even) { border-top-color: var(--amber); }
.feature:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -28px rgba(15, 39, 66, 0.55); }
.feature__title { font-size: 1.2rem; margin-bottom: 0.5rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.98rem; }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.vtimeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 980px; }
.vtimeline::before { content: ""; position: absolute; left: 190px; top: 0.5rem; bottom: 0.5rem; width: 2px; background: linear-gradient(180deg, var(--brand), var(--amber)); border-radius: 2px; }
.vtimeline__item { position: relative; display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 0 60px; padding-bottom: 1.75rem; }
.vtimeline__item::before { content: ""; position: absolute; left: 183px; top: 0.45rem; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 0 0 5px #fff; }
.vtimeline__item:last-child::before { border-color: var(--amber); }
.vtimeline__when { display: grid; gap: 0.3rem; text-align: right; padding-top: 0.1rem; }
.vtimeline__date { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.vtimeline__place { display: inline-flex; justify-content: flex-end; align-items: center; gap: 0.3rem; color: var(--muted); font-size: 0.9rem; }
.vtimeline__place .icon { color: var(--brand); width: 0.95em; height: 0.95em; }
.vtimeline__card { padding: 1.2rem 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.vtimeline__title { font-size: 1.2rem; margin-bottom: 0.35rem; }
.vtimeline__card p { margin: 0; color: var(--ink-2); }
@media (max-width: 700px) {
	.vtimeline::before { left: 7px; }
	.vtimeline__item { grid-template-columns: 1fr; padding-left: 2.25rem; gap: 0.5rem; }
	.vtimeline__item::before { left: 0; }
	.vtimeline__when { text-align: left; }
	.vtimeline__place { justify-content: flex-start; }
}

.about-advisors { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-advisors .section__lead { margin-bottom: 1.5rem; }
.face-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem 1rem; list-style: none; margin: 0; padding: 0; }
.face-wall__link { display: grid; justify-items: center; gap: 0.6rem; text-align: center; color: var(--ink); text-decoration: none; }
.face-wall__link img { width: 100%; max-width: 120px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 3px solid #fff; box-shadow: 0 12px 24px -16px rgba(15, 39, 66, 0.6); transition: transform 0.3s var(--ease-out, ease), box-shadow 0.3s ease; background: #fff; }
.face-wall__link img.is-placeholder { object-position: 50% 100%; }
.face-wall__link:hover img { transform: translateY(-4px); box-shadow: 0 18px 30px -16px rgba(15, 39, 66, 0.7); }
.face-wall__name { font-size: 0.88rem; font-weight: 600; line-height: 1.3; }
.face-wall__link:hover .face-wall__name { color: var(--brand); }
@media (max-width: 900px) { .about-advisors { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .face-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.cta-dark { padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-dark__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem;
	padding: clamp(1.75rem, 4vw, 3rem);
	border-radius: 18px;
	background: var(--brand-soft);
	border: 1px solid #cfe1ef;
}
.cta-dark__title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin: 0; max-width: 24ch; }
.cta-dark__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
