* { box-sizing: border-box; }
:root {
	--color-orange: #f37735;
	--color-dust: #20261f;
	--color-moss: #a3905c;
	--color-gray: #7f7f7f;
	--color-darkgray: #101010;

	--inner-width: 70rem;
}
body {
	margin: 0;

	background-color: var(--color-darkgray);
	color: var(--color-moss);
	font-family: "Open Sans", "Arial", "Helvetica Neue", sans-serif;
}

h1, h2, h3, h4, h5, h6, p, .p {
	margin: 0.5rem 0;
}
h1.--spaced, h2.--spaced, h3.--spaced, h4.--spaced, h5.--spaced, h6.--spaced, p.--spaced {
	margin: 2rem 0;
}
h1, .h1 {
	font-size: 3.5em;
	letter-spacing: -2.1px;
}
h2, .h2 {
	font-size: 2.3em;
	letter-spacing: -1.8px;
}
h3, .h3 {
	font-size: 1.8em;
	letter-spacing: -1.5px;
}
a {
	color: inherit;
	text-decoration: none;
}
a:hover {
	color: var(--color-orange);
}
a.--alt {
	text-decoration: underline;
}
a.--alt:hover {
	color: inherit;
}

break {
	display: block;
	margin: 2em 0;
	padding: 1px 0;
}

.button {
	display: inline-block;
	background-color: var(--color-orange);
	color: var(--color-dust);
	font-size: inherit;
	border: none;
	padding: 0.75em;
	border-radius: 0.5em;
	text-decoration: none;
	text-align: center;
	font-weight: bold;
	min-width: 8em;
}
.button:hover {
	color: var(--color-dust);
	filter: brightness(110%) contrast(110%);
	cursor: pointer;
}

main {
	background-color: var(--color-dust);
	padding: 1px 0 3em 0; /* force contain all internal margins */
}

.topbar {
	width: 100vw;
	position: relative;
	background: var(--color-dust);
}
.topbar_content {
	height: 4.5rem;
	max-width: var(--inner-width);
	margin: 0 auto;
	padding: 0 1em;
	display: flex;
	align-items: center;
	gap: 2.5em;
}
.topbar_brand {
	height: 3rem;
}
.topbar_links {
	display: flex;
	gap: 1.75em;
}
.topbar_links > a {
	color: inherit;
	text-decoration: none;
	font-size: 1.2em;
}
.topbar_links > a:hover {
	color: var(--color-orange);
}
.topbar_link--active {
	font-weight: bold;
}
.topbar_right {
	margin-left: auto;
}

.splash {
	width: 100%;
	height: 40rem;
	max-height: 60vh;
	position: relative;
	overflow: clip;
}
.splash_backdrop {
	position: absolute;
	z-index: 1;
	width: 100vw;
	height: 100%;
	background-size: cover;
	background-position: center;
}
.splash_content {
	z-index: 2;
	position: relative;
	max-width: var(--inner-width);
	margin: 0 auto;
	padding: 0 1em;
	height: 100%;
}
.splash_text {
	z-index: 2;
	position: absolute;

	background-color: var(--color-dust);
	padding: 0.4em 1.15em;
	border-radius: 0.5em;
	font-weight: bold;
	font-size: 3.5em;
	text-align: left;
	letter-spacing: -2px;

	top: 50%;
	transform: translateY(-50%);
}
.splash_text--right {
	right: 1rem;
}
.splash_text--left {
	left: 1rem;
}
.splash_text--center {
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}

