/*
 * Lubbock ISD Athletics Hall of Honor — design system.
 *
 * Follows the 2026 induction program: royal-blue marble, white pages,
 * black-and-white portraits, "Class of 2026" set in small caps with an italic "of".
 * Selectors are prefixed with `body .hoh` so they beat Salient's `.row .col h2`
 * typography when a shortcode renders inside WPBakery content.
 */

:root {
	--hoh-navy-950: #040f2b;
	--hoh-navy-900: #061638;
	--hoh-navy-800: #0b2457;
	--hoh-royal: #00349b;
	--hoh-blue-500: #2f6db5;
	--hoh-sky: #79b6e6;
	--hoh-sky-100: #e8f2fb;
	--hoh-ink: #12203d;
	--hoh-text: #2b3446;
	--hoh-muted: #5b6577;
	--hoh-line: #dde3ec;
	--hoh-paper: #f5f7fa;
	--hoh-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--hoh-sans: "Lato", "Helvetica Neue", Arial, sans-serif;
	--hoh-wrap: 1200px;
	--hoh-gutter: clamp(16px, 4vw, 40px);
	--hoh-diag: clamp(28px, 5vw, 72px);
	--hoh-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Page shell for the child templates ---------- */

body .container-wrap.hoh-page {
	padding: 0;
	background: #fff;
}

body .hoh {
	font-family: var(--hoh-sans);
	color: var(--hoh-text);
}

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

body .hoh .hoh-wrap {
	width: min(100% - 2 * var(--hoh-gutter), var(--hoh-wrap));
	margin-inline: auto;
}

body .hoh .hoh-wrap--text {
	max-width: 760px;
}

body .hoh .hoh-wrap--video {
	max-width: 1040px;
}

body .hoh .hoh-section {
	padding-block: clamp(56px, 8vw, 112px);
}

body .hoh .hoh-section--paper {
	background: var(--hoh-paper);
}

body .hoh .hoh-section--dark {
	background: var(--hoh-navy-900);
	color: #fff;
}

/* ---------- Type ---------- */

body .hoh .hoh-eyebrow,
body .hoh h1.hoh-eyebrow {
	margin: 0 0 14px;
	padding: 0;
	font: 700 0.78rem/1.4 var(--hoh-sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--hoh-blue-500);
}

body .hoh-marble .hoh-eyebrow,
body .hoh .hoh-section--dark .hoh-eyebrow,
body .hoh-hero .hoh-eyebrow {
	color: var(--hoh-sky);
}

body .hoh em,
body .hoh .hoh-eyebrow em {
	font-family: var(--hoh-serif);
	font-style: italic;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}

body .hoh .hoh-eyebrow em {
	font-size: 1.2em;
}

/*
 * Italic "of" (Class of 2026): the italic f overhangs into the following word,
 * so give it a little more room on the right than on the left.
 */
body .hoh em {
	margin-left: 0.04em;
	margin-right: 0.12em;
}

body .hoh h1.hoh-class-hero__title em,
body .hoh h2.hoh-display em {
	margin-left: 0.06em;
	margin-right: 0.2em;
}

body .hoh .hoh-sc {
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

body .hoh h1.hoh-display,
body .hoh h2.hoh-display {
	margin: 0;
	padding: 0;
	font-family: var(--hoh-serif);
	font-weight: 400;
	font-size: clamp(2.3rem, 1.4rem + 3vw, 3.6rem);
	line-height: 1.05;
	letter-spacing: 0;
	color: var(--hoh-royal);
	font-variant-numeric: lining-nums;
}

body .hoh h2.hoh-section-title {
	margin: 0 0 clamp(24px, 3vw, 40px);
	padding: 0;
	font-family: var(--hoh-serif);
	font-weight: 400;
	font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.6rem);
	line-height: 1.15;
	letter-spacing: 0;
	color: var(--hoh-royal);
	font-variant-numeric: lining-nums;
}

body .hoh .hoh-section--dark h2.hoh-section-title {
	color: #fff;
	text-align: center;
}

body .hoh .hoh-kicker {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 22px;
	padding: 0;
	font: 700 0.78rem/1.4 var(--hoh-sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--hoh-blue-500);
}

body .hoh .hoh-kicker::before {
	content: "";
	width: 36px;
	height: 2px;
	background: var(--hoh-sky);
}

body .hoh .hoh-kicker em {
	font-size: 1.25em;
	letter-spacing: 0;
}

body .hoh .hoh-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: clamp(24px, 3vw, 40px);
}

body .hoh .hoh-section-head .hoh-section-title {
	margin: 0;
}

body .hoh .hoh-section-head--center {
	flex-direction: column;
	align-items: center;
	text-align: center;
}

body .hoh .hoh-section-head--center .hoh-eyebrow {
	margin-bottom: 10px;
}

body .hoh a.hoh-textlink {
	font: 700 0.8rem/1.4 var(--hoh-sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hoh-royal);
	text-decoration: none;
	border-bottom: 1px solid var(--hoh-sky);
	padding-bottom: 2px;
}

body .hoh a.hoh-textlink::after {
	content: " \2192";
}

body .hoh a.hoh-textlink:hover {
	border-bottom-color: var(--hoh-royal);
}

/* ---------- Buttons ---------- */

body .hoh a.hoh-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 26px;
	border: 1px solid var(--hoh-royal);
	border-radius: 2px;
	background: var(--hoh-royal);
	color: #fff;
	font: 700 0.8rem/1 var(--hoh-sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.25s var(--hoh-ease), color 0.25s var(--hoh-ease), border-color 0.25s var(--hoh-ease);
}

body .hoh a.hoh-btn em {
	font-size: 1.15em;
	letter-spacing: 0;
}

body .hoh a.hoh-btn:hover {
	background: var(--hoh-navy-900);
	border-color: var(--hoh-navy-900);
	color: #fff;
}

body .hoh a.hoh-btn--light {
	background: #fff;
	border-color: #fff;
	color: var(--hoh-royal);
}

body .hoh a.hoh-btn--light:hover {
	background: var(--hoh-sky);
	border-color: var(--hoh-sky);
	color: var(--hoh-navy-950);
}

