/* ==========================================================================
   White Mesa
   Design notes
   - Everything comes from the emblem: a black aperture, a blue sky, a white
     mesa, and a lens flare along the horizon. The horizon line is the system:
     it runs edge to edge through the hero, separates the catalogue rows,
     joins the release stages and underlines the header once you scroll.
   - White page (it is White Mesa), true black, two blues from the emblem.
     Liverpool AI Labs gets its own ice-blue section and navy, from its flyer.
   - One family, Saira, used across its width axis: expanded (125%) for
     headings like the wordmark, normal width for reading.
   - Buttons carry the mesa's sloped right edge.
   - One orchestrated moment: on first load the flare draws out from the
     aperture to both edges of the screen. Nothing else moves on its own.
   ========================================================================== */

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

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

:root {
	/* Colour */
	--white: #ffffff;
	--black: #000000;
	--mist: #f2f6fa;          /* quiet bands */
	--steel: #4a5563;         /* secondary text, 7.4:1 on white */
	--rule: #d5dde7;
	--blue: #0a66ff;          /* emblem sky, top */
	--cyan: #00c8ff;          /* emblem sky, bottom; the flare */
	--flare: rgba(0, 184, 255, 0.6);
	--ice: #e7f1fc;           /* Liverpool AI Labs */
	--navy: #0b1f45;
	--lab-blue: #1e5fd8;

	/* Horizon line, used as a divider everywhere */
	--horizon: linear-gradient(90deg, rgba(0, 150, 255, 0) 0%, rgba(0, 150, 255, 0.42) 50%, rgba(0, 150, 255, 0) 100%);
	--horizon-strong: linear-gradient(90deg, rgba(0, 184, 255, 0) 0%, #00b8ff 50%, rgba(0, 184, 255, 0) 100%);

	/* Type */
	--font: "Saira", "Segoe UI", system-ui, -apple-system, sans-serif;
	--step--1: 0.875rem;
	--step-0: 1.0625rem;
	--step-1: 1.25rem;
	--step-2: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
	--step-3: clamp(1.75rem, 1.35rem + 1.4vw, 2.375rem);
	--step-4: clamp(2.125rem, 1.4rem + 2.6vw, 3.375rem);
	--step-5: clamp(2.25rem, 1.2rem + 3.6vw, 4.5rem);

	/* Layout */
	--wrap: 76rem;
	--gutter: clamp(1.25rem, 4vw, 3rem);
	--header-h: 4.5rem;
	--section: clamp(4.5rem, 9vw, 8rem);
}

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

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

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--step-0);
	font-weight: 410;
	font-stretch: 100%;
	line-height: 1.62;
	color: var(--black);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-weight: 600;
	font-stretch: 125%;
	line-height: 1.1;
	letter-spacing: -0.012em;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
	text-wrap: pretty;
}

a {
	color: var(--blue);
	text-underline-offset: 0.2em;
}

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

::selection {
	background: var(--cyan);
	color: var(--black);
}

.wrap {
	width: min(var(--wrap), 100% - 2 * var(--gutter));
	margin-inline: auto;
}

.wrap--text {
	--wrap: 46rem;
}

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

.skip-link:focus {
	position: fixed !important;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 100;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.75rem 1.25rem;
	clip: auto;
	clip-path: none;
	background: var(--black);
	color: var(--white);
	font-weight: 600;
	text-decoration: none;
}

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

.btn {
	--cut: 0.95rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 3rem;
	padding: 0.7rem calc(1.35rem + var(--cut)) 0.7rem 1.35rem;
	border: 0;
	border-radius: 0;
	font: inherit;
	font-size: 1rem;
	font-weight: 600;
	font-stretch: 112%;
	line-height: 1.1;
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

/* The mesa: flat top, sloped right side. */
.btn--mesa {
	background: var(--black);
	color: var(--white);
	clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% 100%, 0 100%);
}

.btn--mesa:hover {
	background: var(--blue);
	color: var(--white);
}

.btn--mesa:focus-visible {
	clip-path: none;
}

.btn--navy {
	background: var(--navy);
}

.btn--navy:hover {
	background: var(--lab-blue);
}

.btn--outline {
	padding-right: 1.35rem;
	background: transparent;
	color: var(--black);
	box-shadow: inset 0 0 0 2px var(--black);
}

.btn--outline:hover {
	background: var(--black);
	color: var(--white);
}

.btn--small {
	--cut: 0.75rem;
	min-height: 2.5rem;
	padding: 0.45rem calc(1rem + var(--cut)) 0.45rem 1rem;
	font-size: 0.9375rem;
}

.text-link {
	color: var(--black);
	font-weight: 600;
	font-stretch: 112%;
	text-decoration: underline;
	text-decoration-color: var(--blue);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.35em;
	transition: color 0.2s ease;
}

.text-link:hover {
	color: var(--blue);
}

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.9);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
}

.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.site-header::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	background: var(--horizon-strong);
	opacity: 1;
	transition: opacity 0.3s ease;
}

.home .site-header:not(.is-scrolled)::after {
	opacity: 0;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
}

.brand__mark {
	display: block;
	width: 36px;
	height: 36px;
}

.brand__wordmark {
	display: block;
	width: 190px;
	height: auto;
}

.brand--custom img {
	display: block;
	width: auto;
	max-height: 44px;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 2.25rem;
}

.site-nav__list {
	display: flex;
	gap: 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list li {
	position: relative;
}

.site-nav__list a {
	display: inline-block;
	padding: 0.4rem 0;
	color: var(--black);
	font-size: 0.96875rem;
	font-weight: 520;
	font-stretch: 112%;
	text-decoration: none;
	background-image: linear-gradient(90deg, var(--blue), var(--cyan));
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0 2px;
	transition: background-size 0.25s ease;
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a {
	background-size: 100% 2px;
}

.site-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: -1rem;
	display: none;
	min-width: 13rem;
	margin: 0;
	padding: 0.5rem 1rem;
	list-style: none;
	background: var(--white);
	box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--rule);
}

.site-nav__list li:hover > .sub-menu,
.site-nav__list li:focus-within > .sub-menu {
	display: block;
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 0.6rem;
	min-height: 2.75rem;
	padding: 0.5rem 0;
	border: 0;
	background: none;
	color: var(--black);
	font: inherit;
	font-weight: 600;
	font-stretch: 112%;
	cursor: pointer;
}

.nav-toggle__icon {
	display: grid;
	gap: 5px;
	width: 22px;
}

