/*
Theme Name: Scoreboard SSP
Theme URI: https://scoreboardssp.com
Author: Scoreboard SSP
Description: One-page marketing theme for Scoreboard SSP, the SSP built for sports. Dark scoreboard styling with LED readouts, built from the Scoreboard SSP overview deck.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: scoreboard-ssp
*/

:root {
	/* Layout: a broadcast feed on a 1200px grid. Sticky scorebug header, dark full-bleed sections,
	   LED readouts for the data, one yellow break for the statement. */
	--ink: #0b0d10;
	--panel: #14181e;
	--line: rgba(255, 255, 255, 0.12);
	--line-strong: rgba(255, 255, 255, 0.24);
	--scan: rgba(255, 255, 255, 0.04);
	--chalk: #f4f2e8;
	--mist: #b4bac4;
	--steel: #8a93a1;
	--volt: #ffff00;
	--volt-glow: rgba(255, 255, 0, 0.6);
	--bezel: #1d222b;

	--font-display: "Barlow Condensed", "Trebuchet MS", "Arial Narrow", sans-serif;
	--font-body: "DM Sans", Arial, sans-serif;
	--font-led: "Doto", "Courier New", monospace;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(4rem, 9vw, 7.5rem);
	--radius: 8px;
	--header-h: 72px;
	--header-top: env(safe-area-inset-top, 0px);

	color-scheme: dark;
}

/* ---------- Base ---------- */

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

html {
	scroll-padding-top: calc(var(--header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--ink);
	color: var(--chalk);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
dl,
dd {
	margin: 0;
}

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

img {
	height: auto;
}

a {
	color: inherit;
}

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

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

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 0.6rem 1rem;
	background: var(--volt);
	color: var(--ink);
	font-weight: 700;
}

.skip-link:focus {
	top: 16px;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section {
	position: relative;
	padding-block: var(--section);
}

.section > .wrap {
	position: relative;
	z-index: 1;
}

.section--art {
	overflow: hidden;
}

/* Large line-art backdrops: courts and fields bleeding off the edge of a section. */
.backdrop {
	position: absolute;
	z-index: 0;
	max-width: none;
	height: auto;
	color: var(--volt);
	opacity: 0.13;
	pointer-events: none;
}

.backdrop--gap {
	top: -1rem;
	right: -9rem;
	width: 50rem;
	transform: rotate(-7deg);
}

.backdrop--data {
	right: -3rem;
	bottom: -1.5rem;
	width: 27rem;
	transform: rotate(8deg);
}

.backdrop--source {
	top: 1.5rem;
	right: -13rem;
	width: 46rem;
	transform: rotate(5deg);
}

.backdrop--network {
	top: 4.5rem;
	right: max(2rem, calc((100vw - var(--wrap)) / 2 + 2rem));
	width: 24rem;
	transform: scaleX(-1);
}

.tag {
	position: absolute;
	top: 0;
	left: 0;
	padding: 0.3rem 0.7rem;
	background: var(--volt);
	color: var(--ink);
	font-family: var(--font-led);
	font-size: 0.8125rem;
	font-weight: 900;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.tag--ink {
	background: var(--ink);
	color: var(--volt);
}

.section--rule {
	border-top: 1px solid var(--line);
}

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

.title {
	font-family: var(--font-display);
	font-size: clamp(2.25rem, 5vw, 4rem);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	text-wrap: balance;
}

.subtitle {
	font-family: var(--font-display);
	font-size: clamp(1.375rem, 2.2vw, 1.75rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-wrap: balance;
}

.lead {
	max-width: 44rem;
	font-size: clamp(1.125rem, 1.6vw, 1.375rem);
	line-height: 1.45;
	color: var(--mist);
}

.muted {
	color: var(--mist);
}

.label {
	font-family: var(--font-display);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--steel);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	font-family: var(--font-led);
	font-size: 0.9375rem;
	font-weight: 900;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--volt);
}

.dot {
	flex: none;
	width: 0.75em;
	height: 0.75em;
	border-radius: 50%;
	background: var(--volt);
	box-shadow: 0 0 12px var(--volt-glow);
}

.section-head {
	display: grid;
	gap: 0.9rem;
	max-width: 56rem;
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* ---------- Surfaces ---------- */

.panel {
	background-color: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.scan {
	background-image: repeating-linear-gradient(180deg, var(--scan) 0, var(--scan) 2px, transparent 2px, transparent 8px);
}

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 0.85rem 1.4rem;
	border: 2px solid var(--volt);
	border-radius: 4px;
	background: var(--volt);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn:hover {
	background: var(--chalk);
	border-color: var(--chalk);
}

.btn--ghost {
	background: transparent;
	border-color: var(--line-strong);
	color: var(--chalk);
}

.btn--ghost:hover {
	background: transparent;
	border-color: var(--volt);
	color: var(--volt);
}

.btn--sm {
	padding: 0.6rem 1rem;
	font-size: 1rem;
}

.arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--volt);
}

.arrow-link::after {
	content: "\2192";
	transition: transform 0.15s;
}

.arrow-link:hover::after {
	transform: translateX(4px);
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: var(--header-top);
	z-index: 50;
	background: rgba(11, 13, 16, 0.92);
	border-bottom: 1px solid var(--line);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.site-header__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--header-h);
}

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

.brand img,
.custom-logo {
	width: auto;
	height: 46px;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2vw, 1.75rem);
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(0.9rem, 1.8vw, 1.6rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list a {
	padding-block: 0.5rem;
	font-family: var(--font-display);
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--mist);
	transition: color 0.15s;
}

.site-nav__list a:hover {
	color: var(--volt);
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 0.6rem;
	padding: 0.55rem 0.8rem;
	border: 1px solid var(--line-strong);
	border-radius: 4px;
	background: transparent;
	color: var(--chalk);
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
}

.nav-toggle__bars {
	width: 18px;
	height: 2px;
	background: currentColor;
	box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

@media (max-width: 1040px) {
	.js .nav-toggle {
		display: inline-flex;
	}

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

	.site-nav {
		flex-basis: 100%;
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
		padding-bottom: 1.25rem;
	}

	.site-nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
	}

	.site-nav__list a {
		font-size: 1.25rem;
	}

	.js .site-nav {
		display: none;
	}

	.js .site-nav.is-open {
		display: flex;
	}
}

.admin-bar .site-header {
	--header-top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		--header-top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		--header-top: 0px;
	}
}

