/* ==========================================================================
   Smoky Hill — base styles and design tokens
   Tokens taken from the Figma file (nav bar frame). Section styles are
   appended below as each section is built.
   ========================================================================== */

:root {
	/* Colors */
	--sh-pine: #0b1a13;          /* page / nav background */
	--sh-mist: #dce8e0;          /* body text, nav links */
	--sh-white: #ffffff;
	--sh-red: #c8102e;           /* primary buttons, accents */
	--sh-red-hover: #a50d26;
	--sh-line: rgba(255, 255, 255, 0.55); /* outline buttons */
	--sh-line-mid: rgba(255, 255, 255, 0.35); /* chips */
	--sh-line-soft: rgba(255, 255, 255, 0.12);
	--sh-divider: rgba(255, 255, 255, 0.16);
	--sh-gold: #c5a059;          /* headline accent, game dates */
	--sh-gold-soft: #d9b26f;     /* arrow icons */
	--sh-board: #12261e;         /* results board / raised panels */
	--sh-forest: 6, 33, 26;      /* rgb of #06211A, for photo overlays */
	--sh-text-soft: #e0e0e0;     /* lede text on photos */

	/* Type */
	--sh-font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
	--sh-font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sh-text-sm: 0.875rem;   /* 14 */
	--sh-text-base: 0.9375rem;/* 15 — nav + buttons */
	--sh-text-md: 1rem;       /* 16 */
	--sh-text-lg: 1.625rem;   /* 26 — logo */

	/* Layout */
	--sh-container: 1152px;   /* content width in the 1440 design */
	--sh-gutter: 16px;
	--sh-section-y: clamp(48px, 6vw, 72px);
	--sh-header-h: 72px;

	/* Shape */
	--sh-radius-pill: 999px;
	--sh-radius-card: 12px;
	--sh-btn-h: 40px;

	--sh-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--sh-ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

::selection {
	background: var(--sh-red);
	color: var(--sh-white);
}

html {
	scrollbar-color: rgba(220, 232, 224, 0.35) var(--sh-pine);
	accent-color: var(--sh-red);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--sh-pine);
	color: var(--sh-mist);
	font-family: var(--sh-font-body);
	font-size: var(--sh-text-md);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
}

/* Zero-specificity default so component link colours (e.g. dark text on light cards) always win. */
a:where(:hover) {
	color: var(--sh-white);
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	font-family: var(--sh-font-display);
	font-weight: 700;
	line-height: 1;
	color: var(--sh-white);
	text-transform: uppercase;
}

p {
	margin: 0 0 1em;
}

:focus-visible {
	outline: 2px solid var(--sh-red);
	outline-offset: 3px;
}

/* Entrance motion is only declared inside (prefers-reduced-motion: no-preference)
   blocks, so reduced-motion users keep state changes but skip movement. */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: calc(var(--sh-container) + var(--sh-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--sh-gutter);
}

.section {
	padding-block: var(--sh-section-y);
}

[id] {
	scroll-margin-top: calc(var(--sh-header-h) + var(--wp-admin--admin-bar--height, 0px) + 16px);
}

.eyebrow {
	margin: 0 0 0.5rem;
	font-size: var(--sh-text-sm);
	color: var(--sh-mist);
	opacity: 0.8;
}

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

.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 1000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 10px 16px;
	background: var(--sh-white);
	color: var(--sh-pine);
	border-radius: 6px;
}

/* --------------------------------------------------------------------------
   Logo
   -------------------------------------------------------------------------- */
.site-logo {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--sh-white);
}

.site-logo__mark {
	width: 45px;
	height: 45px;
	object-fit: contain;
}

.site-logo__text {
	font-family: var(--sh-font-display);
	font-weight: 700;
	font-size: var(--sh-text-lg);
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Buttons (pill, 40px tall — from nav bar Donate / Register now)
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--sh-btn-h);
	padding: 0 20px;
	border: 2px solid transparent;
	border-radius: var(--sh-radius-pill);
	font-family: var(--sh-font-body);
	font-size: var(--sh-text-base);
	font-weight: 700;
	line-height: 1;
	color: var(--sh-white);
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s var(--sh-ease), border-color 0.2s var(--sh-ease), color 0.2s var(--sh-ease);
}

.btn--primary {
	background: var(--sh-red);
	border-color: var(--sh-red);
}

.btn--primary:hover {
	background: var(--sh-red-hover);
	border-color: var(--sh-red-hover);
	color: var(--sh-white);
}

.btn--outline {
	background: transparent;
	border-color: var(--sh-line);
}

.btn--outline:hover {
	border-color: var(--sh-white);
	background: rgba(255, 255, 255, 0.06);
	color: var(--sh-white);
}

.btn--lg {
	min-height: 46px;
	padding: 0 24px;
}

/* Small pill filter (results board, schedule) */
.chip {
	display: inline-flex;
	align-items: center;
	min-height: 31px;
	padding: 0 15px;
	border: 1px solid var(--sh-line-mid);
	border-radius: var(--sh-radius-pill);
	background: transparent;
	font: 700 var(--sh-text-sm) / 1 var(--sh-font-body);
	color: var(--sh-white);
	cursor: pointer;
	transition: background-color 0.2s var(--sh-ease), border-color 0.2s var(--sh-ease);
}

.chip:hover {
	border-color: var(--sh-white);
}

.chip[aria-pressed="true"] {
	background: var(--sh-red);
	border-color: var(--sh-red);
}

/* Label pill (game location) */
.tag {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	min-height: 26px;
	padding: 0 12px;
	border-radius: var(--sh-radius-pill);
	background: var(--sh-red);
	font: 700 0.8125rem / 1 var(--sh-font-body);
	color: var(--sh-white);
	white-space: nowrap;
}

/* Round icon button (carousel arrows) */
.icon-btn {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--sh-white);
	border-radius: 50%;
	background: transparent;
	color: var(--sh-gold-soft);
	cursor: pointer;
	transition: background-color 0.2s var(--sh-ease), opacity 0.2s var(--sh-ease);
}

.icon-btn::before { /* 44px touch target */
	content: "";
	position: absolute;
	inset: -3px;
}

.icon-btn:hover:not(:disabled) {
	background: rgba(255, 255, 255, 0.1);
}

.icon-btn:disabled {
	opacity: 0.35;
	cursor: default;
}

/* --------------------------------------------------------------------------
   Generic content (pages, posts, archives)
   -------------------------------------------------------------------------- */
.page-title,
.entry-title {
	font-size: clamp(2.25rem, 5vw, 3.5rem);
}

.entry-content {
	max-width: 56ch; /* ≈ 75 characters of Figtree text */
	font-size: 1.0625rem;
	line-height: 1.65;
}

.entry-content a {
	color: var(--sh-white);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-thumb {
	margin: 0 0 2rem;
}

.entry-thumb img {
	border-radius: var(--sh-radius-card);
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: 24px;
}

.card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--sh-line-soft);
	border-radius: var(--sh-radius-card);
	overflow: hidden;
}

.card__media img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.card__body {
	padding: 16px 20px 20px;
}

.card__title {
	font-size: 1.5rem;
	margin: 0;
}

.nav-links {
	display: flex;
	gap: 12px;
	margin-top: 32px;
}

/* ==========================================================================
   Sections — appended as each section is built
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Nav bar  (Figma: "nav bar 1", 1440 × 72)
   Logo → links 52px, links 26px apart, buttons 32px apart.
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
	background: var(--sh-pine);
}

.site-header__inner {
	display: flex;
	align-items: center;
	min-height: var(--sh-header-h);
	gap: 16px;
}

.site-header .site-logo {
	flex: none;
}

.site-nav {
	display: flex;
	flex: 1;
	align-items: center;
	min-width: 0;
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: 18px; /* 26px in the 8-link design; ten links (About, Team Stats added) need 18 */
	margin: 0 0 0 20px; /* + 16px header gap = 36px from logo */
	padding: 0;
	list-style: none;
}

.site-nav__list a {
	display: block;
	padding: 6px 0;
	font-size: var(--sh-text-base);
	line-height: 1.25;
	color: var(--sh-mist);
	white-space: nowrap;
	transition: color 0.2s var(--sh-ease);
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a,
.site-nav__list .current-menu-ancestor > a {
	color: var(--sh-white);
}

.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a {
	text-decoration: underline;
	text-decoration-color: var(--sh-red);
	text-decoration-thickness: 2px;
	text-underline-offset: 8px;
}

.site-nav__actions {
	display: flex;
	align-items: center;
	gap: 32px;
	margin-left: auto;
}

/* Hamburger (hidden on desktop) */
.site-header__toggle {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	margin-left: auto;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--sh-white);
	cursor: pointer;
}

.site-header__toggle-bars,
.site-header__toggle-bars::before,
.site-header__toggle-bars::after {
	position: absolute;
	left: 11px;
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.25s var(--sh-ease), opacity 0.2s var(--sh-ease);
}

.site-header__toggle-bars {
	top: 21px;
}

.site-header__toggle-bars::before,
.site-header__toggle-bars::after {
	content: "";
	left: 0;
}

.site-header__toggle-bars::before {
	top: -7px;
}

.site-header__toggle-bars::after {
	top: 7px;
}

.site-header.is-open .site-header__toggle-bars {
	background: transparent;
}

.site-header.is-open .site-header__toggle-bars::before {
	transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .site-header__toggle-bars::after {
	transform: translateY(-7px) rotate(-45deg);
}

/* Tighter spacing on small laptops */
@media (max-width: 1240px) {
	.site-nav__list {
		gap: 18px;
		margin-left: 16px;
	}

	.site-nav__actions {
		gap: 12px;
	}
}

/* Narrowest desktop widths: room for ten menu links next to both buttons */
@media (min-width: 1101px) and (max-width: 1180px) {
	.site-nav__list {
		gap: 13px;
		margin-left: 10px;
	}

	.site-nav__list a {
		font-size: var(--sh-text-sm);
	}
}

/* Mobile / tablet: collapse into a drop-down panel */
@media (max-width: 1100px) {
	.js .site-header__toggle {
		display: block;
	}

	.site-nav {
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		padding: 8px var(--sh-gutter) 24px;
	}

	.js .site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		max-height: calc(100vh - var(--sh-header-h) - var(--wp-admin--admin-bar--height, 0px));
		overflow-y: auto;
		background: var(--sh-pine);
		border-top: 1px solid var(--sh-line-soft);
		box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity 0.2s var(--sh-ease), transform 0.2s var(--sh-ease), visibility 0s linear 0.2s;
	}

	.js .site-header.is-open .site-nav {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: opacity 0.2s var(--sh-ease), transform 0.2s var(--sh-ease);
	}

	.site-header__inner {
		flex-wrap: wrap;
	}

	.js .site-header__inner {
		flex-wrap: nowrap;
	}

	.site-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		margin: 0;
	}

	.site-nav__list a {
		padding: 14px 0;
		font-size: 1.125rem;
		border-bottom: 1px solid var(--sh-line-soft);
	}

	.site-nav__list .current-menu-item > a,
	.site-nav__list .current_page_item > a {
		text-decoration: none;
		box-shadow: inset 3px 0 0 var(--sh-red);
		padding-left: 12px;
	}

	.site-nav__actions {
		margin-left: 0;
		gap: 12px;
	}

	.site-nav__actions .btn {
		flex: 1;
		min-height: 48px;
	}
}

@media (max-width: 600px) {
	.site-header {
		top: 0; /* admin bar scrolls away on phones */
	}
}

body.nav-open {
	overflow: hidden;
}

@media (min-width: 1101px) {
	body.nav-open {
		overflow: auto;
	}
}

/* --------------------------------------------------------------------------
   2. Hero  (Figma: "hero 2" — stage 1440 × 811 + board 225)
   Line boxes use line-height .86 (127px at 148px) so glyphs sit where the
   Figma "normal" line boxes put them; padding-top compensates the half-leading.
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	background: var(--sh-pine);
}

.hero__stage {
	position: relative;
	isolation: isolate;
	min-height: clamp(560px, 56.32vw, 900px); /* 811 at 1440 */
	overflow: hidden;
}

.hero__bg,
.hero__bg picture {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.hero__bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 62% 40%;
}

/* Photo overlays, from the Figma gradient layers */
.hero__stage::before,
.hero__stage::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.hero__stage::before {
	background: linear-gradient(90deg, rgba(var(--sh-forest), 0.92) 0%, rgba(var(--sh-forest), 0.62) 67.3%, rgba(var(--sh-forest), 0) 100%);
}

.hero__stage::after {
	background: linear-gradient(0deg, rgba(var(--sh-forest), 0.44) 0, rgba(var(--sh-forest), 0) 190px);
}

.hero__inner {
	position: relative;
	display: flex;
	align-items: flex-start;
	min-height: inherit;
	padding-top: clamp(56px, 8.125vw, 117px);
	padding-bottom: clamp(40px, 3.4vw, 49px);
}

.hero__copy {
	position: relative;
	z-index: 1;
	max-width: 46rem;
}

.hero__title {
	margin: 0;
	font-size: clamp(4.75rem, 2.6rem + 8vw, 9.25rem); /* 76px phones → 148px at 1440 */
	font-weight: 700;
	line-height: 0.86;
	letter-spacing: 0;
	color: var(--sh-white);
}

.hero__line {
	display: block;
}

.hero__line--gold {
	color: var(--sh-gold);
}

.hero__lede {
	max-width: 36em;
	margin: 28px 0 0; /* 30px in Figma minus the extra half-leading of 1.4 */
	font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.25rem);
	line-height: 1.4;
	color: var(--sh-text-soft);
	text-wrap: pretty;
}

.hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 35px;
}

.hero__player {
	position: absolute;
	right: var(--sh-gutter);
	bottom: -6px;
	width: min(507px, 35.2vw);
	pointer-events: none;
}

.hero__player-img {
	width: 100%;
	height: auto;
}

/* One authored entrance: headline lines rise out of their own line box, player settles in. */
@media (prefers-reduced-motion: no-preference) {
	.hero__line {
		animation: sh-rise 0.9s var(--sh-ease-out-expo) both;
		clip-path: inset(-0.1em 0 -0.1em 0);
	}

	.hero__line:nth-child(2) { animation-delay: 0.06s; }
	.hero__line:nth-child(3) { animation-delay: 0.12s; }
	.hero__line:nth-child(4) { animation-delay: 0.18s; }
	.hero__line:nth-child(n+5) { animation-delay: 0.24s; }

	.hero__lede,
	.hero__cta {
		animation: sh-fade 0.8s var(--sh-ease-out-expo) 0.3s both;
	}

	/* backwards, not both: a kept end state would block the scroll parallax in motion.js */
	.hero__player {
		animation: sh-settle 1.1s var(--sh-ease-out-expo) 0.1s backwards;
	}
}

@keyframes sh-rise {
	from { transform: translateY(0.35em); opacity: 0; filter: blur(6px); }
	to   { transform: none; opacity: 1; filter: none; }
}

@keyframes sh-fade {
	from { transform: translateY(10px); opacity: 0; }
	to   { transform: none; opacity: 1; }
}

@keyframes sh-settle {
	from { transform: translateY(28px) scale(0.985); opacity: 0; }
	to   { transform: none; opacity: 1; }
}

/* ---- Results board ---- */
.board {
	position: relative;
	background: var(--sh-board);
}

.board__inner {
	padding-top: 24px;
	padding-bottom: 22px;
}

.board__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
}

.board__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.board__arrows {
	display: flex;
	gap: 8px;
}

.board__rail {
	display: flex;
	gap: 24px;
	margin: 11px 0 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.board__rail::-webkit-scrollbar {
	display: none;
}

.board__rail:focus-visible {
	outline-offset: 4px;
	border-radius: 4px;
}

.game-tile {
	flex: 0 0 287px;
	min-height: 129px;
	border-right: 1px solid var(--sh-divider);
	scroll-snap-align: start;
}

.game-tile:last-child {
	border-right: 0;
}

.game-tile[hidden] {
	display: none;
}

.game-tile__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding-right: 24px;
	color: var(--sh-white);
}

.game-tile__date {
	font-family: var(--sh-font-display);
	font-size: 2.375rem; /* 38 */
	font-weight: 700;
	line-height: 1.2;
	color: var(--sh-gold);
	font-variant-numeric: tabular-nums;
	transition: color 0.2s var(--sh-ease);
}

.game-tile__title,
.game-tile__meta,
.game-tile__result {
	font-size: var(--sh-text-sm);
	line-height: 1.3;
}

.game-tile__title {
	margin-top: 4px;
}

.game-tile__meta {
	margin-top: 5px;
}

.game-tile__result {
	margin-top: 5px;
	font-weight: 700;
	color: var(--sh-mist);
	font-variant-numeric: tabular-nums;
}

.game-tile .tag {
	margin-top: 12px;
}

.game-tile__link:hover .game-tile__date {
	color: var(--sh-gold-soft);
}

.game-tile__link:hover .game-tile__title {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: var(--sh-line);
}

.board__empty {
	margin: 24px 0 8px;
	color: var(--sh-mist);
}

/* ---- Hero responsive ---- */
@media (max-width: 1100px) {
	.hero__player {
		width: min(440px, 40vw);
	}
}

@media (max-width: 800px) {
	.hero__stage {
		min-height: 0;
	}

	.hero__stage::before {
		background: linear-gradient(180deg, rgba(var(--sh-forest), 0.9) 0%, rgba(var(--sh-forest), 0.7) 55%, rgba(var(--sh-forest), 0.35) 100%);
	}

	.hero__inner {
		flex-direction: column;
		align-items: stretch;
		padding-top: 48px;
		padding-bottom: 0;
	}

	.hero__player {
		position: relative;
		right: auto;
		bottom: -6px;
		align-self: center;
		width: min(78vw, 380px);
		margin-top: 32px;
	}
}

@media (max-width: 600px) {
	.board__arrows {
		display: none; /* swipe the strip on phones */
	}

	.game-tile {
		flex-basis: 240px;
	}
}

/* Gold underlined text link ("View full schedule", "View all news"…) */
.text-link {
	display: inline-block;
	padding-bottom: 5px;
	border-bottom: 2px solid var(--sh-gold);
	font: 700 var(--sh-text-md) / 1.2 var(--sh-font-body);
	color: var(--sh-gold);
	white-space: nowrap;
	transition: color 0.2s var(--sh-ease), border-color 0.2s var(--sh-ease);
}

.text-link:hover {
	color: var(--sh-gold-soft);
	border-color: var(--sh-gold-soft);
}

.tag--lg {
	min-height: 36px;
	padding: 0 17px;
	font-size: var(--sh-text-sm);
}

/* --------------------------------------------------------------------------
   3. Schedule + Player spotlight  (Figma: "section 3 schedule", 1152 × 647)
   -------------------------------------------------------------------------- */
:root {
	--sh-card-green: #1b4332;    /* spotlight card */
	--sh-chip-green: #2d6a4f;    /* label on green card */
	--sh-rule: #1e3f32;          /* list rules on pine */
}

.schedule.section {
	padding-top: clamp(56px, 6.75vw, 97px);
	padding-bottom: clamp(48px, 4.9vw, 70px);
}

.schedule__inner {
	display: grid;
	grid-template-columns: 380px minmax(0, 1fr);
	column-gap: 48px;
	align-items: start;
}

.schedule--no-spotlight .schedule__inner {
	grid-template-columns: minmax(0, 1fr);
}

/* Spotlight card */
.spotlight {
	position: relative;
	display: block;
	height: 574px;
	margin-top: 10px;
	color: var(--sh-white);
	isolation: isolate;
}

.spotlight__panel {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	border-radius: 20px;
	background: var(--sh-card-green);
}

.spotlight__bignum {
	position: absolute;
	left: 47px;
	top: -72px;
	font: 700 400px / 1.2 var(--sh-font-display);
	color: rgba(255, 255, 255, 0.06);
	white-space: nowrap;
	pointer-events: none;
}

.spotlight__body {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 99px 0 0 32px;
}

.spotlight__label {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 13px;
	border-radius: var(--sh-radius-pill);
	background: var(--sh-chip-green);
	font: 700 var(--sh-text-sm) / 1 var(--sh-font-body);
}

.spotlight__name {
	display: block;
	margin-top: 14px;
	font: 700 88px / 75px var(--sh-font-display);
	text-transform: uppercase;
}

.spotlight__name-line {
	display: block;
}

.spotlight__number {
	margin-top: 14px;
	font: 700 56px / 1 var(--sh-font-display);
	color: var(--sh-gold);
	font-variant-numeric: tabular-nums;
}

.spotlight__meta {
	margin-top: 10px;
	font-size: var(--sh-text-md);
	line-height: 1.2;
	color: var(--sh-text-soft);
}

.spotlight__img {
	position: absolute;
	right: -49px;   /* breaks out of the card like the Figma cut-out */
	bottom: 0;
	z-index: 1;
	width: 286px;
	height: 429px;
	object-fit: contain;
	object-position: bottom center;
	transition: transform 0.5s var(--sh-ease-out-expo);
	transform-origin: bottom center;
}

.spotlight:hover .spotlight__img {
	transform: scale(1.03);
}

.spotlight:focus-visible {
	outline-offset: 6px;
	border-radius: 20px;
}

/* Fixtures list */
.schedule__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 34px;
}

.schedule__title {
	margin: 0;
	font-size: clamp(2.5rem, 1.5rem + 2.6vw, 3.75rem); /* 60 at desktop */
	line-height: 1.2;
}

.schedule__head .text-link {
	margin-bottom: 5px;
}

.fixtures {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 2px solid var(--sh-rule);
}

.fixture {
	border-bottom: 1px solid var(--sh-rule);
}

.fixture__link {
	display: grid;
	grid-template-columns: 134px minmax(0, 1fr) auto; /* team names at +154px like Figma */
	align-items: center;
	column-gap: 16px;
	min-height: 94.5px;
	padding: 8px 4px;
	color: var(--sh-white);
	transition: background-color 0.2s var(--sh-ease);
}

.fixture__link:hover {
	background: rgba(255, 255, 255, 0.025);
}

.fixture__date {
	font: 700 36px / 1.2 var(--sh-font-display);
	font-variant-numeric: tabular-nums;
}

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

.fixture__us {
	font: 700 1.1875rem / 1.2 var(--sh-font-body); /* 19 */
	color: var(--sh-gold);
}

.fixture__vs {
	font-size: var(--sh-text-base);
	line-height: 1.3;
	color: var(--sh-text-soft);
}

.fixture__link:hover .fixture__vs {
	color: var(--sh-white);
}

.fixture__tag {
	border: 1px solid var(--sh-red);
}

.fixtures__empty {
	padding: 24px 4px;
	border-top: 2px solid var(--sh-rule);
	color: var(--sh-mist);
}

/* Schedule responsive */
@media (max-width: 1100px) {
	.schedule__inner {
		grid-template-columns: 340px minmax(0, 1fr);
		column-gap: 40px;
	}

	.spotlight__img {
		right: -24px;
	}
}

@media (max-width: 980px) {
	.schedule__inner {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 56px;
	}

	.schedule__list {
		order: -1; /* schedule first, spotlight after, on narrow screens */
	}

	.spotlight {
		width: 100%;
		max-width: 420px;
		margin: 0 auto;
	}

	.spotlight__img {
		right: 0;
	}
}

@media (max-width: 600px) {
	.fixture__link {
		grid-template-columns: 104px minmax(0, 1fr);
		row-gap: 10px;
		padding-block: 16px;
	}

	.fixture__date {
		font-size: 30px;
	}

	.fixture__tag {
		grid-column: 2;
		justify-self: start;
	}

	.spotlight {
		height: 520px;
	}

	.spotlight__body {
		padding: 32px 0 0 24px;
	}

	.spotlight__name {
		font-size: 72px;
		line-height: 62px;
	}

	.spotlight__img {
		width: 240px;
		height: 360px;
	}
}

/* Section header: big title left, link right (Top news, Highlights, Shop…) */
.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
}

.section-head__title {
	margin: 0;
	font-size: clamp(2.5rem, 1.5rem + 2.6vw, 3.75rem); /* 60 at desktop */
	line-height: 1.2;
}

/* Larger link with arrow (22px) */
.text-link--lg {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding-bottom: 0;
	border-bottom: 0;
	font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem); /* 22 */
}

.text-link--lg .text-link__label {
	padding-bottom: 11px;
	border-bottom: 2.5px solid currentColor;
}

.text-link--lg .icon {
	width: 18px;
	height: 18px;
	margin-bottom: 13px;
	stroke-width: 2.2;
	transition: transform 0.25s var(--sh-ease-out-expo);
}

.text-link--lg:hover .icon {
	transform: translateX(3px);
}

/* Dates in brand red. 19px+ bold counts as large text, which #C8102E passes (3.05:1) on pine. */
.news-date {
	display: block;
	font: 700 1.1875rem / 1.2 var(--sh-font-body); /* 19 */
	color: var(--sh-red);
	font-variant-numeric: tabular-nums;
}

.news-date--lg {
	font-size: 1.25rem; /* 20 */
}

/* --------------------------------------------------------------------------
   4. Top news  (Figma: "top news section 4", 1440 × 810)
   -------------------------------------------------------------------------- */
.news.section {
	padding-top: clamp(32px, 2.4vw, 34px);
	padding-bottom: clamp(48px, 4vw, 58px);
}

.news .section-head {
	padding-bottom: clamp(28px, 3.2vw, 46px);
}

.news .section-head .text-link--lg {
	margin-bottom: 9px;
}

.news__grid {
	display: grid;
	grid-template-columns: minmax(0, 571fr) minmax(0, 559fr);
	column-gap: 22px;
	align-items: start;
}

/* Lead story */
.news-lead__link {
	display: block;
	color: var(--sh-white);
}

.news-lead__media {
	overflow: hidden;
	border-radius: 8px;
	aspect-ratio: 571 / 343;
	background: var(--sh-board);
}

.news-lead__img,
.news-item__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--sh-ease-out-expo);
}

.news-lead__link:hover .news-lead__img,
.news-item__link:hover .news-item__img {
	transform: scale(1.04);
}

.news-lead .news-date {
	margin-top: 45px;
}

.news-lead__title {
	max-width: 30rem;
	margin: 6px 0 0;
	font-size: clamp(2.25rem, 1.3rem + 2.1vw, 3.125rem); /* 50 at desktop */
	line-height: 1.2;
	text-wrap: balance;
}

.news-lead__excerpt {
	max-width: 36rem;
	margin: 4px 0 0;
	line-height: 1.45;
	color: var(--sh-text-soft);
}

.news-lead__link:hover .news-lead__title,
.news-item__link:hover .news-item__title {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.15em;
	text-decoration-color: var(--sh-red);
}

/* List */
.news-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.news-item + .news-item {
	margin-top: 28px;
}

.news-item__link {
	position: relative;
	display: grid;
	grid-template-columns: 167px minmax(0, 1fr);
	column-gap: 27px;
	align-items: start;
	padding-bottom: 10px;
	color: var(--sh-white);
}

.news-item:not(:last-child) .news-item__link::after { /* rule under the text column only */
	content: "";
	position: absolute;
	left: calc(167px + 27px);
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--sh-rule);
}

.news-item__media {
	overflow: hidden;
	border-radius: 8px;
	aspect-ratio: 167 / 157;
	background: var(--sh-board);
}

.news-item__img {
	object-position: 50% 35%;
}

.news-item__title {
	margin: 3px 0 0;
	font: 700 clamp(1.25rem, 1.1rem + 0.4vw, 1.5625rem) / 1.2 var(--sh-font-body); /* 25 */
	text-transform: none;
	color: var(--sh-white);
	text-wrap: balance;
}

.news-item__excerpt {
	display: -webkit-box;
	margin: 5px 0 0;
	overflow: hidden;
	line-height: 1.45;
	color: var(--sh-text-soft);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
}

/* Top news responsive */
@media (max-width: 980px) {
	.news__grid {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 48px;
	}

	.news-lead .news-date {
		margin-top: 24px;
	}
}

@media (max-width: 600px) {
	.news-item__link {
		grid-template-columns: 112px minmax(0, 1fr);
		column-gap: 16px;
	}

	.news-item:not(:last-child) .news-item__link::after {
		left: 0;
	}

	.news-item__link {
		padding-bottom: 24px;
	}

	.news-item + .news-item {
		margin-top: 24px;
	}

	.news-item__excerpt {
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}
}

/* --------------------------------------------------------------------------
   5. Highlights  (Figma: "highlights section 5", 1152 × 424)
   White cards: 368 × 318, radius 20, 366 × 240 photo, 56px action button.
   -------------------------------------------------------------------------- */
:root {
	--sh-ink: #14201a;           /* text on white cards */
	--sh-ink-soft: #55625a;      /* secondary text on white cards */
}

.highlights.section {
	padding-top: clamp(48px, 5.5vw, 79px);
	padding-bottom: clamp(64px, 7.8vw, 113px);
}

.highlights .section-head {
	padding-bottom: 34px;
}

.highlights .section-head .btn {
	padding-inline: 28px;
	margin-bottom: 6px;
}

.highlights__rail {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hl-card__link {
	display: block;
	height: 100%;
	border: 1px solid var(--sh-white);
	border-radius: 20px;
	background: var(--sh-white);
	color: var(--sh-ink);
	transition: transform 0.35s var(--sh-ease-out-expo), box-shadow 0.35s var(--sh-ease-out-expo);
}

.hl-card__link:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.55);
}

.hl-card__link:focus-visible {
	outline-offset: 4px;
}

.hl-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 366 / 240;
	border-radius: 19px;
	background: var(--sh-board);
}

.hl-card__media::after { /* keeps the white caption readable on any photo */
	content: "";
	position: absolute;
	inset: 40% 0 0;
	background: linear-gradient(0deg, rgba(var(--sh-forest), 0.7) 0%, rgba(var(--sh-forest), 0) 100%);
	pointer-events: none;
}

.hl-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--sh-ease-out-expo);
}

.hl-card__link:hover .hl-card__img {
	transform: scale(1.04);
}

.hl-card__caption {
	position: absolute;
	left: 24px;
	right: 100px;
	bottom: 18px;
	z-index: 1;
	font: 700 clamp(1.75rem, 1.4rem + 0.8vw, 2.125rem) / 1.2 var(--sh-font-display); /* 34 */
	text-transform: uppercase;
	color: var(--sh-white);
	text-wrap: balance;
}

.hl-card__action {
	position: absolute;
	right: 24px;
	bottom: 22px;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--sh-white);
	color: var(--sh-red);
	box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.45);
	transition: transform 0.3s var(--sh-ease-out-expo);
}

.hl-card__action .icon {
	width: 22px;
	height: 22px;
}

.hl-card__action .icon--arrow-right {
	width: 20px;
	height: 20px;
	stroke-width: 2.2;
}

.hl-card__link:hover .hl-card__action {
	transform: scale(1.08);
}

.hl-card__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 15px 20px 21px;
}

.hl-card__avatar {
	display: grid;
	flex: none;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--sh-red);
	font: 700 var(--sh-text-sm) / 1 var(--sh-font-body);
	color: var(--sh-white);
	text-transform: uppercase;
}

.hl-card__text {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.hl-card__title {
	overflow: hidden;
	font: 700 var(--sh-text-md) / 1.2 var(--sh-font-body);
	color: var(--sh-ink);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hl-card__sub {
	font-size: 0.8333rem; /* 13.33 */
	line-height: 1.2;
	color: var(--sh-ink-soft);
}

/* Highlight single page video */
.entry-video {
	margin: 0 0 2rem;
	overflow: hidden;
	border-radius: var(--sh-radius-card);
}

.entry-video iframe,
.entry-video video {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

/* Highlights responsive: swipeable row below 980px */
@media (max-width: 980px) {
	.highlights__rail {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: min(80vw, 340px);
		gap: 16px;
		margin-inline: calc(var(--sh-gutter) * -1);
		padding: 4px var(--sh-gutter) 16px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--sh-gutter);
		scrollbar-width: none;
	}

	.highlights__rail::-webkit-scrollbar {
		display: none;
	}

	.hl-card {
		scroll-snap-align: start;
	}
}

@media (max-width: 600px) {
	.highlights .section-head .btn {
		margin-bottom: 0;
	}
}

/* --------------------------------------------------------------------------
   6. Testimonial intro  (Figma: "section 6", 1120 × 308)
   540 × 285 photo, green panel offset +14 / +17 behind it; copy column at +614.
   -------------------------------------------------------------------------- */
.testimonial.section {
	padding-top: 0; /* Highlights' bottom padding provides the gap above */
	padding-bottom: clamp(64px, 7.8vw, 113px);
}

.testimonial__inner {
	display: grid;
	grid-template-columns: minmax(0, 540px) minmax(0, 1fr);
	column-gap: clamp(40px, 5.1vw, 74px);
	align-items: start;
}

.testimonial__media {
	position: relative;
	margin: 0 0 23px; /* room below for the offset panel; it overhangs 14px into the gap on the right */
	isolation: isolate;
}

.testimonial__media::before {
	content: "";
	position: absolute;
	inset: 17px -14px -23px 14px; /* panel is 6px taller than the photo, per Figma */
	z-index: -1;
	border-radius: 20px / 12px;
	background: var(--sh-card-green);
}

.testimonial__media picture,
.testimonial__img {
	display: block;
	width: 100%;
}

.testimonial__img {
	height: auto;
	aspect-ratio: 540 / 285;
	object-fit: cover;
	border-radius: 20px / 12px;
}

.testimonial__title {
	margin: 0;
	font-size: clamp(2.25rem, 1.2rem + 2.6vw, 3.4375rem); /* 55 at desktop */
	line-height: 1.2;
}

.testimonial__line {
	display: block;
}

.testimonial__line--gold {
	color: var(--sh-gold);
}

.testimonial__text {
	max-width: 32rem;
	margin: 21px 0 0;
	font-size: clamp(1rem, 0.92rem + 0.3vw, 1.125rem); /* 18 */
	line-height: 1.5;
	color: var(--sh-text-soft);
	text-wrap: pretty;
}

.testimonial__btn {
	margin-top: 28px;
}

@media (max-width: 980px) {
	.testimonial__inner {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 48px;
	}

	.testimonial__media {
		max-width: 560px;
	}
}

@media (max-width: 600px) {
	.testimonial__media {
		margin: 0 10px 16px 0;
	}

	.testimonial__media::before {
		inset: 12px -10px -16px 10px;
	}
}

/* ---- Quote cards (Testimonials menu) — not in Figma; built from the section's own language:
   board green, gold display quote mark, the photo's 20/12 corner shape. ---- */
.quotes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: clamp(48px, 5vw, 72px) 0 0;
	padding: 0;
	list-style: none;
}

.quote__figure {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	padding: 28px 28px 26px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 20px / 12px;
	background: var(--sh-board);
}

.quote__mark {
	display: block;
	height: 0.5em;
	font: 700 88px / 1 var(--sh-font-display);
	color: var(--sh-gold);
}

.quote__text {
	flex: 1;
	margin: 16px 0 0;
}

.quote__text p {
	margin: 0;
	font-size: 1.0625rem; /* 17 */
	line-height: 1.55;
	color: var(--sh-mist);
	text-wrap: pretty;
}

.quote__by {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--sh-rule);
}

