/* Cooper Landing — Main stylesheet */
/* Built by Contra Studio */

/* Fonts, tokens and base typography (base/, tokens/) load before this file; */
/* the site shell (site/header.css, site/footer.css) loads after it.         */
/* All are enqueued in functions.php. Body font styles live in base/type.css. */

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

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

/* In-page links (the header nav's section anchors, the skip link) scroll smoothly. */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	color: var(--color-text);
	background-color: var(--color-background);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--color-link);
}

/* ---------------------------------------- */
/* Utilities                                */
/* ---------------------------------------- */

.container {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

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

.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 16px;
	margin: 0;
	clip: auto;
	color: var(--color-text);
	background: var(--color-background);
}

@media (max-width: 767px) {
	.remove-on-mobile {
		display: none !important;
	}
}

@media (min-width: 768px) {
	.remove-on-desktop {
		display: none !important;
	}
}

/* ---------------------------------------- */
/* 404                                      */
/* ---------------------------------------- */

.error-404 {
	padding-block: 96px;
	text-align: center;
}