.nav-toggle__icon i {
	display: block;
	height: 2px;
	background: currentColor;
	transition: transform 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon i:first-child {
	transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon i:last-child {
	transform: translateY(-3.5px) rotate(-45deg);
}

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

	.js .site-nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 1.5rem;
		padding: 0.5rem var(--gutter) 2rem;
		background: var(--white);
		box-shadow: 0 30px 40px -30px rgba(0, 0, 0, 0.3);
	}

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

	.js .site-nav__list {
		flex-direction: column;
		gap: 0;
	}

	.js .site-nav__list a {
		display: block;
		padding: 1rem 0;
		border-bottom: 1px solid var(--rule);
		font-size: 1.25rem;
		background: none;
	}

	.js .site-nav__list .sub-menu {
		position: static;
		display: block;
		padding: 0 0 0 1rem;
		box-shadow: none;
	}

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

	html:not(.js) .site-header__inner {
		flex-wrap: wrap;
		height: auto;
		padding-block: 1rem;
	}

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

/* --------------------------------------------------------------------------
   Hero: the aperture on the horizon
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-content: center;
	min-height: calc(100vh - var(--header-h));
	min-height: calc(100svh - var(--header-h));
	padding-block: clamp(1rem, 4vh, 3rem) clamp(3.5rem, 8vh, 6rem);
	overflow: clip;
	text-align: center;
}

.hero__horizon {
	position: relative;
	display: flex;
	min-width: 0;
	justify-content: center;
	margin-bottom: clamp(1.25rem, 4vh, 2.75rem);
}

/* The flare carries on past the image, to both edges of the screen. */
.hero__horizon::before,
.hero__horizon::after {
	content: "";
	position: absolute;
	top: calc(51.1% - 1px);
	width: 50%;
	height: 2px;
	pointer-events: none;
}

.hero__horizon::before {
	left: 0;
	background: linear-gradient(90deg, rgba(0, 184, 255, 0) 0%, rgba(0, 184, 255, 0.5) 45%, #22c9ff 100%);
	box-shadow: 0 0 6px rgba(0, 184, 255, 0.45);
	transform-origin: 100% 50%;
}

.hero__horizon::after {
	right: 0;
	background: linear-gradient(270deg, rgba(0, 184, 255, 0) 0%, rgba(0, 184, 255, 0.5) 45%, #22c9ff 100%);
	box-shadow: 0 0 6px rgba(0, 184, 255, 0.45);
	transform-origin: 0 50%;
}

.hero__emblem {
	position: relative;
	z-index: 1;
	flex: none;
	display: block;
	width: clamp(540px, 60vw, 900px);
	height: auto;
}

.hero__copy {
	width: min(72rem, 100% - 2 * var(--gutter));
	margin-inline: auto;
}

.hero__title {
	margin-bottom: 0.6em;
	font-size: clamp(2rem, 0.9rem + 3vw, 3.75rem);
	font-weight: 600;
	font-stretch: 125%;
	line-height: 1.06;
	letter-spacing: -0.02em;
}

.hero__title span {
	display: block;
}

.hero__intro {
	max-width: 40rem;
	margin: 0 auto 2.25rem;
	color: var(--steel);
	font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem 2rem;
	margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
	.js .has-hero-intro .hero__emblem {
		animation: wm-aperture 1.2s cubic-bezier(0.2, 0.7, 0.1, 1) both;
	}

	.js .has-hero-intro .hero__horizon::before,
	.js .has-hero-intro .hero__horizon::after {
		animation: wm-flare 1.5s cubic-bezier(0.25, 0.8, 0.1, 1) 0.45s both;
	}

	.js .has-hero-intro .hero__copy {
		animation: wm-rise 0.9s ease 0.95s both;
	}
}

@keyframes wm-aperture {
	from {
		opacity: 0;
		transform: scale(0.94);
		filter: brightness(1.5) blur(6px);
	}

	to {
		opacity: 1;
		transform: none;
		filter: none;
	}
}

@keyframes wm-flare {
	from {
		opacity: 0;
		transform: scaleX(0);
	}

	to {
		opacity: 1;
		transform: scaleX(1);
	}
}

@keyframes wm-rise {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* --------------------------------------------------------------------------
   Section headings
   -------------------------------------------------------------------------- */

.section-head {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 1rem 4rem;
	align-items: end;
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-head__title {
	margin: 0;
	font-size: var(--step-4);
}

.section-head__text {
	max-width: 34rem;
	margin: 0;
	color: var(--steel);
	font-size: 1.125rem;
}

.section-head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
}

@media (max-width: 800px) {
	.section-head {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Catalogue
   -------------------------------------------------------------------------- */

.catalogue {
	padding-block: var(--section);
}

.catalogue--archive {
	padding-block: 1rem var(--section);
}

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

.app-list::before,
.app-row::after {
	content: "";
	position: absolute;
	right: 0;
	left: 0;
	height: 1px;
	background: var(--horizon);
}

.app-list::before {
	top: 0;
}

.app-row::after {
	bottom: 0;
}

.app-row {
	position: relative;
	display: grid;
	grid-template-columns: 5.25rem 6.75rem minmax(0, 1fr) 14rem;
	align-items: center;
	column-gap: clamp(1rem, 2.6vw, 2.75rem);
	padding-block: 1.6rem;
	transition: background-color 0.3s ease;
}

.app-row:hover {
	background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--app-accent) 7%, transparent) 50%, transparent);
}

.app-row__cat {
	color: var(--steel);
	font-size: 0.9375rem;
	font-weight: 520;
	font-stretch: 125%;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

.app-row__name {
	margin: 0 0 0.2em;
	font-size: var(--step-3);
}

.app-row__name a {
	color: var(--black);
	text-decoration: none;
}

/* The whole row opens the app. */
.app-row__name a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.app-row__name a:focus-visible {
	outline: none;
}

.app-row__name a:focus-visible::after {
	outline: 3px solid var(--blue);
	outline-offset: -3px;
}

.app-row__tagline {
	max-width: 36rem;
	margin: 0;
	font-size: 1.0625rem;
}

.app-row__platforms {
	margin: 0.35rem 0 0;
	color: var(--steel);
	font-size: 0.9375rem;
}

.app-row:hover .app-icon {
	transform: translateY(-3px);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 22px 46px -12px var(--app-accent);
}

@media (max-width: 860px) {
	.app-row {
		grid-template-columns: 5.5rem minmax(0, 1fr);
		grid-template-areas:
			"icon cat"
			"icon main"
			"icon stage";
		row-gap: 0.35rem;
		align-items: start;
	}

	.app-row__icon {
		grid-area: icon;
	}

	.app-row__cat {
		grid-area: cat;
		font-size: 0.875rem;
	}

	.app-row__main {
		grid-area: main;
	}

	.app-row__stage {
		grid-area: stage;
		margin-top: 0.6rem;
	}

	.app-row__name {
		font-size: 1.5rem;
	}
}

.catalogue__more {
	margin: 2.5rem 0 0;
}

/* App icon tile, and the aperture monogram for apps without artwork yet. */
.app-icon {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 23%;
	background: var(--black);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 14px 32px -16px var(--app-accent, var(--cyan));
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.app-icon--monogram {
	position: relative;
	display: grid;
	place-items: center;
	container-type: inline-size;
	background: radial-gradient(circle at 50% 30%, #0f1a2b 0%, var(--black) 70%);
	color: var(--white);
}

.app-icon__ring {
	position: absolute;
	inset: 17%;
	border: 2px solid var(--app-accent, var(--cyan));
	border-radius: 50%;
	box-shadow: 0 0 16px -2px var(--app-accent, var(--cyan)), inset 0 0 12px -4px var(--app-accent, var(--cyan));
}

.app-icon__letters {
	position: relative;
	font-size: 1.6rem;
	font-size: 24cqi;
	font-weight: 640;
	font-stretch: 125%;
	letter-spacing: -0.02em;
	line-height: 1;
}

/* Stage gauge: four segments, filled up to the current stage. */
.gauge {
	display: grid;
	justify-items: start;
	gap: 0.45rem;
}

.gauge__label {
	font-size: 0.9375rem;
	font-weight: 600;
	font-stretch: 112%;
}

.gauge__track {
	display: flex;
	gap: 4px;
}

.gauge__track i {
	display: block;
	width: 2.75rem;
	height: 4px;
	border-radius: 2px;
	background: var(--rule);
}

.gauge__track i.is-on {
	background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.gauge__track i.is-current {
	box-shadow: 0 0 10px 1px var(--flare);
}

/* --------------------------------------------------------------------------
   Stages: the release horizon
   -------------------------------------------------------------------------- */

.stages {
	padding-block: var(--section);
	background: var(--mist);
}

.stage-list {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.stage-list::before {
	content: "";
	position: absolute;
	top: 10px;
	right: calc(-1 * var(--gutter));
	left: calc(-1 * var(--gutter));
	height: 2px;
	background: linear-gradient(90deg, rgba(0, 184, 255, 0), #00b8ff 12%, #0a66ff 88%, rgba(10, 102, 255, 0));
	box-shadow: 0 0 8px var(--flare);
}

.stage {
	position: relative;
}

.stage__node {
	position: relative;
	z-index: 1;
	display: block;
	width: 22px;
	height: 22px;
	margin-bottom: 1.75rem;
	border: 3px solid var(--black);
	border-radius: 50%;
	background: var(--white);
	box-shadow: 0 0 0 5px var(--mist);
}

.stage.has-apps .stage__node {
	background: linear-gradient(180deg, var(--blue), var(--cyan));
	box-shadow: 0 0 0 5px var(--mist), 0 0 18px 3px var(--flare);
}

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

.stage__text {
	max-width: 22rem;
	color: var(--steel);
}

.stage__count {
	font-weight: 600;
	font-stretch: 112%;
	color: #0757e0; /* horizon blue, deepened to pass AA on mist */
}

.stage__count.is-empty {
	color: var(--steel);
	font-weight: 450;
}

@media (max-width: 860px) {
	.stage-list {
		grid-template-columns: 1fr;
		gap: 2.25rem;
	}

	.stage-list::before {
		top: 0;
		right: auto;
		bottom: 0;
		left: 10px;
		width: 2px;
		height: auto;
		background: linear-gradient(180deg, #00b8ff, #0a66ff);
	}

	.stage {
		padding-left: 3.25rem;
	}

	.stage__node {
		position: absolute;
		top: 0.2rem;
		left: 0;
		margin: 0;
	}
}

/* --------------------------------------------------------------------------
   Liverpool AI Labs
   -------------------------------------------------------------------------- */

.lab {
	padding-block: var(--section);
	color: var(--navy);
	background:
		radial-gradient(60rem 30rem at 12% 0%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 70%),
		radial-gradient(40rem 24rem at 100% 100%, rgba(0, 200, 255, 0.16), rgba(0, 200, 255, 0) 70%),
		var(--ice);
}

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

.lab__mark {
	margin: 0;
}

.lab__mark img {
	display: block;
	width: 100%;
	border-radius: 10px;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 34px 70px -34px rgba(11, 31, 69, 0.45);
}

.lab__mark figcaption {
	margin-top: 0.9rem;
	font-size: 0.9375rem;
}

.lab__mark figcaption a {
	color: var(--navy);
	text-decoration-color: var(--lab-blue);
}

.lab__title {
	margin-bottom: 0.4em;
	font-size: var(--step-4);
}

.lab__slogan {
	margin-bottom: 1rem;
	color: var(--lab-blue);
	font-size: var(--step-3);
	font-style: italic;
	font-weight: 700;
	font-stretch: 105%;
	line-height: 1.15;
	letter-spacing: -0.015em;
}

.lab__text {
	max-width: 38rem;
	font-size: 1.125rem;
}

.lab__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
	margin: 2rem 0 0;
}

.lab__actions .text-link {
	color: var(--navy);
	text-decoration-color: var(--lab-blue);
}

.lab__caps {
	margin-top: clamp(3.5rem, 7vw, 5.5rem);
	padding-top: 2.5rem;
	border-top: 1px solid rgba(11, 31, 69, 0.16);
}

.lab__caps-title {
	margin-bottom: 1.75rem;
	font-size: var(--step-2);
}

.caps-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem;
}

.caps__title {
	margin-bottom: 0.75rem;
	font-size: 1.0625rem;
	font-weight: 700;
	font-stretch: 112%;
	letter-spacing: 0;
}

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

.caps__list li {
	padding: 0.45rem 0;
	border-bottom: 1px solid rgba(11, 31, 69, 0.12);
	font-size: 0.96875rem;
	line-height: 1.4;
}

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

	.lab__mark {
		max-width: 26rem;
	}

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

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

/* --------------------------------------------------------------------------
   Lab notes (posts)
   -------------------------------------------------------------------------- */

.notes {
	padding-block: var(--section) 0;
}

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

.note-list::before,
.post-row::after {
	content: "";
	position: absolute;
	right: 0;
	left: 0;
	height: 1px;
	background: var(--horizon);
}

.note-list::before {
	top: 0;
}

.post-row {
	position: relative;
	display: grid;
	grid-template-columns: 10rem minmax(0, 1fr) 10rem;
	gap: 1.5rem 2.5rem;
	align-items: start;
	padding-block: 1.75rem;
}

.post-row::after {
	bottom: 0;
}

.post-row__date {
	padding-top: 0.35rem;
	color: var(--steel);
	font-size: 0.9375rem;
	font-variant-numeric: tabular-nums;
}

.post-row__title {
	margin-bottom: 0.35em;
	font-size: var(--step-2);
}

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

.post-row__title a:hover {
	color: var(--blue);
}

.post-row__excerpt {
	color: var(--steel);
}

.post-row__excerpt p {
	margin: 0;
}

.post-row__image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 4px;
}

@media (max-width: 760px) {
	.post-row {
		grid-template-columns: 1fr;
		gap: 0.4rem;
	}

	.post-row__image {
		order: -1;
		max-width: 18rem;
	}
}

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

.contact {
	padding-block: var(--section);
}

.contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 2.5rem clamp(2rem, 6vw, 6rem);
	align-items: end;
}

.contact__title {
	margin-bottom: 0.45em;
	font-size: var(--step-5);
	letter-spacing: -0.02em;
}

.contact__intro p {
	max-width: 30rem;
	margin: 0;
	color: var(--steel);
	font-size: 1.125rem;
}

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

.contact__routes li {
	position: relative;
	padding-block: 1.25rem;
}

.contact__routes li::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 1px;
	background: var(--horizon);
}

.contact__label {
	display: block;
	margin-bottom: 0.2rem;
	color: var(--steel);
	font-size: 0.9375rem;
}

.contact__email {
	color: var(--black);
	font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
	font-weight: 560;
	font-stretch: 112%;
	text-decoration: underline;
	text-decoration-color: var(--blue);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.3em;
	overflow-wrap: anywhere;
}

.contact__email:hover {
	color: var(--blue);
}

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

/* --------------------------------------------------------------------------
   Footer: the eclipse
   -------------------------------------------------------------------------- */

.site-footer {
	padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
	color: #c3ccd8;
	background: var(--black);
	font-size: 0.96875rem;
}

.site-footer a {
	color: var(--white);
	text-decoration-color: rgba(0, 200, 255, 0.6);
}

.site-footer a:hover {
	color: var(--cyan);
}

.site-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr) minmax(0, 1fr);
	gap: 3rem;
	align-items: start;
}

.site-footer__brand {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.site-footer__eclipse {
	flex: none;
	width: 128px;
	height: 128px;
	margin: -14px 0 -14px -14px;
}

.site-footer__wordmark {
	display: block;
	width: min(240px, 100%);
	height: auto;
}

.site-footer__tagline {
	margin: 0.6rem 0 0;
	color: #8c99aa;
	font-size: 0.875rem;
	font-stretch: 125%;
	letter-spacing: 0.06em;
}

.site-footer__nav ul,
.site-footer__social {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__nav li {
	margin-bottom: 0.6rem;
}

.site-footer__nav a {
	text-decoration: none;
	font-stretch: 112%;
}

.site-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin-top: 1rem;
}

.site-footer__about p {
	max-width: 24rem;
}

.site-footer__bottom {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	margin-top: clamp(3rem, 6vw, 4.5rem);
	padding-top: 1.5rem;
	color: #8c99aa;
	font-size: 0.875rem;
}

.site-footer__bottom::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 1px;
	background: linear-gradient(90deg, rgba(0, 184, 255, 0), rgba(0, 184, 255, 0.55) 50%, rgba(0, 184, 255, 0));
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__legal {
	flex-basis: 100%;
}

.site-footer__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
}

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

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

@media (max-width: 520px) {
	.site-footer__top {
		grid-template-columns: 1fr;
	}

	.site-footer__eclipse {
		width: 96px;
		height: 96px;
	}
}

/* --------------------------------------------------------------------------
   Inner page headings
   -------------------------------------------------------------------------- */

.page-head {
	position: relative;
	padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem);
}

.page-head__title {
	margin-bottom: 0.35em;
	font-size: var(--step-5);
	letter-spacing: -0.02em;
}

.page-head__text {
	max-width: 40rem;
	color: var(--steel);
	font-size: 1.125rem;
}

.page-head__search {
	max-width: 34rem;
	margin-top: 1.5rem;
}

.page-head--entry .page-head__title {
	font-size: var(--step-4);
}

.entry__meta {
	margin-bottom: 1rem;
	color: var(--steel);
	font-size: 0.9375rem;
}

.entry__meta a {
	color: var(--steel);
}

.entry__image {
	margin-block: 0 3rem;
}

.entry__image img {
	display: block;
	width: 100%;
	border-radius: 6px;
}

.entry__tags {
	margin-top: 2.5rem;
	color: var(--steel);
	font-size: 0.9375rem;
}

.listing,
.entry {
	padding-bottom: var(--section);
}

/* Stage filter on /apps/ */
.stage-filter ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.75rem;
	margin: 2.25rem 0 0;
	padding: 0;
	list-style: none;
}

.stage-filter a {
	display: inline-flex;
	align-items: baseline;
	gap: 0.4rem;
	padding: 0.4rem 0;
	color: var(--black);
	font-weight: 560;
	font-stretch: 112%;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.stage-filter a:hover {
	border-bottom-color: var(--rule);
}

.stage-filter a[aria-current="page"] {
	border-bottom-color: var(--blue);
}

.stage-filter__n {
	color: var(--steel);
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Single app
   -------------------------------------------------------------------------- */

.app-hero {
	padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem);
}

.app-hero__grid,
.app-body {
	display: grid;
	grid-template-columns: minmax(0, 21rem) minmax(0, 1fr);
	gap: 2rem clamp(2rem, 6vw, 5.5rem);
}

.app-hero__grid {
	align-items: center;
}

.app-hero__icon .app-icon {
	border-radius: 22%;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 40px 80px -36px var(--app-accent), 0 0 110px -30px var(--app-accent);
}

.crumbs {
	margin-bottom: 1rem;
	color: var(--steel);
	font-size: 0.9375rem;
	font-stretch: 112%;
}

.crumbs a {
	color: var(--steel);
}

.crumbs__sep {
	margin-inline: 0.4rem;
}

.crumbs [aria-current] {
	font-stretch: 125%;
	font-variant-numeric: tabular-nums;
}

.app-hero__title {
	margin-bottom: 0.25em;
	font-size: clamp(2.5rem, 1.4rem + 4.4vw, 5.25rem);
	letter-spacing: -0.025em;
	line-height: 1;
}

.app-hero__tagline {
	max-width: 36rem;
	margin-bottom: 1.75rem;
	color: var(--steel);
	font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
	line-height: 1.45;
}

.app-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 2rem;
}

.app-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 2rem;
	max-width: 40rem;
	margin: 0;
}

