/*
 * Liverpool AI Labs
 *
 * One bold thing: the Liver bird with every service in orbit. Everything around it stays
 * quiet: sky backgrounds, navy type, electric-blue actions and the glass bubbles from the
 * services poster.
 */

/* ---------- Fonts ---------- */

@font-face {
	font-family: "Montserrat";
	src: url("../fonts/Montserrat-Variable.woff") format("woff");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Montserrat";
	src: url("../fonts/Montserrat-Italic-Variable.woff") format("woff");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
	--navy: #0b1f4d;
	--navy-2: #13306b;
	--electric: #0b5fd6;
	--electric-dark: #0846a3;
	--glow: #7cc0ff;
	--sky: #e8f3ff;
	--sky-2: #d6e9ff;
	--paper: #ffffff;
	--muted: #42557c;
	--line: rgba(11, 31, 77, 0.12);
	--line-strong: rgba(11, 31, 77, 0.22);
	--focus: #ffb000;
	--ok: #0f7a4a;
	--warn: #a64600;
	--bad: #b3261e;

	--font: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
	--step--1: 0.875rem;
	--step-0: 1.0625rem;
	--step-1: 1.25rem;
	--step-2: clamp(1.35rem, 1.15rem + 0.8vw, 1.6rem);
	--step-3: clamp(1.6rem, 1.25rem + 1.5vw, 2.15rem);
	--step-4: clamp(1.9rem, 1.3rem + 2.6vw, 2.9rem);
	--step-5: clamp(2.1rem, 1.2rem + 3.6vw, 3.6rem);

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 18px;
	--radius-s: 12px;
	--pill: 999px;
	--shadow: 0 1px 2px rgba(11, 31, 77, 0.06), 0 12px 32px -16px rgba(11, 61, 150, 0.35);
	--glass: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 244, 255, 0.9));
	--disc: radial-gradient(circle at 34% 28%, #3b8dff 0%, #0b5fd6 42%, #06306f 100%);
	--header-h: 72px;
}

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

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

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--step-0);
	line-height: 1.6;
	color: var(--navy);
	background: linear-gradient(180deg, #f4f9ff 0, var(--sky) 640px, var(--sky) 100%);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

img {
	display: block;
}

h1,
h2,
h3,
h4 {
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.015em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

p,
ul,
ol,
dl,
figure,
blockquote {
	margin: 0 0 1em;
}

a {
	color: var(--electric);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--electric-dark);
}

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

::selection {
	background: #bfe0ff;
	color: var(--navy);
}

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

.icon--inline {
	width: 1em;
	height: 1em;
	vertical-align: -0.14em;
}

.icon-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.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;
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--navy);
	color: #fff;
	border-radius: var(--radius-s);
	font-weight: 700;
}

.skip-link:focus {
	top: 12px;
	color: #fff;
}

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section {
	padding-block: clamp(40px, 6vw, 80px);
}

.site-main:focus {
	outline: none;
}

/* ---------- Buttons and links ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 48px;
	padding: 0.7em 1.4em;
	border: 1.5px solid transparent;
	border-radius: var(--pill);
	background: linear-gradient(180deg, #1a6ff0, var(--electric) 55%, #0a53bd);
	box-shadow: 0 10px 22px -12px rgba(11, 95, 214, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25);
	color: #fff;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
	color: #fff;
	background: linear-gradient(180deg, #0f63de, var(--electric-dark));
}

.btn:active {
	transform: translateY(1px);
}

.btn--ghost {
	background: rgba(255, 255, 255, 0.85);
	border-color: rgba(11, 95, 214, 0.35);
	color: var(--electric);
	box-shadow: none;
}

.btn--ghost:hover {
	background: #fff;
	border-color: var(--electric);
	color: var(--electric-dark);
}

.btn--light {
	background: #fff;
	color: var(--navy);
	box-shadow: none;
}

.btn--light:hover {
	background: var(--sky);
	color: var(--navy);
}

.btn--outline-light {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.6);
	color: #fff;
	box-shadow: none;
}

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

.btn--small {
	min-height: 40px;
	padding: 0.5em 1.1em;
	font-size: var(--step--1);
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-weight: 700;
	text-decoration: none;
}

.link-arrow .icon {
	transition: transform 0.15s ease;
}

.link-arrow:hover .icon {
	transform: translateX(3px);
}

.link-arrow:hover {
	text-decoration: underline;
}

.link-quiet {
	color: var(--muted);
	font-size: var(--step--1);
}

.hero__actions,
.spotlight__actions,
.people-band__actions,
.donate-hero__actions,
.service-hero__actions,
.project-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

/* ---------- Brand ---------- */

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--navy);
	text-decoration: none;
}

.brand:hover {
	color: var(--navy);
}

.brand__bird {
	width: 44px;
	height: auto;
}

.wordmark {
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.wordmark__ai {
	color: var(--electric);
}

.brand--light,
.brand--light:hover {
	color: #fff;
}

.brand--light .wordmark__ai {
	color: var(--glow);
}

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(244, 249, 255, 0.86);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid var(--line);
}

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

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

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: calc(1320px + 2 * var(--gutter));
	min-height: var(--header-h);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 20px;
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__cta {
	white-space: nowrap;
}

