/*
Theme Name: Hands On Deck
Theme URI: https://handsondeckgb.org/
Author: Hands On Deck
Description: Custom block theme for the Hands On Deck website.
Version: 0.6.7
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hands-on-deck

Built from the GPL-licensed Ollie 1.6.1 block-theme foundation.
Original Ollie copyright (c) Mike McAlister.
*/

:root {
	--hod-navy: #082a3b;
	--hod-blue: #075a78;
	--hod-orange: #b93f16;
	--hod-orange-bright: #ff7a45;
	--hod-cream: #f1ead9;
	--hod-paper: #fffdf7;
	--hod-ink: #171b1d;
	--hod-rule: rgba(8, 42, 59, 0.28);
	--hod-content: 1280px;
	--hod-radius: 16px;
	--hod-carousel-height: clamp(29rem, 48vw, 38rem);
	--hod-quote-height: clamp(13rem, 20vw, 17rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	background: var(--hod-paper);
	color: var(--hod-ink);
}

a { text-underline-offset: 0.18em; }

a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 3px solid #ffcb3d;
	outline-offset: 3px;
}

.wp-site-blocks { overflow: clip; }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.hod-kicker,
.hod-meta {
	font-family: var(--wp--preset--font-family--utility);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	line-height: 1.2;
	text-transform: uppercase;
}

/* Header */
.hod-site-header {
	position: relative;
	z-index: 20;
	background: var(--hod-paper);
	border-top: 7px solid var(--hod-orange);
	border-bottom: 1px solid var(--hod-navy);
}

.hod-header-shell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	max-width: 1600px;
	margin-inline: auto;
	padding: 0.72rem clamp(1rem, 3vw, 3rem);
}

.hod-brand {
	display: block;
	flex: 0 1 22rem;
	max-width: min(35vw, 22rem);
}

.hod-brand img,
.hod-footer-logo img {
	display: block;
	width: 100%;
	height: auto;
}

.hod-header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(0.45rem, 1.5vw, 1.15rem);
}

.hod-social-links,
.hod-footer-social {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.hod-social-links a {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border: 1px solid var(--hod-navy);
	color: var(--hod-navy);
}

.hod-social-links svg,
.hod-header-search svg {
	display: block;
	width: 1.05rem;
	height: 1.05rem;
	fill: currentColor;
}

.hod-social-links a:hover {
	background: var(--hod-navy);
	color: #fff;
}

.hod-header-link,
.hod-donate-button,
.hod-header-search input,
.hod-header-search button {
	font-family: var(--wp--preset--font-family--utility);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hod-header-link {
	color: var(--hod-navy);
	padding-block: 0.65rem;
	text-decoration: none;
	white-space: nowrap;
}

.hod-header-link:hover { color: var(--hod-orange); }

.hod-header-search {
	display: flex;
	align-items: stretch;
	height: 2.35rem;
}

.hod-header-search input {
	width: 0;
	min-width: 0;
	border: 1px solid var(--hod-navy);
	border-right: 0;
	background: #fff;
	color: var(--hod-navy);
	opacity: 0;
	padding: 0;
	transition: width 180ms ease, opacity 180ms ease, padding 180ms ease;
}

.hod-header-search:focus-within input,
.hod-header-search:hover input {
	width: 9rem;
	opacity: 1;
	padding-inline: 0.65rem;
}

.hod-header-search button {
	display: grid;
	place-items: center;
	width: 2.35rem;
	border: 1px solid var(--hod-navy);
	background: var(--hod-paper);
	color: var(--hod-navy);
	cursor: pointer;
	padding: 0;
}

.hod-header-search button:hover {
	background: var(--hod-navy);
	color: #fff;
}

.hod-homepage-only-launch .hod-header-search,
.hod-homepage-only-launch .hod-footer-links {
	display: none;
}

.hod-homepage-only-launch .hod-footer-main {
	grid-template-columns: minmax(0, 1.5fr) minmax(12rem, 0.8fr) auto;
}

.hod-donate-button {
	background: var(--hod-orange);
	color: #fff;
	padding: 0.82rem 1.05rem;
	text-decoration: none;
	white-space: nowrap;
}

.hod-donate-button:hover { background: var(--hod-navy); }

/* Layered image showcase */
.hod-carousel {
	position: relative;
	min-height: var(--hod-carousel-height);
	background: var(--hod-navy);
	color: #fff;
	isolation: isolate;
}

/* Guiding statement: contained treatment selected for the homepage hero. */
.hod-mission-statement {
	position: absolute;
	top: 0;
	right: clamp(1rem, 4vw, 4rem);
	z-index: 4;
	width: min(31rem, 43vw);
	padding: clamp(1rem, 2.2vw, 1.7rem) clamp(1.2rem, 2.8vw, 2.2rem) clamp(1.1rem, 2.4vw, 1.9rem);
	background: rgba(255, 253, 247, 0.95);
	border-radius: 0 0 var(--hod-radius) var(--hod-radius);
	box-shadow: 0 1rem 2.75rem rgba(8, 42, 59, 0.2);
	color: var(--hod-navy);
	backdrop-filter: blur(8px);
}

.hod-mission-statement p {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.45rem, 2.55vw, 2.65rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.02;
	text-wrap: balance;
}

.hod-mission-statement hr {
	width: 5.25rem;
	margin: 0.85rem 0 0;
	border: 0;
	border-top: 4px solid var(--hod-orange-bright);
}

.hod-carousel__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 420ms ease;
}

.hod-carousel__slide.is-active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}