body .hoh .hoh-btn__icon {
	font-size: 0.7rem;
}

body .hoh a:focus-visible,
body .hoh button:focus-visible,
body .hoh input:focus-visible,
body .hoh select:focus-visible {
	outline: 3px solid var(--hoh-sky);
	outline-offset: 3px;
}

/* ---------- Marble band (heroes) ---------- */

body .hoh .hoh-marble {
	position: relative;
	isolation: isolate;
	color: #fff;
	background: var(--hoh-navy-900) url("../img/marble-1600.webp") center / cover no-repeat;
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--hoh-diag)), 0 100%);
	padding-bottom: var(--hoh-diag);
}

body .hoh .hoh-marble::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(120% 90% at 85% 10%, rgba(121, 182, 230, 0.16), transparent 60%),
		linear-gradient(180deg, rgba(4, 15, 43, 0.62) 0%, rgba(4, 15, 43, 0.38) 45%, rgba(4, 15, 43, 0.72) 100%);
}

/* Sky-blue stripe along the diagonal edge, like the program's banding. */
body .hoh .hoh-marble::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: calc(var(--hoh-diag) + 8px);
	background: var(--hoh-sky);
	clip-path: polygon(0 calc(100% - 8px), 100% 0, 100% 8px, 0 100%);
	z-index: -1;
}

@media (max-width: 799px) {
	body .hoh .hoh-marble {
		background-image: url("../img/marble-800.webp");
	}
}

/* ---------- Breadcrumbs ---------- */

body .hoh .hoh-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
	font: 400 0.82rem/1.4 var(--hoh-sans);
	color: rgba(255, 255, 255, 0.72);
}

body .hoh .hoh-crumbs li {
	margin: 0;
	padding: 0;
	list-style: none;
}

body .hoh .hoh-crumbs li + li::before {
	content: "/";
	margin: 0 10px;
	color: rgba(255, 255, 255, 0.4);
}

body .hoh .hoh-crumbs a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

body .hoh .hoh-crumbs a:hover {
	color: #fff;
	border-bottom-color: var(--hoh-sky);
}

/* ---------- Inductee profile ---------- */

body .hoh .hoh-profile__hero {
	padding-top: clamp(40px, 6vw, 88px);
	padding-bottom: calc(var(--hoh-diag) + clamp(48px, 6vw, 88px));
}

body .hoh .hoh-profile__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

@media (min-width: 900px) {
	body .hoh .hoh-profile__grid {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	}

	body .hoh .hoh-profile__portrait {
		order: 2;
	}

	body .hoh .hoh-profile__grid--wide {
		grid-template-columns: minmax(0, 1fr);
	}

	body .hoh .hoh-profile__grid--wide .hoh-profile__portrait {
		order: 2;
	}
}

body .hoh .hoh-profile__portrait {
	position: relative;
	z-index: 0;
	justify-self: center;
	width: min(100%, 440px);
	margin: 14px 14px 0 0;
}

body .hoh .hoh-profile__grid--wide .hoh-profile__portrait {
	width: min(100%, 980px);
	justify-self: start;
}

@media (max-width: 899px) {
	body .hoh .hoh-profile__portrait {
		width: min(82%, 400px);
	}

	body .hoh .hoh-profile__grid--wide .hoh-profile__portrait {
		width: calc(100% - 14px);
	}
}

/* Offset frame: reads as a matted plaque. */
body .hoh .hoh-profile__portrait::before {
	content: "";
	position: absolute;
	inset: -14px -14px 14px 14px;
	border: 1px solid rgba(121, 182, 230, 0.7);
	z-index: -1;
}

body .hoh img.hoh-profile__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 18%;
	filter: grayscale(1) contrast(1.04);
	box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.7);
}

body .hoh .hoh-profile__grid--wide img.hoh-profile__img {
	aspect-ratio: auto;
}

body .hoh .hoh-profile__intro {
	min-width: 0;
}

body .hoh h1.hoh-profile__name {
	margin: 0;
	padding: 0;
	font-family: var(--hoh-serif);
	font-weight: 400;
	font-size: clamp(2.5rem, 1.3rem + 4.2vw, 4.75rem);
	line-height: 1.02;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #fff;
	text-wrap: balance;
	font-variant-numeric: lining-nums;
}

body .hoh h1.hoh-profile__name--long {
	font-size: clamp(2rem, 1.1rem + 2.6vw, 3.25rem);
	line-height: 1.08;
}

body .hoh .hoh-profile__school {
	margin: 18px 0 0;
	padding: 0;
	font: 400 clamp(1.1rem, 1rem + 0.4vw, 1.3rem)/1.4 var(--hoh-sans);
	color: var(--hoh-sky);
	letter-spacing: 0.02em;
}

body .hoh dl.hoh-facts {
	display: flex;
	flex-wrap: wrap;
	margin: 30px 0 0;
	padding: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

body .hoh .hoh-facts__item {
	padding: 16px 28px 16px 0;
	margin-right: 28px;
	border-right: 1px solid rgba(255, 255, 255, 0.2);
}

body .hoh .hoh-facts__item:last-child {
	border-right: 0;
	margin-right: 0;
	padding-right: 0;
}

body .hoh .hoh-facts dt {
	margin: 0 0 6px;
	font: 700 0.7rem/1.2 var(--hoh-sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--hoh-sky);
}

body .hoh .hoh-facts dd {
	margin: 0;
	padding: 0;
	font: 400 1.05rem/1.35 var(--hoh-sans);
	color: #fff;
}

body .hoh .hoh-facts dd a {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid var(--hoh-sky);
}

body .hoh .hoh-profile__actions {
	margin: 34px 0 0;
	padding: 0;
}

/* Biography */

body .hoh .hoh-prose {
	font: 400 1.125rem/1.8 var(--hoh-sans);
	color: var(--hoh-text);
}

body .hoh .hoh-prose p {
	margin: 0 0 1.3em;
	padding: 0;
	font: inherit;
	color: inherit;
}

body .hoh .hoh-prose p:last-child {
	margin-bottom: 0;
}

body .hoh .hoh-prose > p:first-child {
	font-size: 1.25rem;
	line-height: 1.7;
	color: var(--hoh-ink);
}

body .hoh .hoh-prose > p:first-child::first-letter {
	float: left;
	margin: 0.08em 0.12em 0 0;
	font-family: var(--hoh-serif);
	font-size: 3.9em;
	line-height: 0.82;
	color: var(--hoh-royal);
}

body .hoh .hoh-prose a {
	color: var(--hoh-royal);
	text-decoration: underline;
	text-decoration-color: var(--hoh-sky);
	text-underline-offset: 3px;
}

/* Video */

body .hoh .hoh-video__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
	box-shadow: 0 0 0 1px rgba(121, 182, 230, 0.35), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}

