/* ==========================================================================
   OWN-EU theme
   Palette taken from the official logo. Contrast ratios against white:
   blue #03438c 9.6:1, teal text #007585 5.4:1, ink #1b2a3d 14:1.
   The logo turquoise #009db1 and yellow #fdd90a are used for decoration,
   never for body text on white.
   ========================================================================== */

@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url("../fonts/source-sans-3-latin-ext-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--blue: #03438c;
	--blue-700: #033a78;
	--blue-900: #021f45;
	--teal: #009db1;
	--teal-text: #007585;
	--teal-50: #e8f6f8;
	--yellow: #fdd90a;
	--yellow-50: #fffbe0;
	--ink: #1b2a3d;
	--muted: #4a5568;
	--line: #dbe4ee;
	--soft: #f3f7fb;
	--white: #fff;

	--font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(2, 31, 69, .06), 0 2px 8px rgba(2, 31, 69, .05);
	--shadow: 0 2px 4px rgba(2, 31, 69, .04), 0 12px 32px rgba(2, 31, 69, .09);
	--shadow-lg: 0 4px 8px rgba(2, 31, 69, .05), 0 24px 60px rgba(2, 31, 69, .14);
	--header-h: 76px;
	--gutter: clamp(1rem, 4vw, 2rem);
	--section-y: clamp(4rem, 9vw, 7.5rem);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

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

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

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

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

img { display: block; }

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	color: var(--blue);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.015em;
	text-wrap: balance;
}

h2 { font-size: clamp(2rem, 4.2vw, 2.875rem); }
h3 { font-size: 1.375rem; letter-spacing: -.005em; }

p { margin: 0 0 1em; }

a {
	color: var(--blue);
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
}

a:hover { color: var(--teal-text); }

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

.glance :focus-visible { outline-color: var(--yellow); }

address { font-style: normal; }

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

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: .75rem 1.25rem;
	clip: auto;
	background: var(--yellow);
	color: var(--blue-900);
	font-weight: 700;
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.container-narrow { max-width: 820px; }

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

/* Buttons ---------------------------------------------------------------- */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	min-height: 48px;
	padding: .75rem 1.5rem;
	border: 2px solid transparent;
	border-radius: 999px;
	font-weight: 700;
	font-size: 1.0625rem;
	line-height: 1.2;
	text-decoration: none;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}

.button .icon { width: 1.1em; height: 1.1em; }

.button-primary {
	background: var(--yellow);
	color: var(--blue-900);
	box-shadow: 0 6px 18px rgba(253, 217, 10, .35);
}

.button-primary:hover {
	color: var(--blue-900);
	background: #ffe43d;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(253, 217, 10, .45);
}

.button-secondary {
	background: transparent;
	border-color: var(--blue);
	color: var(--blue);
}

.button-secondary:hover {
	background: var(--blue);
	color: var(--white);
	transform: translateY(-2px);
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: .875rem;
}

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .25s, border-color .25s;
}

.admin-bar .site-header { top: 32px; }

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

.site-header.is-scrolled {
	border-bottom-color: var(--line);
	box-shadow: 0 6px 24px rgba(2, 31, 69, .07);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: var(--header-h);
}

.site-branding { flex: none; }

.custom-logo-link { display: block; }

.custom-logo {
	width: auto;
	height: 52px;
}

.header-panel {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-left: auto;
}