.app-facts__item {
	padding-block: 0.9rem;
	border-top: 1px solid var(--rule);
}

.app-facts__item--stage {
	grid-column: 1 / -1;
}

.app-facts dt {
	margin-bottom: 0.25rem;
	color: var(--steel);
	font-size: 0.875rem;
}

.app-facts dd {
	margin: 0;
	font-weight: 520;
}

.app-body {
	padding-bottom: var(--section);
}

.app-body .prose {
	grid-column: 2;
}

@media (max-width: 860px) {
	.app-hero__grid,
	.app-body {
		grid-template-columns: 1fr;
	}

	.app-hero__icon {
		max-width: 11rem;
	}

	.app-body .prose {
		grid-column: 1;
	}
}

@media (max-width: 480px) {
	.app-facts {
		grid-template-columns: 1fr;
	}
}

/* More from the catalogue */
.shelf {
	padding-block: clamp(3.5rem, 6vw, 5rem);
	background: var(--mist);
}

.shelf__title {
	margin-bottom: 2rem;
	font-size: var(--step-3);
}

.shelf__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
	gap: 2rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.shelf__item a {
	display: grid;
	gap: 0.8rem;
	color: var(--black);
	text-decoration: none;
}

.shelf__item a:hover .app-icon {
	transform: translateY(-3px);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 22px 46px -12px var(--app-accent);
}