body .hoh .hoh-video__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Gallery */

body .hoh ul.hoh-gallery__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(200px, 45%), 1fr));
	gap: clamp(10px, 1.5vw, 18px);
	margin: 0;
	padding: 0;
	list-style: none;
}

body .hoh .hoh-gallery__item {
	margin: 0;
	padding: 0;
	list-style: none;
}

body .hoh .hoh-gallery__item a {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--hoh-paper);
}

body .hoh .hoh-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--hoh-ease);
}

body .hoh .hoh-gallery__item a:hover img {
	transform: scale(1.04);
}

/* Pager (previous / next inductee or class) */

body .hoh .hoh-pager {
	border-top: 1px solid var(--hoh-line);
	border-bottom: 1px solid var(--hoh-line);
	background: #fff;
}

body .hoh .hoh-pager__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	padding-block: 26px;
}

body .hoh a.hoh-pager__link {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: var(--hoh-royal);
	text-decoration: none;
}

body .hoh .hoh-pager__link--next {
	text-align: right;
	align-items: flex-end;
}

body .hoh .hoh-pager__label {
	font: 700 0.7rem/1.2 var(--hoh-sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--hoh-muted);
}

body .hoh .hoh-pager__link--prev .hoh-pager__label::before {
	content: "\2190  ";
}

body .hoh .hoh-pager__link--next .hoh-pager__label::after {
	content: "  \2192";
}

body .hoh .hoh-pager__title {
	font: 400 clamp(1.05rem, 0.9rem + 0.6vw, 1.4rem)/1.25 var(--hoh-serif);
}

body .hoh a.hoh-pager__link:hover .hoh-pager__title {
	text-decoration: underline;
	text-decoration-color: var(--hoh-sky);
	text-underline-offset: 4px;
}

body .hoh a.hoh-pager__all {
	padding: 12px 20px;
	border: 1px solid var(--hoh-line);
	font: 700 0.75rem/1 var(--hoh-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hoh-royal);
	text-decoration: none;
	white-space: nowrap;
}

body .hoh a.hoh-pager__all em {
	font-size: 1.2em;
}

body .hoh a.hoh-pager__all:hover {
	border-color: var(--hoh-royal);
}

@media (max-width: 640px) {
	body .hoh .hoh-pager__inner {
		grid-template-columns: 1fr 1fr;
	}

	body .hoh a.hoh-pager__all {
		grid-column: 1 / -1;
		grid-row: 1;
		justify-self: center;
	}
}

/* ---------- Portrait cards ---------- */

body .hoh.hoh-showcase .hoh-grid {
	max-width: 1120px;
	margin-inline: auto;
}

body .hoh .hoh-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(220px, 42%), 1fr));
	grid-auto-flow: dense;
	gap: clamp(28px, 3vw, 40px) clamp(14px, 2.4vw, 32px);
}

body .hoh .hoh-card {
	margin: 0;
	padding: 0;
	min-width: 0;
}

body .hoh .hoh-card--wide {
	grid-column: span 2;
}

body .hoh a.hoh-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

body .hoh .hoh-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--hoh-navy-800);
}

body .hoh .hoh-card--wide .hoh-card__media {
	aspect-ratio: 8 / 5;
}

body .hoh .hoh-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	box-shadow: inset 0 -3px 0 0 var(--hoh-sky);
	opacity: 0;
	transition: opacity 0.35s var(--hoh-ease);
}

body .hoh img.hoh-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 20%;
	filter: grayscale(1) contrast(1.03);
	transition: transform 0.7s var(--hoh-ease), filter 0.7s var(--hoh-ease);
}

body .hoh .hoh-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	font: 400 2.6rem/1 var(--hoh-serif);
	color: var(--hoh-sky);
}

body .hoh a.hoh-card__link:hover img.hoh-card__img,
body .hoh a.hoh-card__link:focus-visible img.hoh-card__img {
	transform: scale(1.04);
	filter: grayscale(0) contrast(1);
}

body .hoh a.hoh-card__link:hover .hoh-card__media::after,
body .hoh a.hoh-card__link:focus-visible .hoh-card__media::after {
	opacity: 1;
}

body .hoh .hoh-card__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 16px 4px 0;
	text-align: center;
}

body .hoh .hoh-card__name,
body .hoh h2.hoh-card__name,
body .hoh h3.hoh-card__name {
	margin: 0 0 4px;
	padding: 0;
	font: 400 clamp(1.08rem, 1rem + 0.35vw, 1.3rem)/1.2 var(--hoh-serif);
	letter-spacing: 0;
	text-transform: none;
	color: var(--hoh-royal);
	background: linear-gradient(var(--hoh-sky), var(--hoh-sky)) 50% 100% / 0 1px no-repeat;
	padding-bottom: 3px;
	transition: background-size 0.35s var(--hoh-ease);
	font-variant-numeric: lining-nums;
}

body .hoh a.hoh-card__link:hover .hoh-card__name {
	background-size: 100% 1px;
}

body .hoh .hoh-card__school {
	font: 700 0.68rem/1.45 var(--hoh-sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hoh-muted);
}

body .hoh .hoh-card__detail,
body .hoh .hoh-card__class {
	font: 400 0.88rem/1.4 var(--hoh-sans);
	color: var(--hoh-muted);
}

body .hoh .hoh-card__class {
	color: var(--hoh-blue-500);
}

