/*
 * CEER — main stylesheet
 *
 * Adapted from the approved mockup (ceer-redesign-handoff/index.html) and the
 * tokens in ceer-redesign-handoff/design-spec.md.
 */

/* ---------------------------------------------------------------- Fonts */
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ------------------------------------------------------- Design tokens v2
 *
 * Renovated visual system. The brand tricolour (navy · cyan · red) is kept and
 * extended with richer surface, depth, gradient and motion tokens so the site
 * reads as sophisticated and contemporary while staying institutional.
 */
:root {
	/* Brand */
	--blue: #009fe3;
	--blue-2: #2bb7f0;
	--cyan: #7ad8f5;
	--cyan-soft: #c7ecf9;
	--red: #ee142b;
	--red-2: #ff3a4d;
	--red-dark: #c90f22;

	/* Ink & structure */
	--ink: #0b141c;
	--ink-2: #17252f;
	--navy-900: #04121d;
	--navy-800: #06202e;
	--navy-700: #0a334a;
	--navy-600: #0f4a68;
	--deep: #06314b;
	--muted: #5c6a74;
	--muted-2: #7f8c95;
	--white: #fff;

	/* Surfaces */
	--paper: #f5f3ee;
	--paper-2: #ece8df;
	--surface: #fff;
	--line: #e4e1d9;
	--line-strong: #cfccc3;

	/* Gradients */
	--grad-hero:
		radial-gradient(125% 120% at 80% 6%, rgba(0, 159, 227, .55), rgba(0, 159, 227, 0) 55%),
		radial-gradient(95% 90% at 6% 100%, rgba(238, 20, 43, .30), rgba(238, 20, 43, 0) 58%),
		linear-gradient(152deg, #04121d 0%, #062a3f 50%, #0b4a68 100%);
	--grad-dark: linear-gradient(158deg, #04121d, #062230 68%, #083049);
	--grad-panel: linear-gradient(168deg, #0a2b3e, #061b27);
	--grad-cta: linear-gradient(135deg, #f0182f, #c90f22);
	--grad-line: linear-gradient(90deg, var(--blue), rgba(0, 159, 227, 0));
	--grad-sheen: linear-gradient(100deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 80%);

	/* Depth */
	--shadow-xs: 0 1px 2px rgba(6, 22, 33, .06);
	--shadow-sm: 0 6px 18px -8px rgba(6, 22, 33, .20);
	--shadow-md: 0 24px 48px -24px rgba(6, 22, 33, .40);
	--shadow-lg: 0 48px 90px -48px rgba(6, 22, 33, .60);
	--shadow-blue: 0 24px 54px -24px rgba(0, 159, 227, .55);
	--shadow-red: 0 22px 46px -20px rgba(238, 20, 43, .55);

	/* Radii */
	--r-sm: 8px;
	--r-md: 14px;
	--r-lg: 22px;

	/* Motion */
	--ease-out: cubic-bezier(.22, 1, .36, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);
	--dur-1: .3s;
	--dur-2: .6s;
	--dur-3: 1s;

	/* Layout */
	--content-width: 1440px;
	--gutter: 8vw;
	--font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ------------------------------------------------------------------ Base */
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 108px;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

::selection {
	background: var(--blue);
	color: #fff;
}

h1, h2, h3 {
	margin: 0;
	font-weight: 600;
}

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

a {
	color: inherit;
	text-decoration: none;
}

p {
	margin: 0 0 1em;
}

/* Visible focus on every interactive element. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 2px;
	border-radius: 2px;
}

.hero :focus-visible,
.reports :focus-visible,
.site-footer :focus-visible {
	outline-color: #79cfee;
}

/* Accessibility utilities */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--white);
	clip: auto !important;
	clip-path: none;
	color: var(--deep);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 16px;
	line-height: normal;
	padding: 14px 22px;
	text-decoration: none;
	top: 16px;
	width: auto;
	z-index: 100000;
}

.skip-link:focus {
	position: fixed;
}

/* ----------------------------------------------------------- Shared bits */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 16px 22px;
	background: var(--red);
	color: var(--white);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	border: 1px solid var(--red);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
	background: var(--red-dark);
	border-color: var(--red-dark);
}

.btn-red {
	background: var(--red);
	color: var(--white);
}

.btn-ghost {
	background: transparent;
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.65);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
	background: var(--white);
	color: var(--deep);
	border-color: var(--white);
}

.link {
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	border-bottom: 1px solid currentColor;
	padding-bottom: 5px;
}

.label {
	text-transform: uppercase;
	letter-spacing: 0.17em;
	font-size: 12px;
	font-weight: 800;
	color: var(--blue);
	margin: 0 0 14px;
}

.section-pad {
	padding: 96px var(--gutter);
}

/* --------------------------------------------------------------- Header */
body.nav-open {
	overflow: hidden;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--white);
	border-bottom: 1px solid #eee;
}

.header-inner {
	max-width: var(--content-width);
	margin: 0 auto;
	min-height: 94px;
	padding: 0 6vw;
	display: flex;
	align-items: center;
	gap: 34px;
}

.logo {
	display: block;
	width: 205px;
	margin-right: auto;
}

.logo img {
	width: 100%;
	height: auto;
}

.site-navigation {
	display: flex;
	align-items: center;
	gap: 28px;
}

.primary-menu {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 14px;
	font-weight: 700;
}

.primary-menu a {
	padding: 6px 0;
	border-bottom: 2px solid transparent;
}

.primary-menu a:hover,
.primary-menu a:focus-visible {
	color: var(--blue);
	border-bottom-color: var(--blue);
}

.menu-contact {
	display: none;
}

.nav-toggle {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--line);
	cursor: pointer;
}

.nav-toggle-bar {
	position: absolute;
	left: 11px;
	right: 11px;
	height: 2px;
	background: var(--ink);
	transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.nav-toggle-bar:nth-child(1) { top: 14px; }
.nav-toggle-bar:nth-child(2) { top: 21px; }
.nav-toggle-bar:nth-child(3) { top: 28px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
	top: 21px;
	transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
	top: 21px;
	transform: rotate(-45deg);
}

/* ----------------------------------------------------------------- Hero */
.hero {
	position: relative;
	overflow: hidden;
	min-height: 710px;
	padding: 105px var(--gutter) 75px;
	display: flex;
	align-items: center;
	color: var(--white);
	background: linear-gradient(125deg, #042d49, #07537e 60%, #0081ba);
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.15;
	background-image:
		linear-gradient(#fff 1px, transparent 1px),
		linear-gradient(90deg, #fff 1px, transparent 1px);
	background-size: 72px 72px;
}

.hero::after {
	content: "ER";
	position: absolute;
	right: 5vw;
	bottom: -0.15em;
	font-size: 300px;
	font-weight: 900;
	line-height: 1;
	opacity: 0.05;
}

.hero-inner {
	position: relative;
	z-index: 1;
	max-width: 950px;
}

.eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.17em;
	font-size: 12px;
	font-weight: 800;
	color: #a8def4;
}

.eyebrow::before {
	content: "";
	display: inline-block;
	width: 25px;
	height: 3px;
	background: var(--red);
	margin: 0 12px 3px 0;
}

.hero h1 {
	font-size: clamp(58px, 7vw, 104px);
	line-height: 0.92;
	letter-spacing: -0.06em;
	font-weight: 650;
	text-transform: uppercase;
	margin: 34px 0;
}

.lead {
	font-size: 20px;
	line-height: 1.6;
	color: #dcebf2;
	max-width: 650px;
}

.actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 32px;
	margin-top: 42px;
}

/* ----------------------------------------------------------- Member band */
.member-band {
	background: var(--white);
	padding: 38px 4vw;
	border-bottom: 1px solid var(--line);
}

.member-band-label {
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.17em;
	font-size: 12px;
	font-weight: 800;
	color: #68747b;
	margin: 0 0 24px;
}

.marquee {
	display: flex;
	overflow: hidden;
}

.marquee-track {
	display: flex;
	align-items: center;
	gap: 56px;
	flex-shrink: 0;
	min-width: 100%;
	margin: 0;
	padding: 0 28px;
	list-style: none;
	animation: ceer-marquee var(--marquee-duration, 45s) linear infinite;
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
	animation-play-state: paused;
}

@keyframes ceer-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-100%); }
}