.quote__avatar {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

.quote__avatar--initial {
	display: grid;
	place-items: center;
	background: var(--sh-red);
	font: 700 var(--sh-text-md) / 1 var(--sh-font-body);
	color: var(--sh-white);
	text-transform: uppercase;
}

.quote__who {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.quote__name {
	font: 700 var(--sh-text-md) / 1.2 var(--sh-font-body);
	font-style: normal;
	color: var(--sh-white);
}

.quote__role {
	font-size: var(--sh-text-sm);
	line-height: 1.3;
	color: var(--sh-text-soft);
	opacity: 0.85;
}

@media (max-width: 980px) {
	.quotes {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: min(82vw, 360px);
		gap: 16px;
		margin-inline: calc(var(--sh-gutter) * -1);
		padding: 0 var(--sh-gutter) 8px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--sh-gutter);
		scrollbar-width: none;
	}

	.quotes::-webkit-scrollbar {
		display: none;
	}

	.quote {
		scroll-snap-align: start;
	}
}

/* --------------------------------------------------------------------------
   7. Team shop  (Figma: "shop section 7", band 1440 × 645 on board green)
   White product cards 269 × 356, 1px #E0E0E0, radius 20, 244px photo.
   -------------------------------------------------------------------------- */
:root {
	--sh-card-line: #e0e0e0;     /* light card border */
	--sh-ink-strong: #111111;    /* product names */
	--sh-card-fill: #f2f2f0;     /* photo placeholder on white cards */
}

.shop.section {
	padding-top: clamp(56px, 6vw, 87px);
	padding-bottom: clamp(56px, 6.7vw, 97px);
	background: var(--sh-board);
}

.shop .section-head {
	padding-bottom: 34px;
}

.shop .section-head .btn {
	padding-inline: 26px;
	margin-bottom: 6px;
}

.products-row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.product-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 12px 12px 20px;
	border: 1px solid var(--sh-card-line);
	border-radius: 20px;
	background: var(--sh-white);
	color: var(--sh-ink-strong);
	transition: transform 0.35s var(--sh-ease-out-expo), box-shadow 0.35s var(--sh-ease-out-expo);
}

.product-card__link:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.5);
}

.product-card__link:focus-visible {
	outline-offset: 4px;
}

.product-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: 12px;
	background: var(--sh-card-fill);
}

.product-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--sh-ease-out-expo);
}

.product-card__link:hover .product-card__img {
	transform: scale(1.04);
}

.is-sold-out .product-card__img {
	opacity: 0.55;
	filter: grayscale(0.6);
}

.product-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 0 11px;
	border-radius: var(--sh-radius-pill);
	background: var(--sh-pine);
	font: 700 0.8125rem / 1 var(--sh-font-body);
	color: var(--sh-white);
}

.product-card__badge--sale {
	background: var(--sh-red);
}

.product-card__name {
	margin: 16px 8px 0;
	font: 700 1.0625rem / 1.2 var(--sh-font-body); /* 17 */
	text-transform: none;
	color: var(--sh-ink-strong);
}

.product-card__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 10px;
	margin: 6px 8px 0;
	font: 700 1.875rem / 1.2 var(--sh-font-display); /* 30 */
	color: var(--sh-red);
	font-variant-numeric: tabular-nums;
}

.product-card__price del {
	order: 2;
	font-size: 0.6em;
	color: var(--sh-ink-soft);
}

.product-card__price ins {
	text-decoration: none;
}

/* Team shop responsive */
@media (max-width: 860px) {
	.products-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.products-row {
		gap: 12px;
	}

	.product-card__link {
		padding: 8px 8px 14px;
		border-radius: 16px;
	}

	.product-card__media {
		border-radius: 10px;
	}

	.product-card__name {
		margin: 12px 4px 0;
		font-size: 0.9375rem;
	}

	.product-card__price {
		margin: 4px 4px 0;
		font-size: 1.5rem;
	}

	.shop .section-head .btn {
		margin-bottom: 0;
	}
}

/* --------------------------------------------------------------------------
   8. Our principles + Follow us  (Figma: "our principles section 8", 1440 × 640)
   Dark photo band 441px + light "Follow us" strip 199px.
   -------------------------------------------------------------------------- */
:root {
	--sh-paper: #f3f1ec;         /* follow strip fallback behind the texture */
	--sh-paper-line: #e8e8e3;    /* social circle outline */
	--sh-ink-mid: #555555;       /* small text on paper */
}

.principles__band {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 441px;
	padding: 72px 0 35px;
	text-align: center;
}

.principles__bg,
.principles__bg picture {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.principles__bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.principles__band::before { /* Figma overlays: 80% pine wash + pine fade from the bottom */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(0deg, var(--sh-pine) 0%, rgba(0, 0, 0, 0) 100%),
		rgba(11, 26, 19, 0.8);
}

.principles__kicker {
	margin: 0;
	font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); /* 20 */
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--sh-text-soft);
}

.principles__title {
	margin: -4px 0 0;
	font-size: clamp(2.5rem, 1.5rem + 2.6vw, 3.75rem); /* 60 */
	line-height: 1.2;
}

.principles__title::after { /* 167 × 6 red underline */
	content: "";
	display: block;
	width: 167px;
	height: 6px;
	margin: 12px auto 0;
	background: var(--sh-red);
}

.principles__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 1140px;
	margin: 30px auto 0;
	padding: 0;
	list-style: none;
}

.principle {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.principle + .principle::before { /* 2 × 82 red divider beside the label */
	content: "";
	position: absolute;
	top: 43px;
	left: -1px;
	width: 2px;
	height: 82px;
	background: rgba(200, 16, 46, 0.85);
}

.principle__icon {
	display: block;
	height: 54px;
	width: auto;
	color: var(--sh-gold);
}

.principle__label {
	font: 400 clamp(2.25rem, 1.5rem + 1.8vw, 3.125rem) / 1.2 var(--sh-font-display); /* 50 regular */
	text-transform: uppercase;
	color: var(--sh-gold);
}

.principles__quote {
	max-width: 40rem;
	margin: 32px auto 0;
}

.principles__quote blockquote {
	margin: 0;
}

.principles__quote p {
	margin: 0;
	font-size: clamp(1rem, 0.92rem + 0.3vw, 1.125rem); /* 18 */
	line-height: 1.35;
	color: var(--sh-text-soft);
	text-wrap: balance;
}

.principles__quote figcaption {
	margin-top: 10px;
	font-size: var(--sh-text-sm);
	font-weight: 700;
	color: var(--sh-gold);
}

/* Follow strip */
.follow {
	background: var(--sh-paper) url("../images/follow-bg.jpg") center / cover no-repeat;
	background-image: image-set(url("../images/follow-bg.webp") type("image/webp"), url("../images/follow-bg.jpg") type("image/jpeg"));
	color: var(--sh-ink-strong);
}

.follow__inner {
	display: flex;
	align-items: center;
	min-height: 199px;
	padding-block: 49px 46px;
}

.follow__head {
	flex: none;
	padding-right: 36px; /* red divider at +308 like Figma */
}

.follow__kicker {
	margin: 0;
	font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); /* 20 */
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--sh-ink-mid);
}

.follow__title {
	margin: -5px 0 0;
	font-size: clamp(2.5rem, 1.6rem + 2.2vw, 3.4375rem); /* 55 */
	font-weight: 600;
	line-height: 1.2;
	color: var(--sh-ink-strong);
}

.follow__title::after { /* 86 × 4.6 red underline */
	content: "";
	display: block;
	width: 86px;
	height: 4.6px;
	margin-top: 14px;
	background: var(--sh-red);
}

.follow__list {
	display: flex;
	flex: 1;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 0;
	margin: 0;
	padding: 10px 0 10px 29px;
	border-left: 1.5px solid var(--sh-red);
	list-style: none;
}

.follow__item {
	position: relative;
	display: flex;
	align-items: center;
}

.follow__item + .follow__item {
	padding-left: 16px;
}

.follow__item + .follow__item::before { /* 1 × 29 red separator */
	content: "";
	position: absolute;
	left: -8px;
	top: 50%;
	width: 1.15px;
	height: 29px;
	background: var(--sh-red);
	transform: translateY(-50%);
}

.follow__link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--sh-ink-strong);
}

.follow__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 56px;
	height: 56px;
	border: 1px solid var(--sh-paper-line);
	border-radius: 50%;
	background: var(--sh-white);
	transition: transform 0.3s var(--sh-ease-out-expo), box-shadow 0.3s var(--sh-ease-out-expo);
}

.follow__link:hover .follow__icon {
	transform: translateY(-2px);
	box-shadow: 0 8px 18px -8px rgba(17, 17, 17, 0.35);
}

.follow__handle {
	font: 700 var(--sh-text-sm) / 1.2 var(--sh-font-body);
}

.follow__link:hover .follow__handle {
	text-decoration: underline;
	text-decoration-color: var(--sh-red);
	text-underline-offset: 3px;
}

.follow__link:focus-visible {
	outline-offset: 4px;
	border-radius: 30px;
}

/* Principles responsive */
@media (max-width: 1100px) {
	.follow__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 28px;
	}

	.follow__list {
		width: 100%;
		justify-content: flex-start;
		gap: 16px 32px;
		padding: 0;
		border-left: 0;
	}

	.follow__item + .follow__item {
		padding-left: 0;
	}

	.follow__item + .follow__item::before {
		display: none;
	}
}

@media (max-width: 760px) {
	.principles__band {
		padding-top: 56px;
	}

	.principles__list {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 28px;
	}

	.principle + .principle {
		padding-top: 28px;
	}

	.principle + .principle::before { /* horizontal on phones */
		top: 0;
		left: 50%;
		width: 82px;
		height: 2px;
		transform: translateX(-50%);
	}

	.follow__list {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}
}

/* --------------------------------------------------------------------------
   9. Register  (Figma: "register-97", 1440 × 636)
   Intro left; white 540 × 246 card right; 6-photo strip (179 × 134, gap 16).
   -------------------------------------------------------------------------- */
:root {
	--sh-field: #f0f2f1;         /* select / input fill on white */
	--sh-field-text: #333333;
	--sh-field-hover: #cfd6d2;   /* select border on hover */
	--sh-error-fill: #fdf1f3;    /* invalid field fill */
}

.register.section {
	padding-top: clamp(56px, 6.7vw, 96px);
	padding-bottom: clamp(56px, 6.6vw, 95px);
}

.register__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
	column-gap: 48px;
	align-items: start;
}

.register__title {
	margin: 11px 0 0;
	font-size: clamp(2.5rem, 1.5rem + 2.6vw, 3.75rem); /* 60 */
	line-height: 1.2;
}

.register__text {
	max-width: 33rem;
	margin: 15px 0 0;
	font-size: clamp(1rem, 0.92rem + 0.3vw, 1.125rem); /* 18 */
	line-height: 1.55;
	color: var(--sh-text-soft);
	text-wrap: pretty;
}

/* Form card */
.register-card {
	display: flex;
	flex-direction: column;
	padding: 33px 32px 35px;
	border-radius: 20px;
	background: var(--sh-white);
	color: var(--sh-ink-strong);
}

.register-card__label {
	font: 700 var(--sh-text-md) / 1.2 var(--sh-font-body);
}

.select {
	position: relative;
	margin-top: 15px;
}

.select__input {
	width: 100%;
	height: 50px;
	padding: 0 48px 0 14px;
	border: 1px solid var(--sh-field);
	border-radius: 12px;
	background: var(--sh-field);
	font: 400 var(--sh-text-md) / 1.2 var(--sh-font-body);
	color: var(--sh-field-text);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transition: border-color 0.2s var(--sh-ease), background-color 0.2s var(--sh-ease);
}

.select__input:hover {
	border-color: var(--sh-field-hover);
}

.select__input:focus-visible {
	outline: 2px solid var(--sh-red);
	outline-offset: 2px;
}

.select__input[aria-invalid="true"] {
	border-color: var(--sh-red);
	background: var(--sh-error-fill);
}

.select__chevron {
	position: absolute;
	top: 50%;
	right: 19px;
	color: var(--sh-ink);
	transform: translateY(-50%);
	pointer-events: none;
}

.register-card__submit {
	width: 100%;
	margin-top: 16px;
}

.register-card__output {
	min-height: 17px;
	margin: 15px 0 0;
	font-size: var(--sh-text-sm);
	line-height: 1.2;
	color: var(--sh-ink-soft);
}

.register-card__output.is-error {
	font-weight: 700;
	color: var(--sh-red);
}

/* Photo strip */
.register__photos {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
	margin: 65px 0 0;
	padding: 0;
	list-style: none;
}

.register__photo picture,
.register__photo-img {
	display: block;
	width: 100%;
}

.register__photo-img {
	height: auto;
	aspect-ratio: 358 / 268;
	object-fit: cover;
	border-radius: 12px;
}

/* Register responsive */
@media (max-width: 980px) {
	.register__top {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 36px;
	}

	.register-card {
		max-width: 560px;
	}

	.register__photos {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		margin-top: 48px;
	}
}

@media (max-width: 600px) {
	.register-card {
		padding: 24px 20px 26px;
	}

	.register__photos {
		gap: 8px;
		margin-top: 36px;
	}

	.register__photo-img {
		border-radius: 8px;
	}
}

/* --------------------------------------------------------------------------
   10. Our sponsors  (Figma: "info-101", 1152 × 202)
   Five 217 × 95 tiles, 1px white dashed outline, radius 14, gap 17.
   -------------------------------------------------------------------------- */
.sponsors.section {
	padding-top: clamp(64px, 7.2vw, 104px);
	padding-bottom: clamp(66px, 8.6vw, 123px); /* + 6px marquee padding = 129 */
}

.sponsors__title {
	margin: 0;
	font-size: clamp(2.5rem, 1.5rem + 2.6vw, 3.75rem); /* 60 */
	line-height: 1.2;
}

.sponsor__tile {
	display: grid;
	place-items: center;
	height: 95px;
	padding: 12px 16px;
	border: 1px dashed rgba(255, 255, 255, 0.9);
	border-radius: 14px;
	color: var(--sh-white);
	transition: border-color 0.25s var(--sh-ease), background-color 0.25s var(--sh-ease);
}

a.sponsor__tile:hover {
	border-style: solid;
	border-color: var(--sh-gold);
	background: rgba(255, 255, 255, 0.04);
}

a.sponsor__tile:focus-visible {
	outline-offset: 3px;
}

.sponsor__logo {
	display: block;
	width: auto;
	height: auto;
	max-width: min(180px, 100%);
	max-height: 66px;
	object-fit: contain;
}

.sponsor__name { /* sponsor without a logo yet */
	font: 700 1.25rem / 1.1 var(--sh-font-display);
	text-align: center;
	text-transform: uppercase;
}


/* Sponsors loop (marquee). Two identical sets; the track slides -50% and repeats. */
.marquee {
	max-width: var(--sh-container);
	margin: 28px auto 0;
	padding-block: 6px; /* room for focus rings inside overflow:hidden; tiles still sit 34px below the title */
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.marquee__track {
	display: flex;
	width: max-content;
	animation: sh-marquee var(--sh-marquee-duration, 32s) linear infinite;
}

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
	animation-play-state: paused;
}

.marquee__set {
	display: flex;
	gap: 17px;
	margin: 0;
	padding: 0 17px 0 0; /* trailing gap so the seam matches the gaps */
	list-style: none;
}

.sponsor {
	flex: 0 0 217px;
}

@keyframes sh-marquee {
	to { transform: translateX(-50%); }
}

@media (max-width: 1184px) {
	.marquee {
		margin-inline: var(--sh-gutter);
	}
}

@media (max-width: 600px) {
	.marquee {
		margin-top: 18px;
	}

	.marquee__set {
		gap: 12px;
		padding-right: 12px;
	}

	.sponsor {
		flex-basis: 160px;
	}

	.sponsor__tile {
		height: 84px;
	}

	.sponsor__logo {
		max-height: 54px;
	}
}

/* Reduce motion: static, wrapping grid of the real logos only. */
@media (prefers-reduced-motion: reduce) {
	.marquee {
		-webkit-mask-image: none;
		mask-image: none;
	}

	.marquee__track {
		display: block;
		width: auto;
		animation: none;
	}

	.marquee__set {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
		padding: 0;
	}

	.marquee__set[aria-hidden="true"],
	.sponsor[aria-hidden="true"] {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   11. Donate band  (Figma: "donate-104", 1440 × 157 on board green)
   -------------------------------------------------------------------------- */
.donate {
	background: var(--sh-board);
}

.donate__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	min-height: 157px;
	padding-block: 24px;
}

.donate__title {
	margin: 0;
	font-size: clamp(2.5rem, 1.2rem + 3.25vw, 4.0625rem); /* 65 at desktop */
	line-height: 1.2;
}

.donate__btn {
	padding-inline: 26px;
}

@media (max-width: 600px) {
	.donate__inner {
		padding-block: 40px;
	}
}

/* Sponsors heading row with pause / play button */
.sponsors__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.marquee-toggle .icon--play,
.marquee-toggle[aria-pressed="true"] .icon--pause {
	display: none;
}

.marquee-toggle[aria-pressed="true"] .icon--play {
	display: block;
}

.marquee-toggle .icon--play {
	width: 18px;
	height: 18px;
}

.marquee.is-paused .marquee__track {
	animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
	.marquee-toggle {
		display: none; /* nothing moves, nothing to pause */
	}
}

/* --------------------------------------------------------------------------
   12. Site footer  (Figma: "wrap-109", 1440 × 408)
   Columns start at 144 / 514 / 757 / 1000; 1px rule at 15% white.
   -------------------------------------------------------------------------- */
:root {
	--sh-footer-text: #c9d8ce;
	--sh-footer-rule: rgba(255, 255, 255, 0.15);
}

.site-footer {
	padding: 60px 0 27px;
	background: var(--sh-pine);
	color: var(--sh-footer-text);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 370px 243px 243px minmax(0, 1fr);
	align-items: start;
}

.site-footer__tagline {
	margin: 13px 0 0;
	font-size: var(--sh-text-md);
	line-height: 1.5;
}

.site-footer__title {
	margin: 0 0 13px;
	font-size: 1.625rem; /* 26 */
	line-height: 1.2;
}

.site-footer__links,
.site-footer__social,
.site-footer__legal-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__links {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: var(--sh-text-md);
	line-height: 1.5;
}

.site-footer a {
	color: var(--sh-footer-text);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 4px;
	transition: color 0.2s var(--sh-ease), text-decoration-color 0.2s var(--sh-ease);
}

.site-footer a:hover {
	color: var(--sh-white);
	text-decoration-color: var(--sh-red);
}

.site-footer .site-logo,
.site-footer .site-logo:hover {
	color: var(--sh-white);
	text-decoration: none;
}

.site-footer__address {
	display: flex;
	flex-direction: column;
	font-style: normal;
	line-height: 1.54;
}

.site-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 64px;
	padding-top: 22px;
	border-top: 1px solid var(--sh-footer-rule);
	font-size: var(--sh-text-sm);
	line-height: 1.2;
}

.site-footer__copy {
	margin: 0;
}

.site-footer__legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
}

/* Footer responsive */
@media (max-width: 1100px) {
	.site-footer__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 40px;
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.site-footer {
		padding-top: 48px;
	}

	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 24px;
	}

	.site-footer__contact {
		grid-column: 1 / -1;
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		margin-top: 44px;
	}
}

/* ==========================================================================
   INNER PAGES
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page hero  (About us design: 1440 × 347; photo occupies the right 881px)
   -------------------------------------------------------------------------- */
:root {
	--sh-hero-dark: #001d11;     /* inner-page hero base, blends into the photo */
}

.page-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: 347px;
	overflow: hidden;
	background: var(--sh-hero-dark);
}

.page-hero__media {
	position: absolute;
	inset: 0 0 0 auto;
	z-index: -1;
	width: 61.2%; /* 881 / 1440 */
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%);
	mask-image: linear-gradient(90deg, transparent 0, #000 28%);
}

.page-hero__media picture {
	display: block;
	height: 100%;
}

.page-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
}

.page-hero__inner {
	padding-block: 48px;
}

.page-hero__kicker {
	margin: 0;
	font: 700 1.125rem / 1.2 var(--sh-font-body); /* 18 */
	text-transform: uppercase;
	color: var(--sh-white);
}

.page-hero__title {
	margin: 2px 0 0;
	font-size: clamp(3.25rem, 2.25rem + 3.3vw, 5.1875rem); /* 83 at desktop → 68px caps like the design */
	line-height: 1;
	color: var(--sh-white);
}

.page-hero__gold {
	color: var(--sh-gold);
}

.page-hero__intro {
	max-width: 25rem;
	margin: 9px 0 0;
	font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.25rem); /* 20 */
	line-height: 1.2;
	color: var(--sh-white);
	text-wrap: pretty;
}

@media (max-width: 800px) {
	.page-hero {
		align-items: flex-end;
		min-height: 420px;
	}

	.page-hero__media {
		width: 100%;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.page-hero__media::after { /* keep text readable over the photo */
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(0deg, var(--sh-hero-dark) 18%, rgba(0, 29, 17, 0.55) 60%, rgba(0, 29, 17, 0.25) 100%);
	}

	.page-hero__img {
		object-position: 70% center;
	}

	.page-hero__inner {
		padding-block: 40px 36px;
	}

	.page-hero__intro {
		line-height: 1.35;
	}
}

/* --------------------------------------------------------------------------
   About — Upcoming games  (About us design: band 1440 × 404 on board green)
   Cards 260 × 178, radius 8, gap 13; 28px arrows; 36px filter chips.
   -------------------------------------------------------------------------- */
:root {
	--sh-red-deep: #a90f20;      /* match card footer */
	--sh-slate: #536276;         /* opponent initial circle */
	--sh-match-rule: #132a20;    /* divider inside match cards */
	--sh-muted-score: #7d968b;   /* "--" placeholder score */
}

.games.section {
	padding-top: clamp(48px, 4.6vw, 67px);
	padding-bottom: clamp(48px, 4.7vw, 68px);
	background: var(--sh-board);
}

.games__head {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 16px 24px;
	padding-bottom: 32px;
}

.games__title {
	margin: 0;
	font-size: clamp(2.25rem, 1.4rem + 2.2vw, 3.0625rem); /* 49 */
	line-height: 1.2;
}

.games__filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 5px;
}

.chip--lg {
	min-height: 36px;
	padding: 0 22px;
	border-width: 1.5px;
	border-color: rgba(255, 255, 255, 0.85);
	font-size: var(--sh-text-md);
}

.text-link--white {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 5px;
	border-bottom: 2px solid var(--sh-white);
	color: var(--sh-white);
}

.text-link--white .icon {
	width: 14px;
	height: 14px;
	stroke-width: 2.6;
	transition: transform 0.25s var(--sh-ease-out-expo);
}

.text-link--white:hover {
	color: var(--sh-white);
	border-color: var(--sh-gold);
}

.text-link--white:hover .icon {
	transform: translateX(3px);
}

.games__strip {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) 28px;
	align-items: center;
	column-gap: 14px;
}

.icon-btn--sm {
	width: 28px;
	height: 28px;
	color: var(--sh-white);
}

.icon-btn--sm .icon {
	width: 16px;
	height: 16px;
}

.icon-btn--sm::before {
	inset: -8px; /* 44px touch target */
}

.games__rail {
	display: flex;
	gap: 13px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.games__rail::-webkit-scrollbar {
	display: none;
}

.games__rail:focus-visible {
	outline-offset: 4px;
	border-radius: 8px;
}

.match {
	flex: 0 0 calc((100% - 39px) / 4);
	scroll-snap-align: start;
}

.match[hidden] {
	display: none;
}

.match__link {
	position: relative; /* keeps screen-reader labels inside the scrolling strip */
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 178px;
	overflow: hidden;
	border-radius: 8px;
	background: var(--sh-card-green);
	color: var(--sh-white);
	transition: transform 0.3s var(--sh-ease-out-expo), box-shadow 0.3s var(--sh-ease-out-expo);
}

.match__link:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.6);
}

.match__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 0 14px;
	padding: 10px 0 9px;
	border-bottom: 1px solid var(--sh-match-rule);
}

.match__date {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font: 600 1.25rem / 1.1 var(--sh-font-display); /* 20 */
	font-variant-numeric: tabular-nums;
}

.match__date .icon {
	width: 16px;
	height: 16px;
	stroke-width: 1.6;
	color: var(--sh-mist);
}

.match__badge {
	display: inline-flex;
	align-items: center;
	min-height: 21px;
	padding: 0 8px;
	border-radius: var(--sh-radius-pill);
	background: var(--sh-red);
	font: 700 0.6875rem / 1 var(--sh-font-body); /* 11: legibility floor (design shows ~8px) */
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--sh-white);
}

.match__badge--final {
	background: var(--sh-chip-green);
}

.match__teams {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 13px 16px 12px; /* first crest at +55 like the design */
}

.match__vs + .screen-reader-text + .match__team {
	margin-top: 9px; /* second crest at +105 */
}

.match__team {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 8px;
}

.match__crest {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	object-fit: cover;
}

.match__crest--initial {
	display: grid;
	place-items: center;
	background: var(--sh-slate);
	font: 700 0.75rem / 1 var(--sh-font-body);
	color: var(--sh-white);
	text-transform: uppercase;
}

.match__name {
	overflow: hidden;
	font: 600 1.1875rem / 1.2 var(--sh-font-display); /* 19 */
	text-overflow: ellipsis;
	white-space: nowrap;
}

.match__score {
	font: 700 1.125rem / 1 var(--sh-font-display);
	color: var(--sh-white);
	font-variant-numeric: tabular-nums;
}

.match:not([data-status="completed"]) .match__score {
	color: var(--sh-muted-score);
}

.match__vs {
	display: block;
	text-align: center;
	font: 700 0.6875rem / 1.4 var(--sh-font-body); /* 11 */
	text-transform: uppercase;
	color: var(--sh-mist);
}

.match__foot {
	display: grid;
	place-items: center;
	min-height: 30px;
	background: var(--sh-red-deep);
	font: 700 0.8125rem / 1 var(--sh-font-body); /* 13 */
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.games__empty {
	margin: 24px 0 0;
	color: var(--sh-mist);
}

/* Games responsive */
@media (max-width: 1100px) {
	.games__head {
		grid-template-columns: 1fr auto;
	}

	.games__filters {
		grid-column: 1 / -1;
		grid-row: 2;
		justify-content: flex-start;
	}

	.match {
		flex-basis: calc((100% - 26px) / 3);
	}
}

@media (max-width: 800px) {
	.match {
		flex-basis: calc((100% - 13px) / 2);
	}
}

@media (max-width: 600px) {
	.games__head {
		grid-template-columns: 1fr;
	}

	.games__link {
		justify-self: start;
	}

	.games__strip {
		grid-template-columns: minmax(0, 1fr);
	}

	.games__arrow {
		display: none; /* swipe on phones */
	}

	.games__rail {
		margin-inline: calc(var(--sh-gutter) * -1);
		padding-inline: var(--sh-gutter);
		scroll-padding-inline: var(--sh-gutter);
	}

	.match {
		flex-basis: 78%;
	}
}

/* --------------------------------------------------------------------------
   About — Mission statement  (band 1440 × 293; photo occupies the right 741px)
   Variant of the page-hero band.
   -------------------------------------------------------------------------- */
.page-hero--mission {
	align-items: flex-start;
	min-height: 293px;
}

.page-hero--mission .page-hero__media {
	width: 51.5%; /* 741 / 1440 */
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%);
	mask-image: linear-gradient(90deg, transparent 0, #000 24%);
}

.page-hero--mission .page-hero__inner {
	padding-block: 73px 48px;
}

.page-hero--mission .page-hero__kicker {
	color: var(--sh-gold);
}

.page-hero--mission .page-hero__title {
	margin-top: 3px;
	font-size: clamp(2.5rem, 1.6rem + 2.3vw, 3.5625rem); /* 57 → 46px caps */
}

.page-hero--mission .page-hero__intro {
	max-width: 35.75rem; /* wraps like the design: "…on the field," ends line two */
	margin-top: 9px;
	font-size: clamp(1rem, 0.92rem + 0.3vw, 1.125rem); /* 18 */
	line-height: 1.3;
}

@media (max-width: 800px) {
	.page-hero--mission {
		align-items: flex-end;
		min-height: 400px;
	}

	.page-hero--mission .page-hero__media {
		width: 100%;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.page-hero--mission .page-hero__inner {
		padding-block: 40px 36px;
	}
}

/* --------------------------------------------------------------------------
   About — Our core values  (band 1440 × 365 on pine)
   Four 267 × 167 cards, 1px #2E7A58 border, top-to-bottom green gradient.
   -------------------------------------------------------------------------- */
:root {
	--sh-value-top: #0b4830;
	--sh-value-bottom: #052a1b;
	--sh-value-line: #2e7a58;
}

.values.section {
	padding-top: clamp(48px, 4.65vw, 67px);
	padding-bottom: clamp(48px, 4.6vw, 66px);
}

.values__title {
	margin: 0;
	text-align: center;
	font-size: clamp(2.25rem, 1.6rem + 1.6vw, 2.75rem); /* 44 → 36px caps */
	line-height: 1.2;
}

.values__gold {
	color: var(--sh-gold);
}

.values__grid {
	display: grid;
	grid-template-columns: repeat(var(--sh-values-count, 4), minmax(0, 1fr));
	gap: 24px;
	max-width: 1140px;
	margin: 12px auto 0;
	padding: 0;
	list-style: none;
}

.value-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 167px;
	padding: 21px 20px 22px;
	border: 1px solid var(--sh-value-line);
	border-radius: 12px;
	background: linear-gradient(180deg, var(--sh-value-top) 0%, var(--sh-value-bottom) 100%);
	text-align: center;
}

.value-card__icon {
	display: block;
	width: auto;
	height: 38px;
	color: var(--sh-gold);
}

.value-card__title {
	margin: 4px 0 0;
	font-size: 1.875rem; /* 30 → 24px caps */
	line-height: 1.2;
}

.value-card__text {
	max-width: 11.25rem; /* breaks like the design: "Strive for continuous / improvement." */
	margin: 2px 0 0;
	font-size: var(--sh-text-md);
	line-height: 1.3;
	color: var(--sh-white);
}

@media (max-width: 980px) {
	.values__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
		margin-top: 24px;
	}
}

@media (max-width: 480px) {
	.values__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.value-card {
		min-height: 0;
	}
}

/* --------------------------------------------------------------------------
   About — Our story + stats  (band 1440 × 497, gradient #093423 → #011D12)
   652 × 223 photo in a 2px red frame; 1150 × 104 stats bar.
   -------------------------------------------------------------------------- */
:root {
	--sh-story-top: #093423;
	--sh-story-bottom: #011d12;
	--sh-stats-fill: #0b2e1c;
}

.story.section {
	padding-top: clamp(48px, 4.9vw, 70px);
	padding-bottom: clamp(48px, 4.6vw, 66px);
	background: linear-gradient(180deg, var(--sh-story-top) 0%, var(--sh-story-bottom) 100%);
}

.story__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 652px);
	align-items: start;
	column-gap: 48px;
}

.story__copy {
	padding-top: 9px; /* kicker letters 12px below the photo top, like the design */
}

.story__kicker {
	margin: 0;
	font: 700 1.125rem / 1.2 var(--sh-font-body); /* 18 */
	text-transform: uppercase;
	color: var(--sh-gold);
}

.story__title {
	margin: 0;
	font-size: clamp(2.75rem, 1.7rem + 2.6vw, 3.9375rem); /* 63 → 51px caps */
	line-height: 1;
}

.story__gold {
	color: var(--sh-gold);
}

.story__text {
	max-width: 28rem; /* three lines like the design */
	margin: 7px 0 0;
	font-size: clamp(1rem, 0.92rem + 0.3vw, 1.125rem); /* 18 */
	line-height: 1.3;
	color: var(--sh-white);
}

/* Gold outline button (Learn more) */
.btn--gold-outline {
	gap: 8px;
	min-height: 40px;
	padding: 0 18px;
	border: 2px solid var(--sh-gold);
	border-radius: 6px;
	background: transparent;
	font-size: var(--sh-text-md);
	color: var(--sh-gold);
}

.btn--gold-outline .icon {
	width: 18px;
	height: 18px;
	stroke-width: 2.4;
	transition: transform 0.25s var(--sh-ease-out-expo);
}

.btn--gold-outline:hover {
	background: var(--sh-gold);
	color: var(--sh-pine);
}

.btn--gold-outline:hover .icon {
	transform: translateX(3px);
}

.story__btn {
	margin-top: 13px;
}

.story__media {
	margin: 0;
	overflow: hidden;
	border: 2px solid var(--sh-red);
	border-radius: 16px;
	background: var(--sh-card-green);
}

.story__media picture,
.story__img {
	display: block;
	width: 100%;
}

.story__img {
	height: auto;
	aspect-ratio: 648 / 219;
	object-fit: cover;
}

/* Stats bar */
.stats {
	display: grid;
	grid-template-columns: repeat(var(--sh-stats-count, 4), minmax(0, 1fr));
	min-height: 104px;
	margin: 33px 0 0;
	padding: 0;
	border: 1px solid var(--sh-value-line);
	border-radius: 12px;
	background: var(--sh-stats-fill);
	list-style: none;
}

.stat {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	padding: 22px 16px 18px;
}

.stat + .stat::before { /* 1 × 58 divider */
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 1px;
	height: 58px;
	background: var(--sh-value-line);
	transform: translateY(-50%);
}

.stat__icon {
	flex: none;
	width: auto;
	height: 44px;
	max-width: 62px;
	color: var(--sh-gold);
}

.stat__text {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.stat__figure {
	font: 700 2.5rem / 1 var(--sh-font-body); /* 40 → 28px digits */
	color: var(--sh-white);
	font-variant-numeric: tabular-nums;
}

.stat__label {
	font-size: var(--sh-text-sm);
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--sh-text-soft);
}

/* Story responsive */
@media (max-width: 1100px) {
	.stat {
		gap: 16px;
	}

	.stat__figure {
		font-size: 2rem;
	}
}

@media (max-width: 980px) {
	.story__grid {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 32px;
	}

	.story__text {
		text-wrap: pretty; /* no lone last word on narrow screens */
	}

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

	.stat:nth-child(odd)::before {
		display: none;
	}

	.stat:nth-child(n+3) {
		border-top: 1px solid var(--sh-value-line);
	}
}

@media (max-width: 480px) {
	.stats {
		grid-template-columns: minmax(0, 1fr);
	}

	.stat {
		justify-content: flex-start;
		padding-inline: 24px;
	}

	.stat::before {
		display: none;
	}

	.stat + .stat {
		border-top: 1px solid var(--sh-value-line);
	}
}

/* --------------------------------------------------------------------------
   About — Register now banner  (1200 × 167 red card, flush under Our story)
   -------------------------------------------------------------------------- */
:root {
	--sh-banner-top: #d1111e;
	--sh-banner-bottom: #a6010f;
	--sh-cta-dark-top: #132920;
	--sh-cta-dark-bottom: #1a3f30;
	--sh-field-light: #fafaf8;
	--sh-field-light-text: #525251;
}

.reg-banner-section {
	padding: 0 var(--sh-gutter) clamp(48px, 4.9vw, 70px);
	background: var(--sh-pine);
}

.reg-banner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 382px); /* 341 form + 40 gap + 1 divider */
	align-items: start;
	max-width: 1200px;
	min-height: 167px;
	margin: 0 auto;
	padding: 26px 33px 28px 55px;
	border-radius: 20px;
	background: linear-gradient(180deg, var(--sh-banner-top) 0%, var(--sh-banner-bottom) 100%);
	color: var(--sh-white);
}

.reg-banner__title {
	margin: 0;
	font-size: clamp(2.5rem, 1.6rem + 2.2vw, 3.4375rem); /* 55 → 45px caps */
	line-height: 1.2;
}

.reg-banner__text {
	max-width: 27rem;
	margin: 3px 0 0;
	font-size: 0.9375rem; /* 15 */
	line-height: 1.3;
	color: var(--sh-white);
}

.reg-banner__form {
	margin-top: 9px;
	padding-left: 40px;
	border-left: 1px solid rgba(255, 255, 255, 0.45);
}

.select--light {
	margin-top: 0;
}