.hod-carousel__link {
	position: absolute;
	inset: 0;
	display: block;
	color: var(--hod-navy);
	text-decoration: none;
}

.hod-carousel__link > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: saturate(0.92) contrast(1.03);
}

.hod-carousel__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(8, 42, 59, 0.38), transparent 58%),
		linear-gradient(0deg, rgba(8, 42, 59, 0.32), transparent 48%);
}

.hod-carousel__copy {
	position: absolute;
	left: 0;
	bottom: clamp(5.5rem, 9vw, 7.5rem);
	width: min(46rem, calc(100% - 3rem));
	padding: clamp(1.5rem, 3vw, 3rem) clamp(1.5rem, 4vw, 4rem);
	background: rgba(255, 253, 247, 0.92);
	border-radius: 0 var(--hod-radius) var(--hod-radius) 0;
	box-shadow: 0 1.5rem 4rem rgba(8, 42, 59, 0.24);
	backdrop-filter: blur(8px);
}

.hod-carousel__copy h1,
.hod-carousel__copy h2 {
	margin: 0;
	max-width: 13ch;
	color: var(--hod-navy);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.55rem, 5vw, 5rem);
	font-stretch: normal;
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 0.98;
	text-wrap: balance;
}

.hod-carousel__copy .hod-kicker {
	margin: 0 0 0.8rem;
	color: var(--hod-orange);
}

.hod-carousel__statement {
	max-width: 37rem;
	margin: 1.15rem 0 0;
	color: var(--hod-ink);
	font-size: clamp(1rem, 1.4vw, 1.2rem);
	line-height: 1.5;
}

.hod-carousel__controls {
	position: absolute;
	inset: 0;
	z-index: 5;
	opacity: 0;
	pointer-events: none;
	transition: opacity 220ms ease;
}

.hod-carousel:hover .hod-carousel__controls,
.hod-carousel:focus-within .hod-carousel__controls,
.hod-carousel.is-controls-visible .hod-carousel__controls {
	opacity: 1;
}

.hod-carousel__controls button {
	appearance: none;
	border: 0;
	cursor: pointer;
}