.marquee-item {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

.member-logo {
	max-height: 46px;
	width: auto;
	filter: grayscale(1);
	opacity: 0.7;
	transition: filter 0.3s ease, opacity 0.3s ease;
}

a:hover .member-logo,
a:focus-visible .member-logo,
.member-logo:hover,
.member-logo:focus {
	filter: grayscale(0);
	opacity: 1;
}

/* -------------------------------------------------------------- Metrics */
.metrics-band {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 32px 64px;
	padding-bottom: 56px;
	margin-bottom: 64px;
	border-bottom: 1px solid var(--line);
}

.metrics-heading {
	margin-bottom: 0;
}

.metrics-grid {
	display: flex;
	flex-wrap: nowrap;
	gap: 56px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.metric {
	display: flex;
	flex-direction: column;
	gap: 6px;
	border-top: 3px solid var(--red);
	padding-top: 20px;
	min-width: 0;
}

.metric-value {
	font-size: clamp(48px, 6vw, 84px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.05em;
	color: var(--deep);
}

.metric-label {
	font-size: 15px;
	font-weight: 600;
	color: #536068;
}

.metric-note {
	font-size: 12px;
	color: var(--muted-2);
}

/* ---------------------------------------------------------------- Areas */
.areas {
	padding: 110px var(--gutter);
	background: var(--white);
}

.heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 60px;
	margin-bottom: 60px;
}

.heading > p {
	max-width: 430px;
	color: #68747b;
	line-height: 1.7;
	margin: 0;
}

h2 {
	font-size: clamp(44px, 5vw, 70px);
	line-height: 1;
	letter-spacing: -0.045em;
	font-weight: 500;
}

.area {
	min-height: 145px;
	border-top: 1px solid var(--line);
	display: grid;
	grid-template-columns: 70px 1.1fr 1.3fr 50px;
	align-items: center;
	gap: 25px;
}

.area:last-child {
	border-bottom: 1px solid var(--line);
}

.area-number {
	color: var(--blue);
	font-weight: 800;
}

.area h3 {
	font-size: 29px;
	letter-spacing: -0.025em;
	font-weight: 500;
}

.area p {
	color: var(--muted);
	line-height: 1.6;
	margin: 0;
}

.round {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--ink);
	color: var(--white);
	transition: background-color 0.2s ease;
}

.round:hover,
.round:focus-visible {
	background: var(--blue);
}

/* ----------------------------------------------------- Reports / Cards */
.reports {
	padding: 110px var(--gutter);
	background: #061f31;
	color: var(--white);
}

.reports .label {
	color: #71c9ed;
}

.reports .heading > p {
	color: #9fb6c2;
}

.gateways {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
	margin-bottom: 60px;
}

.gateway {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 34px 30px;
	background: #0b2a3e;
	border: 1px solid #143f57;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.gateway:hover,
.gateway:focus-visible {
	border-color: var(--blue);
}

.gateway-tag {
	text-transform: uppercase;
	letter-spacing: 0.17em;
	font-size: 11px;
	font-weight: 800;
	color: #71c9ed;
}

.gateway-title {
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.gateway-description {
	color: #b8ccd6;
	line-height: 1.6;
}

.gateway-cta {
	margin-top: auto;
	font-size: 14px;
	font-weight: 700;
	color: #79cfee;
}

.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.card {
	padding: 18px 18px 28px;
	background: #0b2a3e;
	display: flex;
	flex-direction: column;
}

.visual {
	position: relative;
	height: 220px;
	overflow: hidden;
	background: linear-gradient(135deg, #e7f6fc, #9bdaf0);
	color: #075278;
}

.visual-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.visual-fallback {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	padding: 24px;
	font-size: clamp(34px, 4vw, 70px);
	font-weight: 250;
	line-height: 1;
}

.meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 20px 0;
	color: #94adbc;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 11px;
}

.card-title {
	font-size: 26px;
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.15;
	margin-bottom: 14px;
}

.card-summary {
	color: #b8ccd6;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	margin-top: auto;
	padding-top: 18px;
}

.card-actions .link {
	color: #79cfee;
}

/* ---------------------------------------------------------------- Forum */
.forum {
	padding: 100px var(--gutter);
	background: #def2f8;
	display: grid;
	grid-template-columns: 1fr 1.6fr 1fr;
	align-items: center;
	gap: 5vw;
}

.forum-logo {
	margin: 0;
	justify-self: center;
	width: 100%;
	max-width: 340px;
	padding: 22px 20px;
	background: var(--grad-panel);
	box-shadow: 0 24px 50px -30px rgba(6, 32, 46, .8);
}

.forum-logo img {
	display: block;
	width: 100%;
	height: auto;
}

.forum p {
	line-height: 1.65;
}

.forum-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
}

/* -------------------------------------------------------------- Members */
.members {
	text-align: center;
	padding: 120px var(--gutter);
	background: var(--white);
}

.members h2 {
	margin: 24px auto;
	max-width: 800px;
}

.members > p:not(.label) {
	max-width: 630px;
	margin: 0 auto 30px;
	line-height: 1.7;
	color: var(--muted);
}

/* --------------------------------------------------------- Member cards */
.member-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px;
	background: var(--white);
	border: 1px solid var(--line);
}

.member-card-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 96px;
	padding: 12px;
}

.member-card .member-logo {
	max-height: 64px;
}

.member-card-name {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.member-card-sector {
	color: var(--blue);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 11px;
	font-weight: 800;
	margin: 0;
}

.member-card-contact {
	list-style: none;
	margin: 0;
	padding: 0;
	color: var(--muted);
	font-size: 15px;
}

.member-card-website a {
	font-weight: 700;
	border-bottom: 1px solid var(--line);
}

/* ------------------------------------------------------ Redes institucionales */
.redes {
	padding: 110px var(--gutter);
	background: var(--paper);
}

.redes-grid {
	list-style: none;
	margin: 48px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	align-items: stretch;
}

.red-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 34px 26px;
	background: var(--white);
	border: 1px solid var(--line);
}

.red-figure {
	display: grid;
	place-items: center;
	flex: 1;
	width: 100%;
	min-height: 132px;
}

.red-figure img {
	max-width: 100%;
	max-height: 132px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.red-name {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--deep);
	text-align: center;
}

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

/* ---------------------------------------------------------------- Footer */
.site-footer {
	padding: 100px var(--gutter) 32px;
	background: #08151e;
	color: var(--white);
}

.footer-main {
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
	align-items: end;
	gap: 4vw;
	padding-bottom: 80px;
}

.footer-brand {
	margin: 0;
	font-weight: 700;
	line-height: 1.35;
}

.site-footer h2 span {
	display: block;
	color: #79cfee;
	font-weight: 350;
}