.select--light .select__input {
	height: 42px;
	padding: 0 44px 0 18px;
	border-color: var(--sh-field-light);
	border-radius: 8px;
	background: var(--sh-field-light);
	font-size: 0.9375rem;
	color: var(--sh-field-light-text);
}

.select--light .select__input:hover {
	border-color: var(--sh-white);
	background: var(--sh-white);
}

.select--light .select__input:focus-visible {
	outline-color: var(--sh-white);
}

.select--light .select__input[aria-invalid="true"] {
	border-color: var(--sh-white);
	box-shadow: 0 0 0 2px var(--sh-pine);
}

.select--light .select__chevron {
	right: 19px;
	color: var(--sh-ink-strong);
}

.reg-banner__submit {
	display: grid;
	place-items: center;
	width: 100%;
	min-height: 45px;
	margin-top: 17px;
	padding: 0 16px;
	border: 0;
	border-radius: 6px;
	background: linear-gradient(180deg, var(--sh-cta-dark-top) 0%, var(--sh-cta-dark-bottom) 100%);
	font: 700 1.125rem / 1 var(--sh-font-body); /* 18 */
	color: var(--sh-white);
	cursor: pointer;
	transition: filter 0.2s var(--sh-ease), transform 0.2s var(--sh-ease);
}

.reg-banner__submit:hover {
	filter: brightness(1.25);
}

.reg-banner__submit:active {
	transform: translateY(1px);
}

.reg-banner__submit:focus-visible {
	outline: 2px solid var(--sh-white);
	outline-offset: 2px;
}

.reg-banner__output {
	margin: 8px 0 0;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--sh-white);
}

.reg-banner__output:empty {
	display: none;
}

@media (max-width: 900px) {
	.reg-banner {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 24px;
		padding: 32px 24px;
	}

	.reg-banner__form {
		margin-top: 0;
		padding: 24px 0 0;
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.45);
	}
}

/* About page: sponsors sit 60px under the Follow strip and 104px above the footer */
.sponsors--compact.section {
	padding-top: clamp(48px, 4.2vw, 60px);
	padding-bottom: clamp(64px, 6.8vw, 98px); /* + 6px marquee padding = 104 */
}

@media (max-width: 480px) {
	.select--light .select__input {
		padding: 0 34px 0 12px;
		font-size: 0.8125rem; /* long placeholder fits without clipping */
	}

	.select--light .select__chevron {
		right: 13px;
	}
}

/* ==========================================================================
   Team Schedule page (/schedule/, archive-sh_game.php)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Schedule — page hero  (Team Schedule design: band 1440 × 490)
   Variant of the page-hero band: full-bleed field photo under a team-green
   wash (fitted to the design pixels), 145px title, 46px filter buttons,
   player cut-out standing on the bottom edge (x 1011–1230 at 1440).
   -------------------------------------------------------------------------- */
:root {
	--sh-hero-wash: 6, 33, 26;   /* rgb of the photo wash (= --sh-forest) */
	--sh-hero-player-w: 220px;
}

.page-hero--schedule {
	align-items: flex-start;
	min-height: 490px;
}

.page-hero--schedule .page-hero__media {
	width: 100%;
	-webkit-mask-image: none;
	mask-image: none;
}

.page-hero--schedule .page-hero__img {
	object-position: center;
}

/* Wash: near-solid green on the text side, photo shows through on the right;
   the last 250px deepen into the band below. */
.page-hero--schedule .page-hero__media::before,
.page-hero--schedule .page-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.page-hero--schedule .page-hero__media::before {
	background: linear-gradient(90deg,
		rgba(var(--sh-hero-wash), 0.98) 0%,
		rgba(var(--sh-hero-wash), 0.89) 33%,
		rgba(var(--sh-hero-wash), 0.8) 67%,
		rgba(var(--sh-hero-wash), 0.58) 83%,
		rgba(var(--sh-hero-wash), 0.57) 100%);
}

.page-hero--schedule .page-hero__media::after {
	background: linear-gradient(0deg,
		rgba(var(--sh-hero-wash), 1) 0,
		rgba(var(--sh-hero-wash), 0.6) 90px,
		rgba(var(--sh-hero-wash), 0.25) 170px,
		rgba(var(--sh-hero-wash), 0) 250px);
}

.page-hero--schedule .page-hero__inner {
	position: static; /* the player is placed against the band, not the text column */
	padding-block: 93px 79px; /* + 490px min-height = design band */
}

.page-hero--schedule .page-hero__kicker {
	font: 400 1.25rem / 1.2 var(--sh-font-body); /* 20 */
	color: var(--sh-text-soft);
}

.page-hero--schedule .page-hero__title {
	margin-top: 6px;
	font-size: clamp(3.5rem, 1rem + 9.25vw, 9.1875rem); /* 147 at desktop → 118px caps */
	line-height: 0.96;
}

.page-hero--schedule .page-hero__intro {
	max-width: 36rem;
	margin-top: 0;
	font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.25rem); /* 20 */
	line-height: 1.3;
	color: var(--sh-text-soft);
}

.page-hero__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 5px;
	margin-top: 74px;
}

/* 153 × 46 filter button with a 2px outline */
.chip--hero {
	min-width: 153px;
	min-height: 46px;
	padding: 0 24px;
	border-width: 2px;
	border-color: var(--sh-line);
	font-size: var(--sh-text-base);
}

.page-hero__player {
	position: absolute;
	right: max(var(--sh-gutter), calc(50% - 510px)); /* 1230 at 1440, tracks the container */
	bottom: 0;
	width: clamp(150px, 15.3vw, var(--sh-hero-player-w));
	pointer-events: none;
}

.page-hero__player picture {
	display: block;
}

.page-hero__player-img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 1100px) {
	.page-hero--schedule {
		min-height: 440px;
	}

	.page-hero--schedule .page-hero__inner {
		padding-block: 72px 64px;
	}

	.page-hero__filters {
		margin-top: 48px;
	}
}

@media (max-width: 800px) {
	.page-hero--schedule {
		align-items: flex-end;
		min-height: 0;
	}

	.page-hero--schedule .page-hero__media::before {
		background: linear-gradient(90deg, rgba(var(--sh-hero-wash), 0.9) 0%, rgba(var(--sh-hero-wash), 0.72) 100%);
	}

	.page-hero--schedule .page-hero__inner {
		padding-block: 56px 44px;
	}

	.page-hero--schedule .page-hero__intro {
		margin-top: 8px;
		line-height: 1.35;
	}

	.page-hero__filters {
		margin-top: 32px;
	}

	.chip--hero {
		min-width: 0;
		min-height: 44px;
		padding: 0 22px;
	}
}

@media (max-width: 759px) {
	.page-hero__player {
		display: none;
	}

	.chip--hero { /* three equal buttons on one row, like the design */
		flex: 1 1 0;
		min-width: max-content;
		padding: 0 14px;
	}
}

/* --------------------------------------------------------------------------
   Schedule — season table  (Team Schedule design: band 1440 × 955 on pine)
   62px heading + 153 × 46 gold season button; record bar 1152 × 68 in eight
   144px cells; table with a 64px header and 48.5px rows alternating
   pine / green; 90 × 32 status badges.
   -------------------------------------------------------------------------- */
:root {
	--sh-badge-upcoming: #18425b;  /* navy status badge */
	--sh-badge-completed: #0c5633; /* green status badge */
	--sh-gold-icon: #e9b85b;       /* record bar icons, "-" result placeholder */
	--sh-win: #85ffaa;
	/* Brand red lifted for text on the dark panels: #C8102E only reaches 1.9:1 on
	   the green rows. #FF8089 passes 4.5:1 there and 7:1 on pine. */
	--sh-red-on-dark: #ff8089;
}

.season.section {
	padding-top: clamp(48px, 5.2vw, 75px);
	padding-bottom: clamp(56px, 5.6vw, 81px); /* table bottom → Follow band */
	background: var(--sh-pine);
}

.season__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
}

.season__title {
	margin: 0;
	font-size: clamp(2.5rem, 1rem + 3.2vw, 3.875rem); /* 62 → 50px caps */
	line-height: 1;
}

/* Season button: a native select dressed as the gold outline pill */
.season__switch {
	position: relative;
	display: inline-flex;
	align-items: center;
	margin: 0;
}

.season__select,
.season__switch--static {
	min-width: 153px;
	min-height: 46px;
	border: 2px solid var(--sh-gold);
	border-radius: var(--sh-radius-pill);
	background: transparent;
	font: 700 var(--sh-text-base) / 1 var(--sh-font-body);
	color: var(--sh-gold);
}

.season__select {
	padding: 0 40px 0 22px;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	transition: background-color 0.2s var(--sh-ease);
}

.season__select:hover {
	background: rgba(197, 160, 89, 0.12);
}

.season__select option {
	background: var(--sh-pine);
	color: var(--sh-white);
}

.season__switch .icon {
	position: absolute;
	right: 18px;
	width: 16px;
	height: 16px;
	stroke-width: 2.4;
	color: var(--sh-gold);
	pointer-events: none;
}

.season__switch--static {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 24px;
}

.season__go {
	margin-left: 8px;
	min-height: 46px;
	padding: 0 18px;
	border: 2px solid var(--sh-gold);
	border-radius: var(--sh-radius-pill);
	background: var(--sh-gold);
	font: 700 var(--sh-text-base) / 1 var(--sh-font-body);
	color: var(--sh-pine);
	cursor: pointer;
}

/* Record bar */
.record {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	min-height: 68px;
	margin: 31px 0 0;
	border-radius: 10px;
	background: var(--sh-card-green);
}

.record__item {
	position: relative;
	display: grid;
	grid-template-columns: auto auto;
	grid-template-areas: "icon label" "icon value";
	align-content: center;
	justify-content: center;
	column-gap: 12px;
	padding: 8px 6px;
}

.record__item + .record__item::before { /* inset divider, 49px tall */
	content: "";
	position: absolute;
	top: 9px;
	bottom: 10px;
	left: 0;
	width: 1px;
	background: var(--sh-pine);
}

.record__item .icon {
	grid-area: icon;
	align-self: center;
	width: 28px;
	height: 28px;
	stroke-width: 1.6;
	color: var(--sh-gold-icon);
}

.record__label {
	grid-area: label;
	font: 400 0.6875rem / 1.2 var(--sh-font-body); /* 11 */
	color: var(--sh-white);
}

.record__value {
	grid-area: value;
	margin: 1px 0 0;
	font: 700 1.25rem / 1 var(--sh-font-display); /* 20 → 16px caps */
	text-transform: uppercase;
	color: var(--sh-red-on-dark);
	font-variant-numeric: tabular-nums;
}

/* Table */
.schedule-table {
	margin-top: 45px;
	overflow: hidden;
	border: 1px solid var(--sh-card-green);
	border-radius: 10px;
}

.schedule-table__table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: var(--sh-text-sm);
	line-height: 1.3;
	color: var(--sh-white);
}

/* Column starts from the design: 157 / 289 / 581 / 789 / 926 / 1089 / 1206 */
.schedule-table__col--date   { width: 11.48%; }
.schedule-table__col--opp    { width: 25.39%; }
.schedule-table__col--loc    { width: 18.09%; }
.schedule-table__col--time   { width: 11.91%; }
.schedule-table__col--status { width: 14.17%; }
.schedule-table__col--score  { width: 10.17%; }
.schedule-table__col--result { width: 8.79%; }

.schedule-table__table th {
	height: 64px;
	padding: 0 8px 0 14px;
	background: var(--sh-card-green);
	font: 700 var(--sh-text-md) / 1.2 var(--sh-font-body);
	text-align: left;
	text-transform: uppercase;
	color: var(--sh-white);
}

.schedule-table__table td {
	height: 48.5px; /* 11 rows span 534px in the design */
	padding: 4px 8px 4px 14px;
	border-top: 1px solid var(--sh-match-rule);
	vertical-align: middle;
	font-variant-numeric: tabular-nums;
}

.schedule-table__table tbody tr:nth-child(even) td {
	background: var(--sh-card-green);
}

.schedule-table__opp a {
	color: var(--sh-white);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s var(--sh-ease);
}

.schedule-table__opp a:hover {
	text-decoration-color: var(--sh-gold);
}

.status-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 89px;
	min-height: 32px;
	padding: 0 12px;
	border-radius: 6px;
	background: var(--sh-badge-upcoming);
	font: 700 0.6875rem / 1 var(--sh-font-body); /* 11 */
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--sh-white);
}

.status-badge--completed {
	background: var(--sh-badge-completed);
}

.result {
	font: 700 0.8125rem / 1 var(--sh-font-body); /* 13 */
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.result--win  { color: var(--sh-win); }
.result--loss { color: var(--sh-red-on-dark); }
.result--tie  { color: var(--sh-gold-soft); }
.result--none { color: var(--sh-gold-icon); }

.schedule-table__table .schedule-table__empty td {
	height: 96px;
	padding: 0 16px;
	background: transparent;
	text-align: center;
	color: var(--sh-mist);
}

@media (max-width: 1100px) {
	.record {
		grid-template-columns: repeat(4, 1fr);
		gap: 1px;
		overflow: hidden;
		background: var(--sh-pine);
	}

	.record__item {
		padding-block: 12px;
		background: var(--sh-card-green);
	}

	.record__item + .record__item::before {
		content: none;
	}
}

@media (max-width: 900px) {
	.schedule-table__col--date   { width: 10%; }
	.schedule-table__col--opp    { width: 25%; }
	.schedule-table__col--loc    { width: 17%; }
	.schedule-table__col--time   { width: 12%; }
	.schedule-table__col--status { width: 16%; }
	.schedule-table__col--score  { width: 9%; }
	.schedule-table__col--result { width: 11%; }

	.schedule-table__table th,
	.schedule-table__table td {
		padding-left: 10px;
		padding-right: 4px;
	}
}

/* Phones and small tablets: each game becomes a three-line card */
@media (max-width: 760px) {
	.record {
		margin-top: 24px;
	}

	.schedule-table {
		margin-top: 32px;
	}

	.schedule-table__table,
	.schedule-table__table tbody {
		display: block;
	}

	.schedule-table__table colgroup {
		display: none;
	}

	.schedule-table__table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.schedule-table__table tbody tr {
		display: grid;
		grid-template-columns: auto auto 1fr auto;
		grid-template-areas:
			"date time . status"
			"opp  opp  opp opp"
			"loc  loc  score result";
		align-items: center;
		gap: 6px 10px;
		padding: 14px 16px;
		border-top: 1px solid var(--sh-match-rule);
	}

	.schedule-table__table tbody tr:first-child {
		border-top: 0;
	}

	.schedule-table__table tbody tr:nth-child(even) {
		background: var(--sh-card-green);
	}

	.schedule-table__table tbody tr[hidden] {
		display: none;
	}

	.schedule-table__table td,
	.schedule-table__table tbody tr:nth-child(even) td {
		display: block;
		height: auto;
		padding: 0;
		border: 0;
		background: transparent;
	}

	.schedule-table__date   { grid-area: date; font-weight: 700; }
	.schedule-table__time   { grid-area: time; color: var(--sh-mist); }
	.schedule-table__status { grid-area: status; }
	.schedule-table__opp    { grid-area: opp; font-size: var(--sh-text-md); font-weight: 600; }
	.schedule-table__loc    { grid-area: loc; color: var(--sh-mist); }
	.schedule-table__score  { grid-area: score; justify-self: end; font-weight: 700; }
	.schedule-table__result { grid-area: result; justify-self: end; min-width: 3.5em; text-align: right; }

	/* No score yet: the badge already says so; drop the "-" placeholders. */
	.schedule-table__table tr[data-status="upcoming"] .schedule-table__score,
	.schedule-table__table tr[data-status="upcoming"] .schedule-table__result {
		display: none;
	}

	.status-badge {
		min-width: 0;
		min-height: 26px;
		padding: 0 10px;
	}

	.schedule-table__table .schedule-table__empty {
		display: block;
		padding: 0;
	}

	.schedule-table__table .schedule-table__empty td {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 96px;
	}

	.schedule-table__table .schedule-table__empty[hidden] {
		display: none;
	}
}

@media (max-width: 560px) {
	.record {
		grid-template-columns: repeat(2, 1fr);
	}

	.record__item {
		justify-content: start;
		padding-inline: 16px;
	}
}

/* --------------------------------------------------------------------------
   Schedule — Follow strip + Sponsors (shared parts; page-specific rhythm)
   Design: Follow band 199px; "Our sponsors" caps 81px under it; footer logo
   142px under the logo tiles (About uses 60 / 104).
   -------------------------------------------------------------------------- */
.post-type-archive-sh_game .sponsors--compact.section {
	padding-top: clamp(48px, 4.95vw, 71px);
	padding-bottom: clamp(56px, 5.3vw, 76px); /* + 6px marquee padding = 82 */
}

/* ==========================================================================
   Rosters page (/rosters/, archive-sh_player.php)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Rosters — page hero  (Rosters design: band 1440 × 540)
   Horizontal green gradient, two pairs of 45° red stripes (drawn here, so an
   uploaded team photo sits on the same backdrop), group cut-out on the right.
   Stripe offsets are x + y in px at 1440, converted to the 135deg gradient axis (÷ √2).
   -------------------------------------------------------------------------- */
:root {
	--sh-roster-hero: linear-gradient(90deg, #0b1a13 0%, #0b2719 20.8%, #0a2c1c 33.3%, #082d1b 41.7%, #032c18 62.5%, #002814 83.3%, #002714 100%);
	--sh-stripe-red: #cb010a;        /* upper stripe pair */
	--sh-stripe-deep-top: #861a1c;   /* lower pair, fading darker toward the bottom */
	--sh-stripe-deep-bottom: #5c1916;
}

.page-hero--roster {
	align-items: flex-start;
	min-height: 540px;
	background: var(--sh-roster-hero);
}

.page-hero--roster .page-hero__media {
	inset: 0;
	width: auto;
	-webkit-mask-image: none;
	mask-image: none;
	pointer-events: none;
}

.page-hero--roster .page-hero__media::before,
.page-hero--roster .page-hero__media::after {
	content: "";
	position: absolute;
	left: calc(50% - 720px);
	width: 1440px;
}

/* Lower pair: visible from y 218 down (x + y in [904, 999] and [1041, 1064], measured from y 218) */
.page-hero--roster .page-hero__media::before {
	top: 218px;
	bottom: 0;
	background: linear-gradient(180deg, var(--sh-stripe-deep-top), var(--sh-stripe-deep-bottom));
	-webkit-mask-image: linear-gradient(135deg, transparent 484.8px, #000 485.4px, #000 552px, transparent 552.6px, transparent 581.7px, #000 582.3px, #000 597.9px, transparent 598.5px);
	mask-image: linear-gradient(135deg, transparent 484.8px, #000 485.4px, #000 552px, transparent 552.6px, transparent 581.7px, #000 582.3px, #000 597.9px, transparent 598.5px);
}

/* Upper pair: top 300px (x + y in [1264, 1358] and [1406, 1453]) */
.page-hero--roster .page-hero__media::after {
	top: 0;
	height: 300px;
	background: linear-gradient(135deg, transparent 893.5px, var(--sh-stripe-red) 894.1px, var(--sh-stripe-red) 960px, transparent 960.6px, transparent 993.9px, var(--sh-stripe-red) 994.5px, var(--sh-stripe-red) 1027.1px, transparent 1027.7px);
}

/* The JV design sets the upper pair 46px further right */
.page-hero--roster:has(.page-hero__players--jv) .page-hero__media::after {
	transform: translateX(46px);
}

.page-hero--roster .page-hero__inner {
	position: static;
	padding-block: 154px 64px;
}

.page-hero--roster .page-hero__kicker {
	font: 700 1.9375rem / 1 var(--sh-font-display); /* 31 → 25px caps */
	color: var(--sh-white);
}

.page-hero--roster .page-hero__title {
	margin-top: 7px;
	font-size: clamp(4rem, 1.6rem + 7.3vw, 8.125rem); /* 130 → 104px caps */
	line-height: 1;
}

.page-hero--roster .page-hero__intro {
	max-width: 25rem;
	margin-top: 5px;
	font-size: clamp(1.125rem, 0.9rem + 0.75vw, 1.5625rem); /* 25 → 17.5px caps */
	line-height: 1.3;
	color: var(--sh-white);
}

.page-hero__players {
	position: absolute;
	right: max(0px, calc(50% - 720px + var(--players-right, 40px)));
	bottom: 0;
	height: min(var(--players-h, 528px), var(--players-hv, 36.7vw));
	pointer-events: none;
}

.page-hero__players picture {
	display: block;
	height: 100%;
}

.page-hero__players-img {
	display: block;
	width: auto;
	height: 100%;
}

@media (max-width: 1100px) {
	.page-hero--roster {
		min-height: 440px;
	}

	.page-hero--roster .page-hero__inner {
		padding-block: 104px 56px;
	}
}

/* Phones: text first, the team photo below it on its own stripes */
@media (max-width: 800px) {
	.page-hero--roster {
		flex-direction: column;
		align-items: stretch;
		min-height: 0;
	}

	.page-hero--roster .page-hero__media::before,
	.page-hero--roster .page-hero__media::after {
		content: none;
	}

	.page-hero--roster .page-hero__inner {
		padding-block: 48px 8px;
	}

	.page-hero__players {
		position: relative;
		right: auto;
		align-self: center;
		width: min(100%, 560px);
		height: auto;
		margin-top: 16px;
	}

	.page-hero__players::before { /* the two stripe pairs, behind the photo */
		content: "";
		position: absolute;
		inset: 0 -40px 0 -40px;
		background:
			linear-gradient(135deg, transparent 49%, var(--sh-stripe-red) 49.2%, var(--sh-stripe-red) 56%, transparent 56.2%, transparent 59%, var(--sh-stripe-red) 59.2%, var(--sh-stripe-red) 62.4%, transparent 62.6%);
		opacity: 0.9;
	}

	.page-hero__players picture {
		position: relative;
		height: auto;
	}

	.page-hero__players-img {
		width: 100%;
		height: auto;
	}
}

/* --------------------------------------------------------------------------
   Rosters — team roster  (band 1440 × 894 on pine)
   67px title + 42px team, 40px gold season line, 38px red pill switches;
   cards 1165 × 104 (photo 196px, number 48 × 36, 42px name, divider, hometown,
   39 × 42 arrow), 18px apart.
   -------------------------------------------------------------------------- */
:root {
	--sh-roster-card: #063620;      /* player card */
	--sh-roster-card-line: #113a28; /* card edge */
	--sh-roster-divider: #b4c3bc;   /* rule between name and hometown */
}

.roster.section {
	padding-top: clamp(48px, 4.7vw, 68px);
	padding-bottom: clamp(56px, 5.2vw, 75px);
	background: var(--sh-pine);
}

.roster__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"title  controls"
		"season teams";
	column-gap: 24px;
}

.roster__title {
	grid-area: title;
	margin: 0;
	font-size: clamp(2.75rem, 1.5rem + 3vw, 4.1875rem); /* 67 → 54px caps */
	line-height: 1;
}

.roster__team {
	font-size: 0.627em; /* 42px with the 67px title → 34px caps on the same baseline */
}

.roster__season {
	grid-area: season;
	margin: 15px 0 0;
	font: 700 clamp(1.75rem, 1rem + 1.67vw, 2.5rem) / 1 var(--sh-font-display); /* 40 → 32px caps */
	text-transform: uppercase;
	color: var(--sh-gold);
}

.roster__controls {
	grid-area: controls;
	align-self: end;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 10px 20px;
	margin: 0 0 -5px;
}

.roster__sort {
	display: inline-flex;
	align-items: center;
	gap: 11px;
}

.roster__sort-label {
	font: 700 var(--sh-text-base) / 1 var(--sh-font-body);
	text-transform: uppercase;
	color: var(--sh-white);
}

.roster__go {
	min-height: 38px;
	padding: 0 16px;
	border: 2px solid var(--sh-white);
	border-radius: 3px;
	background: transparent;
	font: 700 var(--sh-text-base) / 1 var(--sh-font-body);
	color: var(--sh-white);
	cursor: pointer;
}

.roster__teams {
	grid-area: teams;
	align-self: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px;
	margin-top: 15px;
}

.chip--team[aria-current="page"] {
	background: var(--sh-red);
	border-color: var(--sh-red);
}

/* Red pill dropdown (roster switches) */
.pill-select {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.pill-select__input,
.pill-select--static {
	min-height: 38px;
	border: 0;
	border-radius: 3px;
	background: var(--sh-red-deep);
	font: 400 var(--sh-text-base) / 1 var(--sh-font-body);
	text-transform: uppercase;
	color: var(--sh-white);
}

.pill-select__input {
	padding: 0 33px 0 16px;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	transition: background-color 0.2s var(--sh-ease);
}

.pill-select__input:hover {
	background: var(--sh-red);
}

.pill-select__input option {
	background: var(--sh-pine);
	color: var(--sh-white);
	text-transform: none;
}

.pill-select .icon {
	position: absolute;
	right: 13px;
	width: 13px;
	height: 13px;
	stroke-width: 2.6;
	color: var(--sh-white);
	pointer-events: none;
}

.pill-select--static {
	padding: 0 16px;
}

/* Player cards — list view (design) */
.roster__list {
	margin: 37px 0 0;
	padding: 0;
	list-style: none;
}

.roster__list--list {
	display: grid;
	gap: 18px;
}

@media (min-width: 1240px) {
	.roster__list { /* the cards run 7px past the text column on both sides (1165px) */
		margin-inline: -7px -6px;
	}
}

.player-card {
	position: relative;
	display: grid;
	grid-template-columns: 196px 452px minmax(0, 1fr) 39px;
	align-items: center;
	min-height: 104px;
	padding-right: 33px;
	border: 1px solid var(--sh-roster-card-line);
	border-radius: 8px;
	background: var(--sh-roster-card);
	transition: border-color 0.2s var(--sh-ease), background-color 0.2s var(--sh-ease);
}

.player-card:hover,
.player-card:focus-within {
	border-color: var(--sh-red);
}

.player-card__photo {
	align-self: stretch;
	display: grid;
	place-items: center;
	overflow: hidden;
	border-radius: 7px 0 0 7px;
	background: var(--sh-board);
}

.player-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
}

.player-card__crest {
	width: 56px;
	height: 56px;
	opacity: 0.85;
}

.player-card__body {
	align-self: start;
	min-width: 0;
	padding: 17px 16px 14px 35px;
}

.player-card__facts {
	margin: 0;
	font: 700 0.8125rem / 1.3 var(--sh-font-body); /* 13 */
	text-transform: uppercase;
	color: var(--sh-white);
}

.player-card__name {
	display: flex;
	align-items: flex-start;
	gap: 29px;
	margin: 12px 0 0;
	font-size: clamp(1.75rem, 1rem + 1.8vw, 2.625rem); /* 42 → 34px caps */
	line-height: 36px;
}

.player-card__number {
	flex: none;
	display: inline-grid;
	place-items: center;
	min-width: 48px;
	height: 36px;
	padding: 0 6px;
	background: var(--sh-red);
	font-size: 1.875rem; /* 30 */
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.player-card__link {
	color: var(--sh-white);
}

.player-card__link::after { /* the whole card opens the player */
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 8px;
}

.player-card__link:focus-visible {
	outline: none;
}

.player-card:focus-within {
	outline: 2px solid var(--sh-red);
	outline-offset: 3px;
}

.player-card__hometown {
	position: relative;
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin: 0;
	padding: 0 45px 0 24px;
	font: italic 400 0.9375rem / 1.3 var(--sh-font-body); /* 15 */
	text-align: right;
	color: var(--sh-white);
}

.player-card__hometown::before { /* 2px rule, 70px tall */
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 2px;
	height: 70px;
	transform: translateY(-50%);
	background: var(--sh-roster-divider);
}

.player-card__arrow {
	grid-column: 4;
	display: grid;
	place-items: center;
	width: 39px;
	height: 42px;
	border: 2px solid var(--sh-red);
	border-radius: 4px;
	color: var(--sh-red-on-dark);
	transition: background-color 0.2s var(--sh-ease), color 0.2s var(--sh-ease);
}

.player-card__arrow .icon {
	width: 22px;
	height: 22px;
	stroke-width: 2.2;
}

.player-card:hover .player-card__arrow {
	background: var(--sh-red);
	color: var(--sh-white);
}

.roster__empty {
	margin: 37px 0 0;
	padding: 40px 16px;
	border: 1px dashed var(--sh-roster-card-line);
	border-radius: 8px;
	text-align: center;
	color: var(--sh-mist);
}

/* Grid view */
.roster__list--grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.roster__list--grid .player-card {
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto 1fr auto;
	align-items: start;
	padding: 0 0 16px;
}

.roster__list--grid .player-card__photo {
	grid-column: 1 / -1;
	aspect-ratio: 4 / 5;
	border-radius: 7px 7px 0 0;
}

.roster__list--grid .player-card__img {
	object-position: center top;
}

.roster__list--grid .player-card__body {
	grid-column: 1 / -1;
	padding: 16px 16px 0;
}

.roster__list--grid .player-card__name {
	gap: 12px;
	margin-top: 10px;
	font-size: 1.75rem;
	line-height: 32px;
}

.roster__list--grid .player-card__number {
	min-width: 40px;
	height: 32px;
	font-size: 1.5rem;
}

.roster__list--grid .player-card__hometown {
	grid-column: 1;
	justify-content: flex-start;
	padding: 10px 0 0 16px;
	text-align: left;
}

.roster__list--grid .player-card__hometown::before {
	content: none;
}

.roster__list--grid .player-card__arrow {
	grid-column: 2;
	grid-row: 3;
	align-self: end;
	width: 34px;
	height: 34px;
	margin-right: 16px;
}

/* Sponsors on this page sit 148px above the footer logo (design) */
.post-type-archive-sh_player .sponsors--compact.section {
	padding-bottom: clamp(56px, 5.7vw, 82px); /* + 6px marquee + 60px footer top = 148 */
}

@media (max-width: 1240px) {
	.player-card {
		grid-template-columns: 180px minmax(0, 1.2fr) minmax(0, 1fr) 39px;
		padding-right: 20px;
	}

	.player-card__hometown {
		padding-right: 24px;
	}
}

@media (max-width: 1100px) {
	.roster__head {
		grid-template-columns: 1fr;
		grid-template-areas: "title" "season" "controls" "teams";
	}

	.roster__controls {
		justify-content: flex-start;
		margin: 24px 0 0;
	}

	.roster__teams {
		justify-content: flex-start;
	}

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

/* Phones: compact cards (photo, facts, number + name, hometown) */
@media (max-width: 760px) {
	.roster__controls {
		gap: 10px;
	}

	.roster__controls .pill-select,
	.roster__sort {
		flex: 1 1 100%;
	}

	.roster__controls .pill-select__input,
	.roster__controls .pill-select--static {
		width: 100%;
	}

	.roster__sort .pill-select {
		flex: 1;
	}

	.roster__list {
		margin-top: 28px;
	}

	.roster__list--list {
		gap: 12px;
	}

	.roster__list--list .player-card {
		grid-template-columns: 104px minmax(0, 1fr);
		grid-template-rows: auto auto;
		align-items: start;
		min-height: 0;
		padding: 0;
	}

	.roster__list--list .player-card__photo {
		grid-row: 1 / span 2;
		min-height: 112px;
	}

	.roster__list--list .player-card__body {
		padding: 12px 14px 0 16px;
	}

	.roster__list--list .player-card__name {
		gap: 12px;
		margin-top: 8px;
		font-size: 1.625rem;
		line-height: 30px;
	}

	.roster__list--list .player-card__number {
		min-width: 38px;
		height: 30px;
		font-size: 1.375rem;
	}

	.roster__list--list .player-card__hometown {
		grid-column: 2;
		justify-content: flex-start;
		padding: 6px 14px 12px 16px;
		font-size: var(--sh-text-sm);
		text-align: left;
	}

	.roster__list--list .player-card__hometown::before,
	.roster__list--list .player-card__arrow {
		display: none;
	}

	.roster__list--grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.roster__list--grid .player-card__body {
		padding: 12px 12px 0;
	}

	.roster__list--grid .player-card__name {
		font-size: 1.375rem;
		line-height: 26px;
	}

	.roster__list--grid .player-card__number {
		min-width: 32px;
		height: 26px;
		font-size: 1.125rem;
	}

	.roster__list--grid .player-card__hometown {
		padding: 8px 12px 0;
		font-size: 0.8125rem;
	}

	.roster__list--grid .player-card__arrow {
		display: none;
	}
}

/* ==========================================================================
   Team Stats page (page-templates/team-stats.php)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Team Stats — page hero  (Team Stats design: band 1440 × 323; photo = right 840px)
   -------------------------------------------------------------------------- */
:root {
	--sh-stats-hero: linear-gradient(90deg, #062d1b 0%, #062617 30%, #062214 42%, #072315 100%);
}

.page-hero--stats {
	align-items: flex-start;
	min-height: 323px;
	background: var(--sh-stats-hero);
}

.page-hero--stats .page-hero__media {
	width: 58.34%; /* 840 / 1440 */
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%);
	mask-image: linear-gradient(90deg, transparent 0, #000 18%);
}

.page-hero--stats .page-hero__img {
	object-position: right center;
}

.page-hero--stats .page-hero__inner {
	padding-block: 72px 64px;
}

.page-hero--stats .page-hero__kicker {
	font: 400 1.25rem / 1.2 var(--sh-font-body); /* 20 */
	color: var(--sh-white);
}

.page-hero--stats .page-hero__title {
	margin-top: 5px;
	font-size: clamp(3.5rem, 1.5rem + 5.6vw, 6.25rem); /* 100 → 80px caps */
	line-height: 1;
}

.page-hero--stats .page-hero__intro {
	max-width: 28rem;
	margin-top: 1px;
	font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.25rem); /* 20 */
	line-height: 1.3;
	color: var(--sh-white);
}

@media (max-width: 800px) {
	.page-hero--stats {
		align-items: flex-end;
		min-height: 380px;
	}

	.page-hero--stats .page-hero__inner {
		padding-block: 40px 36px;
	}
}

/* --------------------------------------------------------------------------
   Team Stats — player statistics + team totals  (band 1440 × 916 on pine)
   Content column 1165px (137–1302). Heading 48px with a 9 × 37 red bar; 256 × 44
   season button; 61px tabs; table: 45px header, 43px rows, 46 × 35 number flags;
   4 totals cards 278 × 106.
   -------------------------------------------------------------------------- */
:root {
	--sh-stats-panel: #063620;      /* inactive tab */
	--sh-stats-line: #124c33;       /* tab outline */
	--sh-stats-head: #0a3925;       /* table header */
	--sh-stats-row: #052c1a;        /* odd rows */
	--sh-stats-row-alt: #063a24;    /* even rows */
	--sh-stats-edge: #113e2a;       /* table border */
	--sh-stats-pill: #02261a;       /* season button */
	--sh-stats-pill-line: #4b7b65;
	--sh-stats-card: #052e1c;       /* totals card */
	--sh-stats-card-line: #1a5a40;
	--sh-gold-bright: #e1a23b;      /* totals figures */
	--sh-tab-red-top: #d4111f;
	--sh-tab-red-bottom: #b20614;
}

.team-stats.section {
	padding-top: clamp(48px, 5.4vw, 78px);
	padding-bottom: clamp(56px, 4.9vw, 71px);
	background: var(--sh-pine);
}

@media (min-width: 1240px) {
	.team-stats .container {
		max-width: calc(1165px + var(--sh-gutter) * 2);
	}
}

.team-stats__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
}

.stats-heading {
	position: relative;
	margin: 0;
	padding-left: 31px;
	font-size: clamp(2.25rem, 1.4rem + 2vw, 3rem); /* 48 → 39px caps */
	line-height: 1;
}

.stats-heading::before { /* red bar, cap height */
	content: "";
	position: absolute;
	top: 0.105em;
	left: 0;
	width: 9px;
	height: 0.77em;
	background: var(--sh-red);
}

.stats-heading--sm {
	margin-top: 79px;
	padding-left: 20px;
	font-size: clamp(2rem, 1.4rem + 1.4vw, 2.5rem); /* 40 → 32px caps */
}

.stats-heading--sm::before {
	width: 8px;
	top: 0.12em;
	height: 0.75em;
}

/* Season button: native select dressed as the green outline pill */
.team-stats__season {
	position: relative;
	display: inline-flex;
	align-items: center;
	margin: 0;
}

.team-stats__season-input,
.team-stats__season--static {
	min-width: 256px;
	min-height: 44px;
	border: 2px solid var(--sh-stats-pill-line);
	border-radius: var(--sh-radius-pill);
	background: var(--sh-stats-pill);
	font: 400 1.125rem / 1 var(--sh-font-body); /* 18 */
	color: var(--sh-white);
}

.team-stats__season-input {
	padding: 0 52px 0 25px;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	transition: border-color 0.2s var(--sh-ease);
}

.team-stats__season-input:hover {
	border-color: var(--sh-white);
}

.team-stats__season-input option {
	background: var(--sh-pine);
}

.team-stats__season .icon {
	position: absolute;
	right: 24px;
	width: 16px;
	height: 16px;
	stroke-width: 2.4;
	color: var(--sh-white);
	pointer-events: none;
}

.team-stats__season--static {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 25px;
}

/* Tabs */
.stats-tabs {
	display: grid;
	grid-template-columns: 391fr 379fr 380fr;
	gap: 8px;
	margin-top: 26px;
}

.stats-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	min-height: 61px;
	padding: 0 16px;
	border: 2px solid var(--sh-stats-line);
	border-radius: 6px;
	background: var(--sh-stats-panel);
	font: 700 1.5rem / 1 var(--sh-font-display); /* 24 → 19px caps */
	text-transform: uppercase;
	color: var(--sh-white);
	cursor: pointer;
	transition: border-color 0.2s var(--sh-ease), background-color 0.2s var(--sh-ease);
}

.stats-tab:hover {
	border-color: var(--sh-stats-pill-line);
}

.stats-tab[aria-selected="true"] {
	border-color: transparent;
	background: linear-gradient(180deg, var(--sh-tab-red-top), var(--sh-tab-red-bottom));
	box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.stats-tab .icon {
	width: 28px;
	height: 28px;
	stroke-width: 1.5;
}

/* Table */
.stats-panel {
	margin-top: 33px;
}

.stats-table-wrap {
	overflow-x: auto;
	border: 2px solid var(--sh-stats-edge);
	border-radius: 6px;
	scrollbar-width: thin;
}

.stats-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: 1.125rem; /* 18 */
	line-height: 1.3;
	color: var(--sh-white);
	font-variant-numeric: tabular-nums;
}

.stats-table th,
.stats-table td {
	padding: 0 4px;
	text-align: center;
	white-space: nowrap;
}

.stats-table thead th {
	height: 45px;
	padding-bottom: 9px;
	background: var(--sh-stats-head);
	font: 700 1.0625rem / 1 var(--sh-font-display); /* 17 → 14px caps */
	text-transform: uppercase;
	vertical-align: middle;
}

.stats-table thead button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 0 2px;
	border: 0;
	background: none;
	font: inherit;
	text-transform: inherit;
	color: inherit;
	cursor: pointer;
}

.stats-table thead button:hover {
	color: var(--sh-gold-soft);
}

.stats-table abbr {
	text-decoration: none;
}

.stats-table [aria-sort="ascending"] button::after,
.stats-table [aria-sort="descending"] button::after { /* outside the label, so the label stays centred */
	content: "";
	position: absolute;
	left: 100%;
	top: 50%;
	width: 0;
	height: 0;
	margin: -2px 0 0 1px;
	border: 4px solid transparent;
	border-top-color: currentColor;
	transform: translateY(2px);
}


.stats-table [aria-sort="ascending"] button::after {
	border-top-color: transparent;
	border-bottom-color: currentColor;
	transform: translateY(-2px);
}

.stats-table tbody tr {
	height: 43.14px; /* 7 rows span 302px in the design */
	background: var(--sh-stats-row);
}

.stats-table tbody td,
.stats-table tbody th {
	padding-bottom: 6px; /* text sits 3px above centre in the design */
}

.stats-table tbody tr:nth-child(even) {
	background: var(--sh-stats-row-alt);
}

.stats-table tbody th {
	font-weight: 400;
}

.stats-table .stats-table__player {
	padding-left: 11px;
	text-align: left;
	overflow: hidden;
	text-overflow: ellipsis;
}

.stats-table thead .stats-table__player button {
	justify-content: flex-start;
	padding-left: 0;
}

.stats-table thead button {
	position: relative;
}

.stats-table__player a {
	color: var(--sh-white);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s var(--sh-ease);
}

.stats-table__player a:hover {
	text-decoration-color: var(--sh-gold);
}

.stats-table .stats-table__num {
	padding: 0;
	text-align: left;
}

.stats-table tbody .stats-table__num {
	padding-bottom: 3px;
}

.stats-table thead .stats-table__num button {
	padding-left: 17px;
}

.stats-flag { /* red arrow tag with the jersey number */
	display: flex;
	align-items: center;
	width: 46px;
	height: 35px;
	padding-left: 9px;
	background: var(--sh-red-deep);
	clip-path: polygon(0 0, 54% 0, 100% 50%, 54% 100%, 0 100%);
	font: 700 1rem / 1 var(--sh-font-display); /* 16 */
	color: var(--sh-white);
}

/* Batting columns: centres measured from the design (widths of a 1162px table) */
.stats-table--bat th:nth-child(1)  { width: 4.39%; }
.stats-table--bat th:nth-child(2)  { width: 14.2%; }
.stats-table--bat th:nth-child(3)  { width: 5.51%; }
.stats-table--bat th:nth-child(4)  { width: 4.56%; }
.stats-table--bat th:nth-child(5)  { width: 5.42%; }
.stats-table--bat th:nth-child(6)  { width: 4.39%; }
.stats-table--bat th:nth-child(7)  { width: 4.91%; }
.stats-table--bat th:nth-child(8)  { width: 4.56%; }
.stats-table--bat th:nth-child(9)  { width: 4.73%; }
.stats-table--bat th:nth-child(10) { width: 4.39%; }
.stats-table--bat th:nth-child(11) { width: 4.73%; }
.stats-table--bat th:nth-child(12) { width: 4.3%; }
.stats-table--bat th:nth-child(13) { width: 4.99%; }
.stats-table--bat th:nth-child(14) { width: 4.13%; }
.stats-table--bat th:nth-child(15) { width: 6.88%; }
.stats-table--bat th:nth-child(16) { width: 5.34%; }
.stats-table--bat th:nth-child(17) { width: 7.23%; }
.stats-table--bat th:nth-child(18) { width: 5.34%; }

/* Pitching / fielding: same first three columns, the rest share the space */
.stats-table--pit th:nth-child(1),
.stats-table--fld th:nth-child(1) { width: 4.39%; }
.stats-table--pit th:nth-child(2),
.stats-table--fld th:nth-child(2) { width: 14.2%; }
.stats-table--pit th:nth-child(3),
.stats-table--fld th:nth-child(3) { width: 5.51%; }

.team-stats__empty {
	margin: 33px 0 0;
	padding: 40px 16px;
	border: 1px dashed var(--sh-stats-line);
	border-radius: 6px;
	text-align: center;
	color: var(--sh-mist);
}

/* Team totals */
.totals {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 17px;
	margin: 25px 0 0;
	padding: 0;
	list-style: none;
}

.totals__card {
	display: grid;
	grid-template-columns: 51px minmax(0, 1fr);
	grid-template-areas: "icon label" "icon value";
	align-content: start;
	column-gap: 17px;
	min-height: 106px;
	padding: 13px 16px 12px 23px;
	border: 2px solid var(--sh-stats-card-line);
	border-radius: 8px;
	background: var(--sh-stats-card);
}

.totals__card .icon {
	grid-area: icon;
	align-self: center;
	width: 51px;
	height: 51px;
	stroke-width: 1.3;
	color: var(--sh-white);
}

.totals__label {
	grid-area: label;
	font-size: var(--sh-text-md); /* 16 */
	line-height: 1.3;
	color: var(--sh-white);
}

.totals__value {
	grid-area: value;
	font: 700 3.25rem / 1 var(--sh-font-display); /* 52 → 42px caps */
	color: var(--sh-gold-bright);
	font-variant-numeric: tabular-nums;
}

/* Sponsors on this page sit 148px above the footer logo (design) */
.page-template-page-templatesteam-stats-php .sponsors--compact.section {
	padding-bottom: clamp(56px, 5.7vw, 82px);
}

/* Narrower screens: the table scrolls sideways with # and Player kept in view */
@media (max-width: 1180px) {
	.stats-table {
		min-width: 1080px;
	}

	.stats-table--fld {
		min-width: 720px;
	}

	.stats-table .stats-table__num,
	.stats-table .stats-table__player {
		position: sticky;
		z-index: 1;
		background: inherit;
	}

	.stats-table .stats-table__num {
		left: 0;
	}

	.stats-table thead th:nth-child(1) { /* fixed, so the frozen Player column starts right after the flag */
		width: 51px;
	}

	.stats-table .stats-table__player {
		left: 51px;
		box-shadow: 6px 0 8px -6px rgba(0, 0, 0, 0.6);
	}

	.stats-table thead th.stats-table__num,
	.stats-table thead th.stats-table__player {
		background: var(--sh-stats-head);
	}

	.stats-table tbody tr {
		background: var(--sh-stats-row);
	}

	.stats-table tbody tr > * {
		background: inherit;
	}

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

@media (max-width: 760px) {
	.stats-tabs {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 6px;
	}

	.stats-tab {
		flex-direction: column;
		gap: 6px;
		min-height: 64px;
		padding: 8px 4px;
		font-size: 1.125rem;
	}

	.stats-tab .icon {
		width: 22px;
		height: 22px;
	}

	.team-stats__season,
	.team-stats__season-input,
	.team-stats__season--static {
		width: 100%;
	}

	.stats-heading--sm {
		margin-top: 56px;
	}

	.stats-table {
		font-size: var(--sh-text-md);
	}
}

@media (max-width: 520px) {
	.totals {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}
}

/* ==========================================================================
   Team Records page (page-templates/team-records.php)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Team Records — page hero  (design: band 1440 × 336 on board green; photo = right 800px)
   -------------------------------------------------------------------------- */
.page-hero--records {
	align-items: flex-start;
	min-height: 336px;
	background: var(--sh-board);
}

.page-hero--records .page-hero__media {
	width: 55.56%; /* 800 / 1440 */
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
	mask-image: linear-gradient(90deg, transparent 0, #000 22%);
}

.page-hero--records .page-hero__inner {
	padding-block: 75px 64px;
}

.page-hero--records .page-hero__kicker {
	font: 400 1.25rem / 1.2 var(--sh-font-body); /* 20 */
	color: var(--sh-white);
}

.page-hero--records .page-hero__title {
	margin-top: 4px;
	font-size: clamp(3.5rem, 1.4rem + 5.8vw, 6.375rem); /* 102 → 82px caps */
	line-height: 1;
}

.page-hero--records .page-hero__intro {
	max-width: 28rem;
	margin-top: 1px;
	font-size: clamp(1.0625rem, 0.9rem + 0.45vw, 1.3125rem); /* 21: first line ends after "season" */
	line-height: 1.3;
	color: var(--sh-white);
}

@media (max-width: 800px) {
	.page-hero--records {
		align-items: flex-end; /* text over the darkened foot of the photo, like the other inner heroes */
		min-height: 380px;
	}

	.page-hero--records .page-hero__inner {
		padding-block: 40px 36px;
	}
}

/* --------------------------------------------------------------------------
   Team Records — tabs, three record tables, overview  (band 1440 × 898 on pine)
   Tabs 1165 × 67; cards and banner run wider (1219px, x 111–1329), cards
   377 / 393 / 433 wide: photo header 117px, red table head 29px, 33px rows.
   -------------------------------------------------------------------------- */
:root {
	--sh-record-head-top: #d2172a;     /* table head gradient */
	--sh-record-head-bottom: #aa0d1e;
	--sh-overview-top: #d3182b;        /* overview banner gradient */
	--sh-overview-bottom: #a70c1c;
	--sh-record-shade: 9, 24, 17;      /* rgb, darkens the photo behind the card title */
}

.team-records.section {
	padding-top: clamp(48px, 5.5vw, 79px);
	padding-bottom: clamp(56px, 5.4vw, 78px);
	background: var(--sh-pine);
}

@media (min-width: 1240px) {
	.team-records .container {
		max-width: calc(1165px + var(--sh-gutter) * 2);
	}
}

/* Tabs: in-page links to the three tables */
.records-tabs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 7px;
}

.records-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	min-height: 67px;
	padding: 5px 16px 0; /* label sits 2.5px below centre in the design */
	border: 2px solid var(--sh-stats-line);
	border-radius: 6px;
	background: var(--sh-stats-panel);
	font: 700 1.375rem / 1 var(--sh-font-display); /* 22 → 18px caps */
	text-transform: uppercase;
	color: var(--sh-white);
	transition: border-color 0.2s var(--sh-ease), background-color 0.2s var(--sh-ease);
}

.records-tab:hover {
	border-color: var(--sh-stats-pill-line);
	color: var(--sh-white);
}

.records-tab[aria-current="true"] {
	border-color: transparent;
	background: linear-gradient(180deg, var(--sh-tab-red-top), var(--sh-tab-red-bottom));
	box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.records-tab .icon {
	flex: none;
	width: 31px;
	height: 31px;
	stroke-width: 1.6;
}

/* Cards */
.records-grid {
	display: grid;
	grid-template-columns: 377fr 393fr 433fr;
	gap: 7px;
	margin-top: 37px;
}

@media (min-width: 1300px) {
	.records-grid,
	.records-overview {
		margin-inline: -27px; /* the cards and banner run 27px past the tabs on both sides */
	}
}

.record-card {
	display: flex;
	flex-direction: column;
	border-radius: 8px;
	background: var(--sh-card-green);
	outline: none;
}

.record-card.is-flash {
	animation: sh-record-flash 1.2s var(--sh-ease-out-expo);
}

@keyframes sh-record-flash {
	0% { box-shadow: 0 0 0 3px var(--sh-red); }
	100% { box-shadow: 0 0 0 3px transparent; }
}

.record-card:focus-visible {
	box-shadow: 0 0 0 3px var(--sh-red);
}

.record-card__head {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-start;
	height: 117px;
	overflow: hidden;
	border: 1px solid var(--sh-white);
	border-radius: 8px 8px 0 0;
	background: var(--sh-pine);
}

.record-card__head picture,
.record-card__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
}

.record-card__img {
	object-fit: cover;
	object-position: right center;
}

.record-card__head::before { /* keeps the title readable on any photo */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(var(--sh-record-shade), 0.5) 0, rgba(var(--sh-record-shade), 0) 60%);
}

.record-card__title {
	position: relative;
	max-width: 150px; /* wraps onto two lines, as in the design */
	margin: 21px 0 0 36px;
	font-size: 1.875rem; /* 30 → 24px caps */
	line-height: 36px;
}

.record-card__title::before { /* red bar beside both lines */
	content: "";
	position: absolute;
	top: 7px;
	bottom: 7px;
	left: -17px;
	width: 6px;
	background: var(--sh-red);
}

.record-table {
	width: calc(100% - 24px);
	margin: 13px 12px 10px;
	border-collapse: collapse;
	table-layout: fixed;
	color: var(--sh-white);
	font-variant-numeric: tabular-nums;
}

.record-table thead th {
	height: 29px;
	padding: 0 4px 0 9px;
	background: linear-gradient(180deg, var(--sh-record-head-top), var(--sh-record-head-bottom));
	box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
	font: 700 0.6875rem / 1 var(--sh-font-body); /* 11 */
	text-align: left;
	text-transform: uppercase;
}

.record-table thead th:first-child {
	width: 53px;
	border-radius: 3px 0 0 3px;
}

.record-table thead th:nth-child(2) {
	width: 60px;
}

.record-table thead th:nth-child(3) {
	width: 55px;
}

.record-table thead th:last-child {
	border-radius: 0 3px 3px 0;
}

.record-table tbody tr {
	height: 33px;
}

.record-table tbody td,
.record-table tbody th {
	padding: 0 4px 0 8px;
	text-align: left;
	white-space: nowrap;
	vertical-align: middle;
}

.record-table__rank {
	font: 600 0.9375rem / 1 var(--sh-font-body); /* 15 */
}

.record-table tbody .record-table__rank {
	padding-left: 16px;
}

.record-table__value {
	font: 700 1.0625rem / 1 var(--sh-font-body); /* 17 */
}

.record-table tbody .record-table__year {
	font: 400 var(--sh-text-sm) / 1 var(--sh-font-body); /* 14 */
}

.record-table__details {
	overflow: hidden;
	font: 400 0.8125rem / 1 var(--sh-font-body); /* 13 */
	text-overflow: ellipsis;
}

.record-card__empty {
	margin: 13px 12px 12px;
	padding: 32px 12px;
	border: 1px dashed rgba(255, 255, 255, 0.3);
	border-radius: 6px;
	text-align: center;
	color: var(--sh-mist);
}

/* Overview banner */
.records-overview {
	display: grid;
	grid-template-columns: 69px minmax(0, 1fr);
	align-items: start;
	column-gap: 36px;
	min-height: 108px;
	margin-top: 32px;
	padding: 14px 32px 14px 31px;
	border-radius: 10px;
	background: linear-gradient(180deg, var(--sh-overview-top), var(--sh-overview-bottom));
	color: var(--sh-white);
}

.records-overview__icon {
	align-self: center;
	width: 69px;
	height: auto;
	color: var(--sh-white);
}

.records-overview__title {
	margin: 0;
	font-size: 2rem; /* 32 → 25px caps */
	line-height: 1;
}

.records-overview__text {
	max-width: 51rem; /* wraps after "run production," like the design */
	margin: 1px 0 0;
	font-size: 0.9375rem; /* 15 */
	line-height: 1.3;
	text-wrap: pretty;
}

/* Sponsors on this page sit 148px above the footer logo (design) */
.page-template-page-templatesteam-records-php .sponsors--compact.section {
	padding-bottom: clamp(56px, 5.7vw, 82px);
}

@media (max-width: 1100px) {
	.records-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.record-card {
		scroll-margin-top: calc(var(--sh-header-h) + 16px);
	}
}

@media (max-width: 760px) {
	.records-tabs {
		gap: 6px;
	}

	.records-tab {
		flex-direction: column;
		gap: 6px;
		min-height: 72px;
		padding: 8px 4px;
		font-size: 1rem;
		line-height: 1.1;
		text-align: center;
	}

	.records-tab .icon {
		width: 22px;
		height: 22px;
	}

	.records-grid {
		margin-top: 24px;
	}

	.record-table {
		width: calc(100% - 16px);
		margin-inline: 8px;
	}

	.record-table thead th:first-child {
		width: 42px;
	}

	.record-table thead th:nth-child(2) {
		width: 52px;
	}

	.record-table thead th:nth-child(3) {
		width: 50px;
	}

	.record-table tbody .record-table__rank {
		padding-left: 12px;
	}

	.record-table tbody .record-table__details { /* wrap instead of cutting off */
		padding-block: 6px;
		font-size: 0.75rem;
		line-height: 1.3;
		white-space: normal;
	}

	.records-overview {
		grid-template-columns: 1fr;
		row-gap: 12px;
		padding: 20px;
	}

	.records-overview__icon {
		width: 48px;
	}
}

/* ==========================================================================
   Player profile (single-sh_player.php + popup) — "Varsity Player Records" design
   Card 1128 × 1241: 101px header strip, 406px photo area, 96px info bar,
   223px bio panel, stats panel (68px head + 151px body), 220 × 65 close button.
   ========================================================================== */
:root {
	--sh-profile-line: #428566;     /* panel outlines, dividers */
	--sh-profile-strip: #3c7258;    /* line under the card header */
	--sh-profile-shade: 11, 26, 19; /* rgb, darkens the background photo */
	--sh-profile-stats: #0a1912;    /* stats body */
	--sh-position-text: #e0e0e0;
}

.player-profile {
	position: relative;
	max-width: 1128px;
	margin: 0 auto;
	padding-bottom: 46px;
	overflow: hidden;
	border: 1px solid var(--sh-card-green);
	border-radius: 16px;
	background: var(--sh-pine);
	color: var(--sh-white);
}

/* Header strip */
.player-profile__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 101px;
	padding: 0 23px 0 25px;
	border-bottom: 1px solid var(--sh-profile-strip);
}

