/*
Theme Name: LSFSC Exchange
Theme URI: https://lsfsc.eons.dev/
Author: Eons
Author URI: https://eons.dev/
Description: An accessible, search-forward theme for the Lake States Fire Science Consortium.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: lsfsc-exchange
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--color-ink: #172b30;
	--color-muted: #52666b;
	--color-lake-950: #0c3440;
	--color-lake-900: #123f4b;
	--color-lake-800: #185363;
	--color-lake-700: #176777;
	--color-lake-200: #badde0;
	--color-lake-100: #dceef0;
	--color-lake-50: #eff8f8;
	--color-forest-900: #193c2d;
	--color-forest-800: #25533e;
	--color-forest-700: #326a4f;
	--color-forest-100: #dce9e0;
	--color-fire-700: #a83f19;
	--color-fire-600: #bd4b1d;
	--color-fire-500: #d4632f;
	--color-fire-100: #f9ded0;
	--color-sand: #f5f1e8;
	--color-sand-dark: #e9e1d2;
	--color-white: #fff;
	--color-border: #d6dfdf;
	--font-body: "Aptos", "Segoe UI", Helvetica, Arial, sans-serif;
	--font-display: Georgia, "Times New Roman", serif;
	--shadow-sm: 0 2px 12px rgb(12 52 64 / 8%);
	--shadow-md: 0 18px 44px rgb(12 52 64 / 13%);
	--radius-sm: 0.35rem;
	--radius-md: 0.75rem;
	--radius-lg: 1.2rem;
	--site-width: 76rem;
	--content-width: 48rem;
	--transition: 180ms ease;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--color-white);
	color: var(--color-ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

body.menu-open {
	overflow: hidden;
}

.resource-filters {
	margin: 0 0 2.5rem;
	padding: clamp(1.25rem, 2vw, 2rem);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	background: var(--color-lake-50);
	box-shadow: var(--shadow-sm);
}

.resource-filters__heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.resource-filters__heading h2,
.resource-filters__heading p {
	margin-bottom: 0;
}

.resource-filters__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	align-items: end;
}

.resource-filters__grid label {
	display: grid;
	gap: 0.35rem;
	color: var(--color-lake-950);
	font-size: 0.9rem;
	font-weight: 700;
}

.resource-filters__grid input,
.resource-filters__grid select {
	width: 100%;
	min-height: 3rem;
	padding: 0.65rem 0.8rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	background: var(--color-white);
	font-weight: 400;
}

.resource-filters__grid input:focus,
.resource-filters__grid select:focus {
	outline: 3px solid var(--color-fire-100);
	border-color: var(--color-fire-600);
}

@media (max-width: 52rem) {
	.resource-filters__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 36rem) {
	.resource-filters__heading {
		align-items: start;
		flex-direction: column;
	}

	.resource-filters__grid {
		grid-template-columns: 1fr;
	}
}

img,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

button,
input,
textarea,
select {
	color: inherit;
	font: inherit;
}

a {
	color: var(--color-lake-700);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.16em;
}

a:hover {
	color: var(--color-fire-700);
}

:where(a, button, input, textarea, select, summary):focus-visible {
	border-radius: 0.12rem;
	outline: 3px solid var(--color-fire-500);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.65em;
	color: var(--color-lake-950);
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.12;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.45rem, 5.5vw, 4.8rem);
}

h2 {
	font-size: clamp(2rem, 3.7vw, 3.25rem);
}

h3 {
	font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

h4 {
	font-size: 1.2rem;
}

p {
	margin: 0 0 1.25em;
}

ul,
ol {
	margin-block: 0 1.5em;
}

blockquote {
	margin: 2rem 0;
	padding: 1rem 0 1rem 1.75rem;
	border-left: 0.35rem solid var(--color-fire-500);
	color: var(--color-lake-900);
	font-family: var(--font-display);
	font-size: clamp(1.3rem, 2vw, 1.65rem);
	line-height: 1.45;
}

hr {
	margin: 2.5rem 0;
	border: 0;
	border-top: 1px solid var(--color-border);
}

table {
	width: 100%;
	border-collapse: collapse;
}

th,
td {
	padding: 0.8rem;
	border: 1px solid var(--color-border);
	text-align: left;
	vertical-align: top;
}

th {
	background: var(--color-lake-50);
	color: var(--color-lake-950);
}

.site-shell {
	width: min(calc(100% - 2.5rem), var(--site-width));
	margin-inline: auto;
}

.section {
	padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.section--tint {
	background: var(--color-lake-50);
}

.section--dark {
	background: var(--color-lake-950);
	color: var(--color-white);
}

.section--dark h2,
.section--dark h3 {
	color: var(--color-white);
}

.eyebrow {
	margin: 0 0 0.9rem;
	color: var(--color-fire-700);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.15em;
	line-height: 1.35;
	text-transform: uppercase;
}

.section--dark .eyebrow,
.home-hero .eyebrow,
.page-hero .eyebrow,
.newsletter-callout .eyebrow {
	color: #ffb28e;
}

.section-heading {
	max-width: 48rem;
	margin-bottom: clamp(2rem, 4vw, 3.3rem);
}

.section-heading > p:last-child {
	color: var(--color-muted);
	font-size: 1.15rem;
}

.section-heading--center {
	margin-inline: auto;
	text-align: center;
}

.section-heading--split {
	display: flex;
	max-width: none;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
}

.section-heading--split > div {
	max-width: 48rem;
}

.section-heading--split h2 {
	margin-bottom: 0;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 0.75rem;
	left: 0.75rem;
	width: auto;
	height: auto;
	padding: 0.8rem 1.1rem;
	clip: auto;
	background: var(--color-white);
	color: var(--color-lake-950);
	font-weight: 700;
	white-space: normal;
	box-shadow: var(--shadow-md);
}

.skip-link {
	position: fixed !important;
}

.button-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.8rem;
	margin-top: 1.7rem;
}

.button,
.wp-block-button__link {
	display: inline-flex;
	min-height: 3rem;
	padding: 0.7rem 1.2rem;
	border: 2px solid var(--color-lake-800);
	border-radius: var(--radius-sm);
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	background: var(--color-lake-800);
	color: var(--color-white);
	font-size: 0.95rem;
	font-weight: 750;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	transition:
		background var(--transition),
		border-color var(--transition),
		color var(--transition),
		transform var(--transition);
}

.button:hover,
.wp-block-button__link:hover {
	border-color: var(--color-lake-950);
	background: var(--color-lake-950);
	color: var(--color-white);
	transform: translateY(-1px);
}

.button--fire {
	border-color: var(--color-fire-600);
	background: var(--color-fire-600);
}

.button--fire:hover {
	border-color: var(--color-fire-700);
	background: var(--color-fire-700);
}

.button--outline {
	border-color: var(--color-lake-700);
	background: transparent;
	color: var(--color-lake-800);
}

.button--outline:hover {
	background: var(--color-lake-950);
	color: var(--color-white);
}

.button--ghost {
	border-color: rgb(255 255 255 / 65%);
	background: transparent;
	color: var(--color-white);
}

.button--ghost:hover {
	border-color: var(--color-white);
	background: var(--color-white);
	color: var(--color-lake-950);
}

.button--light {
	border-color: var(--color-white);
	background: var(--color-white);
	color: var(--color-lake-950);
}

.button--light:hover {
	border-color: var(--color-sand);
	background: var(--color-sand);
	color: var(--color-fire-700);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-lake-800);
	font-weight: 750;
	text-decoration: none;
}

.text-link span {
	transition: transform var(--transition);
}

.text-link:hover span {
	transform: translateX(0.22rem);
}

.text-link--light {
	color: var(--color-white);
}

.text-link--light:hover {
	color: #ffd2bc;
}

/* Header */