/* ---------- Class page ---------- */

body .hoh .hoh-class-hero {
	padding-top: clamp(40px, 6vw, 80px);
	padding-bottom: calc(var(--hoh-diag) + clamp(56px, 7vw, 104px));
	text-align: center;
}

body .hoh .hoh-class-hero .hoh-crumbs ol {
	justify-content: center;
}

body .hoh img.hoh-class-hero__seal {
	display: block;
	width: clamp(84px, 9vw, 112px);
	height: auto;
	margin: 0 auto 22px;
	border-radius: 50%;
	box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08), 0 18px 40px -16px rgba(0, 0, 0, 0.6);
}

body .hoh h1.hoh-class-hero__title {
	margin: 0;
	padding: 0;
	font-family: var(--hoh-serif);
	font-weight: 400;
	font-size: clamp(3rem, 1.6rem + 6vw, 6.5rem);
	line-height: 1;
	letter-spacing: 0;
	color: #fff;
	font-variant-numeric: lining-nums;
}

body .hoh .hoh-class-hero__title em {
	font-size: 0.8em;
	color: var(--hoh-sky);
}

body .hoh .hoh-class-hero__meta {
	margin: 22px 0 0;
	padding: 0;
	font: 700 0.8rem/1.4 var(--hoh-sans);
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
}

body .hoh .hoh-class-hero__actions {
	margin: 30px 0 0;
	padding: 0;
}

body .hoh .hoh-empty {
	text-align: center;
	font-size: 1.1rem;
	color: var(--hoh-muted);
}

/* ---------- Home: ceremony hero (Salient global section 601) ---------- */

body .hoh-hero {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
	color: #fff;
}

body .hoh-hero h1.hoh-hero__title,
body .hoh-hero h2.hoh-hero__title {
	margin: 0;
	padding: 0;
	font-family: var(--hoh-serif);
	font-weight: 400;
	font-size: clamp(2.4rem, 1.3rem + 3.8vw, 4.6rem);
	line-height: 1.04;
	letter-spacing: 0;
	color: #fff;
	text-wrap: balance;
	text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
	font-variant-numeric: lining-nums;
}

body .hoh-hero .hoh-hero__location,
body .hoh-hero .hoh-hero__extra,
body .hoh-hero .hoh-hero__extra p {
	margin: 18px auto 0;
	padding: 0;
	max-width: 620px;
	font: 400 1.1rem/1.6 var(--hoh-sans);
	color: rgba(255, 255, 255, 0.92);
}

body .hoh-hero .hoh-hero__extra p + p {
	margin-top: 6px;
}

body .hoh-hero .hoh-hero__extra a {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: var(--hoh-sky);
	text-underline-offset: 3px;
}

body .hoh-hero .hoh-hero__actions {
	margin: 32px 0 0;
	padding: 0;
}

/* Neutralise the white translucent box and lighten the overlay around the hero text. */
body .nectar-global-section.after-nav .wpb_row:has(.hoh-hero) .column-bg-overlay-wrap,
body .nectar-global-section.after-nav .wpb_row:has(.hoh-hero) .column-bg-overlay {
	background: transparent !important;
	opacity: 0 !important;
}

body .nectar-global-section.after-nav .wpb_row:has(.hoh-hero) .row-bg-overlay {
	background: linear-gradient(180deg, rgba(4, 15, 43, 0.82) 0%, rgba(4, 15, 43, 0.62) 50%, rgba(4, 15, 43, 0.35) 100%) !important;
	opacity: 1 !important;
}

/* ---------- Home: newest class showcase ---------- */

body .hoh .hoh-showcase__video {
	max-width: 960px;
	margin: clamp(56px, 7vw, 96px) auto 0;
}

body .hoh .hoh-showcase__video h3.hoh-kicker {
	justify-content: center;
}

body .hoh .hoh-showcase__video h3.hoh-kicker::after {
	content: "";
	width: 36px;
	height: 2px;
	background: var(--hoh-sky);
}

body .hoh p.hoh-stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 0;
	margin: clamp(48px, 6vw, 80px) 0 0;
	padding: 22px 0;
	border-top: 1px solid var(--hoh-line);
	border-bottom: 1px solid var(--hoh-line);
	font: 700 0.75rem/1.4 var(--hoh-sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hoh-muted);
}

body .hoh p.hoh-stats > span {
	padding: 0 22px;
}

body .hoh p.hoh-stats > span + span {
	border-left: 1px solid var(--hoh-line);
}

body .hoh p.hoh-stats strong {
	font: 400 1.5rem/1 var(--hoh-serif);
	letter-spacing: 0;
	color: var(--hoh-royal);
	vertical-align: -2px;
	margin-right: 4px;
	font-variant-numeric: lining-nums;
}

@media (max-width: 640px) {
	body .hoh p.hoh-stats > span {
		flex-basis: 100%;
		text-align: center;
	}

	body .hoh p.hoh-stats > span + span {
		border-left: 0;
	}
}

/* ---------- Classes index: wall of classes ---------- */

body .hoh.hoh-classwall {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
	gap: clamp(16px, 2vw, 28px);
	max-width: var(--hoh-wrap);
	margin: 0 auto;
}

body .hoh a.hoh-classtile {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 0 26px;
	background: #fff;
	border: 1px solid var(--hoh-line);
	color: var(--hoh-royal);
	text-decoration: none;
	transition: transform 0.35s var(--hoh-ease), box-shadow 0.35s var(--hoh-ease), border-color 0.35s var(--hoh-ease);
}

body .hoh a.hoh-classtile:hover {
	transform: translateY(-4px);
	border-color: var(--hoh-sky);
	box-shadow: 0 22px 40px -24px rgba(6, 22, 56, 0.45);
}

body .hoh .hoh-classtile__faces {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2px;
	width: 100%;
	margin-bottom: 22px;
	background: var(--hoh-navy-900);
	border-bottom: 3px solid var(--hoh-sky);
}

body .hoh .hoh-classtile__faces--3 {
	grid-template-columns: repeat(3, 1fr);
}