.hod-carousel__arrow {
	position: absolute;
	top: 50%;
	display: grid;
	place-items: center;
	width: 3.35rem;
	height: 3.35rem;
	margin-top: -1.675rem;
	background: rgba(255, 253, 247, 0.92);
	border-radius: 50%;
	box-shadow: 0 0.6rem 2rem rgba(8, 42, 59, 0.24);
	color: var(--hod-navy);
	font-size: 1.3rem;
	font-weight: 800;
	pointer-events: auto;
	transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.hod-carousel__arrow--previous { left: clamp(1rem, 2.5vw, 2.5rem); }
.hod-carousel__arrow--next { right: clamp(1rem, 2.5vw, 2.5rem); }

.hod-carousel__arrow:hover {
	background: var(--hod-orange);
	color: #fff;
	transform: scale(1.06);
}

.hod-carousel__dots {
	position: absolute;
	left: 50%;
	bottom: 1.5rem;
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.65rem 0.85rem;
	background: rgba(8, 42, 59, 0.74);
	border-radius: 999px;
	box-shadow: 0 0.5rem 1.5rem rgba(8, 42, 59, 0.2);
	pointer-events: auto;
	transform: translateX(-50%);
	backdrop-filter: blur(8px);
}

.hod-carousel__dots button {
	position: relative;
	width: 1.5rem;
	height: 1.5rem;
	padding: 0;
	background: transparent;
	border-radius: 50%;
}

.hod-carousel__dots button::before {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.62rem;
	height: 0.62rem;
	background: rgba(255, 255, 255, 0.7);
	border-radius: 50%;
	content: "";
	transform: translate(-50%, -50%);
	transition: background 160ms ease, transform 160ms ease;
}

.hod-carousel__dots button[aria-current="true"]::before {
	background: var(--hod-orange);
	transform: translate(-50%, -50%) scale(1.45);
}

/* Short organizational introduction */
.hod-introduction {
	display: grid;
	grid-template-columns: minmax(12rem, 0.65fr) minmax(0, 1.5fr);
	gap: clamp(1.5rem, 5vw, 5rem);
	max-width: var(--hod-content);
	margin-inline: auto;
	padding: clamp(2rem, 4vw, 3.75rem) clamp(1rem, 3vw, 3rem);
	border-bottom: 1px solid var(--hod-rule);
}

.hod-introduction__heading .hod-kicker,
.hod-now__heading .hod-kicker,
.hod-participate .hod-kicker {
	margin: 0 0 0.45rem;
	color: var(--hod-orange);
}

.hod-introduction h2,
.hod-now h2,
.hod-participate h2 {
	margin: 0;
	color: var(--hod-navy);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.9rem, 3.4vw, 3.35rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
}

.hod-introduction__copy {
	max-width: 53rem;
	font-size: clamp(1rem, 1.3vw, 1.18rem);
	line-height: 1.55;
}

.hod-introduction__copy p { margin: 0; }
.hod-introduction__copy p + p { margin-top: 0.85rem; }
.hod-introduction__copy a { font-weight: 700; }

/* Compact homepage pathways */
.hod-pathways {
	position: relative;
	z-index: 6;
	max-width: var(--hod-content);
	margin: 0 auto;
	padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1rem, 3vw, 3rem) clamp(1.6rem, 3vw, 2.75rem);
}

.hod-pathways__heading {
	margin: 0 0 clamp(0.8rem, 1.8vw, 1.25rem);
	padding: 0 0 0.65rem;
	border-bottom: 1px solid var(--hod-rule);
}

.hod-pathways__heading .hod-kicker {
	margin: 0 0 0.3rem;
	color: var(--hod-orange);
}

.hod-pathways__heading h2 {
	margin: 0;
	color: var(--hod-navy);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.75rem, 3vw, 2.7rem);
	font-weight: 700;
	line-height: 1.05;
}

.hod-pathway-cloud {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.7rem, 1.5vw, 1.15rem);
}

.hod-pathway-card {
	display: grid;
	grid-template-rows: auto 1fr;
	overflow: hidden;
	background: var(--hod-paper);
	border: 1px solid var(--hod-rule);
	border-radius: calc(var(--hod-radius) * 0.5);
	color: var(--hod-navy);
	text-decoration: none;
	transition: border-color 180ms ease, transform 180ms ease;
}