.footer-mail {
	justify-self: end;
	color: #79cfee;
	border-bottom: 1px solid currentColor;
	padding-bottom: 4px;
}

.footer-bottom {
	border-top: 1px solid #2e3a42;
	padding-top: 24px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	color: #7d909b;
	font-size: 12px;
}

/* ------------------------------------------------------------ Fallback */
.entry {
	max-width: 820px;
	margin: 0 auto 40px;
}

.entry-title {
	font-size: clamp(30px, 4vw, 48px);
	letter-spacing: -0.03em;
	margin-bottom: 18px;
}

/* -------------------------------------------------------------- Tablet */
@media (max-width: 900px) {
	:root {
		--gutter: 6vw;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.btn-contact {
		display: none;
	}

	.menu-contact {
		display: inline-flex;
		margin-top: 28px;
	}

	.site-navigation {
		position: fixed;
		top: 80px;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 40;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 32px 24px 48px;
		background: var(--white);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
	}

	.site-navigation.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.primary-menu {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: 0;
		font-size: 22px;
	}

	.primary-menu li {
		width: 100%;
		border-bottom: 1px solid var(--line);
	}

	.primary-menu a {
		display: block;
		padding: 18px 0;
	}

	.hero {
		min-height: 620px;
	}

	.heading {
		flex-direction: column;
		align-items: flex-start;
		gap: 28px;
	}

	.area {
		min-height: 0;
		padding: 22px 0;
		grid-template-columns: 46px 1fr 46px;
		grid-template-areas:
			"num title round"
			"num desc round";
		align-items: start;
		gap: 10px 20px;
	}

	.area-number { grid-area: num; }
	.area h3 { grid-area: title; }
	.area p { grid-area: desc; }
	.area .round { grid-area: round; align-self: center; }

	.gateways {
		grid-template-columns: 1fr;
	}

	.cards {
		grid-template-columns: 1fr;
	}

	.forum {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.forum-logo {
		max-width: 220px;
	}

	.footer-main {
		grid-template-columns: 1fr;
		gap: 38px;
	}

	.footer-mail {
		justify-self: start;
	}
}

/* -------------------------------------------------------------- Mobile */
@media (max-width: 560px) {
	:root {
		--gutter: 24px;
	}

	.header-inner {
		min-height: 80px;
		padding: 0 22px;
	}

	.logo {
		width: 175px;
	}

	.hero {
		min-height: 0;
		padding: 88px 24px 64px;
	}

	.hero h1 {
		/* Keep each of the three headline lines on a single row. */
		font-size: clamp(34px, 11.6vw, 55px);
	}

	.actions {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.forum-logo {
		max-width: 190px;
	}

	.section-pad,
	.areas,
	.reports,
	.forum,
	.members,
	.redes,
	.site-footer {
		padding-left: 24px;
		padding-right: 24px;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 10px;
	}
}

/* ------------------------------------------------------ Reduced motion */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.marquee {
		flex-wrap: wrap;
		justify-content: center;
		gap: 28px;
	}

	.marquee-track {
		animation: none;
		min-width: 0;
		flex-wrap: wrap;
		justify-content: center;
		gap: 28px;
		padding: 0;
	}

	.marquee-track[aria-hidden="true"] {
		display: none;
	}
}

/* ------------------------------------------------------ Archives & filters */
/*
 * Scoped to the main landmark on purpose: WordPress adds the `archive` class
 * to <body> on archive views, so a bare `.archive` selector also boxes the
 * whole page (header included) inside the content width.
 */
.site-main .archive {
	max-width: var(--content-width);
	margin: 0 auto;
}

.archive-header {
	max-width: 760px;
	margin-bottom: 44px;
}

.archive-title {
	font-size: clamp(44px, 5vw, 70px);
	line-height: 1;
	letter-spacing: -0.045em;
	font-weight: 500;
	margin: 0 0 18px;
}

.archive-lead {
	color: var(--muted);
	line-height: 1.7;
	max-width: 620px;
	margin: 0;
}

.filter-bar {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 24px;
	margin-bottom: 28px;
	background: var(--white);
	border: 1px solid var(--line);
}

.filter-search {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 16px;
}

.filter-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1 1 260px;
}

.filter-label {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 11px;
	font-weight: 800;
	color: var(--muted);
}

.filter-input {
	width: 100%;
	padding: 14px 16px;
	font: inherit;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid var(--line);
}

.filter-submit {
	flex: 0 0 auto;
}

.filter-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	font-size: 13px;
	font-weight: 700;
	color: var(--deep);
	background: var(--paper);
	border: 1px solid var(--line);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chip:hover,
.chip:focus-visible {
	color: var(--blue);
	border-color: var(--blue);
}

.chip.is-active {
	color: var(--white);
	background: var(--deep);
	border-color: var(--deep);
}

.chip-count {
	font-weight: 400;
	opacity: 0.7;
}

.filter-count {
	font-size: 14px;
	font-weight: 700;
	color: var(--muted);
	margin: 0 0 24px;
}

.archive-grid {
	display: grid;
	gap: 22px;
}

.archive-grid--members {
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.archive-grid--publications {
	grid-template-columns: repeat(3, 1fr);
}

/* The publication card is authored for the dark homepage section; keep it
   readable on the light archive background. */
.archive-grid--publications .card {
	background: var(--white);
	border: 1px solid var(--line);
}

.archive-grid--publications .card-summary {
	color: var(--muted);
}

.archive-grid--publications .meta {
	color: var(--muted-2);
}

.archive-grid--publications .card-actions .link {
	color: var(--deep);
}

.archive-grid--publications .card-actions .link:hover,
.archive-grid--publications .card-actions .link:focus-visible {
	color: var(--blue);
}

.member-card-logo-link {
	display: inline-flex;
}

.member-card-name a {
	border-bottom: 2px solid transparent;
}

.member-card-name a:hover,
.member-card-name a:focus-visible {
	color: var(--blue);
	border-bottom-color: var(--blue);
}

.archive-empty {
	padding: 64px 24px;
	text-align: center;
	background: var(--white);
	border: 1px dashed var(--line);
}

.archive-empty-title {
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 8px;
}

.archive-results[aria-busy="true"] {
	opacity: 0.55;
}

/* Pagination */
.pagination {
	margin-top: 44px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	font-size: 14px;
	font-weight: 700;
	background: var(--white);
	border: 1px solid var(--line);
}

.pagination .page-numbers.current {
	color: var(--white);
	background: var(--deep);
	border-color: var(--deep);
}

.pagination .page-numbers.dots {
	background: transparent;
	border-color: transparent;
}

/* --------------------------------------------------------- Single layouts */
.single-member,
.single-publication {
	max-width: 1000px;
	margin: 0 auto;
}

.back-link {
	margin: 0 0 32px;
	font-size: 14px;
	font-weight: 700;
}

.back-link a {
	border-bottom: 1px solid currentColor;
	padding-bottom: 4px;
}

.back-link a:hover,
.back-link a:focus-visible {
	color: var(--blue);
}

.single-header {
	display: grid;
	gap: 32px;
	margin-bottom: 40px;
}

.single-header--publication {
	grid-template-columns: 1.4fr 1fr;
	align-items: start;
}

.single-heading {
	max-width: 760px;
}

.single-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 340px;
	padding: 24px;
	background: var(--white);
	border: 1px solid var(--line);
}

.single-logo .member-logo {
	max-height: 96px;
}

.single-title {
	font-size: clamp(34px, 4.4vw, 60px);
	line-height: 1.05;
	letter-spacing: -0.04em;
	font-weight: 500;
	margin: 0 0 18px;
}

.single-terms {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.single-meta {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: grid;
	gap: 12px;
}

.single-meta-item {
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
}

.single-meta-label {
	display: inline-block;
	min-width: 120px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 11px;
	font-weight: 800;
	color: var(--muted);
}

.single-meta-value a {
	font-weight: 700;
	border-bottom: 1px solid var(--line);
}

.single-meta-value a:hover,
.single-meta-value a:focus-visible {
	color: var(--blue);
}

.single-description,
.single-summary {
	font-size: 19px;
	line-height: 1.7;
	color: #3c474e;
}

.single-author {
	color: var(--muted);
	font-weight: 700;
}

.single-cover img {
	width: 100%;
	height: auto;
	border: 1px solid var(--line);
}

.single-content {
	max-width: 820px;
}

.single-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	margin-top: 40px;
}

@media (max-width: 900px) {
	.archive-grid--publications {
		grid-template-columns: repeat(2, 1fr);
	}

	.single-header--publication {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.archive-grid--publications {
		grid-template-columns: 1fr;
	}

	.single-meta-label {
		display: block;
		margin-bottom: 4px;
	}
}

/* ---------------------------------------------------- Publication reading */
/* Keep the report treatment local, including buttons authored in WordPress. */
.single-publication {
	box-sizing: border-box;
	width: 100%;
	max-width: 1120px;
	padding: 56px clamp(24px, 4vw, 64px) 80px;
}

.single-publication .back-link {
	margin-bottom: 28px;
}

.single-publication .single-header--publication {
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
	margin-bottom: 28px;
}

.single-publication .single-cover {
	padding: clamp(12px, 2vw, 24px);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-md);
}

.single-publication .single-cover img {
	width: 100%;
	max-height: 560px;
	object-fit: contain;
	border: 0;
	border-radius: var(--r-sm);
}

.single-publication .single-heading,
.single-publication .single-content,
.single-publication .single-actions {
	width: 100%;
	min-width: 0;
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

.single-publication .single-heading {
	padding-top: 20px;
	border-top: 2px solid var(--blue);
}

.single-publication .meta {
	color: var(--navy-600);
	margin-bottom: 12px;
}

.single-publication .single-heading > :last-child {
	margin-bottom: 0;
}

.single-publication .single-content {
	overflow-wrap: anywhere;
}

.single-publication .single-actions {
	gap: 12px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.single-publication .publication-action,
.single-publication .single-content a.btn,
.single-publication .single-content .wp-block-button__link,
.single-publication .single-content .wp-block-file__button {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 48px;
	max-width: 100%;
	padding: 16px 24px;
	border: 1px solid var(--navy-700);
	border-radius: var(--r-sm);
	background: var(--navy-700);
	color: var(--white);
	box-shadow: var(--shadow-sm);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	white-space: normal;
}

.single-publication .publication-action--secondary {
	background: var(--white);
	color: var(--navy-700);
	box-shadow: none;
}

.single-publication .publication-action:hover,
.single-publication .publication-action:focus-visible,
.single-publication .single-content a.btn:hover,
.single-publication .single-content a.btn:focus-visible,
.single-publication .single-content .wp-block-button__link:hover,
.single-publication .single-content .wp-block-button__link:focus-visible,
.single-publication .single-content .wp-block-file__button:hover,
.single-publication .single-content .wp-block-file__button:focus-visible {
	background: var(--navy-900);
	border-color: var(--navy-900);
	color: var(--white);
}

@media (max-width: 560px) {
	.single-publication {
		padding-top: 32px;
		padding-bottom: 48px;
	}

	.single-publication .single-header--publication {
		gap: 24px;
	}

	.single-publication .single-actions > a {
		width: 100%;
	}
}

/* ---------------------------------------------------- Institutional pages */
.page-entry {
	max-width: var(--content-width);
	margin: 0 auto;
}

.page-hero {
	max-width: 820px;
	margin-bottom: 44px;
}

.page-title {
	font-size: clamp(44px, 5vw, 70px);
	line-height: 1;
	letter-spacing: -0.045em;
	font-weight: 500;
	margin: 0 0 18px;
}

.page-lead {
	font-size: 20px;
	line-height: 1.65;
	color: var(--muted);
	max-width: 650px;
	margin: 0;
}

.page-content {
	max-width: 820px;
}

/* Readable typography for the imported institutional content. */
.page-content h2,
.single-content h2 {
	font-size: clamp(30px, 3.4vw, 44px);
	line-height: 1.1;
	letter-spacing: -0.03em;
	margin: 1.4em 0 0.5em;
}

.page-content h3,
.single-content h3 {
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 600;
	letter-spacing: -0.02em;
	margin: 1.3em 0 0.4em;
}

.page-content p,
.single-content p {
	margin: 0 0 1.1em;
}

.page-content ul,
.page-content ol,
.single-content ul,
.single-content ol {
	margin: 0 0 1.2em;
	padding-left: 1.4em;
}

.page-content li,
.single-content li {
	margin-bottom: 0.5em;
}

.page-content a,
.single-content a {
	color: var(--deep);
	font-weight: 600;
	border-bottom: 1px solid var(--blue);
}

.page-content a:hover,
.page-content a:focus-visible,
.single-content a:hover,
.single-content a:focus-visible {
	color: var(--blue);
}

.page-content strong,
.single-content strong {
	font-weight: 700;
}

.page-content img,
.single-content img {
	height: auto;
	border: 1px solid var(--line);
}

/* ------------------------------------------------------------- News cards */
.archive-grid--news {
	grid-template-columns: repeat(3, 1fr);
}

/* The card is authored for the dark homepage section; keep it readable on
   the light news listing background and on the home news strip. */
:is(.archive-grid--news, .news-strip) .card {
	background: var(--white);
	border: 1px solid var(--line);
}

:is(.archive-grid--news, .news-strip) .card-summary {
	color: var(--muted);
}

:is(.archive-grid--news, .news-strip) .meta {
	color: var(--muted-2);
}

.news-card-title {
	margin-bottom: 14px;
}

.news-card-title a {
	border-bottom: 2px solid transparent;
}

.news-card-title a:hover,
.news-card-title a:focus-visible {
	color: var(--blue);
	border-bottom-color: var(--blue);
}

:is(.archive-grid--news, .news-strip) .card-actions .link {
	color: var(--deep);
}

:is(.archive-grid--news, .news-strip) .card-actions .link:hover,
:is(.archive-grid--news, .news-strip) .card-actions .link:focus-visible {
	color: var(--blue);
}

/* --------------------------------------------------- Home news carousel */
.news-strip {
	padding: 96px var(--gutter);
	background: var(--paper);
}

.news-strip .heading {
	margin-bottom: 40px;
}

.news-strip-actions {
	display: flex;
	align-items: center;
	gap: 28px;
}

/* Hidden until the script marks the strip as enhanced, so a no-JS visitor
   never sees buttons that cannot work. */
.carousel-controls {
	display: none;
	gap: 8px;
}

.news-strip[data-news-enhanced] .carousel-controls {
	display: flex;
}

.carousel-btn {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid var(--line-strong);
	background: var(--white);
	color: var(--ink);
	display: grid;
	place-items: center;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.carousel-btn:hover:not(:disabled),
.carousel-btn:focus-visible:not(:disabled) {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
}

.carousel-btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.news-carousel {
	position: relative;
}

.news-carousel-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 44px) / 3);
	gap: 22px;
	margin: 0;
	padding: 0 0 10px;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-left: 0;
	scrollbar-width: thin;
	scrollbar-color: var(--line-strong) transparent;
}

.news-carousel-track:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 6px;
}