.player-profile__brand {
	display: flex;
	align-items: center;
	gap: 26px;
}

.player-profile__logo {
	width: 56px;
	height: 56px;
	border-radius: 50%;
}

.player-profile__club {
	display: flex;
	flex-direction: column;
	gap: 9px;
	padding: 3px 0 0 26px;
	border-left: 1px solid var(--sh-white);
	line-height: 1;
}

.player-profile__club-name {
	font: 700 2rem / 1 var(--sh-font-display); /* 32 → 26px caps */
	text-transform: uppercase;
}

.player-profile__club-line {
	font: 700 0.75rem / 1.2 var(--sh-font-body); /* 12 */
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.player-profile__x {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 2px solid var(--sh-white);
	border-radius: 50%;
	color: var(--sh-white);
	transition: background-color 0.2s var(--sh-ease), color 0.2s var(--sh-ease);
}

.player-profile__x:hover {
	background: var(--sh-white);
	color: var(--sh-pine);
}

/* Photo area */
.player-profile__hero {
	position: relative;
	isolation: isolate;
	min-height: 406px;
}

.player-profile__bg,
.player-profile__bg picture {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.player-profile__bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 35%;
}

.player-profile__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(var(--sh-profile-shade), 0.66) 0%, rgba(var(--sh-profile-shade), 0.72) 55%, rgba(var(--sh-profile-shade), 0.9) 100%); /* deepest behind the position line */
}

.player-profile__photo {
	position: absolute;
	bottom: 0;
	left: 94px;
	z-index: -1;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 330px;
	height: 380px;
}

.player-profile__img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: bottom center;
}

.player-profile__crest {
	width: 160px;
	height: 160px;
	margin-bottom: 110px;
	opacity: 0.9;
}

.player-profile__intro {
	padding: 56px 32px 40px 473px;
}

.player-profile__number {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 116px;
	height: 54px;
	margin: 0;
	padding: 0 20px;
	font: 700 2.25rem / 1 var(--sh-font-display); /* 36 */
	color: var(--sh-white);
}

.player-profile__number::before { /* slanted red tag */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--sh-red);
	transform: skewX(-24deg);
	transform-origin: bottom left;
}

.player-profile__name {
	margin: 16px 0 0;
	line-height: 1;
}

.player-profile__first,
.player-profile__last {
	display: block;
}

.player-profile__first {
	font-size: clamp(2.75rem, 1.6rem + 3.6vw, 4.75rem); /* 76 → 61px caps */
	color: var(--sh-white);
}

.player-profile__last {
	margin-top: -3px;
	font-size: clamp(3rem, 1.6rem + 4.4vw, 5.4375rem); /* 87 → 70px caps */
	color: var(--sh-gold);
}

.player-profile__position {
	margin: 17px 0 0;
	font: 400 1.25rem / 1.2 var(--sh-font-body); /* 20 */
	letter-spacing: 0.5em;
	text-transform: uppercase;
	color: var(--sh-white); /* #E0E0E0 in the design; white keeps 4.5:1 over the photo */
}

/* Info bar */
.player-profile__facts {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	min-height: 96px;
	margin: 0 39px;
	padding: 0;
	border: 2px solid var(--sh-profile-line);
	border-radius: 16px;
	background: var(--sh-card-green);
}

.player-profile__fact {
	position: relative;
	display: grid;
	grid-template-columns: 34px auto;
	grid-template-areas: "icon label" "icon value";
	align-content: center;
	justify-content: center; /* the design centres each cell’s icon + text */
	column-gap: 21px;
	padding: 4px 8px 0;
}

.player-profile__fact + .player-profile__fact::before { /* divider */
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 2px;
	height: 62px;
	transform: translateY(-50%);
	background: var(--sh-profile-line);
}

.player-profile__fact .icon {
	grid-area: icon;
	align-self: center;
	width: 34px;
	height: 34px;
	stroke-width: 1.4;
}

.player-profile__fact dt {
	grid-area: label;
	white-space: nowrap;
	font: 400 0.9375rem / 1.3 var(--sh-font-body); /* 15 */
	text-transform: uppercase;
}

.player-profile__fact dd {
	grid-area: value;
	margin: 6px 0 0;
	overflow: hidden;
	font: 700 2.125rem / 1 var(--sh-font-display); /* 34 → 27px caps */
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Bio */
.player-profile__bio {
	position: relative;
	isolation: isolate;
	min-height: 223px;
	margin: 20px 39px 0;
	padding: 33px 36px 28px 38px;
	overflow: hidden;
	border: 2px solid var(--sh-profile-line);
	border-radius: 16px;
	background: var(--sh-card-green);
}

.player-profile__bio-photo,
.player-profile__bio-photo picture {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	width: 446px;
}

.player-profile__bio-photo {
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%);
	mask-image: linear-gradient(90deg, transparent 0, #000 30%);
}

.player-profile__bio-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.player-profile__heading {
	position: relative;
	margin: 0;
	padding-left: 16px;
	font-size: clamp(2.125rem, 1.6rem + 1.2vw, 2.6875rem); /* 43 → 35px caps */
	line-height: 1;
}

.player-profile__heading::before { /* red bar */
	content: "";
	position: absolute;
	top: 0.09em;
	left: 0;
	width: 5px;
	height: 0.8em;
	background: var(--sh-red);
}

.player-profile__bio-text {
	max-width: 31.5rem; /* wraps where the design does: "…who brings" / "…on and off" */
	margin-top: 12px;
	text-wrap: pretty;
	font-size: 1.25rem; /* 20 */
	line-height: 1.3;
}

.player-profile__bio-text p {
	margin: 0 0 0.6em;
}

.player-profile__bio-text p:last-child {
	margin-bottom: 0;
}

/* Season stats */
.player-profile__stats {
	margin: 25px 39px 0;
	overflow: hidden;
	border: 2px solid var(--sh-profile-line);
	border-radius: 4px;
}

.player-profile__stats-head {
	display: flex;
	align-items: center;
	gap: 22px;
	min-height: 66px;
	padding: 0 32px 0 38px;
	border-bottom: 2px solid var(--sh-profile-line);
	background: linear-gradient(90deg, var(--sh-card-green) 0%, var(--sh-card-green) 62%, var(--sh-red) 100%);
}

.player-profile__stats-head .icon {
	width: 32px;
	height: 32px;
	stroke-width: 1.6;
}

.player-profile__stats-head .player-profile__heading {
	padding-left: 0;
	font-size: clamp(2rem, 1rem + 1.85vw, 2.625rem); /* 42 → 34px caps */
}

.player-profile__stats-head .player-profile__heading::before {
	content: none;
}

.player-profile__season {
	margin-left: auto;
	font: 700 var(--sh-text-md) / 1 var(--sh-font-body);
	letter-spacing: 0.04em;
}

.player-profile__stat-list {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	min-height: 151px;
	margin: 0;
	background: var(--sh-profile-stats);
}

.player-profile__stat {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 12px 6px;
}

.player-profile__stat + .player-profile__stat::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 2px;
	height: 98px;
	transform: translateY(-50%);
	background: var(--sh-profile-line);
}

.player-profile__stat dt {
	font: 400 1.5rem / 1.2 var(--sh-font-body); /* 24 */
}

.player-profile__stat abbr {
	text-decoration: none;
}

.player-profile__stat dd {
	margin: 2px 0 0;
	font: 700 3.125rem / 1 var(--sh-font-display); /* 50 → 40px caps */
	font-variant-numeric: tabular-nums;
}

/* Close / back */
.player-profile__actions {
	display: flex;
	justify-content: flex-end;
	margin: 37px 39px 0;
}

.player-profile__close {
	display: inline-grid;
	place-items: center;
	min-width: 220px;
	min-height: 65px;
	padding: 0 28px;
	border-radius: 12px;
	background: var(--sh-red);
	font: 700 1.5rem / 1 var(--sh-font-body); /* 24 */
	text-transform: uppercase;
	color: var(--sh-white);
	transition: background-color 0.2s var(--sh-ease);
}

.player-profile__close:hover {
	background: var(--sh-red-hover);
	color: var(--sh-white);
}

.player-profile__close-page {
	display: none;
}

/* On the player's own page: the site header is above, so no card header; the button goes back */
.player-page.section {
	padding-block: clamp(32px, 4vw, 56px) clamp(48px, 5vw, 80px);
	background: var(--sh-pine);
}

.player-page .player-profile__top {
	display: none;
}

.player-page .player-profile__close-dialog {
	display: none;
}

.player-page .player-profile__close-page {
	display: inline;
}

/* Popup */
.player-dialog {
	width: min(1128px, calc(100vw - 32px));
	max-width: none;
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	overflow: auto;
	border: 0;
	border-radius: 16px;
	background: transparent;
	color: var(--sh-white);
	overscroll-behavior: contain;
}

.player-dialog::backdrop {
	background: rgba(4, 10, 7, 0.78);
}

.has-dialog {
	overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
	.player-dialog[open] {
		animation: sh-dialog-in 0.35s var(--sh-ease-out-expo);
	}

	@keyframes sh-dialog-in {
		from { opacity: 0; transform: translateY(16px); }
		to { opacity: 1; transform: none; }
	}
}

/* Narrower screens */
@media (max-width: 1100px) {
	.player-profile__intro {
		padding-left: 46%;
	}

	.player-profile__photo {
		left: 5%;
		width: 36%;
	}

	.player-profile__facts {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 0;
	}

	.player-profile__fact {
		min-height: 88px;
	}

	.player-profile__fact:nth-child(4)::before {
		content: none;
	}

	.player-profile__fact:nth-child(n + 4) {
		border-top: 2px solid var(--sh-profile-line);
	}

	.player-profile__bio-photo {
		display: none;
	}
}

@media (max-width: 760px) {
	.player-profile {
		padding-bottom: 24px;
	}

	.player-profile__top {
		min-height: 76px;
		padding: 0 14px 0 16px;
	}

	.player-profile__brand {
		gap: 14px;
	}

	.player-profile__logo {
		width: 44px;
		height: 44px;
	}

	.player-profile__club {
		padding-left: 14px;
		gap: 6px;
	}

	.player-profile__club-name {
		font-size: 1.5rem;
	}

	.player-profile__x {
		width: 44px;
		height: 44px;
	}

	.player-profile__hero {
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.player-profile__intro { /* name first, then the photo standing on the info bar */
		order: -1;
		padding: 28px 16px 0;
	}

	.player-profile__photo {
		position: relative;
		left: auto;
		align-self: center;
		width: min(78%, 300px);
		height: 300px;
		margin-top: 12px;
		z-index: 0;
	}

	.player-profile__number {
		min-width: 88px;
		height: 44px;
		font-size: 1.75rem;
	}

	.player-profile__position {
		font-size: 0.9375rem;
		letter-spacing: 0.3em;
	}

	.player-profile__facts,
	.player-profile__bio,
	.player-profile__stats,
	.player-profile__actions {
		margin-inline: 16px;
	}

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

	.player-profile__fact {
		grid-template-columns: 26px minmax(0, 1fr);
		column-gap: 12px;
		min-height: 76px;
		padding: 0 10px 0 14px;
	}

	.player-profile__fact .icon {
		width: 26px;
		height: 26px;
	}

	.player-profile__fact dt {
		font-size: 0.75rem;
	}

	.player-profile__fact dd {
		font-size: 1.625rem;
	}

	.player-profile__fact:nth-child(n)::before {
		content: none;
	}

	.player-profile__fact:nth-child(even) {
		border-left: 2px solid var(--sh-profile-line);
	}

	.player-profile__fact:nth-child(n + 3) {
		border-top: 2px solid var(--sh-profile-line);
	}

	.player-profile__fact:nth-child(5) {
		grid-column: 1 / -1;
	}

	.player-profile__bio {
		min-height: 0;
		padding: 24px 18px;
	}

	.player-profile__bio-text {
		font-size: 1.0625rem;
	}

	.player-profile__stats-head {
		gap: 12px;
		padding: 0 16px;
		background: linear-gradient(90deg, var(--sh-card-green) 0%, var(--sh-card-green) 45%, var(--sh-red) 100%);
	}

	.player-profile__stat-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.player-profile__stat {
		min-height: 96px;
	}

	.player-profile__stat:nth-child(4)::before {
		content: none;
	}

	.player-profile__stat:nth-child(n + 4) {
		border-top: 2px solid var(--sh-profile-line);
	}

	.player-profile__stat::before {
		height: 64px;
	}

	.player-profile__stat dt {
		font-size: var(--sh-text-md);
	}

	.player-profile__stat dd {
		font-size: 2.25rem;
	}

	.player-profile__actions {
		margin-top: 24px;
	}

	.player-profile__close {
		width: 100%;
		min-height: 56px;
		font-size: 1.125rem;
	}
}

/* ==========================================================================
   Records page — individual records (page-templates/records.php)
   ========================================================================== */

/* Hero: same layout as Team Records; this design's band is 334px and its photo the right 840px */
.page-template-page-templatesrecords-php .page-hero--records {
	min-height: 334px;
	background: linear-gradient(90deg, #06291a 0%, #062016 22%, #031c14 42%, #031c14 100%);
}

.page-template-page-templatesrecords-php .page-hero--records .page-hero__media {
	width: 58.34%; /* 840 / 1440 */
}

/* --------------------------------------------------------------------------
   Records — switch, heading, three record cards, two banners  (band 1440 × 1030)
   Content column 1165px; switch 1121 wide (2 × ~552, 18 gap, 55 tall); cards run
   wider (1205px, 3 × 397, 7 gap); banners 1164 × 90 and 1164 × 65.
   -------------------------------------------------------------------------- */
:root {
	--sh-holders-green: #0a4a2b;    /* left part of the record-holders banner */
	--sh-banner-red-top: #cd1629;   /* red banners, top → bottom */
	--sh-banner-red-bottom: #aa0d1e;
	--sh-tab-red-bottom-2: #b90816; /* switch: active tab bottom */
}

.indiv.section {
	padding-top: clamp(48px, 5.5vw, 79px);
	padding-bottom: clamp(56px, 5.6vw, 80px);
	background: var(--sh-pine);
}

@media (min-width: 1240px) {
	.indiv .container {
		max-width: calc(1165px + var(--sh-gutter) * 2);
	}
}

/* Individual / Team switch */
.records-switch {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 0 20px 0 24.5px; /* x 162–1283 in the design */
}

.records-switch__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 29px;
	min-height: 54px;
	padding: 4px 16px 0; /* label sits 2px below centre in the design */
	border: 2px solid var(--sh-stats-line);
	border-radius: 6px;
	background: var(--sh-stats-panel);
	font: 700 1.625rem / 1 var(--sh-font-display); /* 26 → 21px caps */
	text-transform: uppercase;
	color: var(--sh-white);
	transition: border-color 0.2s var(--sh-ease);
}

.records-switch__link:hover {
	border-color: var(--sh-stats-pill-line);
	color: var(--sh-white);
}

.records-switch__link[aria-current="page"] {
	border-color: transparent;
	background: linear-gradient(180deg, var(--sh-tab-red-top), var(--sh-tab-red-bottom-2));
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

.records-switch__link .icon {
	width: 26px;
	height: 28px;
	stroke-width: 2;
}

/* Heading row */
.indiv__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 24px;
	margin-top: 30px;
}

.indiv__title {
	margin: 0;
	font-size: clamp(2.25rem, 1.6rem + 1.4vw, 2.625rem); /* 42 → 34px caps */
	line-height: 1;
	color: var(--sh-gold);
}

.indiv__intro {
	margin: 0;
	font-size: clamp(0.9375rem, 0.85rem + 0.25vw, 1.0625rem); /* 17 */
	line-height: 1.3;
	color: var(--sh-white);
}

.indiv__all {
	display: inline-flex;
	align-items: center;
	gap: 24px;
	min-height: 42px;
	padding: 0 17px 0 19px;
	border: 0;
	border-radius: 4px;
	background: var(--sh-red-deep);
	font: 700 1.25rem / 1 var(--sh-font-display); /* 20 → 16px caps */
	text-transform: uppercase;
	color: var(--sh-white);
	cursor: pointer;
	transition: background-color 0.2s var(--sh-ease);
}

.indiv__all:hover {
	background: var(--sh-red);
}

.indiv__all .icon {
	width: 20px;
	height: 20px;
	stroke-width: 2.2;
	transition: transform 0.25s var(--sh-ease-out-expo);
}

.indiv__all[aria-expanded="true"] .icon {
	transform: rotate(90deg);
}

/* Cards */
.indiv-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 7px;
	margin-top: 36px;
}