.site-nav__list a {
	display: block;
	padding: 8px 11px;
	border-radius: var(--pill);
	color: var(--navy);
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.site-nav__list a:hover {
	background: rgba(11, 95, 214, 0.08);
	color: var(--electric);
}

.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a,
.site-nav__list a[aria-current="page"] {
	color: var(--electric);
	background: rgba(11, 95, 214, 0.1);
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 8px 14px;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--pill);
	background: #fff;
	color: var(--navy);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle__bars {
	position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.menu-toggle__bars::before {
	top: -6px;
}

.menu-toggle__bars::after {
	top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars {
	background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
	transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
	transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1240px) {
	.js .menu-toggle {
		display: inline-flex;
	}

	.js .site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
		padding: 12px var(--gutter) 24px;
		background: #f4f9ff;
		border-bottom: 1px solid var(--line);
		box-shadow: 0 24px 40px -24px rgba(11, 31, 77, 0.35);
	}

	.js .site-nav.is-open {
		display: flex;
	}

	.js .site-nav__list {
		flex-direction: column;
		align-items: stretch;
	}

	.js .site-nav__list a {
		padding: 12px 14px;
		font-size: 1.05rem;
		border-radius: var(--radius-s);
	}

	.js .site-nav__cta {
		align-self: flex-start;
	}

	html:not(.js) .site-header__inner {
		flex-wrap: wrap;
		padding-block: 10px;
	}

	html:not(.js) .site-nav,
	html:not(.js) .site-nav__list {
		flex-wrap: wrap;
	}
}

@media (max-width: 420px) {
	.wordmark {
		font-size: 1.05rem;
	}

	.brand__bird {
		width: 38px;
	}

	.menu-toggle__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(1px, 1px, 1px, 1px);
	}

	.menu-toggle {
		padding: 8px 12px;
	}
}

/* ---------- Hero and orbit ---------- */

.hero {
	position: relative;
	padding: clamp(28px, 4vw, 48px) var(--gutter) clamp(24px, 3vw, 40px);
	overflow: hidden;
	background:
		radial-gradient(60% 55% at 50% 60%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 70%),
		radial-gradient(40% 40% at 10% 20%, rgba(124, 192, 255, 0.35) 0%, rgba(124, 192, 255, 0) 70%),
		radial-gradient(40% 40% at 92% 30%, rgba(124, 192, 255, 0.35) 0%, rgba(124, 192, 255, 0) 70%);
}

.hero__copy {
	max-width: 980px;
	margin: 0 auto;
	text-align: center;
}

.hero__title {
	margin-bottom: 0.25em;
	font-size: var(--step-5);
	font-style: italic;
	font-weight: 850;
	letter-spacing: -0.025em;
}

.hero__sub {
	margin: 0 auto;
	max-width: 44ch;
	color: var(--navy-2);
	font-size: var(--step-2);
	font-style: italic;
	font-weight: 600;
	line-height: 1.35;
}

.hero__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 24px;
	max-width: var(--wrap);
	margin: 8px auto 0;
}

.hero__bar .hero__actions {
	justify-content: center;
	margin: 0;
}

.orbit-pause {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 6px 14px;
	border: 0;
	border-radius: var(--pill);
	background: transparent;
	color: var(--muted);
	font: inherit;
	font-size: var(--step--1);
	font-weight: 600;
	cursor: pointer;
}

.orbit-pause:hover {
	color: var(--navy);
	background: rgba(11, 95, 214, 0.08);
}

.orbit-pause[hidden] {
	display: none;
}

/* The stage. Without JavaScript the services sit in a tidy cloud under the bird. */

.orbit {
	position: relative;
	isolation: isolate;
	max-width: 1320px;
	margin: clamp(12px, 2vw, 24px) auto 0;
}

.orbit__bird {
	position: relative;
	z-index: 50;
	width: min(280px, 46vw);
	margin: 0 auto 20px;
	pointer-events: none;
}

.orbit__bird-img {
	width: 100%;
	filter: drop-shadow(0 18px 24px rgba(11, 61, 150, 0.22));
}

.orbit__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.orbit__tip {
	position: absolute;
	left: 50%;
	bottom: 0;
	z-index: 120;
	width: max-content;
	max-width: min(520px, 92%);
	margin: 0;
	padding: 10px 16px;
	transform: translateX(-50%);
	border-radius: var(--radius-s);
	background: rgba(11, 31, 77, 0.92);
	color: #fff;
	font-size: var(--step--1);
	line-height: 1.45;
	text-align: center;
	pointer-events: none;
}

.orbit__tip strong {
	display: block;
	color: var(--glow);
}

.orbit__tip[hidden] {
	display: none;
}

/* Live orbit, switched on by main.js. */

.orbit.is-live {
	height: var(--stage-h, 560px);
	touch-action: pan-y;
	-webkit-user-select: none;
	user-select: none;
}

.orbit.is-live.is-dragging {
	cursor: grabbing;
}

.orbit.is-live::before,
.orbit.is-live::after {
	content: "";
	position: absolute;
	left: 50%;
	top: var(--cy, 50%);
	border: 1.5px dashed rgba(11, 95, 214, 0.2);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.orbit.is-live::before {
	width: calc(var(--rx-out, 500px) * 2);
	height: calc(var(--ry-out, 200px) * 2);
}

.orbit.is-live::after {
	width: calc(var(--rx-in, 320px) * 2);
	height: calc(var(--ry-in, 130px) * 2);
}

.orbit.is-live[data-mode="narrow"]::after {
	display: none;
}

.orbit.is-live[data-mode="narrow"] {
	margin-inline: calc(-1 * var(--gutter));
}

.orbit.is-live .orbit__bird {
	position: absolute;
	left: 50%;
	top: var(--cy, 50%);
	width: var(--bird-w, 280px);
	margin: 0;
	transform: translate(-50%, -54%);
}

.orbit.is-live .orbit__list {
	display: block;
}

.orbit.is-live .orbit__item {
	position: absolute;
	left: 0;
	top: 0;
	will-change: transform;
}

.orbit.is-live .orbit__item[hidden] {
	display: none;
}

.orbit.is-live .orbit__item.is-flying {
	z-index: 300 !important;
}

/* ---------- Bubbles ---------- */

.bubble {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 60px;
	padding: 7px 18px 7px 7px;
	border: 1px solid rgba(255, 255, 255, 0.95);
	border-radius: var(--pill);
	background: var(--glass);
	box-shadow:
		0 0 0 1px rgba(11, 95, 214, 0.14),
		0 10px 24px -12px rgba(11, 61, 150, 0.55),
		inset 0 1px 0 #fff;
	color: var(--navy);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.bubble:hover,
.bubble:focus-visible {
	color: var(--navy);
	box-shadow:
		0 0 0 2px rgba(11, 95, 214, 0.55),
		0 0 26px rgba(124, 192, 255, 0.85),
		0 12px 26px -12px rgba(11, 61, 150, 0.6),
		inset 0 1px 0 #fff;
}

.bubble__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--disc);
	box-shadow: 0 0 0 3px rgba(124, 192, 255, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.35);
	color: #fff;
}