.news-carousel-item {
	scroll-snap-align: start;
	min-width: 0;
	display: flex;
}

.news-carousel-item .card {
	height: 100%;
	width: 100%;
}

/* Without the arrow enhancement the track still scrolls; the buttons are
   inert only when there is nothing to scroll. */
.news-strip[data-news-static] .carousel-controls {
	display: none;
}

@media (max-width: 900px) {
	.news-strip {
		padding: 72px var(--gutter);
	}

	.news-strip-actions {
		width: 100%;
		justify-content: space-between;
	}

	.news-carousel-track {
		grid-auto-columns: calc((100% - 22px) / 2);
	}
}

@media (max-width: 560px) {
	.news-strip-actions {
		gap: 18px;
	}

	.news-carousel-track {
		grid-auto-columns: 86%;
	}
}

/* ----------------------------------------------------------- Single news */
.single-news {
	max-width: 1000px;
	margin: 0 auto;
}

.meta--single {
	justify-content: flex-start;
	gap: 20px;
	color: var(--muted-2);
}

.single-featured {
	margin: 0 0 36px;
}

.single-featured-img {
	width: 100%;
	height: auto;
	border: 1px solid var(--line);
}

/* ---------------------------------------------------------- Contact form */
.contact-form {
	max-width: 680px;
	margin: 0 auto;
	padding: 40px;
	background: var(--white);
	border: 1px solid var(--line);
}

