/*
.quicksand-<uniquifier> {
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
*/

:root {
	--white: #fff;
	--black: #222;
	--gray: #eaeaea;
	--lt-gray: #f8f8f8;
	--blue: #0061ae;
	--gold: #a68f73;
	--tan: #d9bba9;
	--lt-tan: rgb(242, 233, 228);
}

html {
	box-sizing: border-box;
}

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

body {
	padding: 0;
	margin: 0;
	font-family: "Quicksand", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 100%;
	line-height: 1.65;
	color: var(--black);
	background-color: var(--white);
}

h1,
h2,
h3 {
	line-height: 1.25;
}

figure {
	margin: 0;
}

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

p {
	font-size: clamp(1rem, 1.5vw, 1.25rem);
	margin: 0 0 clamp(1rem, 3vw, 2rem);
}

p:last-of-type {
	margin: 0;
}

.wrap {
	width: 75rem;
	max-width: calc(100% - 2rem);
	margin: 0 auto;
}

.hero {
	display: flex;
	flex-wrap: wrap;
	justify-content: end;
	align-content: center;
	position: relative;
	min-height: 80vh;
	z-index: 0;
}

.hero .figure {
	position: absolute;
	inset: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

.hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.primary_heading {
	margin: 0 0 1rem;
	font-size: clamp(1.5rem, 5vw, 4rem);
	font-weight: 400;
}

.content {
	position: relative;
	padding: clamp(2rem, 10vw, 8rem);
	margin: 1rem 0;
	width: 75rem;
	max-width: calc(100% - 1rem);
	text-align: right;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 33%);
	border-top-left-radius: 50vh;
	border-bottom-left-radius: 50vh;
	background-color: rgba(255, 255, 255, 75%);
	backdrop-filter: blur(5px);
}

.content::before {
	content: "";
	display: block;
	position: absolute;
	top: 2rem;
	left: 2rem;
	width: calc(100% - 4rem);
	height: calc(100% - 4rem);
	border: 3px dotted var(--tan);
	border-top-left-radius: 50vh;
	border-bottom-left-radius: 50vh;
	pointer-events: none;
}

.secondary_heading {
	font-size: clamp(1.5rem, 4vw, 3rem);
	font-weight: 400;
	margin: 0 0 clamp(1rem, 3vw, 2rem);
}

.text,
.cards {
	padding: clamp(2rem, 6vw, 4rem) 0 0;
}

.cards .wrap {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.tertiary_heading {
	font-size: 1.25rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.cards .figure {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

.cards img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.footer {
	padding: clamp(2rem, 6vw, 4rem) 0;
	font-weight: 500;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 1px;
}

@media (max-width: 960px) {
	.hero {
		min-height: auto;
	}

	.content::before {
		top: 1rem;
		left: 1rem;
		width: calc(100% - 2rem);
		height: calc(100% - 2rem);
	}

	.cards .wrap {
		grid-template-columns: 1fr;
	}
}

/* Header */
.header {
	position: fixed;
	z-index: 3;
	top: 0;
	left: 0;
	width: 100%;
	padding: 2rem 1rem;
	background-color: rgba(255, 255, 255, 90%);
	box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 10%);
}

/* Navigation */
.menu_button {
	display: none;
}

.main_nav {
	padding: 0;
	margin: 0;
	list-style-type: none;
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: center;
	gap: 2rem;
}

.main_nav a {
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--blue);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	text-decoration-color: transparent;
	transition: text-decoration-color 300ms ease-in-out;
}

.main_nav a:focus,
.main_nav a:hover,
.main_nav a:active {
	text-decoration-color: var(--blue);
}

@media (max-width: 960px) {
	.header {
		position: sticky;
		padding: 0.5rem;
	}

	.menu_button {
		display: block;
		padding: 0.5rem;
		margin: 0.5rem 0.5rem 0.5rem auto;
		background-color: var(--blue);
		border: none;
		border-radius: 5px;
		cursor: pointer;
		transition: background-color 300ms ease-in-out;
	}

	.close_button {
		margin: 1rem 1rem 1rem auto;
	}

	.menu_button:focus,
	.menu_button:hover,
	.menu_button:active {
		background-color: var(--gold);
	}

	.menu_button svg {
		display: block;
		width: 2rem;
		height: 2rem;
		stroke: var(--white);
		transition: stroke 300ms ease-in-out;
	}

	.menu_button:focus svg,
	.menu_button:hover svg,
	.menu_button:active svg {
		stroke: var(--black);
	}

	.navigation {
		visibility: hidden;
		position: fixed;
		top: 0;
		left: -300px;
		width: 300px;
		max-width: 100%;
		height: 100vh;
		transform: translateX(0);
		box-shadow: none;
		background-color: var(--white);
		transition: visibility 300ms ease-in-out, transform 300ms ease-in-out;
	}

	.main_nav {
		flex-direction: column;
		gap: 0;
		border-top: 2px dotted var(--tan);
	}

	.main_nav li {
		width: 100%;
		text-align: center;
		border-bottom: 2px dotted var(--tan);
	}

	.main_nav a {
		display: block;
		padding: 1rem;
	}

	.menu_active .navigation {
		visibility: visible;
		transform: translateX(300px);
		box-shadow: 1px 0 1px 1px rgba(0, 0, 0, 10%);
	}

	.menu_active .open_button {
		visibility: hidden;
	}
}