@media (min-width: 1300px) {
	.indiv-cards {
		margin-inline: -20px; /* the cards run 20px past the content column on both sides */
	}
}

.indiv-card {
	display: flex;
	flex-direction: column;
	padding-bottom: 10px;
	overflow: hidden;
	border-radius: 8px;
	background: var(--sh-card-green);
}

.indiv-card__head {
	position: relative;
	isolation: isolate;
	height: 116px;
	overflow: hidden;
	border: 1px solid var(--sh-white);
	border-bottom: 0;
	border-radius: 8px 8px 0 0;
	background: var(--sh-pine);
}

.indiv-card__head picture,
.indiv-card__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
}

.indiv-card__img {
	object-fit: cover;
}

.indiv-card__head::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(var(--sh-record-shade), 0.55) 0, rgba(var(--sh-record-shade), 0) 60%);
}

.indiv-card__title {
	position: relative;
	max-width: 150px; /* two lines: BATTING / RECORDS */
	margin: 15px 0 0 35px;
	font-size: 2.1875rem; /* 35 → 28px caps */
	line-height: 42px;
}

.indiv-card__title::before {
	content: "";
	position: absolute;
	top: 4px;
	bottom: 4px;
	left: -16px;
	width: 6px;
	background: var(--sh-red);
}

.indiv-card__label {
	margin: 1px 0 0;
	padding: 0 12px;
	background: var(--sh-red);
	font: 700 1.1875rem / 31px var(--sh-font-display); /* 19 → 15px caps */
	text-align: center;
	text-transform: uppercase;
	color: var(--sh-white);
}

/* Leader */
.indiv-lead {
	display: grid;
	grid-template-columns: 70px minmax(0, 1fr) auto;
	align-items: start;
	column-gap: 16px;
	padding: 9px 11px 0 14px;
	min-height: 91px;
}

.indiv-lead__photo {
	display: grid;
	place-items: center;
	width: 70px;
	height: 74px;
	overflow: hidden;
	border-radius: 4px;
	background: var(--sh-board);
}

.indiv-lead__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.indiv-lead__crest {
	width: 44px;
	height: 44px;
}

.indiv-lead__who {
	min-width: 0;
	padding-top: 3px;
}

.indiv-lead__name {
	display: block;
	overflow: hidden;
	font: 700 1.6875rem / 1.1 var(--sh-font-display); /* 27 → 22px caps */
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.indiv-lead__name a {
	color: var(--sh-white);
}

.indiv-lead__name a:hover {
	text-decoration: underline;
	text-decoration-color: var(--sh-gold);
	text-underline-offset: 3px;
}

.indiv-lead__meta {
	display: block;
	margin-top: 5px;
	font-size: var(--sh-text-md); /* 16 */
	line-height: 1.3;
	color: var(--sh-white);
}

.indiv-lead__num {
	color: var(--sh-red-on-dark);
}

.indiv-lead__score {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 9px;
	padding-top: 1px;
}

.indiv-lead__value {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 83px;
	min-height: 52px;
	padding: 4px 8px;
	background: var(--sh-banner-red-top);
	font: 700 1.875rem / 1 var(--sh-font-display); /* 30 */
	color: var(--sh-white);
	font-variant-numeric: tabular-nums;
}

.indiv-lead__unit {
	margin-top: 3px;
	font-size: 0.6875rem; /* 11 */
	letter-spacing: 0.04em;
}

.indiv-lead__year {
	font: 700 0.8125rem / 1 var(--sh-font-body); /* 13 */
	text-transform: uppercase;
}

/* Records table */
.indiv-table {
	width: calc(100% - 16px);
	margin: 1px 8px 0;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: 0.8125rem; /* 13 */
	color: var(--sh-white);
	font-variant-numeric: tabular-nums;
}

.indiv-table thead th {
	height: 28px;
	padding: 0 4px 0 13px;
	background: linear-gradient(180deg, var(--sh-record-head-top), var(--sh-record-head-bottom));
	font: 700 0.8125rem / 1 var(--sh-font-display); /* 13 → 10px caps */
	text-align: left;
	text-transform: uppercase;
}

.indiv-table thead th:nth-child(1) { width: 36%; }
.indiv-table thead th:nth-child(2) { width: 33.5%; }
.indiv-table thead th:nth-child(3) { width: 17.5%; }

.indiv-table tbody tr {
	height: 31px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.indiv-table tbody tr:last-child {
	border-bottom: 0;
}

.indiv-table tbody th,
.indiv-table tbody td {
	padding: 0 4px 0 13px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: middle;
}

.indiv-table tbody th {
	padding-left: 12px;
	font-weight: 700;
	text-align: left;
}

.indiv-table tbody th .icon {
	display: inline-block;
	width: 13px;
	height: 13px;
	margin-right: 6px;
	vertical-align: -2px;
	color: var(--sh-gold-icon);
	stroke-width: 2;
}

.indiv-table tbody th span {
	vertical-align: middle;
}

.indiv-table a {
	color: var(--sh-white);
}

.indiv-table a:hover {
	text-decoration: underline;
	text-decoration-color: var(--sh-gold);
	text-underline-offset: 3px;
}

.indiv-table__value {
	color: var(--sh-red-on-dark);
}

.indiv-card__empty {
	margin: 12px;
	padding: 32px 12px;
	border: 1px dashed rgba(255, 255, 255, 0.3);
	border-radius: 6px;
	text-align: center;
	color: var(--sh-mist);
}

/* All-time record holders */
.holders {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: 339px minmax(0, 1fr);
	align-items: center;
	min-height: 90px;
	margin-top: 35px;
	overflow: hidden;
	border-radius: 8px;
	background: linear-gradient(180deg, var(--sh-banner-red-top), var(--sh-banner-red-bottom));
	color: var(--sh-white);
}

.holders::before { /* green lead with a slanted edge */
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	z-index: -1;
	width: 338px;
	background: var(--sh-holders-green);
	clip-path: polygon(0 0, 100% 0, calc(100% - 33px) 100%, 0 100%);
}

.holders__lead {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 0 24px 0 29px;
}

.holders__icon {
	flex: none;
	width: 69px;
	height: auto;
	color: var(--sh-white);
}

.holders__title {
	max-width: 160px;
	margin: 0;
	font-size: 1.625rem; /* 26 → 21px caps */
	line-height: 31px;
}

.holders__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.holders__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 10px 12px;
	text-align: center;
	font-family: var(--sh-font-display);
	line-height: 1.1;
}

.holders__item + .holders__item::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 2px;
	height: 66px;
	transform: translateY(-50%);
	background: var(--sh-white);
}

.holders__label {
	font-size: var(--sh-text-md); /* 16 */
	font-weight: 600;
}

.holders__name,
.holders__value {
	font-size: 1.25rem; /* 20 */
	font-weight: 700;
}

.holders__year {
	font-weight: 400;
}

/* Records information */
.records-info {
	display: grid;
	grid-template-columns: 36px auto minmax(0, 1fr);
	align-items: center;
	column-gap: 28px;
	min-height: 65px;
	margin-top: 35px;
	padding: 12px 32px 8px 30px;
	border-radius: 8px;
	background: linear-gradient(180deg, #d1182b, #a60c1d);
	color: var(--sh-white);
}

.records-info > .icon {
	width: 36px;
	height: 36px;
	stroke-width: 1.8;
}

.records-info__title {
	position: relative;
	margin: 0 0 0 8px; /* 36px from the icon */
	padding-right: 51px;
	font-size: 1.6875rem; /* 27 → 22px caps */
	line-height: 1;
	white-space: nowrap;
}

.records-info__title::after { /* divider */
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	width: 1px;
	height: 48px;
	transform: translateY(-50%);
	background: var(--sh-white);
}

.records-info__text {
	max-width: 46rem;
	margin: 0;
	font-size: var(--sh-text-sm); /* 14 */
	line-height: 1.3;
}

/* Sponsors on this page: caps 89px under the Follow strip, footer logo 141px under the tiles (design) */
.page-template-page-templatesrecords-php .sponsors--compact.section {
	padding-top: clamp(48px, 5.5vw, 79px);
	padding-bottom: clamp(56px, 5.2vw, 75px);
}

@media (max-width: 1100px) {
	.indiv-cards {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.holders {
		grid-template-columns: minmax(0, 1fr);
	}

	.holders::before {
		width: 100%;
		height: 90px;
		clip-path: none;
	}

	.holders__lead {
		min-height: 90px;
	}

	.holders__list {
		padding: 8px 0;
	}

	.records-info {
		grid-template-columns: 36px minmax(0, 1fr);
		row-gap: 8px;
		padding-block: 16px;
	}

	.records-info__title {
		padding-right: 0;
	}

	.records-info__title::after {
		content: none;
	}

	.records-info__text {
		grid-column: 1 / -1;
	}
}

@media (max-width: 760px) {
	.records-switch {
		margin: 0;
		gap: 8px;
	}

	.records-switch__link {
		gap: 10px;
		font-size: 1.125rem;
	}

	.records-switch__link .icon {
		width: 20px;
		height: 20px;
	}

	.indiv__all {
		width: 100%;
		justify-content: space-between;
	}

	/* Cards on phones: names wrap instead of being cut off */
	.indiv-lead {
		column-gap: 12px;
		padding-inline: 12px 10px;
	}

	.indiv-lead__name {
		font-size: 1.375rem;
		line-height: 1.15;
		white-space: normal;
	}

	.indiv-table thead th,
	.indiv-table tbody th,
	.indiv-table tbody td {
		padding-inline: 6px 2px;
	}

	.indiv-table thead th:nth-child(1) { width: 35%; }
	.indiv-table thead th:nth-child(2) { width: 33%; }
	.indiv-table thead th:nth-child(3) { width: 16%; }

	.indiv-table tbody th,
	.indiv-table tbody td {
		padding-block: 6px;
		line-height: 1.25;
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.indiv-table tbody th .icon {
		display: none;
	}

	.holders__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.holders__item + .holders__item::before {
		top: 0;
		left: 50%;
		width: 60%;
		height: 1px;
		transform: translateX(-50%);
	}

	.records-info__title {
		white-space: normal;
	}
}

/* ==========================================================================
   Info page (page-templates/info.php) — "Info page" design
   ========================================================================== */
:root {
	--sh-info-dark: #001d11;      /* hero base under the photo */
	--sh-contact-red: #ae1717;    /* contact form card */
	--sh-field-line: #b0b0b0;     /* form field border */
	--sh-info-divider: #94a49b;   /* rules in the hero + register band */
}

/* --------------------------------------------------------------------------
   Info hero  (band 1440 × 718): text column left, 538 × 565 contact card right
   -------------------------------------------------------------------------- */
.info-hero {
	position: relative;
	isolation: isolate;
	min-height: 718px;
	overflow: hidden;
	background: var(--sh-info-dark);
}

.info-hero__bg,
.info-hero__bg picture {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.info-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.info-hero__bg::after { /* keeps the text readable on any photo */
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 29, 17, 0.5) 0%, rgba(0, 29, 17, 0) 45%);
}

.info-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 538px;
	align-items: start;
	gap: 48px;
	padding-block: 61px 83px;
}

.info-hero__kicker {
	margin: 0;
	font: 700 1.125rem / 1.2 var(--sh-font-body); /* 18 */
	text-transform: uppercase;
	color: var(--sh-white);
}

.info-hero__title {
	margin: 1px 0 0;
	font-size: clamp(4rem, 2rem + 5.4vw, 6.4375rem); /* 103 → 83px caps */
	line-height: 1;
	color: var(--sh-white);
}

.info-hero__gold {
	color: var(--sh-gold);
}

.info-hero__intro {
	max-width: 27rem;
	margin: 5px 0 0;
	font-size: clamp(1.0625rem, 0.9rem + 0.45vw, 1.3125rem); /* 21 */
	line-height: 1.3;
	color: var(--sh-white);
	text-wrap: pretty;
}

/* Contact details */
.info-contact {
	max-width: 354px;
	margin: 22px 0 0;
	padding: 21px 0 15px;
	border-top: 1px solid var(--sh-info-divider);
	border-bottom: 1px solid var(--sh-info-divider);
	list-style: none;
	display: grid;
	gap: 12px;
}

.info-contact__item {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	align-items: start;
	column-gap: 31px;
}

.info-contact__icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 57px;
	border: 2px solid var(--sh-gold);
	border-radius: 8px;
	color: var(--sh-gold);
}

.info-contact__icon .icon {
	width: 26px;
	height: 26px;
	stroke-width: 1.6;
}

.info-contact__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 1px;
}

.info-contact__title {
	font: 700 1.5rem / 1 var(--sh-font-display); /* 24 → 19px caps */
	text-transform: uppercase;
	color: var(--sh-white);
}

.info-contact__text {
	display: flex;
	flex-direction: column;
	font-size: var(--sh-text-md); /* 16 */
	font-style: normal;
	line-height: 21px;
	color: var(--sh-white);
}

a.info-contact__text {
	display: inline;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s var(--sh-ease);
}

a.info-contact__text:hover {
	color: var(--sh-white);
	text-decoration-color: var(--sh-gold);
}

/* Social links */
.info-social {
	display: flex;
	gap: 20px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.info-social__link {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 2px solid var(--sh-white);
	border-radius: 50%;
	color: var(--sh-white);
	transition: background-color 0.2s var(--sh-ease), color 0.2s var(--sh-ease);
}

.info-social__link:hover {
	background: var(--sh-white);
	color: var(--sh-pine);
}

.info-social__link .icon {
	width: 22px;
	height: 22px;
	stroke-width: 1.8;
}

/* Contact card */
.contact-card {
	margin: 9px 0 0;
	padding: 20px 30px 34px 40px;
	border-radius: 14px;
	background: var(--sh-contact-red);
	color: var(--sh-white);
	box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
}

.contact-card__title {
	margin: 0;
	font-size: clamp(2.25rem, 1.7rem + 1.3vw, 2.875rem); /* 46 → 37px caps */
	line-height: 1;
}

.contact-card__intro {
	margin: 9px 0 0;
	font-size: 1.0625rem; /* 17 */
	line-height: 1.3;
}

.contact-card__notice {
	margin: 16px 0 -12px;
	padding: 10px 14px;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.22);
	font-size: var(--sh-text-sm);
	font-weight: 600;
	line-height: 1.35;
}

.contact-card__notice.is-ok {
	background: var(--sh-board);
}

.contact-card__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-card__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.contact-card__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 12px 0 0;
}

.contact-card__row .contact-card__field,
.contact-card__row + .contact-card__field {
	margin-top: 12px;
}

.contact-card__row {
	margin-top: 21px;
}

.contact-card__field label {
	font: 700 0.9375rem / 1.3 var(--sh-font-body); /* 15 */
}

.contact-card__field input,
.contact-card__field textarea {
	width: 100%;
	height: 39px;
	padding: 0 12px;
	border: 1px solid var(--sh-field-line);
	border-radius: 4px;
	background: var(--sh-white);
	font: 400 var(--sh-text-md) / 1.4 var(--sh-font-body);
	color: var(--sh-pine);
}

.contact-card__field textarea {
	height: 117px;
	min-height: 80px;
	padding-block: 8px;
	resize: vertical;
}

.contact-card__field input:focus-visible,
.contact-card__field textarea:focus-visible {
	outline: 3px solid var(--sh-white);
	outline-offset: 2px;
}

.contact-card__field [aria-invalid="true"] {
	border: 2px solid var(--sh-gold);
}

.contact-card__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	width: 100%;
	min-height: 50px;
	margin-top: 27px;
	border: 0;
	border-radius: 6px;
	background: #132b21;
	font: 700 1.6875rem / 1 var(--sh-font-display); /* 27 → 22px caps */
	text-transform: uppercase;
	color: var(--sh-white);
	cursor: pointer;
	transition: background-color 0.2s var(--sh-ease);
}

.contact-card__submit:hover {
	background: var(--sh-pine);
}

.contact-card__submit[disabled] {
	opacity: 0.7;
	cursor: progress;
}

.contact-card__submit .icon {
	width: 24px;
	height: 24px;
	stroke-width: 2.2;
}

/* --------------------------------------------------------------------------
   Info — Register band  (1440 × 447): text + three features left, 489 × 230 card right
   -------------------------------------------------------------------------- */
.join {
	position: relative;
	isolation: isolate;
	min-height: 447px;
	overflow: hidden;
	background: var(--sh-info-dark);
}

.join__bg,
.join__bg picture {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.join__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.join__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 29, 17, 0.45) 0%, rgba(0, 29, 17, 0) 45%);
}

.join__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 489px;
	align-items: start;
	gap: 40px;
	padding-block: 72px 72px;
}

.join__title {
	margin: 0;
	font-size: clamp(2.75rem, 1.6rem + 3vw, 4.0625rem); /* 65 → 52px caps */
	line-height: 1;
	color: var(--sh-gold);
}

.join__intro {
	max-width: 30rem;
	margin: 12px 0 0;
	font-size: 1.125rem; /* 18 */
	line-height: 1.3;
	color: var(--sh-white);
}

.join__features {
	display: flex;
	align-items: stretch;
	margin: 22px 0 0;
	padding: 0 0 0 19px;
	list-style: none;
}

.join__feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	width: min-content; /* wraps like the design: "All Skill / Levels" */
	font: 700 0.9375rem / 21px var(--sh-font-body); /* 15 */
	text-align: center;
	color: var(--sh-white);
}

.join__feature + .join__feature {
	position: relative;
	margin-left: 74px;
}

.join__feature + .join__feature::before { /* 3px rule, 79px tall */
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -38.5px;
	width: 3px;
	background: var(--sh-info-divider);
}

.join__icon {
	width: auto;
	height: 38px;
	color: var(--sh-gold);
}

.join__learn {
	display: inline-flex;
	align-items: center;
	gap: 22px;
	min-width: 252px;
	min-height: 42px;
	margin-top: 30px;
	padding: 0 24px;
	justify-content: center;
	border-radius: 6px;
	background: linear-gradient(180deg, var(--sh-tab-red-top), var(--sh-tab-red-bottom));
	font: 700 1.625rem / 1 var(--sh-font-display); /* 26 → 21px caps */
	text-transform: uppercase;
	color: var(--sh-white);
	transition: filter 0.2s var(--sh-ease);
}

.join__learn:hover {
	color: var(--sh-white);
	filter: brightness(1.1);
}

.join__learn .icon {
	width: 25px;
	height: 25px;
	stroke-width: 2.2;
}

.join-card {
	display: flex;
	flex-direction: column;
	justify-self: end;
	width: 489px;
	max-width: 100%;
	margin: 32px -5px 0 0; /* the card runs 5px past the content column */
	padding: 22px 27px 29px 28px;
	border-radius: 12px;
	background: var(--sh-red);
	color: var(--sh-white);
	box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
}

.join-card__title {
	font: 700 1.5625rem / 1.1 var(--sh-font-display); /* 25 → 20px caps */
	text-transform: uppercase;
}

.join-card__select {
	position: relative;
	display: flex;
	align-items: center;
	margin-top: 23px;
}

.join-card__select > .icon {
	position: absolute;
	left: 15px;
	width: 20px;
	height: 20px;
	color: var(--sh-pine);
	pointer-events: none;
}

.join-card__select select {
	width: 100%;
	min-height: 50px;
	padding: 0 44px 0 46px;
	border: 1px solid #4d5c56;
	border-radius: 4px;
	background: var(--sh-white);
	font: 400 1.125rem / 1 var(--sh-font-body); /* 18 */
	color: var(--sh-pine);
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.join-card__chevron {
	position: absolute;
	right: 16px;
	color: var(--sh-pine);
	pointer-events: none;
}

.join-card__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	min-height: 51px;
	margin-top: 27px;
	border: 0;
	border-radius: 6px;
	background: var(--sh-board);
	font: 700 1.75rem / 1 var(--sh-font-display); /* 28 → 22px caps */
	text-transform: uppercase;
	color: var(--sh-white);
	cursor: pointer;
	transition: background-color 0.2s var(--sh-ease);
}

.join-card__submit:hover {
	background: var(--sh-pine);
}

.join-card__submit .icon {
	width: 24px;
	height: 24px;
	stroke-width: 2.2;
}

/* Info page sponsors: same rhythm as the design's other inner pages */
.page-template-page-templatesinfo-php .sponsors--compact.section {
	padding-bottom: clamp(56px, 5.7vw, 82px);
}

@media (max-width: 1100px) {
	.info-hero__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
		gap: 32px;
	}

	.join__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
		gap: 32px;
	}

	.join-card {
		margin-right: 0;
	}
}

@media (max-width: 860px) {
	.info-hero__inner,
	.join__inner {
		grid-template-columns: minmax(0, 1fr);
		padding-block: 48px;
	}

	.info-hero__img {
		object-position: 20% center; /* the clean left part of the photo */
	}

	.info-hero__bg::after {
		background: rgba(0, 29, 17, 0.55);
	}

	.join__img {
		object-position: 10% center;
	}

	.join__bg::after {
		background: rgba(0, 29, 17, 0.6);
	}

	.contact-card,
	.join-card {
		margin: 8px 0 0;
	}
}

@media (max-width: 560px) {
	.contact-card {
		padding: 20px 18px 24px;
	}

	.contact-card__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.info-contact {
		max-width: none;
	}

	.info-contact__item {
		column-gap: 18px;
	}

	.join__features {
		justify-content: space-between;
	}

	.join__feature + .join__feature {
		margin-left: 24px;
	}

	.join__feature + .join__feature::before {
		left: -13.5px;
	}

	.join__learn {
		width: 100%;
	}

	.join-card {
		padding: 20px 18px 22px;
	}

	.join-card__submit {
		font-size: 1.5rem;
	}
}

/* ==========================================================================
   Registration page (page-templates/registration.php) — "Registration" design
   Band 1440 × 731: intro + three steps left, 517 × 572 season card right.
   ========================================================================== */
:root {
	--sh-reg-dark: #1a2a22;      /* under the photo */
	--sh-reg-rule: #bdc3b9;      /* step dividers */
}

.reg-hero {
	position: relative;
	isolation: isolate;
	min-height: 731px;
	overflow: hidden;
	background: var(--sh-reg-dark);
}

.reg-hero__bg,
.reg-hero__bg picture {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.reg-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* The bundled photo is already darkened; an uploaded one gets the same treatment here. */
.reg-hero--photo .reg-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(11, 26, 19, 0.82) 0%, rgba(11, 26, 19, 0.62) 55%, rgba(11, 26, 19, 0.5) 100%);
}

.reg-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 517px;
	align-items: start;
	gap: 48px;
	padding-block: 76px 80px;
}

.reg-hero__kicker {
	margin: 0;
	font: 700 1.9375rem / 1 var(--sh-font-display); /* 31 → 25px caps */
	text-transform: uppercase;
	color: var(--sh-white);
}

.reg-hero__title {
	margin: 6px 0 0;
	font-size: clamp(3.5rem, 1rem + 6.7vw, 7rem); /* 112 → 90px caps */
	line-height: 1;
	color: var(--sh-white);
}

.reg-hero__gold {
	color: var(--sh-gold);
}

.reg-hero__intro {
	max-width: 30rem;
	margin: 0;
	font-size: clamp(1.125rem, 0.9rem + 0.8vw, 1.625rem); /* 26 */
	line-height: 1.3;
	color: var(--sh-white);
	text-wrap: pretty;
}

/* Steps */
.reg-steps {
	max-width: 500px;
	margin: 31px 0 0;
	padding: 0;
	list-style: none;
}

.reg-step {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	align-items: center;
	column-gap: 43px;
	min-height: 74px;
	padding: 20px 0 18px;
	border-top: 2px solid var(--sh-reg-rule);
}

.reg-step:first-child {
	padding-top: 0;
	border-top: 0;
}

.reg-step:last-child {
	padding-bottom: 0;
}

.reg-step__icon {
	display: grid;
	place-items: center;
	width: 76px;
	height: 74px;
	border: 2px solid var(--sh-gold);
	border-radius: 10px;
	color: var(--sh-gold);
}

.reg-step__icon .icon {
	width: 40px;
	height: 40px;
	stroke-width: 1.4;
}

.reg-step__body {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.reg-step__title {
	font: 700 2rem / 0.85 var(--sh-font-display); /* 32 → 26px caps, one line */
	text-transform: uppercase;
	color: var(--sh-white);
}

.reg-step__text {
	max-width: 22rem; /* wraps like the design */
	font-size: 1.25rem; /* 20 */
	line-height: 1.3;
	color: var(--sh-white);
}

/* Season card */
.reg-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-self: end;
	width: 517px;
	max-width: 100%;
	min-height: 572px;
	margin: 3px -6px 0 0; /* runs 6px past the content column, as in the design */
	padding: 37px 37px 36px;
	border-radius: 24px;
	background: var(--sh-red);
	color: var(--sh-white);
	text-align: center;
	box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
}

.reg-card__crest {
	width: 135px;
	height: 135px;
	border-radius: 50%;
}

.reg-card__title {
	max-width: 100%;
	margin: 19px 0 0;
	font-size: clamp(2.25rem, 1.6rem + 1.6vw, 2.8125rem); /* 45 → 36px caps */
	line-height: 52px;
}

.reg-card__form {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-top: 29px;
}

.reg-card__select {
	position: relative;
	display: flex;
	align-items: center;
}

.reg-card__select > .icon {
	position: absolute;
	left: 20px;
	width: 26px;
	height: 26px;
	color: var(--sh-pine);
	pointer-events: none;
}

.reg-card__select select {
	width: 100%;
	min-height: 55px;
	padding: 0 52px 0 58px;
	border: 2px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	background: var(--sh-white);
	font: 400 1.4375rem / 1 var(--sh-font-body); /* 23 */
	color: var(--sh-pine);
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.reg-card__select select[aria-invalid="true"] {
	border-color: var(--sh-gold);
	box-shadow: 0 0 0 2px var(--sh-gold);
}

.reg-card__chevron {
	position: absolute;
	right: 22px;
	color: var(--sh-pine);
	pointer-events: none;
}

.reg-card__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 26px;
	min-height: 68px;
	margin-top: 29px;
	border: 0;
	border-radius: 8px;
	background: linear-gradient(180deg, #1b4332, var(--sh-board));
	font: 700 2.25rem / 1 var(--sh-font-display); /* 36 → 29px caps */
	text-transform: uppercase;
	color: var(--sh-white);
	cursor: pointer;
	transition: filter 0.2s var(--sh-ease);
}

.reg-card__submit:hover {
	filter: brightness(1.15);
}

.reg-card__submit .icon {
	width: 32px;
	height: 32px;
	stroke-width: 2;
}

.reg-card__output {
	margin: 12px 0 0;
	font-size: var(--sh-text-sm);
	font-weight: 600;
	line-height: 1.35;
}

.reg-card__output:empty {
	display: none;
}

.reg-card__closed {
	margin: 29px 0 0;
	font-size: var(--sh-text-md);
	line-height: 1.4;
}

.reg-card__back {
	margin-top: 30px;
	font-size: 1.375rem; /* 22 */
	line-height: 1.3;
	color: var(--sh-white);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
}

.reg-card__back:hover {
	color: var(--sh-white);
	text-decoration-thickness: 2px;
}

/* At full width the design sets the band 4px (text) and 14px (card) further right than the grid. */
@media (min-width: 1340px) {
	.reg-hero__text {
		padding-left: 4px;
	}

	.reg-card {
		margin-right: -14px;
	}
}

/* Registration page games strip: the design gives it 8px more above and 12px more below */
.page-template-page-templatesregistration-php .games.section {
	padding-top: clamp(48px, 5.2vw, 75px);
	padding-bottom: clamp(48px, 5.6vw, 80px);
}

/* Registration page sponsors: same rhythm as the design's other inner pages */
.page-template-page-templatesregistration-php .sponsors--compact.section {
	padding-bottom: clamp(56px, 5.7vw, 82px);
}

@media (max-width: 1100px) {
	.reg-hero__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
		gap: 32px;
	}

	.reg-card {
		margin-right: 0;
	}
}

@media (max-width: 860px) {
	.reg-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		padding-block: 48px;
	}

	.reg-hero__img {
		object-position: 30% center;
	}

	.reg-card {
		min-height: 0;
		margin: 8px 0 0;
	}
}

@media (max-width: 560px) {
	.reg-step {
		grid-template-columns: 60px minmax(0, 1fr);
		column-gap: 18px;
	}

	.reg-step__icon {
		width: 60px;
		height: 58px;
	}

	.reg-step__icon .icon {
		width: 30px;
		height: 30px;
	}

	.reg-step__title {
		font-size: 1.5rem;
	}

	.reg-step__text {
		font-size: var(--sh-text-md);
		line-height: 1.35;
	}

	.reg-card {
		padding: 28px 18px 26px;
		border-radius: 18px;
	}

	.reg-card__crest {
		width: 104px;
		height: 104px;
	}

	.reg-card__title {
		line-height: 1.15;
	}

	.reg-card__select select {
		font-size: 1.125rem;
	}

	.reg-card__submit {
		min-height: 58px;
		font-size: 1.75rem;
	}

	.reg-card__back {
		font-size: 1.125rem;
	}
}

/* ==========================================================================
   Hall of Fame (archive-sh_inductee.php, single-sh_inductee.php)
   "Hall of fame" + "Hall Of Fame Individual" designs: 306px photo banners, shared games
   strip, 4 × 277px inductee cards (18 gap), red about band; profile = 407px photo card
   + body (name, badges, bio, career highlights band).
   ========================================================================== */
:root {
	--sh-hof-card-top: #0e3a21;     /* inductee card gradient */
	--sh-hof-card-bottom: #052314;
	--sh-hof-band-top: #c40f2c;     /* red bands */
	--sh-hof-band-bottom: #aa0e21;
	--sh-hof-badge-top: #cf101d;    /* number badge, highlights band */
	--sh-hof-badge-bottom: #a6010f;
	--sh-hof-photo: #0b301c;        /* profile photo card */
	--sh-hof-glow: #1e7d48;         /* green glow behind the profile photo */
}

/* Banners: full-width photo, text on the dark left side */
.page-hero--hof,
.page-hero--hof-single {
	align-items: flex-start;
	min-height: 306px;
	background: var(--sh-pine);
}

.page-hero--hof .page-hero__media,
.page-hero--hof-single .page-hero__media {
	inset: 0;
	width: 100%;
	-webkit-mask-image: none;
	mask-image: none;
}

.page-hero--hof .page-hero__img,
.page-hero--hof-single .page-hero__img {
	object-position: right center;
}

.page-hero--hof .page-hero__inner {
	padding-block: 67px 48px;
}

.page-hero--hof-single .page-hero__inner {
	padding-block: 77px 48px;
}

.page-hero--hof .page-hero__kicker {
	font: 400 1.25rem / 1.2 var(--sh-font-body); /* 20 */
}

.page-hero--hof-single .page-hero__kicker {
	font: 700 1.25rem / 1.2 var(--sh-font-body); /* 20 */
}

.page-hero--hof .page-hero__title,
.page-hero--hof-single .page-hero__title {
	margin-top: 1px;
	font-size: clamp(3.5rem, 1.25rem + 5.95vw, 6.25rem); /* 100 → 80px caps */
	line-height: 1;
}

.page-hero--hof .page-hero__intro {
	max-width: 30rem;
	margin-top: -3px;
	font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.25rem); /* 20 */
	line-height: 1.3;
}

.page-hero--hof-single .page-hero__title {
	margin-top: -2px;
}

.page-hero--hof-single .page-hero__intro {
	margin-top: 1px;
	font: 700 1.25rem / 1.2 var(--sh-font-body); /* 20 */
	text-transform: uppercase;
}

/* Games strip sits on the page colour on the list page (raised panel on profiles) */
.post-type-archive-sh_inductee .games.section {
	background: var(--sh-pine);
}

/* Inductees */
.hof.section {
	padding-block: 36px 106px;
}

.hof__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
}

.hof__title {
	margin: 0;
	font-size: clamp(2.25rem, 1.6rem + 1.8vw, 3.1875rem); /* 51 → 41px caps */
	line-height: 1;
	text-transform: uppercase;
	color: var(--sh-gold);
}

.hof__filter {
	display: flex;
	gap: 8px;
}

.hof__select {
	position: relative;
	display: flex;
	align-items: center;
}

.hof__select select {
	width: 212px;
	min-height: 40px;
	padding: 0 52px 0 24px;
	border: 0;
	border-radius: var(--sh-radius-pill);
	background: var(--sh-red-deep);
	font: 400 1.0625rem / 1 var(--sh-font-body); /* 17 */
	color: var(--sh-white);
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	transition: background-color 0.2s var(--sh-ease);
}

.hof__select select:hover {
	background: var(--sh-red);
}

.hof__select select:focus-visible {
	outline: 2px solid var(--sh-gold);
	outline-offset: 3px;
}

.hof__select option {
	background: var(--sh-white);
	color: var(--sh-pine);
}

.hof__chevron {
	position: absolute;
	right: 22px;
	color: var(--sh-white);
	pointer-events: none;
}

.hof__go {
	min-height: 40px;
	padding: 0 18px;
	border: 2px solid var(--sh-white);
	border-radius: var(--sh-radius-pill);
	background: transparent;
	font-weight: 700;
	color: var(--sh-white);
	cursor: pointer;
}

.hof__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin: 48px 0 0;
	padding: 0;
	list-style: none;
}

.hof-card[hidden] {
	display: none;
}

@media (min-width: 1001px) {
	.hof__grid .hof-card__link {
		height: 336px;
		aspect-ratio: auto;
	}
}

.hof-card__link {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	aspect-ratio: 277 / 336;
	overflow: hidden;
	border-radius: 20px;
	background: linear-gradient(180deg, var(--sh-hof-card-top) 0%, var(--sh-hof-card-bottom) 100%);
	color: var(--sh-white);
	text-decoration: none;
}

.hof-card__photo {
	position: absolute;
	inset: 0 0 31.25% 0; /* down to the band: 105 / 336 */
}

.hof-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 0;
	filter: grayscale(1);
	transition: transform 0.4s var(--sh-ease);
	transform-origin: 50% 100%;
}

.hof-card__photo--empty {
	display: grid;
	place-items: center;
}

.hof-card__crest {
	width: 42%;
	height: auto;
	opacity: 0.35;
}

