/*
 * MAF UoM — main stylesheet.
 * 1. Tokens  2. Base  3. Layout & type  4. Buttons & UI  5. Header  6. Front page
 * 7. Inner pages  8. Footer  9. Motion & utilities
 */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--plum: #750b77;
	--plum-700: #5c085e;
	--violet: #5f43b2;
	--deep: #3a3153;
	--teal: #0b5b77;
	--gold: #9b8e14;
	--gold-300: #d3c65a;
	--gold-200: #e6dc8c;
	--gold-700: #7a700f;
	--green: #3a5f4b;

	--ink-950: #17121f;
	--ink-900: #211b31;
	--ink: #231c33;
	--text: #334155;
	--muted: #64748b;
	--line: #e2e8f0;
	--line-strong: #cbd5e1;
	--paper: #f6f4f8;
	--white: #fff;

	--font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(72px, 9vw, 128px);
	--radius: 4px;
	--radius-sm: 3px;
	--topbar-h: 40px;
	--nav-h: 80px;
	--admin-bar: 0px;

	--shadow-sm: 0 1px 2px rgba(33, 27, 49, .06), 0 1px 3px rgba(33, 27, 49, .05);
	--shadow-md: 0 10px 30px -12px rgba(33, 27, 49, .18), 0 2px 6px rgba(33, 27, 49, .05);
	--shadow-lg: 0 30px 60px -20px rgba(33, 27, 49, .28), 0 8px 20px -8px rgba(33, 27, 49, .1);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nav-h) + var(--admin-bar) + 16px);
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--text);
	background: var(--white);
	font-feature-settings: "cv11", "ss01";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body.admin-bar { --admin-bar: 32px; }
@media (max-width: 782px) { body.admin-bar { --admin-bar: 46px; } }

img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--plum-700); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	color: var(--ink);
	font-weight: 650;
	line-height: 1.15;
	letter-spacing: -.02em;
	text-wrap: balance;
}

::selection { background: var(--plum); color: var(--white); }

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

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

.screen-reader-text, .sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: fixed;
	top: calc(var(--admin-bar) + 12px);
	left: 12px;
	z-index: 1000;
	padding: 10px 18px;
	background: var(--ink-900);
	color: var(--white);
	border-radius: var(--radius-sm);
	font-weight: 600;
	transform: translateY(-200%);
	transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; color: var(--white); }

#trp-floater-ls { display: none !important; }

/* 3. Layout & type --------------------------------------------------------- */
.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }

.section { padding-block: var(--section); position: relative; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink-900); color: rgba(255, 255, 255, .74); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 22px;
	font-size: .75rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--plum);
}
/* Small lozenge, a classical ornament instead of a rule. */
.eyebrow::before {
	content: "";
	width: 7px;
	height: 7px;
	border: 1px solid var(--gold);
	background: transparent;
	transform: rotate(45deg);
	flex: none;
}
.eyebrow--light::before { border-color: var(--gold-300); }
.eyebrow--light { color: var(--gold-300); }
.eyebrow--plain::before { display: none; }

.h-display {
	font-size: clamp(2.625rem, 1.45rem + 4.2vw, 4.75rem);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -.034em;
}
.h-section {
	font-size: clamp(2.125rem, 1.55rem + 1.9vw, 3.125rem);
	font-weight: 650;
	line-height: 1.1;
	letter-spacing: -.03em;
}
.h-card { font-size: 1.5rem; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }

/* Double rule, as under a ledger total. */
.bar { display: block; width: 64px; height: 5px; margin: 28px 0 30px; border: 0; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); background: none; }
.section--dark .bar, .bar--light { border-color: var(--gold-300); }

.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.65; color: var(--muted); }
.section--dark .lead { color: rgba(255, 255, 255, .72); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .h-section { margin-bottom: 0; }
.section-head .lead { margin: 24px 0 0; max-width: 640px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .bar { margin-inline: auto; }
.section-head--split {
	max-width: none;
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	align-items: end;
	gap: 24px clamp(40px, 6vw, 96px);
}
.section-head--split > div { max-width: 720px; }
.section-head--split .lead { margin: 0; padding-bottom: 6px; }
.section-head--split > .btn { justify-self: end; }
@media (max-width: 899px) {
	.section-head--split { grid-template-columns: 1fr; }
	.section-head--split > .btn { justify-self: start; }
}

/* 4. Buttons & UI ---------------------------------------------------------- */
.btn {
	--btn-bg: var(--plum);
	--btn-fg: var(--white);
	--btn-bd: var(--btn-bg);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 14px 26px;
	border: 1px solid var(--btn-bd);
	border-radius: var(--radius-sm);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-size: .8125rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { --btn-bg: var(--plum-700); color: var(--btn-fg); }
.btn:hover .icon--arrow-right { transform: translateX(4px); }
.btn--gold { --btn-bg: var(--gold-300); --btn-fg: var(--ink-900); }
.btn--gold:hover { --btn-bg: var(--gold-200); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { --btn-bg: var(--white); --btn-fg: var(--ink-900); --btn-bd: var(--white); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--ink-900); --btn-fg: var(--white); --btn-bd: var(--ink-900); }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; color: var(--plum); transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--plum); }
.link-arrow:hover .icon { transform: translateX(4px); }
.section--dark .link-arrow, .link-arrow--light { color: var(--white); }
.section--dark .link-arrow .icon, .link-arrow--light .icon { color: var(--gold-300); }

.chip {
	--chip: var(--violet);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ink);
	text-decoration: none;
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--chip); flex: none; }

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	background: transparent;
	color: inherit;
	transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.icon-btn .icon { width: 20px; height: 20px; }
.icon-btn:hover { background: rgba(127, 127, 127, .12); }

.lang-switch { display: inline-flex; align-items: center; gap: 2px; }
.lang-switch a {
	padding: 3px 7px;
	border-radius: 4px;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-decoration: none;
	color: inherit;
	opacity: .7;
}
.lang-switch a:hover { opacity: 1; }
.lang-switch a.is-active { opacity: 1; background: rgba(255, 255, 255, .14); }

/* 5. Header ---------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: var(--admin-bar);
	left: 0;
	right: 0;
	z-index: 100;
	color: var(--white);
	transition: transform .4s var(--ease);
}
.site-header::before {
	/* White sheet that slides in once the page is scrolled. */
	content: "";
	position: absolute;
	inset: var(--topbar-h) 0 0;
	background: var(--white);
	box-shadow: 0 1px 0 var(--line), 0 12px 32px -18px rgba(33, 27, 49, .35);
	opacity: 0;
	transition: opacity .3s var(--ease);
	pointer-events: none;
}
.site-header::after {
	/* Hairline under the transparent navbar. */
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: rgba(255, 255, 255, .14);
	transition: opacity .3s var(--ease);
}
.site-header.is-scrolled { transform: translateY(calc(var(--topbar-h) * -1)); color: var(--ink); }
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-scrolled::after { opacity: 0; }