.shelf__name {
	font-size: 0.96875rem;
	font-weight: 600;
	font-stretch: 112%;
	line-height: 1.25;
}

/* --------------------------------------------------------------------------
   Long-form text
   -------------------------------------------------------------------------- */

.prose {
	max-width: 44rem;
	font-size: 1.125rem;
	line-height: 1.68;
}

.prose > * + * {
	margin-top: 0;
}

.prose h2 {
	margin: 2.2em 0 0.6em;
	font-size: var(--step-3);
}

.prose h3 {
	margin: 1.8em 0 0.5em;
	font-size: var(--step-2);
}

.prose h4 {
	margin: 1.6em 0 0.5em;
	font-size: 1.125rem;
	font-stretch: 112%;
}

.prose > :first-child {
	margin-top: 0;
}

.prose p,
.prose ul,
.prose ol {
	margin: 0 0 1.15em;
}

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

.prose li {
	margin-bottom: 0.45em;
	padding-left: 0.2em;
}

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

.prose a {
	color: var(--blue);
	text-decoration-thickness: 1px;
}

.prose a:hover {
	text-decoration-thickness: 2px;
}

.prose blockquote,
.prose .wp-block-quote {
	margin: 2em 0;
	padding: 0 0 0 1.5rem;
	border-left: 3px solid var(--blue);
	font-size: 1.3125rem;
	line-height: 1.5;
}

.prose blockquote cite {
	display: block;
	margin-top: 0.75rem;
	color: var(--steel);
	font-size: 0.9375rem;
	font-style: normal;
}

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

.prose img {
	display: block;
	border-radius: 6px;
}

.prose figcaption,
.wp-caption-text,
.wp-element-caption {
	margin-top: 0.6rem;
	color: var(--steel);
	font-size: 0.9375rem;
	text-align: left;
}

.prose hr,
.wp-block-separator {
	height: 1px;
	margin: 3em 0;
	border: 0;
	background: var(--horizon);
}

.prose code {
	padding: 0.1em 0.35em;
	border-radius: 3px;
	background: var(--mist);
	font-size: 0.9em;
}

.prose pre {
	overflow-x: auto;
	padding: 1.25rem;
	border-radius: 6px;
	background: #070b12;
	color: #e3ecf6;
	font-size: 0.9375rem;
	line-height: 1.55;
}

.prose pre code {
	padding: 0;
	background: none;
}

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

.prose th,
.prose td {
	padding: 0.65rem 0.75rem;
	border-bottom: 1px solid var(--rule);
	text-align: left;
}

.prose th {
	font-weight: 600;
	font-stretch: 112%;
}

.prose .wp-block-button__link {
	border-radius: 0;
	background: var(--black);
	color: var(--white);
	font-weight: 600;
	text-decoration: none;
	clip-path: polygon(0 0, calc(100% - 0.9rem) 0, 100% 100%, 0 100%);
	padding-right: 2.2rem;
}

.alignleft {
	float: left;
	margin: 0.3em 1.75em 1em 0;
}

.alignright {
	float: right;
	margin: 0.3em 0 1em 1.75em;
}

.aligncenter {
	margin-inline: auto;
}

.alignwide,
.alignfull {
	clear: both;
}

.sticky,
.gallery-caption,
.bypostauthor {
	/* Styled by context. */
}

.page-links {
	margin-top: 2rem;
	font-weight: 600;
}

/* Post navigation and pagination */
.post-navigation,
.pagination {
	margin-top: 3rem;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

.post-navigation a {
	display: block;
	padding-top: 1rem;
	border-top: 1px solid var(--rule);
	color: var(--black);
	font-weight: 600;
	font-stretch: 112%;
	text-decoration: none;
}

.post-navigation .nav-next {
	text-align: right;
}

.nav-label {
	display: block;
	color: var(--steel);
	font-size: 0.875rem;
	font-weight: 450;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0 0.75rem;
	color: var(--black);
	font-weight: 600;
	text-decoration: none;
	box-shadow: inset 0 0 0 1px var(--rule);
}

.pagination .page-numbers.current {
	background: var(--black);
	color: var(--white);
	box-shadow: none;
}

/* --------------------------------------------------------------------------
   Forms, comments, empty states, 404
   -------------------------------------------------------------------------- */

.search-form {
	display: flex;
	gap: 0.6rem;
}

.search-form__field,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	min-height: 3rem;
	padding: 0.6rem 0.9rem;
	border: 2px solid var(--black);
	border-radius: 0;
	background: var(--white);
	color: var(--black);
	font: inherit;
}

.search-form__field:focus,
.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--blue);
	outline: 3px solid rgba(10, 102, 255, 0.25);
	outline-offset: 0;
}

.search-form__submit {
	flex: none;
}

.comments {
	margin-top: 4rem;
	padding-top: 2rem;
	border-top: 1px solid var(--rule);
}

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

.comment-list {
	margin: 0 0 3rem;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	padding-left: 1.5rem;
	list-style: none;
}

.comment-body {
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--rule);
}

.comment-meta {
	margin-bottom: 0.5rem;
	color: var(--steel);
	font-size: 0.9375rem;
}

.comment-author .avatar {
	float: left;
	margin-right: 0.75rem;
	border-radius: 50%;
}