/* ---------- Hero ---------- */

.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem);
}

/* Optional background photo, darkened on the left so the headline stays readable. */
.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero--photo::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(11, 13, 16, 0.96) 0%, rgba(11, 13, 16, 0.88) 42%, rgba(11, 13, 16, 0.4) 100%);
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	gap: clamp(3rem, 6vw, 5rem);
	align-items: center;
}

.hero__visual {
	position: relative;
	display: flex;
	flex-direction: column;
}

/* The yellow slab behind the board, running off the right edge of the screen. */
.hero__slab {
	position: absolute;
	top: -40rem;
	right: -60vw;
	bottom: -40rem;
	left: -3%;
	z-index: -1;
	overflow: hidden;
	background: var(--volt);
	transform: skewX(-6deg);
}

.hero__court {
	position: absolute;
	top: 50%;
	left: 18%;
	width: auto;
	max-width: none;
	height: 46rem;
	color: var(--ink);
	opacity: 0.2;
	transform: translateY(-50%) skewX(6deg);
}

.hero--photo .hero__slab {
	right: auto;
	left: -9%;
	width: 14px;
}

.hero--photo .hero__court {
	display: none;
}

.hero__inset {
	position: relative;
	align-self: flex-end;
	width: 58%;
	margin: 0 -0.75rem -1.5rem 0;
	overflow: hidden;
	border: 4px solid var(--ink);
	border-radius: 6px;
	box-shadow: 0 20px 40px -20px #000;
	transform: rotate(2deg);
}

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

.hero__copy {
	display: grid;
	gap: clamp(1.25rem, 2.5vw, 2rem);
	justify-items: start;
}

.lights {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lights li {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-family: var(--font-led);
	font-size: 0.9375rem;
	font-weight: 900;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.hero__title {
	font-family: var(--font-display);
	font-size: clamp(2.75rem, 6.6vw, 5.5rem);
	font-weight: 600;
	line-height: 0.98;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	text-wrap: balance;
}

.hero__title em {
	font-style: normal;
	color: var(--volt);
}

.hero__lead {
	max-width: 36rem;
	font-size: clamp(1.125rem, 1.7vw, 1.375rem);
	font-weight: 500;
	line-height: 1.45;
	color: var(--mist);
}

.hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* The signal board */

.board {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 1.25rem;
	padding: clamp(1.25rem, 2.4vw, 2rem);
	box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.85);
}

.board__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--line);
}