.hod-pathway-card > img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: var(--hod-card-focal-point, 50% 50%);
	filter: saturate(1) contrast(1.02);
	transition: filter 220ms ease, transform 220ms ease;
}

.hod-pathway-card__label {
	display: flex;
	align-items: center;
	min-height: 3.25rem;
	padding: 0.62rem 0.85rem;
	background: var(--hod-paper);
	transition: background 180ms ease, color 180ms ease;
}

.hod-pathway-card__label strong {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1rem, 1.35vw, 1.25rem);
	line-height: 1.12;
}

.hod-pathway-card:hover {
	border-color: var(--hod-orange);
	transform: translateY(-2px);
}

.hod-pathway-card:hover > img { filter: saturate(1.08) contrast(1.03); transform: scale(1.01); }

.hod-pathway-card:hover .hod-pathway-card__label {
	color: var(--hod-orange);
}

/* Current routes */
.hod-now {
	max-width: var(--hod-content);
	margin-inline: auto;
	padding: 0 clamp(1rem, 3vw, 3rem) clamp(2rem, 4vw, 3.75rem);
}

.hod-now__heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.8rem;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid var(--hod-rule);
}

.hod-now__heading .hod-kicker { margin: 0 0 0.18rem; }
.hod-now__heading h2 { font-size: clamp(1.6rem, 2.6vw, 2.35rem); }

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

.hod-now__item {
	position: relative;
	display: block;
	min-height: clamp(9.5rem, 18vw, 14rem);
	overflow: hidden;
	background: var(--hod-navy);
	border-radius: calc(var(--hod-radius) * 0.5);
	color: #fff;
	text-decoration: none;
}

.hod-now__item img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.95) contrast(1.04);
	transition: filter 180ms ease, transform 180ms ease;
}

.hod-now__item::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(8, 42, 59, 0.88), rgba(8, 42, 59, 0.04) 72%);
	content: "";
}

.hod-now__item span {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 1rem;
}

.hod-now__item strong {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.1rem, 1.7vw, 1.45rem);
	line-height: 1.05;
}

.hod-now__item small {
	font-family: var(--wp--preset--font-family--utility);
	font-size: 0.67rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hod-now__item:hover img {
	filter: saturate(1.08) contrast(1.04);
	transform: scale(1.025);
}

/* Full-bleed quotation */
.hod-quote {
	position: relative;
	min-height: var(--hod-quote-height);
	display: grid;
	place-items: center;
	overflow: hidden;
	isolation: isolate;
}

.hod-quote > img,
.hod-quote__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.hod-quote > img {
	object-fit: cover;
	object-position: center;
	filter: saturate(0.68) contrast(1.08);
}

.hod-quote__shade {
	z-index: 1;
	background: linear-gradient(105deg, rgba(8, 42, 59, 0.94), rgba(7, 90, 120, 0.64));
}

.hod-quote blockquote {
	position: relative;
	z-index: 2;
	width: min(72rem, calc(100% - 2rem));
	margin: 0;
	padding: clamp(1.25rem, 3vw, 2.5rem);
	color: #fff;
	text-align: center;
}

.hod-quote blockquote::before {
	content: "“";
	position: absolute;
	top: clamp(-2rem, -3vw, -0.5rem);
	left: 50%;
	color: var(--hod-orange);
	font-family: Georgia, serif;
	font-size: clamp(5rem, 10vw, 9rem);
	line-height: 1;
	opacity: 0.9;
	transform: translateX(-50%);
}

.hod-quote blockquote p {
	position: relative;
	margin: 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: clamp(1.65rem, 3.1vw, 3.25rem);
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 1.08;
	text-wrap: balance;
}

.hod-quote cite {
	display: block;
	margin-top: 1.15rem;
	font-family: var(--wp--preset--font-family--utility);
	font-size: 0.82rem;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Compact participation strip */
.hod-participate {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1.5rem, 4vw, 4rem);
	padding: clamp(1.5rem, 3vw, 2.5rem) max(clamp(1rem, 4vw, 4rem), calc((100vw - var(--hod-content)) / 2));
	background: var(--hod-cream);
	border-top: 1px solid var(--hod-rule);
	border-bottom: 1px solid var(--hod-rule);
}

.hod-participate h2 { font-size: clamp(1.75rem, 3vw, 2.8rem); }

.hod-participate nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.hod-participate nav a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.7rem;
	padding: 0.65rem 0.9rem;
	border: 1px solid var(--hod-navy);
	color: var(--hod-navy);
	font-family: var(--wp--preset--font-family--utility);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.hod-participate nav a:hover {
	background: var(--hod-navy);
	color: #fff;
}

/* Supporters */
.hod-supporters {
	padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 4vw, 4rem);
	background: var(--hod-cream);
}