.bubble__icon .icon {
	width: 24px;
	height: 24px;
}

.bubble__name {
	font: inherit;
	margin: 0;
}

/* In orbit: pills on wide screens, discs with a label below on smaller ones. */

.orbit.is-live .bubble--orbit {
	width: 196px;
	min-height: 56px;
	padding: 5px 14px 5px 5px;
	font-size: 0.84rem;
	gap: 10px;
}

.orbit.is-live .bubble--orbit .bubble__icon {
	width: 44px;
	height: 44px;
}

.orbit.is-live[data-mode="mid"] .bubble--orbit,
.orbit.is-live[data-mode="narrow"] .bubble--orbit {
	flex-direction: column;
	gap: 5px;
	width: 92px;
	min-height: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	font-size: 0.72rem;
	text-align: center;
}

.orbit.is-live[data-mode="mid"] .bubble--orbit .bubble__icon,
.orbit.is-live[data-mode="narrow"] .bubble--orbit .bubble__icon {
	width: 50px;
	height: 50px;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 0 0 5px rgba(124, 192, 255, 0.45), 0 10px 20px -8px rgba(11, 61, 150, 0.7);
}

.orbit.is-live[data-mode="mid"] .bubble--orbit .bubble__name,
.orbit.is-live[data-mode="narrow"] .bubble--orbit .bubble__name {
	padding: 2px 6px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.86);
	box-shadow: 0 0 0 1px rgba(11, 95, 214, 0.12);
}

.orbit.is-live[data-mode="mid"] .bubble--orbit:hover .bubble__icon,
.orbit.is-live[data-mode="mid"] .bubble--orbit:focus-visible .bubble__icon,
.orbit.is-live[data-mode="narrow"] .bubble--orbit:hover .bubble__icon,
.orbit.is-live[data-mode="narrow"] .bubble--orbit:focus-visible .bubble__icon {
	box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(11, 95, 214, 0.6), 0 0 24px rgba(124, 192, 255, 0.9);
}

.orbit.is-live[data-mode="mid"] .bubble--orbit:focus-visible,
.orbit.is-live[data-mode="narrow"] .bubble--orbit:focus-visible {
	outline-offset: 4px;
	border-radius: 12px;
}

/* Bubble grid, used for all services and related services. */

.services-grid-band {
	padding-block: clamp(40px, 6vw, 72px);
}

.bubble-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bubble-grid .bubble {
	height: 100%;
}

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

/* ---------- Bands ---------- */

.band {
	padding-block: clamp(48px, 7vw, 96px);
}

.band--sky {
	background:
		radial-gradient(50% 80% at 85% 0%, rgba(124, 192, 255, 0.3), rgba(124, 192, 255, 0) 70%),
		var(--sky-2);
}

.band--paper,
.band--investors {
	background: var(--paper);
}

.band--navy {
	background:
		radial-gradient(60% 90% at 10% 0%, rgba(11, 95, 214, 0.45), rgba(11, 95, 214, 0) 70%),
		var(--navy);
	color: #e7f1ff;
}

.band--navy .section-title,
.band--navy h2,
.band--navy h3 {
	color: #fff;
}

.band--navy a:not(.btn) {
	color: #bfe0ff;
}

.band__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 8px 48px;
	align-items: end;
	margin-bottom: 24px;
}

.band__head .section-title {
	margin: 0;
}

.band__lead {
	max-width: 60ch;
	color: var(--muted);
}

.band__head .band__lead {
	margin: 0;
}

.band__more {
	margin: 28px 0 0;
}

.section-title {
	font-size: var(--step-4);
	margin-bottom: 0.55em;
}

.section-title--small {
	font-size: var(--step-3);
}

.cta-band {
	max-width: 760px;
	text-align: center;
}

.cta-band p {
	color: var(--muted);
}

.cta-band .btn {
	margin-top: 4px;
}

/* No job too big or small */

.band--promise {
	background: var(--paper);
	border-block: 1px solid var(--line);
}

.promise {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 24px 64px;
	align-items: center;
}

.promise__title {
	grid-row: span 2;
	margin: 0;
	font-size: var(--step-5);
	font-style: italic;
	font-weight: 850;
	letter-spacing: -0.03em;
}

.promise__scale {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.promise__scale li {
	display: grid;
	grid-template-columns: 6.5rem 1fr;
	gap: 12px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
	font-size: var(--step-1);
	font-weight: 500;
	line-height: 1.4;
}

.promise__size {
	color: var(--electric);
	font-weight: 800;
}

.promise > p {
	margin: 0;
}

/* Chips */

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

.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 6px 8px 6px 16px;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--pill);
	background: rgba(255, 255, 255, 0.8);
	color: var(--navy);
	font-size: var(--step--1);
	font-weight: 700;
	text-decoration: none;
}

.chip:hover {
	border-color: var(--electric);
	color: var(--electric);
}

.chip.is-current {
	border-color: var(--navy);
	background: var(--navy);
	color: #fff;
}

.chip__n {
	display: inline-grid;
	place-items: center;
	min-width: 26px;
	height: 26px;
	padding-inline: 6px;
	border-radius: var(--pill);
	background: var(--sky);
	color: var(--navy);
	font-size: 0.78rem;
}

.chip.is-current .chip__n {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}

.chips--small .chip {
	min-height: 36px;
	padding: 4px 14px;
}

/* ---------- Projects ---------- */

.p-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 18px;
}

.p-grid--compact {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.p-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 14px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow);
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.p-card:hover {
	border-color: rgba(11, 95, 214, 0.45);
}

.p-card__link {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	color: var(--navy);
	text-decoration: none;
}

.p-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.p-card__link:hover {
	color: var(--navy);
}

.p-card__link:hover .p-card__name {
	color: var(--electric);
}

.p-card__link:focus-visible {
	outline: none;
}