.comment-form label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.comment-form p {
	margin-bottom: 1.25rem;
}

.empty-state {
	padding: 3rem 2rem;
	border: 1px dashed var(--rule);
	color: var(--steel);
	text-align: center;
}

.empty-state .search-form {
	max-width: 30rem;
	margin: 1.5rem auto 0;
}

.lost {
	padding-block: clamp(2rem, 5vw, 4rem) var(--section);
	overflow: clip;
	text-align: center;
}

.lost .hero__emblem {
	width: clamp(480px, 58vw, 880px);
	opacity: 0.95;
}

.lost__copy p {
	color: var(--steel);
}

.lost__copy .search-form {
	max-width: 30rem;
	margin: 2rem auto;
}

.lost__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1rem 2rem;
}

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

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

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

@media print {
	.site-header,
	.site-footer,
	.hero__horizon,
	.shelf {
		display: none;
	}
}

/* ==========================================================================
   2.0: The dive, app portals, About / Board / Investors / Contact
   ========================================================================== */

:root {
	--space: #030814;
	--space-2: #0b1730;
	--mist-2: #9fb0c8;
	--ap-w: clamp(460px, 58vw, 880px);
	--ap-y: 34%;
}

/* Buttons and links on dark ground */
.btn--light {
	background: var(--white);
	color: var(--black);
	clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% 100%, 0 100%);
}

.btn--light:hover {
	background: var(--cyan);
	color: var(--black);
}

.btn--light:focus-visible,
.btn--accent:focus-visible {
	clip-path: none;
	outline-color: var(--white);
}

.btn--accent {
	background: var(--app-accent, var(--cyan));
	color: var(--black);
	clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% 100%, 0 100%);
}

.btn--accent:hover {
	background: var(--white);
	color: var(--black);
}

.btn--ghost {
	padding-right: 1.35rem;
	background: transparent;
	color: var(--white);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
	background: var(--white);
	color: var(--black);
}

.text-link--light {
	color: var(--white);
	text-decoration-color: var(--cyan);
}

.text-link--light:hover {
	color: var(--cyan);
}

/* Header while diving: the page has gone dark */
@media (min-width: 961px) {
	body.is-diving .site-header {
		background: rgba(3, 8, 20, 0.55);
	}

	body.is-diving .site-header::after {
		opacity: 0.6;
	}

	body.is-diving .brand__wordmark {
		filter: invert(1);
	}

	body.is-diving .site-nav__list a {
		color: var(--white);
	}

	body.is-diving .site-nav__cta {
		background: var(--white);
		color: var(--black);
	}
}

@media (max-width: 960px) {
	body.is-diving .site-header {
		background: rgba(3, 8, 20, 0.6);
	}

	body.is-diving .brand__wordmark {
		filter: invert(1);
	}

	body.is-diving .nav-toggle {
		color: var(--white);
	}
}

/* --------------------------------------------------------------------------
   The dive: through the aperture to the lens, with the catalogue in orbit
   -------------------------------------------------------------------------- */

@property --focus-accent {
	syntax: "<color>";
	inherits: true;
	initial-value: #00b8ff;
}

.dive {
	position: relative;
}

.dive__stage {
	position: relative;
	height: calc(100vh - var(--header-h));
	height: calc(100svh - var(--header-h));
	min-height: 620px;
	overflow: hidden;
	background: var(--white);
	transition: --focus-accent 0.8s ease;
}

.dive.is-live {
	height: var(--dive-h, 290vh);
}

.dive.is-live .dive__stage {
	position: sticky;
	top: 0;
	height: 100vh;
	height: 100svh;
	min-height: 0;
	touch-action: pan-y;
}

.dive__space,
.dive__stars,
.dive__glow,
.dive__launch {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

/* The dark opens out of the lens, like an iris. */
.dive__space,
.dive__stars,
.dive__glow {
	-webkit-clip-path: circle(var(--space-r, 0px) at 50% var(--eye-y, 50%));
	clip-path: circle(var(--space-r, 0px) at 50% var(--eye-y, 50%));
}

.dive__space {
	z-index: 0;
	background: radial-gradient(120% 90% at 50% var(--cy, 50%), var(--space-2) 0%, var(--space) 62%);
}

.dive__stars {
	z-index: 1;
	width: 100%;
	height: 100%;
}

.dive__glow {
	z-index: 1;
	background: radial-gradient(circle at 50% var(--cy, 50%), color-mix(in srgb, var(--focus-accent) 34%, transparent) 0, transparent calc(var(--eye-r, 160px) * 2.4));
	opacity: calc(var(--space-o, 0) * 0.95);
}

.dive__horizon {
	position: absolute;
	top: var(--ap-y);
	right: 0;
	left: 0;
	z-index: 3;
	height: 0;
	pointer-events: none;
}

.dive__horizon::before,
.dive__horizon::after {
	content: "";
	position: absolute;
	top: -1px;
	width: 50%;
	height: 2px;
	box-shadow: 0 0 6px rgba(0, 184, 255, 0.45);
	opacity: var(--lines-o, 1);
}

.dive__horizon::before {
	left: 0;
	background: linear-gradient(90deg, rgba(0, 184, 255, 0) 0%, rgba(0, 184, 255, 0.5) 45%, #22c9ff 100%);
}

.dive__horizon::after {
	right: 0;
	background: linear-gradient(270deg, rgba(0, 184, 255, 0) 0%, rgba(0, 184, 255, 0.5) 45%, #22c9ff 100%);
}

.dive__aperture {
	position: absolute;
	top: 0;
	left: 50%;
	z-index: 1;
	width: var(--ap-w);
	aspect-ratio: 1200 / 491;
	transform: translate(-50%, -51.1%) translateY(var(--ap-dy, 0px)) scale(var(--zoom, 1));
	transform-origin: 50% 51.1%;
	will-change: transform;
}

.dive__emblem {
	display: block;
	width: 100%;
	height: auto;
	opacity: var(--em-o, 1);
}

.dive__lens {
	position: absolute;
	top: 51.1%;
	left: 50%;
	width: 29.4%;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 50%;
	background: var(--space);
	transform: translate(-50%, -50%);
	opacity: var(--lens-o, 0);
}

.dive.is-live .dive__lens {
	pointer-events: auto;
}

/* The eye's rim picks up the colour of the app in front of it. */
.dive__aperture::after {
	content: "";
	position: absolute;
	top: 51.1%;
	left: 50%;
	width: 29.4%;
	aspect-ratio: 1;
	border-radius: 50%;
	box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--focus-accent) 55%, white), 0 0 46px 6px color-mix(in srgb, var(--focus-accent) 55%, transparent);
	transform: translate(-50%, -50%);
	opacity: var(--space-o, 0);
	pointer-events: none;
}

.dive__lens video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.08);
}

.dive__intro {
	position: absolute;
	top: calc(var(--ap-y) + var(--ap-w) * 0.2046 + 0.75rem);
	right: 0;
	left: 0;
	z-index: 4;
	width: min(72rem, 100% - 2 * var(--gutter));
	margin-inline: auto;
	text-align: center;
	opacity: var(--intro-o, 1);
	transform: translateY(calc((1 - var(--intro-o, 1)) * -40px));
}

.dive:not(.is-live) .dive__intro {
	opacity: 1;
	transform: none;
}

.dive.is-live.has-hud .dive__intro {
	visibility: hidden;
}

.dive__cue {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--steel);
	font-size: 0.9375rem;
	font-weight: 520;
	font-stretch: 112%;
}

.dive__cue-line {
	display: block;
	width: 2px;
	height: 1.75rem;
	background: linear-gradient(180deg, var(--cyan), var(--blue));
	box-shadow: 0 0 8px var(--flare);
}

/* The orbit. Each app is placed by the script; the list itself stays flat so
   apps behind the eye can pass under it and apps in front can pass over it. */
.orbit {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	pointer-events: none;
	-webkit-user-select: none;
	user-select: none;
}

.orbit__item {
	--icon: clamp(76px, 6.8vw, 108px);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5;
	width: var(--icon);
	opacity: 0;
	pointer-events: none;
	will-change: transform, opacity;
}

.orbit__link {
	display: block;
	color: var(--white);
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
}

.orbit__link img {
	-webkit-user-drag: none;
}