.hod-supporters__heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
	max-width: var(--hod-content);
	margin-inline: auto;
}

.hod-supporters__heading .hod-kicker {
	margin: 0;
	color: var(--hod-orange);
}

.hod-supporters__heading h2 {
	max-width: 16ch;
	margin: 0;
	color: var(--hod-navy);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.8rem, 3.7vw, 3.7rem);
	font-weight: 700;
	line-height: 1;
	text-align: right;
	text-wrap: balance;
}

.hod-supporter-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	max-width: var(--hod-content);
	margin: clamp(1.5rem, 3vw, 2.5rem) auto 0;
	padding: 0.75rem;
	background: rgba(255, 253, 247, 0.72);
	border-radius: var(--hod-radius);
}

.hod-supporter-grid a {
	display: grid;
	place-items: center;
	min-height: 7.25rem;
	padding: 1.15rem;
	background: var(--hod-paper);
	border-radius: var(--hod-radius);
}

.hod-supporter-grid img {
	display: block;
	max-width: 100%;
	max-height: 5.5rem;
	width: auto;
	height: auto;
	filter: grayscale(1);
	transition: filter 160ms ease, transform 160ms ease;
}

.hod-supporter-grid a:hover img {
	filter: none;
	transform: translateY(-3px);
}

.hod-supporter-shell {
	max-width: var(--hod-content);
	margin: clamp(1.5rem, 3vw, 2.5rem) auto 0;
}

.hod-supporter-arrow {
	display: none;
}

/* Compact, swipeable supporter logo carousel. */
.hod-supporters--carousel {
	background: var(--hod-navy);
	color: #fff;
}

.hod-supporters--carousel .hod-supporters__heading {
	align-items: center;
	border-bottom: 1px solid rgba(255,255,255,0.28);
	padding-bottom: 1rem;
}

.hod-supporters--carousel .hod-supporters__heading h2 {
	max-width: none;
	color: #fff;
	font-size: clamp(1.2rem, 2.2vw, 2rem);
	line-height: 1.12;
	text-align: left;
}

.hod-supporters--carousel .hod-supporter-shell {
	display: grid;
	grid-template-columns: 2.6rem minmax(0, 1fr) 2.6rem;
	align-items: center;
	gap: 0.75rem;
}

.hod-supporters--carousel .hod-supporter-grid {
	display: flex;
	gap: 0.75rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	margin: 0;
	padding: 0 0 0.65rem;
	background: transparent;
	border-radius: 0;
}

.hod-supporters--carousel .hod-supporter-grid a {
	flex: 0 0 clamp(13rem, 28vw, 20rem);
	min-height: 6.5rem;
	scroll-snap-align: start;
	border-radius: 0;
}

.hod-supporters--carousel .hod-supporter-arrow {
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	border: 1px solid rgba(255,255,255,0.65);
	background: transparent;
	color: #fff;
	font-size: 1.2rem;
	cursor: pointer;
}


/* Footer */
.hod-site-footer {
	background: var(--hod-navy);
	color: #fff;
	border-top: 7px solid var(--hod-orange);
	padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 4vw, 4rem) 1.25rem;
}

.hod-site-footer a { color: inherit; }

.hod-footer-main {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(12rem, 0.7fr) minmax(11rem, 0.65fr) minmax(9rem, 0.4fr);
	gap: clamp(1.5rem, 3.5vw, 3.5rem);
	max-width: var(--hod-content);
	margin-inline: auto;
}