.p-card__link:focus-visible::after {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
}

.p-card__text {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.p-card__name {
	margin: 0;
	font-size: 1.15rem;
}

.p-card__tag {
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.45;
}

.p-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding-left: 88px;
}

.p-icon {
	display: block;
	flex: none;
	width: 72px;
	height: 72px;
	overflow: hidden;
	border-radius: 18px;
	background: var(--sky);
	box-shadow: 0 0 0 1px var(--line);
}

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

.p-icon--initials,
.p-icon.is-broken {
	display: grid;
	place-items: center;
	background: var(--disc);
	color: #fff;
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.p-icon.is-broken::before {
	content: attr(data-initials);
}

.p-icon.is-broken img {
	display: none;
}

.stage {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px 3px 8px;
	border-radius: 14px;
	background: var(--sky);
	color: var(--navy);
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.5;
}

.stage::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}

.stage--concept {
	background: #eef0f5;
	color: #4b5876;
}

.stage--development {
	background: #e3edff;
	color: #1847a8;
}

.stage--alpha {
	background: #efe6ff;
	color: #5b2bb5;
}

.stage--beta {
	background: #fff1dc;
	color: #8a4a00;
}

.stage--testing {
	background: #dff6ff;
	color: #0b5d7a;
}

.stage--live {
	background: #dcf5e7;
	color: var(--ok);
}

.p-card__age {
	display: inline-block;
	padding: 2px 9px;
	border: 1.5px solid #b3261e;
	border-radius: 6px;
	color: #b3261e;
	font-size: 0.75rem;
	font-weight: 800;
}

/* Spotlight: H8BIT.ORG */

.spotlight {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	gap: 32px 56px;
	align-items: center;
}

.spotlight__icon .p-icon {
	width: 200px;
	height: 200px;
	border-radius: 40px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 60px rgba(124, 192, 255, 0.35);
}

.spotlight__kicker {
	margin-bottom: 0.3em;
	color: var(--glow);
	font-weight: 700;
}

.spotlight__title {
	font-size: var(--step-5);
	letter-spacing: -0.03em;
}

.spotlight__text p {
	max-width: 62ch;
}

.spotlight__actions {
	margin-top: 24px;
}

/* Duo: featured public-interest projects */

.duo {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-top: 8px;
}

.duo__item {
	display: flex;
	gap: 20px;
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.05);
}

.duo__item .p-icon {
	width: 96px;
	height: 96px;
	border-radius: 22px;
}

.duo__name {
	margin-bottom: 0.3em;
	font-size: var(--step-2);
}

.duo__name a {
	color: #fff !important;
	text-decoration: none;
}

.duo__name a:hover {
	text-decoration: underline;
}

.duo__meta {
	margin: 0;
}

.duo__link {
	margin: 24px 0 0;
	color: #bfd6f5;
}

/* Features: Woolton and the poster */

.feature {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 32px 56px;
	align-items: center;
}

.feature--flip {
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
}

.feature__media {
	margin: 0;
}

.feature__media img {
	width: 100%;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.feature__media figcaption {
	margin-top: 10px;
	color: var(--muted);
	font-size: var(--step--1);
}

.feature__text p {
	max-width: 56ch;
}

.feature__poster {
	display: block;
	justify-self: center;
	width: 100%;
	max-width: 340px;
	text-decoration: none;
	transform: rotate(-2deg);
	transition: transform 0.2s ease;
}

.feature__poster:hover {
	transform: rotate(0deg) scale(1.01);
}

.label {
	display: inline-block;
	margin-bottom: 12px;
	padding: 4px 12px;
	border-radius: var(--pill);
	background: #fff1dc;
	color: #7a3f00;
	font-size: var(--step--1);
	font-weight: 800;
}

/* White Mesa factory */

.factory {
	text-align: center;
}

.factory__pair {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	max-width: 860px;
	margin: 8px auto 28px;
}

.factory__side {
	padding: 24px;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow);
}

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

.factory__side .factory__name {
	margin-bottom: 6px;
	color: var(--navy);
	font-size: var(--step-2);
	font-weight: 800;
}

.factory__arrow {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--disc);
	color: #fff;
}

/* People */

.people-band {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px 56px;
	align-items: center;
}

.faces {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.face {
	display: grid;
	gap: 2px;
	text-align: center;
}

.face__img {
	width: 100%;
	aspect-ratio: 1;
	margin-bottom: 8px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(124, 192, 255, 0.5);
}

.face__img--initials {
	display: grid;
	place-items: center;
	background: var(--disc);
	color: #fff;
	font-size: 1.6rem;
	font-weight: 800;
}

.face__name {
	font-weight: 700;
}

.face__role {
	color: var(--muted);
	font-size: var(--step--1);
}

/* News */

.news-list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.news-item {
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
}

.news-item__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin-bottom: 4px;
	color: var(--muted);
	font-size: var(--step--1);
}

.news-item__outlet {
	color: var(--navy);
	font-weight: 800;
}

.news-item__kind {
	padding: 0 8px;
	border-radius: var(--pill);
	background: var(--sky);
	font-weight: 600;
}

.news-item__title {
	margin: 0 0 4px;
	font-size: var(--step-1);
	line-height: 1.35;
}

.news-item__title a {
	color: var(--navy);
	text-decoration: none;
}

.news-item__title a:hover {
	color: var(--electric);
	text-decoration: underline;
}

.news-item__title .icon {
	margin-left: 6px;
	color: var(--electric);
}

.news-item__summary {
	margin: 0;
	color: var(--muted);
}

.news-list--row {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	border: 0;
}

.news-list--row .news-item {
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}

.investors-band p {
	max-width: 60ch;
	color: var(--muted);
}

.people-band:not(:has(.faces)) {
	grid-template-columns: minmax(0, 1fr);
}

/* ---------- Page heroes ---------- */

.page-hero {
	position: relative;
	padding-block: clamp(36px, 6vw, 72px) clamp(28px, 4vw, 48px);
	background:
		radial-gradient(45% 80% at 88% 40%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%),
		radial-gradient(40% 60% at 0% 0%, rgba(124, 192, 255, 0.3), rgba(124, 192, 255, 0) 70%);
	border-bottom: 1px solid var(--line);
}