.hof-card__band {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	min-height: 31.25%;
	padding: 13px 14px 2px;
	border-radius: 20px;
	background: linear-gradient(180deg, var(--sh-hof-band-top) 0%, var(--sh-hof-band-bottom) 100%);
	text-align: center;
	transition: filter 0.2s var(--sh-ease);
}

.hof-card__name,
.hof-card__number {
	font: 700 clamp(1.625rem, 1.2rem + 1vw, 2.1875rem) / 1.37 var(--sh-font-display); /* 35 → 28px caps */
	text-transform: uppercase;
}

.hof-card__name {
	line-height: 1.1;
	text-wrap: balance;
}

.hof-card__number {
	margin-top: 6px;
	line-height: 1.37;
}

.hof-card__link:hover .hof-card__img {
	transform: scale(1.04);
}

.hof-card__link:hover .hof-card__band {
	filter: brightness(1.12);
}

.hof-card__link:focus-visible {
	outline: 3px solid var(--sh-gold);
	outline-offset: 3px;
}

.hof__empty {
	margin: 40px 0 0;
	font-size: var(--sh-text-md);
	color: var(--sh-white);
}

/* About band */
.hof-about {
	display: flex;
	align-items: center;
	min-height: 120px;
	margin-top: 58px;
	padding: 15px 30px 14px 0;
	border-radius: 12px;
	background: linear-gradient(180deg, var(--sh-hof-band-top) 0%, var(--sh-hof-band-bottom) 100%);
	color: var(--sh-white);
}

.hof-about__title {
	flex: 0 0 275px;
	margin: 0;
	padding: 0 36px 0 73px;
	text-wrap: balance;
	font-size: 2.1875rem; /* 35 → 28px caps */
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--sh-white);
}

.hof-about__text {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	padding: 0 24px 0 46px;
	border-left: 2px solid var(--sh-white);
	font-size: 0.875rem; /* 14 */
	line-height: 22px;
}

.hof-about__lead {
	display: block;
	margin-bottom: 4px;
	font-size: 1rem; /* 16 */
	font-weight: 700;
	line-height: 1.3;
}

.hof-about__items {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hof-about__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 0 43px;
	font: 700 0.9375rem / 1.3 var(--sh-font-body); /* 15 */
	text-align: center;
}

.hof-about__item span {
	width: min-content; /* one word per line, as in the design */
}

.hof-about__item + .hof-about__item {
	border-left: 2px solid var(--sh-white);
}

.hof-about__icon {
	width: auto;
	height: 43px;
}

/* Profile */
.hof-profile.section {
	padding-block: 66px 67px;
}

.hof-profile__back {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-left: 9px;
	font: 600 1rem / 1.3 var(--sh-font-body); /* 16 */
	color: var(--sh-white);
	text-decoration: none;
}

.hof-profile__back .icon {
	width: 22px;
	height: 22px;
	transform: scaleX(-1);
	transition: transform 0.2s var(--sh-ease);
}

.hof-profile__back:hover {
	color: var(--sh-gold);
}

.hof-profile__back:hover .icon {
	transform: scaleX(-1) translateX(4px);
}

.hof-profile__grid {
	display: grid;
	grid-template-columns: 407px minmax(0, 1fr);
	gap: 61px;
	align-items: start;
	margin-top: 37px;
}

.hof-profile__photo {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	aspect-ratio: 407 / 578;
	overflow: hidden;
	border-radius: 24px;
	background: radial-gradient(ellipse 62% 48% at 50% 41%, var(--sh-hof-glow) 0%, var(--sh-hof-photo) 100%);
}

.hof-profile__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 0;
	filter: grayscale(1);
}

.hof-profile__photo--empty {
	align-items: center;
}

.hof-profile__crest {
	width: 40%;
	height: auto;
	opacity: 0.35;
}

.hof-profile__name {
	margin: 6px 0 0;
	font-size: clamp(2.75rem, 1.6rem + 3.2vw, 4.25rem); /* 68 → 55px caps */
	line-height: 1;
	text-transform: uppercase;
	color: var(--sh-white);
}

.hof-profile__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 0;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.hof-profile__number {
	display: grid;
	place-items: center;
	min-width: 121px;
	min-height: 55px;
	padding: 2px 16px 0;
	background: linear-gradient(180deg, var(--sh-hof-badge-top) 0%, var(--sh-hof-badge-bottom) 100%);
	font: 700 2.9375rem / 1 var(--sh-font-display); /* 47 → 38px caps */
	color: var(--sh-white);
}

.hof-profile__badge {
	display: flex;
	align-items: center;
	gap: 13px;
	min-height: 50px;
	font: 700 1.5rem / 1 var(--sh-font-display); /* 24 → 19px caps */
	text-transform: uppercase;
	color: var(--sh-white);
}

.hof-profile__meta > li + li {
	margin-left: 32px;
	padding-left: 31px;
	border-left: 2px solid var(--sh-white);
}

.hof-profile__badge:last-child {
	font-size: 1.375rem; /* 22 → 18px caps */
	line-height: 27px;
}

.hof-profile__icon {
	flex: none;
	width: auto;
	height: 42px;
	color: var(--sh-gold);
}

.hof-profile__icon--cap {
	height: 43px;
}

.hof-profile__bio {
	margin-top: 18px;
	font-size: 1.125rem; /* 18 */
	line-height: 1.3;
	color: var(--sh-white);
}

.hof-profile__bio > * {
	margin: 0;
	text-wrap: pretty;
}

.hof-profile__bio > * + * {
	margin-top: 10px;
}

.hof-profile__heading {
	margin: 5px 0 0; /* the bio runs a little taller than the design (1.3 line height) */
	font-size: clamp(2rem, 1.6rem + 1.1vw, 2.5rem); /* 40 → 32px caps */
	line-height: 1;
	text-transform: uppercase;
	color: var(--sh-gold);
}

.hof-highlights {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 151px;
	margin: 17px 0 0;
	padding: 12px 12px 12px 17px;
	border-radius: 8px;
	background: linear-gradient(180deg, var(--sh-hof-badge-top) 0%, var(--sh-hof-badge-bottom) 100%);
	list-style: none;
	color: var(--sh-white);
}

.hof-highlights__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 7.5em;
	font: 700 1rem / 1.3 var(--sh-font-body); /* 16 */
	text-align: center;
	text-transform: uppercase;
}

.hof-highlights__sep {
	align-self: center;
	width: 2px;
	height: 98px;
	background: var(--sh-white);
}

.hof-highlights__icon {
	width: auto;
	height: 40px;
	margin-bottom: 8px;
}

.hof-highlights__value {
	margin-bottom: 0;
	font: 700 2.1875rem / 1 var(--sh-font-display); /* 35 → 28px caps */
}

/* Sponsors below follow: same rhythm as the design's other inner pages */
.post-type-archive-sh_inductee .sponsors--compact.section,
.single-sh_inductee .sponsors--compact.section {
	padding-bottom: clamp(56px, 5.7vw, 82px);
}

@media (max-width: 1100px) {
	.hof-about {
		flex-wrap: wrap;
		row-gap: 20px;
		padding: 24px 28px;
	}

	.hof-about__title {
		flex-basis: auto;
		padding-left: 0;
		padding-right: 32px;
	}

	.hof-about__items {
		flex-basis: 100%;
		justify-content: center;
	}

	.hof-profile__grid {
		grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
		gap: 40px;
	}

	.hof-highlights {
		flex-wrap: wrap;
		justify-content: center;
		gap: 20px 28px;
		padding: 24px;
	}

	.hof-highlights__sep {
		display: none;
	}
}

@media (max-width: 1000px) {
	.hof__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hof-card__band {
		justify-content: center;
		padding: 10px 10px 8px;
	}
}

@media (max-width: 560px) {
	.hof__grid {
		gap: 12px;
		margin-top: 28px;
	}

	.hof-card__link,
	.hof-card__band {
		border-radius: 14px;
	}

	.hof-card__name,
	.hof-card__number {
		font-size: 1.375rem;
	}

	.hof-card__number {
		margin-top: 2px;
		line-height: 1.1;
	}
}

@media (max-width: 860px) {
	.hof-profile__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.hof-profile__photo {
		width: 100%;
		max-width: 407px;
	}

	.hof-profile.section {
		padding-block: 48px;
	}

	.hof-profile__heading {
		margin-top: 24px;
	}
}

@media (max-width: 640px) {
	.page-hero--hof .page-hero__media,
	.page-hero--hof-single .page-hero__media {
		opacity: 0.55;
	}

	.page-hero--hof .page-hero__inner,
	.page-hero--hof-single .page-hero__inner {
		padding-block: 48px 40px;
	}

	.hof.section {
		padding-bottom: 64px;
	}

	.hof__select select {
		width: 100%;
		min-width: 200px;
	}

	.hof-about__title {
		flex-basis: 100%;
		padding-right: 0;
	}

	.hof-about__text {
		flex-basis: 100%;
		padding: 16px 0 0;
		border-top: 2px solid var(--sh-white);
		border-left: 0;
	}

	.hof-about__items {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.hof-about__item {
		padding: 0 6px;
	}

	.hof-profile__meta > li + li {
		margin-left: 18px;
		padding-left: 17px;
	}

	.hof-profile__meta > li.hof-profile__badge:last-child:not(:first-child) {
		flex-basis: 100%;
		margin-left: 0;
		padding-left: 0;
		border-left: 0;
	}

	.hof-profile__badge {
		font-size: 1.25rem;
	}

	.hof-profile__badge:last-child {
		font-size: 1.125rem;
		line-height: 1.3;
	}

	.hof-profile__icon {
		height: 32px;
	}
}

@media (max-width: 480px) {
	.hof-highlights {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hof-highlights__item {
		max-width: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hof-card__img,
	.hof-profile__back .icon {
		transition: none;
	}
}

/* ==========================================================================
   Donations page (page-templates/donations.php) — "Donations" design
   362px photo banner, shared games strip, then a 1197px-wide foundation block:
   4 × 286px level cards (17 / 25 gaps), custom amount bar (115), benefits strip (86).
   ========================================================================== */
:root {
	--sh-don-card: #1b4332;         /* level cards, custom bar */
	--sh-don-red-top: #d3121f;      /* badges, red bar, button */
	--sh-don-red-bottom: #a6010f;
	--sh-don-pink: #fbe9ea;         /* benefits strip */
	--sh-don-ink: #0f3a22;          /* benefits text */
	--sh-don-rule: #e2c9cb;         /* benefits dividers */
	--sh-don-field-border: #bbbbbb;
	--sh-don-placeholder: #767676;
}

/* Banner */
.page-hero--donate {
	align-items: flex-start;
	min-height: 362px;
	background: var(--sh-pine);
}

.page-hero--donate .page-hero__media {
	inset: 0;
	width: 100%;
	-webkit-mask-image: none;
	mask-image: none;
}

.page-hero--donate .page-hero__inner {
	padding-block: 87px 48px;
}

.page-hero--donate .page-hero__kicker {
	font: 400 1.125rem / 1.2 var(--sh-font-body); /* 18 */
}

.page-hero--donate .page-hero__title {
	margin-top: 4px;
	font-size: clamp(3.5rem, 1.25rem + 5.95vw, 6.1875rem); /* 99 → 79px caps */
	line-height: 1;
}

.page-hero--donate .page-hero__intro {
	max-width: none;
	margin-top: 0;
	font-size: clamp(1.25rem, 1rem + 0.85vw, 1.71875rem); /* 27.5 */
	line-height: 1.3;
}

/* Foundation block */
.foundation.section {
	padding-block: 72px 68px;
}

.foundation__inner {
	max-width: calc(1197px + var(--sh-gutter) * 2);
}

.foundation__title {
	margin: 0;
	font-size: clamp(2rem, 1.3rem + 2vw, 2.8125rem); /* 45 → 36px caps */
	line-height: 1;
	text-transform: uppercase;
	color: var(--sh-white);
}

.foundation__intro {
	margin: 7px 0 0;
	font-size: clamp(1.0625rem, 0.95rem + 0.3vw, 1.21875rem); /* 19.5 */
	line-height: 1.3;
	color: var(--sh-white);
}

.don-levels {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 25px 17px;
	margin: 33px 0 0;
	padding: 0;
	list-style: none;
}

.don-level__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	height: 100%;
	min-height: 184px;
	padding: 15px 24px 22px 27px;
	border-radius: 12px;
	background: var(--sh-don-card);
	color: var(--sh-white);
	text-decoration: none;
	transition: background-color 0.2s var(--sh-ease), transform 0.2s var(--sh-ease);
}

a.don-level__card:hover {
	background: #22513d;
	transform: translateY(-2px);
}

a.don-level__card:focus-visible {
	outline: 3px solid var(--sh-gold);
	outline-offset: 3px;
}

.don-level__name {
	margin: 0;
	padding-left: 6px;
	font-size: 1.8125rem; /* 29 → 23px caps */
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--sh-white);
}

.don-level__badge {
	display: inline-flex;
	align-items: center;
	min-height: 29px;
	margin-top: 9px;
	padding: 0 25px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--sh-don-red-top) 0%, var(--sh-don-red-bottom) 100%);
	font: 700 1.15625rem / 1 var(--sh-font-display); /* 18.5 */
	text-transform: uppercase;
	color: var(--sh-white);
}

.don-level__text {
	margin: 13px 0 0;
	font-size: 0.96875rem; /* 15.5 */
	line-height: 1.3;
	text-wrap: pretty;
	color: var(--sh-white);
}

/* Custom amount bar */
.don-custom {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 431px) minmax(0, 1fr);
	align-items: center;
	gap: 0 74px;
	min-height: 115px;
	margin-top: 38px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--sh-don-card);
	color: var(--sh-white);
}

.don-custom::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	z-index: -1;
	width: 484px;
	background: linear-gradient(180deg, var(--sh-don-red-top) 0%, var(--sh-don-red-bottom) 100%);
	clip-path: polygon(0 0, 100% 0, calc(100% - 53px) 100%, 0 100%);
}

.don-custom__lead {
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 16px 0 22px 30px;
}

.don-custom__icon {
	flex: none;
	width: 67px;
	height: auto;
	color: var(--sh-white);
}

.don-custom__title {
	margin: 0;
	font-size: 2rem; /* 32 → 26px caps */
	line-height: 1;
	text-transform: uppercase;
	color: var(--sh-white);
}

.don-custom__text {
	margin: 5px 0 0;
	font-size: 0.96875rem; /* 15.5 */
	line-height: 1.3;
}

.don-custom__fields {
	display: grid;
	grid-template-columns: minmax(0, 352px) minmax(0, 294px);
	align-items: center;
	gap: 8px 23px;
	padding: 16px 25px 16px 0;
}

.don-custom__field {
	position: relative;
	display: flex;
	align-items: center;
}

.don-custom__currency {
	position: absolute;
	left: 16px;
	font: 700 1.375rem / 1 var(--sh-font-body); /* 22 */
	color: #111111;
	pointer-events: none;
}

.don-custom__field input {
	width: 100%;
	min-height: 48px;
	padding: 0 16px 0 46px;
	border: 2px solid var(--sh-don-field-border);
	border-radius: 4px;
	background: var(--sh-white);
	font: 400 1.0625rem / 1 var(--sh-font-body); /* 17 */
	color: #111111;
}

.don-custom__field input::placeholder {
	font-style: italic;
	color: var(--sh-don-placeholder);
}

.don-custom__field input[aria-invalid="true"] {
	border-color: var(--sh-gold);
	box-shadow: 0 0 0 2px var(--sh-gold);
}

.don-custom__field input:focus-visible {
	outline: 2px solid var(--sh-gold);
	outline-offset: 2px;
}

.don-custom__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 50px;
	border: 0;
	border-radius: 4px;
	background: linear-gradient(180deg, var(--sh-don-red-top) 0%, var(--sh-don-red-bottom) 100%);
	font: 700 1.75rem / 1 var(--sh-font-display); /* 28 → 22px caps */
	text-transform: uppercase;
	color: var(--sh-white);
	cursor: pointer;
	transition: filter 0.2s var(--sh-ease);
}

.don-custom__submit:hover {
	filter: brightness(1.12);
}

.don-custom__submit:focus-visible {
	outline: 2px solid var(--sh-gold);
	outline-offset: 3px;
}

.don-custom__submit .icon {
	width: 24px;
	height: 24px;
	stroke-width: 2.4;
}

.don-custom__output {
	grid-column: 1 / -1;
	margin: 0;
	font-size: var(--sh-text-sm);
	font-weight: 600;
	line-height: 1.35;
}

.don-custom__output:empty {
	display: none;
}

/* Benefits strip */
.don-benefits {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	min-height: 86px;
	margin: 25px 0 0;
	padding: 10px 0;
	border-radius: 8px;
	background: var(--sh-don-pink);
	list-style: none;
}

.don-benefits__item {
	display: flex;
	align-items: center;
	gap: 26px;
	font: 700 1.5rem / 29px var(--sh-font-display); /* 24 → 19px caps */
	text-transform: uppercase;
	color: var(--sh-don-ink);
}

.don-benefits__item + .don-benefits__item {
	padding-left: 90px;
	border-left: 2px solid var(--sh-don-rule);
}

.don-benefits__icon {
	flex: none;
	width: auto;
	height: 50px;
	color: var(--sh-red);
}

/* Sponsors below follow: same rhythm as the design's other inner pages */
.page-template-page-templatesdonations-php .sponsors--compact.section {
	padding-bottom: clamp(56px, 5.7vw, 82px);
}

@media (max-width: 1240px) {
	.don-custom {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.don-custom::before {
		display: none;
	}

	.don-custom__lead {
		padding: 20px 24px;
		background: linear-gradient(180deg, var(--sh-don-red-top) 0%, var(--sh-don-red-bottom) 100%);
	}

	.don-custom__fields {
		grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
		padding: 20px 24px 22px;
	}
}

@media (max-width: 1000px) {
	.don-levels {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.don-benefits {
		flex-wrap: wrap;
		justify-content: center;
		gap: 16px 40px;
		padding: 20px 24px;
	}

	.don-benefits__item + .don-benefits__item {
		padding-left: 0;
		border-left: 0;
	}
}

@media (max-width: 640px) {
	.page-hero--donate .page-hero__media {
		opacity: 0.55;
	}

	.page-hero--donate .page-hero__inner {
		padding-block: 48px 40px;
	}

	.foundation.section {
		padding-block: 48px 56px;
	}

	.don-levels {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.don-level__card {
		min-height: 0;
	}

	.don-custom__lead {
		gap: 18px;
	}

	.don-custom__icon {
		width: 50px;
	}

	.don-custom__fields {
		grid-template-columns: minmax(0, 1fr);
	}

	.don-benefits {
		flex-direction: column;
		align-items: flex-start;
	}

	.don-benefits__item {
		font-size: 1.25rem;
		line-height: 1.3;
	}

	.don-benefits__icon {
		width: 44px;
		height: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.don-level__card {
		transition: none;
	}

	a.don-level__card:hover {
		transform: none;
	}
}

/* ==========================================================================
   Become a Sponsor page (page-templates/become-a-sponsor.php) — "Become a sponsor" design
   407px banner (points + buttons), plain games strip, then a 1201px column of green
   outlined boxes: overview, 8 level cards, program ads + info, projects, questions.
   ========================================================================== */
:root {
	--sh-sp-box-top: #0a3923;       /* green boxes */
	--sh-sp-box-bottom: #072e1f;
	--sh-sp-line: #1f8a55;          /* box outlines, outline button */
	--sh-sp-red: #d8202f;           /* featured card outline */
	--sh-sp-red-top: #d2172a;       /* price badges, buttons */
	--sh-sp-red-bottom: #a70d1e;
	--sh-sp-row: #0f4a2e;           /* program ad rows */
}

/* Banner */
.page-hero--sponsor {
	align-items: flex-start;
	min-height: 407px;
	background: var(--sh-pine);
}

.page-hero--sponsor .page-hero__media {
	inset: 0;
	width: 100%;
	-webkit-mask-image: none;
	mask-image: none;
}

.page-hero--sponsor .page-hero__inner {
	padding-block: 77px 48px;
}

.page-hero--sponsor .page-hero__kicker {
	padding-left: 3px;
	font: 400 1.0625rem / 1.2 var(--sh-font-body); /* 17 */
}

.page-hero--sponsor .page-hero__title {
	margin-top: 5px;
	font-size: clamp(3rem, 1.4rem + 4.2vw, 4.375rem); /* 70 → 56px caps */
	line-height: 1;
}

.page-hero--sponsor .page-hero__intro {
	max-width: 30rem;
	margin-top: 7px;
	font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.3125rem); /* 21 */
	line-height: 1.3;
}

.sp-points {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 0;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.sp-points__item {
	display: flex;
	align-items: center;
	gap: 10px;
	font: 700 1.03125rem / 1.3 var(--sh-font-body); /* 16.5 */
	text-transform: uppercase;
	color: var(--sh-white);
}

.sp-points__item:not(:last-child)::after {
	content: "|";
	margin: 0 6px 0 -4px;
	font-weight: 400;
}

.sp-points__icon {
	flex: none;
	width: auto;
	height: 21px;
	color: var(--sh-red);
}

.sp-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 12px 19px;
	margin-top: 24px;
}

.sp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 44px;
	padding: 0 25px;
	border-radius: 4px;
	font: 600 1.0625rem / 1 var(--sh-font-body); /* 17 */
	color: var(--sh-white);
	text-decoration: none;
	transition: filter 0.2s var(--sh-ease), background-color 0.2s var(--sh-ease);
}

.sp-btn .icon {
	width: 20px;
	height: 20px;
	stroke-width: 2.2;
}

.sp-btn--red {
	background: linear-gradient(180deg, var(--sh-sp-red-top) 0%, var(--sh-sp-red-bottom) 100%);
}

.sp-btn--red:hover {
	color: var(--sh-white);
	filter: brightness(1.12);
}

.sp-btn--outline {
	min-height: 46px;
	border: 2px solid var(--sh-sp-line);
	background: rgba(7, 46, 31, 0.55);
}

.sp-btn--outline:hover {
	color: var(--sh-white);
	background: rgba(31, 138, 85, 0.35);
}

.sp-btn:focus-visible {
	outline: 2px solid var(--sh-gold);
	outline-offset: 3px;
}

/* Plain games strip (gold last word, no filter buttons) */
.games--plain .games__head {
	grid-template-columns: 1fr auto;
}

.games--plain .games__title {
	margin: 2px 0 9px;
	font-size: clamp(2.5rem, 1.6rem + 2.6vw, 3.8125rem); /* 61 → 49px caps */
	line-height: 0.8; /* keeps the strip the same height as elsewhere */
}

.games__gold {
	color: var(--sh-gold);
}

.games--plain .games__link,
.games--plain .games__link:hover {
	color: var(--sh-gold);
	border-color: var(--sh-gold);
}

/* Program column */
.sp-program.section {
	padding-block: 53px 57px;
}

.sp-program__inner {
	max-width: calc(1201px + var(--sh-gutter) * 2);
}

.sp-box {
	border: 2px solid var(--sh-sp-line);
	border-radius: 10px;
	background: linear-gradient(180deg, var(--sh-sp-box-top) 0%, var(--sh-sp-box-bottom) 100%);
	color: var(--sh-white);
}

/* Overview */
.sp-overview {
	display: flex;
	align-items: center;
	min-height: 119px;
	padding: 12px 0;
}

.sp-overview__title {
	flex: 0 0 256px;
	margin: 0;
	padding: 0 24px 0 46px;
	font-size: 2.4375rem; /* 39 → 31px caps */
	line-height: 44px;
	text-transform: uppercase;
	color: var(--sh-gold);
	text-wrap: balance;
}

.sp-overview__text {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	padding: 0 32px 0 25px;
	border-left: 2px solid var(--sh-sp-line);
	font-size: 0.96875rem; /* 15.5 */
	line-height: 1.3;
	text-wrap: pretty;
}

.sp-overview__items {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sp-overview__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 0 28px;
	font: 700 1.0625rem / 1.2 var(--sh-font-body); /* 17 */
	text-align: center;
	border-left: 2px solid var(--sh-sp-line);
}

.sp-overview__item:last-child {
	padding-right: 26px;
}

.sp-overview__icon {
	width: auto;
	height: 40px;
	color: var(--sh-gold);
}

/* Levels */
.sp-levels {
	margin-top: 22px;
}

.sp-levels__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 0 21px 0 45px;
}

.sp-levels__title {
	margin: 0;
	text-wrap: balance;
	font-size: clamp(2rem, 1.5rem + 1.4vw, 2.4375rem); /* 39 → 31px caps */
	line-height: 1;
	text-transform: uppercase;
	color: var(--sh-white);
}

.sp-levels__note {
	margin: 0;
	font-size: 0.96875rem; /* 15.5 */
	font-style: italic;
	line-height: 1.3;
	text-wrap: pretty;
	color: var(--sh-white);
}

.sp-levels__grid {
	display: grid;
	grid-template-columns: 161px repeat(7, minmax(0, 1fr));
	gap: 10px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.sp-level {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 227px;
	padding: 11px 3px 4px;
	border: 2px solid var(--sh-sp-line);
	border-radius: 10px;
	background: linear-gradient(180deg, var(--sh-sp-box-top) 0%, var(--sh-sp-box-bottom) 100%);
	color: var(--sh-white);
	text-align: center;
}

.sp-level--featured {
	border-color: var(--sh-sp-red);
	box-shadow: 0 0 0 1px var(--sh-sp-red);
}

.sp-level__icon {
	width: 54px;
	height: auto;
	color: var(--sh-gold);
}

.sp-level__name {
	margin: 9px 0 0;
	font-size: 1.3125rem; /* 21 → 17px caps */
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--sh-white);
}

.sp-level__price {
	min-width: 100px;
	margin: 9px 0 0;
	padding: 2px 12px 0;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--sh-sp-red-top) 0%, var(--sh-sp-red-bottom) 100%);
	font: 700 1.625rem / 30px var(--sh-font-display); /* 26 */
	color: var(--sh-white);
}

.sp-level__list {
	align-self: stretch;
	margin: 10px 0 0;
	padding: 0 0 0 3px;
	list-style: none;
	text-align: left;
}

.sp-level__list li {
	display: flex;
	align-items: flex-start;
	gap: 3px;
	font-size: 0.75rem; /* 12 (the design's ~10.5px is below the readable minimum) */
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.sp-level__list li + li {
	margin-top: 6px;
}

.sp-level__list .icon {
	flex: none;
	width: 12px;
	height: 12px;
	margin-top: 1px;
	color: var(--sh-red);
	stroke-width: 3;
}

/* Program ads + info */
.sp-split {
	display: grid;
	grid-template-columns: minmax(0, 585fr) minmax(0, 575fr);
	gap: 42px;
	margin-top: 17px;
}

.sp-split--single {
	grid-template-columns: minmax(0, 1fr);
}

.sp-ads {
	display: grid;
	grid-template-columns: 47px minmax(0, 1fr);
	gap: 0 17px;
	padding: 14px 26px 3px 27px;
}

.sp-ads__icon {
	width: 47px;
	height: auto;
	margin-top: 2px;
	color: var(--sh-gold);
}

.sp-ads__title {
	margin: 0;
	text-wrap: balance;
	font-size: 1.6875rem; /* 27 → 22px caps */
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--sh-gold);
}

.sp-ads__table {
	width: calc(100% + 17px);
	margin: 0 0 0 -17px;
	border-collapse: separate;
	border-spacing: 0 7.5px;
}

.sp-ads__table th,
.sp-ads__table td {
	height: 26px;
	padding: 0;
	vertical-align: middle;
}

.sp-ads__table th {
	padding-left: 16px;
	background: linear-gradient(90deg, var(--sh-sp-row) 0%, rgba(15, 74, 46, 0.35) 100%);
	font: 700 0.9375rem / 1.3 var(--sh-font-body); /* 15 */
	text-align: left;
}

.sp-ads__table td {
	width: 73px;
	text-align: right;
}

.sp-ads__price {
	display: grid;
	place-items: center;
	width: 73px;
	height: 26px;
	background: linear-gradient(180deg, var(--sh-sp-red-top) 0%, var(--sh-sp-red-bottom) 100%);
	font: 700 0.9375rem / 1 var(--sh-font-body); /* 15 */
}

.sp-info {
	display: flex;
	flex-direction: column;
}

.sp-info__item {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	gap: 0 29px;
	align-items: center;
	flex: 1 1 auto;
	padding: 8px 24px 8px 22px;
}

.sp-info__item:first-child {
	padding-block: 12px 10px;
}

.sp-info__item + .sp-info__item {
	padding-bottom: 6px;
	border-top: 2px solid var(--sh-sp-line);
}

.sp-info__icon {
	justify-self: center;
	width: auto;
	height: 41px;
	color: var(--sh-gold);
}

.sp-info__title {
	margin: 0;
	text-wrap: balance;
	font-size: 1.5rem; /* 24 → 19px caps */
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--sh-gold);
}

.sp-info__text {
	margin: 6px 0 0;
	font-size: 0.875rem; /* 14 */
	line-height: 1.3;
	text-wrap: pretty;
}

/* Previous projects */
.sp-projects {
	display: grid;
	grid-template-columns: 40px minmax(0, 270px) minmax(0, 1fr);
	align-items: center;
	gap: 0 30px;
	min-height: 100px;
	margin-top: 18px;
	padding: 6px 24px 6px 31px;
}

.sp-projects__icon {
	width: 40px;
	height: auto;
	color: var(--sh-gold);
}

.sp-projects__title {
	margin: 0;
	padding-right: 24px;
	font-size: 2rem; /* 32 */
	line-height: 36px;
	text-transform: uppercase;
	color: var(--sh-gold);
	text-wrap: balance;
}

.sp-projects__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-flow: column;
	grid-template-rows: repeat(3, auto);
	gap: 6px 40px;
	margin: 0;
	padding: 4px 0 4px 69px;
	border-left: 2px solid var(--sh-sp-line);
	list-style: none;
}

.sp-projects__list li {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 1rem; /* 16 */
	line-height: 1.3;
}

.sp-projects__list .icon {
	flex: none;
	width: 19px;
	height: 19px;
	color: var(--sh-red);
	stroke-width: 2;
}

/* Questions */
.sp-cta {
	display: grid;
	grid-template-columns: 74px minmax(0, 1fr) auto;
	align-items: center;
	gap: 0 26px;
	min-height: 110px;
	margin-top: 18px;
	padding: 10px 95px 10px 42px;
}

.sp-cta__icon {
	width: 74px;
	height: auto;
	color: var(--sh-white);
}

.sp-cta__body {
	padding-right: 32px;
	border-right: 2px solid var(--sh-sp-line);
}

.sp-cta__title {
	margin: 0;
	text-wrap: balance;
	font-size: 2.1875rem; /* 35 → 28px caps */
	line-height: 1;
	text-transform: uppercase;
	color: var(--sh-gold);
}

.sp-cta__text {
	max-width: 32rem;
	margin: 4px 0 0;
	text-wrap: pretty;
	font-size: 1rem; /* 16 */
	line-height: 1.3;
}

.sp-cta__button {
	min-width: 222px;
	min-height: 50px;
	margin-left: 66px;
}

/* Sponsors below follow: same rhythm as the design's other inner pages */
.page-template-page-templatesbecome-a-sponsor-php .sponsors--compact.section {
	padding-bottom: clamp(56px, 5.7vw, 82px);
}

@media (max-width: 1240px) {
	.sp-overview {
		flex-wrap: wrap;
		row-gap: 18px;
		padding: 22px 24px;
	}

	.sp-overview__title {
		flex-basis: auto;
		padding: 0 24px 0 0;
	}

	.sp-overview__items {
		flex-basis: 100%;
		justify-content: center;
	}

	.sp-overview__item:first-child {
		border-left: 0;
	}

	.sp-levels__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 14px;
	}

	.sp-split {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.sp-cta {
		padding: 20px 28px;
	}

	.sp-cta__button {
		margin-left: 28px;
	}
}

@media (max-width: 860px) {
	.sp-projects {
		grid-template-columns: 40px minmax(0, 1fr);
		row-gap: 16px;
		padding: 22px 24px;
	}

	.sp-projects__list {
		grid-column: 1 / -1;
		padding: 16px 0 0;
		border-top: 2px solid var(--sh-sp-line);
		border-left: 0;
	}

	.sp-cta {
		grid-template-columns: 56px minmax(0, 1fr);
		row-gap: 18px;
	}

	.sp-cta__icon {
		width: 56px;
	}

	.sp-cta__body {
		padding-right: 0;
		border-right: 0;
	}

	.sp-cta__button {
		grid-column: 1 / -1;
		justify-self: start;
		margin-left: 0;
	}
}

@media (max-width: 640px) {
	.page-hero--sponsor .page-hero__media {
		opacity: 0.55;
	}

	.page-hero--sponsor .page-hero__inner {
		padding-block: 48px 40px;
	}

	.sp-points {
		flex-direction: column;
		align-items: flex-start;
	}

	.sp-points__item:not(:last-child)::after {
		content: none;
	}

	.games--plain .games__title {
		margin: 0;
		line-height: 1;
	}

	.sp-program.section {
		padding-block: 40px 56px;
	}

	.sp-overview__text {
		flex-basis: 100%;
		padding: 16px 0 0;
		border-top: 2px solid var(--sh-sp-line);
		border-left: 0;
	}

	.sp-overview__items {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.sp-overview__item {
		padding: 0 6px;
		font-size: 0.9375rem;
	}

	.sp-levels__head {
		padding: 0;
	}

	.sp-levels__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.sp-ads {
		grid-template-columns: minmax(0, 1fr);
		padding: 20px;
	}

	.sp-ads__icon {
		display: none;
	}

	.sp-ads__table {
		width: 100%;
		margin-left: 0;
	}

	.sp-info__item {
		grid-template-columns: 40px minmax(0, 1fr);
		gap: 0 18px;
		padding: 18px 20px;
	}

	.sp-projects__list {
		grid-template-columns: minmax(0, 1fr);
		grid-auto-flow: row;
		grid-template-rows: none;
	}

	.sp-cta__title,
	.sp-projects__title {
		font-size: 1.75rem;
	}
}

/* ==========================================================================
   Program Calendar page (page-templates/program-calendar.php) — "Program Calendar" design
   383px banner, shared games strip, then 853px calendar box + 326px side panel (21 gap)
   and a 3-item info strip, all 1200 wide.
   ========================================================================== */
:root {
	--sh-cal-box: #012815;          /* calendar + side panel */
	--sh-cal-line: #1f6b4a;         /* box outlines */
	--sh-cal-grid: #2a7a55;         /* day cell lines */
	--sh-cal-cell: #001f11;
	--sh-cal-head: #a0000f;         /* weekday row */
	--sh-cal-today: #253717;
	--sh-cal-today-line: #b5a63a;
	--sh-cal-game: #e0454f;         /* chip outlines + legend */
	--sh-cal-game-bg: #5a0a12;
	--sh-cal-practice: #2fd27a;
	--sh-cal-practice-bg: #014d24;
	--sh-cal-team: #e5a93b;
	--sh-cal-team-bg: #4d3f0d;
	--sh-cal-other: #9fb3ab;
	--sh-cal-other-bg: #2d4a44;
	--sh-cal-stat: #011e10;
	--sh-cal-red-top: #c80119;
	--sh-cal-red-bottom: #960a18;
}

/* Banner */
.page-hero--calendar {
	align-items: flex-start;
	min-height: 383px;
	background: var(--sh-pine);
}

.page-hero--calendar .page-hero__media {
	inset: 0;
	width: 100%;
	-webkit-mask-image: none;
	mask-image: none;
}

.page-hero--calendar .page-hero__inner {
	padding-block: 104px 48px;
}

.page-hero--calendar .page-hero__kicker {
	font: 700 1.0625rem / 1.2 var(--sh-font-body); /* 17 */
}

.page-hero--calendar .page-hero__title {
	margin-top: 5px;
	font-size: clamp(3rem, 1.4rem + 4vw, 4.1875rem); /* 67 → 54px caps */
	line-height: 1;
}

.page-hero--calendar .page-hero__intro {
	max-width: none;
	margin-top: 5px;
	font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.3125rem); /* 21 */
	line-height: 1.3;
}