.content, .footer_content {
	max-width: var(--inner-width);
	margin: 0 auto;
	padding: 0 1em;
}
.footer {
	color: var(--color-gray);
}
.footer::before {
	content: ' ';
	display: block;
	width: 100%;
	min-height: 12em;
	aspect-ratio: 5.1;
	background:
		linear-gradient(to bottom, transparent 70%, #101010),
		top/cover url(footer_bg.webp),
		var(--color-dust);
}
.footer_content {
	padding: 2rem 1rem;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	align-items: center;
}
.footer_eu {
	max-height: 5.5em;
	max-width: 50vw;
}
.footer_copy {
	font-size: 0.8em;
}
.footer_social {
	font-size: 1.2em;
	line-height: 1.5;
	margin-left: auto;
}

.biglink {
	display: block;
	font-size: 2rem;
	font-weight: bold;
	color: inherit;
	text-decoration: none;
	width: 100%;
	margin-top: 0.25em;
}
.biglink_arr {
	float: right;
	padding-left: 1em;
}
.biglink::after {
	display: block;
	content: ' ';
	clear: both;
}
.biglink:hover {
	color: var(--color-orange);
	text-decoration: underline;
	text-decoration-thickness: 0.125em;
}

.cards {
	display: flex;
	justify-content: space-between;
	gap: 3em;
}
.card {
	position: relative;
	flex: 1 0 0;

	background: var(--color-moss);
	color: var(--color-dust);

	font-size: 1.2em;

	padding: 1rem;
}
.card--round {
	border-radius: 1em;
}
.card_image {
	width: calc(100% + 2rem);
	aspect-ratio: 1 / 1;
	margin: -1rem -1rem 0 -1rem;
	object-fit: cover;
}

.icon {
	height: 1.25em;
	vertical-align: -18%;
	fill: currentColor;
}
.icon--inline {
	height: 1em;
	vertical-align: -12%;
}
.icon--brown {
	color: #aa3b00;
}

.popup {
	display: inline-block;
	position: relative;
}
.popup_content {
	display: none;

	font-size: 0.9rem;
	width: 20rem;
	background-color: #a8a8a8;
	padding: 1em;
	border-radius: 1em;

	position: absolute;
	top: 80%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
}
.popup_target:hover + .popup_content,
.popup_target:focus + .popup_content,
.popup_content:hover,
.popup_content:focus-within {
	display: block;
}

.form {
	display: flex;
	gap: 2em;
	padding: 2em;

	background-color: var(--color-moss);
	color: var(--color-dust);
	border-radius: 1em;
}
.form > * {
	flex: 1 0 0;
}

label {
	margin: 0.5em 0;
	font-weight: bold;
}
input, textarea {
	width: 100%;
	border: none;
	font-size: inherit;
	padding: 0.5em 0.75em;
	border-radius: 0.5em;
	margin-bottom: 0.5em;
}
textarea {
	resize: vertical;
	min-width: 100%; /* disallow horizontal resize */
	font-family: inherit;
}
input:focus, textarea:focus {
	outline: 1px solid var(--color-orange);
}

.form > form > .success {
	float: right;
	font-style: italic;
}

#et::before { content: 'info'; }
#et::after { content: 'huntnet.co'; }

@media screen and (max-width: 900px) {
	.cards {
		flex-direction: column;
	}
	.card {
		flex: 0 0 0;
	}
	.card_image {
		aspect-ratio: 3 / 1;
	}
}

@media screen and (max-width: 700px) {
	body {
		font-size: 14px;
	}
	.card_image {
		aspect-ratio: 2 / 1;
	}
	.form {
		flex-direction: column;
	}
	.form > * {
		flex: 0 0 0;
	}
	h1, .h1 {
		font-size: 3em;
	}
	h2, .h2 {
		font-size: 2em;
	}
	.splash_text {
		font-size: 3em;
	}

	.topbar_content {
		height: auto;
		flex-direction: column;
		gap: 1.5em;
		padding: 1em 0;
	}
	.topbar_right {
		margin-left: 0;
	}

	.footer_content {
		display: flex;
		align-items: flex-start;
		flex-direction: column-reverse;
	}
	.footer_eu {
		max-width: 100%;
		max-height: 7em;
	}
	.footer_copy {
		font-size: 0.9em;
	}
	.footer_social {
		margin-left: 0;
		margin-bottom: 1em;
	}
}
@media screen and (max-width: 500px) {
	.splash_text {
		font-size: 2em;
	}
	.popup_content {
		transform: translateX(-25%);
	}
}

@media screen and (min-width: 500px) and (max-width: 900px) {
	.card--with-image {
		padding-left: 13rem;
	}
	.card_image {
		position: absolute;
		top: 0;
		left: 0;
		margin: 0;
		width: 12rem;
		height: 100%;
	}
}