.contact-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 22px;
}

.contact-label {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 11px;
	font-weight: 800;
	color: var(--muted);
}

.contact-required {
	color: var(--red);
}

.contact-input {
	width: 100%;
	padding: 14px 16px;
	font: inherit;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid var(--line);
}

.contact-input:focus-visible {
	background: var(--white);
}

.contact-textarea {
	min-height: 160px;
	resize: vertical;
}

.contact-input[aria-invalid="true"] {
	border-color: var(--red);
}

.contact-error {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--red);
}

.contact-feedback {
	padding: 14px 18px;
	margin: 0 0 24px;
	font-weight: 600;
	border: 1px solid var(--line);
}

.contact-feedback--success {
	color: #0b5a3a;
	background: #e6f5ee;
	border-color: #9fd8bf;
}

.contact-feedback--error {
	color: var(--red-dark);
	background: #fdecee;
	border-color: #f2b6bd;
}

.contact-actions {
	margin: 0;
}

.contact-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ------------------------------------------------------- Contact page */
.contact-page {
	padding: 96px var(--gutter) 0;
	background: var(--paper);
}

.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 72px;
	align-items: start;
}

.contact-info-title,
.contact-panel-title {
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.05;
	letter-spacing: -0.03em;
	font-weight: 500;
	margin: 0 0 26px;
}

.contact-text {
	color: var(--muted);
	line-height: 1.75;
	margin-bottom: 32px;
}

.contact-text p:last-child {
	margin-bottom: 0;
}

.contact-details {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 0 0 34px;
}

.contact-detail {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
}

.contact-detail dt {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted-2);
	padding-top: 3px;
}

.contact-detail dd {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--deep);
	font-weight: 600;
}

.contact-detail dd a {
	border-bottom: 1px solid var(--line-strong);
	transition: color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}

.contact-detail dd a:hover,
.contact-detail dd a:focus-visible {
	color: var(--blue);
	border-bottom-color: var(--blue);
}

.contact-page .btn-outline {
	background: transparent;
	color: var(--deep);
	border: 1px solid var(--deep);
	box-shadow: none;
}

.contact-page .btn-outline::after {
	content: none;
}

.contact-page .btn-outline:hover,
.contact-page .btn-outline:focus-visible {
	background: var(--deep);
	border-color: var(--deep);
	color: var(--white);
	box-shadow: none;
}

.contact-panel {
	padding: 44px;
	background: var(--white);
	border: 1px solid var(--line);
}

.contact-panel .contact-form {
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
}

.contact-map {
	position: relative;
	margin-top: 88px;
	border-top: 1px solid var(--line);
}

.contact-map iframe {
	display: block;
	width: 100%;
	height: clamp(300px, 40vw, 440px);
	border: 0;
	background: var(--paper-2);
	filter: grayscale(0.25) contrast(1.02);
}

.contact-map-caption {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin: 0;
	padding: 18px 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	border-bottom: 1px solid var(--line);
}

.contact-map-caption a {
	color: var(--deep);
	border-bottom: 1px solid var(--blue);
	padding-bottom: 2px;
}

.contact-map-caption a:hover,
.contact-map-caption a:focus-visible {
	color: var(--blue);
}