.site-header {
	position: relative;
	z-index: 100;
	background: var(--color-white);
	box-shadow: 0 1px 0 rgb(12 52 64 / 10%);
}

.utility-bar {
	background: var(--color-lake-950);
	color: var(--color-white);
	font-size: 0.78rem;
	font-weight: 650;
}

.utility-bar__inner {
	display: flex;
	min-height: 2.2rem;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
}

.utility-bar__region {
	margin: 0;
	letter-spacing: 0.025em;
}

.utility-navigation ul {
	display: flex;
	margin: 0;
	padding: 0;
	gap: 1.1rem;
	list-style: none;
}

.utility-navigation a {
	color: var(--color-white);
	text-decoration: none;
}

.utility-navigation a:hover {
	color: #ffd2bc;
}

.header-main {
	display: flex;
	min-height: 6.25rem;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1.2rem, 3vw, 3rem);
}

.site-branding {
	flex: 0 1 25rem;
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo {
	width: auto;
	max-width: min(23rem, 100%);
	max-height: 5rem;
}

.site-branding__link {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	color: var(--color-lake-950);
	text-decoration: none;
}

.site-branding__link:hover {
	color: var(--color-lake-700);
}

.site-branding__mark {
	display: grid;
	width: 3.35rem;
	height: 3.35rem;
	flex: 0 0 auto;
	border-radius: 50%;
	place-items: center;
	background: var(--color-lake-100);
}

.site-branding__mark svg {
	width: 2.15rem;
	fill: var(--color-forest-700);
}

.site-branding__mark svg path:last-child {
	fill: var(--color-lake-700);
}

.site-branding__text {
	display: grid;
	gap: 0.1rem;
}

.site-title {
	font-family: var(--font-display);
	font-size: clamp(1.15rem, 2vw, 1.5rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.site-description {
	color: var(--color-muted);
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.035em;
	line-height: 1.25;
	text-transform: uppercase;
}

.navigation-panel {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	align-items: center;
	justify-content: flex-end;
	gap: 1.15rem;
}

.primary-navigation .menu {
	display: flex;
	margin: 0;
	padding: 0;
	align-items: center;
	gap: clamp(0.55rem, 1.5vw, 1.25rem);
	list-style: none;
}

.primary-navigation li {
	position: relative;
}

.primary-navigation a {
	display: block;
	padding: 0.65rem 0.15rem;
	color: var(--color-lake-950);
	font-size: 0.89rem;
	font-weight: 750;
	line-height: 1.2;
	text-decoration: none;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current-menu-ancestor > a {
	color: var(--color-fire-700);
}

.primary-navigation .menu-item-has-children > a::after {
	display: inline-block;
	width: 0.42rem;
	height: 0.42rem;
	margin: 0 0 0.18rem 0.4rem;
	border-right: 2px solid currentcolor;
	border-bottom: 2px solid currentcolor;
	content: "";
	transform: rotate(45deg);
}

.primary-navigation .sub-menu {
	position: absolute;
	z-index: 10;
	top: calc(100% - 0.1rem);
	left: -1rem;
	display: block;
	width: 15rem;
	margin: 0;
	padding: 0.6rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	visibility: hidden;
	opacity: 0;
	background: var(--color-white);
	box-shadow: var(--shadow-md);
	list-style: none;
	transform: translateY(0.5rem);
	transition:
		opacity var(--transition),
		transform var(--transition),
		visibility var(--transition);
}

.primary-navigation .sub-menu .sub-menu {
	top: -0.6rem;
	left: calc(100% + 0.2rem);
}

.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

.primary-navigation .sub-menu a {
	padding: 0.7rem 0.75rem;
	border-radius: 0.25rem;
}

.primary-navigation .sub-menu a:hover {
	background: var(--color-lake-50);
}

.header-search {
	width: clamp(9.5rem, 13vw, 12rem);
}

.header-search .search-field {
	min-width: 0;
	height: 2.65rem;
	padding: 0.55rem 2.7rem 0.55rem 0.75rem;
	font-size: 0.78rem;
}

.header-search .search-submit {
	width: 2.45rem;
	padding: 0;
}

.header-search .search-submit span {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.menu-toggle {
	display: none;
	padding: 0.6rem 0.75rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	align-items: center;
	gap: 0.55rem;
	background: var(--color-white);
	font-size: 0.85rem;
	font-weight: 750;
}

.menu-toggle__icon {
	display: grid;
	width: 1.25rem;
	gap: 0.22rem;
}

.menu-toggle__icon span {
	display: block;
	height: 2px;
	background: var(--color-lake-950);
	transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:first-child {
	transform: translateY(0.43rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:last-child {
	transform: translateY(-0.43rem) rotate(-45deg);
}

/* Search */

.search-form {
	position: relative;
	display: flex;
	width: 100%;
}

.search-field {
	width: 100%;
	min-width: 12rem;
	height: 3.5rem;
	padding: 0.75rem 8rem 0.75rem 1rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	background: var(--color-white);
	color: var(--color-ink);
	transition:
		border-color var(--transition),
		box-shadow var(--transition);
}

.search-field:focus {
	border-color: var(--color-lake-700);
	box-shadow: 0 0 0 3px rgb(23 103 119 / 15%);
	outline: 0;
}

.search-field::placeholder {
	color: #67787c;
	opacity: 1;
}

.search-submit {
	position: absolute;
	top: 0.3rem;
	right: 0.3rem;
	display: inline-flex;
	height: calc(100% - 0.6rem);
	padding: 0.5rem 1rem;
	border: 0;
	border-radius: 0.26rem;
	align-items: center;
	gap: 0.4rem;
	background: var(--color-lake-800);
	color: var(--color-white);
	font-size: 0.82rem;
	font-weight: 750;
	cursor: pointer;
}

.search-submit:hover {
	background: var(--color-fire-700);
}

.search-submit svg {
	width: 1rem;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-width: 2;
}

/* Home hero */

.home-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(4.5rem, 8vw, 7.5rem) 0 0;
	background: var(--color-lake-900);
	color: var(--color-white);
}

.home-hero__texture,
.page-hero__texture {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 80% 16%, rgb(255 255 255 / 8%) 0 0.12rem, transparent 0.15rem) 0 0 / 1.25rem 1.25rem,
		linear-gradient(135deg, transparent 0 47%, rgb(255 255 255 / 3%) 47% 53%, transparent 53% 100%) 0 0 / 2.2rem 2.2rem;
	mask-image: linear-gradient(to left, #000, transparent 78%);
}

.home-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
}

.home-hero__content {
	position: relative;
	z-index: 2;
	padding-bottom: 6.3rem;
}

.home-hero h1 {
	max-width: 48rem;
	color: var(--color-white);
}

.home-hero__lede {
	max-width: 43rem;
	color: #e5f0f1;
	font-size: clamp(1.08rem, 2vw, 1.3rem);
	line-height: 1.6;
}

.home-hero__landscape {
	position: relative;
	align-self: end;
}

.home-hero__landscape svg {
	width: 100%;
	overflow: visible;
	fill: #f0a27e;
}

.home-hero__landscape .landscape-back {
	fill: var(--color-forest-700);
}

.home-hero__landscape .landscape-front {
	fill: #173d34;
}

.home-hero__landscape .landscape-water {
	fill: var(--color-lake-700);
	opacity: 0.9;
}

.hero-search {
	position: relative;
	z-index: 4;
	display: grid;
	margin-top: -2.45rem;
	padding: 1.05rem;
	border-radius: var(--radius-md) var(--radius-md) 0 0;
	grid-template-columns: minmax(12rem, 0.55fr) minmax(20rem, 1.45fr);
	align-items: center;
	gap: 1rem;
	background: var(--color-white);
	box-shadow: var(--shadow-md);
	color: var(--color-ink);
}

.hero-search__label {
	display: grid;
	padding-inline: 0.35rem;
}

.hero-search__label > span {
	color: var(--color-lake-950);
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 700;
}

.hero-search__label small {
	color: var(--color-muted);
	font-size: 0.75rem;
}

.hero-search .search-field {
	height: 3.8rem;
	background: var(--color-lake-50);
}

/* Discovery paths */

.explore-paths {
	padding-top: clamp(5rem, 8vw, 8rem);
	background: var(--color-white);
}

.path-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.2rem;
}

.path-card {
	position: relative;
	display: flex;
	min-height: 22rem;
	padding: clamp(1.5rem, 3vw, 2.3rem);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	flex-direction: column;
	align-items: flex-start;
	background: var(--color-white);
	box-shadow: var(--shadow-sm);
	color: var(--color-muted);
	text-decoration: none;
	transition:
		border-color var(--transition),
		box-shadow var(--transition),
		transform var(--transition);
}

.path-card::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 0.35rem;
	border-radius: var(--radius-md) var(--radius-md) 0 0;
	background: var(--color-lake-700);
	content: "";
}

.path-card--events::before {
	background: var(--color-fire-600);
}

.path-card--research::before {
	background: var(--color-forest-700);
}

.path-card:hover {
	border-color: var(--color-lake-200);
	box-shadow: var(--shadow-md);
	color: var(--color-muted);
	transform: translateY(-0.3rem);
}

.path-card__icon {
	display: grid;
	width: 3.6rem;
	height: 3.6rem;
	margin-bottom: 1.5rem;
	border-radius: 50%;
	place-items: center;
	background: var(--color-lake-100);
	color: var(--color-lake-800);
}

.path-card--events .path-card__icon {
	background: var(--color-fire-100);
	color: var(--color-fire-700);
}

.path-card--research .path-card__icon {
	background: var(--color-forest-100);
	color: var(--color-forest-800);
}

.path-card__icon svg {
	width: 1.9rem;
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.path-card__title {
	margin-bottom: 0.65rem;
	color: var(--color-lake-950);
	font-family: var(--font-display);
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.15;
}

.path-card strong {
	display: inline-flex;
	margin-top: auto;
	padding-top: 1.4rem;
	align-items: center;
	gap: 0.4rem;
	color: var(--color-lake-800);
	font-size: 0.9rem;
}

/* Cards and archives */

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
}

.content-card {
	display: flex;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	flex-direction: column;
	background: var(--color-white);
	box-shadow: var(--shadow-sm);
	transition:
		box-shadow var(--transition),
		transform var(--transition);
}

.content-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-0.2rem);
}

.content-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 19 / 12;
	background: var(--color-lake-100);
}

.content-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 350ms ease;
}