.primary-nav ul {
	display: flex;
	gap: .25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav a {
	position: relative;
	display: block;
	padding: .6rem .8rem;
	color: var(--blue-900);
	font-weight: 600;
	font-size: 1.0625rem;
	text-decoration: none;
	border-radius: 8px;
}

.primary-nav a::after {
	content: "";
	position: absolute;
	left: .8rem;
	right: .8rem;
	bottom: .3rem;
	height: 3px;
	border-radius: 3px;
	background: var(--yellow);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s var(--ease);
}

.primary-nav a:hover,
.primary-nav a.is-current,
.primary-nav .current-menu-item > a { color: var(--blue); }

.primary-nav a:hover::after,
.primary-nav a.is-current::after { transform: scaleX(1); }

.social-icons {
	display: flex;
	gap: .375rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-icons a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: var(--blue);
	transition: background-color .2s, color .2s, transform .2s var(--ease);
}

.social-icons a:hover {
	background: var(--blue);
	color: var(--white);
	transform: translateY(-2px);
}

.social-icons .icon { width: 20px; height: 20px; }

.header-social {
	padding-left: 1.25rem;
	border-left: 1px solid var(--line);
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: .5rem;
	min-height: 44px;
	margin-left: auto;
	padding: .5rem 1rem;
	border: 2px solid var(--blue);
	border-radius: 999px;
	background: var(--white);
	color: var(--blue);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.menu-toggle span { display: inline-flex; }
.menu-toggle .menu-toggle-close { display: none; }

@media (max-width: 960px) {
	:root { --header-h: 68px; }

	.custom-logo { height: 44px; }

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

	.header-panel {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
		margin: 0;
		padding: 1rem var(--gutter) 1.5rem;
		background: var(--white);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 18px 30px rgba(2, 31, 69, .12);
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
	}

	.menu-open .header-panel {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: opacity .2s, transform .2s var(--ease);
	}

	.menu-open .menu-toggle .menu-toggle-open { display: none; }
	.menu-open .menu-toggle .menu-toggle-close { display: inline-flex; }

	.primary-nav ul { flex-direction: column; }

	.primary-nav a {
		padding: .85rem .5rem;
		font-size: 1.1875rem;
		border-bottom: 1px solid var(--soft);
	}

	.primary-nav a::after { display: none; }

	.primary-nav a.is-current { color: var(--teal-text); }

	.header-social {
		padding-left: 0;
		border-left: 0;
	}
}

/* Without JavaScript the mobile menu is simply shown as a list. */
.no-js .header-panel {
	position: static;
	visibility: visible;
	opacity: 1;
	transform: none;
	box-shadow: none;
}

.no-js .menu-toggle { display: none; }

/* Shared section styles --------------------------------------------------- */

.section {
	position: relative;
	padding: var(--section-y) 0;
}

.kicker {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	margin-bottom: .875rem;
	color: var(--teal-text);
	font-size: .9375rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.kicker::before {
	content: "";
	width: 28px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--teal), var(--yellow));
}

.kicker-light { color: var(--yellow); }

.section-head {
	max-width: 720px;
	margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.section-intro {
	color: var(--muted);
	font-size: 1.25rem;
}

/* Reveal animation: only when JavaScript is running and motion is welcome. */
.can-reveal .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .7s var(--ease), transform .7s var(--ease);
	transition-delay: var(--delay, 0ms);
}

.can-reveal .reveal.is-visible {
	opacity: 1;
	transform: none;
}

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

.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
	background:
		radial-gradient(1000px 520px at 85% 15%, rgba(0, 157, 177, .14), transparent 65%),
		radial-gradient(700px 420px at 10% 100%, rgba(253, 217, 10, .16), transparent 70%),
		linear-gradient(180deg, #f7fafd 0%, #eef4fa 100%);
	isolation: isolate;
}

.hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 6px;
	background: linear-gradient(90deg, var(--blue) 0 40%, var(--teal) 40% 75%, var(--yellow) 75% 100%);
}

.hero-network {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	/* Fade the network out behind the text so it never competes with it. */
	-webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .2) 40%, #000 62%);
	mask-image: linear-gradient(90deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .2) 40%, #000 62%);
}

@media (max-width: 860px) {
	.hero-network {
		-webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .2) 45%);
		mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .2) 45%);
	}
}

.hn-lines line {
	stroke: var(--blue);
	stroke-opacity: .16;
	stroke-width: 1.25;
}

.hn-lines line.t {
	stroke: var(--teal);
	stroke-opacity: .35;
	stroke-dasharray: 4 6;
}

.hn-nodes circle {
	fill: var(--white);
	stroke-width: 2;
}

.hn-nodes .b { stroke: rgba(3, 67, 140, .35); }
.hn-nodes .t { stroke: var(--teal); stroke-opacity: .7; }
.hn-nodes .y { fill: var(--yellow); stroke: var(--white); }

.hn-pulses circle {
	fill: none;
	stroke: var(--yellow);
	stroke-width: 2;
	opacity: 0;
	transform-box: fill-box;
	transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
	.hn-pulses circle { animation: owneu-pulse 6.5s var(--d, 0s) infinite ease-out; }
	.hn-lines line.t { animation: owneu-flow 14s linear infinite; }
}