.page-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px 48px;
	align-items: center;
}

.page-hero__title {
	margin-bottom: 0.3em;
	font-size: var(--step-5);
	letter-spacing: -0.03em;
}

.page-hero__lead {
	max-width: 60ch;
	margin: 0;
	color: var(--navy-2);
	font-size: var(--step-1);
	line-height: 1.5;
}

.page-hero__bird {
	width: 150px;
	opacity: 0.95;
	filter: drop-shadow(0 12px 20px rgba(11, 61, 150, 0.18));
}

.crumbs {
	margin-bottom: 10px;
	font-size: var(--step--1);
	font-weight: 700;
}

.crumbs a {
	text-decoration: none;
}

.crumbs a::before {
	content: "← ";
}

.crumbs a:hover {
	text-decoration: underline;
}

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

.prose {
	max-width: 70ch;
}

.prose--wide {
	max-width: 900px;
}

.prose > * + h2 {
	margin-top: 1.8em;
}

.prose > * + h3 {
	margin-top: 1.5em;
}

.prose h2 {
	font-size: var(--step-3);
}

.prose h3 {
	font-size: var(--step-2);
}

.prose ul,
.prose ol {
	padding-left: 1.3em;
}

.prose li + li {
	margin-top: 0.35em;
}

.prose li::marker {
	color: var(--electric);
}

.prose .is-lead {
	color: var(--navy-2);
	font-size: var(--step-1);
	font-weight: 500;
	line-height: 1.55;
}

.prose .is-note,
.is-note {
	padding: 14px 18px;
	border-left: 4px solid #e8a23a;
	border-radius: 0 var(--radius-s) var(--radius-s) 0;
	background: #fff6e8;
	color: #4a3410;
	font-size: 0.95rem;
}

.prose blockquote,
.prose .wp-block-quote {
	margin: 1.5em 0;
	padding: 4px 0 4px 20px;
	border-left: 4px solid var(--electric);
	font-size: var(--step-1);
	font-style: italic;
	font-weight: 500;
}

.prose figure,
.prose .wp-block-image {
	margin: 1.6em 0;
}

.prose .wp-block-image img,
.prose figure img {
	width: 100%;
	border-radius: var(--radius-s);
	box-shadow: var(--shadow);
}

.wp-element-caption,
.prose figcaption {
	margin-top: 8px;
	color: var(--muted);
	font-size: var(--step--1);
	line-height: 1.45;
}

.prose .wp-block-image.is-screen img,
.prose .wp-block-image.is-tall img {
	width: auto;
	max-height: 640px;
	margin-inline: auto;
}

/* Two pictures side by side. Classic themes wrap group contents in an inner container. */
.prose .wp-block-group.phone-row,
.prose .wp-block-group.concept-row {
	margin: 1.6em 0;
}

.prose :is(.phone-row, .concept-row):not(:has(> .wp-block-group__inner-container)),
.prose :is(.phone-row, .concept-row) > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	align-items: start;
}

.prose .wp-block-group.phone-row {
	max-width: 620px;
}

.prose .wp-block-group .wp-block-image {
	margin: 0;
}

.prose .wp-block-image.is-item img {
	width: 100%;
	max-height: none;
}

.prose .wp-block-video video {
	width: 100%;
	border-radius: var(--radius-s);
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.prose th,
.prose td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.empty {
	color: var(--muted);
}

.empty--big {
	padding: 48px 0;
	font-size: var(--step-2);
	font-weight: 600;
	text-align: center;
}

.caution {
	max-width: 70ch;
	margin-top: 32px;
	color: var(--muted);
	font-size: var(--step--1);
}

.notice-banner {
	max-width: 900px;
	margin-bottom: 32px;
	padding: 16px 20px;
	border: 1px solid #f0c27b;
	border-radius: var(--radius-s);
	background: #fff6e8;
	color: #4a3410;
}

.notice-banner p {
	margin: 0;
}

/* ---------- Services ---------- */

.service-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.service-list__link {
	display: flex;
	gap: 16px;
	height: 100%;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	color: var(--navy);
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.service-list__link:hover {
	border-color: rgba(11, 95, 214, 0.5);
	box-shadow: var(--shadow);
	color: var(--navy);
}

.service-list__text {
	display: grid;
	gap: 4px;
}

.service-list__name {
	font-size: 1.1rem;
	font-weight: 800;
	line-height: 1.25;
}

.service-list__link:hover .service-list__name {
	color: var(--electric);
}

.service-list__summary {
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.5;
}

.service-hero,
.project-hero {
	padding-block: clamp(32px, 5vw, 64px);
	background:
		radial-gradient(40% 90% at 12% 50%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%),
		radial-gradient(40% 70% at 100% 0%, rgba(124, 192, 255, 0.32), rgba(124, 192, 255, 0) 70%);
	border-bottom: 1px solid var(--line);
}

.service-hero__inner,
.project-hero__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 24px 40px;
	align-items: center;
}

.service-hero__icon {
	display: grid;
	place-items: center;
	width: clamp(96px, 14vw, 168px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--disc);
	box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.85), 0 0 0 10px rgba(124, 192, 255, 0.4), 0 0 60px rgba(124, 192, 255, 0.6);
	color: #fff;
}

.service-hero__icon .icon {
	width: 46%;
	height: 46%;
	stroke-width: 1.4;
}

.service-hero__title,
.project-hero__title {
	margin-bottom: 0.25em;
	font-size: var(--step-5);
	letter-spacing: -0.03em;
}

.service-hero__summary,
.project-hero__tag {
	max-width: 56ch;
	margin-bottom: 0.6em;
	color: var(--navy-2);
	font-size: var(--step-1);
	line-height: 1.5;
}

.service-hero__promise {
	color: var(--electric);
	font-style: italic;
	font-weight: 800;
}

.service-hero__mail {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.service-body,
.project-body,
.careers,
.investors,
.donate-body,
.contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
	gap: 40px 64px;
	align-items: start;
	padding-block: clamp(40px, 6vw, 72px);
}