.topbar {
	position: relative;
	height: var(--topbar-h);
	background: rgba(23, 18, 31, .55);
	color: rgba(255, 255, 255, .78);
	font-size: .8125rem;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.topbar__group { display: flex; align-items: center; gap: 22px; min-width: 0; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar a:hover { color: var(--white); }
.topbar .icon { width: 15px; height: 15px; color: var(--gold-300); }
.topbar__uni { font-weight: 600; color: var(--white) !important; white-space: nowrap; }
.topbar__dept { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__contact { white-space: nowrap; }
.topbar__sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .22); flex: none; }
.topbar__social { display: flex; gap: 4px; }
.topbar__social a { width: 28px; height: 28px; justify-content: center; border-radius: 4px; }
.topbar__social a:hover { background: rgba(255, 255, 255, .1); }
.topbar__social .icon { width: 15px; height: 15px; color: currentColor; }

.navbar { position: relative; height: var(--nav-h); }
.navbar__inner { display: flex; align-items: center; gap: 32px; height: 100%; }

.brand { display: flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; flex: none; }
.brand img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 255, 255, .14); transition: box-shadow .3s; }
.is-scrolled .brand img { box-shadow: 0 0 0 3px var(--paper); }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__kicker { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .72; }
.brand__name { font-size: 1.0625rem; font-weight: 650; letter-spacing: -.01em; }
.brand:hover { color: inherit; }

.primary-nav { margin-left: auto; }
.primary-nav .menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.primary-nav .menu > li { position: relative; display: flex; align-items: center; }
.primary-nav .menu > li > a,
.primary-nav .menu-parent {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 44px;
	padding: 0 14px;
	border: 0;
	background: none;
	color: inherit;
	font-size: .9375rem;
	font-weight: 500;
	letter-spacing: -.005em;
	text-decoration: none;
	white-space: nowrap;
	opacity: .9;
	transition: opacity .2s, color .2s;
}
.primary-nav .menu > li > a::after,
.primary-nav .menu-parent::after {
	content: "";
	position: absolute;
	left: 14px; right: 14px; bottom: 6px;
	height: 2px;
	background: var(--gold-300);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--ease);
}
.is-scrolled .primary-nav .menu > li > a::after,
.is-scrolled .primary-nav .menu-parent::after { background: var(--gold); }
.primary-nav .menu > li:hover > a,
.primary-nav .menu > li:hover > .menu-parent,
.primary-nav .menu > li > a:focus-visible,
.primary-nav .menu-parent[aria-expanded="true"] { opacity: 1; }
.primary-nav .menu > li:hover > a::after,
.primary-nav .menu > li:hover > .menu-parent::after,
.primary-nav .menu-parent[aria-expanded="true"]::after,
.primary-nav .menu > .current-menu-item > a::after,
.primary-nav .menu > .current-menu-ancestor > .menu-parent::after,
.primary-nav .menu > .current-menu-parent > .menu-parent::after { transform: scaleX(1); }
.primary-nav .menu-parent .icon,
.primary-nav .submenu-toggle .icon { width: 14px; height: 14px; transition: transform .25s var(--ease); opacity: .8; }
.primary-nav .menu-parent[aria-expanded="true"] .icon,
.primary-nav .submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.primary-nav .submenu-toggle {
	display: inline-grid; place-items: center;
	width: 24px; height: 24px; margin-left: -10px; padding: 0;
	border: 0; background: none; color: inherit;
}

.primary-nav .sub-menu {
	position: absolute;
	top: calc(100% + 14px);
	left: 0;
	min-width: 290px;
	margin: 0;
	padding: 10px;
	list-style: none;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	color: var(--ink);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.primary-nav .sub-menu::before {
	/* Hover bridge between the item and the panel. */
	content: "";
	position: absolute;
	left: 0; right: 0; top: -16px;
	height: 16px;
}
.primary-nav .menu > li:hover > .sub-menu,
.primary-nav .menu > li:focus-within > .sub-menu,
.primary-nav .menu > li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}
.primary-nav .sub-menu a {
	position: relative;
	display: block;
	padding: 11px 14px 11px 18px;
	border-radius: var(--radius-sm);
	color: var(--ink);
	font-size: .9375rem;
	font-weight: 500;
	line-height: 1.35;
	text-decoration: none;
	transition: background-color .2s, color .2s;
}
.primary-nav .sub-menu a::before {
	content: "";
	position: absolute;
	left: 6px; top: 50%;
	width: 3px; height: 0;
	background: var(--gold);
	border-radius: 2px;
	transform: translateY(-50%);
	transition: height .2s var(--ease);
}
.primary-nav .sub-menu a:hover,
.primary-nav .sub-menu .current-menu-item > a { background: var(--paper); color: var(--plum); }
.primary-nav .sub-menu a:hover::before,
.primary-nav .sub-menu .current-menu-item > a::before { height: 18px; }

.primary-nav .menu-item--cta { margin-left: 10px; }
.primary-nav .menu > .menu-item--cta > a {
	height: 46px;
	padding: 0 22px;
	border-radius: var(--radius-sm);
	background: var(--gold-300);
	color: var(--ink-900);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	opacity: 1;
	transition: background-color .25s var(--ease), color .25s var(--ease);
}
.primary-nav .menu > .menu-item--cta > a::after { display: none; }
.primary-nav .menu > .menu-item--cta > a:hover { background: var(--white); }
.is-scrolled .primary-nav .menu > .menu-item--cta > a { background: var(--plum); color: var(--white); }
.is-scrolled .primary-nav .menu > .menu-item--cta > a:hover { background: var(--plum-700); }

.navbar__actions { display: flex; align-items: center; gap: 4px; margin-left: -16px; }
.primary-nav + .navbar__actions { margin-left: 0; }
.nav-toggle { display: none; }
.nav-drawer-extra { display: none; }

.search-panel {
	position: absolute;
	left: 0; right: 0;
	top: 100%;
	padding: 22px 0;
	background: var(--white);
	border-top: 1px solid var(--line);
	box-shadow: var(--shadow-md);
	color: var(--ink);
}
.search-panel[hidden] { display: none; }

