* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100%;
	background: #071b18;
	color: white;
}

body {
	font-family: Arial, Helvetica, sans-serif;
}

.hero {
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	position: relative;
	background: #071b18 url('../images/hero-desktop.png') center/cover no-repeat;
}

.hero-name {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: clamp(2rem, 4.5vw, 5rem);
	text-transform: uppercase;
	letter-spacing: 0.045em;
	line-height: 1.1;
	color: #fff;
}

.hero-title {
	font-family: 'Jost', sans-serif;
	font-weight: 300;
	font-size: clamp(0.8rem, 1.5vw, 1.5rem);
	text-transform: uppercase;
	letter-spacing: 0.4em;
	color: #e5e5e5;
}

.content {
	width: 54%;
	padding: 2rem 3.5vw;
	text-align: center;
	position: relative;
	text-shadow: 0 2px 6px #000b;
}

h1 {
	font-size: clamp(2rem, 4.1vw, 5rem);
	font-weight: 500;
	font-variant: small-caps;
	letter-spacing: .025em;
	line-height: 1.1;
	margin: 0;
	white-space: nowrap;
}

.role {
	border-top: 2px solid #a2c960;
	max-width: 90%;
	padding-top: 1rem;
	margin: 1rem auto 2rem;
	letter-spacing: .3em;
	text-transform: uppercase;
	font-size: clamp(.75rem, 1.55vw, 1.5rem);
}

/* Homepage navigation */

.features {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.55rem;
	justify-items: center;
}

.feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	width: 100%;
	min-width: 0;
	min-height: 80px;
	padding: 5px 10px 7px;
	border: 1px solid rgba(162, 201, 96, 0.35);
	border-radius: 10px;
	background: rgba(7, 40, 32, 0.45);
	color: #fff;
	text-decoration: none;
	text-align: center;
	font-size: clamp(0.65rem, 0.95vw, 1rem);
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.feature:visited {
	color: #fff;
}

.feature:hover,
.feature:focus-visible {
	background: rgba(40, 85, 52, 0.75);
	border-color: #a2c960;
	transform: translateY(-2px);
}

.feature:active {
	transform: translateY(1px);
}

.feature:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.feature img {
	width: clamp(38px, 4vw, 66px);
	height: clamp(38px, 4vw, 66px);
	object-fit: contain;
}

.motto img {
	width: 300px;
}

/* Tablet */

@media (max-width: 1000px) {
	.hero {
		background-position: 40% center;
	}

	.content {
		width: 60%;
		padding: 1.5rem 2vw;
		background: rgba(3, 22, 21, .6);
	}

	h1 {
		white-space: normal;
	}

	.features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.65rem;
	}
}

/* Mobile */

@media (max-width: 650px) {
	.hero {
		background-image: url('../images/hero-mobile.png');
		background-position: center 70%;
		background-size: cover;
		align-items: flex-start;
		justify-content: center;
		min-height: 100dvh;
	}

	.content {
		width: 100%;
		padding: 1.25rem .85rem 1.5rem;
		background: linear-gradient(180deg,
				rgba(2, 20, 21, .95),
				rgba(2, 20, 21, .82) 75%,
				rgba(2, 20, 21, .1));
	}

	.role {
		letter-spacing: .15em;
		font-size: .78rem;
		margin: .7rem auto 1rem;
		padding-top: .65rem;
	}

	.features {
		gap: .55rem;
	}

	.feature {
		font-size: .7rem;
		gap: .2rem;
		min-height: 70px;
		padding: 5px 8px 7px;
	}

	.feature img {
		width: 32px;
		height: 32px;
	}

	.motto img {
		width: 240px;
	}

	h1 {
		font-size: clamp(1.85rem, 8vw, 3.2rem);
	}
}