.service-body__side,
.careers__form,
.investors__side,
.donate-body__form,
.contact__side,
.project-body__side {
	position: sticky;
	top: calc(var(--header-h) + 20px);
}

.service-section {
	margin-top: 48px;
}

.service-section h2 {
	font-size: var(--step-3);
}

.scale-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.scale-list li {
	position: relative;
	padding: 14px 16px 14px 44px;
	border-radius: var(--radius-s);
	background: #fff;
	box-shadow: 0 0 0 1px var(--line);
	line-height: 1.45;
}

.scale-list li::before {
	content: "";
	position: absolute;
	left: 16px;
	top: 18px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--disc);
	box-shadow: 0 0 0 3px rgba(124, 192, 255, 0.35);
}

.scale-list__note {
	margin-top: 12px;
	color: var(--muted);
	font-size: var(--step--1);
}

.steps {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.steps li {
	position: relative;
	padding: 0 0 22px 56px;
	counter-increment: step;
}

.steps li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: -2px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--navy);
	color: #fff;
	font-weight: 800;
}

.steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 17px;
	top: 38px;
	bottom: 2px;
	width: 2px;
	background: var(--line-strong);
}

.steps strong {
	display: block;
}

/* ---------- Project page ---------- */

.project-hero__icon .p-icon {
	width: clamp(110px, 15vw, 180px);
	height: clamp(110px, 15vw, 180px);
	border-radius: 32px;
	box-shadow: 0 0 0 1px var(--line), 0 20px 40px -20px rgba(11, 61, 150, 0.6);
}

.project-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.project-body__side {
	padding: 22px;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow);
}

.facts__title {
	font-size: var(--step-1);
}

.facts {
	margin: 0;
}

.facts > div {
	padding: 12px 0;
	border-top: 1px solid var(--line);
}

.facts dt {
	color: var(--muted);
	font-size: 0.8rem;
	font-weight: 700;
}

.facts dd {
	margin: 2px 0 0;
	font-weight: 600;
}

.facts__soon {
	color: var(--muted);
	font-weight: 400;
}

.track {
	display: grid;
	gap: 0;
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.track__step {
	position: relative;
	padding: 3px 0 3px 26px;
	color: var(--muted);
	font-size: 0.9rem;
	font-weight: 500;
}

.track__step::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 50%;
	width: 12px;
	height: 12px;
	border: 2px solid var(--line-strong);
	border-radius: 50%;
	background: #fff;
	transform: translateY(-50%);
}

.track__step:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 8px;
	top: calc(50% + 7px);
	height: calc(100% - 14px);
	width: 2px;
	background: var(--line);
}

.track__step.is-done {
	color: var(--navy);
}

.track__step.is-done::before {
	border-color: var(--electric);
	background: var(--electric);
}

.track__step.is-here {
	color: var(--navy);
	font-weight: 800;
}

.track__step.is-here::before {
	border-color: var(--electric);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(11, 95, 214, 0.2);
}

/* ---------- Forms ---------- */

.enquiry-card,
.gate {
	padding: clamp(20px, 3vw, 28px);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow);
}

.enquiry-card + .enquiry-card,
.company-card + .enquiry-card {
	margin-top: 20px;
}

.enquiry-card__title,
.gate__title {
	font-size: var(--step-2);
}

.enquiry-card__to {
	color: var(--muted);
	font-size: 0.92rem;
	overflow-wrap: anywhere;
}

.form {
	display: grid;
	gap: 16px;
}

.form p {
	margin: 0;
}

.field {
	display: grid;
	gap: 6px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.field label,
.field legend {
	padding: 0;
	font-size: 0.92rem;
	font-weight: 700;
}

.field__optional {
	color: var(--muted);
	font-weight: 500;
}

.field__help {
	margin: 0;
	color: var(--muted);
	font-size: 0.85rem;
}

.field-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	align-items: end;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="url"],
.form input[type="file"],
.form select,
.form textarea,
.gate select {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1.5px solid #b9c6dc;
	border-radius: var(--radius-s);
	background: #fbfdff;
	color: var(--navy);
	font: inherit;
	font-size: 1rem;
}

.form textarea {
	min-height: 130px;
	resize: vertical;
}

.form input[type="file"] {
	padding: 9px;
	font-size: 0.9rem;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
	border-color: var(--electric);
	outline: 3px solid rgba(11, 95, 214, 0.25);
	outline-offset: 0;
}

.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 1px;
}

.form .btn,
.gate .btn {
	width: 100%;
}

.field--check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.field--check label,
.check {
	font-weight: 500;
	line-height: 1.45;
	cursor: pointer;
}

.check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.field--check label {
	font-size: 0.92rem;
}

.field--check input,
.check input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--electric);
}

.checks {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 8px 14px;
	max-height: 260px;
	overflow-y: auto;
	padding: 4px 2px;
	font-size: 0.9rem;
}

.checks--wide {
	max-height: none;
	overflow: visible;
}

.form__trap {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-status {
	margin: 0 0 16px;
	padding: 12px 16px;
	border-radius: var(--radius-s);
	font-weight: 600;
}

.form-status--success {
	border: 1px solid #9bd8b6;
	background: #e9f8f0;
	color: #0b5a37;
}

.form-status--error {
	border: 1px solid #f0aaa4;
	background: #fdeceb;
	color: #8a1c15;
}

.form-band {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 32px 56px;
	align-items: start;
}

.form-band .form {
	padding: clamp(20px, 3vw, 28px);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow);
}

/* ---------- Team ---------- */

.team-group + .team-group {
	margin-top: 56px;
}