.search-form { display: flex; gap: 10px; }
.search-form label { flex: 1; position: relative; }
.search-form .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.search-form input[type="search"] {
	width: 100%;
	height: 52px;
	padding: 0 18px 0 48px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: var(--white);
	font-size: 1rem;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .2s, box-shadow .2s;
}
.search-form input[type="search"]:focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(95, 67, 178, .14); }

@media (max-width: 1180px) {
	.primary-nav .menu > li > a, .primary-nav .menu-parent { padding: 0 10px; font-size: .9rem; }
	.primary-nav .menu > li > a::after, .primary-nav .menu-parent::after { left: 10px; right: 10px; }
	.navbar__inner { gap: 20px; }
}

/* Off-canvas navigation below 1080px. */
@media (max-width: 1079px) {
	:root { --nav-h: 72px; }
	.nav-toggle { display: inline-grid; }
	.brand img { width: 42px; height: 42px; }
	.brand__name { font-size: 1rem; }
	.navbar__actions { margin-left: auto; }

	.primary-nav {
		position: fixed;
		top: calc(var(--admin-bar) + var(--topbar-h) + var(--nav-h));
		right: 0;
		bottom: 0;
		width: min(420px, 100%);
		margin: 0;
		padding: 12px var(--gutter) 32px;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: var(--white);
		color: var(--ink);
		box-shadow: -20px 0 50px -20px rgba(23, 18, 31, .4);
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .35s var(--ease), visibility 0s .35s;
	}
	.is-scrolled .primary-nav { top: calc(var(--admin-bar) + var(--nav-h)); }
	.nav-open .primary-nav { transform: none; visibility: visible; transition-delay: 0s; }
	.nav-open .site-header { color: var(--ink); }
	.nav-open .site-header::before { opacity: 1; }
	.nav-backdrop {
		position: fixed; inset: 0; z-index: 90;
		background: rgba(23, 18, 31, .5);
		opacity: 0; visibility: hidden;
		transition: opacity .3s, visibility 0s .3s;
	}
	.nav-open .nav-backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }
	.nav-open { overflow: hidden; }

	.primary-nav .menu { display: block; }
	.primary-nav .menu > li { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.primary-nav .menu > li > a,
	.primary-nav .menu-parent { flex: 1; height: auto; min-height: 58px; padding: 0; font-size: 1.0625rem; font-weight: 600; opacity: 1; justify-content: space-between; }
	.primary-nav .menu > li > a::after, .primary-nav .menu-parent::after { display: none; }
	.primary-nav .submenu-toggle { width: 44px; height: 58px; margin: 0; }
	.primary-nav .sub-menu {
		position: static;
		flex-basis: 100%;
		min-width: 0;
		padding: 0 0 14px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
	}
	.primary-nav .sub-menu::before { display: none; }
	.primary-nav .menu > li.is-open > .sub-menu { display: block; }
	.primary-nav .menu > li:hover > .sub-menu,
	.primary-nav .menu > li:focus-within > .sub-menu { display: none; }
	.primary-nav .menu > li.is-open:hover > .sub-menu,
	.primary-nav .menu > li.is-open:focus-within > .sub-menu { display: block; }
	.primary-nav .sub-menu a { padding: 10px 14px 10px 18px; color: var(--text); font-size: 1rem; }

	.primary-nav .menu-item--cta { margin: 24px 0 0; border-bottom: 0 !important; }
	.primary-nav .menu > .menu-item--cta > a,
	.is-scrolled .primary-nav .menu > .menu-item--cta > a { justify-content: center; min-height: 54px; background: var(--plum); color: var(--white); }

	.nav-drawer-extra { display: grid; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .9375rem; }
	.nav-drawer-extra a { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
	.nav-drawer-extra .icon { width: 18px; height: 18px; color: var(--plum); }
	.nav-drawer-extra .lang-switch a { border: 1px solid var(--line); padding: 6px 12px; opacity: 1; }
	.nav-drawer-extra .lang-switch a.is-active { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); }
}

@media (max-width: 1023px) {
	.topbar .topbar__dept, .topbar .topbar__sep--dept { display: none; }
}
@media (max-width: 767px) {
	.topbar .topbar__contact { display: none; }
}
@media (max-width: 479px) {
	.topbar .topbar__social { display: none; }
	.brand__kicker { font-size: .625rem; letter-spacing: .1em; }
	.brand__name { font-size: .9375rem; }
	.brand { gap: 10px; }
	.search-toggle { display: none; }
}

/* 6. Front page ------------------------------------------------------------ */

/* Hero: the photograph stays in full colour; a short shade on the text side only. */
.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: min(100svh, 920px);
	padding-top: calc(var(--admin-bar) + var(--topbar-h) + var(--nav-h));
	background: var(--ink-900);
	color: var(--white);
	overflow: hidden;
	isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__video { position: absolute; inset: 0; z-index: -2; overflow: hidden; opacity: 0; container-type: size; pointer-events: none; transition: opacity 1.4s var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero__video iframe { position: absolute; top: 50%; left: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); border: 0; transform: translate(-50%, -50%) scale(1.06); }
.hero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(23, 18, 31, .72) 0%, rgba(23, 18, 31, .52) 36%, rgba(23, 18, 31, .14) 62%, rgba(23, 18, 31, 0) 80%),
		linear-gradient(180deg, rgba(23, 18, 31, .45) 0%, rgba(23, 18, 31, 0) 24%);
}
.hero__inner { flex: 1; display: flex; align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.hero__content { max-width: 660px; text-shadow: 0 1px 2px rgba(23, 18, 31, .25), 0 2px 30px rgba(23, 18, 31, .4); }
.hero__kicker { margin: 0 0 clamp(18px, 2vw, 24px); color: var(--gold-200); font-size: .8125rem; font-weight: 600; line-height: 1.4; letter-spacing: .2em; text-transform: uppercase; }
.hero__title { margin: 0; color: var(--white); font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.25rem); }
.hero__title em { font-style: normal; color: var(--gold-200); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; text-shadow: none; }

@media (max-width: 1023px) {
	.hero__shade { background: linear-gradient(180deg, rgba(23, 18, 31, .6) 0%, rgba(23, 18, 31, .42) 48%, rgba(23, 18, 31, .58) 100%); }
}
@media (max-width: 699px) {
	.hero__media img { object-position: 40% 50%; }
	.hero__actions .btn { flex: 1 1 100%; }
}