.hod-footer-identity { max-width: 39rem; }

.hod-footer-logo {
	display: block;
	max-width: 27rem;
	background: var(--hod-paper);
	padding: 0.8rem 1rem;
}

.hod-footer-identity p {
	max-width: 35rem;
	font-size: clamp(1.15rem, 2vw, 1.6rem);
	line-height: 1.4;
}

.hod-footer-contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.8rem;
}

.hod-footer-contact p { margin: 0; }

.hod-footer-links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.42rem;
}

.hod-footer-links p { margin: 0 0 0.35rem; }

.hod-footer-links a {
	font-size: 0.9rem;
	text-decoration-thickness: 1px;
}

.hod-footer-social a {
	font-family: var(--wp--preset--font-family--utility);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.hod-candid {
	display: block;
	align-self: start;
	background: #fff;
	padding: 1rem;
}

.hod-candid img {
	display: block;
	width: 100%;
	height: auto;
}

.hod-footer-meta {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	max-width: var(--hod-content);
	margin: clamp(1.75rem, 3vw, 3rem) auto 0;
	padding-top: 1.2rem;
	border-top: 1px solid rgba(255,255,255,0.35);
	font-family: var(--wp--preset--font-family--utility);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.hod-footer-meta p { margin: 0; }

/* Interior theme templates */
.hod-main-content { min-height: 55vh; }

.hod-entry-header {
	border-bottom: 1px solid var(--hod-navy);
	padding-block: clamp(3rem, 8vw, 7rem);
}

.hod-entry-header h1 {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.4rem, 6vw, 5.75rem);
	font-stretch: normal;
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.035em;
}

.hod-main-content > .wp-block-post-content {
	overflow: visible;
}

.hod-page-hero,
.hod-info-grid,
.hod-profile-grid,
.hod-story-grid,
.hod-boat-grid,
.hod-partner-list {
	width: min(var(--hod-content), calc(100vw - 2rem));
	max-width: none;
	margin-inline: 50%;
	transform: translateX(-50%);
}

.hod-page-hero {
	margin-top: 0;
	margin-bottom: clamp(1.5rem, 4vw, 3rem);
	overflow: hidden;
	border-radius: var(--hod-radius);
}

.hod-page-hero img {
	display: block;
	width: 100%;
	height: clamp(16rem, 42vw, 34rem);
	object-fit: cover;
}

.hod-content-lead {
	color: var(--hod-navy);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.35rem, 2.6vw, 2.15rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.hod-info-grid,
.hod-profile-grid,
.hod-story-grid,
.hod-boat-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.75rem, 2vw, 1.5rem);
}

.hod-info-grid section,
.hod-profile,
.hod-story,
.hod-boat-grid > article {
	padding: clamp(1rem, 2vw, 1.5rem);
	background: #fff;
	border: 1px solid var(--hod-rule);
	border-radius: calc(var(--hod-radius) * 0.5);
}