.people {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 28px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.person {
	display: flex;
	flex-direction: column;
}

.person__photo {
	width: 100%;
	max-width: 220px;
	aspect-ratio: 1;
	margin-bottom: 14px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 5px #fff, 0 0 0 7px rgba(124, 192, 255, 0.5);
}

.person__photo--initials {
	display: grid;
	place-items: center;
	background: var(--disc);
	color: #fff;
	font-size: 2.4rem;
	font-weight: 800;
}

.person__name {
	margin-bottom: 2px;
	font-size: var(--step-1);
}

.person__role {
	margin-bottom: 8px;
	color: var(--electric);
	font-weight: 700;
}

.person__bio {
	color: var(--muted);
	font-size: 0.95rem;
}

.person__bio p {
	margin-bottom: 0.6em;
}

.person__links {
	display: flex;
	gap: 14px;
	font-weight: 700;
	font-size: 0.92rem;
}

/* ---------- Careers ---------- */

.jobs {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.job {
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}

.job__title {
	margin-bottom: 4px;
	font-size: var(--step-1);
}

.job__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.job__meta span {
	padding: 2px 10px;
	border-radius: var(--pill);
	background: var(--sky);
	font-size: 0.82rem;
	font-weight: 700;
}

.job__body p {
	margin-bottom: 0.6em;
}

.careers__main > section {
	margin-top: 40px;
}

/* ---------- Donate ---------- */

.donate-hero {
	padding-block: clamp(32px, 5vw, 64px);
	background:
		radial-gradient(50% 80% at 20% 40%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%),
		radial-gradient(40% 60% at 100% 0%, rgba(124, 192, 255, 0.3), rgba(124, 192, 255, 0) 70%);
	border-bottom: 1px solid var(--line);
}

.donate-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
	gap: 32px 64px;
	align-items: center;
}

.give-list {
	display: grid;
	gap: 10px;
	margin: 20px 0 24px;
	padding: 0;
	list-style: none;
}

.give-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
}

.give-list .icon {
	width: 40px;
	height: 40px;
	padding: 8px;
	border-radius: 50%;
	background: var(--disc);
	color: #fff;
}

.downloads {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin-top: 20px;
	font-size: 0.92rem;
}

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

/* The poster, after a vintage recruitment poster, with the Liver bird pointing the way. */

.poster {
	container-type: inline-size;
	width: 100%;
	max-width: 420px;
	aspect-ratio: 210 / 297;
	padding: 3.2%;
	background: #f4ecd8;
	box-shadow: 0 24px 50px -24px rgba(11, 31, 77, 0.55), 0 0 0 1px rgba(11, 31, 77, 0.08);
	color: var(--navy);
}

.poster__frame {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	padding: 6% 6% 5%;
	border: 1.2cqi solid var(--navy);
	outline: 0.5cqi solid var(--navy);
	outline-offset: -2.6cqi;
	text-align: center;
	background:
		radial-gradient(70% 45% at 50% 42%, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0) 70%);
}

.poster p {
	margin: 0;
	line-height: 1;
}