body .hoh .hoh-classtile__faces--2 {
	grid-template-columns: repeat(2, 1fr);
}

body .hoh .hoh-classtile__faces--1 {
	grid-template-columns: 1fr;
}

body .hoh .hoh-classtile__faces img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 20%;
	filter: grayscale(1);
	transition: filter 0.5s var(--hoh-ease);
}

body .hoh a.hoh-classtile:hover .hoh-classtile__faces img {
	filter: grayscale(0);
}

body .hoh .hoh-classtile__label {
	font: 400 1rem/1 var(--hoh-serif);
	color: var(--hoh-muted);
}

body .hoh .hoh-classtile__label .hoh-sc {
	font-size: 0.82em;
	letter-spacing: 0.14em;
}

body .hoh .hoh-classtile__year {
	margin-top: 6px;
	font: 400 3rem/1 var(--hoh-serif);
	color: var(--hoh-royal);
	font-variant-numeric: lining-nums;
}

body .hoh .hoh-classtile__count {
	margin-top: 10px;
	font: 700 0.7rem/1.4 var(--hoh-sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--hoh-muted);
}

/* ---------- Directory ---------- */

body .hoh.hoh-directory {
	max-width: var(--hoh-wrap);
	margin: clamp(72px, 9vw, 128px) auto 0;
	scroll-margin-top: 120px;
}

body .hoh form.hoh-filters {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)) auto;
	align-items: end;
	gap: 14px;
	margin: 0 0 14px;
	padding: 20px;
	background: var(--hoh-paper);
	border: 1px solid var(--hoh-line);
}

body .hoh form.hoh-filters[hidden] {
	display: none;
}

body .hoh .hoh-filters__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

body .hoh .hoh-filters label {
	margin: 0;
	padding: 0;
	font: 700 0.68rem/1.2 var(--hoh-sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hoh-muted);
}

body .hoh .hoh-filters input[type="search"],
body .hoh .hoh-filters select {
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #c8d1de;
	border-radius: 2px;
	background-color: #fff;
	color: var(--hoh-ink);
	font: 400 1rem/1.2 var(--hoh-sans);
	box-shadow: none;
}

body .hoh .hoh-filters select {
	appearance: none;
	padding-right: 36px;
	background-image: linear-gradient(45deg, transparent 50%, var(--hoh-royal) 50%), linear-gradient(135deg, var(--hoh-royal) 50%, transparent 50%);
	background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}

body .hoh button.hoh-filters__reset {
	height: 46px;
	margin: 0;
	padding: 0 18px;
	border: 1px solid var(--hoh-royal);
	border-radius: 2px;
	background: #fff;
	color: var(--hoh-royal);
	font: 700 0.75rem/1 var(--hoh-sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
}

body .hoh button.hoh-filters__reset:hover {
	background: var(--hoh-royal);
	color: #fff;
}

body .hoh .hoh-directory__status {
	min-height: 1.4em;
	margin: 0 0 24px;
	padding: 0;
	font: 400 0.9rem/1.4 var(--hoh-sans);
	color: var(--hoh-muted);
}

body .hoh ul.hoh-directory__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body .hoh li.hoh-directory__item {
	margin: 0;
	padding: 0;
	list-style: none;
}

body .hoh li.hoh-directory__item[hidden] {
	display: none;
}

body .hoh.hoh-directory .hoh-card,
body .hoh.hoh-directory .hoh-card--wide {
	grid-column: auto;
	height: 100%;
}

body .hoh.hoh-directory a.hoh-card__link {
	flex-direction: row;
	align-items: center;
	gap: 16px;
	padding: 10px;
	background: #fff;
	border: 1px solid var(--hoh-line);
	transition: border-color 0.25s var(--hoh-ease), box-shadow 0.25s var(--hoh-ease);
}

body .hoh.hoh-directory a.hoh-card__link:hover {
	border-color: var(--hoh-sky);
	box-shadow: 0 12px 24px -18px rgba(6, 22, 56, 0.5);
}

body .hoh.hoh-directory .hoh-card__media,
body .hoh.hoh-directory .hoh-card--wide .hoh-card__media {
	flex: 0 0 68px;
	width: 68px;
	aspect-ratio: 4 / 5;
}

body .hoh.hoh-directory .hoh-card__media::after {
	display: none;
}

body .hoh.hoh-directory .hoh-card__placeholder {
	font-size: 1.3rem;
}

body .hoh.hoh-directory .hoh-card__body {
	align-items: flex-start;
	padding: 0;
	text-align: left;
}

body .hoh.hoh-directory .hoh-card__name,
body .hoh.hoh-directory h3.hoh-card__name {
	font-size: 1.05rem;
	background-position: 0 100%;
}

body .hoh.hoh-directory .hoh-card__detail {
	display: none;
}

body .hoh .hoh-directory__empty {
	margin: 24px 0 0;
	text-align: center;
	color: var(--hoh-muted);
}

@media (max-width: 899px) {
	body .hoh form.hoh-filters {
		grid-template-columns: 1fr 1fr;
	}

	body .hoh .hoh-filters__field--search {
		grid-column: 1 / -1;
	}
}

@media (max-width: 479px) {
	body .hoh form.hoh-filters {
		grid-template-columns: 1fr;
	}
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
	body .hoh *,
	body .hoh *::before,
	body .hoh *::after {
		transition: none !important;
		animation: none !important;
	}

	body .hoh a.hoh-classtile:hover {
		transform: none;
	}
}

/* ---------- Site-wide (header, menus, icons) ---------- */

html {
	scroll-padding-top: 120px;
}

/* Font Awesome is no longer loaded; these are the only two glyphs the site used. */
.fa.fa-home,
.fa.fa-angle-up {
	display: inline-block;
	width: 1em;
	height: 1em;
	background-color: currentColor;
	-webkit-mask: var(--hoh-icon) center / contain no-repeat;
	mask: var(--hoh-icon) center / contain no-repeat;
	vertical-align: -0.125em;
}

.fa.fa-home::before,
.fa.fa-angle-up::before {
	content: none;
}

.fa.fa-home {
	--hoh-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 2 11.5h3V21h5.5v-6h3v6H19v-9.5h3z'/%3E%3C/svg%3E");
}

.fa.fa-angle-up {
	--hoh-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.7 15.7 12 10.4l5.3 5.3 1.4-1.4L12 7.6l-6.7 6.7z'/%3E%3C/svg%3E");
}

#header-outer a:focus-visible,
#slide-out-widget-area a:focus-visible,
#to-top:focus-visible {
	outline: 3px solid var(--hoh-sky);
	outline-offset: 3px;
}

