:root {
	--harder-ink: #201d1d;
	--harder-red: #a3171c;
	--harder-header: #fff;
	--harder-button-text: #fff;
	--harder-surface: #f8f6f5;
	--harder-line: #e4dcdb;
	--harder-serif: Georgia, "Times New Roman", serif;
}

body .site-header {
	background: var(--harder-header);
	border-top: 4px solid var(--harder-red);
}

body .site-header .site-title {
	font-family: var(--harder-serif);
	font-size: clamp(1.35rem, 3vw, 1.9rem);
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

body.twentyseventeen-front-page .site-header .custom-header {
	display: block;
	height: auto;
	margin-bottom: 0 !important;
}

/* Keep the configured header photo in a banner above the branding. */
body.twentyseventeen-front-page.has-header-image .site-header .custom-header-media {
	display: block;
	position: relative;
	height: min(var(--harder-banner-height, 240px), 48vw);
	max-height: none;
}

body.twentyseventeen-front-page.has-header-image .site-header .custom-header-media::before {
	display: none;
}

body.twentyseventeen-front-page.has-header-image .site-header .custom-header-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
	object-fit: cover;
	object-position: center;
	transform: none;
}

body.twentyseventeen-front-page .site-header .menu-scroll-down {
	display: none;
}

body.twentyseventeen-front-page .site-header .site-branding {
	display: block;
	position: relative;
	height: auto;
	margin: 0 !important;
	padding: var(--harder-branding-padding, 12px) 0;
}

body .site-header .site-branding .site-title a {
	color: var(--harder-header-text, var(--harder-ink));
}

body .site-header .site-branding .site-description {
	color: var(--harder-header-text, #51494a);
	opacity: 1;
}

body.has-header-image:not(.twentyseventeen-front-page):not(.home) .site-header .site-branding .wrap {
	position: relative;
}

body.has-header-image:not(.twentyseventeen-front-page):not(.home) .site-header .site-branding {
	background: var(--harder-header);
}

body .site-header .site-branding .custom-logo-link img {
	width: clamp(4.5rem, 9vw, 6.25rem);
	height: auto;
}

body .site-header .navigation-top .current-menu-item > a,
body .site-header .navigation-top a:hover {
	color: var(--harder-red);
}

body.twentyseventeen-front-page .site-header .navigation-top {
	position: relative;
	border-color: var(--harder-line);
}

body.twentyseventeen-front-page .site-header .navigation-top.site-navigation-fixed {
	position: fixed;
}

.harder-intro {
	background: var(--harder-surface);
	color: var(--harder-ink);
	border-bottom: 1px solid var(--harder-line);
}

.harder-intro .harder-intro-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	gap: 1.75rem;
	padding-top: var(--harder-intro-padding, 48px);
	padding-bottom: var(--harder-intro-padding, 48px);
}

.harder-intro .harder-intro-location {
	margin-bottom: .65rem;
	color: var(--harder-red);
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: .045em;
}

.harder-intro #harder-intro-title {
	max-width: 17ch;
	margin: 0 0 1rem;
	padding: 0;
	color: var(--harder-ink);
	font-family: var(--harder-serif);
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 400;
	line-height: 1.1;
}

.harder-intro .harder-intro-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
}

.harder-intro .harder-button {
	display: inline-block;
	padding: .65rem .95rem;
	border: 1px solid var(--harder-red);
	border-radius: .2rem;
	background: var(--harder-red);
	color: var(--harder-button-text);
	font-weight: 700;
	text-decoration: none;
}

.harder-intro .harder-button-secondary {
	background: transparent;
	color: var(--harder-red);
}

.harder-intro .harder-button:hover {
	text-decoration: underline;
}

.harder-intro .harder-button:focus-visible {
	outline: 2px solid var(--harder-red);
	outline-offset: 3px;
}

.harder-portrait {
	display: block;
	width: min(100%, 15rem);
	height: auto;
	border-radius: .25rem;
}

.twentyseventeen-front-page .twentyseventeen-panel .panel-image {
	height: clamp(12rem, 35vw, 24rem);
}

@media screen and (min-width: 48em) {
	.harder-intro .harder-intro-inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 15rem);
		gap: 3rem;
	}
}

body.twentyseventeen-front-page #masthead .custom-header {
	padding-bottom: 0;
}

body:not(.twentyseventeen-front-page) #masthead .site-branding {
	padding-top: var(--harder-branding-padding, 12px);
	padding-bottom: var(--harder-branding-padding, 12px);
}

#masthead .site-branding .wrap {
	padding-top: 0;
	padding-bottom: 0;
}

/* Footer widgets and the existing Info menu. */
#colophon .widget-area {
	display: grid;
	gap: 1.75rem 2.5rem;
	padding-top: clamp(1.75rem, 4vw, 3rem);
	padding-bottom: clamp(1.75rem, 4vw, 3rem);
}

#colophon .widget-area .footer-widget-1,
#colophon .widget-area .footer-widget-2 {
	float: none;
	width: auto;
	min-width: 0;
}

#colophon .widget-area .widget {
	min-width: 0;
	padding-bottom: 0;
}

#colophon .widget-area .widget + .widget {
	margin-top: 1.5rem;
}

#colophon .footer-widget-1 .widget_media_image img {
	max-width: min(100%, 10rem);
	height: auto;
}

#colophon .widget-area .widget-title {
	margin: 0 0 .85rem;
	font-size: .8rem;
	letter-spacing: .08em;
}

#colophon .widget_nav_menu .menu {
	margin: 0;
	list-style: none;
}

#colophon .widget_nav_menu li {
	padding: 0;
	border: 0;
}

#colophon .widget_nav_menu .sub-menu {
	margin: 0 0 .35rem 1em;
}

#colophon .widget_nav_menu a,
#colophon .wp-block-navigation a {
	display: inline-block;
	padding: .3rem 0;
	box-shadow: none;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	text-underline-offset: .2em;
}

#colophon .widget_nav_menu a:hover,
#colophon .widget_nav_menu a:focus-visible,
#colophon .wp-block-navigation a:hover,
#colophon .wp-block-navigation a:focus-visible {
	text-decoration: underline;
}

#colophon .widget_nav_menu a:focus-visible,
#colophon .wp-block-navigation a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

@media screen and (min-width: 48em) {
	#colophon .widget-area:has(> .footer-widget-1 + .footer-widget-2) {
		grid-template-columns: minmax(0, 10rem) minmax(0, 1fr);
	}

	#colophon .widget-area .footer-widget-2:has(> .widget_nav_menu) {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
		gap: 1.5rem 2.5rem;
	}

	#colophon .footer-widget-2:has(> .widget_nav_menu) > .widget {
		margin-top: 0;
	}
}

#colophon .widget-area::before,
#colophon .widget-area::after {
	display: none;
}

#colophon .harder-footer-credit {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .35rem 1.15rem;
	font-size: .85rem;
}
