@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&display=swap");

body {
	--hero-overlay-image: linear-gradient(150deg, rgba(8, 12, 18, 0.66), rgba(14, 20, 28, 0.5) 42%, rgba(78, 46, 23, 0.2));
	--hero-background-image: url("../../images/missouri-morning.svg");
}

body.bg-vector {
	--hero-background-image: url("../../images/missouri-morning.svg");
}

body.bg-photo {
	--hero-background-image: url("../../images/missouri-morning-photo.jpg");
}

body,
input,
select,
textarea {
	color: rgba(255, 255, 255, 0.84);
}

a {
	border-bottom-color: rgba(200, 109, 66, 0.45);
}

	a:hover {
		color: #f1ba7b !important;
		border-bottom-color: rgba(241, 186, 123, 0.35);
	}

h1,
h2,
h3,
h4,
.button,
#header nav ul li a,
.eyebrow,
.inline-stats strong {
	font-family: "Space Grotesk", sans-serif;
}

#bg:after {
	background-image: var(--hero-overlay-image), var(--hero-background-image);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

#header .logo {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 0.18rem;
	box-sizing: border-box;
	background: rgba(8, 12, 18, 0.45);
	border-color: rgba(255, 255, 255, 0.85);
}

#header .logo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	padding: 0;
	object-fit: cover;
	object-position: center;
	border-radius: 50%;
	transform: none;
	margin-left: 0;
}

#header .content .inner {
	max-width: 56rem;
	max-height: 72rem;
}

#header .content h1 {
	font-size: 4rem;
	letter-spacing: 0.2rem;
}

#header .content p {
	font-size: 1rem;
	line-height: 1.8;
}

.eyebrow {
	margin-bottom: 0.8rem;
	color: #f1ba7b;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.24rem;
	text-transform: uppercase;
}

.inline-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 1.75rem 0 2rem 0;
	padding-left: 0;
	list-style: none;
}

.inline-stats li {
	padding: 0.95rem 1rem;
	border: solid 1px rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.05);
	padding-left: 1rem;
}

.inline-stats strong {
	display: block;
	margin-bottom: 0.2rem;
	color: #f1ba7b;
	font-size: 1.65rem;
	line-height: 1;
}

.inline-stats span {
	display: block;
	font-size: 0.86rem;
	line-height: 1.55;
}

#header nav ul li a {
	min-width: 8.4rem;
	padding-left: 1rem;
	padding-right: 1rem;
	font-size: 0.82rem;
	letter-spacing: 0.18rem;
}

#main article {
	width: 56rem;
	background-color: rgba(17, 23, 29, 0.9);
}

#main article .major {
	margin-bottom: 1.5rem;
}

#main article h3,
#main article h4 {
	margin-bottom: 0.7rem;
	color: #f1ba7b;
}

#main article p,
#main article li {
	line-height: 1.75;
}

#main article .image.main img {
	max-height: 19rem;
	border-radius: 4px;
	object-fit: cover;
}

#main article .summit-reel {
	position: relative;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.04);
}

#main article .summit-reel img {
	display: block;
	width: 100%;
	transition: opacity 280ms ease-in-out;
}

#main article .summit-reel.is-fading img {
	opacity: 0.22;
}

#main article .image.main.partners-hero img {
	max-height: none;
	height: auto;
	background: #ffffff;
	object-fit: contain;
}

.section-grid {
	display: grid;
	gap: 1rem;
	margin: 1.75rem 0;
}

.section-grid.two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-grid.three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
	padding: 1.1rem 1.2rem;
	border: solid 1px rgba(255, 255, 255, 0.16);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.05);
}

.card > :last-child,
.card ul:last-child,
.card p:last-child {
	margin-bottom: 0;
}

.partner-link {
	margin-top: 0.8rem;
	font-size: 0.82rem;
}

.partner-link a {
	border-bottom-color: rgba(241, 186, 123, 0.35);
}

.partner-logo-frame {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 6.25rem;
	margin-bottom: 1rem;
	padding: 0.9rem 1rem;
	border-radius: 4px;
	border: solid 1px rgba(154, 164, 176, 0.62);
	background: rgba(213, 219, 227, 0.96);
}

.partner-logo {
	display: block;
	max-width: 100%;
	max-height: 4.4rem;
	width: auto;
	height: auto;
}

.partner-logo-square {
	max-height: 5rem;
}

.partner-logo-wide {
	max-height: 3.4rem;
}

.quote-block {
	margin: 1.75rem 0;
	padding: 1.35rem 1.5rem;
	border-left: solid 4px #c86d42;
	background: rgba(200, 109, 66, 0.08);
}

.quote-block p {
	margin-bottom: 0.75rem;
	font-size: 1.02rem;
}

.quote-block .quote-attribution {
	margin-bottom: 0;
	color: rgba(255, 255, 255, 0.64);
	font-size: 0.84rem;
	letter-spacing: 0.08rem;
	text-transform: uppercase;
}

.note {
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.9rem;
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 1.75rem 0;
}

.person-card a {
	word-break: break-word;
}

.button.primary {
	background-color: #c86d42 !important;
	color: #ffffff !important;
	box-shadow: none;
}

	.button.primary:hover {
		background-color: #db8155 !important;
	}

.button {
	border-color: rgba(255, 255, 255, 0.22) !important;
}

code {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.12);
}

#footer {
	max-width: 56rem;
}

#footer .copyright {
	text-transform: none;
	letter-spacing: 0.08rem;
	line-height: 1.7;
	margin-bottom: 0.35rem;
}

#footer .site-credit {
	margin: 0;
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.63rem;
	letter-spacing: 0.04rem;
	line-height: 1.65;
	text-transform: none;
}

#footer .site-credit a {
	border-bottom-color: rgba(255, 255, 255, 0.18);
}

#footer .photo-credit {
	display: none;
}

body.bg-photo #footer .photo-credit {
	display: block;
}

@media screen and (max-width: 980px) {

	#header nav ul li a {
		min-width: 0;
		font-size: 0.76rem;
	}

	.section-grid.three {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media screen and (max-width: 736px) {

	#header .logo img {
		width: 100%;
		height: 100%;
	}

	#header .content h1 {
		font-size: 2.85rem;
		letter-spacing: 0.14rem;
	}

	.inline-stats,
	.section-grid.two,
	.section-grid.three,
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.inline-stats {
		gap: 0.75rem;
		margin: 1.5rem 0 1.75rem 0;
	}

	.inline-stats li {
		padding: 0.85rem 0.9rem;
	}

	.inline-stats strong {
		font-size: 1.5rem;
	}

	.inline-stats span {
		font-size: 0.84rem;
	}

	#header nav ul li a {
		font-size: 0.7rem;
		letter-spacing: 0.11rem;
	}

}