.orbit .app-icon {
	border-radius: 24%;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 0 44px -8px var(--app-accent);
	transition: box-shadow 0.3s ease, border-radius 0.7s ease;
}

.orbit__item.is-current .app-icon,
.orbit__link:hover .app-icon {
	box-shadow: 0 0 0 2px var(--app-accent), 0 0 70px -2px var(--app-accent);
}

.orbit__link:focus-visible {
	outline: none;
}

.orbit__link:focus-visible .app-icon {
	outline: 3px solid var(--white);
	outline-offset: 5px;
}

.orbit__name {
	position: absolute;
	top: calc(100% + 0.55rem);
	left: 50%;
	font-size: 0.9375rem;
	font-weight: 600;
	font-stretch: 112%;
	white-space: nowrap;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
	opacity: 0;
	transform: translateX(-50%);
	transition: opacity 0.2s ease;
}

.orbit__link:hover .orbit__name,
.orbit__link:focus-visible .orbit__name {
	opacity: 1;
}

.dive.is-dragging .orbit__link {
	cursor: grabbing;
}

/* Choosing an app: it travels into the centre of the eye and opens. */
.orbit__item.is-launching {
	transition: transform 0.75s cubic-bezier(0.65, 0, 0.25, 1);
}

.orbit__item.is-launching .app-icon {
	border-radius: 50%;
	box-shadow: 0 0 0 1px var(--app-accent);
}

.orbit__item.is-launching .orbit__name {
	opacity: 0;
}

.dive.is-launching .orbit__item:not(.is-launching) {
	opacity: 0 !important;
	transition: opacity 0.35s ease;
}

