@font-face {
	font-display: swap;
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	src: url("../fonts/poppins-400-latin.woff2?v=24") format("woff2");
}

@font-face {
	font-display: swap;
	font-family: "Poppins";
	font-style: italic;
	font-weight: 400;
	src: url("../fonts/poppins-400-italic-latin.woff2?v=24") format("woff2");
}

@font-face {
	font-display: swap;
	font-family: "Poppins";
	font-style: normal;
	font-weight: 500;
	src: url("../fonts/poppins-500-latin.woff2?v=24") format("woff2");
}

@font-face {
	font-display: swap;
	font-family: "Poppins";
	font-style: normal;
	font-weight: 700;
	src: url("../fonts/poppins-700-latin.woff2?v=24") format("woff2");
}

:root {
	--uplift-sapphire: #133156;
	--uplift-blue: #005799;
	--uplift-cyan: #25bfdc;
	--uplift-gold: #fac90e;
	--uplift-text: #344c65;
	--uplift-white: #ffffff;
	--uplift-focus: #fac90e;
	color-scheme: light;
	font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-synthesis: none;
	line-height: 1.5;
	text-rendering: optimizeLegibility;
}

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

html {
	background: var(--uplift-sapphire);
	scroll-behavior: smooth;
}

body {
	background: var(--uplift-white);
	color: var(--uplift-text);
	margin: 0;
	min-width: 320px;
}

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

a {
	color: inherit;
}

.skip-link {
	background: var(--uplift-sapphire);
	border-radius: 0 0 8px;
	color: var(--uplift-white);
	font-size: 0.875rem;
	font-weight: 700;
	left: 0;
	padding: 0.75rem 1rem;
	position: fixed;
	top: 0;
	transform: translateY(-120%);
	transition: transform 160ms ease;
	z-index: 10;
}

.skip-link:focus {
	transform: translateY(0);
}

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

.hero {
	background: var(--uplift-white);
	isolation: isolate;
	min-height: 100svh;
	overflow: hidden;
	position: relative;
}

.hero-shader {
	height: 100%;
	inset: 0;
	min-height: 100svh;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	transform-origin: 100% 0;
	width: 100%;
	z-index: -2;
}

.hero-shader canvas {
	display: block;
	height: 100%;
	inset: 0;
	position: absolute;
	width: 100%;
}

.hero__content {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0 auto;
	min-height: inherit;
	max-width: 1200px;
	padding: 88px 0 112px;
	position: relative;
	width: calc(100% - 48px);
	z-index: 1;
}

.hero__identity {
	display: grid;
	justify-items: center;
	margin: 0 auto;
	max-width: 1040px;
	position: relative;
	z-index: 0;
}

.hero__identity::before {
	background: radial-gradient(
		ellipse at center,
		rgb(255 255 255 / 90%) 0%,
		rgb(255 255 255 / 76%) 34%,
		rgb(255 255 255 / 48%) 58%,
		rgb(255 255 255 / 18%) 78%,
		transparent 100%
	);
	content: "";
	filter: blur(24px);
	inset: -84px -180px -72px;
	pointer-events: none;
	position: absolute;
	z-index: -1;
}

.brand-lockup {
	align-items: center;
	display: flex;
	gap: 28px;
	justify-content: center;
	margin: 0 auto;
	max-width: 920px;
}

.brand-lockup__southern {
	height: auto;
	object-fit: contain;
	width: 250px;
}

.brand-lockup__transition {
	color: var(--uplift-text);
	font-size: clamp(24px, 2.1vw, 30px);
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-shadow: 0 1px 18px rgb(255 255 255 / 82%);
	white-space: nowrap;
}

.brand-lockup__uplift {
	height: auto;
	max-height: 82px;
	max-width: 176px;
	object-fit: contain;
	width: auto;
}

.hero__lead {
	color: var(--uplift-text);
	display: block;
	font-size: 24px;
	font-style: italic;
	line-height: 1.5;
	margin: 32px auto 0;
	text-align: center;
	text-shadow: 0 1px 18px rgb(255 255 255 / 82%);
	width: min(100%, 680px);
}

.button {
	align-items: center;
	border: 2px solid transparent;
	border-radius: 999px;
	display: inline-flex;
	font-size: 0.9375rem;
	font-weight: 700;
	justify-content: center;
	line-height: 1.25;
	min-height: 50px;
	padding: 0.8rem 1.4rem;
	text-align: center;
	text-decoration: none;
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		box-shadow 160ms ease,
		color 160ms ease,
		transform 160ms ease;
}

.button::after {
	content: "→";
	font-size: 1.15em;
	margin-left: 0.55rem;
	transition: transform 160ms ease;
}

.button:hover {
	transform: translateY(-2px);
}

.button:hover::after {
	transform: translateX(3px);
}

.button:focus-visible {
	outline: 3px solid var(--uplift-focus);
	outline-offset: 4px;
}

.button--primary {
	background: var(--uplift-sapphire);
	box-shadow: 0 10px 24px rgb(19 49 86 / 18%);
	color: var(--uplift-white);
}

.button--primary:hover {
	background: #0b284a;
	box-shadow: 0 14px 30px rgb(19 49 86 / 23%);
}

.error-page {
	background:
		radial-gradient(circle at 90% 10%, rgb(37 191 220 / 34%), transparent 32%),
		linear-gradient(145deg, #fff 0%, #eaf8ff 58%, #fff7cb 100%);
}

.error-page__main {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0 auto;
	min-height: 100svh;
	padding: 3rem 1.5rem;
	text-align: center;
	width: min(100%, 680px);
}

.error-page__logo {
	margin-bottom: 1.5rem;
	width: min(260px, 65vw);
}

.error-page__code {
	color: var(--uplift-blue);
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	margin: 0 0 0.35rem;
}

.error-page h1 {
	color: var(--uplift-sapphire);
	font-size: clamp(2rem, 6vw, 3.25rem);
	line-height: 1.12;
	margin: 0;
	text-wrap: balance;
}

.error-page__main > p:not(.error-page__code) {
	font-size: 1.05rem;
	margin: 1rem 0 1.75rem;
}

@media (max-width: 860px) {
	.hero__content {
		padding-top: 64px;
		width: calc(100% - 36px);
	}

	.brand-lockup {
		flex-direction: column;
		gap: 18px;
		margin-top: 0;
	}

	.brand-lockup__southern {
		width: 198px;
	}
}

@media (max-width: 560px) {
	.hero__content {
		padding: 48px 0 72px;
		width: calc(100% - 28px);
	}

	.brand-lockup__uplift {
		max-height: 74px;
		max-width: 158px;
	}

	.hero__lead {
		font-size: 20px;
	}
}

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

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.button:hover {
		transform: none;
	}
}

@media (forced-colors: active) {
	.button {
		border: 2px solid currentColor;
	}
}