.content-card:hover .content-card__media img {
	transform: scale(1.025);
}

.content-card__placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: end center;
	background:
		radial-gradient(circle at 75% 20%, #f2aa86 0 8%, transparent 8.2%),
		linear-gradient(145deg, var(--color-lake-100), var(--color-lake-50));
}

.content-card__placeholder svg {
	width: 85%;
	fill: var(--color-forest-700);
}

.content-card__placeholder svg path:last-child {
	fill: var(--color-lake-700);
}

.content-card__body {
	display: flex;
	padding: 1.45rem;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
}

.term-chips {
	display: flex;
	margin: 0 0 0.8rem;
	padding: 0;
	flex-wrap: wrap;
	gap: 0.4rem;
	list-style: none;
}

.term-chips a {
	display: block;
	padding: 0.2rem 0.48rem;
	border-radius: 100vmax;
	background: var(--color-lake-100);
	color: var(--color-lake-900);
	font-size: 0.68rem;
	font-weight: 750;
	letter-spacing: 0.045em;
	line-height: 1.35;
	text-decoration: none;
	text-transform: uppercase;
}

.term-chips a:hover {
	background: var(--color-fire-100);
	color: var(--color-fire-700);
}

.content-card__title {
	margin-bottom: 0.6rem;
	font-size: clamp(1.3rem, 2vw, 1.55rem);
}