/* Programme cards (inner pages) */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program-card {
	--accent: var(--plum);
	--accent-ink: var(--accent);
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 36px 32px 32px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.program-card::before {
	content: "";
	position: absolute;
	left: -1px; right: -1px; top: -1px;
	height: 3px;
	background: var(--accent);
	border-radius: var(--radius) var(--radius) 0 0;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.program-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.program-card__num { font-size: 2.25rem; font-weight: 600; line-height: 1; color: var(--accent-ink); }
.program-card__tag { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.program-card h3 { margin: 0 0 32px; font-size: 1.5rem; font-weight: 600; line-height: 1.25; letter-spacing: -.016em; }
.program-card h3 a { color: inherit; text-decoration: none; }
.program-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.program-card__more { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink); font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.program-card__more .icon { width: 20px; height: 20px; color: var(--accent-ink); transition: transform .3s var(--ease); }
.program-card:hover .program-card__more .icon { transform: translateX(5px); }

@media (max-width: 1023px) { .programs { grid-template-columns: 1fr; } }

/* Ledger ruling: faint horizontal lines used on dark panels instead of colour gradients. */
.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(180deg, transparent 0 47px, rgba(255, 255, 255, .04) 47px 48px);
	pointer-events: none;
}

/* News list (latest news, categories, search): date, category, title, excerpt, optional image */
.news-index { padding-top: clamp(40px, 5vw, 64px); }
.news-row {
	--chip: var(--violet);
	position: relative;
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 0 clamp(24px, 4vw, 56px);
	padding: clamp(28px, 3.2vw, 40px) 0;
	border-bottom: 1px solid var(--line);
}
.news-row:first-child { border-top: 1px solid var(--ink-900); }
.filters + .news-list .news-row:first-child { border-top: 0; }
.news-row--media { grid-template-columns: 112px minmax(0, 1fr) clamp(180px, 21vw, 264px); }
.news-row__date { display: flex; flex-direction: column; padding-top: 2px; color: var(--ink); font-variant-numeric: tabular-nums; }
.news-row__day { font-size: 2.75rem; font-weight: 600; line-height: .9; letter-spacing: -.04em; }
.news-row__month { margin-top: 12px; color: var(--muted); font-size: .8125rem; font-weight: 500; line-height: 1.2; letter-spacing: .06em; }
.news-row__body { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.news-row__cat { position: relative; z-index: 1; margin-bottom: 14px; align-items: flex-start; line-height: 1.45; }
.news-row__cat::before { margin-top: .38em; }
a.news-row__cat:hover { color: var(--plum); }
.news-row__title { max-width: 780px; margin: 0; color: var(--ink); font-size: clamp(1.1875rem, 1.04rem + .5vw, 1.4375rem); font-weight: 600; line-height: 1.38; letter-spacing: -.016em; }
.news-row__title a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
.news-row__title a::after { content: ""; position: absolute; inset: 0; }
.news-row:hover .news-row__title a { color: var(--plum); }
.news-row__excerpt { display: -webkit-box; max-width: 700px; margin: 12px 0 0; overflow: hidden; color: var(--muted); font-size: 1rem; line-height: 1.65; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-row__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--ink); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.news-row__more .icon { width: 16px; height: 16px; color: var(--plum); transition: transform .25s var(--ease); }
.news-row:hover .news-row__more .icon { transform: translateX(4px); }
.news-row__media { align-self: start; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-sm); background: var(--paper); }
.news-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-row:hover .news-row__media img { transform: scale(1.04); }

@media (max-width: 1023px) {
	.news-row { grid-template-columns: 84px minmax(0, 1fr); }
	.news-row--media { grid-template-columns: 84px minmax(0, 1fr) 168px; }
	.news-row__day { font-size: 2.25rem; }
}
@media (max-width: 679px) {
	.news-row { grid-template-columns: minmax(0, 1fr); padding: 26px 0; }
	.news-row--media { grid-template-columns: minmax(0, 1fr) 88px; gap: 0 18px; }
	.news-row__date { grid-column: 1 / -1; flex-direction: row; align-items: baseline; margin-bottom: 12px; padding: 0; color: var(--muted); font-size: .8125rem; font-weight: 500; letter-spacing: .04em; }
	span.news-row__date { display: none; }
	.news-row__day { font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; }
	.news-row__day::after { content: "/"; }
	.news-row__month { margin: 0; font-size: inherit; line-height: inherit; letter-spacing: inherit; }
	.news-row__media { grid-column: 2; grid-row: 2; aspect-ratio: 1; }
	.news-row__title { font-size: 1.125rem; }
	.news-row__excerpt { font-size: .9375rem; }
	.news-row__more { margin-top: 16px; }
}

/* 7. Inner pages ----------------------------------------------------------- */

/* Page hero: ruled ink panel, the photograph in full colour on the right. */
.page-hero {
	position: relative;
	padding: calc(var(--admin-bar) + var(--topbar-h) + var(--nav-h) + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px);
	background: var(--ink-900);
	color: var(--white);
	overflow: hidden;
	isolation: isolate;
}
.page-hero::before { z-index: -1; -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 62%); mask-image: linear-gradient(90deg, #000 0%, transparent 62%); }
.page-hero::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, var(--gold-300), rgba(211, 198, 90, 0) 60%);
	opacity: .55;
}
.page-hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 54%; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 22%, #000 48%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 22%, #000 48%); }
/* A light scrim at the top only, so the transparent header stays legible. */
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 18, 31, .55) 0%, rgba(23, 18, 31, 0) 42%); }
.page-hero--program { background: var(--ink-950); background: color-mix(in srgb, var(--accent) 24%, var(--ink-950)); }
.page-hero__inner { position: relative; }
.page-hero h1 { max-width: 900px; margin: 0; color: var(--white); font-size: clamp(2.25rem, 1.55rem + 2.5vw, 3.75rem); font-weight: 650; line-height: 1.06; letter-spacing: -.028em; }
.page-hero--media h1, .page-hero--media .page-hero__lead { max-width: 660px; }
.page-hero__lead { max-width: 720px; margin: 24px 0 0; color: rgba(255, 255, 255, .8); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.6; }
.page-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 28px; color: rgba(255, 255, 255, .7); font-size: .9375rem; }
.page-hero__meta time { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.page-hero__meta time .icon { width: 17px; height: 17px; color: var(--gold-300); }
.chip--light { color: var(--white); }
.chip--light:hover { color: var(--gold-200); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.page-hero__search { max-width: 620px; margin-top: 36px; }
.page-hero__search .search-form input[type="search"] { border-color: transparent; }
.page-hero__search .btn { --btn-bg: var(--gold-300); --btn-fg: var(--ink-900); }
.page-hero__search .btn:hover { --btn-bg: var(--gold-200); }
@media (max-width: 899px) {
	.page-hero__media { width: 100%; }
	.page-hero__media img { opacity: .3; -webkit-mask-image: none; mask-image: none; }
	.page-hero__media::after { display: none; }
	.page-hero--media h1, .page-hero--media .page-hero__lead { max-width: none; }
}

.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.hero-tags a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 999px;
	color: rgba(255, 255, 255, .86);
	font-size: .875rem;
	font-weight: 500;
	text-decoration: none;
	transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.hero-tags a:hover { background: var(--white); border-color: var(--white); color: var(--ink-900); }
.hero-tags span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: .75rem; font-weight: 600; }
.hero-tags a:hover span { background: var(--paper); }

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin: 0 0 26px; padding: 0; list-style: none; font-size: .8125rem; color: rgba(255, 255, 255, .6); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; margin: 0 12px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.crumbs a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.crumbs a:hover { color: var(--gold-300); }
.crumbs [aria-current] span { color: var(--white); }

.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(40px, 5vw, 56px); }
.program-card h2 { margin: 0 0 32px; font-size: 1.5rem; line-height: 1.25; letter-spacing: -.008em; }
.program-card h2 a { color: inherit; text-decoration: none; }
.program-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.programs--two { grid-template-columns: repeat(2, 1fr); }