@keyframes owneu-pulse {
	0% { opacity: .9; transform: scale(1); }
	45%, 100% { opacity: 0; transform: scale(5); }
}

@keyframes owneu-flow {
	to { stroke-dashoffset: -200; }
}

.hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4.5rem);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	margin-bottom: 1.5rem;
	padding: .4rem 1rem .4rem .75rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, .8);
	color: var(--blue);
	font-size: .9375rem;
	font-weight: 700;
	letter-spacing: .02em;
}

.eyebrow-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--yellow);
	box-shadow: 0 0 0 4px rgba(253, 217, 10, .25);
}

.hero-title {
	margin-bottom: .35em;
	font-size: clamp(2.5rem, 5.6vw, 4.25rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -.025em;
	color: var(--blue-900);
}

.hero-subtitle {
	margin-bottom: 1.25rem;
	color: var(--teal-text);
	font-size: clamp(1.3rem, 2.4vw, 1.75rem);
	font-weight: 600;
	line-height: 1.3;
}

.hero-text {
	max-width: 38em;
	margin-bottom: 2rem;
	color: var(--muted);
	font-size: 1.1875rem;
}

.hero-visual {
	position: relative;
}

.hero-visual::before {
	content: "";
	position: absolute;
	inset: 8% -6% -8% 10%;
	z-index: -1;
	border-radius: var(--radius-lg);
	background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
	opacity: .12;
	transform: rotate(3deg);
}

.hero-logo-card {
	padding: clamp(1.75rem, 4vw, 3rem);
	border: 1px solid rgba(219, 228, 238, .9);
	border-radius: var(--radius-lg);
	background: var(--white);
	box-shadow: var(--shadow-lg);
}

.hero-logo {
	width: 100%;
	height: auto;
}

@media (max-width: 860px) {
	.hero-inner { grid-template-columns: 1fr; }
	.hero-visual { order: -1; width: 100%; max-width: 340px; }
	.hero-visual::before { display: none; }
	.hero-logo-card { padding: 1.25rem 1.5rem; box-shadow: var(--shadow); }
}

@media (max-width: 480px) {
	.button-row .button { width: 100%; }
}

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

.about-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 5rem);
	align-items: start;
}

.prose p {
	max-width: 40em;
	color: var(--ink);
}

.prose > p:first-child {
	font-size: 1.25rem;
	color: var(--blue-900);
}

.about-panel {
	position: relative;
	padding: 2rem 2rem 1.5rem;
	border-radius: var(--radius-lg);
	background: var(--soft);
	border: 1px solid var(--line);
}

.about-panel::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 2rem;
	width: 64px;
	height: 4px;
	border-radius: 0 0 4px 4px;
	background: var(--yellow);
}

.about-panel h3 {
	font-size: 1.25rem;
	margin-bottom: 1.25rem;
}

.node-list {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

.node-list::before {
	content: "";
	position: absolute;
	top: .9rem;
	bottom: .9rem;
	left: 7px;
	width: 2px;
	background: linear-gradient(var(--teal), var(--blue));
	opacity: .35;
}

.node-list li {
	position: relative;
	padding: .45rem 0 .45rem 2rem;
	line-height: 1.45;
}

.node-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .72rem;
	width: 16px;
	height: 16px;
	border: 3px solid var(--teal);
	border-radius: 50%;
	background: var(--white);
}

.node-list li:nth-child(3n + 2)::before { border-color: var(--blue); }
.node-list li:nth-child(3n)::before { border-color: var(--yellow); }

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

/* Research focus --------------------------------------------------------- */

.research {
	background: linear-gradient(180deg, var(--white) 0%, var(--soft) 100%);
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2.5vw, 1.75rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.focus-card {
	position: relative;
	overflow: hidden;
	padding: 2.25rem 2rem 2rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
	box-shadow: var(--shadow-sm);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}

.focus-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 5px;
	background: linear-gradient(90deg, var(--blue), var(--teal));
	transform: scaleX(.18);
	transform-origin: left;
	transition: transform .45s var(--ease);
}

.focus-card:nth-child(2)::before { background: linear-gradient(90deg, var(--teal), var(--yellow)); }
.focus-card:nth-child(3)::before { background: linear-gradient(90deg, var(--yellow), var(--blue)); }