@media (max-width: 900px) {
	.contact-layout {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.contact-page {
		padding-top: 64px;
	}

	.contact-map {
		margin-top: 64px;
	}
}

@media (max-width: 560px) {
	.contact-panel {
		padding: 26px 20px;
	}

	.contact-detail {
		grid-template-columns: 1fr;
		gap: 6px;
	}
}

@media (max-width: 900px) {
	.archive-grid--news {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.archive-grid--news {
		grid-template-columns: 1fr;
	}

	.contact-form {
		padding: 24px;
	}

	.meta--single {
		flex-direction: column;
		gap: 6px;
	}
}

/* ----------------------------------------------------------- Footer nav */
.footer-nav {
	padding-bottom: 56px;
}

.footer-nav-groups {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-nav-title {
	display: block;
	margin-bottom: 16px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 11px;
	font-weight: 800;
	color: #79cfee;
}

.footer-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-nav-item a {
	color: #b8ccd6;
	font-size: 14px;
	border-bottom: 1px solid transparent;
}

.footer-nav-item a:hover,
.footer-nav-item a:focus-visible {
	color: var(--white);
	border-bottom-color: currentColor;
}

/* --------------------------------------------------------- Site access */
.site-access {
	background: var(--paper);
	border-top: 1px solid var(--line);
}

.site-access-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

.site-access-group {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 28px 26px;
	background: var(--white);
	border: 1px solid var(--line);
}

.site-access-group h3 {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-weight: 800;
	color: var(--deep);
}

.site-access-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.site-access-list a {
	font-size: 16px;
	font-weight: 600;
	border-bottom: 2px solid transparent;
}

.site-access-list a:hover,
.site-access-list a:focus-visible {
	color: var(--blue);
	border-bottom-color: var(--blue);
}

@media (max-width: 900px) {
	.footer-nav-groups {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px;
	}

	.site-access-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.footer-nav-groups {
		grid-template-columns: 1fr;
	}

	.site-access-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------------------------------------------------------- Event cards */
.archive-grid--events {
	grid-template-columns: repeat(3, 1fr);
}

/* The card is authored for the dark homepage section; keep it readable on
   the light events listing background. */
.archive-grid--events .card {
	background: var(--white);
	border: 1px solid var(--line);
}

.archive-grid--events .card-summary {
	color: var(--muted);
}

.archive-grid--events .meta {
	color: var(--muted-2);
}

.event-when {
	justify-content: flex-start;
	gap: 12px;
	color: var(--muted-2);
}

.event-card-title a {
	border-bottom: 2px solid transparent;
}

.event-card-title a:hover,
.event-card-title a:focus-visible {
	color: var(--blue);
	border-bottom-color: var(--blue);
}

.event-venue {
	margin: 4px 0 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--deep);
}

.event-venue-address {
	display: block;
	font-weight: 400;
	color: var(--muted);
}

.archive-grid--events .card-actions .link {
	color: var(--deep);
}

.archive-grid--events .card-actions .link:hover,
.archive-grid--events .card-actions .link:focus-visible {
	color: var(--blue);
}

/* --------------------------------------------------------- Single event */
.single-event {
	max-width: 1000px;
	margin: 0 auto;
}

.event-facts {
	list-style: none;
	margin: 40px 0 0;
	padding: 0;
	display: grid;
	gap: 12px;
	max-width: 820px;
}

.event-fact {
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
}

.event-fact-label {
	display: inline-block;
	min-width: 120px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 11px;
	font-weight: 800;
	color: var(--muted);
	vertical-align: top;
}

.event-fact-value {
	font-weight: 700;
	color: var(--deep);
}

.event-fact-value a {
	font-weight: 700;
	border-bottom: 1px solid var(--line);
}

.event-fact-value a:hover,
.event-fact-value a:focus-visible {
	color: var(--blue);
}

@media (max-width: 900px) {
	.archive-grid--events {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.archive-grid--events {
		grid-template-columns: 1fr;
	}

	.event-fact-label {
		display: block;
		margin-bottom: 4px;
	}
}

/* ==================================================================
 * DESIGN SYSTEM v2 — renovation layer
 *
 * Layered on top of the base components: refined depth, gradients,
 * micro-interactions and scroll-driven motion. All motion is neutralised
 * under `prefers-reduced-motion`.
 * ================================================================== */

/* ------------------------------------------------------- Custom scrollbar */
@supports (scrollbar-color: red blue) {
	html {
		scrollbar-width: thin;
		scrollbar-color: var(--line-strong) transparent;
	}
}

::-webkit-scrollbar {
	width: 12px;
	height: 12px;
}

::-webkit-scrollbar-thumb {
	background: var(--line-strong);
	border: 3px solid var(--paper);
	border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--muted-2);
}

/* ---------------------------------------------------------- Scroll progress */
.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 300;
	transform: scaleX(0);
	transform-origin: 0 50%;
	background: linear-gradient(90deg, var(--blue), var(--cyan) 55%, var(--red));
	box-shadow: 0 0 18px rgba(0, 159, 227, .5);
	pointer-events: none;
}

/* ------------------------------------------------------------- Reveal lab */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity var(--dur-2) var(--ease-out),
		transform var(--dur-2) var(--ease-out);
	transition-delay: var(--d, 0ms);
	will-change: opacity, transform;
}

.js [data-reveal="left"] {
	transform: translateX(-34px);
}

.js [data-reveal="right"] {
	transform: translateX(34px);
}

.js [data-reveal="scale"] {
	transform: scale(.94);
}

.js [data-reveal="fade"] {
	transform: none;
}

.js [data-reveal].is-in {
	opacity: 1;
	transform: none;
}

/* --------------------------------------------------------------- Header v2 */
.site-header {
	transition:
		background-color var(--dur-1) var(--ease-out),
		box-shadow var(--dur-1) var(--ease-out),
		border-color var(--dur-1) var(--ease-out),
		backdrop-filter var(--dur-1) var(--ease-out);
}

.site-header.is-scrolled {
	background: rgba(255, 255, 255, .82);
	-webkit-backdrop-filter: blur(16px) saturate(1.5);
	backdrop-filter: blur(16px) saturate(1.5);
	border-bottom-color: transparent;
	box-shadow: 0 18px 40px -26px rgba(6, 22, 33, .55);
}

.header-inner {
	transition: min-height var(--dur-1) var(--ease-out);
}

.site-header.is-scrolled .header-inner {
	min-height: 74px;
}

/* ------------------------------------------------------------ Brand lockup */
.brand {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	margin-right: auto;
}

.brand-logo {
	display: block;
	width: auto;
	height: 62px;
	transition: height var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out);
}

.site-header.is-scrolled .brand-logo {
	height: 50px;
}

.brand:hover .brand-logo {
	transform: translateY(-1px);
}

.brand-tag {
	margin-top: 0;
	width: 100%;
	font-size: 9.2px;
	font-weight: 600;
	line-height: 1.25;
	text-transform: uppercase;
	letter-spacing: .14em;
	/* compensa el espaciado que queda después de la última letra */
	margin-right: -.14em;
	text-align: center;
	color: var(--muted-2);
	white-space: nowrap;
}

/* Social icons next to the header contact button. */
.header-socials {
	display: flex;
	align-items: center;
	gap: 10px;
	list-style: none;
	margin: 0 0 0 -12px;
	padding: 0;
}

.header-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	color: var(--muted);
	transition: color var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out);
}

.header-socials a:hover,
.header-socials a:focus-visible {
	color: var(--red);
	background: rgba(6, 22, 33, .05);
}

.header-socials .social-icon {
	display: block;
	width: 17px;
	height: 17px;
}

/* Animated underline on the primary menu. */
.primary-menu a {
	position: relative;
	border-bottom: none;
}

.primary-menu a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 2px;
	background: var(--blue);
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform var(--dur-1) var(--ease-out);
}

.primary-menu a:hover,
.primary-menu a:focus-visible {
	color: var(--ink);
	border-bottom-color: transparent;
}

.primary-menu a:hover::after,
.primary-menu a:focus-visible::after,
.primary-menu .current-menu-item > a::after {
	transform: scaleX(1);
}

/* --------------------------------------------------------------- Submenus */
.primary-menu > .menu-item-has-children {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
}

.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% + 14px);
	left: -18px;
	z-index: 50;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	min-width: 270px;
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: 0 18px 40px rgba(8, 24, 36, .12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out), visibility var(--dur-1);
}

.primary-menu .menu-item-has-children:hover > .sub-menu,
.primary-menu .menu-item-has-children:focus-within > .sub-menu,
.primary-menu .menu-item-has-children.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.primary-menu .sub-menu li {
	width: 100%;
}

.primary-menu .sub-menu a {
	display: block;
	padding: 10px 22px;
	font-size: 14px;
	font-weight: 600;
}

.primary-menu .sub-menu a::after {
	content: none;
}

.submenu-toggle {
	display: none;
	width: 22px;
	height: 22px;
	padding: 0;
	border: 0;
	background: transparent;
	color: currentColor;
	cursor: pointer;
}

.submenu-toggle::before {
	content: "";
	display: block;
	width: 7px;
	height: 7px;
	margin: 0 auto;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform var(--dur-1) var(--ease-out);
}

.menu-item-has-children.is-open > .submenu-toggle::before {
	transform: rotate(225deg) translateY(-2px);
}

/* Collapsible submenus inside the mobile panel. Declared after the dropdown
   rules above so the static layout wins at this breakpoint. */
@media (max-width: 900px) {
	.primary-menu > .menu-item-has-children {
		flex-wrap: wrap;
	}

	.primary-menu > .menu-item-has-children > a {
		flex: 1;
	}

	.submenu-toggle {
		display: block;
	}

	.primary-menu .sub-menu,
	.primary-menu .menu-item-has-children:hover > .sub-menu,
	.primary-menu .menu-item-has-children:focus-within > .sub-menu {
		position: static;
		order: 3;
		flex-basis: 100%;
		min-width: 0;
		max-height: 0;
		padding: 0 0 0 16px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		overflow: hidden;
		transition: max-height var(--dur-1) var(--ease-out), padding var(--dur-1) var(--ease-out);
	}

	.primary-menu .menu-item-has-children.is-open > .sub-menu {
		max-height: 320px;
		padding-bottom: 12px;
	}

	/* Without JavaScript the submenu stays expanded so its links stay reachable. */
	html:not(.js) .primary-menu .sub-menu {
		max-height: none;
		padding-bottom: 12px;
	}

	.primary-menu .sub-menu a {
		padding: 12px 0;
		font-size: 17px;
	}
}