.poster__top {
	font-size: 5.2cqi;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.poster__top span,
.poster__needs span {
	color: #c8102e;
}

.poster__bird {
	width: 56%;
	margin: 1cqi 0;
}

.poster__bird img {
	width: 100%;
}

.poster__we {
	color: #c8102e;
	font-size: 15cqi;
	font-weight: 900;
	font-style: italic;
	letter-spacing: -0.03em;
}

.poster__your {
	font-size: 7.6cqi;
	font-weight: 900;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	line-height: 1.05 !important;
}

.poster__and {
	font-size: 5cqi;
	font-weight: 800;
	line-height: 1.15 !important;
}

.poster__needs {
	padding-top: 2.4cqi;
	border-top: 0.6cqi solid var(--navy);
	font-size: 4.9cqi;
	white-space: nowrap;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

.poster--small {
	max-width: 340px;
}

/* ---------- Investors ---------- */

.investors__main > * + * {
	margin-top: 40px;
}

.glance {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.glance__item {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	padding: 12px 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
	background: #fff;
	color: var(--navy);
	font-weight: 700;
	text-decoration: none;
}

.glance__item:hover {
	border-color: var(--electric);
	color: var(--electric);
}

.glance__n {
	color: var(--electric);
	font-size: 1.6rem;
	font-weight: 850;
	line-height: 1;
}

.gate fieldset {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}

.gate legend {
	margin-bottom: 8px;
	font-weight: 700;
}

.gate fieldset .field--check {
	margin-bottom: 10px;
	padding: 12px 14px;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius-s);
}

.gate fieldset .field--check:has(input:checked) {
	border-color: var(--electric);
	background: #f1f7ff;
}

.gate > .field--check {
	margin-bottom: 16px;
}

.risk {
	padding: 20px 22px;
	border: 1.5px solid #e8a23a;
	border-radius: var(--radius-s);
	background: #fff8ec;
	color: #3d2b0c;
	font-size: 0.95rem;
}

.risk__title {
	color: #7a3f00;
	font-size: var(--step-1);
}

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

.company-card {
	padding: 22px;
	border-radius: var(--radius);
	background: var(--navy);
	color: #e7f1ff;
}

.company-card__title {
	color: #fff;
	font-size: var(--step-1);
}

.company-card dl,
.addresses {
	margin: 0;
}

.company-card dl > div,
.addresses > div {
	padding: 10px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.company-card dt,
.addresses dt {
	font-size: 0.78rem;
	font-weight: 700;
	opacity: 0.8;
}

.company-card dd,
.addresses dd {
	margin: 2px 0 0;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.company-card a {
	color: #bfe0ff;
}

/* ---------- News page ---------- */

.news {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 48px 64px;
	align-items: start;
}

.news__coverage {
	grid-row: span 2;
}

.posts {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.post-row {
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}

.post-row time {
	color: var(--muted);
	font-size: var(--step--1);
	font-weight: 600;
}

.post-row__title {
	margin: 2px 0 4px;
	font-size: var(--step-1);
}

.post-row__title a {
	color: var(--navy);
	text-decoration: none;
}

.post-row__title a:hover {
	color: var(--electric);
	text-decoration: underline;
}

.post-row p {
	margin: 0;
	color: var(--muted);
}

.press-kit {
	padding: 24px;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow);
}

.press-kit__files {
	padding-left: 1.2em;
}

.press-kit__company {
	color: var(--muted);
	font-size: 0.88rem;
}

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

.contact__side .section-title--small {
	margin-top: 8px;
	font-size: var(--step-2);
}

.addresses > div {
	border-top-color: var(--line);
}

.addresses dt {
	color: var(--muted);
	opacity: 1;
}

.contact__hint {
	margin-top: 12px;
	color: var(--muted);
	font-size: 0.92rem;
}

.office {
	font-style: normal;
	font-weight: 600;
}

.contact__side .section-title--small + .office,
.addresses + .contact__hint + .section-title--small {
	margin-top: 32px;
}

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

.site-footer {
	margin-top: clamp(32px, 6vw, 72px);
	color: #cfe0f8;
}

.skyline {
	display: block;
	width: 100%;
	height: clamp(96px, 13vw, 190px);
	color: var(--navy);
	margin-bottom: -1px;
}

.skyline__front {
	fill: var(--navy);
}

.skyline__back {
	fill: #45689f;
	opacity: 0.55;
}

.skyline__clock {
	fill: #9fd2ff;
}

.skyline__water {
	fill: var(--navy);
}

.skyline__ripples {
	fill: none;
	stroke: rgba(159, 210, 255, 0.45);
	stroke-width: 2;
	stroke-linecap: round;
}

.site-footer__body {
	padding: 24px var(--gutter) 32px;
	background: var(--navy);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, 0.8fr);
	gap: 40px 56px;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer a {
	color: #e3efff;
	text-decoration: none;
}

.site-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.site-footer__strap {
	margin-top: 16px;
	color: #9fb8dc;
	font-style: italic;
	font-weight: 600;
}

.site-footer__mail {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.site-footer__heading {
	margin-bottom: 14px;
	color: #fff;
	font-size: 1rem;
	letter-spacing: 0;
}

.site-footer__heading a {
	color: #fff;
}

.site-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__services ul {
	columns: 2;
	column-gap: 28px;
}

.site-footer__services li,
.site-footer__explore li {
	padding: 4px 0;
	break-inside: avoid;
	font-size: 0.9rem;
	line-height: 1.4;
}

.site-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	font-size: 0.9rem;
}

.site-footer__legal {
	max-width: var(--wrap);
	margin: 24px auto 0;
	color: #9fb8dc;
	font-size: 0.82rem;
}

.site-footer__company {
	max-width: 90ch;
}

.site-footer__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin: 0;
}

.site-footer :focus-visible,
.band--navy :focus-visible {
	outline-color: var(--focus);
}

/* ---------- Comments and misc ---------- */

.pagination,
.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 32px;
}

.page-numbers {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	border-radius: var(--pill);
	background: #fff;
	font-weight: 700;
	text-decoration: none;
}

.page-numbers.current {
	background: var(--navy);
	color: #fff;
}

.alignwide {
	max-width: 1000px;
}

.aligncenter {
	margin-inline: auto;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
	.service-body,
	.project-body,
	.careers,
	.investors,
	.donate-body,
	.contact,
	.news {
		grid-template-columns: minmax(0, 1fr);
	}

	.service-body__side,
	.careers__form,
	.investors__side,
	.donate-body__form,
	.contact__side,
	.project-body__side {
		position: static;
	}

	.news__coverage {
		grid-row: auto;
	}

	.promise,
	.feature,
	.feature--flip,
	.people-band,
	.form-band {
		grid-template-columns: minmax(0, 1fr);
	}

	.promise__title {
		grid-row: auto;
	}

	.feature--flip .feature__poster {
		order: 2;
	}

	.band__head {
		grid-template-columns: minmax(0, 1fr);
	}

	.news-list--row {
		grid-template-columns: minmax(0, 1fr);
	}

	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.site-footer__about {
		grid-column: 1 / -1;
	}
}

@media (max-width: 700px) {
	:root {
		--header-h: 64px;
	}

	body {
		font-size: 1rem;
	}

	.hero__title {
		font-size: clamp(1.9rem, 8.4vw, 2.4rem);
	}

	.hero__sub {
		font-size: 1.08rem;
	}

	.page-hero__inner {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.page-hero__bird {
		width: 72px;
		align-self: start;
	}

	.service-hero__inner,
	.project-hero__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.service-hero__icon {
		width: 96px;
	}

	.spotlight {
		grid-template-columns: minmax(0, 1fr);
	}

	.spotlight__icon .p-icon {
		width: 120px;
		height: 120px;
		border-radius: 28px;
	}

	.duo {
		grid-template-columns: minmax(0, 1fr);
	}

	.duo__item {
		flex-direction: column;
	}

	.donate-hero__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.donate-hero .poster {
		max-width: 320px;
		margin-inline: auto;
	}

	.field-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.p-grid,
	.p-grid--compact,
	.service-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.bubble-grid,
	.bubble-grid--three {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.bubble-grid .bubble {
		gap: 8px;
		min-height: 52px;
		padding: 5px 10px 5px 5px;
		border-radius: 26px;
		font-size: 0.8rem;
		hyphens: auto;
	}

	.bubble-grid .bubble__icon {
		width: 38px;
		height: 38px;
	}

	.bubble-grid .bubble__icon .icon {
		width: 20px;
		height: 20px;
	}

	.p-card__meta {
		padding-left: 0;
	}

	.factory__pair {
		grid-template-columns: minmax(0, 1fr);
	}

	.factory__arrow {
		justify-self: center;
		transform: rotate(90deg);
	}

	.faces {
		gap: 10px;
	}

	.promise__scale li {
		grid-template-columns: minmax(0, 1fr);
		gap: 2px;
	}

	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.site-footer__services ul {
		columns: 1;
	}

	.prose .concept-row:not(:has(> .wp-block-group__inner-container)),
	.prose .concept-row > .wp-block-group__inner-container {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- Motion ---------- */

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

	.feature__poster {
		transform: none;
	}
}

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

/* ---------- Print ---------- */

@media print {
	.site-header,
	.site-footer,
	.hero__bar,
	.orbit,
	.enquiry-card,
	.form {
		display: none !important;
	}

	body {
		background: #fff;
	}
}