.focus-card:hover {
	transform: translateY(-6px);
	border-color: rgba(0, 157, 177, .45);
	box-shadow: var(--shadow-lg);
}

.focus-card:hover::before { transform: scaleX(1); }

.can-reveal .focus-card.reveal.is-visible:hover { transform: translateY(-6px); }

.card-number {
	position: absolute;
	top: 1.25rem;
	right: 1.5rem;
	color: var(--line);
	font-size: 2.75rem;
	font-weight: 800;
	line-height: 1;
}

.card-art {
	display: block;
	width: 72px;
	height: 72px;
	margin-bottom: 1.5rem;
	padding: 10px;
	border-radius: 18px;
	background: var(--teal-50);
	transition: transform .35s var(--ease), background-color .35s;
}

.focus-card:hover .card-art {
	transform: rotate(-4deg) scale(1.05);
	background: var(--yellow-50);
}

.card-art .ln {
	fill: none;
	stroke: var(--blue);
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.card-art .dash { stroke-dasharray: 3 5; stroke: var(--teal); }
.card-art .nd { fill: var(--white); stroke: var(--blue); stroke-width: 2.2; }
.card-art .nd-t { fill: var(--teal); }
.card-art .nd-y { fill: var(--yellow); stroke: var(--blue); stroke-width: 1.5; }

.focus-card h3 { margin-bottom: .6rem; }

.focus-card p {
	margin: 0;
	color: var(--muted);
}

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

/* Project at a glance ---------------------------------------------------- */

.glance {
	overflow: hidden;
	background:
		radial-gradient(900px 500px at 100% 0%, rgba(0, 157, 177, .35), transparent 60%),
		radial-gradient(600px 400px at 0% 100%, rgba(253, 217, 10, .12), transparent 70%),
		linear-gradient(160deg, var(--blue) 0%, var(--blue-900) 100%);
	color: var(--white);
	isolation: isolate;
}

.glance-pattern {
	position: absolute;
	inset: 0;
	z-index: -1;
	color: rgba(255, 255, 255, .1);
}

.glance h2 { color: var(--white); }

.glance-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 0 0 2.5rem;
}

.glance-card {
	position: relative;
	padding: 1.5rem 1.5rem 1.6rem;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, .07);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}

.glance-card:hover {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(253, 217, 10, .55);
}

.glance-card dt {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin-bottom: .5rem;
	color: var(--yellow);
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.glance-card dt::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--yellow);
}

.glance-card dd {
	margin: 0;
	color: var(--white);
	font-size: 1.3125rem;
	font-weight: 600;
	line-height: 1.3;
}

.glance-actions { margin-bottom: 2.5rem; }

.partners {
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: var(--radius);
	background: rgba(2, 31, 69, .35);
}

.partners summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem 1rem;
	padding: 1.1rem 1.5rem;
	color: var(--white);
	font-size: 1.1875rem;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.partners summary::-webkit-details-marker { display: none; }

.partners summary::after {
	content: "";
	width: 10px;
	height: 10px;
	margin-left: auto;
	border-right: 2px solid var(--yellow);
	border-bottom: 2px solid var(--yellow);
	transform: rotate(45deg);
	transition: transform .25s var(--ease);
}

.partners[open] summary::after { transform: rotate(-135deg); }

.partners-count {
	padding: .15rem .7rem;
	border-radius: 999px;
	background: var(--yellow);
	color: var(--blue-900);
	font-size: .875rem;
}

.partner-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 2rem;
	margin: 0;
	padding: .25rem 1.5rem 1.5rem;
	list-style: none;
	counter-reset: partner;
}

.partner-list li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: .25rem 1rem;
	padding: .7rem 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
	counter-increment: partner;
	font-size: 1.0625rem;
	line-height: 1.4;
}

.partner-name::before {
	content: counter(partner, decimal-leading-zero);
	margin-right: .75rem;
	color: rgba(255, 255, 255, .55);
	font-variant-numeric: tabular-nums;
}

.partner-country {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	color: #b9e8ee;
	font-size: .9375rem;
	white-space: nowrap;
}

.partner-country .icon { width: 1em; height: 1em; }

@media (max-width: 960px) {
	.glance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.partner-list { grid-template-columns: 1fr; }
}

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

/* Stay connected --------------------------------------------------------- */