.dive__launch {
	z-index: 7;
	background: radial-gradient(circle at 50% var(--cy, 50%), color-mix(in srgb, var(--launch-accent, #00b8ff) 55%, transparent) 0, transparent 70%);
	opacity: 0;
}

.dive.is-launching .dive__launch {
	opacity: 1;
	transition: opacity 0.6s ease 0.2s;
}

/* Caption and controls */
.dive__hud {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 6;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 1rem 2.5rem;
	padding: 0 var(--gutter) clamp(1.25rem, 4vh, 2.5rem);
	color: var(--white);
	opacity: var(--hud-o, 0);
	pointer-events: none;
}

.dive:not(.has-hud) .dive__hud {
	visibility: hidden;
}

.dive:not(.has-hud) .dive__hud:focus-within {
	visibility: visible;
}

.dive.is-launching .dive__hud {
	opacity: 0;
	transition: opacity 0.3s ease;
}

.dive__hud a,
.dive__hud button {
	pointer-events: auto;
}

.dive__caption {
	min-width: 0;
	max-width: 38rem;
}

.dive__caption.is-empty {
	opacity: 0;
}

.dive__caption.is-new > * {
	animation: wm-caption 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes wm-caption {
	from {
		opacity: 0;
		transform: translateY(0.4rem);
	}
}

.dive__cat {
	margin: 0 0 0.35rem;
	color: var(--mist-2);
	font-size: 0.9375rem;
	font-stretch: 125%;
	font-variant-numeric: tabular-nums;
}

.dive__name {
	overflow: hidden;
	margin: 0 0 0.45rem;
	font-size: clamp(2rem, 1.3rem + 2.4vw, 3.5rem);
	font-weight: 600;
	font-stretch: 125%;
	line-height: 1.05;
	letter-spacing: -0.02em;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.dive__tag {
	display: -webkit-box;
	overflow: hidden;
	min-height: 2.9em;
	margin: 0 0 0.5rem;
	color: #d3deec;
	font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
	line-height: 1.45;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.dive__status {
	overflow: hidden;
	margin: 0 0 1rem;
	color: color-mix(in srgb, var(--focus-accent) 65%, white);
	font-size: 0.9375rem;
	font-weight: 600;
	font-stretch: 112%;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.dive__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
	margin: 0;
}

.dive__side {
	display: grid;
	justify-items: end;
	gap: 0.6rem;
	text-align: right;
}

.dive__count {
	margin: 0;
	white-space: nowrap;
	color: var(--mist-2);
	font-size: 0.9375rem;
	font-stretch: 125%;
	font-variant-numeric: tabular-nums;
}

.dive__hint {
	max-width: 16rem;
	margin: 0;
	color: #d3deec;
	font-size: 0.9375rem;
	line-height: 1.45;
}

.dive__controls {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 0.75rem 1.25rem;
	margin: 0;
}

.dive__pause {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 2.5rem;
	padding: 0 1rem 0 0.85rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
	color: var(--white);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 560;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.dive__pause::before {
	content: "";
	flex: none;
	width: 10px;
	height: 12px;
	background: linear-gradient(90deg, currentColor 0 34%, transparent 34% 66%, currentColor 66%);
}

.dive__pause[data-state="paused"]::before {
	background: currentColor;
	clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.dive__pause:hover {
	background: rgba(255, 255, 255, 0.22);
}

.dive__pause:focus-visible {
	outline: 3px solid var(--white);
	outline-offset: 3px;
}

.dive:not(.is-live) .orbit,
.dive:not(.is-live) .dive__hud,
.dive:not(.is-live) .dive__launch,
.dive:not(.is-live) .dive__lens,
.dive:not(.is-live) .dive__cue {
	display: none;
}

@media (max-width: 700px) {
	:root {
		--ap-y: 21%;
	}

	.orbit__item {
		--icon: 58px;
	}

	.dive__intro .hero__intro {
		margin-bottom: 1.5rem;
	}

	.dive.is-live .dive__cue {
		display: none;
	}

	.orbit__name {
		font-size: 0.875rem;
	}

	.dive__hud {
		gap: 0.6rem;
		padding-bottom: 1rem;
	}

	.dive__caption {
		grid-row: 2;
		grid-column: 1 / -1;
	}

	.dive__side {
		display: flex;
		grid-row: 1;
		grid-column: 1 / -1;
		justify-content: space-between;
		align-items: center;
		gap: 1rem;
	}

	.dive__hint,
	.dive__status {
		display: none;
	}

	.dive__cat {
		margin-bottom: 0.2rem;
	}

	.dive__name {
		margin-bottom: 0.3rem;
		font-size: 1.625rem;
	}

	.dive__tag {
		margin-bottom: 0.75rem;
		font-size: 0.9375rem;
	}

	.dive__pause {
		justify-content: center;
		width: 2.5rem;
		padding: 0;
	}

	.dive__pause-label {
		position: absolute;
		overflow: hidden;
		width: 1px;
		height: 1px;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
	}
}

@media (max-height: 760px) and (min-width: 701px) {
	:root {
		--ap-w: clamp(420px, 50vw, 760px);
		--ap-y: 31%;
	}

	.dive__hint {
		display: none;
	}

	.dive__name {
		font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
	}
}

/* Small phones: keep the caption short so the orbit has room. */
@media (max-width: 700px) and (max-height: 620px) {
	.dive__tag,
	.dive__count {
		display: none;
	}

	.dive__side {
		justify-content: flex-end;
	}

	.orbit__item {
		--icon: 50px;
	}
}

@media (max-height: 520px) {
	.dive__tag,
	.dive__status,
	.dive__hint,
	.dive__count {
		display: none;
	}

	.orbit__item {
		--icon: 48px;
	}
}

/* --------------------------------------------------------------------------
   The factory and the storefront
   -------------------------------------------------------------------------- */

.storefront {
	padding-block: clamp(4rem, 8vw, 7rem) 0;
}

.storefront__title {
	margin-bottom: clamp(2rem, 4vw, 3rem);
	font-size: var(--step-4);
	text-align: center;
}

.storefront__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr);
	gap: 1.5rem clamp(2rem, 5vw, 4rem);
	align-items: stretch;
}

.storefront__side:first-child {
	text-align: right;
}

.storefront__side h3 {
	margin-bottom: 0.4em;
	font-size: var(--step-2);
}

.storefront__side p {
	max-width: 28rem;
	margin: 0;
	color: var(--steel);
	font-size: 1.0625rem;
}

.storefront__side:first-child p {
	margin-left: auto;
}

.storefront__line {
	background: linear-gradient(180deg, rgba(0, 184, 255, 0), #00b8ff 50%, rgba(0, 184, 255, 0));
	box-shadow: 0 0 10px var(--flare);
}

.storefront__more {
	margin: 2.25rem 0 0;
	text-align: center;
}

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

	.storefront__side:first-child {
		text-align: left;
	}

	.storefront__line {
		height: 2px;
		background: var(--horizon-strong);
	}

	.storefront__more {
		text-align: left;
	}
}

.app-row__note {
	margin: 0.45rem 0 0;
	color: var(--steel);
	font-size: 0.875rem;
	line-height: 1.35;
}

/* Investor relations band on the home page */
.ir-band {
	position: relative;
	padding-block: clamp(3rem, 6vw, 4.5rem);
	color: #d3deec;
	background: radial-gradient(60% 140% at 85% 50%, rgba(0, 184, 255, 0.18), transparent 70%), var(--space);
}

.ir-band::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 2px;
	background: var(--horizon-strong);
	box-shadow: 0 0 10px var(--flare);
}

.ir-band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 3rem;
}

.ir-band__title {
	margin-bottom: 0.3em;
	color: var(--white);
	font-size: var(--step-3);
}

.ir-band p {
	max-width: 36rem;
	margin: 0;
}

.contact__form-link {
	margin-top: 1.75rem;
}

/* --------------------------------------------------------------------------
   App portal (single app header)
   -------------------------------------------------------------------------- */

.portal {
	position: relative;
	overflow: hidden;
	padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem);
	color: var(--white);
	background:
		radial-gradient(55% 80% at 20% 48%, color-mix(in srgb, var(--app-accent) 26%, transparent), transparent 70%),
		radial-gradient(120% 120% at 50% 0%, var(--space-2) 0%, var(--space) 62%);
}

.portal::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.55;
	background-image:
		radial-gradient(1px 1px at 8% 18%, #fff, transparent),
		radial-gradient(1px 1px at 22% 72%, #cfe8ff, transparent),
		radial-gradient(1.5px 1.5px at 38% 30%, #fff, transparent),
		radial-gradient(1px 1px at 55% 85%, #fff, transparent),
		radial-gradient(1px 1px at 63% 12%, #cfe8ff, transparent),
		radial-gradient(1.5px 1.5px at 78% 64%, #fff, transparent),
		radial-gradient(1px 1px at 88% 26%, #fff, transparent),
		radial-gradient(1px 1px at 94% 80%, #cfe8ff, transparent),
		radial-gradient(1px 1px at 47% 52%, #fff, transparent),
		radial-gradient(1px 1px at 12% 90%, #fff, transparent);
	pointer-events: none;
}

.portal__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
	gap: 2.5rem clamp(2.5rem, 7vw, 6rem);
	align-items: center;
}

.portal__icon {
	position: relative;
	margin: 12%;
	transform: scale(calc(1 + var(--out, 0) * 0.35));
	opacity: calc(1 - var(--out, 0) * 0.7);
}

/* The app's own horizon, running through its icon to both edges. */
.portal__icon::before {
	content: "";
	position: absolute;
	top: 50%;
	right: -200vw;
	left: -200vw;
	height: 2px;
	background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--app-accent) 70%, transparent) 45%, var(--white) 50%, color-mix(in srgb, var(--app-accent) 70%, transparent) 55%, transparent 100%);
	box-shadow: 0 0 10px var(--app-accent);
	opacity: 0.75;
}

.portal__ring {
	position: absolute;
	inset: -13%;
	border: 2px solid color-mix(in srgb, var(--app-accent) 70%, white);
	border-radius: 50%;
	box-shadow: 0 0 34px -4px var(--app-accent), inset 0 0 34px -8px var(--app-accent);
	opacity: 0.8;
}

.portal__icon .app-icon {
	position: relative;
	z-index: 1;
	border-radius: 22%;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 90px -20px var(--app-accent), 0 0 140px -30px var(--app-accent);
}

.portal .crumbs,
.portal .crumbs a {
	color: var(--mist-2);
}

.portal__title {
	margin-bottom: 0.2em;
	color: var(--white);
	font-size: clamp(2.5rem, 1.4rem + 4.4vw, 5.25rem);
	line-height: 1;
	letter-spacing: -0.025em;
}

.portal__tagline {
	max-width: 36rem;
	margin-bottom: 1.75rem;
	color: #d3deec;
	font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
	line-height: 1.45;
}

.portal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 2rem;
}

.portal .app-facts__item {
	border-top-color: rgba(255, 255, 255, 0.14);
}

.portal .app-facts dt {
	color: var(--mist-2);
}

.portal .app-facts dd {
	color: var(--white);
}

.portal .gauge__track i {
	background: rgba(255, 255, 255, 0.2);
}

.portal .gauge__track i.is-on {
	background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.app-facts__note {
	display: block;
	margin-top: 0.5rem;
	color: color-mix(in srgb, var(--app-accent) 60%, white);
	font-size: 0.9375rem;
	font-weight: 560;
}

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

	.portal__icon {
		width: 9.5rem;
		margin: 1.5rem 0 0 1.5rem;
	}
}

/* App story */
.app .app-body {
	display: block;
	padding-block: clamp(3rem, 6vw, 5rem) var(--section);
}

.prose--app {
	max-width: 46rem;
	margin-inline: auto;
}

.app-body__visit {
	max-width: 46rem;
	margin: 3rem auto 0;
}

.prose .is-lead {
	font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
	font-weight: 430;
	line-height: 1.5;
}

.prose .is-note {
	padding: 1rem 1.25rem;
	border-left: 3px solid var(--app-accent, var(--blue));
	background: var(--mist);
	font-size: 1rem;
	line-height: 1.55;
}

.prose--app blockquote,
.prose--app .wp-block-quote {
	border-left-color: var(--app-accent, var(--blue));
	font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
	font-weight: 560;
	font-stretch: 112%;
	line-height: 1.3;
}

/* Screens break out of the text column and tilt into place as they arrive. */
.prose--app .wp-block-image.is-screen,
.prose--app .wp-block-image.alignwide,
.prose--app .wp-block-video {
	margin-right: calc(50% - min(36rem, 50vw - var(--gutter)));
	margin-left: calc(50% - min(36rem, 50vw - var(--gutter)));
}

.prose--app .wp-block-image.is-screen.is-tall {
	width: min(30rem, 100%);
	margin-right: auto;
	margin-left: auto;
}

.prose .is-screen img {
	width: 100%;
	border-radius: 12px;
	box-shadow: 0 0 0 1px rgba(3, 8, 20, 0.08), 0 40px 80px -40px rgba(3, 8, 20, 0.6), 0 0 90px -50px var(--app-accent, var(--cyan));
	transform: perspective(1400px) rotateX(calc(var(--tilt, 0) * 16deg)) scale(calc(1 - var(--tilt, 0) * 0.06));
	transform-origin: 50% 100%;
}

.prose .is-screen figcaption,
.prose .wp-block-video figcaption {
	text-align: center;
}

.prose .wp-block-video.is-lens {
	width: min(24rem, 80%);
	margin: 0 auto 2.5rem;
}

.prose .is-lens video {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 50%;
	box-shadow: 0 0 0 6px var(--space), 0 0 0 8px color-mix(in srgb, var(--app-accent, var(--cyan)) 60%, transparent), 0 0 90px -10px var(--app-accent, var(--cyan));
}

/* --------------------------------------------------------------------------
   Page hero (About, Investors, Contact)
   -------------------------------------------------------------------------- */

.page-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem);
	background: radial-gradient(55% 130% at 88% 0%, rgba(0, 200, 255, 0.13), transparent 62%);
}

.page-hero__horizon {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: var(--horizon-strong);
	box-shadow: 0 0 8px var(--flare);
}

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

.page-hero__lead {
	max-width: 42rem;
	margin: 0;
	color: var(--steel);
	font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
	line-height: 1.5;
}

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

.about-grid__aside {
	position: sticky;
	top: calc(var(--header-h) + 1.5rem);
}

.aside-title {
	margin-bottom: 1rem;
	font-size: 1.1875rem;
	font-stretch: 112%;
	letter-spacing: 0;
}

.company-card {
	margin: 0;
}

.company-card > div {
	padding: 0.8rem 0;
	border-top: 1px solid var(--rule);
}

.company-card dt {
	margin-bottom: 0.15rem;
	color: var(--steel);
	font-size: 0.875rem;
}

.company-card dd {
	margin: 0;
	font-weight: 520;
	line-height: 1.45;
}

.company-card dd ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.company-card dd li {
	margin-bottom: 0.2rem;
	font-size: 0.9375rem;
	font-weight: 440;
}

.company-card__link dd {
	font-weight: 450;
}

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

	.about-grid__aside {
		position: static;
	}
}

/* The catalogue at a glance */
.glance {
	padding-block: clamp(3rem, 6vw, 4.5rem);
	background: var(--mist);
}

.glance__title {
	margin-bottom: 1.5rem;
	font-size: var(--step-3);
}

.glance__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.glance__list a {
	display: grid;
	gap: 0.35rem;
	padding-top: 1rem;
	border-top: 2px solid var(--black);
	color: var(--black);
	text-decoration: none;
}

.glance__list a:hover {
	border-top-color: var(--blue);
}

.glance__n {
	font-size: clamp(2.5rem, 2rem + 2vw, 4rem);
	font-weight: 600;
	font-stretch: 125%;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}

.glance__label {
	color: var(--steel);
	font-weight: 520;
}

.glance__list--compact {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 1.5rem 0;
}

.glance__list--compact .glance__n {
	font-size: 2.25rem;
}

@media (max-width: 700px) {
	.glance__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Board */
.board {
	padding-block: var(--section);
}

.board__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
	gap: 3rem 2.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.person__photo {
	width: 9rem;
	aspect-ratio: 1;
	margin-bottom: 1.5rem;
	overflow: hidden;
	border-radius: 50%;
	/* The White Mesa aperture around each portrait. */
	box-shadow: 0 0 0 4px var(--black), 0 0 0 8px var(--white), 0 0 34px 6px var(--flare);
}

.person__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.person__initials {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: var(--white);
	font-size: 2.5rem;
	font-weight: 600;
	font-stretch: 125%;
	background: linear-gradient(180deg, var(--blue), var(--cyan));
}

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

.person__role {
	margin-bottom: 0.75rem;
	color: var(--steel);
	font-weight: 520;
}

.person__bio p {
	font-size: 1rem;
}

/* Investor details, gate and risk warning */
.ir-facts > p {
	max-width: 40rem;
	font-size: 1.125rem;
}

.ir-details {
	padding-block: clamp(3rem, 6vw, 5rem);
	background: linear-gradient(180deg, var(--mist), var(--white));
}

.ir-details__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
	margin: 2rem 0 1rem;
}

.ir-details__leave {
	font-size: 0.9375rem;
}

.ir-details__leave a {
	color: var(--steel);
}

.gate {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 1px solid var(--rule);
	background: var(--white);
	box-shadow: 0 30px 60px -40px rgba(3, 8, 20, 0.35);
}

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

.gate fieldset {
	margin: 1.5rem 0 1rem;
	padding: 0;
	border: 0;
}

.gate legend {
	margin-bottom: 0.75rem;
	font-weight: 600;
	font-stretch: 112%;
}

.risk {
	margin-top: 2.5rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 2px solid var(--black);
	background: var(--white);
}

.risk__title {
	margin-bottom: 0.75rem;
	font-size: 1.25rem;
}

.risk ul {
	margin: 0;
	padding-left: 1.2rem;
}

.risk li {
	margin-bottom: 0.45rem;
	font-size: 0.96875rem;
}

/* Contact page and form */
.contact-page {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 3rem clamp(2rem, 6vw, 6rem);
	align-items: start;
	padding-block: clamp(3rem, 6vw, 5rem) var(--section);
}

.contact-page__routes .contact__routes {
	margin-bottom: 2.5rem;
}

.contact-page__address {
	font-style: normal;
	line-height: 1.6;
}

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

.field {
	display: grid;
	gap: 0.4rem;
	margin-bottom: 1.25rem;
}

.field label {
	font-size: 0.96875rem;
	font-weight: 600;
}

.field__optional {
	color: var(--steel);
	font-weight: 420;
}

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
	width: 100%;
	min-height: 3rem;
	padding: 0.6rem 0.9rem;
	border: 2px solid var(--black);
	border-radius: 0;
	background: var(--white);
	color: var(--black);
	font: inherit;
}

.field textarea {
	min-height: 9rem;
	resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--blue);
	outline: 3px solid rgba(10, 102, 255, 0.25);
	outline-offset: 0;
}

.field-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 1rem;
}

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

.field--check {
	grid-template-columns: auto 1fr;
	align-items: start;
	gap: 0.75rem;
}

.field--check input {
	width: 1.2rem;
	height: 1.2rem;
	margin: 0.2rem 0 0;
	accent-color: var(--black);
}

.field--check label {
	font-weight: 450;
	line-height: 1.5;
}

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

.form-status {
	padding: 0.9rem 1.1rem;
	font-weight: 520;
}

.form-status--success {
	border-left: 4px solid #148a4b;
	background: #e8f7ee;
}

.form-status--error {
	border-left: 4px solid #c62828;
	background: #fdecec;
}

/* Lab logo is on white, so give it a white card */
.lab__mark img {
	background: var(--white);
}

/* ==========================================================================
   3.0: Arriving from the orbit, and app story image rows
   ========================================================================== */

/* The app you chose comes out of the eye and settles into its portal. */
.portal.is-arriving .portal__icon .app-icon {
	animation: wm-arrive 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.portal.is-arriving .portal__ring {
	animation: wm-arrive-ring 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.portal.is-arriving::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--app-accent) 55%, transparent) 0, transparent 70%);
	animation: wm-arrive-glow 0.9s ease both;
	pointer-events: none;
}