/* ------------------------------------------------------------------ Hero v2 */
.hero {
	min-height: 760px;
	background: var(--grad-hero);
	isolation: isolate;
}

.hero::before,
.hero::after {
	content: none;
}

.hero-bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: -1;
}

.hero-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(64px);
	will-change: transform;
}

.hero-orb--blue {
	width: 560px;
	height: 560px;
	top: -180px;
	right: -60px;
	background: radial-gradient(circle, rgba(0, 159, 227, .85), rgba(0, 159, 227, 0) 70%);
}

.hero-orb--red {
	width: 460px;
	height: 460px;
	left: -140px;
	bottom: -200px;
	opacity: .4;
	background: radial-gradient(circle, rgba(238, 20, 43, .8), rgba(238, 20, 43, 0) 70%);
}

.hero-monogram {
	position: absolute;
	right: 4vw;
	bottom: 1rem;
	font-size: clamp(96px, 15vw, 220px);
	font-weight: 800;
	line-height: .8;
	letter-spacing: .02em;
	color: #fff;
	opacity: .06;
	will-change: transform;
}

.hero-scroll {
	position: absolute;
	left: var(--gutter);
	bottom: 34px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .72);
	transition: color var(--dur-1) var(--ease-out);
}

.hero-scroll:hover,
.hero-scroll:focus-visible {
	color: #fff;
}

.hero-scroll-arrow {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	animation: ceer-bob 1.8s var(--ease-in-out) infinite;
}

@keyframes ceer-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(5px); }
}

/* Hero entrance choreography (load, not scroll). */
.js .hero-inner > * {
	opacity: 0;
	transform: translateY(22px);
	animation: ceer-hero-in .9s var(--ease-out) both;
}

.js .hero-inner > *:nth-child(1) { animation-delay: .05s; }
.js .hero-inner > *:nth-child(2) { animation-delay: .15s; }
.js .hero-inner > *:nth-child(3) { animation-delay: .28s; }
.js .hero-inner > *:nth-child(4) { animation-delay: .40s; }

@keyframes ceer-hero-in {
	to {
		opacity: 1;
		transform: none;
	}
}

/* Bottom fade so the hero melts into the logo band. */
.hero-veil {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 140px;
	z-index: 1;
	background: linear-gradient(180deg, rgba(8, 24, 36, 0), rgba(8, 24, 36, .35));
	pointer-events: none;
}

/* --------------------------------------------------------------- Buttons v2 */
.btn {
	border: 0;
	border-radius: var(--r-sm);
	background: var(--grad-cta);
	box-shadow: var(--shadow-red);
	position: relative;
	overflow: hidden;
	transition:
		transform var(--dur-1) var(--ease-out),
		box-shadow var(--dur-1) var(--ease-out),
		background-color var(--dur-1) var(--ease-out),
		color var(--dur-1) var(--ease-out);
}

.btn > span[aria-hidden] {
	transition: transform var(--dur-1) var(--ease-out);
}

.btn:hover,
.btn:focus-visible {
	background: var(--grad-cta);
	border-color: transparent;
	transform: translateY(-2px);
	box-shadow: 0 30px 56px -22px rgba(238, 20, 43, .7);
}

.btn:hover > span[aria-hidden],
.btn:focus-visible > span[aria-hidden] {
	transform: translate(3px, -3px);
}

.btn::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--grad-sheen);
	transform: translateX(-130%);
	transition: transform .7s var(--ease-out);
}

.btn:hover::after,
.btn:focus-visible::after {
	transform: translateX(130%);
}

.btn-ghost {
	background: rgba(255, 255, 255, .05);
	box-shadow: none;
	border: 1px solid rgba(255, 255, 255, .5);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
	background: #fff;
	color: var(--deep);
	box-shadow: 0 24px 50px -26px rgba(0, 0, 0, .6);
	transform: translateY(-2px);
}

/* ----------------------------------------------------------------- Labels */
.label,
.eyebrow {
	position: relative;
}

.label::before,
.eyebrow::before {
	border-radius: 2px;
}

/* --------------------------------------------------------- Member band v2 */
.member-band {
	position: relative;
	padding: 44px 4vw;
	background: var(--surface);
}

.member-logo {
	filter: grayscale(1) contrast(.9);
	opacity: .68;
	transition: filter var(--dur-2) var(--ease-out), opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}

/* Cap the widest wordmarks so every logo reads at a medium, even size. */
.marquee-item .member-logo {
	max-width: 190px;
}

a:hover .member-logo,
a:focus-visible .member-logo {
	filter: grayscale(0) contrast(1);
	opacity: 1;
	transform: scale(1.06);
}

/* Fade the marquee edges. */
.marquee {
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

/* --------------------------------------------------------------- Metrics v2 */
.metrics-band .metric-value {
	font-size: clamp(40px, 4.2vw, 62px);
}

.metric {
	border-top: 0;
	padding: 8px 0 8px 24px;
	position: relative;
}

.metric::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	bottom: 10px;
	width: 3px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--blue), rgba(0, 159, 227, .05));
}

.metric-value {
	font-weight: 700;
	background: linear-gradient(150deg, var(--navy-700), var(--blue-2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ---------------------------------------------------------------- Areas v2 */
.areas {
	background: var(--surface);
}

.area {
	position: relative;
	transition: background-color var(--dur-1) var(--ease-out), padding-left var(--dur-1) var(--ease-out);
}

.area::before {
	content: "";
	position: absolute;
	left: 0;
	top: -1px;
	width: 0;
	height: calc(100% + 2px);
	border-top: 2px solid var(--blue);
	transition: width var(--dur-2) var(--ease-out);
}

.area:hover {
	background: linear-gradient(90deg, rgba(0, 159, 227, .05), transparent 60%);
	padding-left: 24px;
}

.area:hover::before {
	width: 100%;
}

.area-number {
	font-size: 15px;
	letter-spacing: .06em;
}

.round {
	box-shadow: var(--shadow-sm);
}

.round:hover,
.round:focus-visible {
	background: var(--blue);
	box-shadow: var(--shadow-blue);
	transform: translateY(-2px);
}

/* ------------------------------------------------------------ Knowledge v2 */
.reports {
	background: var(--grad-dark);
	position: relative;
	overflow: hidden;
}

.reports::before {
	content: "";
	position: absolute;
	top: -30%;
	right: -10%;
	width: 620px;
	height: 620px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 159, 227, .28), transparent 70%);
	filter: blur(20px);
	pointer-events: none;
}

.reports .heading-title {
	--reports-title-size: clamp(44px, 5vw, 70px);
	display: flex;
	align-items: flex-end;
	gap: 32px;
}

.reports .heading-title h2 {
	font-size: var(--reports-title-size);
}

.iies-logo {
	/* Alto desde la altura de la D hasta la línea base del punto final:
	   1em de interlineado + 0.7286em de altura de mayúscula de Inter. El
	   margen inferior alinea la base con la línea base del último renglón. */
	height: calc(var(--reports-title-size) * 1.7286);
	margin-bottom: calc(var(--reports-title-size) * 0.136);
	width: auto;
	flex: 0 0 auto;
	border-radius: var(--r-md);
	box-shadow: 0 28px 54px -28px rgba(0, 0, 0, .65);
}

.gateway {
	border: 1px solid rgba(122, 216, 245, .16);
	border-radius: var(--r-md);
	background: linear-gradient(160deg, rgba(122, 216, 245, .08), rgba(6, 27, 39, .2));
	position: relative;
	overflow: hidden;
	transition:
		transform var(--dur-2) var(--ease-out),
		border-color var(--dur-1) var(--ease-out),
		box-shadow var(--dur-2) var(--ease-out);
}

.gateway::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(80% 120% at 100% 0%, rgba(0, 159, 227, .22), transparent 55%);
	opacity: 0;
	transition: opacity var(--dur-2) var(--ease-out);
}