.bug {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--font-display);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--steel);
}

.bug b {
	padding: 0.1em 0.5em;
	background: var(--volt);
	color: var(--ink);
	font-weight: 700;
	letter-spacing: 0.12em;
}

.board__live {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-led);
	font-size: 0.875rem;
	font-weight: 900;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.board__row {
	display: grid;
	grid-template-columns: 7.5rem minmax(0, 1fr);
	gap: 1rem;
	align-items: baseline;
	padding-block: 0.8rem;
	border-bottom: 1px dashed var(--line);
}

.board__row dd {
	font-family: var(--font-led);
	font-size: clamp(1.25rem, 2.1vw, 1.7rem);
	font-weight: 900;
	line-height: 1.1;
	text-transform: uppercase;
	overflow-wrap: anywhere;
	transition: opacity 0.18s;
}

.board__row--hit dd {
	color: var(--volt);
	text-shadow: 0 0 18px rgba(255, 255, 0, 0.35);
}

.board.is-swapping .board__row dd {
	opacity: 0.12;
}

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

.board__cell {
	display: grid;
	gap: 0.5rem;
	align-content: start;
	padding: 0.9rem 1rem 1rem;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--ink);
}

.board__cell .label {
	font-size: 0.8125rem;
	letter-spacing: 0.18em;
}

.board__cell b {
	font-family: var(--font-led);
	font-size: clamp(1.25rem, 2.1vw, 1.7rem);
	font-weight: 900;
	line-height: 1.05;
	color: var(--steel);
}

.board__cell--home {
	border-color: var(--volt);
	background: var(--volt);
}

.board__cell--home .label,
.board__cell--home b {
	color: var(--ink);
}

.board__note {
	font-size: 0.8125rem;
	color: var(--steel);
}

/* ---------- Ticker ---------- */

.ticker {
	position: relative;
	display: flex;
	align-items: stretch;
	overflow: hidden;
	background: var(--ink);
	border-block: 2px solid var(--volt);
	color: var(--chalk);
}

.ticker__tag {
	display: flex;
	flex: none;
	align-items: center;
	padding: 0.75rem 1.1rem 0.75rem var(--gutter);
	background: var(--volt);
	color: var(--ink);
	font-family: var(--font-led);
	font-size: 0.875rem;
	font-weight: 900;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	white-space: nowrap;
}