/* Section */
.cal.section {
	padding-block: 66px 66px;
}

.cal__inner {
	max-width: calc(1200px + var(--sh-gutter) * 2);
}

.cal__layout {
	display: grid;
	grid-template-columns: minmax(0, 853fr) minmax(0, 326fr);
	gap: 21px;
	align-items: stretch;
}

.cal-box {
	border: 2px solid var(--sh-cal-line);
	border-radius: 14px;
	background: var(--sh-cal-box);
	color: var(--sh-white);
}

.cal-main {
	padding: 27px 11px 16px 12px;
}

/* Toolbar */
.cal-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 4px 0 14px;
}

.cal-bar__month {
	display: flex;
	align-items: center;
	gap: 28px;
}

.cal-bar__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 1.375rem; /* 22 */
	line-height: 1;
	text-transform: uppercase;
	color: var(--sh-white);
}

.cal-bar__icon {
	flex: none;
	width: 28px;
	height: auto;
	color: var(--sh-gold);
}

.cal-bar__tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 11px;
}

.cal-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 11px;
}

.cal-btn,
.cal-select select {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 13px;
	border: 2px solid var(--sh-cal-line);
	border-radius: 6px;
	background: var(--sh-cal-cell);
	font: 600 0.875rem / 1 var(--sh-font-body); /* 14 */
	color: var(--sh-white);
	text-decoration: none;
	cursor: pointer;
	transition: border-color 0.2s var(--sh-ease), background-color 0.2s var(--sh-ease);
}

.cal-btn:hover,
.cal-select select:hover {
	border-color: var(--sh-cal-practice);
	color: var(--sh-white);
}

.cal-btn:focus-visible,
.cal-select select:focus-visible {
	outline: 2px solid var(--sh-gold);
	outline-offset: 2px;
}

.cal-btn--icon {
	width: 47px;
	padding: 0;
}

.cal-btn--icon .icon {
	width: 22px;
	height: 22px;
	stroke-width: 2.4;
}

.cal-select {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.cal-select select {
	padding-right: 32px;
	padding-left: 12px;
	-webkit-appearance: none;
	appearance: none;
}

.cal-select option {
	background: var(--sh-white);
	color: var(--sh-pine);
}

.cal-select .icon {
	position: absolute;
	right: 12px;
	width: 16px;
	height: 16px;
	stroke-width: 2.4;
	pointer-events: none;
}

/* Legend */
.cal-legend {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 38px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.cal-legend__item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9375rem; /* 15 */
	line-height: 1.3;
}

.cal-legend__item .cal-ball {
	width: 26px;
	height: 26px;
}

.cal-legend__item--game .cal-ball {
	color: var(--sh-cal-game);
}

.cal-legend__item--practice .cal-ball {
	color: var(--sh-cal-practice);
}

.cal-legend__item--team .cal-ball {
	color: var(--sh-cal-team);
}

.cal-legend__item--other .cal-ball {
	color: var(--sh-cal-other);
}

/* Month grid */
.cal-grid {
	width: 100%;
	margin-top: 23px;
	border-collapse: collapse;
	table-layout: fixed;
}

.cal-grid th {
	height: 45px;
	padding: 0;
	background: var(--sh-cal-head);
	font: 700 1.0625rem / 1 var(--sh-font-body); /* 17 */
	text-transform: uppercase;
	text-align: center;
}

.cal-grid abbr {
	text-decoration: none;
}

.cal-grid td {
	height: 102px;
	padding: 0;
	border: 1px solid var(--sh-cal-grid);
	background: var(--sh-cal-cell);
	vertical-align: top;
}

.cal-grid__day {
	position: relative;
}

.cal-grid__num {
	display: block;
	padding: 8px 0 0 17px;
	font: 700 1.0625rem / 1.3 var(--sh-font-body); /* 17 */
}

.cal-grid__day.is-today {
	background: var(--sh-cal-today);
	box-shadow: inset 0 0 0 2px var(--sh-cal-today-line);
}

.cal-chip {
	display: flex;
	align-items: center;
	gap: 4px;
	min-height: 60px;
	margin: 2px 0 0;
	padding: 6px 4px 6px 8px;
	border-radius: 2px;
	box-shadow: inset 0 0 0 2px currentColor; /* outline drawn inside, same as a 2px border */
	font: 700 0.6875rem / 1.3 var(--sh-font-body); /* 11 */
	letter-spacing: -0.01em;
	text-decoration: none;
}

.cal-chip + .cal-chip {
	margin-top: 4px;
}

.cal-chip__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	color: var(--sh-white);
}

.cal-chip__when {
	font-size: 0.6875rem;
}

.cal-chip__where {
	font-weight: 400;
}

.cal-grid .cal-chip__where {
	display: none;
}

.cal-chip__icon {
	flex: none;
	width: 18px;
	height: 18px;
	color: var(--sh-white);
}

.cal-chip__icon--trophy {
	width: 18px;
	color: var(--sh-cal-team);
}

.cal-chip--game {
	color: var(--sh-cal-game);
	background: var(--sh-cal-game-bg);
}

.cal-chip--practice {
	color: var(--sh-cal-practice);
	background: var(--sh-cal-practice-bg);
}

.cal-chip--team {
	color: var(--sh-cal-team);
	background: var(--sh-cal-team-bg);
}

.cal-chip--other {
	color: var(--sh-cal-other);
	background: var(--sh-cal-other-bg);
}

a.cal-chip:hover {
	filter: brightness(1.15);
}

.cal-list__day:target {
	background: rgba(47, 210, 122, 0.08);
}

a.cal-chip:focus-visible {
	outline: 2px solid var(--sh-gold);
	outline-offset: 1px;
}

/* List view */
.cal-list {
	margin: 21px 0 0;
	padding: 0 14px;
	list-style: none;
}

.cal-list__day {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 8px 20px;
	padding: 14px 0;
	border-top: 1px solid var(--sh-cal-grid);
}

.cal-list__date {
	margin: 0;
	font: 700 1rem / 1.3 var(--sh-font-body);
	color: var(--sh-white);
}

.cal-list__day.is-today .cal-list__date {
	color: var(--sh-gold);
}

.cal-list__items {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 8px;
}

.cal-list__items .cal-chip {
	margin: 0;
	font-size: 0.8125rem;
}

.cal-empty {
	margin: 24px 14px;
	font-size: var(--sh-text-md);
	line-height: 1.4;
}

/* Side panel */
.cal-side {
	display: flex;
	flex-direction: column;
	padding: 27px 14px 32px 15px;
}

.cal-side__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 0 8px;
	font-size: 1.25rem; /* 20 */
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--sh-white);
}

.cal-side__icon {
	flex: none;
	width: 28px;
	height: auto;
	color: var(--sh-gold);
}

.cal-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 13px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.cal-stats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 113px;
	padding: 16px 4px 10px;
	border: 2px solid var(--sh-cal-line);
	border-radius: 10px;
	background: var(--sh-cal-stat);
	text-align: center;
}

.cal-stats__icon {
	width: auto;
	height: 26px;
	color: var(--sh-white);
}

.cal-stats__num {
	margin-top: 6px;
	font: 700 1.625rem / 1.1 var(--sh-font-body); /* 26 */
}

.cal-stats__label {
	margin-top: 2px;
	font: 700 0.875rem / 1.3 var(--sh-font-body); /* 14 */
}

.cal-side__heading {
	margin: 48px 0 0 4px;
	font-size: 1.375rem; /* 22 */
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--sh-white);
}

.cal-upcoming {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.cal-upcoming__item {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	padding: 6px 4px 6px 10px;
	border-left: 4px solid currentColor;
	border-radius: 3px;
}

.cal-upcoming__item--game {
	color: var(--sh-cal-game);
	background: #1c1012;
}

.cal-upcoming__item--practice {
	color: var(--sh-cal-practice);
	background: #01331a;
}

.cal-upcoming__item--team {
	color: var(--sh-cal-team);
	background: #1f2412;
}

.cal-upcoming__item--other {
	color: var(--sh-cal-other);
	background: #12302a;
}

.cal-upcoming__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 2px solid currentColor;
	border-radius: 50%;
}

.cal-upcoming__icon .cal-ball {
	width: 22px;
	height: 22px;
}

.cal-upcoming__trophy {
	width: 20px;
	height: auto;
}

.cal-upcoming__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	color: var(--sh-white);
}

.cal-upcoming__text strong {
	font-size: 1.0625rem; /* 17 */
	line-height: 1.3;
}

.cal-upcoming__text span {
	font-size: 0.875rem; /* 14 */
	line-height: 1.3;
	color: #e3e8e5;
}

.cal-side__button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 56px;
	margin-top: auto;
	padding: 0 18px;
	border-radius: 8px;
	background: linear-gradient(180deg, var(--sh-cal-red-top) 0%, var(--sh-cal-red-bottom) 100%);
	font: 700 1.3125rem / 1 var(--sh-font-body); /* 21 */
	color: var(--sh-white);
	text-decoration: none;
	transition: filter 0.2s var(--sh-ease);
}

.cal-side__button:hover {
	color: var(--sh-white);
	filter: brightness(1.12);
}

.cal-side__button:focus-visible {
	outline: 2px solid var(--sh-gold);
	outline-offset: 3px;
}

.cal-side__button-icon {
	width: 24px;
	height: auto;
}

.cal-side__button .icon {
	width: 22px;
	height: 22px;
	stroke-width: 2.4;
}

/* Info strip */
.cal-info {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 137px;
	margin: 33px 0 0;
	padding: 20px 12px 20px 60px;
	border: 2px solid var(--sh-cal-line);
	border-radius: 16px;
	background: #022113;
	list-style: none;
	color: var(--sh-white);
}

.cal-info__item {
	display: flex;
	align-items: center;
	gap: 22px;
}

.cal-info__item + .cal-info__item {
	margin-left: 18px;
	padding-left: 36px;
	border-left: 2px solid var(--sh-cal-line);
}

.cal-info__icon {
	flex: none;
	width: auto;
	height: 50px;
	color: var(--sh-gold);
}

.cal-info__title {
	margin: 0;
	font-size: 2.0625rem; /* 33 → 26px caps */
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--sh-white);
}

.cal-info__text {
	max-width: 16.25rem;
	margin: 4px 0 0;
	font-size: 1.0625rem; /* 17 */
	line-height: 1.3;
}

/* Sponsors below follow: same rhythm as the design's other inner pages */
.page-template-page-templatesprogram-calendar-php .sponsors--compact.section {
	padding-bottom: clamp(56px, 5.7vw, 82px);
}

@media (max-width: 1240px) {
	.cal__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.cal-side {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 0 28px;
		align-items: start;
	}

	.cal-side__title,
	.cal-stats {
		grid-column: 1;
	}

	.cal-side__heading,
	.cal-upcoming,
	.cal-empty {
		grid-column: 2;
	}

	.cal-side__heading {
		grid-row: 1;
		margin-top: 0;
	}

	.cal-upcoming {
		grid-row: 2 / span 2;
	}

	.cal-side__button {
		grid-column: 1;
		margin-top: 22px;
	}

	.cal-info {
		flex-wrap: wrap;
		gap: 20px 32px;
		padding: 24px;
	}

	.cal-info__item + .cal-info__item {
		padding-left: 0;
		border-left: 0;
	}
}

@media (max-width: 860px) {
	.cal-grid td {
		height: 84px;
	}

	.cal-grid__num {
		padding: 6px 0 0 8px;
		font-size: 0.9375rem;
	}

	.cal-chip {
		min-height: 0;
		padding: 4px 5px;
	}

	.cal-chip__icon {
		display: none;
	}

	.cal-side {
		display: flex;
	}

	.cal-side__heading {
		margin-top: 32px;
	}
}

@media (max-width: 640px) {
	.page-hero--calendar .page-hero__media {
		opacity: 0.55;
	}

	.page-hero--calendar .page-hero__inner {
		padding-block: 48px 40px;
	}

	.cal.section {
		padding-block: 40px 56px;
	}

	.cal-main {
		padding: 18px 8px 10px;
	}

	.cal-bar {
		padding: 0 4px;
	}

	.cal-bar__month {
		gap: 10px;
		width: 100%;
		justify-content: space-between;
	}

	.cal-bar__tools {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		width: 100%;
	}

	.cal-jump {
		display: contents;
	}

	.cal-jump .cal-select:first-of-type {
		grid-column: 1 / -1;
		order: 3;
	}

	.cal-jump select {
		width: 100%;
	}

	.cal-legend {
		gap: 8px 18px;
		justify-content: flex-start;
		padding: 0 4px;
	}

	/* Phones: the grid shows day numbers and coloured dots; tap "List View" for details. */
	.cal-grid th {
		height: 34px;
		font-size: 0.75rem;
	}

	.cal-grid td {
		height: 58px;
	}

	.cal-grid__num {
		padding: 4px 0 0 5px;
		font-size: 0.8125rem;
	}

	.cal-grid .cal-chip {
		display: inline-block;
		width: 12px;
		height: 12px;
		min-height: 0;
		margin: 4px 0 0 5px;
		padding: 0;
		border-radius: 50%;
		background: currentColor;
		vertical-align: top;
	}

	.cal-grid .cal-chip + .cal-chip {
		margin-top: 4px;
		margin-left: 3px;
	}

	.cal-grid .cal-chip__text,
	.cal-grid .cal-chip__icon {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.cal-list__day {
		grid-template-columns: minmax(0, 1fr);
	}

	.cal-info__title {
		font-size: 1.75rem;
	}
}

/* ==========================================================================
   Alumni page (page-templates/alumni.php) — "Alumi" design
   372px banner, shared games strip, 1200px search box (pill corners) with A–Z letters,
   then one outlined group per letter: red letter tab, count, 48px rows.
   ========================================================================== */
:root {
	--sh-alum-line: #1f6b4a;        /* search box outline */
	--sh-alum-group-line: #2e7a58;  /* group outline, field borders */
	--sh-alum-head: #08452d;        /* group header bar */
	--sh-alum-tab: #c4011c;         /* letter tab */
	--sh-alum-row: #012113;
	--sh-alum-rule: #0e3c28;        /* row dividers */
	--sh-alum-col: #4f6b5f;         /* column dividers */
}

/* Banner */
.page-hero--alumni {
	align-items: flex-start;
	min-height: 372px;
	background: var(--sh-pine);
}

.page-hero--alumni .page-hero__media {
	inset: 0;
	width: 100%;
	-webkit-mask-image: none;
	mask-image: none;
}

.page-hero--alumni .page-hero__inner {
	padding-block: 115px 48px;
}

.page-hero--alumni .page-hero__kicker {
	padding-left: 4px;
	font: 700 1.125rem / 1.2 var(--sh-font-body); /* 18 */
}

.page-hero--alumni .page-hero__title {
	margin-top: 0;
	font-size: clamp(3rem, 1.4rem + 4.3vw, 4.4375rem); /* 71 → 57px caps */
	line-height: 1;
}

.page-hero--alumni .page-hero__intro {
	max-width: 36rem;
	margin-top: 5px;
	font-size: clamp(1rem, 0.9rem + 0.35vw, 1.125rem); /* 18 */
	line-height: 1.3;
}

/* Section */
.alumni.section {
	padding-block: 66px 69px;
}

.alumni__inner {
	max-width: calc(1200px + var(--sh-gutter) * 2);
}

/* Search box */
.alumni-search {
	padding: 17px 25px 16px;
	border: 2px solid var(--sh-alum-line);
	border-radius: 40px;
	color: var(--sh-white);
}

.alumni-search__row {
	display: grid;
	grid-template-columns: minmax(0, 545fr) minmax(0, 208fr) minmax(0, 203fr) 110px;
	gap: 0 26px;
	align-items: center;
}

.alumni-search__field {
	position: relative;
	display: flex;
	align-items: center;
}

.alumni-search__glass {
	position: absolute;
	left: 17px;
	color: #3a3a3a;
	pointer-events: none;
}

.alumni-search__field input {
	width: 100%;
	min-height: 44px;
	padding: 0 16px 0 50px;
	border: 2px solid var(--sh-alum-group-line);
	border-radius: 6px;
	background: var(--sh-white);
	font: 400 1rem / 1 var(--sh-font-body); /* 16 */
	color: #111111;
}

.alumni-search__field input::placeholder {
	color: #555555;
}

.alumni-search__field input:focus-visible,
.alumni-select select:focus-visible {
	outline: 2px solid var(--sh-gold);
	outline-offset: 2px;
}

.alumni-select {
	position: relative;
	display: flex;
	align-items: center;
}

.alumni-select select {
	width: 100%;
	min-height: 44px;
	padding: 0 40px 0 50px;
	border: 2px solid var(--sh-alum-group-line);
	border-radius: 6px;
	background: var(--sh-pine);
	font: 400 1rem / 1 var(--sh-font-body); /* 16 */
	color: var(--sh-white);
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.alumni-select option {
	background: var(--sh-white);
	color: var(--sh-pine);
}

.alumni-select__icon {
	position: absolute;
	left: 16px;
	width: auto;
	height: 19px;
	color: var(--sh-white);
	pointer-events: none;
}

.alumni-select > .icon {
	position: absolute;
	right: 14px;
	width: 18px;
	height: 18px;
	stroke-width: 2.2;
	pointer-events: none;
}

.alumni-search__submit {
	min-height: 44px;
	border: 0;
	border-radius: 6px;
	background: linear-gradient(180deg, #d4122c 0%, #b00d22 100%);
	font: 700 1.0625rem / 1 var(--sh-font-body); /* 17 */
	color: var(--sh-white);
	cursor: pointer;
	transition: filter 0.2s var(--sh-ease);
}

.alumni-search__submit:hover {
	filter: brightness(1.12);
}

.alumni-search__submit:focus-visible {
	outline: 2px solid var(--sh-gold);
	outline-offset: 3px;
}

/* A–Z */
.alumni-letters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 4px;
	margin-top: 23px;
}

.alumni-letters__link {
	display: grid;
	place-items: center;
	min-width: 24px;
	min-height: 32px;
	padding: 0 2px;
	border-radius: 6px;
	font: 400 1.1875rem / 1 var(--sh-font-body); /* 19 */
	color: var(--sh-white);
	text-decoration: none;
	transition: background-color 0.2s var(--sh-ease), color 0.2s var(--sh-ease);
}

.alumni-letters__link--all {
	min-width: 60px;
	font-weight: 700;
}

.alumni-letters__link:hover {
	color: var(--sh-gold);
}

.alumni-letters__link[aria-current="true"] {
	background: var(--sh-red);
	color: var(--sh-white);
}

.alumni-letters__link.is-empty {
	color: rgba(255, 255, 255, 0.55);
}

.alumni-letters__link:focus-visible {
	outline: 2px solid var(--sh-gold);
	outline-offset: 2px;
}

/* Groups */
.alumni-groups {
	display: flex;
	flex-direction: column;
	gap: 33px;
	margin-top: 48px;
}

.alumni-group[hidden] {
	display: none;
}

.alumni-group {
	overflow: hidden;
	border: 2px solid var(--sh-alum-group-line);
	border-radius: 16px;
	background: var(--sh-alum-row);
	color: var(--sh-white);
}

.alumni-group__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 41px;
	background: var(--sh-alum-head);
}

.alumni-group__letter {
	display: flex;
	align-items: center;
	align-self: stretch;
	width: 103px;
	margin: 0;
	padding-left: 31px;
	background: var(--sh-alum-tab);
	clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
	font-size: 2rem; /* 32 → 26px caps */
	line-height: 1;
	color: var(--sh-white);
}

.alumni-group__count {
	margin: 0;
	padding-right: 26px;
	font: 700 1rem / 1.3 var(--sh-font-body); /* 16 */
}

.alumni-group__list {
	margin: 0;
	padding: 0 10px;
	list-style: none;
}

.alumni-row[hidden] {
	display: none;
}

.alumni-row + .alumni-row {
	border-top: 1px solid var(--sh-alum-rule);
}

.alumni-row__inner {
	display: grid;
	grid-template-columns: minmax(0, 421fr) minmax(0, 367fr) minmax(0, 261fr) minmax(0, 131fr);
	align-items: center;
	min-height: 47px;
	padding-top: 8px;
	color: var(--sh-white);
	text-decoration: none;
}

a.alumni-row__inner:hover .alumni-row__name {
	color: var(--sh-gold);
}

a.alumni-row__inner:focus-visible {
	outline: 2px solid var(--sh-gold);
	outline-offset: -2px;
}

.alumni-row__name {
	padding-left: 60px;
	font: 700 1.0625rem / 1.3 var(--sh-font-body); /* 17 */
	transition: color 0.2s var(--sh-ease);
}

.alumni-row__class,
.alumni-row__role {
	position: relative;
	font: 400 1rem / 1.3 var(--sh-font-body); /* 16 */
	text-align: center;
}

.alumni-row__class::before,
.alumni-row__role::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 1px;
	height: 21px;
	background: var(--sh-alum-col);
	transform: translateY(-50%);
}

.alumni-row__go {
	display: flex;
	justify-content: flex-end;
	padding-right: 16px;
}

.alumni-row__go .icon {
	width: 16px;
	height: 16px;
	stroke-width: 2.2;
}

.alumni-empty {
	margin: 0;
	padding: 24px;
	border: 2px dashed var(--sh-alum-group-line);
	border-radius: 16px;
	font-size: var(--sh-text-md);
	line-height: 1.4;
	text-align: center;
	color: var(--sh-white);
}

/* Sponsors below follow: same rhythm as the design's other inner pages */
.page-template-page-templatesalumni-php .sponsors--compact.section {
	padding-bottom: clamp(56px, 5.7vw, 82px);
}

@media (max-width: 1100px) {
	.alumni-search {
		border-radius: 24px;
	}

	.alumni-search__row {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 12px;
	}

	.alumni-search__field {
		grid-column: 1 / -1;
	}

	.alumni-search__submit {
		grid-column: 1 / -1;
	}
}

@media (max-width: 760px) {
	.alumni-row__inner {
		grid-template-columns: minmax(0, 1fr) auto 28px;
		grid-template-rows: auto auto;
		gap: 2px 12px;
		padding: 10px 0;
	}

	.alumni-row__name {
		grid-column: 1;
		padding-left: 8px;
	}

	.alumni-row__class {
		grid-column: 1;
		grid-row: 2;
		padding-left: 8px;
		font-size: 0.875rem;
		text-align: left;
		color: #cfd8d3;
	}

	.alumni-row__role {
		grid-column: 2;
		grid-row: 1 / span 2;
		font-size: 0.875rem;
	}

	.alumni-row__class::before,
	.alumni-row__role::before {
		content: none;
	}

	.alumni-row__go {
		grid-column: 3;
		grid-row: 1 / span 2;
		padding-right: 4px;
	}
}

@media (max-width: 640px) {
	.page-hero--alumni .page-hero__media {
		opacity: 0.55;
	}

	.page-hero--alumni .page-hero__inner {
		padding-block: 48px 40px;
	}

	.alumni.section {
		padding-block: 40px 56px;
	}

	.alumni-search {
		padding: 16px;
	}

	.alumni-search__row {
		grid-template-columns: minmax(0, 1fr);
	}

	.alumni-letters {
		justify-content: flex-start;
		gap: 4px 6px;
	}

	.alumni-letters__link {
		min-width: 32px;
		min-height: 36px;
		font-size: 1.0625rem;
	}

	.alumni-groups {
		gap: 20px;
		margin-top: 28px;
	}
}

/* ==========================================================================
   Schedule a Lesson page (page-templates/schedule-a-lesson.php) — "Schedule a Lesson" design
   488px banner (coach photo, title on two lines, three icon points), games strip,
   then the booking intro (left) and 282px coach cards (right, 30 gap).
   ========================================================================== */
:root {
	--sh-lesson-card: #1a4331;      /* coach card body */
	--sh-lesson-red-dark: #6f0a14;  /* coach photo panel gradient */
	--sh-lesson-red: #d81a2c;
	--sh-lesson-button: #c80f2e;
	--sh-lesson-focus: #e6e9e7;
}

/* Banner */
.page-hero--lesson {
	align-items: flex-start;
	min-height: 488px;
	background: var(--sh-pine);
}

.page-hero--lesson .page-hero__media {
	inset: 0;
	width: 100%;
	-webkit-mask-image: none;
	mask-image: none;
}

.page-hero--lesson .page-hero__inner {
	padding-block: 69px 48px;
}

.page-hero--lesson .page-hero__kicker {
	padding-left: 2px;
	font: 400 1.25rem / 1.2 var(--sh-font-body); /* 20 */
}

.page-hero--lesson .page-hero__title {
	margin-top: 4px;
	font-size: clamp(3.25rem, 1.2rem + 5.6vw, 6rem); /* 96 → 77px caps */
	line-height: 94px;
}

.page-hero--lesson .page-hero__gold {
	display: block;
}

.page-hero--lesson .page-hero__intro {
	max-width: 28rem;
	margin-top: 5px;
	font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.25rem); /* 20 */
	line-height: 1.3;
}

.lesson-points {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 27px;
	margin: 29px 0 0;
	padding: 0;
	list-style: none;
}

.lesson-points__item {
	display: flex;
	align-items: center;
	gap: 8px;
	font: 700 1.1875rem / 23px var(--sh-font-display); /* 19 → 15px caps */
	text-transform: uppercase;
	color: var(--sh-white);
}

.lesson-points__icon {
	flex: none;
	width: auto;
	height: 36px;
	color: var(--sh-red);
}

/* Games strip on this page: the design gives it 5px more above and 4px more below */
.page-template-page-templatesschedule-a-lesson-php .games.section {
	padding-top: clamp(48px, 5vw, 72px);
	padding-bottom: clamp(48px, 5vw, 72px);
}

/* Booking section */
.lesson-book.section {
	padding-block: 69px 70px;
}

.lesson-book__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 40px;
	align-items: start;
}

.lesson-book__intro {
	padding: 2px 0 0 6px;
}

.lesson-book__title {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding-left: 16px;
	border-left: 7px solid var(--sh-red);
	line-height: 1;
	text-transform: uppercase;
}

.lesson-book__white {
	font-size: clamp(2.25rem, 1.6rem + 1.8vw, 3.0625rem); /* 49 → 39px caps */
	line-height: 52px;
	color: var(--sh-white);
}

.lesson-book__gold {
	font-size: clamp(2.5rem, 1.7rem + 2.3vw, 3.625rem); /* 58 → 47px caps */
	margin-top: 6px;
	line-height: 62px;
	color: var(--sh-gold);
}

.lesson-book__text {
	max-width: 27rem;
	margin: 18px 0 0;
	font-size: 1.0625rem; /* 17 */
	line-height: 1.3;
	color: var(--sh-white);
}

.lesson-book__checks {
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.lesson-book__checks li {
	display: flex;
	align-items: center;
	gap: 14px;
	font: 700 1.125rem / 1.3 var(--sh-font-body); /* 18 */
	color: var(--sh-white);
}

.lesson-book__checks li + li {
	margin-top: 13px;
}

.lesson-book__tick {
	display: grid;
	flex: none;
	place-items: center;
	width: 23px;
	height: 23px;
	border-radius: 50%;
	background: var(--sh-red);
}

.lesson-book__tick .icon {
	width: 14px;
	height: 14px;
	stroke-width: 3.2;
	color: var(--sh-white);
}

.lesson-coaches {
	display: grid;
	grid-template-columns: repeat(2, 282px);
	gap: 30px;
	margin: 0 -1px 0 0;
	padding: 0;
	list-style: none;
}

.lesson-coach {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 22px;
	background: var(--sh-lesson-card);
	color: var(--sh-white);
	text-align: center;
}

.lesson-coach__photo {
	position: relative;
	height: 142px;
	background: linear-gradient(135deg, var(--sh-lesson-red-dark) 0%, var(--sh-lesson-red) 100%);
}

.lesson-coach__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 20%;
}

.lesson-coach__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 30px 20px 30px;
}

.lesson-coach__name {
	margin: 0;
	font-size: 2.5rem; /* 40 → 32px caps */
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--sh-gold);
	text-wrap: balance;
}

.lesson-coach__focus {
	margin: 0;
	font: 600 1rem / 1.3 var(--sh-font-body); /* 16 */
	text-transform: uppercase;
	color: var(--sh-lesson-focus);
}

.lesson-coach__button {
	display: inline-grid;
	place-items: center;
	min-width: 205px;
	min-height: 33px;
	margin-top: 8px;
	padding: 2px 14px 0;
	border-radius: 6px;
	background: var(--sh-lesson-button);
	font: 700 1.0625rem / 1 var(--sh-font-display); /* 17 */
	text-transform: uppercase;
	color: var(--sh-white);
	text-decoration: none;
	transition: filter 0.2s var(--sh-ease);
}

.lesson-coach__button:hover {
	color: var(--sh-white);
	filter: brightness(1.15);
}

.lesson-coach__button:focus-visible {
	outline: 2px solid var(--sh-gold);
	outline-offset: 3px;
}

.lesson-book__empty {
	max-width: 22rem;
	margin: 0;
	padding: 24px;
	border: 2px dashed var(--sh-lesson-card);
	border-radius: 16px;
	font-size: var(--sh-text-md);
	line-height: 1.4;
	color: var(--sh-white);
}

/* Sponsors below follow: same rhythm as the design's other inner pages */
.page-template-page-templatesschedule-a-lesson-php .sponsors--compact.section {
	padding-bottom: clamp(56px, 5.7vw, 82px);
}

@media (max-width: 1000px) {
	.lesson-book__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.lesson-coaches {
		grid-template-columns: repeat(auto-fill, minmax(240px, 282px));
	}
}

@media (max-width: 640px) {
	.page-hero--lesson .page-hero__media {
		opacity: 0.5;
	}

	.page-hero--lesson .page-hero__inner {
		padding-block: 48px 40px;
	}

	.page-hero--lesson .page-hero__title {
		line-height: 1;
	}

	.lesson-points {
		flex-direction: column;
	}

	.lesson-book.section {
		padding-block: 48px 56px;
	}

	.lesson-coaches {
		grid-template-columns: minmax(0, 1fr);
		max-width: 340px;
	}
}

/* ==========================================================================
   Privacy Policy page (page-templates/privacy.php) — "Privacy Policy" design
   306px banner, then notice, two-item box, numbered steps, opt-out button,
   red note and closing line on the page colour (no games strip).
   ========================================================================== */
:root {
	--sh-priv-panel: #1b4332;       /* box, step rows */
	--sh-priv-red: #e60f1e;         /* notice line */
	--sh-priv-red-top: #d3121f;     /* badges, button, note */
	--sh-priv-red-bottom: #a6010f;
	--sh-priv-note-bottom: #880510;
	--sh-priv-rule: #e7ece9;        /* box divider */
}

/* Banner */
.page-hero--privacy {
	align-items: flex-start;
	min-height: 306px;
	background: var(--sh-pine);
}

.page-hero--privacy .page-hero__media {
	inset: 0;
	width: 100%;
	-webkit-mask-image: none;
	mask-image: none;
}

.page-hero--privacy .page-hero__inner {
	padding-block: 76px 48px;
}

.page-hero--privacy .page-hero__kicker {
	font: 400 1.25rem / 1.2 var(--sh-font-body); /* 20 */
}

.page-hero--privacy .page-hero__title {
	margin-top: 4px;
	font-size: clamp(3.5rem, 1.25rem + 5.95vw, 6.25rem); /* 100 → 81px caps */
	line-height: 1;
}

.page-hero--privacy .page-hero__intro {
	max-width: none;
	margin-top: 2px;
	font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.25rem); /* 20 */
	line-height: 1.3;
}

/* Main section */
.privacy.section {
	padding-block: 75px 76px;
	color: var(--sh-white);
}

.privacy__title {
	margin: 0;
	font-size: clamp(2rem, 1.5rem + 1.4vw, 2.5rem); /* 40 → 32px caps */
	line-height: 1;
	text-transform: uppercase;
	color: var(--sh-white);
}

.privacy__sub {
	margin: 10px 0 0;
	font: italic 700 clamp(1.1875rem, 1.05rem + 0.45vw, 1.40625rem) / 1.2 var(--sh-font-body); /* 22.5; never below 19px bold so the red stays large-text contrast */
	color: var(--sh-priv-red);
}

.privacy__intro,
.privacy__closing {
	max-width: 37rem; /* ~80 characters a line (the design runs ~125) */
	margin: 1px 0 0;
	font-size: 1.0625rem; /* 17 */
	line-height: 1.3;
	text-wrap: pretty;
}

.privacy__closing a {
	color: var(--sh-gold);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.privacy__closing a:hover {
	color: var(--sh-white);
}

/* Two-item box */
.privacy-box {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	min-height: 100px;
	margin: 30px 0 0;
	padding: 12px 0;
	border-radius: 10px;
	background: var(--sh-priv-panel);
	list-style: none;
}

.privacy-box__item {
	display: flex;
	align-items: center;
	gap: 36px;
	padding: 0 24px 0 91px;
}

.privacy-box__item + .privacy-box__item {
	padding-left: 76px;
	border-left: 2px solid var(--sh-priv-rule);
}

.privacy-box__icon {
	flex: none;
	width: auto;
	height: 70px;
	color: var(--sh-gold);
}

.privacy-box__item + .privacy-box__item {
	gap: 43px;
}

.privacy-box__item + .privacy-box__item .privacy-box__icon {
	width: 72px;
	height: 42px;
}

.privacy-box__title {
	margin: 0;
	text-transform: none; /* title case, as in the design */
	font-size: 1.625rem; /* 26 → 21px caps */
	line-height: 1.1;
	color: var(--sh-gold);
}

.privacy-box__text {
	margin: 3px 0 0;
	font-size: 0.9375rem; /* 15 */
	line-height: 1.3;
}

/* Choices */
.privacy__choices {
	margin: 40px 0 0;
	text-transform: none;
	font-size: clamp(1.875rem, 1.5rem + 1vw, 2.125rem); /* 34 → 27px caps */
	line-height: 1.1;
	color: var(--sh-gold);
}

.privacy__choices-text {
	margin: 4px 0 0;
	font-size: 1rem; /* 16 */
	line-height: 1.3;
}

.privacy-steps {
	display: flex;
	flex-direction: column;
	gap: 13px;
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.privacy-steps__item {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr);
	gap: 25px;
	align-items: center;
}

.privacy-steps__num {
	display: grid;
	place-items: center;
	height: 37px;
	padding-top: 2px;
	border-radius: 4px;
	background: linear-gradient(180deg, var(--sh-priv-red-top) 0%, var(--sh-priv-red-bottom) 100%);
	font: 700 2.1875rem / 1 var(--sh-font-display); /* 35 → 28px caps */
}

.privacy-steps__text {
	display: flex;
	align-items: center;
	min-height: 40px;
	padding: 5px 20px;
	border-radius: 8px;
	background: var(--sh-priv-panel);
	font-size: 0.875rem; /* 14 */
	line-height: 1.3;
}

/* Opt-out */
.privacy-optout {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
}

.privacy-optout__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 341px;
	min-height: 46px;
	padding: 2px 24px 0;
	border: 0;
	border-radius: 4px;
	background: linear-gradient(180deg, var(--sh-priv-red-top) 0%, var(--sh-priv-red-bottom) 100%);
	font: 700 1.5625rem / 1 var(--sh-font-display); /* 25 → 20px caps */
	text-transform: uppercase;
	color: var(--sh-white);
	text-decoration: none;
	cursor: pointer;
	transition: filter 0.2s var(--sh-ease);
}