/* Default content */
.entry { padding-block: clamp(56px, 7vw, 96px); }
.builder-content { overflow-wrap: break-word; }
.prose { max-width: 760px; }
.prose > * + * { margin-top: 1.15em; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.625rem, 1.35rem + .9vw, 2.125rem); letter-spacing: -.025em; }
.prose h3 { margin-top: 1.6em; font-size: 1.375rem; }
.prose h4 { margin-top: 1.4em; font-size: 1.125rem; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--plum); }
.prose a { font-weight: 500; }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--gold); color: var(--ink); font-size: 1.1875rem; }
.prose img, .prose figure { border-radius: var(--radius); }
.prose figure { margin-inline: 0; }
.prose figcaption { margin-top: 10px; color: var(--muted); font-size: .875rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; background: var(--paper); }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2.4em; }
.prose .wp-block-button__link, .prose .wp-element-button { display: inline-flex; padding: 14px 26px; border-radius: var(--radius-sm); background: var(--plum); color: var(--white); font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.page-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; font-weight: 600; }

/* Single post: a plain ink title band, then the article in a reading column. */
.article-head {
	position: relative;
	padding: calc(var(--admin-bar) + var(--topbar-h) + var(--nav-h) + clamp(36px, 5vw, 64px)) 0 clamp(40px, 5vw, 64px);
	background: var(--ink-900);
	color: var(--white);
}
.article-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--plum); }
.article-head .crumbs ol { margin-bottom: 30px; }
.article-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-bottom: 18px; color: rgba(255, 255, 255, .66); font-size: .8125rem; font-weight: 500; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.article-cat { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-200); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.article-cat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--chip, var(--violet)); box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); }
.article-cat:hover { color: var(--white); }
.article-head__meta time { position: relative; }
.article-head__meta .article-cat + time::before { content: ""; position: absolute; left: -12px; top: 50%; width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%; background: currentColor; opacity: .7; }
.article-head h1 { max-width: 920px; margin: 0; color: var(--white); font-size: clamp(1.875rem, 1.35rem + 1.9vw, 3rem); font-weight: 650; line-height: 1.15; letter-spacing: -.026em; }

.article-body { padding-block: clamp(48px, 6vw, 88px) clamp(64px, 8vw, 112px); }
.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.single-main { min-width: 0; }
.single-cover { margin: 0 0 clamp(32px, 4vw, 48px); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.single-cover img { width: 100%; max-height: 560px; object-fit: cover; }

/* Article text: one size, one measure, the theme's colours only. */
.prose--article { max-width: 720px; color: var(--text); font-size: 1.125rem; line-height: 1.78; overflow-wrap: break-word; }
.prose--article > * + * { margin-top: 1.25em; }
.prose--article p, .prose--article li { font-size: inherit !important; line-height: inherit; }
.prose--article strong, .prose--article b { color: var(--ink); font-weight: 600; }
.prose--article h1, .prose--article h2 { margin-top: 1.9em; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); font-weight: 650; line-height: 1.3; letter-spacing: -.018em; }
.prose--article h3 { margin-top: 1.7em; font-size: 1.25rem; font-weight: 650; line-height: 1.35; letter-spacing: -.012em; }
.prose--article h4, .prose--article h5, .prose--article h6 { margin-top: 1.5em; font-size: 1.0625rem; font-weight: 650; line-height: 1.4; letter-spacing: 0; }
.prose--article a { color: var(--plum); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(117, 11, 119, .35); text-underline-offset: .22em; overflow-wrap: anywhere; }
.prose--article a:hover { text-decoration-color: currentColor; }
.prose--article ul, .prose--article ol { padding-left: 1.3em; }
.prose--article img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.prose--article div, .prose--article section { max-width: 100%; }
.prose--article [style*="text-align:center"] img, .prose--article .aligncenter { margin-inline: auto; }
.prose--article .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.prose--article .alignright { float: right; margin: .3em 0 1em 1.5em; }
.prose--article iframe, .prose--article video { max-width: 100%; border: 0; border-radius: var(--radius); }
.prose--article hr { margin-block: 2.4em; }

.prose-notice { padding: 20px 24px; background: var(--paper); border-left: 3px solid var(--plum); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); }
.prose-notice > :first-child { margin-top: 0; }
.prose-notice > :last-child { margin-bottom: 0; }
.prose-figure { margin: 2em 0; }
.prose-figure img { width: 100%; }
.prose-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block: 2em; }
.prose-gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper); }
.prose-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; transition: transform .5s var(--ease); }
.prose-gallery a:hover img { transform: scale(1.03); }
.prose-action { margin-top: 2em; }
.prose--article .prose-action a { color: var(--btn-fg, var(--white)); text-decoration: none; }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); -webkit-overflow-scrolling: touch; }
.table-wrap table { min-width: 520px; margin: 0; font-size: .9375rem; line-height: 1.55; }
.table-wrap tr:last-child td { border-bottom: 0; }