.content-card__title a {
	color: var(--color-lake-950);
	text-decoration: none;
}

.content-card__title a:hover {
	color: var(--color-fire-700);
}

.content-card__summary {
	margin-bottom: 1rem;
	color: var(--color-muted);
	font-size: 0.92rem;
	line-height: 1.55;
}

.content-card__details {
	display: flex;
	margin: 0 0 1.2rem;
	flex-wrap: wrap;
	gap: 0.5rem 0.9rem;
	font-size: 0.73rem;
	line-height: 1.35;
}

.content-card__details div {
	display: flex;
	gap: 0.3rem;
}

.content-card__details dt {
	color: var(--color-muted);
	font-weight: 650;
}

.content-card__details dt::after {
	content: ":";
}

.content-card__details dd {
	margin: 0;
	color: var(--color-ink);
	font-weight: 750;
}

.content-card__link {
	margin-top: auto;
	font-size: 0.86rem;
}

.listing-layout {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.listing-intro {
	display: flex;
	margin-bottom: 1.25rem;
	justify-content: flex-end;
}

.result-count {
	margin: 0 0 1.25rem;
	color: var(--color-muted);
	font-size: 0.85rem;
	font-weight: 700;
}

.navigation.pagination,
.post-navigation {
	margin-top: 3.5rem;
}

.nav-links {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 0.4rem;
}

.page-numbers {
	display: grid;
	min-width: 2.7rem;
	min-height: 2.7rem;
	padding: 0.55rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	place-items: center;
	color: var(--color-lake-900);
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
	border-color: var(--color-lake-900);
	background: var(--color-lake-900);
	color: var(--color-white);
}

.empty-state {
	max-width: 44rem;
	margin-inline: auto;
	padding: clamp(2rem, 5vw, 4rem);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	background: var(--color-lake-50);
	text-align: center;
}

.empty-state .search-form {
	max-width: 36rem;
	margin: 1.8rem auto 0;
}

.empty-state .button-group {
	justify-content: center;
}

/* Projects and news */

.projects-layout {
	display: grid;
	grid-template-columns: minmax(16rem, 0.72fr) minmax(24rem, 1.28fr);
	gap: clamp(3rem, 7vw, 7rem);
}

.projects-intro {
	align-self: start;
}

.projects-intro > p:not(.eyebrow) {
	color: var(--color-muted);
}

.project-list {
	border-top: 1px solid var(--color-border);
}

.project-row {
	position: relative;
	display: grid;
	padding: 1.45rem 0;
	border-bottom: 1px solid var(--color-border);
	grid-template-columns: 0.8rem 1fr auto;
	align-items: center;
	gap: 1.15rem;
}

.project-row__marker {
	width: 0.75rem;
	height: 0.75rem;
	border: 3px solid var(--color-white);
	border-radius: 50%;
	background: var(--color-fire-600);
	box-shadow: 0 0 0 1px var(--color-fire-600);
}

.project-row__meta {
	margin: 0 0 0.25rem;
	color: var(--color-fire-700);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.project-row h3 {
	margin-bottom: 0.35rem;
	font-size: 1.35rem;
}

.project-row h3 a {
	color: var(--color-lake-950);
	text-decoration: none;
}

.project-row h3 a:hover {
	color: var(--color-fire-700);
}

.project-row p:last-child {
	margin: 0;
	color: var(--color-muted);
	font-size: 0.88rem;
}

.project-row__link {
	display: grid;
	width: 2.55rem;
	height: 2.55rem;
	border: 1px solid var(--color-border);
	border-radius: 50%;
	place-items: center;
	color: var(--color-lake-800);
	text-decoration: none;
}

.project-row__link:hover {
	border-color: var(--color-fire-700);
	background: var(--color-fire-700);
	color: var(--color-white);
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: rgb(255 255 255 / 20%);
}

.news-card {
	padding: clamp(1.4rem, 3vw, 2.2rem);
	background: var(--color-lake-950);
}

.news-card__date {
	margin-bottom: 1rem;
	color: #b9d7da;
	font-size: 0.75rem;
	font-weight: 750;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.news-card h3 a {
	color: var(--color-white);
	text-decoration: none;
}

.news-card h3 a:hover {
	color: #ffd2bc;
}

.news-card > p:not(.news-card__date) {
	color: #d6e4e5;
	font-size: 0.92rem;
}

/* Interior headers and content */

.page-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(3.8rem, 7vw, 6.5rem);
	background:
		linear-gradient(115deg, var(--color-lake-950) 0 68%, var(--color-forest-900) 68% 100%);
	color: var(--color-white);
}

.page-hero::after {
	position: absolute;
	right: -5rem;
	bottom: -8rem;
	width: 27rem;
	height: 27rem;
	border: 4rem solid rgb(255 255 255 / 4%);
	border-radius: 50%;
	content: "";
}

.page-hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
	align-items: end;
	gap: clamp(2rem, 6vw, 6rem);
}

.page-hero__content:last-child {
	grid-column: 1 / -1;
	max-width: 57rem;
}

.page-hero h1 {
	color: var(--color-white);
	font-size: clamp(2.5rem, 5vw, 4.25rem);
}

.page-hero__description {
	max-width: 48rem;
	color: #d9e8e9;
	font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.page-hero__description p:last-child {
	margin: 0;
}

.page-hero__search {
	padding: 1.2rem;
	border: 1px solid rgb(255 255 255 / 16%);
	border-radius: var(--radius-md);
	background: rgb(255 255 255 / 7%);
}

.page-hero__search > p {
	margin: 0 0 0.7rem;
	color: #d9e8e9;
	font-size: 0.78rem;
	font-weight: 700;
}

.article-shell {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.article-shell .entry-content {
	max-width: var(--content-width);
	margin-inline: auto;
}

.entry-content {
	font-size: 1.08rem;
}

.entry-content > * {
	max-width: var(--content-width);
	margin-right: auto;
	margin-left: auto;
}

.entry-content > .alignwide {
	max-width: 68rem;
}

.entry-content > .alignfull {
	max-width: none;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.65em;
}

.entry-content a:not(.button):not(.wp-block-button__link) {
	font-weight: 650;
}

.entry-content img {
	border-radius: var(--radius-sm);
}

.entry-content figcaption {
	color: var(--color-muted);
	font-size: 0.78rem;
}

.entry-content .wp-block-group.has-background {
	padding: clamp(1.5rem, 4vw, 3rem);
}

.home-page-content .entry-content > :first-child {
	margin-top: 0;
}

.builder-canvas,
.builder-entry {
	width: 100%;
}

.has-beaver-layout .builder-entry .fl-row-content-wrap {
	overflow: hidden;
}

/* Single content */

.single-layout {
	display: grid;
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
	grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.55fr);
	align-items: start;
	gap: clamp(2.5rem, 6vw, 6rem);
}

.single-layout__main {
	min-width: 0;
}

.single-featured-image {
	margin: 0 0 2.5rem;
}

.single-featured-image img {
	width: 100%;
	max-height: 35rem;
	border-radius: var(--radius-md);
	object-fit: cover;
}

.entry-byline {
	margin-bottom: 1.5rem;
	color: var(--color-muted);
	font-size: 0.82rem;
	font-weight: 650;
}

.detail-panel {
	position: sticky;
	top: 2rem;
	padding: 1.5rem;
	border-top: 0.35rem solid var(--color-fire-600);
	border-radius: 0 0 var(--radius-md) var(--radius-md);
	background: var(--color-lake-50);
}

.admin-bar .detail-panel {
	top: 4rem;
}

.detail-panel h2 {
	font-size: 1.45rem;
}

.detail-list {
	margin: 0;
}

.detail-list > div {
	padding: 0.75rem 0;
	border-top: 1px solid var(--color-border);
}

.detail-list dt {
	margin-bottom: 0.15rem;
	color: var(--color-muted);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.075em;
	text-transform: uppercase;
}

.detail-list dd {
	margin: 0;
	color: var(--color-ink);
	font-size: 0.88rem;
	font-weight: 650;
	line-height: 1.45;
}

.detail-actions {
	display: grid;
	margin-top: 1.25rem;
	gap: 0.6rem;
}

.citation-box {
	margin-top: 2.5rem;
	padding: 1.5rem;
	border-left: 0.35rem solid var(--color-fire-600);
	background: var(--color-sand);
}

.citation-box p:last-child {
	margin-bottom: 0;
}

.post-navigation {
	padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
	display: flex;
}

.post-navigation .nav-next {
	text-align: right;
}

.post-navigation a {
	display: flex;
	width: 100%;
	padding: 1.2rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	flex-direction: column;
	color: var(--color-lake-950);
	font-family: var(--font-display);
	font-weight: 700;
	text-decoration: none;
}

.post-navigation a:hover {
	border-color: var(--color-fire-500);
	box-shadow: var(--shadow-sm);
}

.post-navigation__label {
	margin-bottom: 0.3rem;
	color: var(--color-fire-700);
	font-family: var(--font-body);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Not found */

.not-found {
	padding-block: clamp(4.5rem, 10vw, 9rem);
	background: var(--color-sand);
}

.not-found__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.8fr);
	align-items: center;
	gap: clamp(3rem, 8vw, 8rem);
}

.not-found h1 {
	font-size: clamp(3rem, 7vw, 6rem);
}

.not-found .search-form {
	max-width: 38rem;
	margin-top: 2rem;
}

.not-found__graphic {
	position: relative;
}

.not-found__graphic > span {
	position: absolute;
	z-index: 2;
	top: 10%;
	right: 0;
	color: rgb(12 52 64 / 9%);
	font-family: var(--font-display);
	font-size: clamp(7rem, 18vw, 14rem);
	font-weight: 700;
	line-height: 1;
}

.not-found__graphic svg {
	position: relative;
	z-index: 3;
	margin-top: 5rem;
	fill: var(--color-forest-700);
}

.not-found__graphic svg path:last-child {
	fill: var(--color-lake-700);
}

/* Footer */

.newsletter-callout {
	background: var(--color-fire-700);
	color: var(--color-white);
}

.newsletter-callout__inner {
	display: flex;
	padding-block: clamp(2.3rem, 5vw, 4rem);
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.newsletter-callout h2 {
	margin-bottom: 0.4rem;
	color: var(--color-white);
	font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.newsletter-callout p:last-child {
	margin: 0;
	color: #ffe7dc;
}

.newsletter-callout .button {
	flex: 0 0 auto;
}

.site-footer {
	background: var(--color-lake-950);
	color: #c9dcde;
}

.footer-grid {
	display: grid;
	padding-block: clamp(3rem, 6vw, 5.5rem);
	grid-template-columns: minmax(18rem, 1.5fr) repeat(2, minmax(10rem, 0.7fr));
	gap: clamp(2rem, 5vw, 5rem);
}

.footer-brand__name {
	display: inline-block;
	margin-bottom: 0.8rem;
	color: var(--color-white);
	font-family: var(--font-display);
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1.15;
	text-decoration: none;
}

.footer-brand p {
	max-width: 30rem;
}

.footer-contact {
	color: var(--color-white);
	font-weight: 750;
	text-decoration: none;
}

.footer-contact:hover {
	color: #ffd2bc;
}

.footer-widget__title {
	margin-bottom: 1rem;
	color: var(--color-white);
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.footer-column ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-column li + li {
	margin-top: 0.55rem;
}

.footer-column a {
	color: #dbe9ea;
	font-size: 0.9rem;
	text-decoration: none;
}

.footer-column a:hover {
	color: #ffd2bc;
	text-decoration: underline;
}

.footer-bottom {
	border-top: 1px solid rgb(255 255 255 / 12%);
}

.footer-bottom__inner {
	display: flex;
	min-height: 4.5rem;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.footer-bottom p {
	margin: 0;
	font-size: 0.75rem;
}

.footer-bottom a {
	color: var(--color-white);
	font-size: 0.75rem;
	font-weight: 700;
	text-decoration: none;
}

/* WordPress essentials */

.alignleft {
	float: left;
	margin: 0.3rem 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0.3rem 0 1rem 1.5rem;
}

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.wp-caption,
.gallery-caption {
	max-width: 100%;
}

.sticky {
	border-color: var(--color-fire-500);
}

.bypostauthor {
	display: block;
}

.page-links {
	display: flex;
	margin-top: 2rem;
	gap: 0.5rem;
	font-weight: 700;
}

/* Responsive layout */

@media (max-width: 68rem) {
	.site-branding {
		flex-basis: 18rem;
	}

	.site-description {
		display: none;
	}

	.header-search {
		display: none;
	}

	.home-hero__inner {
		grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
	}
}

@media (max-width: 60rem) {
	.header-main {
		position: relative;
		min-height: 5.4rem;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.js .navigation-panel {
		position: absolute;
		top: 100%;
		right: -1.25rem;
		left: -1.25rem;
		display: none;
		max-height: calc(100vh - 7rem);
		padding: 1rem 1.25rem 1.5rem;
		overflow-y: auto;
		border-top: 1px solid var(--color-border);
		flex-direction: column;
		align-items: stretch;
		background: var(--color-white);
		box-shadow: var(--shadow-md);
	}

	.js .navigation-panel.is-open {
		display: flex;
	}

	.no-js .navigation-panel {
		display: flex;
		padding-block: 1rem;
		flex-basis: 100%;
	}

	.no-js .header-main {
		flex-wrap: wrap;
	}

	.primary-navigation .menu {
		display: block;
	}

	.primary-navigation a {
		padding: 0.8rem 0.35rem;
		border-bottom: 1px solid var(--color-border);
	}

	.primary-navigation .sub-menu {
		position: static;
		width: auto;
		padding: 0 0 0 1rem;
		border: 0;
		visibility: visible;
		opacity: 1;
		box-shadow: none;
		transform: none;
	}

	.primary-navigation .menu-item-has-children > a::after {
		display: none;
	}

	.navigation-panel .header-search {
		display: block;
		width: 100%;
	}

	.header-search .search-field {
		height: 3.2rem;
		padding-right: 3.4rem;
		font-size: 0.9rem;
	}

	.home-hero {
		padding-top: 4.2rem;
	}

	.home-hero__inner {
		grid-template-columns: 1fr;
	}

	.home-hero__content {
		padding-bottom: 1rem;
	}

	.home-hero__landscape {
		width: min(34rem, 80%);
		margin: -2rem 0 0 auto;
	}

	.hero-search {
		margin-top: -1rem;
		grid-template-columns: 1fr;
	}

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

	.path-card:last-child {
		grid-column: 1 / -1;
		min-height: 18rem;
	}

	.projects-layout,
	.single-layout {
		grid-template-columns: 1fr;
	}

	.projects-intro {
		max-width: 43rem;
	}

	.single-layout__aside {
		grid-row: 1;
	}

	.detail-panel {
		position: static;
	}

	.page-hero__inner {
		grid-template-columns: 1fr;
	}

	.page-hero__search {
		max-width: 44rem;
	}
}

@media (max-width: 45rem) {
	body {
		font-size: 1rem;
	}

	.site-shell {
		width: min(calc(100% - 1.5rem), var(--site-width));
	}

	.utility-bar__inner {
		justify-content: center;
	}

	.utility-navigation {
		display: none;
	}

	.site-branding__mark {
		width: 2.8rem;
		height: 2.8rem;
	}

	.site-branding__mark svg {
		width: 1.8rem;
	}

	.site-title {
		font-size: 1.05rem;
	}

	.menu-toggle__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.js .navigation-panel {
		right: -0.75rem;
		left: -0.75rem;
	}

	.home-hero__landscape {
		width: 100%;
		margin-top: 0;
	}

	.hero-search {
		width: calc(100% - 1.5rem);
		padding: 0.75rem;
	}

	.hero-search__label {
		display: none;
	}

	.search-field {
		min-width: 0;
		height: 3.4rem;
		padding-right: 3.5rem;
	}

	.search-submit {
		width: 2.8rem;
		padding: 0;
		justify-content: center;
	}

	.search-submit span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.section-heading--split,
	.newsletter-callout__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.path-grid,
	.card-grid,
	.news-grid {
		grid-template-columns: 1fr;
	}

	.path-card,
	.path-card:last-child {
		min-height: 19rem;
		grid-column: auto;
	}

	.project-row {
		grid-template-columns: 0.6rem 1fr;
	}

	.project-row__link {
		display: none;
	}

	.page-hero {
		background: var(--color-lake-950);
	}

	.page-hero__search {
		padding: 0.8rem;
	}

	.post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.not-found__inner {
		grid-template-columns: 1fr;
	}

	.not-found__graphic {
		display: none;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}

	.footer-bottom__inner {
		padding-block: 1.2rem;
		align-items: flex-start;
		flex-direction: column;
	}

	.alignleft,
	.alignright {
		float: none;
		margin: 1rem auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

@media print {
	.utility-bar,
	.navigation-panel,
	.menu-toggle,
	.newsletter-callout,
	.site-footer,
	.page-hero__search,
	.post-navigation,
	.button-group {
		display: none !important;
	}

	body {
		color: #000;
		font-size: 11pt;
	}

	.page-hero {
		padding-block: 1rem;
		background: transparent;
		color: #000;
	}

	.page-hero h1,
	.page-hero__description {
		color: #000;
	}

	a {
		color: #000;
	}
}