.hod-info-grid h2,
.hod-profile h2,
.hod-boat-grid h2 {
	margin-top: 0;
	color: var(--hod-navy);
	font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.hod-profile > p:last-child,
.hod-info-grid section > p:last-child,
.hod-boat-grid article > p:last-child {
	margin-bottom: 0;
}

.hod-role,
.hod-story-date,
.hod-boat-grid dt {
	color: var(--hod-orange);
	font-family: var(--wp--preset--font-family--utility);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.hod-story {
	padding: 0;
	overflow: hidden;
}

.hod-story img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.hod-story-date {
	margin: 1rem 1rem 0;
}

.hod-story blockquote {
	margin: 0;
	padding: 0.8rem 1rem 1.25rem;
	font-size: 1rem;
	line-height: 1.55;
}

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

.hod-boat-grid dl {
	display: grid;
	grid-template-columns: minmax(7.5rem, 0.65fr) 1fr;
	gap: 0.35rem 1rem;
	margin-bottom: 0;
}

.hod-boat-grid dt,
.hod-boat-grid dd {
	margin: 0;
	padding-top: 0.4rem;
	border-top: 1px solid var(--hod-rule);
}

.hod-partner-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.hod-partner-list a {
	display: flex;
	align-items: center;
	min-height: 4rem;
	padding: 1rem;
	background: #fff;
	border: 1px solid var(--hod-rule);
	color: var(--hod-navy);
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	text-decoration: none;
}

.hod-page-contact {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	font-style: normal;
	font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.hod-post-list .wp-block-post {
	border-top: 1px solid var(--hod-navy);
	padding-block: 1.25rem;
}

@media (max-width: 900px) {
	:root { --hod-carousel-height: 34rem; }
	.hod-header-shell { align-items: flex-start; }
	.hod-brand { max-width: 18rem; }
	.hod-header-actions { flex-wrap: wrap; }
	.hod-header-search { order: 4; }
	.hod-carousel__copy { width: min(39rem, calc(100% - 2.5rem)); }
	.hod-supporter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hod-footer-main { grid-template-columns: minmax(0, 1.4fr) minmax(12rem, .8fr) minmax(11rem, .8fr); }
	.hod-candid { max-width: 14rem; }
	.hod-info-grid,
	.hod-profile-grid,
	.hod-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hod-introduction { grid-template-columns: minmax(10rem, 0.55fr) minmax(0, 1.45fr); gap: 2rem; }
	.hod-participate { align-items: flex-start; flex-direction: column; gap: 1rem; }
	.hod-participate nav { justify-content: flex-start; }
}

@media (max-width: 680px) {
	:root { --hod-carousel-height: 30rem; --hod-quote-height: 15.5rem; }
	.hod-site-header { border-top-width: 5px; }
	.hod-header-shell { flex-direction: column; gap: 0.8rem; }
	.hod-brand { flex: none; width: min(15rem, 72vw); max-width: 15rem; }
	.hod-header-actions { width: 100%; justify-content: flex-start; gap: 0.45rem 0.8rem; }
	.hod-social-links { margin-right: auto; }
	.hod-header-search { display: none; }
	.hod-donate-button { margin-left: auto; }
	.hod-mission-statement {
		right: 0.5rem;
		left: 0.5rem;
		width: auto;
		padding: 0.9rem 1rem 1rem;
		border-radius: 0 0 calc(var(--hod-radius) * 0.75) calc(var(--hod-radius) * 0.75);
	}
	.hod-mission-statement p { font-size: clamp(1.35rem, 7.2vw, 2rem); line-height: 1.02; }
	.hod-mission-statement hr { width: 4rem; margin-top: 0.6rem; border-top-width: 3px; }
	.hod-carousel__shade { background: linear-gradient(0deg, rgba(8, 42, 59, .5), rgba(8, 42, 59, .04) 65%); }
	.hod-carousel__copy {
		bottom: 4.75rem;
		width: calc(100% - 1rem);
		padding: 1.35rem 1.2rem 1.5rem;
		border-radius: 0 var(--hod-radius) var(--hod-radius) 0;
	}
	.hod-carousel__copy h1,
	.hod-carousel__copy h2 { font-size: clamp(2.2rem, 11vw, 3.55rem); }
	.hod-carousel__statement { font-size: 0.98rem; }
	.hod-carousel__arrow { width: 2.8rem; height: 2.8rem; margin-top: -1.4rem; }
	.hod-carousel__dots { bottom: 1rem; }
	.hod-introduction { grid-template-columns: 1fr; gap: 1rem; padding: 1.6rem 1rem; }
	.hod-introduction h2 { font-size: 1.8rem; }
	.hod-introduction__copy { font-size: 1rem; }
	.hod-pathways { padding: 1.15rem 0.75rem 1.6rem; }
	.hod-pathways__heading { margin-bottom: 0.65rem; padding-bottom: 0.5rem; }
	.hod-pathways__heading .hod-kicker { margin-bottom: 0.2rem; font-size: 0.6rem; }
	.hod-pathways__heading h2 { font-size: 1.5rem; }
	.hod-supporters__heading { align-items: flex-start; flex-direction: column; gap: 0.6rem; }
	.hod-supporters__heading h2 { text-align: left; }
	.hod-pathway-cloud { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
	.hod-pathway-card { border-radius: calc(var(--hod-radius) * 0.375); }
	.hod-pathway-card > img { aspect-ratio: 1 / 1; }
	.hod-pathway-card__label { min-height: 3.45rem; padding: 0.48rem 0.42rem; }
	.hod-pathway-card__label strong { font-size: clamp(0.69rem, 3.1vw, 0.79rem); line-height: 1.08; }
	.hod-now { padding: 0 0.75rem 1.6rem; }
	.hod-now__heading { align-items: flex-start; flex-direction: column; gap: 0.15rem; }
	.hod-now__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
	.hod-now__item { min-height: 0; aspect-ratio: 1 / 1; }
	.hod-now__item span { align-items: flex-start; padding: 0.55rem; }
	.hod-now__item strong { font-size: clamp(0.72rem, 3.4vw, 0.88rem); }
	.hod-now__item small { display: none; }
	.hod-quote blockquote { padding-inline: 1.35rem; }
	.hod-quote blockquote::before { top: -1.35rem; }
	.hod-quote blockquote p { font-size: clamp(1.5rem, 7vw, 2.15rem); }
	.hod-supporters { padding: 2.25rem 1rem; }
	.hod-supporter-grid { padding: 0.65rem; gap: 0.65rem; }
	.hod-supporter-grid a { min-height: 5.5rem; padding: 0.75rem; }
	.hod-supporters--carousel .hod-supporter-shell { grid-template-columns: 2.2rem minmax(0, 1fr) 2.2rem; gap: 0.45rem; }
	.hod-supporters--carousel .hod-supporter-arrow { width: 2.2rem; height: 2.2rem; }
	.hod-supporters--carousel .hod-supporter-grid { padding: 0 0 0.55rem; }
	.hod-supporters--carousel .hod-supporter-grid a { flex-basis: min(70vw, 15rem); }
	.hod-participate { padding: 1.4rem 1rem; }
	.hod-participate nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
	.hod-participate nav a { min-height: 2.55rem; padding-inline: 0.55rem; }
	.hod-footer-main { grid-template-columns: 1fr; gap: 1.4rem; }
	.hod-homepage-only-launch .hod-footer-main { grid-template-columns: 1fr; }
	.hod-footer-logo { max-width: 19rem; }
	.hod-footer-identity p { font-size: 1rem; }
	.hod-candid { max-width: 10rem; padding: 0.65rem; }
	.hod-footer-meta { align-items: flex-start; flex-direction: column; margin-top: 1.5rem; }
	.hod-page-hero,
	.hod-info-grid,
	.hod-profile-grid,
	.hod-story-grid,
	.hod-boat-grid,
	.hod-partner-list { width: calc(100vw - 1.5rem); }
	.hod-page-hero { border-radius: calc(var(--hod-radius) * 0.5); }
	.hod-page-hero img { height: 18rem; }
	.hod-info-grid,
	.hod-profile-grid,
	.hod-story-grid,
	.hod-boat-grid,
	.hod-partner-list { grid-template-columns: 1fr; }
}

@media (min-width: 1100px) {
	.hod-pathway-cloud { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.hod-pathway-card__label { min-height: 3.75rem; padding: 0.55rem 0.65rem; }
	.hod-pathway-card__label strong { font-size: clamp(0.88rem, 1.15vw, 1.05rem); }
}

@media (hover: none) {
	.hod-carousel__controls { opacity: 0.92; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hod-carousel__slide,
	.hod-carousel__controls,
	.hod-carousel__arrow,
	.hod-carousel__dots button,
	.hod-pathway-card > img,
	.hod-pathway-card__label,
	.hod-now__item img,
	.hod-header-search input,
	.hod-supporter-grid img { transition: none; }
}