.share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; max-width: 720px; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); }
.share span { margin-right: 10px; color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.share a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.share a:hover { background: var(--ink-900); border-color: var(--ink-900); color: var(--white); }
.share .icon { width: 16px; height: 16px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; max-width: 720px; margin-top: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post-nav a { display: block; padding: 24px 0; color: var(--ink); text-decoration: none; }
.post-nav .prev { padding-right: 24px; }
.post-nav .next { grid-column: 2; padding-left: 24px; border-left: 1px solid var(--line); text-align: right; }
.post-nav span { display: block; margin-bottom: 8px; color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.post-nav strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; line-height: 1.45; transition: color .2s var(--ease); }
.post-nav a:hover strong { color: var(--plum); }

.single-aside { position: sticky; top: calc(var(--admin-bar) + var(--nav-h) + 32px); display: grid; gap: 44px; }
.aside-block { padding-top: 18px; border-top: 2px solid var(--ink-900); }
.aside-block__title { margin: 0 0 8px; color: var(--ink); font-size: .75rem; font-weight: 600; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.aside-block ul { margin: 0; padding: 0; list-style: none; }
.aside-block li + li { border-top: 1px solid var(--line); }
.aside-posts li { padding: 16px 0; }
.aside-posts time { display: block; margin-bottom: 6px; color: var(--muted); font-size: .75rem; font-weight: 500; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.aside-posts a { display: block; color: var(--ink); font-size: .9375rem; font-weight: 600; line-height: 1.45; text-decoration: none; }
.aside-posts a:hover { color: var(--plum); }
.aside-cats a { display: flex; align-items: center; gap: 12px; padding: 13px 0; color: var(--ink); font-size: .9375rem; font-weight: 500; line-height: 1.4; text-decoration: none; }
.aside-cats a::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--chip, var(--violet)); }
.aside-cats a:hover { color: var(--plum); }
.aside-cats span { margin-left: auto; color: var(--muted); font-size: .8125rem; font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 999px) {
	.single-layout { grid-template-columns: minmax(0, 1fr); }
	.single-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px 48px; }
}
@media (max-width: 599px) {
	.prose--article { font-size: 1.0625rem; }
	.prose-gallery { grid-template-columns: minmax(0, 1fr); }
	.post-nav { grid-template-columns: minmax(0, 1fr); }
	.post-nav .prev { padding-right: 0; }
	.post-nav .next { grid-column: 1; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); text-align: left; }
	.prose--article .alignleft, .prose--article .alignright { float: none; margin: 1em 0; }
}