.gateway:hover,
.gateway:focus-visible {
	transform: translateY(-6px);
	border-color: var(--cyan);
	box-shadow: var(--shadow-blue);
}

.gateway:hover::before,
.gateway:focus-visible::before {
	opacity: 1;
}

.gateway-cta {
	transition: transform var(--dur-1) var(--ease-out);
}

.gateway:hover .gateway-cta {
	transform: translateX(5px);
}

.card {
	border-radius: var(--r-md);
	background: linear-gradient(168deg, #0c2c40, #08202e);
	overflow: hidden;
	transition:
		transform var(--dur-2) var(--ease-out),
		box-shadow var(--dur-2) var(--ease-out);
}

.card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}

.card .visual {
	border-radius: var(--r-sm);
	overflow: hidden;
}

.card .visual-img {
	transition: transform var(--dur-3) var(--ease-out);
}

.card:hover .visual-img {
	transform: scale(1.06);
}

/* ---------------------------------------------------------------- Forum v2 */
.forum {
	background:
		radial-gradient(70% 100% at 0% 50%, rgba(0, 159, 227, .14), transparent 65%),
		linear-gradient(180deg, #eaf6fb, #d9eff8);
}

/* Transparent logo: no navy plate, dark letters from the source file. */
.forum-logo {
	background: transparent;
	padding: 0;
	box-shadow: none;
	max-width: 320px;
}

.forum-logo img {
	filter: drop-shadow(0 12px 26px rgba(6, 32, 46, .16));
}

/* -------------------------------------------------------------- Members v2 */
.members {
	position: relative;
	overflow: hidden;
}

.members::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -160px;
	width: 620px;
	height: 620px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 159, 227, .10), transparent 70%);
	pointer-events: none;
}

/* ------------------------------------------------------------- Redes v2 */
.redes {
	background:
		radial-gradient(70% 80% at 0% 0%, rgba(0, 159, 227, .05), transparent 55%),
		var(--paper);
	border-top: 1px solid var(--line);
}

/* -------------------------------------------------------- Site access v2 */
.site-access {
	background:
		radial-gradient(70% 80% at 100% 0%, rgba(0, 159, 227, .05), transparent 55%),
		var(--paper);
}

.site-access-group {
	border-radius: var(--r-md);
	transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}

.site-access-group:hover {
	transform: translateY(-4px);
	border-color: var(--cyan);
	box-shadow: var(--shadow-md);
}

/* -------------------------------------------------------------- Footer v2 */
.site-footer {
	position: relative;
	overflow: hidden;
	background: var(--navy-900);
}

.site-footer::before {
	content: "CEER";
	position: absolute;
	right: -2vw;
	bottom: -100px;
	font-size: clamp(200px, 26vw, 400px);
	font-weight: 800;
	letter-spacing: -.06em;
	line-height: .8;
	color: #fff;
	opacity: .03;
	pointer-events: none;
}

.footer-mail {
	border-radius: 0;
	transition: color var(--dur-1) var(--ease-out);
}

.footer-socials {
	display: flex;
	align-items: center;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
	color: #9fb2bd;
}

.footer-socials a {
	display: inline-flex;
	color: inherit;
	transition: color var(--dur-1) var(--ease-out);
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
	color: var(--white);
}

.footer-socials .social-icon {
	display: block;
	width: 18px;
	height: 18px;
}

/* ------------------------------------------------------ Page banner (inner) */
.page-banner {
	position: relative;
	overflow: hidden;
	padding: 96px var(--gutter) 88px;
	color: #fff;
	background: var(--grad-dark);
	isolation: isolate;
}

.page-banner::before {
	content: "";
	position: absolute;
	right: -8%;
	top: -40%;
	width: 640px;
	height: 640px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 159, 227, .35), transparent 70%);
	filter: blur(10px);
	z-index: -1;
}

.page-banner::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(0, 159, 227, .6), transparent);
}

.page-banner-inner {
	max-width: var(--content-width);
	margin: 0 auto;
}

.page-banner .label {
	color: var(--cyan);
}

.page-banner-title {
	font-size: clamp(40px, 5.2vw, 74px);
	line-height: 1.02;
	letter-spacing: -.045em;
	font-weight: 600;
	margin: 18px 0 0;
	max-width: 18ch;
}

.page-banner-lead {
	margin: 22px 0 0;
	max-width: 62ch;
	font-size: 20px;
	line-height: 1.6;
	color: #cfe4ee;
}

.page-banner-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	color: rgba(255, 255, 255, .6);
}

.page-banner-breadcrumb a {
	color: rgba(255, 255, 255, .82);
	border-bottom: 1px solid transparent;
}

.page-banner-breadcrumb a:hover,
.page-banner-breadcrumb a:focus-visible {
	color: #fff;
	border-bottom-color: var(--cyan);
}

.page-banner .label::before {
	background: var(--red);
}

/* Inner content sits closer to the banner. */
.site-main .archive,
.page-entry {
	padding-top: 72px;
}

.archive-header,
.page-hero {
	max-width: 780px;
}

/* ------------------------------------------------------- Responsive tweaks */
@media (max-width: 1100px) {
	.metrics-band {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
	}
}

@media (max-width: 1150px) {
	/* The header no longer fits the three icons plus the contact button. */
	.header-socials {
		display: none;
	}

	.brand-logo {
		height: 56px;
	}

	.brand-tag {
		font-size: 8.4px;
		letter-spacing: .13em;
		margin-right: -.13em;
	}
}

@media (max-width: 900px) {
	.page-banner {
		padding: 72px var(--gutter) 64px;
	}

	.page-banner-title {
		max-width: none;
	}

	.reports .heading-title {
		gap: 24px;
	}

	.forum-logo {
		max-width: 240px;
	}
}

@media (max-width: 560px) {
	.brand-logo,
	.site-header.is-scrolled .brand-logo {
		height: 42px;
	}

	.brand-tag {
		display: none;
	}

	.hero {
		padding-bottom: 96px;
	}

	.hero-scroll {
		display: none;
	}

	.page-banner {
		padding: 56px 24px 52px;
	}

	.metrics-band {
		gap: 28px;
		padding-bottom: 40px;
		margin-bottom: 48px;
	}

	.metrics-grid {
		gap: 20px;
	}

	.metrics-band .metric-value {
		/* Solid colour on small screens: gradient text clips when the flex
		   item shrinks below the intrinsic width of the number. */
		background: none;
		color: var(--deep);
		font-size: clamp(28px, 8vw, 36px);
	}

	.metric {
		padding-left: 16px;
	}

	.metric-label {
		font-size: 13px;
	}

	.reports .heading-title {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
	}

	.forum-logo {
		max-width: 190px;
	}

	.footer-socials {
		gap: 18px;
	}
}

/* -------------------------------------------------------- Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.js [data-reveal],
	.js .hero-inner > * {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}

	.hero-orb,
	.hero-monogram {
		transform: none !important;
	}

	.scroll-progress {
		display: none;
	}
}
