@font-face {
	font-family: Anton;
	src: url("../assets/anton-400.woff2") format("woff2");
	font-display: swap;
}
@font-face {
	font-family: Barlow;
	src: url("../assets/barlow-400.woff2") format("woff2");
	font-display: swap;
}
@font-face {
	font-family: Barlow;
	src: url("../assets/barlow-600.woff2") format("woff2");
	font-weight: 600;
	font-display: swap;
}
@font-face {
	font-family: "Barlow Condensed";
	src: url("../assets/barlow-condensed-700.woff2") format("woff2");
	font-weight: 700;
	font-display: swap;
}
:root {
	--paper: #f6f4ef;
	--ink: #191b19;
	--muted: #565a55;
	--accent: #ff6267;
	--academy-red: #bc1828;
	--band: #eae9e2;
	--soft-accent: #ffe2e1;
	--lime: var(--accent);
	--light-rule: rgb(255 255 255 / 0.38);
	--shade: rgb(16 17 15 / 0.68);
	--olive: #3c4239;
	--night: #151714;
	--line: #d6d6ce;
	--pale: #d9dbc9;
	--white: #fffdf4;
	--transparent: transparent;
	--shadow: rgb(0 0 0 / 0.25);
	--overlay: rgb(17 20 13 / 0.81);
	--display: Anton, Impact, sans-serif;
	--narrow: "Barlow Condensed", "Arial Narrow", sans-serif;
	--body: Barlow, Arial, sans-serif;
	--gutter: clamp(22px, 5.2vw, 88px);
	--max: 1500px;
	color-scheme: light;
}
* {
	box-sizing: border-box;
}
html,
body {
	margin: 0;
	overflow-x: clip;
}
html {
	scroll-behavior: smooth;
	scroll-padding-top: 22px;
}
body {
	background: var(--paper);
	color: var(--ink);
	font: 400 17px / 1.5 var(--body);
	-webkit-font-smoothing: antialiased;
}
button,
summary {
	cursor: pointer;
}
button,
a {
	touch-action: manipulation;
}
button {
	font: inherit;
	color: inherit;
}
a {
	color: inherit;
	text-decoration: none;
}
.mast,
.hero,
.history,
.visit,
dialog {
	--focus-ring: var(--paper);
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
	outline: 3px solid var(--focus-ring, var(--ink));
	outline-offset: 4px;
}
button:disabled {
	cursor: default;
}
img {
	display: block;
	max-width: 100%;
}
h1,
h2,
h3,
p,
figure {
	margin: 0;
}
h1,
h2,
h3 {
	min-width: 0;
	overflow-wrap: break-word;
}
.icon {
	width: 20px;
	height: 20px;
	display: inline-block;
	vertical-align: middle;
	flex: none;
}
.wrap {
	width: min(100%, var(--max));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.skip {
	position: absolute;
	z-index: 30;
	left: 10px;
	top: 8px;
	transform: translateY(-180%);
	padding: 10px 20px;
	background: var(--lime);
}
.skip:focus {
	transform: none;
}
.mast {
	background: var(--night);
	color: var(--white);
	position: relative;
	z-index: 5;
}
.nav-row,
.footer-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.nav-row {
	height: 76px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex: none;
}
.brand img {
	width: 68px;
	height: auto;
	padding: 3px;
	border-radius: 5px;
	background: #fff;
}
.brand span {
	font: 700 21px / 1 var(--narrow);
	letter-spacing: 0.015em;
}
nav,
.hero-actions,
.visit-actions {
	display: flex;
	align-items: center;
}
nav {
	gap: clamp(20px, 2.7vw, 46px);
}
nav a,
.nav-visit,
.button,
.text-link,
.footer-row > a:last-child {
	font: 600 15px / 1.1 var(--body);
}
nav a {
	position: relative;
	line-height: 36px;
}
nav a[aria-current]::after {
	content: "";
	position: absolute;
	height: 2px;
	background: var(--accent);
	bottom: 1px;
	left: 0;
	right: 0;
	border-radius: 2px;
}
.nav-visit,
.button,
.text-link,
.footer-row > a:last-child {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}
.nav-visit,
.button {
	background: var(--academy-red);
	color: #fff;
	border-radius: 999px;
	min-height: 48px;
	padding: 0 22px;
	transition:
		background-color 0.2s,
		color 0.2s;
}
.nav-visit {
	background: var(--paper);
	color: var(--ink);
	min-height: 40px;
	padding-inline: 16px;
	font-size: 15px;
	gap: 9px;
}
.nav-visit .icon,
.text-link .icon,
.footer-row .icon {
	width: 17px;
	height: 17px;
}
.nav-visit:hover,
.button:hover {
	background: var(--white);
	color: var(--ink);
}
.nav-visit:hover {
	outline: 1px solid var(--ink);
	outline-offset: -1px;
}
.button.secondary {
	background: rgb(18 20 17 / 0.4);
	color: var(--paper);
	box-shadow: inset 0 0 0 1px var(--light-rule);
}
.button.secondary:hover {
	background: var(--paper);
	color: var(--ink);
}
.hero-actions a:focus-visible,
.visit a:focus-visible,
.history a:focus-visible {
	outline-color: var(--white);
}
.gallery a:focus-visible {
	outline-color: var(--ink);
}
.menu {
	display: none;
	background: none;
	border: 0;
	border-radius: 50%;
}
.section {
	padding-block: clamp(56px, 5vw, 82px);
}
.section-heading {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px;
	margin-bottom: 30px;
}
.section-heading > p {
	max-width: 305px;
	color: var(--muted);
	line-height: 1.45;
	margin-bottom: 2px;
}
.section-label {
	display: flex;
	align-items: center;
	gap: 9px;
	text-transform: uppercase;
	font: 700 13px / 1 var(--narrow);
	letter-spacing: 1.65px;
	margin-bottom: 14px;
}
.section-label i {
	display: inline-block;
	width: 24px;
	height: 5px;
	transform: skewX(-24deg);
	background: repeating-linear-gradient(
		90deg,
		var(--olive) 0 4px,
		transparent 4px 7px
	);
}
h2 {
	font: 400 clamp(52px, 5.3vw, 86px) / 1 var(--display);
	letter-spacing: -0.035em;
}
@media (max-width: 800px) {
	.nav-row {
		height: 68px;
		gap: 14px;
	}
	.brand span {
		font-size: 17px;
	}
	.brand img {
		width: 54px;
	}
	.nav-visit {
		margin-left: auto;
	}
	nav {
		gap: 16px;
	}
	nav a {
		font-size: 14px;
	}
}
@media (max-width: 900px) {
	.mast {
		border-bottom: 1px solid var(--light-rule);
	}
	.menu {
		display: grid;
		place-items: center;
		min-width: 40px;
		min-height: 42px;
	}
	.menu .icon {
		width: 24px;
		height: 24px;
	}
	.nav-row {
		gap: 7px;
	}
	.nav-visit {
		min-height: 36px;
		font-size: 13px;
		padding-inline: 10px;
	}
	.nav-visit .icon:last-child {
		display: none;
	}
	nav {
		display: none;
		position: absolute;
		inset: 100% 0 auto;
		background: var(--night);
		padding: 12px var(--gutter) 20px;
		box-shadow: 0 7px 10px var(--shadow);
	}
	nav.open {
		display: grid;
		gap: 2px;
	}
	nav a {
		justify-self: start;
		font-size: 17px;
	}
	.section-heading {
		display: block;
	}
	.section-heading > p,
	.section-heading > .text-link {
		margin-top: 16px;
	}
	.section-heading > p {
		max-width: 420px;
	}
	.button {
		padding-inline: 16px;
		gap: 10px;
	}
	.footer-row {
		flex-wrap: wrap;
	}
	.section {
		padding-block: 48px;
	}
}
@media (max-width: 380px) {
	.mast .brand {
		gap: 6px;
	}
	.mast .brand span {
		max-width: 64px;
	}
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0s !important;
		transition-duration: 0s !important;
	}
}