/* Listings */
.filters { display: flex; flex-wrap: wrap; gap: 0 32px; margin-bottom: 8px; border-bottom: 1px solid var(--line-strong); }
.filters a { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 14px 0 16px; color: var(--muted); font-size: .9375rem; font-weight: 500; line-height: 1.35; text-decoration: none; transition: color .2s var(--ease); }
.filters a::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--chip, var(--violet)); }
.filters a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink-900); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.filters a:hover { color: var(--ink); }
.filters a:hover::after, .filters a.is-active::after { transform: scaleX(1); }
.filters a.is-active { color: var(--ink); font-weight: 600; }
.filters a.is-all::before { display: none; }
@media (max-width: 1023px) {
	.filters { flex-wrap: nowrap; gap: 0 24px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
	.filters::-webkit-scrollbar { display: none; }
	.filters a { flex: none; white-space: nowrap; }
}

.pagination { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid transparent; border-radius: var(--radius-sm); color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; text-decoration: none; transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.pagination .page-numbers .icon { width: 18px; height: 18px; }
.pagination .page-numbers.current { background: var(--ink-900); border-color: var(--ink-900); color: var(--white); font-weight: 600; }
.pagination a.page-numbers:hover { border-color: var(--line-strong); color: var(--plum); }
.pagination .prev, .pagination .next { border-color: var(--line); }

.empty { padding: 56px 32px; text-align: center; background: var(--paper); border-radius: var(--radius); }
.empty .h-card { margin-bottom: 20px; }
.empty .search-form { max-width: 560px; margin: 28px auto 0; }

/* Facilities */
.facilities { display: grid; gap: 24px; }
.facility { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.facility:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.facility__media { position: relative; min-height: 300px; overflow: hidden; background: var(--paper); }
.facility__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.facility:hover .facility__media img { transform: scale(1.05); }
.facility__icon { position: absolute; left: 20px; bottom: 20px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius); background: var(--white); color: var(--plum); box-shadow: var(--shadow-md); }
.facility__icon .icon { width: 24px; height: 24px; }
.facility__body { align-self: center; padding: clamp(32px, 4.5vw, 64px); }
.facility__num { display: block; margin-bottom: 14px; color: var(--gold); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; }
.facility h2 { margin: 0 0 12px; }
.facility p { max-width: 640px; margin: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.75; }

.databases__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(48px, 7vw, 112px); align-items: center; }
.databases .lead { margin: 22px 0 0; }
.db-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.db-list li { display: flex; align-items: center; gap: 20px; padding: 22px 24px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.db-list li:hover { background: rgba(255, 255, 255, .07); border-color: rgba(211, 198, 90, .4); }
.db-list__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: var(--radius); background: rgba(211, 198, 90, .12); color: var(--gold-300); }
.db-list__icon .icon { width: 22px; height: 22px; }
.db-list strong { display: block; color: var(--white); font-size: 1.125rem; font-weight: 650; letter-spacing: -.01em; }
.db-list small { display: block; margin-top: 2px; color: rgba(255, 255, 255, .62); font-size: .9375rem; line-height: 1.5; }

/* Academic staff: a faculty directory grouped by rank. */
.faculty-group { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px clamp(40px, 5vw, 80px); align-items: start; padding-block: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line-strong); }
.faculty-group:first-child { padding-top: 0; border-top: 0; }
.faculty-group:last-child { padding-bottom: 0; }
.faculty-group__head { position: sticky; top: calc(var(--admin-bar) + var(--nav-h) + 32px); }
.faculty-group__num { display: block; margin-bottom: 18px; font-size: 3.5rem; font-weight: 600; line-height: 1; color: var(--gold); }
.faculty-group__head h2 { margin: 0 0 10px; font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); font-weight: 650; line-height: 1.15; }
.faculty-group__head > div::after { content: ""; display: block; width: 64px; height: 5px; margin-top: 22px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.faculty { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.member {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 36px 22px 22px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-align: center;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.member::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 2px; background: var(--gold-300); transform: scaleX(0); transition: transform .45s var(--ease); }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.member:hover::before { transform: scaleX(1); }
.member__photo { width: 112px; height: 112px; margin-bottom: 22px; overflow: hidden; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 5px var(--white), 0 0 0 6px var(--gold-300); transition: box-shadow .35s var(--ease); }
.member:hover .member__photo { box-shadow: 0 0 0 5px var(--white), 0 0 0 6px var(--plum); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__name { margin: 0 0 8px; font-size: 1.3125rem; font-weight: 600; line-height: 1.25; letter-spacing: -.016em; }
.member__role { margin: 0; color: var(--plum); font-size: .6875rem; font-weight: 600; letter-spacing: .15em; line-height: 1.5; text-transform: uppercase; }
.member__contact { display: grid; gap: 6px; width: 100%; margin: 20px 0 18px; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: .875rem; line-height: 1.45; }
.member__contact li { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; }
.member__contact .icon { flex: none; width: 15px; height: 15px; color: var(--muted); }
.member__contact a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.member__contact a:hover { color: var(--plum); text-decoration: underline; }
.member__profile { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--ink); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.member__profile .icon { width: 14px; height: 14px; color: var(--plum); transition: transform .25s var(--ease); }
.member__profile:hover { color: var(--plum); }
.member__profile:hover .icon { transform: translate(2px, -2px); }
@media (max-width: 899px) {
	.faculty-group { grid-template-columns: 1fr; }
	.faculty-group__head { position: static; display: flex; align-items: center; gap: 20px; }
	.faculty-group__num { margin: 0; font-size: 2.75rem; }
	.faculty-group__head > div::after { display: none; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-panel .h-section { font-size: clamp(1.875rem, 1.45rem + 1.3vw, 2.5rem); }
.contact-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-list .ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius); background: var(--paper); color: var(--plum); }
.contact-list .ic .icon { width: 22px; height: 22px; }
.contact-list strong { display: block; margin-bottom: 4px; color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.contact-list a, .contact-list span { color: var(--ink); font-size: 1.0625rem; font-weight: 500; line-height: 1.55; text-decoration: none; }
.contact-list a:hover { color: var(--plum); }
.contact-social { display: flex; align-items: center; gap: 8px; margin-top: 28px; }
.contact-social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.contact-social a:hover { background: var(--plum); border-color: var(--plum); color: var(--white); }
.contact-social .icon { width: 18px; height: 18px; }

.map-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.map-embed {
	position: relative;
	aspect-ratio: 4 / 3;
	min-height: 340px;
	background:
		radial-gradient(60% 70% at 70% 30%, rgba(117, 11, 119, .45), transparent 70%),
		radial-gradient(50% 60% at 15% 85%, rgba(11, 91, 119, .4), transparent 70%),
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 40px 40px,
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 40px 40px,
		var(--ink-900);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed__load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; width: 100%; padding: 24px; border: 0; background: transparent; color: var(--white); text-align: center; }
.map-embed__load .icon { width: 64px; height: 64px; margin-bottom: 14px; padding: 18px; border-radius: 50%; background: var(--gold-300); color: var(--ink-900); box-shadow: 0 0 0 10px rgba(211, 198, 90, .18), 0 0 0 22px rgba(211, 198, 90, .08); transition: transform .35s var(--ease); }
.map-embed__load:hover .icon { transform: translateY(-4px) scale(1.04); }
.map-embed__load strong { font-size: 1.125rem; font-weight: 650; }
.map-card__body { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; padding: 24px 28px; }
.map-card__body strong { display: block; color: var(--ink); font-weight: 650; }
.map-card__body span { display: block; color: var(--muted); font-size: .9375rem; }
.map-card__body .link-arrow .icon { width: 16px; height: 16px; }

/* Programme pages */
html:has(.subnav) { scroll-padding-top: calc(var(--admin-bar) + var(--nav-h) + 76px); }
.subnav { position: sticky; top: calc(var(--admin-bar) + var(--nav-h)); z-index: 50; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
.subnav__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { position: relative; flex: none; padding: 20px 16px 18px; color: var(--muted); font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: color .2s var(--ease); }
.subnav a:first-child { padding-left: 0; }
.subnav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.subnav a:first-child::after { left: 0; }
.subnav a:hover, .subnav a.is-active { color: var(--ink); }
.subnav a.is-active::after { transform: none; }

.overview { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.overview__main { max-width: 780px; }
.overview__intro { color: var(--ink); font-size: clamp(1.125rem, 1.05rem + .3vw, 1.25rem); font-weight: 500; line-height: 1.65; }
.check-list { display: grid; gap: 14px; margin: 28px 0 32px; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; color: var(--text); line-height: 1.65; }
.check-list .icon { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, var(--white)); color: var(--accent-ink); }
.degree-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; margin: 40px 0 28px; padding: 30px 32px; background: var(--paper); border-radius: var(--radius); border-left: 3px solid var(--accent); }
.degree-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius); background: var(--accent); color: var(--white); }
.degree-card__icon .icon { width: 26px; height: 26px; }
.degree-card__label { margin: 0 0 6px; color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.degree-card__text { margin: 0; color: var(--text); line-height: 1.6; }
.degree-card__text strong { display: block; margin-top: 4px; color: var(--ink); font-size: 1.1875rem; font-weight: 650; line-height: 1.4; letter-spacing: -.01em; }
.pathways { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.pathways li { padding: 7px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: .875rem; font-weight: 500; line-height: 1.4; }
.overview__note { margin: 0; padding-left: 18px; border-left: 2px solid var(--line-strong); color: var(--muted); font-size: .9375rem; line-height: 1.65; }

.key-info { position: sticky; top: calc(var(--admin-bar) + var(--nav-h) + 92px); }
.key-info__card { padding: 30px 30px 28px; background: var(--white); border: 1px solid var(--line-strong); border-top: 3px solid var(--accent-ink, var(--accent)); border-radius: var(--radius-sm); color: var(--text); box-shadow: var(--shadow-sm); }
.key-info dl { margin: 0 0 26px; }
.key-info dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.key-info dl > div:first-child { padding-top: 0; }
.key-info dt { color: var(--muted); font-size: .875rem; }
.key-info dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.btn--block { display: flex; width: 100%; }
.btn--block + .btn--block { margin-top: 10px; }
.key-info .btn:not(.btn--ghost) { --btn-bg: var(--accent-ink, var(--accent)); }
.key-info .btn:not(.btn--ghost):hover { --btn-bg: color-mix(in srgb, var(--accent-ink, var(--accent)) 82%, #000); }
.key-info .btn--ghost { font-size: .9375rem; letter-spacing: 0; text-transform: none; }

.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.highlight { padding: 32px 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.highlight:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.highlight__num { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; color: var(--accent-ink); font-size: .875rem; font-weight: 650; letter-spacing: .12em; }
.highlight__num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.highlight p { margin: 0; color: var(--ink); font-size: 1.03125rem; line-height: 1.6; }
.callout { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 28px; margin-top: 24px; padding: clamp(30px, 4vw, 48px); background: var(--ink-900); border-radius: var(--radius); color: rgba(255, 255, 255, .74); }
.callout::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, color-mix(in srgb, var(--accent) 55%, transparent)); }
.callout__icon { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid rgba(211, 198, 90, .45); border-radius: var(--radius); color: var(--gold-300); }
.callout__icon .icon { width: 28px; height: 28px; }
.callout p { align-self: center; margin: 0; max-width: 820px; font-size: 1.0625rem; line-height: 1.7; }

.detail-rows { border-top: 1px solid var(--line); }
.detail-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 16px clamp(32px, 5vw, 80px); padding: 34px 0; border-bottom: 1px solid var(--line); }
.detail-row__head { display: flex; align-items: center; gap: 18px; }
.detail-row__icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 10%, var(--white)); color: var(--accent-ink); }
.detail-row__icon .icon { width: 24px; height: 24px; }
.detail-row h3 { margin: 0; font-size: 1.25rem; }
.detail-row p { margin: 0; align-self: center; color: var(--text); font-size: 1.0625rem; line-height: 1.75; }

.docs { display: grid; gap: 12px; }
.doc-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.doc-group[open] { border-color: transparent; box-shadow: var(--shadow-md); }
.doc-group summary { display: flex; align-items: center; gap: 16px; padding: 20px 24px; color: var(--ink); cursor: pointer; list-style: none; }
.doc-group summary::-webkit-details-marker { display: none; }
.doc-group summary:hover .doc-group__title { color: var(--accent-ink); }
.doc-group__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--radius); background: var(--paper); color: var(--accent-ink); }
.doc-group__icon .icon { width: 20px; height: 20px; }
.doc-group__title { flex: 1; font-size: 1.0625rem; font-weight: 600; line-height: 1.4; transition: color .2s var(--ease); }
.doc-group__count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 9px; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: .8125rem; font-weight: 600; }
.doc-group__chevron { width: 20px; height: 20px; color: var(--muted); transition: transform .3s var(--ease); }
.doc-group[open] .doc-group__chevron { transform: rotate(180deg); }
.doc-group[open] summary { border-bottom: 1px solid var(--line); }
.doc-group ul { margin: 0; padding: 6px 0; list-style: none; }
.doc-group li + li { border-top: 1px solid var(--line); }
.doc-group li a { display: flex; align-items: center; gap: 14px; padding: 15px 24px 15px 84px; color: var(--text); font-size: .96875rem; line-height: 1.5; text-decoration: none; transition: background-color .2s var(--ease), color .2s var(--ease); }
.doc-group li a > span:first-child { flex: 1; }
.doc-group li a:hover { background: var(--paper); color: var(--ink); }
.doc-link__icon { width: 18px; height: 18px; color: var(--muted); transition: color .2s var(--ease), transform .2s var(--ease); }
.doc-group li a:hover .doc-link__icon { color: var(--accent-ink); transform: translateY(2px); }
.doc-badge { flex: none; padding: 3px 7px; border-radius: 4px; background: var(--deep); color: var(--white); font-size: .6875rem; font-weight: 700; line-height: 1.4; letter-spacing: .06em; }
.doc-badge--pdf { background: var(--plum); }
.doc-badge--doc, .doc-badge--docx { background: var(--teal); }
.doc-badge--xls, .doc-badge--xlsx { background: var(--green); }
.doc-badge--ppt, .doc-badge--pptx { background: var(--gold-700); }