.ticker__view {
	display: flex;
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

.ticker__track {
	display: flex;
	flex: none;
	animation: ticker 44s linear infinite;
}

.ticker:hover .ticker__track {
	animation-play-state: paused;
}

.ticker__list {
	display: flex;
	flex: none;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ticker__list li {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 0.7rem 0 0.7rem 1.5rem;
	font-family: var(--font-display);
	font-size: 1.1875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	white-space: nowrap;
}

.ticker__list li::after {
	content: "";
	width: 0.45rem;
	height: 0.45rem;
	background: var(--volt);
	transform: rotate(45deg);
}

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

@media (max-width: 560px) {
	.ticker__tag {
		font-size: 0.75rem;
		letter-spacing: 0.12em;
	}
}

/* ---------- The gap ---------- */

.tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.tile {
	display: grid;
	gap: 0.9rem;
	padding: clamp(1.25rem, 2.4vw, 2rem);
}

.tile__value {
	font-family: var(--font-led);
	font-size: clamp(1.75rem, 3.3vw, 2.75rem);
	font-weight: 900;
	line-height: 1;
	overflow-wrap: anywhere;
}

.tile__value--on {
	color: var(--volt);
	text-shadow: 0 0 24px rgba(255, 255, 0, 0.3);
}

.tile__value--off {
	color: var(--steel);
}

.gap__body {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
	margin-top: clamp(2rem, 4vw, 3.5rem);
}

.gap__copy {
	display: grid;
	gap: 1.75rem;
}

/* A connected TV. Shows the TV screen photo when one is set, a drawn field when not. */
.tv {
	display: grid;
	justify-items: center;
}

.tv__screen {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border: 10px solid var(--bezel);
	border-radius: 14px;
	background-color: var(--panel);
	background-image: repeating-linear-gradient(180deg, var(--scan) 0, var(--scan) 2px, transparent 2px, transparent 8px);
	box-shadow: 0 0 0 1px var(--line-strong), 0 30px 60px -30px #000, 0 0 90px -30px var(--volt-glow);
}

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

.tv__field {
	position: absolute;
	inset: 16% 7% 22%;
	width: 86%;
	height: 62%;
	color: var(--volt);
	opacity: 0.8;
}

.tv__live {
	position: absolute;
	top: 0.8rem;
	left: 0.9rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.2rem 0.5rem;
	background: rgba(11, 13, 16, 0.75);
	font-family: var(--font-led);
	font-size: 0.8125rem;
	font-weight: 900;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.tv__bar {
	position: absolute;
	right: 0.9rem;
	bottom: 0.8rem;
	left: 0.9rem;
	display: flex;
	align-items: center;
	background: var(--ink);
	border: 1px solid var(--line);
	font-family: var(--font-display);
	font-size: clamp(1rem, 1.6vw, 1.25rem);
	line-height: 1;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.tv__bar b {
	padding: 0.45rem 0.7rem;
	background: var(--volt);
	color: var(--ink);
	font-weight: 700;
}

.tv__bar span {
	padding: 0.45rem 0.7rem;
	font-weight: 600;
}

.tv__stand {
	width: 30%;
	height: 14px;
	margin-top: 8px;
	background: var(--bezel);
	clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}

.split__col {
	display: grid;
	gap: 0.9rem;
	align-content: start;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line-strong);
}

.split__col p:last-child {
	font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
	line-height: 1.45;
}

/* ---------- Two plays ---------- */

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

.play {
	display: grid;
	grid-row: span 2;
	grid-template-rows: subgrid;
	overflow: hidden;
}

.play__art {
	position: absolute;
	top: -4rem;
	right: -4.5rem;
	width: 17rem;
	max-width: none;
	height: auto;
	color: var(--volt);
	opacity: 0.12;
	transform: rotate(-10deg);
	pointer-events: none;
}

.play__body > :not(.play__art) {
	position: relative;
}

.play__body {
	position: relative;
	overflow: hidden;
	display: grid;
	gap: 1rem;
	align-content: start;
	justify-items: start;
	padding: clamp(1.5rem, 3vw, 3rem);
}

.play__name {
	font-family: var(--font-led);
	font-size: clamp(1.9rem, 4.2vw, 3.5rem);
	font-weight: 900;
	line-height: 1.05;
	text-transform: uppercase;
}

.play__body p {
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
	color: var(--mist);
}

.play__tag {
	padding: 1rem clamp(1.5rem, 3vw, 3rem);
	background: var(--volt);
	color: var(--ink);
	font-size: clamp(1.1875rem, 2vw, 1.625rem);
	font-weight: 700;
	line-height: 1.25;
}

/* ---------- Statement ---------- */

.statement {
	position: relative;
	overflow: hidden;
	background: var(--volt);
	color: var(--ink);
}

.statement :focus-visible {
	outline-color: var(--ink);
}

.statement__court {
	position: absolute;
	top: 50%;
	left: 60%;
	width: auto;
	max-width: none;
	height: 135%;
	opacity: 0.14;
	transform: translateY(-50%);
	pointer-events: none;
}

.statement__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.statement--photo .statement__grid {
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
}

.statement__photo {
	position: relative;
	overflow: hidden;
	border: 6px solid var(--ink);
	border-radius: 6px;
	box-shadow: 16px 16px 0 rgba(11, 13, 16, 0.2);
	transform: rotate(2deg);
}

.statement__photo img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.statement__in {
	position: relative;
	display: grid;
	gap: clamp(1.25rem, 2.5vw, 2rem);
	justify-items: start;
}

.statement__title {
	max-width: 13ch;
	font-family: var(--font-display);
	font-size: clamp(3rem, 8.6vw, 7.5rem);
	font-weight: 700;
	line-height: 0.94;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	text-wrap: balance;
}

.statement__body {
	max-width: 30ch;
	font-size: clamp(1.25rem, 2.3vw, 2rem);
	font-weight: 500;
	line-height: 1.3;
}

.bug--ink {
	color: var(--ink);
}

.bug--ink b {
	background: var(--ink);
	color: var(--volt);
}

/* ---------- Data asset ---------- */

.data {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: start;
}

.data__side {
	display: grid;
	gap: 1.75rem;
}

.graph {
	display: grid;
	gap: 0.75rem;
	padding: clamp(1.5rem, 3vw, 3rem);
}

.graph__num {
	font-family: var(--font-led);
	font-size: clamp(4rem, 9.5vw, 8rem);
	font-weight: 900;
	line-height: 1;
	white-space: nowrap;
	color: var(--volt);
	text-shadow: 0 0 40px rgba(255, 255, 0, 0.28);
}

.graph p:last-child {
	font-size: 1.25rem;
}

/* LED crowd under the audience number. Drawn by site.js. */
.crowd {
	display: block;
	width: 100%;
	height: 124px;
	margin-top: 0.75rem;
}

.roster {
	display: grid;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.roster li {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	font-size: 1.1875rem;
}

.points {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.point {
	display: grid;
	gap: 0.6rem;
	align-content: start;
	padding: clamp(1.25rem, 2.6vw, 2.25rem);
	background: var(--ink);
}

.point p {
	color: var(--mist);
}

/* ---------- Source ---------- */

.ops {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.ops li {
	flex: 1 1 11rem;
	padding: 1.1rem 1.25rem;
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 1.9vw, 1.5rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.ops__icon {
	width: 2.25rem;
	height: 2.25rem;
	color: var(--volt);
}

.flow {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 1rem;
	align-items: stretch;
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.flow__step {
	display: grid;
	gap: 0.5rem;
	align-content: start;
	padding: clamp(1.25rem, 2.4vw, 2rem);
}

.flow__step .subtitle {
	color: var(--volt);
}

.flow__step p {
	color: var(--mist);
}

.flow__step--win {
	border-color: var(--volt);
	background: var(--volt);
}

.flow__step--win .subtitle,
.flow__step--win p {
	color: var(--ink);
}

.flow__step--win p {
	font-weight: 500;
}

.flow__arrow {
	align-self: center;
	width: 40px;
	height: 20px;
	color: var(--volt);
}

/* ---------- Network ---------- */

.net {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.net__card {
	display: grid;
	gap: 0.6rem;
	align-content: start;
	padding: clamp(1.25rem, 2.2vw, 1.75rem);
}

.net__logo {
	display: flex;
	align-items: center;
	height: 84px;
	margin-bottom: 0.4rem;
}

.net__logo img {
	width: auto;
	max-width: min(230px, 100%);
	max-height: 84px;
	object-fit: contain;
}

.net__art {
	width: auto;
	height: 72px;
	color: var(--volt);
	stroke-width: 8;
}

/* The Globetrotters wordmark is navy; a thin light edge keeps it readable on the dark card. */
.net__logo--edge img {
	filter: drop-shadow(0 0 1px rgba(244, 242, 232, 0.9)) drop-shadow(0 0 1px rgba(244, 242, 232, 0.9));
}

.net__card p {
	color: var(--mist);
}

.net__foot {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 4rem);
	margin-top: clamp(2rem, 4vw, 3.5rem);
}

.net__foot > div {
	display: grid;
	gap: 1rem;
	align-content: start;
	justify-items: start;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line-strong);
}

/* ---------- Playbook ---------- */

.playbook-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.playbook-head .section-head {
	margin-bottom: 0;
}

.chalkboard {
	flex: none;
	width: clamp(180px, 24vw, 300px);
	height: auto;
	color: var(--steel);
}

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

.pb__card {
	display: grid;
	gap: 0.75rem;
	align-content: start;
	padding: clamp(1.5rem, 2.8vw, 2.5rem);
}

.pb__ord {
	font-family: var(--font-led);
	font-size: clamp(2.5rem, 5vw, 3.75rem);
	font-weight: 900;
	line-height: 1;
	color: var(--volt);
}

.pb__card p:last-child {
	color: var(--mist);
}

.drive {
	margin-top: clamp(2.5rem, 5vw, 4rem);
}

.drive__head {
	display: grid;
	gap: 0.6rem;
	margin-bottom: 1.5rem;
}

.drive__field {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.drive__steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
	background-color: var(--panel);
}

.drive__step {
	display: grid;
	gap: 0.6rem;
	align-content: start;
	padding: clamp(1.25rem, 2.2vw, 2rem);
	border-left: 1px solid var(--line-strong);
}

.drive__step:first-child {
	border-left: 0;
}

.drive__yard {
	font-family: var(--font-display);
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.28);
}

.drive__step p:last-child {
	color: var(--mist);
}

.final {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.75rem;
	padding: clamp(1.1rem, 2.2vw, 1.75rem) clamp(1.25rem, 2.6vw, 2.5rem);
	background: var(--volt);
	color: var(--ink);
}

.final__tag {
	font-family: var(--font-led);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0.08em;
	white-space: nowrap;
}

.final__text {
	font-size: clamp(1.1875rem, 2.1vw, 1.75rem);
	font-weight: 700;
	line-height: 1.25;
}

/* ---------- Both sides ---------- */

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

.side__icon {
	position: absolute;
	top: clamp(1.5rem, 3vw, 3rem);
	right: clamp(1.5rem, 3vw, 3rem);
	width: 3.5rem;
	height: 3.5rem;
	color: var(--volt);
}

.side {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	padding: clamp(1.5rem, 3vw, 3rem);
}

.checks {
	display: grid;
	gap: 0.8rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 1.125rem;
	color: var(--mist);
}

.checks li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.9rem;
}

.checks li::before {
	content: "";
	width: 0.6rem;
	height: 0.6rem;
	margin-top: 0.5em;
	background: var(--volt);
}

.side__block {
	display: grid;
	gap: 1rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
}

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

.chips li {
	padding: 0.4rem 0.8rem;
	border: 1px solid var(--line-strong);
	border-radius: 4px;
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.chips--led li {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-color: transparent;
	padding-inline: 0 0.6rem;
	font-family: var(--font-led);
	font-size: 0.9375rem;
	font-weight: 900;
	letter-spacing: 0.2em;
}

.side__cta {
	margin-top: auto;
	padding-top: 0.75rem;
}

/* ---------- FAQ ---------- */

.faq {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: start;
}

.faq .section-head {
	margin-bottom: 0;
}

.faq__side {
	display: grid;
	gap: 2.5rem;
	align-content: start;
}

.faq__art {
	width: 100%;
	max-width: 21rem;
	height: auto;
	color: var(--volt);
	opacity: 0.55;
}

.faq__list {
	border-top: 1px solid var(--line-strong);
}

.faq__item {
	border-bottom: 1px solid var(--line);
}

.faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 1.15rem;
	font-family: var(--font-display);
	font-size: clamp(1.3125rem, 2.1vw, 1.625rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	list-style: none;
	cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
	display: none;
}

.faq__item summary::after {
	content: "+";
	flex: none;
	font-family: var(--font-led);
	font-size: 1.75rem;
	font-weight: 900;
	line-height: 1;
	color: var(--volt);
}

.faq__item[open] summary::after {
	content: "\2212";
}

.faq__item p {
	max-width: 44rem;
	padding-bottom: 1.4rem;
	color: var(--mist);
}

/* ---------- Contact ---------- */

.closer__img {
	width: 100%;
	aspect-ratio: 1920 / 623;
	object-fit: cover;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--panel);
}

.closer__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem clamp(2rem, 5vw, 4rem);
	margin-top: clamp(2rem, 4vw, 3.5rem);
}

.closer__title {
	flex: 1 1 22rem;
	max-width: 11ch;
	font-family: var(--font-display);
	font-size: clamp(3rem, 8.6vw, 7.5rem);
	font-weight: 700;
	line-height: 0.94;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.closer__title em {
	font-style: normal;
	color: var(--volt);
}

.contact-card {
	display: grid;
	flex: 0 1 26rem;
	gap: 0.75rem;
	justify-items: start;
	min-width: 0;
	padding: clamp(1.5rem, 2.6vw, 2.25rem);
}

.contact-card__site {
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: 0.02em;
}

.contact-card__email {
	font-size: clamp(1.0625rem, 1.8vw, 1.375rem);
	color: var(--mist);
	overflow-wrap: anywhere;
}

.contact-card__email:hover {
	color: var(--volt);
}

.contact-form {
	margin-top: clamp(2rem, 4vw, 3rem);
	padding: clamp(1.5rem, 3vw, 3rem);
}

/* ---------- Footer ---------- */

.site-footer {
	border-top: 1px solid var(--line);
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.site-footer__in {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 2rem;
}

.site-footer__brand {
	display: grid;
	gap: 1rem;
	justify-items: start;
}

.site-footer__brand img {
	width: auto;
	height: 72px;
}

.site-footer__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.75rem;
	max-width: 30rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__nav a {
	font-family: var(--font-display);
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--mist);
}

.site-footer__nav a:hover {
	color: var(--volt);
}

.site-footer__legal {
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
	font-size: 0.875rem;
	color: var(--steel);
}

/* ---------- Regular WordPress pages and posts ---------- */

.prose {
	max-width: 46rem;
	font-size: 1.125rem;
}

.prose > * + * {
	margin-top: 1.25em;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
	margin-top: 1.6em;
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.prose h2 {
	font-size: 2.25rem;
}

.prose h3 {
	font-size: 1.75rem;
}

.prose h4 {
	font-size: 1.375rem;
}

.prose a {
	color: var(--volt);
}

.prose ul,
.prose ol {
	padding-left: 1.4em;
}

.prose blockquote {
	margin-inline: 0;
	padding-left: 1.25rem;
	border-left: 3px solid var(--volt);
	color: var(--mist);
}

.prose img {
	border-radius: var(--radius);
}

.entry-meta {
	margin-top: 0.75rem;
	color: var(--steel);
}

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

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

.aligncenter {
	margin-inline: auto;
}

.wp-caption,
.gallery-caption {
	max-width: 100%;
	font-size: 0.875rem;
	color: var(--steel);
}

/* ---------- Narrow screens ---------- */

@media (max-width: 900px) {
	.hero__grid,
	.data,
	.faq,
	.net__foot,
	.gap__body,
	.statement--photo .statement__grid,
	.sides {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero__slab {
		top: -1.75rem;
		right: calc(-1 * var(--gutter));
		left: calc(-1 * var(--gutter));
		transform: none;
	}

	.hero__court {
		left: 8%;
		height: 34rem;
		transform: translateY(-50%);
	}

	.hero--photo .hero__slab {
		display: none;
	}

	.hero--photo::before {
		background: rgba(11, 13, 16, 0.86);
	}

	.statement__photo {
		max-width: 24rem;
	}

	.statement__photo img {
		aspect-ratio: 3 / 2;
	}

	.backdrop {
		opacity: 0.09;
	}

	.backdrop--gap,
	.backdrop--source {
		width: 34rem;
	}

	.backdrop--network,
	.faq__art {
		display: none;
	}

	.tv {
		max-width: 34rem;
	}

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

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

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

	.drive__step:nth-child(3) {
		border-left: 0;
	}

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

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

	.flow__arrow {
		justify-self: center;
		transform: rotate(90deg);
	}

	.chalkboard {
		display: none;
	}

	.statement__court {
		left: 52%;
		opacity: 0.1;
	}
}

@media (max-width: 640px) {
	.plays,
	.points,
	.net,
	.drive__steps {
		grid-template-columns: minmax(0, 1fr);
	}

	.play {
		margin-bottom: 1rem;
	}

	.drive__step {
		border-left: 0;
	}

	.drive__step + .drive__step {
		border-top: 1px solid var(--line-strong);
	}

	.board__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.3rem;
	}

	.brand img,
	.custom-logo {
		height: 40px;
	}
}

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

@media (prefers-reduced-motion: reduce) {
	.ticker__track {
		flex: 1 1 auto;
		min-width: 0;
		animation: none;
	}

	.ticker__list {
		flex: 1 1 auto;
		flex-wrap: wrap;
		min-width: 0;
		padding-right: 1rem;
	}

	.ticker__list li {
		min-width: 0;
		padding-block: 0.4rem;
		white-space: normal;
	}

	.ticker__list[aria-hidden="true"] {
		display: none;
	}

	.btn,
	.arrow-link::after,
	.board__row dd {
		transition: none;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.board__live .dot {
		animation: pulse 1.6s ease-in-out infinite;
	}
}

@keyframes pulse {
	50% {
		opacity: 0.35;
		box-shadow: 0 0 4px var(--volt-glow);
	}
}