@keyframes wm-arrive {
	from {
		border-radius: 50%;
		filter: blur(8px);
		transform: scale(2.1);
	}
}

@keyframes wm-arrive-ring {
	from {
		opacity: 0;
		transform: scale(0.6);
	}
}

@keyframes wm-arrive-glow {
	to {
		opacity: 0;
	}
}

/* A row of phone screens, side by side. */
.prose--app .wp-block-group.phone-row,
.prose--app .wp-block-group.concept-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2.5vw, 2rem);
	align-items: start;
	margin: 2.5rem calc(50% - min(36rem, 50vw - var(--gutter)));
}

/* Classic themes wrap a group's blocks in an inner container; let the images sit in the row's grid. */
.prose--app .phone-row > .wp-block-group__inner-container,
.prose--app .concept-row > .wp-block-group__inner-container {
	display: contents;
}

.prose--app .wp-block-group.phone-row--two {
	grid-template-columns: repeat(2, minmax(0, 15rem));
	justify-content: center;
}

.prose--app .wp-block-group.concept-row {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.prose--app .phone-row .wp-block-image,
.prose--app .concept-row .wp-block-image {
	margin: 0;
}

.prose--app .phone-row img {
	width: 100%;
	height: auto;
	border-radius: 22px;
	box-shadow: 0 0 0 1px rgba(3, 8, 20, 0.1), 0 30px 60px -30px rgba(3, 8, 20, 0.55), 0 0 70px -40px var(--app-accent, var(--cyan));
}

.prose--app .concept-row img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 0 0 1px rgba(3, 8, 20, 0.1), 0 30px 60px -36px rgba(3, 8, 20, 0.55);
}

.prose--app .phone-row figcaption,
.prose--app .concept-row figcaption {
	margin-top: 0.75rem;
	color: var(--steel);
	font-size: 0.9375rem;
	line-height: 1.45;
	text-align: left;
}

@media (max-width: 700px) {
	/* Phones: swipe through the screens. */
	.prose--app .wp-block-group.phone-row,
	.prose--app .wp-block-group.phone-row--two {
		display: flex;
		justify-content: flex-start;
		gap: 1rem;
		overflow-x: auto;
		margin-right: calc(var(--gutter) * -1);
		margin-left: calc(var(--gutter) * -1);
		padding: 0 var(--gutter) 1rem;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--gutter);
		overscroll-behavior-x: contain;
	}

	.prose--app .phone-row .wp-block-image {
		flex: 0 0 68%;
		scroll-snap-align: start;
	}

	.prose--app .wp-block-group.concept-row {
		grid-template-columns: 1fr;
		margin-right: 0;
		margin-left: 0;
	}
}