/* Mobile (off-canvas) menu in brand colours instead of Salient's default #3452ff. */
body #slide-out-widget-area-bg {
	background: var(--hoh-navy-900) url("../img/marble-800.webp") center / cover no-repeat !important;
}

body #slide-out-widget-area .off-canvas-menu-container li a,
body #slide-out-widget-area .off-canvas-menu-container li a .menu-title-text {
	font-family: var(--hoh-sans) !important;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: #fff !important;
}

body #slide-out-widget-area .off-canvas-menu-container .sub-menu li a,
body #slide-out-widget-area .off-canvas-menu-container .sub-menu li a .menu-title-text {
	font-weight: 400;
}

body #slide-out-widget-area .off-canvas-menu-container li a:hover .menu-title-text,
body #slide-out-widget-area .off-canvas-menu-container li.current-menu-item > a .menu-title-text {
	color: var(--hoh-sky) !important;
}

/* Show the word "Home" in the mobile menu (the desktop bar keeps the icon). */
body #slide-out-widget-area li.menu-item-hidden-text > a .menu-title-text {
	display: inline !important;
	position: static !important;
	width: auto !important;
	height: auto !important;
	clip: auto !important;
	overflow: visible !important;
}

body #slide-out-widget-area li.menu-item-hidden-text > a .nectar-menu-icon {
	display: none;
}

/* Larger tap target for the menu button (was 19x17 px). */
body #header-outer .slide-out-widget-area-toggle a {
	position: relative;
}

body #header-outer .slide-out-widget-area-toggle a::after {
	content: "";
	position: absolute;
	inset: -14px;
}

/* ---------- 404 ---------- */

body .hoh .hoh-404__lede {
	margin: 20px auto 0;
	max-width: 560px;
	font: 400 1.15rem/1.6 var(--hoh-sans);
	color: rgba(255, 255, 255, 0.9);
}

body .hoh .hoh-class-hero__actions .hoh-btn + .hoh-btn {
	margin-left: 10px;
}

body .hoh a.hoh-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.7);
	color: #fff;
}

body .hoh a.hoh-btn--ghost:hover {
	background: #fff;
	border-color: #fff;
	color: var(--hoh-royal);
}

body .hoh .hoh-grid--four {
	max-width: 1120px;
	margin-inline: auto;
}

/* ---------- Home: "From the Hall" spotlight ---------- */

body .hoh .hoh-marble-panel {
	position: relative;
	isolation: isolate;
	color: #fff;
	background: var(--hoh-navy-900) url("../img/marble-1600.webp") center / cover no-repeat;
}

body .hoh .hoh-marble-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(110deg, rgba(4, 15, 43, 0.82), rgba(4, 15, 43, 0.45));
}

body .hoh .hoh-spotlight {
	display: grid;
	grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
	align-items: center;
	gap: clamp(28px, 4vw, 56px);
	max-width: 1120px;
	margin: clamp(56px, 7vw, 96px) auto 0;
	padding: clamp(28px, 4vw, 56px);
	border-bottom: 4px solid var(--hoh-sky);
	text-align: left;
}

body .hoh .hoh-spotlight__media {
	display: block;
	box-shadow: 0 0 0 1px rgba(121, 182, 230, 0.6), 0 24px 48px -20px rgba(0, 0, 0, 0.7);
}

body .hoh .hoh-spotlight__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 20%;
	filter: grayscale(1) contrast(1.04);
}

body .hoh h3.hoh-spotlight__name {
	margin: 0;
	padding: 0;
	font: 400 clamp(2rem, 1.3rem + 2.4vw, 3.2rem)/1.05 var(--hoh-serif);
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #fff;
}

body .hoh .hoh-spotlight__meta {
	margin: 12px 0 0;
	padding: 0;
	font: 400 1.05rem/1.4 var(--hoh-sans);
	color: var(--hoh-sky);
}

body .hoh .hoh-spotlight__excerpt {
	margin: 18px 0 28px;
	padding: 0;
	max-width: 60ch;
	font: 400 1.1rem/1.7 var(--hoh-sans);
	color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 799px) {
	body .hoh .hoh-spotlight {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}

	body .hoh .hoh-spotlight__media {
		width: min(70%, 300px);
	}
}

/* ---------- Inner pages (Board, Nominations, Sponsors, Classes) ----------
 * Marble is kept for hero moments only; these pages stay on the flat brand blue.
 * With the ceremony hero gone, give the opening title room under the header.
 */

body.page:not(.home) .main-content > .row > .wpb_row.top-level:first-child {
	padding-top: clamp(48px, 6vw, 88px) !important;
}

/* ---------- Reveal on scroll (added by hoh.js; skipped for reduced motion) ---------- */

.hoh-motion .hoh-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.8s var(--hoh-ease), transform 0.8s var(--hoh-ease);
}

.hoh-motion .hoh-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* ---------- QA follow-ups ---------- */

/* Focus ring: royal on light backgrounds (sky was 2.2:1 on white), sky on dark. */
body .hoh a:focus-visible,
body .hoh button:focus-visible,
body .hoh input:focus-visible,
body .hoh select:focus-visible {
	outline-color: var(--hoh-royal);
}

body .hoh .hoh-marble a:focus-visible,
body .hoh .hoh-marble-panel a:focus-visible,
body .hoh .hoh-section--dark a:focus-visible,
body .hoh-hero a:focus-visible {
	outline-color: var(--hoh-sky);
}