.privacy-optout__button:hover {
	color: var(--sh-white);
	filter: brightness(1.12);
}

.privacy-optout__button:focus-visible {
	outline: 2px solid var(--sh-gold);
	outline-offset: 3px;
}

.privacy-optout__button .icon {
	width: 22px;
	height: 22px;
	stroke-width: 2.4;
}

.privacy-optout__button.is-done {
	background: var(--sh-priv-panel);
	box-shadow: inset 0 0 0 2px var(--sh-gold);
}

.privacy-optout__button.is-done .icon {
	display: none;
}

.privacy-optout__status {
	margin: 0;
	font-size: var(--sh-text-sm);
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
}

.privacy-optout__status:empty {
	display: none;
}

/* Note */
.privacy-note {
	display: flex;
	align-items: center;
	gap: 23px;
	min-height: 60px;
	margin-top: 39px;
	padding: 8px 24px 8px 22px;
	border-radius: 8px;
	background: linear-gradient(180deg, var(--sh-priv-red-top) 0%, var(--sh-priv-note-bottom) 100%);
}

.privacy-note .icon {
	flex: none;
	width: 34px;
	height: 34px;
	stroke-width: 1.6;
}

.privacy-note p {
	max-width: 62rem;
	margin: 0;
	font-size: 0.9375rem; /* 15 */
	line-height: 1.3;
}

.privacy-note strong {
	font-weight: 700;
}

.privacy__closing {
	margin-top: 14px;
}

/* Sponsors below follow: same rhythm as the design's other inner pages */
.page-template-page-templatesprivacy-php .sponsors--compact.section {
	padding-bottom: clamp(56px, 5.7vw, 82px);
}

@media (max-width: 900px) {
	.privacy-box {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		padding: 22px 0;
	}

	.privacy-box__item,
	.privacy-box__item + .privacy-box__item {
		gap: 20px;
		padding: 0 22px;
		border-left: 0;
	}

	.privacy-box__item + .privacy-box__item {
		padding-top: 18px;
		border-top: 2px solid rgba(231, 236, 233, 0.5);
	}
}

@media (max-width: 640px) {
	.page-hero--privacy .page-hero__media {
		opacity: 0.55;
	}

	.page-hero--privacy .page-hero__inner {
		padding-block: 48px 40px;
	}

	.privacy.section {
		padding-block: 48px 56px;
	}

	.privacy-box__icon,
	.privacy-box__item + .privacy-box__item .privacy-box__icon {
		height: 40px;
	}

	.privacy-steps__item {
		grid-template-columns: 44px minmax(0, 1fr);
		gap: 12px;
	}

	.privacy-steps__num {
		font-size: 1.75rem;
	}

	.privacy-optout__button {
		min-width: 0;
		width: 100%;
	}

	.privacy-note {
		align-items: flex-start;
		gap: 14px;
		padding: 14px 16px;
	}

	.privacy-note .icon {
		width: 28px;
		height: 28px;
	}
}

/* ==========================================================================
   Team Shop (woocommerce.php landing + WooCommerce lists) — "Team Shop" design
   436px banner with button, games strip, 3 category cards (384px, 6 gap),
   featured products: 4 white cards (267px, 32 gap) with filters.
   ========================================================================== */
:root {
	--sh-shop-bar: #1a4331;         /* category card label bar */
	--sh-shop-panel-top: #c8102e;   /* category card red panel */
	--sh-shop-panel-bottom: #8f0d1f;
	--sh-shop-arrow: #e9b85b;
	--sh-shop-card-line: #c7c9c6;
	--sh-shop-ink: #141414;
	--sh-shop-muted: #6b6b6b;
	--sh-shop-price: #c8102e;
	--sh-shop-badge: #12502f;
}

/* Banner */
.page-hero--shop {
	align-items: flex-start;
	min-height: 436px;
	background: var(--sh-pine);
}

.page-hero--shop .page-hero__media {
	inset: 0;
	width: 100%;
	-webkit-mask-image: none;
	mask-image: none;
}

.page-hero--shop .page-hero__inner {
	padding-block: 74px 48px;
}

.page-hero--shop .page-hero__kicker {
	font: 400 1.25rem / 1.2 var(--sh-font-body); /* 20 */
}

.page-hero--shop .page-hero__title {
	margin-top: 4px;
	font-size: clamp(3.5rem, 1rem + 7.1vw, 7.25rem); /* 116 → 93px caps */
	line-height: 1;
}

.page-hero--shop .page-hero__intro {
	max-width: 23.5rem;
	margin-top: -1px;
	font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.25rem); /* 20 */
	line-height: 1.3;
}

.shop-hero__button {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-height: 58px;
	margin-top: 36px;
	padding: 2px 39px 0;
	border-radius: 6px;
	background: linear-gradient(180deg, #c8102e 0%, #a50d26 100%);
	font: 700 1.75rem / 1 var(--sh-font-display); /* 28 → 22px caps */
	text-transform: uppercase;
	color: var(--sh-white);
	text-decoration: none;
	transition: filter 0.2s var(--sh-ease);
}

.shop-hero__button:hover {
	color: var(--sh-white);
	filter: brightness(1.12);
}

.shop-hero__button:focus-visible {
	outline: 2px solid var(--sh-gold);
	outline-offset: 3px;
}

.shop-hero__button .icon {
	width: 26px;
	height: 26px;
	stroke-width: 2.4;
}

/* Landing */
.shop-landing.section {
	padding-block: 79px 105px;
}

/* Games strip on the shop landing: the design gives it 3px more above and 2px more below */
.woocommerce-shop .games.section {
	padding-top: clamp(48px, 4.9vw, 70px);
	padding-bottom: clamp(48px, 4.9vw, 70px);
}

.shop-landing__title {
	margin: 0;
	padding-left: 19px;
	border-left: 7px solid var(--sh-red);
	font-size: clamp(2.125rem, 1.6rem + 1.4vw, 2.5625rem); /* 41 → 33px caps */
	line-height: 36px;
	text-transform: uppercase;
	color: var(--sh-white);
}

/* Category cards */
.shop-cats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.shop-cat__link {
	display: flex;
	flex-direction: column;
	color: var(--sh-white);
	text-decoration: none;
}

.shop-cat__art {
	position: relative;
	display: block;
	aspect-ratio: 384 / 250;
	overflow: hidden;
}

.shop-cat__art::before {
	content: "";
	position: absolute;
	inset: 28.4% 0 0; /* the red panel starts 71px down, as in the design */
	border-radius: 16px 16px 0 0;
	background: linear-gradient(180deg, var(--sh-shop-panel-top) 0%, var(--sh-shop-panel-bottom) 100%);
}

.shop-cat__art picture {
	position: absolute;
	inset: 0;
}

.shop-cat__img {
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: 50% 100%;
	transition: transform 0.35s var(--sh-ease);
	transform-origin: 50% 100%;
}

.shop-cat__img--bundled {
	object-fit: cover;
}

.shop-cat__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 65px;
	padding: 6px 44px 0 47px;
	border-radius: 0 0 16px 16px;
	background: var(--sh-shop-bar);
	transition: background-color 0.2s var(--sh-ease);
}

.shop-cat__label {
	font: 700 1.9375rem / 1 var(--sh-font-display); /* 31 → 25px caps */
	text-transform: uppercase;
}

.shop-cat__bar .icon {
	width: 36px;
	height: 36px;
	stroke-width: 2.2;
	color: var(--sh-shop-arrow);
	transition: transform 0.2s var(--sh-ease);
}

.shop-cat__link:hover .shop-cat__img {
	transform: scale(1.03);
}

.shop-cat__link:hover .shop-cat__bar {
	background: #215a40;
}

.shop-cat__link:hover .shop-cat__bar .icon {
	transform: translateX(4px);
}

.shop-cat__link:focus-visible {
	outline: 3px solid var(--sh-gold);
	outline-offset: 3px;
	border-radius: 16px;
}

/* Featured products */
.shop-featured {
	margin-top: 80px;
	scroll-margin-top: 90px;
}

.shop-featured__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 0;
}

.shop-featured__head .shop-landing__title {
	margin-right: 136px;
}

.shop-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.shop-filters__btn {
	min-height: 37px;
	padding: 0 12px;
	border: 2px solid var(--sh-white);
	border-radius: 8px;
	background: transparent;
	font: 400 1.0625rem / 1 var(--sh-font-body); /* 17 */
	color: var(--sh-white);
	cursor: pointer;
	transition: background-color 0.2s var(--sh-ease), border-color 0.2s var(--sh-ease);
}

.shop-filters__btn[aria-pressed="true"] {
	min-width: 62px;
	border-color: var(--sh-red);
	background: var(--sh-red);
	font-weight: 700;
}

.shop-filters__btn:hover {
	border-color: var(--sh-gold);
}

.shop-filters__btn:focus-visible {
	outline: 2px solid var(--sh-gold);
	outline-offset: 2px;
}

.shop-featured__all {
	margin-left: auto;
}

.shop-grid,
.woocommerce-wrap ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
	margin: 47px 0 0;
	padding: 0;
	list-style: none;
}

.woocommerce-wrap ul.products::before,
.woocommerce-wrap ul.products::after {
	content: none;
}

.shop-card[hidden] {
	display: none;
}

/* Product card (landing + WooCommerce lists) */
.shop-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 10px 12px 12px;
	border: 1px solid var(--sh-shop-card-line);
	border-radius: 8px;
	background: var(--sh-white);
	color: var(--sh-shop-ink);
}

.shop-card__media {
	position: relative;
	display: block;
	aspect-ratio: 245 / 196;
	overflow: hidden;
	border-radius: 4px;
	background: #e9ebe9;
}

.shop-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s var(--sh-ease);
}

.shop-card__media:hover .shop-card__img {
	transform: scale(1.04);
}

.shop-card__badge {
	position: absolute;
	top: 7px;
	left: 7px;
	padding: 3px 9px;
	border-radius: 4px;
	background: var(--sh-shop-badge);
	font: 500 0.8125rem / 1.2 var(--sh-font-body); /* 13 */
	color: var(--sh-white);
}

.shop-card__badge--sold {
	background: var(--sh-shop-ink);
}

.shop-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 12px 2px 0;
}

.shop-card__name {
	margin: 0;
	font: 600 1rem / 1.3 var(--sh-font-body); /* 16 */
	text-transform: none;
}

.shop-card__name a {
	color: var(--sh-shop-ink);
	text-decoration: none;
}

.shop-card__name a:hover {
	color: var(--sh-red);
}

.shop-card__name a:focus-visible {
	outline: 2px solid var(--sh-red);
	outline-offset: 2px;
}

.shop-card__cat {
	margin: 5px 0 0;
	font-size: 0.875rem; /* 14 */
	line-height: 1.3;
	color: var(--sh-shop-muted);
}

.shop-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: -5px; /* the cart button rises beside the category line, as in the design */
}

.shop-card__price {
	position: relative;
	top: 4px;
	font: 700 1.3125rem / 1.2 var(--sh-font-body); /* 21 */
	color: var(--sh-shop-price);
}

.shop-card__price del {
	margin-right: 6px;
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--sh-shop-muted);
}

.shop-card__price ins {
	text-decoration: none;
}

.shop-card__cart {
	display: grid;
	flex: none;
	place-items: center;
	width: 39px;
	height: 39px;
	border: 1.5px solid #4a4a4a;
	border-radius: 6px;
	color: var(--sh-shop-ink);
	transition: background-color 0.2s var(--sh-ease), color 0.2s var(--sh-ease);
}

.shop-card__cart:hover {
	background: var(--sh-red);
	border-color: var(--sh-red);
	color: var(--sh-white);
}

.shop-card__cart:focus-visible {
	outline: 2px solid var(--sh-red);
	outline-offset: 2px;
}

.shop-card__cart.loading {
	opacity: 0.6;
}

.shop-card__cart.added {
	background: var(--sh-shop-badge);
	border-color: var(--sh-shop-badge);
	color: var(--sh-white);
}

/* WooCommerce's "View cart" link added after the button */
.shop-card .added_to_cart {
	display: block;
	margin-top: 8px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--sh-red);
}

.shop-empty {
	margin: 32px 0 0;
	font-size: var(--sh-text-md);
	color: var(--sh-white);
}

@media (max-width: 1100px) {
	.shop-grid,
	.woocommerce-wrap ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}

	.shop-featured__head .shop-landing__title {
		margin-right: 32px;
	}
}

@media (max-width: 860px) {
	.shop-cats {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		max-width: 420px;
	}

	.shop-grid,
	.woocommerce-wrap ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	.shop-featured__all {
		margin-left: 0;
		flex-basis: 100%;
	}
}

@media (max-width: 640px) {
	.page-hero--shop .page-hero__media {
		opacity: 0.55;
	}

	.page-hero--shop .page-hero__inner {
		padding-block: 48px 40px;
	}

	.shop-hero__button {
		margin-top: 24px;
		padding: 2px 24px 0;
		font-size: 1.5rem;
	}

	.shop-landing.section {
		padding-block: 48px 64px;
	}

	.shop-cat__bar {
		padding: 2px 24px 0;
	}

	.shop-featured {
		margin-top: 48px;
	}

	.shop-grid,
	.woocommerce-wrap ul.products {
		gap: 12px;
		margin-top: 24px;
	}

	.shop-card {
		padding: 8px 8px 10px;
	}

	.shop-card__price {
		font-size: 1.125rem;
	}

	.shop-card__cart {
		width: 36px;
		height: 36px;
	}
}

@media (max-width: 400px) {
	.shop-grid,
	.woocommerce-wrap ul.products {
		grid-template-columns: minmax(0, 1fr);
		max-width: 300px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.shop-cat__img,
	.shop-card__img,
	.shop-cat__bar .icon {
		transition: none;
	}
}

/* ==========================================================================
   Donation form (page-templates/donation-checkout.php) — "Cycle Donation" design
   414px banner, games strip, then a 1196px row: 354px info column + 811px form panel.
   ========================================================================== */
:root {
	--sh-dc-panel: #1b4332;         /* form panel, level + why boxes */
	--sh-dc-intro-top: #0c482b;     /* "makes a difference" box */
	--sh-dc-intro-bottom: #0a2f1c;
	--sh-dc-red-top: #d3111e;       /* summary bar, price, button */
	--sh-dc-red-bottom: #a6010f;
	--sh-dc-field-line: #c4c4c2;
	--sh-dc-card: #f5f5f4;
	--sh-dc-note: #fbe4e5;
	--sh-dc-note-ink: #3a1d1f;
}

/* Banner */
.page-hero--donate-form {
	align-items: flex-start;
	min-height: 414px;
	background: var(--sh-pine);
}

.page-hero--donate-form .page-hero__media {
	inset: 0;
	width: 100%;
	-webkit-mask-image: none;
	mask-image: none;
}

.page-hero--donate-form .page-hero__inner {
	padding-block: 128px 48px;
}

.page-hero--donate-form .page-hero__kicker {
	font: 400 1.25rem / 1.2 var(--sh-font-body); /* 20 */
}

.page-hero--donate-form .page-hero__title {
	margin-top: 5px;
	font-size: clamp(3.25rem, 1.2rem + 5.4vw, 5.6875rem); /* 91 → 73px caps */
	line-height: 1;
}

.page-hero--donate-form .page-hero__intro {
	max-width: none;
	margin-top: 4px;
	font-size: clamp(1.1875rem, 1rem + 0.7vw, 1.6875rem); /* 27 */
	line-height: 1.3;
}

/* Section */
.donate-form.section {
	padding-block: 67px 67px;
}

.donate-form .container {
	max-width: calc(1196px + var(--sh-gutter) * 2);
}

.donate-form__back {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font: 600 1rem / 1.3 var(--sh-font-body); /* 16 */
	color: var(--sh-white);
	text-decoration: none;
}

.donate-form__back .icon {
	width: 20px;
	height: 20px;
	transform: scaleX(-1);
	transition: transform 0.2s var(--sh-ease);
}

.donate-form__back:hover {
	color: var(--sh-gold);
}

.donate-form__back:hover .icon {
	transform: scaleX(-1) translateX(4px);
}

.donate-form__layout {
	display: grid;
	grid-template-columns: minmax(0, 354px) minmax(0, 1fr);
	gap: 31px;
	align-items: start;
	margin-top: 14px;
}

/* Info column */
.donate-form__aside {
	display: flex;
	flex-direction: column;
	gap: 17px;
	padding-top: 6px;
}

.donate-box {
	padding: 14px 26px 24px 37px;
	border-radius: 12px;
	background: var(--sh-dc-panel);
	color: var(--sh-white);
}

.donate-box--intro {
	display: grid;
	grid-template-columns: 67px minmax(0, 1fr);
	gap: 0 24px;
	align-items: end;
	padding: 22px 16px 30px 28px;
	border: 1px solid rgba(47, 210, 122, 0.25);
	background: linear-gradient(160deg, var(--sh-dc-intro-top) 0%, var(--sh-dc-intro-bottom) 100%);
}

.donate-box__intro-icon {
	width: 67px;
	height: auto;
	margin-bottom: 6px;
}

.donate-box__title {
	margin: 0;
	font-size: clamp(1.75rem, 1.4rem + 0.9vw, 2.0625rem); /* 33 → 26px caps */
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--sh-gold);
}

.donate-box__title--intro {
	font-size: clamp(1.625rem, 1.3rem + 0.8vw, 1.9375rem); /* 31 */
	line-height: 36px;
}

.donate-box__text {
	margin: 8px 0 0;
	font-size: 1.0625rem; /* 17 */
	line-height: 1.3;
}

.donate-box--intro .donate-box__text {
	margin-top: 6px;
	font-size: 1rem;
}

.donate-box__price-row {
	display: flex;
	align-items: center;
	gap: 22px;
	margin-top: 17px;
}

.donate-box__price {
	display: grid;
	place-items: center;
	min-width: 169px;
	min-height: 45px;
	padding: 3px 18px 0;
	border-radius: 23px;
	background: linear-gradient(180deg, var(--sh-dc-red-top) 0%, var(--sh-dc-red-bottom) 100%);
	font: 700 2.375rem / 1 var(--sh-font-display); /* 38 */
}

.donate-box__level-icon {
	width: auto;
	height: 52px;
	color: var(--sh-white);
}

.donate-box--level .donate-box__text {
	margin-top: 15px;
}

.donate-box--why {
	padding-bottom: 2px;
}

.donate-why {
	margin: 6px 0 0 -20px;
	padding: 0;
	list-style: none;
}

.donate-why li {
	display: flex;
	align-items: center;
	gap: 42px;
	min-height: 66px;
	padding: 8px 0 8px 22px;
	font: 700 1rem / 1.3 var(--sh-font-body); /* 16 */
}

.donate-why li + li {
	border-top: 1px solid rgba(255, 255, 255, 0.85);
}

.donate-why__icon {
	flex: none;
	width: 40px;
	height: auto;
	max-height: 44px;
	color: var(--sh-white);
}

/* Form panel */
.donate-panel {
	padding: 18px 37px 25px;
	border-radius: 16px;
	background: var(--sh-dc-panel);
	color: var(--sh-white);
}

.donate-panel__title {
	margin: 0;
	font-size: clamp(2.25rem, 1.8rem + 1.2vw, 2.625rem); /* 42 → 34px caps */
	line-height: 1;
	text-transform: uppercase;
	color: var(--sh-gold);
}

.donate-panel__message {
	margin: 18px 0 0;
	padding: 14px 18px;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.2);
	font-size: var(--sh-text-md);
	line-height: 1.4;
}

.donate-panel__message {
	text-wrap: pretty;
}

.donate-panel__message a {
	color: var(--sh-gold);
	text-decoration: underline;
}

.donate-panel__message--ok {
	box-shadow: inset 0 0 0 2px var(--sh-gold);
}

.donate-panel__message--error {
	box-shadow: inset 0 0 0 2px var(--sh-dc-red-top);
}

.donate-summary {
	display: grid;
	grid-template-columns: auto auto 1fr;
	align-items: center;
	gap: 0 17px;
	min-height: 54px;
	margin-top: 11px;
	padding: 0 24px;
	border-radius: 8px;
	background: linear-gradient(180deg, var(--sh-dc-red-top) 0%, var(--sh-dc-red-bottom) 100%);
}

.donate-summary__icon {
	width: auto;
	height: 30px;
	color: var(--sh-white);
}

.donate-summary__type,
.donate-summary__amount {
	margin: 0;
	font: 700 1.0625rem / 1.2 var(--sh-font-body); /* 17 */
}

.donate-summary__amount {
	justify-self: start;
	margin-left: 83px;
	padding-left: 66px;
	border-left: 2px solid rgba(255, 255, 255, 0.85);
}

.donate-summary__amount strong {
	margin-left: 8px;
	font-size: 1.375rem; /* 22 */
}

.donate-fields__heading {
	margin: 17px 0 0;
	font-size: clamp(1.625rem, 1.4rem + 0.6vw, 1.875rem); /* 30 → 24px caps */
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--sh-gold);
}

.donate-fields__trap {
	position: absolute;
	left: -9999px;
}

.donate-fields__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 17px;
}

.donate-fields__grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 29px;
}

.donate-field {
	margin: 6px 0 0;
}

.donate-field--wide {
	grid-column: 1 / -1;
}

.donate-field label,
.donate-field__label {
	display: block;
	margin-bottom: 4px;
	font: 700 0.875rem / 1.3 var(--sh-font-body); /* 14 */
}

.donate-field input,
.donate-field select {
	width: 100%;
	min-height: 35px;
	padding: 0 12px;
	border: 1px solid var(--sh-dc-field-line);
	border-radius: 4px;
	background: var(--sh-white);
	font: 400 1rem / 1 var(--sh-font-body);
	color: #111111;
}

.donate-field input:focus-visible,
.donate-field select:focus-visible {
	outline: 2px solid var(--sh-gold);
	outline-offset: 1px;
}

.donate-field__select {
	position: relative;
	display: flex;
	align-items: center;
}

.donate-field__select select {
	padding-right: 36px;
	-webkit-appearance: none;
	appearance: none;
	color: #444444;
	cursor: pointer;
}

.donate-field__select .icon {
	position: absolute;
	right: 12px;
	width: 18px;
	height: 18px;
	stroke-width: 2.2;
	color: #111111;
	pointer-events: none;
}

.donate-card {
	position: relative;
	display: flex;
	align-items: center;
	color: #6e6e6e;
}

.donate-card__icon {
	position: absolute;
	left: 12px;
	pointer-events: none;
}

.donate-field .donate-card input {
	min-height: 37px;
	padding: 0 160px 0 50px;
	background: var(--sh-dc-card);
	cursor: not-allowed;
}

.donate-field .donate-card input::placeholder {
	color: #6e6e6e;
}

.donate-card__extra {
	position: absolute;
	right: 34px;
	display: flex;
	gap: 34px;
	font-size: 1rem;
	pointer-events: none;
}

.donate-card__note {
	display: block;
	margin-top: 6px;
	font-size: 0.8125rem; /* 13 */
	line-height: 1.35;
	color: #e3e8e5;
}

.donate-fields__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-top: 20px;
}

.donate-checks {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.donate-checks label {
	display: flex;
	align-items: center;
	gap: 13px;
	font-size: 1.0625rem; /* 17 */
	line-height: 1.2;
	cursor: pointer;
}

.donate-checks input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #1a73e8;
}

.donate-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	min-width: 351px;
	min-height: 52px;
	padding: 2px 24px 0;
	border: 0;
	border-radius: 6px;
	background: linear-gradient(180deg, var(--sh-dc-red-top) 0%, var(--sh-dc-red-bottom) 100%);
	font: 700 2.1875rem / 1 var(--sh-font-display); /* 35 → 28px caps */
	text-transform: uppercase;
	color: var(--sh-white);
	cursor: pointer;
	transition: filter 0.2s var(--sh-ease);
}

.donate-submit:hover {
	filter: brightness(1.12);
}

.donate-submit:focus-visible {
	outline: 2px solid var(--sh-gold);
	outline-offset: 3px;
}

.donate-submit .icon {
	width: 22px;
	height: 22px;
	stroke-width: 2.4;
}

.donate-note {
	display: flex;
	align-items: center;
	gap: 13px;
	min-height: 52px;
	margin: 19px 0 0;
	padding: 8px 18px 8px 17px;
	border-radius: 6px;
	background: var(--sh-dc-note);
	font-size: 0.875rem; /* 14 */
	line-height: 1.3;
	color: var(--sh-dc-note-ink);
}

.donate-note .icon {
	flex: none;
	width: 24px;
	height: 24px;
	stroke-width: 1.8;
	color: #c8102e;
}

/* Sponsors below follow: same rhythm as the design's other inner pages */
.page-template-page-templatesdonation-checkout-php .sponsors--compact.section {
	padding-bottom: clamp(56px, 5.7vw, 82px);
}

@media (max-width: 1100px) {
	.donate-form__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.donate-form__aside {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.donate-box--why {
		grid-column: 1 / -1;
	}

	.donate-summary__amount {
		margin-left: 24px;
		padding-left: 24px;
	}
}

@media (max-width: 760px) {
	.donate-form__aside {
		display: flex;
	}

	.donate-fields__grid,
	.donate-fields__grid--3 {
		grid-template-columns: minmax(0, 1fr);
	}

	.donate-summary {
		grid-template-columns: auto minmax(0, 1fr);
		padding: 12px 18px;
		row-gap: 6px;
	}

	.donate-summary__amount {
		grid-column: 2;
		margin-left: 0;
		padding-left: 0;
		border-left: 0;
	}

	.donate-submit {
		width: 100%;
		min-width: 0;
		font-size: 1.75rem;
	}

	.donate-card__row span + span {
		margin-left: 6px;
	}
}

@media (max-width: 640px) {
	.page-hero--donate-form .page-hero__media {
		opacity: 0.55;
	}

	.page-hero--donate-form .page-hero__inner {
		padding-block: 48px 40px;
	}

	.donate-form.section {
		padding-block: 40px 56px;
	}

	.donate-panel {
		padding: 20px 18px 22px;
	}

	.donate-box,
	.donate-box--intro {
		padding: 20px;
	}

	.donate-why li {
		gap: 20px;
	}
}

/* ==========================================================================
   Site audit fixes (Dec 2026)
   ========================================================================== */

/* Become a Sponsor: "SPONSORSHIP" at 39px is wider than the box on phones (spilled 13px at 375). */
@media (max-width: 600px) {
	.sp-overview__title {
		flex: 1 1 100%;
		min-width: 0;
		padding-right: 0;
		font-size: clamp(1.75rem, 8.4vw, 2.4375rem); /* 28 → 39 */
		line-height: 1.13;
	}
}

/* ==========================================================================
   Site motion (assets/js/motion.js, GSAP + ScrollTrigger) — modelled on the client's
   Blueprint Baseball site. Everything here is decorative and only applies while
   html.sh-motion is set (motion on, no reduced-motion request, scripts loaded).
   Customizer > Smoky Hill: Animations.
   ========================================================================== */
:root {
	--sh-motion-glow-gold: 199, 160, 76;   /* rgb of the gold glow */
	--sh-motion-glow-green: 31, 138, 85;   /* rgb of the green glow */
	--sh-motion-word: rgba(199, 160, 76, 0.07);
}

/* Scroll progress bar */
.sh-progress {
	position: fixed;
	inset: 0 0 auto;
	z-index: 1000;
	height: 3px;
	background: linear-gradient(90deg, var(--sh-red), var(--sh-gold));
	box-shadow: 0 0 12px rgba(var(--sh-motion-glow-gold), 0.6);
	transform: scaleX(0);
	transform-origin: 0 50%;
	pointer-events: none;
}

/* Floating glows */
.sh-has-blobs {
	position: relative;
	isolation: isolate;
}

.sh-blobs {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
}

.sh-blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	will-change: transform;
}

.sh-blob--1 {
	top: -18%;
	left: -8%;
	width: min(560px, 70vw);
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(var(--sh-motion-glow-gold), 1), transparent 70%);
	opacity: 0.16;
	animation: sh-float-1 22s ease-in-out infinite;
}

.sh-blob--2 {
	right: -6%;
	bottom: -24%;
	width: min(460px, 60vw);
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(var(--sh-motion-glow-green), 1), transparent 70%);
	opacity: 0.4;
	animation: sh-float-2 26s ease-in-out infinite;
}

@keyframes sh-float-1 {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50%      { transform: translate(-40px, 50px) scale(1.12); }
}

@keyframes sh-float-2 {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50%      { transform: translate(50px, -30px) scale(1.08); }
}

/* Giant word sliding behind dark bands */
.sh-has-word {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.sh-word {
	position: absolute;
	right: -2%;
	bottom: -0.18em;
	z-index: -1;
	font: 900 clamp(5rem, 13vw, 12rem) / 1 var(--sh-font-display);
	letter-spacing: 0.01em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--sh-motion-word);
	pointer-events: none;
	user-select: none;
}

@media (max-width: 700px) {
	.sh-word {
		display: none;
	}
}

/* Inner-page banners load in (the home hero already has its own entrance) */
@media (prefers-reduced-motion: no-preference) {
	/* Text only: the cut-outs (.page-hero__players / __player) are absolutely placed, and a
	   transform keyframe would fight their own placement — they get an opacity-only fade. */
	.sh-motion .page-hero__inner > :not(.page-hero__players):not(.page-hero__player) {
		animation: sh-fade 0.8s var(--sh-ease-out-expo) backwards;
	}

	.sh-motion .page-hero__players,
	.sh-motion .page-hero__player {
		animation: sh-appear 1s var(--sh-ease-out-expo) 0.15s backwards;
	}

	.sh-motion .page-hero__title {
		animation-name: sh-rise;
		animation-duration: 0.9s;
	}

	.sh-motion .page-hero__inner > :nth-child(2) { animation-delay: 0.08s; }
	.sh-motion .page-hero__inner > :nth-child(3) { animation-delay: 0.18s; }
	.sh-motion .page-hero__inner > :nth-child(n+4) { animation-delay: 0.28s; }

	.sh-motion .page-hero__media {
		animation: sh-hero-photo 1.2s var(--sh-ease-out-expo) backwards;
	}

	/* Hover lift on buttons and cards that had no movement yet */
	.btn,
	.sp-btn,
	.sponsor__tile,
	.hof-card__link,
	.value-card,
	.player-card,
	.shop-card,
	.record-card,
	.indiv-card,
	.join-card,
	.reg-card {
		transition-property: background-color, border-color, color, transform, box-shadow, filter;
		transition-duration: 0.25s;
		transition-timing-function: var(--sh-ease);
	}

	.btn:hover,
	.sp-btn:hover {
		transform: translateY(-3px);
		box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.55);
	}

	.btn:active,
	.sp-btn:active {
		transform: translateY(-1px);
	}

	.sponsor__tile:hover {
		transform: translateY(-4px) scale(1.04);
	}

	.hof-card__link:hover,
	.value-card:hover,
	.player-card:hover,
	.shop-card:hover,
	.record-card:hover,
	.indiv-card:hover,
	.join-card:hover,
	.reg-card:hover {
		transform: translateY(-6px);
		box-shadow: 0 22px 40px -18px rgba(0, 0, 0, 0.55);
	}
}

@keyframes sh-appear {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@keyframes sh-hero-photo {
	from { opacity: 0; transform: translateX(24px); }
	to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.sh-blob,
	.sh-word,
	.sh-progress {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Hover effects (Blueprint-style): light sweep on buttons, growing nav underline,
   card image zoom, tilting icons, arrow nudges. Only on devices with a real hover
   (no sticky hover on touch) and only without a reduced-motion request.
   -------------------------------------------------------------------------- */
:root {
	--sh-hover-sweep: rgba(255, 255, 255, 0.26);
	--sh-hover-glow-red: rgba(212, 23, 47, 0.55);
	--sh-hover-glow-gold: rgba(199, 160, 76, 0.45);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	/* Buttons: a diagonal band of light crosses the button, plus lift and a coloured glow */
	.btn,
	.sp-btn {
		position: relative;
		isolation: isolate;
		overflow: hidden;
	}

	.btn::after,
	.sp-btn::after {
		content: "";
		position: absolute;
		inset: 0;
		z-index: -1;
		background: linear-gradient(110deg, transparent 30%, var(--sh-hover-sweep) 50%, transparent 70%);
		transform: translateX(-120%);
		transition: transform 0.6s var(--sh-ease-out-expo);
		pointer-events: none;
	}

	.btn:hover::after,
	.sp-btn:hover::after {
		transform: translateX(120%);
	}

	.btn--primary:hover,
	.sp-btn--red:hover {
		box-shadow: 0 16px 32px -12px var(--sh-hover-glow-red);
	}

	.btn--outline:hover,
	.btn--gold-outline:hover,
	.sp-btn--outline:hover {
		box-shadow: 0 14px 30px -14px var(--sh-hover-glow-gold);
	}

	/* Header: underline grows from the left under menu links; the crest gives a small turn */
	.site-nav__list a {
		position: relative;
	}

	.site-nav__list li:not(.current-menu-item):not(.current_page_item) > a::after {
		content: "";
		position: absolute;
		inset: auto 0 -2px;
		height: 2px;
		background: var(--sh-red);
		transform: scaleX(0);
		transform-origin: 0 50%;
		transition: transform 0.3s var(--sh-ease-out-expo);
	}

	.site-nav__list li:not(.current-menu-item):not(.current_page_item) > a:hover::after,
	.site-nav__list li:not(.current-menu-item):not(.current_page_item) > a:focus-visible::after {
		transform: scaleX(1);
	}

	.site-logo__mark {
		transition: transform 0.4s var(--sh-ease-out-expo);
	}

	.site-logo:hover .site-logo__mark {
		transform: rotate(-10deg) scale(1.08);
	}

	/* Small pills and chips lift */
	.chip {
		transition: background-color 0.2s var(--sh-ease), border-color 0.2s var(--sh-ease), transform 0.2s var(--sh-ease);
	}

	.chip:hover {
		transform: translateY(-2px);
	}

	/* Card photos zoom inside their (already clipped) frames */
	.player-card__img,
	.indiv-card__img,
	.record-card__img,
	.join__img {
		transition: transform 0.6s var(--sh-ease-out-expo);
	}

	.player-card:hover .player-card__img,
	.indiv-card:hover .indiv-card__img,
	.record-card:hover .record-card__img,
	.join:hover .join__img {
		transform: scale(1.06);
	}

	/* Icons in a hovered card or list item tilt, like Blueprint's feature icons */
	[class*="__icon"]:not(.follow__icon) {
		transition: transform 0.35s var(--sh-ease-out-expo), color 0.2s var(--sh-ease);
	}

	li:hover > [class*="__icon"],
	li:hover > * > [class*="__icon"],
	.value-card:hover .value-card__icon,
	.sp-level:hover .sp-level__icon,
	.hof-about__item:hover .hof-about__icon,
	.privacy-box:hover .privacy-box__icon {
		transform: rotate(-10deg) scale(1.12);
	}

	/* Arrow icons inside links slide forward */
	.text-link .icon,
	.sp-btn .icon,
	.shop-hero__button .icon {
		transition: transform 0.25s var(--sh-ease-out-expo);
	}

	.text-link:hover .icon,
	.sp-btn:hover .icon:last-child,
	.shop-hero__button:hover .icon {
		transform: translateX(4px);
	}

	/* Fixture rows and game cards: a soft highlight wipes in */
	.fixture__link {
		transition: background-color 0.25s var(--sh-ease), transform 0.25s var(--sh-ease-out-expo);
	}

	.fixture__link:hover {
		transform: translateX(4px);
	}

	/* Table rows light up (an overlay, so striped rows with their own cell colour light up too) */
	tbody tr:hover > * {
		background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05));
	}
}