.connect {
	background:
		radial-gradient(600px 300px at 0% 0%, rgba(0, 157, 177, .12), transparent 70%),
		var(--soft);
}

.connect-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 5rem);
	align-items: center;
}

.social-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: .875rem;
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
}

.social-button {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	min-height: 56px;
	padding: .5rem 1.4rem .5rem .55rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	color: var(--blue-900);
	font-weight: 700;
	font-size: 1.0625rem;
	text-decoration: none;
	box-shadow: var(--shadow-sm);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}

.social-button-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--blue);
	color: var(--white);
	transition: background-color .25s;
}

.social-button-icon .icon { width: 20px; height: 20px; }

.social-button:hover {
	color: var(--blue-900);
	border-color: var(--teal);
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.social-button:hover .social-button-icon { background: var(--teal-text); }

.contact-card {
	position: relative;
	padding: 2.25rem;
	border-radius: var(--radius-lg);
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.contact-card::after {
	content: "";
	position: absolute;
	right: 1.75rem;
	top: 1.75rem;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--yellow);
	box-shadow: -26px 18px 0 -3px var(--teal), -6px 42px 0 -4px var(--blue);
}

.contact-card h3 { margin-bottom: 1rem; }

.contact-email {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	margin-bottom: 1.25rem;
	font-size: 1.1875rem;
	font-weight: 700;
	word-break: break-word;
}

.contact-card address { color: var(--muted); }

.customizer-hint {
	padding: .75rem 1rem;
	border: 2px dashed var(--teal);
	border-radius: 10px;
	color: var(--teal-text);
	font-size: 1rem;
}

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

/* Footer ----------------------------------------------------------------- */

.site-footer {
	padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
	border-top: 1px solid var(--line);
	background: var(--white);
	color: var(--ink);
	font-size: 1rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, .8fr);
	gap: clamp(2rem, 4vw, 3.5rem);
	padding-bottom: 2.5rem;
}

.footer-logo {
	display: inline-block;
	margin-bottom: 1.5rem;
}

.footer-logo img {
	width: 240px;
	height: auto;
}

.footer-label {
	display: block;
	margin-bottom: .5rem;
	color: var(--teal-text);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.footer-coordinator { line-height: 1.6; }

/* The EU emblem keeps its proportions and a clear space on every side. */
.eu-emblem {
	display: inline-block;
	margin-bottom: 1.25rem;
	padding: 14px;
	background: var(--white);
	border-radius: 6px;
}

.eu-emblem img {
	width: auto;
	height: 64px;
	max-width: 100%;
	object-fit: contain;
}

.disclaimer {
	max-width: 36em;
	margin: 0;
	color: var(--muted);
	font-size: .9375rem;
	line-height: 1.6;
}

.footer-social { margin: 0 0 1.5rem -10px; }

.legal-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.legal-links li + li { margin-top: .5rem; }

.legal-links a {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	min-height: 32px;
	font-weight: 600;
}

.legal-links .icon { width: .95em; height: .95em; }

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .5rem 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: .9375rem;
}

.footer-bottom p { margin: 0; }

@media (max-width: 960px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-funding { grid-column: 1 / -1; grid-row: 1; }
}

@media (max-width: 600px) {
	.footer-grid { grid-template-columns: 1fr; }
	.footer-funding { grid-row: auto; }
	.eu-emblem img { height: 56px; }
}

/* Inner pages (Privacy Policy, 404) --------------------------------------- */

.page-main { padding: clamp(3rem, 7vw, 5rem) 0; }

.page-title { font-size: clamp(2.25rem, 5vw, 3.25rem); }

.entry-content h2 { font-size: 1.75rem; margin-top: 2rem; }
.entry-content h3 { font-size: 1.375rem; margin-top: 1.75rem; }
.entry-content ul,
.entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .35em; }

.entry + .entry {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--line);
}

.entry-meta { color: var(--muted); font-size: 1rem; }

/* Motion and print -------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

@media (forced-colors: active) {
	.button,
	.social-button,
	.focus-card,
	.glance-card { border: 1px solid CanvasText; }
}

@media print {
	.site-header,
	.hero-network,
	.glance-pattern,
	.button-row,
	.social-buttons { display: none !important; }

	.glance { background: none; color: #000; }
	.glance h2,
	.glance-card dd { color: #000; }
}