@media (max-width: 1023px) {
	.single-layout, .overview, .contact-grid { grid-template-columns: 1fr; }
	.single-aside, .key-info { position: static; }
	.single-aside { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
	.key-info { max-width: 560px; }
	.highlights { grid-template-columns: repeat(2, 1fr); }
	.facility { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
	.databases__inner { grid-template-columns: 1fr; }
	.detail-row { grid-template-columns: 1fr; }
	.programs--two { grid-template-columns: 1fr; }
}
@media (max-width: 679px) {
	.highlights { grid-template-columns: 1fr; }
	.facility { grid-template-columns: 1fr; }
	.facility__media { min-height: 0; aspect-ratio: 4 / 3; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav .next { grid-column: auto; }
	.page-hero__actions .btn { flex: 1 1 100%; }
	.degree-card, .callout { grid-template-columns: 1fr; }
	.doc-group summary { padding: 16px 18px; gap: 12px; }
	.doc-group__icon { display: none; }
	.doc-group li a { padding: 14px 18px; }
	.search-form { flex-wrap: wrap; }
	.search-form label { flex-basis: 100%; }
	.search-form .btn { flex: 1; }
}

/* 8. Footer ---------------------------------------------------------------- */
.site-footer { background: var(--ink-950); color: rgba(255, 255, 255, .66); font-size: .9375rem; }
.footer-main { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr)); gap: 48px; padding-block: clamp(64px, 7vw, 96px); }
.footer-brand .brand { color: var(--white); margin-bottom: 24px; }
.footer-brand .brand img { box-shadow: 0 0 0 3px rgba(255, 255, 255, .08); }
.footer-brand p { max-width: 340px; margin: 0 0 26px; line-height: 1.7; }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-sm); color: var(--white); transition: background-color .2s, border-color .2s, color .2s; }
.social a:hover { background: var(--gold-300); border-color: var(--gold-300); color: var(--ink-900); }
.social .icon { width: 18px; height: 18px; }
.footer-col h2 { margin: 6px 0 22px; color: var(--white); font-family: var(--font); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li + li { margin-top: 12px; }
.footer-col a { color: rgba(255, 255, 255, .7); text-decoration: none; line-height: 1.5; transition: color .2s; }
.footer-col a:hover { color: var(--gold-300); }
.footer-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; line-height: 1.55; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--gold-300); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding-block: 26px; font-size: .8125rem; color: rgba(255, 255, 255, .5); }
.footer-bottom__inner p { margin: 0; }
.footer-uom { display: flex; align-items: center; gap: 28px; }
.footer-uom img { width: auto; height: 60px; opacity: .8; transition: opacity .2s; }
.footer-uom a:hover img { opacity: 1; }
.to-top { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; background: transparent; color: var(--white); transition: background-color .2s, color .2s, border-color .2s; }
.to-top:hover { background: var(--white); color: var(--ink-900); border-color: var(--white); }
.to-top .icon { width: 18px; height: 18px; }

@media (max-width: 1023px) {
	.footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
	.footer-main { grid-template-columns: 1fr; gap: 40px; }
}

/* 9. Motion & utilities ---------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.js .reveal { opacity: 1; transform: none; }
}

@media print {
	.site-header, .site-footer, .nav-backdrop { display: none !important; }
	.hero, .page-hero { padding-top: 24px; background: none; color: #000; }
}