/* Class wall: two tiles per row on phones. */
@media (max-width: 599px) {
	body .hoh.hoh-classwall {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	body .hoh .hoh-classtile__year {
		font-size: 2.2rem;
	}

	body .hoh a.hoh-classtile {
		padding-bottom: 18px;
	}
}

/* ---------- Video card: preview button + click-to-play ----------
 * hoh_video() prints one <button> over an inert <template> holding the player's iframe; hoh.js
 * swaps the iframe in on click, so nothing from the player loads before that.
 * Primary card (--thumb): a frame of the video, a centred play button and the title over a dark
 * gradient, like YouTube. Fallback poster cards (--portrait, --wide, --seal): marble, the
 * inductee's portrait in black and white and a sky-blue slash, the profile hero's own look.
 */

body .hoh .hoh-video__frame--card {
	container-type: inline-size;
	--hoh-vc-slant: 15%;
	--hoh-vc-pad: clamp(18px, 5vw, 56px);
}

body .hoh .hoh-video__frame--card iframe {
	z-index: 2;
}

body .hoh button.hoh-vcard {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--hoh-navy-900) url("../img/marble-1600.webp") center / cover no-repeat;
	box-shadow: none;
	color: #fff;
	font: inherit;
	letter-spacing: normal;
	text-align: left;
	text-transform: none;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

@media (max-width: 799px) {
	body .hoh button.hoh-vcard {
		background-image: url("../img/marble-800.webp");
	}
}

/* The play button: white disc, royal triangle. */
body .hoh .hoh-vcard__play {
	display: grid;
	flex: none;
	place-items: center;
	width: clamp(56px, 10vw, 112px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: #fff;
	color: var(--hoh-royal);
	box-shadow: 0 0 0 clamp(5px, 0.9vw, 10px) rgba(121, 182, 230, 0.34), 0 18px 40px -12px rgba(0, 0, 0, 0.6);
	transition: transform 0.35s var(--hoh-ease), background-color 0.3s var(--hoh-ease), color 0.3s var(--hoh-ease), box-shadow 0.35s var(--hoh-ease);
}

body .hoh svg.hoh-vcard__icon {
	display: block;
	width: 38%;
	height: 38%;
	fill: currentColor;
	stroke: currentColor;
	stroke-width: 1.2;
	stroke-linejoin: round;
}

/* ----- Preview card: a frame of the video ----- */

body .hoh button.hoh-vcard--thumb {
	background: #000;
}

body .hoh img.hoh-vcard__thumb {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

/* Dark gradient behind the title. */
body .hoh button.hoh-vcard--thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(4, 15, 43, 0.86) 0%, rgba(4, 15, 43, 0.5) 22%, rgba(4, 15, 43, 0) 46%);
}

body .hoh .hoh-vcard--thumb .hoh-vcard__play {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 64px;
	margin: auto;
	box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.28), 0 10px 32px rgba(0, 0, 0, 0.5);
}

@media (min-width: 700px) {
	body .hoh .hoh-vcard--thumb .hoh-vcard__play {
		width: 84px;
	}
}

body .hoh .hoh-vcard__caption {
	position: absolute;
	right: clamp(14px, 3vw, 32px);
	bottom: clamp(12px, 2.6vw, 28px);
	left: clamp(14px, 3vw, 32px);
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 0.7em;
	text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

body .hoh .hoh-vcard__kicker {
	font: 700 0.72rem/1.3 var(--hoh-sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hoh-sky);
}

body .hoh .hoh-vcard__sep {
	color: rgba(255, 255, 255, 0.6);
}

body .hoh .hoh-vcard__name {
	font: 400 clamp(1.1rem, 0.6rem + 1.9vw, 1.9rem)/1.15 var(--hoh-serif);
	letter-spacing: 0.01em;
	color: #fff;
	font-variant-numeric: lining-nums;
}

/* ----- Poster card (no video frame): marble, portrait, text ----- */

/* Same navy wash as the heroes. */
body .hoh button.hoh-vcard:not(.hoh-vcard--thumb)::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(120% 90% at 85% 10%, rgba(121, 182, 230, 0.16), transparent 60%),
		linear-gradient(180deg, rgba(4, 15, 43, 0.62) 0%, rgba(4, 15, 43, 0.38) 45%, rgba(4, 15, 43, 0.72) 100%);
}

/* Portrait panel on the right; its slanted left edge carries the sky-blue stripe. */
body .hoh .hoh-vcard__media {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: block;
	width: 46%;
	background: var(--hoh-sky);
	clip-path: polygon(var(--hoh-vc-slant) 0, 100% 0, 100% 100%, 0 100%);
}

body .hoh img.hoh-vcard__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 18%;
	filter: grayscale(1) contrast(1.04);
	clip-path: polygon(calc(var(--hoh-vc-slant) + 8px) 0, 100% 0, 100% 100%, 8px 100%);
	transition: filter 0.7s var(--hoh-ease);
}

/* Team photos are wide: let them fill the card, with a navy fade behind the text. */
body .hoh .hoh-vcard--wide .hoh-vcard__media {
	left: 0;
	width: auto;
	background: none;
	clip-path: none;
}

body .hoh .hoh-vcard--wide img.hoh-vcard__img {
	object-position: 50% 30%;
	clip-path: none;
}

body .hoh .hoh-vcard--wide::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(4, 15, 43, 0.94) 0%, rgba(4, 15, 43, 0.78) 36%, rgba(4, 15, 43, 0.2) 74%, rgba(4, 15, 43, 0.08) 100%);
}

/* No portrait (class introductions): the seal stands in. */
body .hoh .hoh-vcard--seal .hoh-vcard__media {
	display: grid;
	place-items: center;
	background: none;
	clip-path: none;
}

body .hoh img.hoh-vcard__seal {
	display: block;
	width: min(60%, 260px);
	height: auto;
	max-width: none;
	border-radius: 50%;
	box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08), 0 24px 48px -16px rgba(0, 0, 0, 0.7);
}

/* Play button, "Watch the induction" and the name. */
body .hoh .hoh-vcard__body {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	width: 54%;
	padding: 0 3% 0 var(--hoh-vc-pad);
}

body .hoh .hoh-vcard__body .hoh-vcard__play {
	margin-bottom: clamp(12px, 2.4vw, 28px);
}

