@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-regular.woff2") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-bold.woff2") format("woff2");
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-extra-bold.woff2") format("woff2");
	font-style: normal;
	font-weight: 800;
	font-display: swap;
}

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

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

body {
	margin: 0;
	color: var(--color-text);
	background: var(--color-background);
	font-family: var(--font-sans);
	font-size: var(--text-body);
	line-height: var(--line-height-body);
	-webkit-font-smoothing: antialiased;
	animation: page-enter var(--transition-page-in) var(--ease-page);
}

body.is-page-leaving {
	opacity: 0;
	pointer-events: none;
	animation: none;
	transition: opacity var(--transition-page-out) var(--ease-page);
}

@keyframes page-enter {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

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

a {
	color: inherit;
}

.button-pill,
.wp-block-button:not(.is-style-small) .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: var(--space-xs) 1.3125rem;
	border: var(--border-width) solid var(--color-text);
	border-radius: var(--radius-pill);
	color: var(--color-text);
	background-color: var(--color-background);
	font-family: var(--font-sans);
	font-size: var(--text-body);
	font-weight: var(--weight-regular);
	line-height: var(--line-height-body);
	text-align: center;
	text-decoration: none;
	transition:
		color var(--transition-card) var(--ease-card),
		background-color var(--transition-card) var(--ease-card);
}

.button-small,
.wp-block-button.is-style-small .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2xs);
	min-height: 44px;
	padding: 0;
	border: 0;
	border-radius: 0;
	color: var(--color-text);
	background: transparent;
	font-family: var(--font-sans);
	font-size: var(--text-body);
	font-weight: var(--weight-regular);
	line-height: var(--line-height-body);
	text-decoration: none;
}

.button-pill:focus-visible,
.wp-block-button:not(.is-style-small) .wp-block-button__link:focus-visible {
	color: var(--color-background);
	background-color: var(--color-text);
	outline: 2px solid var(--color-text);
	outline-offset: 3px;
}

.button-small:focus-visible,
.wp-block-button.is-style-small .wp-block-button__link:focus-visible {
	outline: 2px solid var(--color-text);
	outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
	.button-pill:hover,
	.wp-block-button:not(.is-style-small) .wp-block-button__link:hover {
		color: var(--color-background);
		background-color: var(--color-text);
	}

	.button-small:hover,
	.wp-block-button.is-style-small .wp-block-button__link:hover {
		text-decoration: underline;
		text-underline-offset: 0.18em;
	}
}

.shell {
	width: min(100%, var(--site-max));
	margin-inline: auto;
	padding-inline: var(--page-gutter);
}

.editorial-shell {
	width: min(calc(100% - (2 * var(--page-gutter))), var(--editorial-max));
	margin-inline: auto;
}

.site-header {
	padding-block: var(--page-gutter) var(--space-sm);
}

.site-header__home {
	display: inline-block;
}

.site-header__logo {
	width: clamp(5rem, 6.667vw, 8rem);
}

.site-footer {
	position: relative;
	min-height: 3.9375rem;
}

.site-footer::before {
	position: absolute;
	top: 1.5rem;
	inset-inline: 0;
	height: var(--footer-border-width);
	background: currentColor;
	content: "";
}

.site-footer__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	min-height: 3.9375rem;
}

.site-footer__nav {
	padding-top: 2.25rem;
}

.site-footer__nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--footer-nav-gap);
	margin: 0;
	padding: 0;
	font-size: var(--text-footer);
	list-style: none;
}

.site-footer__nav a {
	text-decoration: none;
}

.site-footer__nav .current-menu-item > a,
.site-footer__nav a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

@media (hover: hover) and (pointer: fine) {
	.site-footer__nav a:hover {
		text-decoration: underline;
		text-underline-offset: 0.15em;
	}
}

.site-footer__brand {
	position: relative;
	z-index: 1;
	display: block;
	justify-self: end;
	background: var(--color-background);
}

.site-footer__logo {
	width: 16.75rem;
}

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

.screen-reader-text:focus {
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	margin: 0.5rem;
	clip: auto;
	background: var(--color-background);
}

@media (max-width: 800px) {
	.site-footer__inner {
		grid-template-columns: 1fr;
		padding-bottom: var(--space-sm);
	}

	.site-footer__brand {
		grid-row: 1;
	}

	.site-footer__nav {
		grid-row: 2;
		padding-top: var(--space-sm);
	}
}

@media (prefers-reduced-motion: reduce) {
	body,
	body.is-page-leaving {
		animation: none;
		transition: none;
	}

	.button-pill,
	.wp-block-button:not(.is-style-small) .wp-block-button__link {
		transition: none;
	}

	html {
		scroll-behavior: auto;
	}
}
