@font-face {
	font-family: "Space Grotesk";
	src: url("../fonts/space-grotesk-latin-wght.woff2") format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--ec-black: #000000;
	--ec-ink: #1c1c1c;
	--ec-text: #f4f4f4;
	--ec-muted: rgba(244, 244, 244, 0.58);
	--ec-line: rgba(255, 255, 255, 0.1);
	--ec-soft: rgba(28, 28, 28, 0.42);
	--ec-focus: rgba(244, 244, 244, 0.72);
	--ec-radius: 1.75rem;
	--ec-font: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
	--ec-footer-space: 3.25rem;
}

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

html,
body {
	margin: 0;
	min-height: 100%;
	background: var(--ec-black);
	color: var(--ec-text);
	font-family: var(--ec-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

html {
	overflow-x: hidden;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
}

html:has(body.is-locked) {
	height: 100svh;
	min-height: 0;
	overflow: hidden;
}

body.is-locked {
	height: 100%;
	min-height: 0;
	overflow: hidden;
	overscroll-behavior: none;
}

html:has(body.admin-bar.is-locked) {
	height: calc(100svh - var(--wp-admin--admin-bar--height, 32px));
}

a {
	color: inherit;
}

:focus {
	outline: none;
}

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

.orbs {
	position: fixed;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
	contain: strict;
}

.orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(72px);
	will-change: transform;
	transform: translate3d(0, 0, 0);
}

.orb--one {
	top: 6%;
	left: 12%;
	width: min(42vw, 30rem);
	height: min(42vw, 30rem);
	background: #d8c8f0;
	opacity: 0.4;
	animation: ec-drift-one 32s ease-in-out infinite;
}

.orb--two {
	right: 8%;
	top: 22%;
	width: min(36vw, 26rem);
	height: min(36vw, 26rem);
	background: #9eb6d4;
	opacity: 0.34;
	animation: ec-drift-two 38s ease-in-out infinite;
}

.orb--three {
	left: 28%;
	bottom: 4%;
	width: min(44vw, 32rem);
	height: min(44vw, 32rem);
	background: #efe6d6;
	opacity: 0.24;
	animation: ec-drift-three 42s ease-in-out infinite;
}

@keyframes ec-drift-one {
	0%,
	100% {
		transform: translate3d(0, 0, 0) scale(1);
	}
	50% {
		transform: translate3d(9vw, 7vh, 0) scale(1.08);
	}
}

@keyframes ec-drift-two {
	0%,
	100% {
		transform: translate3d(0, 0, 0) scale(1.04);
	}
	50% {
		transform: translate3d(-8vw, 8vh, 0) scale(0.94);
	}
}

@keyframes ec-drift-three {
	0%,
	100% {
		transform: translate3d(0, 0, 0) scale(1);
	}
	50% {
		transform: translate3d(6vw, -9vh, 0) scale(1.1);
	}
}

.site {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	justify-content: safe center;
	min-height: 0;
	padding: 2.25rem 1.25rem;
}

body.is-locked .site {
	flex: 1 1 0;
	min-height: 0;
	overflow: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
}

body.is-locked .site-footer {
	flex: 0 0 auto;
}

body:not(.is-locked) .site {
	justify-content: flex-start;
}

.entry {
	width: min(100%, 40rem);
	padding-top: 1.25rem;
}

.entry__header {
	margin-bottom: 1.35rem;
	padding-bottom: 1.2rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.entry h1 {
	margin: 0 0 0.55rem;
	font-size: clamp(1.7rem, 4vw, 2.15rem);
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 1.1;
}

.breadcrumbs {
	color: var(--ec-muted);
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: -0.015em;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.3rem 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.breadcrumbs li {
	display: flex;
	align-items: center;
	color: inherit;
}

.breadcrumbs li:not(:last-child)::after {
	content: "/";
	margin: 0 0.45rem;
	opacity: 0.7;
}

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

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
	color: var(--ec-text);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.breadcrumbs [aria-current="page"] {
	color: rgba(244, 244, 244, 0.78);
}

.entry h2 {
	margin: 2rem 0 0.65rem;
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 1.2;
}

.entry h2:first-child {
	margin-top: 0;
}

.entry p,
.entry li {
	color: var(--ec-muted);
}

.entry ul {
	margin: 0 0 1rem;
	padding-left: 1.15rem;
}

.entry li + li {
	margin-top: 0.35rem;
}

.entry a {
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.entry .breadcrumbs a {
	text-decoration: none;
}

.entry .breadcrumbs a:hover,
.entry .breadcrumbs a:focus-visible {
	color: var(--ec-text);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.site-footer {
	position: relative;
	z-index: 2;
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	min-height: var(--ec-footer-space);
	padding: 0.85rem 1.25rem 1.15rem;
	color: var(--ec-muted);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: -0.015em;
}

.site-footer p {
	margin: 0;
}

.site-footer a {
	pointer-events: auto;
	color: inherit;
	text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
	color: var(--ec-text);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

@media (prefers-reduced-motion: reduce) {
	.orb {
		animation: none;
		will-change: auto;
	}
}