body .hoh .hoh-vcard__eyebrow {
	display: block;
	font: 700 clamp(0.64rem, 0.5rem + 0.5vw, 0.84rem)/1.4 var(--hoh-sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--hoh-sky);
}

body .hoh .hoh-vcard__body .hoh-vcard__name {
	display: block;
	margin-top: 0.3em;
	font: 400 clamp(1.1rem, 0.5rem + 2.6vw, 2.9rem)/1.05 var(--hoh-serif);
	text-transform: uppercase;
	text-wrap: balance;
}

body .hoh .hoh-vcard--long .hoh-vcard__name {
	font-size: clamp(1rem, 0.4rem + 1.9vw, 2rem);
}

body .hoh .hoh-vcard__body .hoh-vcard__name em {
	font-size: 0.8em;
	color: var(--hoh-sky);
}

/* Scale the type and buttons to the card itself (it is narrower on the home page). */
@supports (width: 1cqw) {
	body .hoh .hoh-video__frame--card {
		--hoh-vc-pad: clamp(18px, 5.4cqw, 64px);
	}

	body .hoh .hoh-vcard__caption {
		right: clamp(14px, 3.4cqw, 36px);
		bottom: clamp(12px, 3cqw, 30px);
		left: clamp(14px, 3.4cqw, 36px);
	}

	body .hoh .hoh-vcard__name {
		font-size: clamp(1.05rem, 0.5rem + 2.4cqw, 1.9rem);
	}

	body .hoh .hoh-vcard__kicker {
		font-size: clamp(0.62rem, 0.4rem + 0.7cqw, 0.8rem);
	}

	body .hoh .hoh-vcard__body .hoh-vcard__play {
		width: clamp(56px, 12cqw, 128px);
		margin-bottom: clamp(10px, 2.8cqw, 30px);
	}

	body .hoh .hoh-vcard__eyebrow {
		font-size: clamp(0.62rem, 0.36rem + 0.95cqw, 0.86rem);
	}

	body .hoh .hoh-vcard__body .hoh-vcard__name {
		font-size: clamp(1.1rem, 0.4rem + 4.6cqw, 3rem);
	}

	body .hoh .hoh-vcard--long .hoh-vcard__name {
		font-size: clamp(1rem, 0.35rem + 3.4cqw, 2.2rem);
	}
}

/* ----- States ----- */

/* Hover and keyboard focus: the poster portrait picks up its colour, the play button lights up. */
body .hoh button.hoh-vcard:hover img.hoh-vcard__img,
body .hoh button.hoh-vcard:focus-visible img.hoh-vcard__img {
	filter: grayscale(0) contrast(1);
}

body .hoh button.hoh-vcard:hover .hoh-vcard__play,
body .hoh button.hoh-vcard:focus-visible .hoh-vcard__play {
	transform: scale(1.07);
	background: var(--hoh-sky);
	color: var(--hoh-navy-950);
	box-shadow: 0 0 0 clamp(8px, 1.4vw, 16px) rgba(121, 182, 230, 0.3), 0 18px 40px -12px rgba(0, 0, 0, 0.6);
}

body .hoh button.hoh-vcard:active .hoh-vcard__play {
	transform: scale(0.97);
}

/* The preview card's button stays white and just grows. */
body .hoh button.hoh-vcard--thumb:hover .hoh-vcard__play,
body .hoh button.hoh-vcard--thumb:focus-visible .hoh-vcard__play {
	transform: scale(1.1);
	background: #fff;
	color: var(--hoh-royal);
	box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.36), 0 12px 36px rgba(0, 0, 0, 0.55);
}

body .hoh button.hoh-vcard--thumb:active .hoh-vcard__play {
	transform: scale(1.02);
}

/* On the navy band, the royal ring used for other buttons would disappear. */
body .hoh button.hoh-vcard:focus-visible {
	outline: 3px solid var(--hoh-sky);
	outline-offset: 5px;
}

/* After the click: "Loading video" sits behind the iframe until the player has painted. */
body .hoh .hoh-video__frame--card.is-loading::before {
	content: "Loading video";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font: 700 0.8rem/1 var(--hoh-sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--hoh-sky);
}

/* Narrow cards (phones, the home page): tighter tracking, and the title stacks. */
@container (max-width: 520px) {
	body .hoh .hoh-vcard__eyebrow {
		letter-spacing: 0.14em;
	}

	body .hoh .hoh-vcard__caption {
		flex-direction: column;
		align-items: flex-start;
		gap: 3px;
	}

	body .hoh .hoh-vcard__sep {
		display: none;
	}
}

/* Without JavaScript the <noscript> iframe is the player; a dead button would only get in the way. */
@media (scripting: none) {
	body .hoh button.hoh-vcard {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	body .hoh .hoh-vcard__play,
	body .hoh img.hoh-vcard__img {
		transition: none;
	}

	body .hoh button.hoh-vcard:hover .hoh-vcard__play,
	body .hoh button.hoh-vcard:focus-visible .hoh-vcard__play,
	body .hoh button.hoh-vcard:active .hoh-vcard__play {
		transform: none;
	}
}

@media (forced-colors: active) {
	body .hoh button.hoh-vcard {
		border: 2px solid ButtonText;
		background: Canvas;
		color: CanvasText;
	}

	body .hoh button.hoh-vcard::before,
	body .hoh button.hoh-vcard::after {
		display: none;
	}

	body .hoh .hoh-vcard__play {
		background: ButtonText;
		color: ButtonFace;
	}

	body .hoh .hoh-vcard__eyebrow,
	body .hoh .hoh-vcard__kicker,
	body .hoh .hoh-vcard__sep,
	body .hoh .hoh-vcard__name,
	body .hoh .hoh-vcard__name em {
		color: CanvasText;
	}
}

/* Directory filters: five fields wrap to three columns before the two-column phone layout. */
@media (min-width: 900px) and (max-width: 1099px) {
	body .hoh form.hoh-filters {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	body .hoh .hoh-filters__field--search {
		grid-column: 1 / -1;
	}
}
