/* ==========================================================================
   Bowling Hluboká: main stylesheet
   Visual language: very dark layered surfaces, 1px hairlines instead of
   shadows, pill controls, compact type. Red (#BD000E) is reserved for
   actions, emphasis and live state.
   ========================================================================== */

/* ==========================================================================
   Fonts (self-hosted, SIL Open Font License)
   ========================================================================== */
@font-face {
	font-family: "Inter Tight";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-tight-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Inter Tight";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-tight-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
	/* Surfaces */
	--bg: #070707;
	--s1: #111111;
	--s2: #181818;
	--line: #2c2c2c;
	--line-strong: #474747;

	/* Brand */
	--red: #bd000e;
	--red-hover: #e00012;

	/* Text */
	--text: #ffffff;
	--text-2: #b6b6b6;
	--text-3: #8a8a8a;

	--focus: #ffffff;

	/* Type */
	--font-display: "Inter Tight", "Inter", "Segoe UI", system-ui, sans-serif;
	--font-body: "Inter", "Segoe UI", system-ui, sans-serif;

	/* Spacing (4/8 rhythm) */
	--sp-1: 0.25rem;
	--sp-2: 0.5rem;
	--sp-3: 0.75rem;
	--sp-4: 1rem;
	--sp-5: 1.5rem;
	--sp-6: 2rem;
	--sp-7: 3rem;
	--sp-8: 4.5rem;

	/* Shape: pills for controls, 20px panels, 14px inner cards. */
	--r-pill: 999px;
	--r-panel: 20px;
	--r-card: 14px;
	--r-icon: 10px;

	/* Motion */
	--ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	--dur: 0.18s;

	/* Layout */
	--container: 78rem;
	--gutter: clamp(1rem, 3.5vw, 2rem);
	--nav-h: 3.5rem;
	--nav-top: 0.75rem;

	/* Z-index scale */
	--z-header: 100;
	--z-skip: 1000;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	overflow-x: clip;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nav-h) + var(--nav-top) + 1rem);
	scrollbar-color: var(--red) var(--s1); /* Firefox */
	scrollbar-width: thin;
}

/* Custom red scrollbar (WebKit/Blink/Chromium) */
::-webkit-scrollbar {
	width: 12px;
	height: 12px;
}

::-webkit-scrollbar-track {
	background: var(--s1);
}

::-webkit-scrollbar-thumb {
	background: var(--red);
	border: 2px solid var(--s1);
	border-radius: var(--r-pill);
}

::-webkit-scrollbar-thumb:hover {
	background: var(--red-hover);
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.55;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	font-feature-settings: "cv11", "ss01";
}

body.menu-open {
	overflow: hidden;
}

img,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.03em;
}

p {
	margin: 0;
}

ul,
ol,
dl,
dd {
	margin: 0;
	padding: 0;
}

address {
	font-style: normal;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

button {
	font: inherit;
	color: inherit;
}

.num {
	font-variant-numeric: tabular-nums;
}

.muted {
	color: var(--text-2);
	font-weight: 400;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: var(--sp-2);
	left: var(--sp-2);
	z-index: var(--z-skip);
	width: auto;
	height: auto;
	margin: 0;
	padding: var(--sp-2) var(--sp-4);
	clip: auto;
	font-weight: 600;
	color: var(--bg);
	background: var(--text);
	border-radius: var(--r-pill);
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

body:not(.home) .site-main {
	padding-top: calc(var(--nav-h) + var(--nav-top) + var(--sp-6));
}

.section {
	padding-block: var(--sp-7);
	border-top: 1px solid var(--line);
}

.section--tight {
	padding-block: var(--sp-5);
	border-top: 0;
}

@media (min-width: 48em) {
	.section {
		padding-block: var(--sp-8);
	}

	.section--tight {
		padding-block: var(--sp-5);
	}
}

.section-head {
	display: grid;
	gap: var(--sp-3);
	margin-bottom: var(--sp-6);
}

.section-head__title {
	font-size: clamp(2rem, 5vw, 3.5rem);
	line-height: 1.02;
	letter-spacing: -0.028em;
}

.section-head__lead {
	max-width: 50ch;
	font-size: 1.0625rem;
	color: var(--text-2);
}

/* ==========================================================================
   Labels, tags, icons
   ========================================================================== */
.icon {
	display: inline-block;
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.25rem;
	vertical-align: middle;
}

.label {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	justify-self: start;
	width: fit-content;
	padding: 0.3125rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-2);
	background: var(--s1);
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
}

.label .icon {
	width: 0.875rem;
	height: 0.875rem;
	color: var(--text);
}

.label--red {
	color: var(--text);
	border-color: var(--red);
}

.tag {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.25rem 0.625rem;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.3;
	color: var(--text);
	background: var(--s2);
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
}

.tag .icon {
	width: 0.875rem;
	height: 0.875rem;
}

/* ==========================================================================
   Pills (buttons)
   ========================================================================== */
.pill,
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-2);
	min-height: 3rem;
	padding: 0 1.375rem;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.005em;
	white-space: nowrap;
	text-decoration: none;
	color: var(--text);
	background: var(--s1);
	border: 1px solid var(--line-strong);
	border-radius: var(--r-pill);
	cursor: pointer;
	touch-action: manipulation;
	transition:
		background-color var(--dur) var(--ease),
		border-color var(--dur) var(--ease),
		color var(--dur) var(--ease),
		transform var(--dur) var(--ease);
}

.pill:active,
.button:active {
	transform: translateY(1px);
}

.pill--primary,
.button {
	background: var(--red);
	border-color: var(--red);
}

.pill--primary:hover,
.button:hover {
	background: var(--red-hover);
	border-color: var(--red-hover);
}

.pill--outline {
	background: transparent;
}

.pill--outline:hover {
	background: var(--s2);
	border-color: var(--text);
}

.pill--sm {
	min-height: 2.5rem;
	padding: 0 1.125rem;
	font-size: 0.875rem;
}

.pill--lg {
	min-height: 3.5rem;
	padding: 0 1.75rem;
	font-size: 1rem;
}

.pill--block {
	width: 100%;
}

.pill__icon {
	width: 1.125rem;
	height: 1.125rem;
	transition: transform var(--dur) var(--ease);
}

.pill:hover .pill__icon.icon--arrow {
	transform: translateX(2px);
}

.button--disabled,
.button--disabled:hover {
	color: var(--text-2);
	background: transparent;
	border-color: var(--line);
	cursor: not-allowed;
}

/* ==========================================================================
   Header: floating pill navbar
   ========================================================================== */
.header-sentinel {
	position: absolute;
	top: 2rem;
	left: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.site-header {
	position: fixed;
	top: var(--nav-top);
	left: 0;
	right: 0;
	z-index: var(--z-header);
	padding-inline: var(--gutter);
	pointer-events: none;
}

.site-header__bar {
	position: relative;
	display: flex;
	align-items: center;
	gap: var(--sp-4);
	max-width: calc(var(--container) - 2 * var(--gutter));
	height: var(--nav-h);
	margin-inline: auto;
	padding: 0 0.375rem 0 1rem;
	background: rgba(17, 17, 17, 0.72);
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	backdrop-filter: blur(16px) saturate(140%);
	pointer-events: auto;
	transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.site-header__bar {
		background: var(--s1);
	}
}

.site-header.is-compact .site-header__bar {
	background: rgba(11, 11, 11, 0.9);
	border-color: var(--line-strong);
}

/* logo.png has ~16 % transparent padding; negative margins align the artwork. */
.site-logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	min-width: 2.75rem;
	min-height: 2.75rem;
	margin-right: auto;
}

.site-logo__img {
	width: auto;
	height: 3.375rem;
	margin: -0.5rem 0 -0.5rem -0.625rem;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
}

.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	background: var(--s2);
	border: 1px solid var(--line);
	border-radius: 50%;
	cursor: pointer;
}

.menu-toggle:hover {
	border-color: var(--line-strong);
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
	display: block;
	width: 1rem;
	height: 1.5px;
	background: var(--text);
	transition: transform var(--dur) var(--ease), background-color var(--dur);
}

.menu-toggle__bars {
	position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.menu-toggle__bars::before { top: -5px; }
.menu-toggle__bars::after { top: 5px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

.primary-menu {
	list-style: none;
}

.primary-menu a {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: var(--text-2);
	font-weight: 500;
	transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
	color: var(--text);
}

/* Mobile/tablet: dropdown panel under the pill */
@media (max-width: 68.74em) {
	.main-navigation {
		position: absolute;
		top: calc(100% + var(--sp-2));
		left: 0;
		right: 0;
		max-height: calc(100dvh - var(--nav-h) - var(--nav-top) - 2rem);
		overflow-y: auto;
		padding: var(--sp-2);
		background: var(--s1);
		border: 1px solid var(--line);
		border-radius: var(--r-panel);
		visibility: hidden;
		opacity: 0;
		transform: translateY(-0.375rem);
		transition:
			opacity var(--dur) var(--ease),
			transform var(--dur) var(--ease),
			visibility 0s linear var(--dur);
	}

	.main-navigation.is-open {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition-property: opacity, transform;
		transition-delay: 0s;
	}

	.primary-menu a {
		display: flex;
		align-items: center;
		gap: var(--sp-3);
		min-height: 3rem;
		padding: 0 var(--sp-4);
		font-size: 1.0625rem;
		color: var(--text);
		border-radius: var(--r-card);
	}

	.primary-menu a:hover {
		background: var(--s2);
	}

	/* Icons only make sense in this stacked dropdown, not the desktop pill row. */
	.primary-menu .icon {
		flex-shrink: 0;
		width: 1.25rem;
		height: 1.25rem;
		color: var(--red-hover);
	}
}

/* Desktop/tablet pill row never shows the nav icons. */
@media (min-width: 68.75em) {
	.primary-menu .icon {
		display: none;
	}
}

/* Desktop: centered inline nav */
@media (min-width: 68.75em) {
	.menu-toggle { display: none; }

	.site-header__bar {
		padding-left: 1.25rem;
	}

	.site-logo { margin-right: 0; }

	.main-navigation {
		flex: 1;
		display: flex;
		justify-content: center;
	}

	.primary-menu {
		display: flex;
		gap: 0.125rem;
	}

	.primary-menu a {
		min-height: 2.25rem;
		padding: 0 0.875rem;
		font-size: 0.875rem;
		border-radius: var(--r-pill);
	}

	.primary-menu a:hover,
	.primary-menu .current-menu-item > a {
		background: var(--s2);
	}
}

/* ==========================================================================
   Hero: command center
   ========================================================================== */
.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-top: calc(var(--nav-h) + var(--nav-top) + var(--sp-7));
	padding-bottom: var(--sp-7);
}

/* Less empty air above the content on phones, where every "no gap" was most felt. */
@media (max-width: 47.99em) {
	.hero {
		padding-top: calc(var(--nav-h) + var(--nav-top) + var(--sp-4));
	}

	.hero__title {
		max-width: none;
		margin-inline: auto;
		text-align: center;
	}

	.activities {
		justify-content: center;
	}
}

.hero__grid {
	display: grid;
	gap: var(--sp-6);
}

.hero__content {
	display: grid;
	gap: var(--sp-5);
	align-content: center;
}

.hero__title {
	max-width: 7em; /* "BOWLING" / "HLUBOKÁ" on two lines */
	font-size: clamp(2.75rem, 14vw, 5.75rem);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.025em;
}

.hero__lead {
	max-width: 46ch;
	font-size: 1.0625rem;
	color: var(--text-2);
}

.hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
}

/*
 * Mobile only: Rezervace (full width) / Firemní akce (full width) / Turnaje +
 * Ligy (one half each). From tablet up the pills just sit in one row.
 */
@media (max-width: 47.99em) {
	.hero__ctas {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.hero__cta-main,
	.hero__cta-wide {
		grid-column: 1 / -1;
	}

	.hero__cta-half {
		min-height: 3.5rem;
	}
}

@media (min-width: 62em) {
	.hero {
		padding-bottom: var(--sp-8);
	}

	.hero__grid {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: var(--sp-8);
		align-items: center;
	}

	.hero__lead {
		font-size: 1.1875rem;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.hero__content > *,
	.live-panel {
		animation: bh-rise 0.6s var(--ease) both;
	}

	.hero__content > :nth-child(2) { animation-delay: 0.05s; }
	.hero__content > :nth-child(3) { animation-delay: 0.1s; }
	.hero__content > :nth-child(4) { animation-delay: 0.15s; }
	.live-panel { animation-delay: 0.2s; }
}

@keyframes bh-rise {
	from { opacity: 0; transform: translateY(0.75rem); }
	to { opacity: 1; transform: none; }
}

/* Live info panel */
.live-panel {
	display: grid;
	gap: var(--sp-4);
	padding: var(--sp-5);
	background: var(--s1);
	border: 1px solid var(--line);
	border-radius: var(--r-panel);
}

.live-panel__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-2);
}

.live-panel__eyebrow,
.live-panel__subhead {
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-2);
}

.status {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	padding: 0.25rem 0.75rem 0.25rem 0.625rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--text-2);
	background: var(--s2);
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
}

.status__dot {
	width: 0.5rem;
	height: 0.5rem;
	background: var(--text-3);
	border-radius: 50%;
}

.status.is-open {
	color: var(--text);
	border-color: rgba(224, 0, 18, 0.55);
}

.status.is-open .status__dot {
	background: var(--red-hover);
}

@media (prefers-reduced-motion: no-preference) {
	.status.is-open .status__dot {
		animation: bh-pulse 2s ease-in-out infinite;
	}
}

@keyframes bh-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(224, 0, 18, 0.5); }
	50% { box-shadow: 0 0 0 5px rgba(224, 0, 18, 0); }
}

.live-panel__today {
	display: grid;
	gap: var(--sp-1);
}

/* Other days at a glance, directly under today's hours. */
.week {
	padding-bottom: var(--sp-4);
	border-bottom: 1px solid var(--line);
}

.week__list {
	display: grid;
	gap: 1px;
	overflow: hidden;
	list-style: none;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
}

.week__item {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--sp-3);
	padding: 0.5rem 0.75rem;
	background: var(--s2);
}

.week__day {
	margin: 0;
	font-size: 0.75rem;
	line-height: 1.25;
	color: var(--text-2);
}

.week__hours {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.week__item.is-today {
	background: #1a0a0b;
}

.week__item.is-today .week__day {
	color: var(--text);
}

.week__item.is-closed .week__hours {
	color: var(--text-3);
}

@media (min-width: 30em) {
	.week__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.week__item {
		flex-direction: column;
		align-items: flex-start;
		justify-content: space-between;
		gap: 0.375rem;
		min-height: 3.5rem;
	}
}

.live-panel__day {
	font-size: 0.875rem;
	color: var(--text-2);
}

.live-panel__hours {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 9vw, 3.5rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.04em;
}

.live-panel__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
	gap: var(--sp-2);
}

.live-panel__facts > div {
	display: grid;
	gap: var(--sp-1);
	padding: var(--sp-3) var(--sp-4);
	background: var(--s2);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
}

.live-panel__facts dt {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.75rem;
	color: var(--text-2);
}

.live-panel__facts dt .icon {
	width: 0.875rem;
	height: 0.875rem;
}

.live-panel__facts dd {
	font-size: 0.9375rem;
	font-weight: 600;
	white-space: nowrap;
}

.live-panel__facts a {
	text-decoration: none;
}

.live-panel__facts a:hover {
	text-decoration: underline;
	text-decoration-color: var(--red-hover);
}

.live-panel__program {
	display: grid;
	list-style: none;
	margin-top: calc(var(--sp-2) * -1);
}

.live-panel__program a {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	min-height: 3.5rem;
	padding: var(--sp-2) 0;
	text-decoration: none;
	border-bottom: 1px solid var(--line);
}

.live-panel__program li:last-child a {
	border-bottom: 0;
	padding-bottom: 0;
}

.live-panel__program-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	background: var(--s2);
	border: 1px solid var(--line);
	border-radius: var(--r-icon);
}

.live-panel__program-icon .icon {
	width: 1.125rem;
	height: 1.125rem;
}

.live-panel__program-text {
	display: grid;
	flex: 1;
	line-height: 1.3;
}

.live-panel__program-text strong {
	font-size: 0.9375rem;
	font-weight: 600;
}

.live-panel__program-text span {
	font-size: 0.8125rem;
	color: var(--text-2);
}

.live-panel__program-arrow {
	width: 1rem;
	height: 1rem;
	color: var(--text-3);
	transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}

.live-panel__program a:hover .live-panel__program-arrow {
	color: var(--text);
	transform: translateX(2px);
}

.live-panel__program a:hover strong {
	color: var(--text);
}

/* ==========================================================================
   Features: "Na jednom místě"
   Hairline grid: 1px gaps over a line-colored background.
   ========================================================================== */
.features__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	list-style: none;
	overflow: hidden;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--r-panel);
}

.feature {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--sp-3);
	min-width: 0;
	padding: var(--sp-4);
	background: var(--s1);
}

/* Alternating surface rhythm (checkerboard on 3 columns, stripes on 2). */
.feature:nth-child(even) {
	background: #0c0c0c;
}

.feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	background: var(--s2);
	border: 1px solid var(--line);
	border-radius: var(--r-icon);
}

.feature__icon .icon {
	width: 1.25rem;
	height: 1.25rem;
}

.feature__text {
	display: grid;
	gap: 0.125rem;
}

.feature__title {
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.3;
}

.feature__note {
	font-size: 0.8125rem;
	color: var(--text-2);
}

.feature__figure {
	position: absolute;
	top: var(--sp-3);
	right: var(--sp-4);
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--text-3);
}

/* 9 items on 2 columns: the last tile spans the row so no cell is left empty. */
.feature:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

.feature--accent .feature__icon {
	color: var(--text);
	background: var(--red);
	border-color: var(--red);
}

@media (min-width: 48em) {
	.features__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.feature {
		flex-direction: row;
		align-items: center;
		gap: var(--sp-4);
		min-height: 5.75rem;
		padding: var(--sp-4) var(--sp-5);
	}

	.feature:last-child:nth-child(odd) {
		grid-column: auto;
	}

	/* On 3 columns use a true checkerboard. */
	.feature:nth-child(even) {
		background: var(--s1);
	}

	.feature:nth-child(odd) {
		background: #0c0c0c;
	}

	.feature__title {
		font-size: 1rem;
	}

	.feature__figure {
		position: static;
		margin-left: auto;
		font-size: 2.5rem;
	}
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--sp-3);
}

.price-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--sp-5);
	padding: var(--sp-5);
	background: var(--s1);
	border: 1px solid var(--line);
	border-radius: var(--r-panel);
}

.price-card--main {
	border-color: rgba(189, 0, 14, 0.6);
}

.price-card--main::before {
	content: "";
	position: absolute;
	top: -1px;
	left: var(--sp-5);
	right: var(--sp-5);
	height: 2px;
	background: var(--red);
}

.price-card__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-2);
}

.price-card__name {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	font-size: 1.375rem;
	letter-spacing: -0.02em;
}

.price-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	background: var(--s2);
	border: 1px solid var(--line);
	border-radius: var(--r-icon);
}

.price-card__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--sp-1) var(--sp-3);
}

.price-card__amount {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 13vw, 6.25rem);
	font-weight: 600;
	line-height: 0.9;
	letter-spacing: -0.04em;
	white-space: nowrap;
}

.price-card__unit {
	font-size: 1rem;
	font-weight: 500;
	color: var(--text-2);
	white-space: nowrap;
}

.price-card__rows {
	display: grid;
	border-top: 1px solid var(--line);
}

.price-card__rows > div {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-2) var(--sp-4);
	min-height: 3.25rem;
	padding-block: var(--sp-3);
	border-bottom: 1px solid var(--line);
}

.price-card__rows dt {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	font-size: 0.875rem;
	color: var(--text-2);
}

.price-card__rows dt .icon {
	width: 1rem;
	height: 1rem;
}

.price-card__rows dd {
	font-size: 0.9375rem;
	font-weight: 600;
	text-align: right;
}

.price-card__rows dd.price-card__note {
	flex: 1 1 14rem;
	font-weight: 500;
	text-align: left;
	color: var(--text);
}

@media (min-width: 30em) {
	.price-card__rows dd.price-card__note {
		text-align: right;
	}
}

.price-card__pay {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
}

.price-card .pill--block {
	margin-top: auto;
}

@media (min-width: 48em) {
	.pricing__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.price-card {
		padding: var(--sp-6);
	}

	.price-card__amount {
		font-size: clamp(3.5rem, 7.5vw, 6.5rem);
	}
}

.pricing__note {
	margin-top: var(--sp-3);
	font-size: 0.8125rem;
	color: var(--text-2);
}

/* ==========================================================================
   Leagues and tournaments
   ========================================================================== */
.compete__grid {
	display: grid;
	gap: var(--sp-3);
}

.league,
.tourney {
	position: relative;
	display: grid;
	gap: var(--sp-4);
	align-content: start;
	padding: var(--sp-5);
	border: 1px solid var(--line);
	border-radius: var(--r-panel);
}

.league {
	position: relative;
	background: var(--s1);
}

/* Whole card is clickable: the CTA link stretches over it. */
.league .pill::after,
.tourney .pill::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: var(--r-panel);
}

.league,
.tourney {
	transition: border-color var(--dur) var(--ease);
}

.league:hover {
	border-color: var(--line-strong);
}

.tourney:hover {
	border-color: var(--red-hover);
}

.league:has(.pill:focus-visible),
.tourney:has(.pill:focus-visible) {
	outline: 2px solid var(--text);
	outline-offset: 2px;
}

.tourney {
	overflow: hidden;
	background: var(--s2);
	border-color: rgba(189, 0, 14, 0.6);
}

.compete__title {
	max-width: 16ch;
	font-size: clamp(1.875rem, 4vw, 2.75rem);
	line-height: 1.04;
	letter-spacing: -0.025em;
}

.compete__lead {
	max-width: 40ch;
	color: var(--text-2);
}

.league .pill,
.tourney .pill {
	justify-self: start;
	margin-top: var(--sp-2);
}

/* Season timeline */
.timeline {
	list-style: none;
	margin-left: 0.3125rem;
	border-left: 1px solid var(--line-strong);
}

.timeline__item {
	position: relative;
	display: grid;
	gap: 0.125rem;
	padding: var(--sp-3) 0 var(--sp-3) var(--sp-5);
}

.timeline__item::before {
	content: "";
	position: absolute;
	top: 1.0625rem;
	left: -0.3125rem;
	width: 0.5625rem;
	height: 0.5625rem;
	background: var(--bg);
	border: 2px solid var(--red);
	border-radius: 50%;
}

.timeline__when {
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-2);
}

.timeline__what {
	font-size: 1.0625rem;
	font-weight: 600;
}

/* Tournament categories */
.tourney__pins {
	position: absolute;
	top: var(--sp-5);
	right: var(--sp-5);
	width: 6.5rem;
	height: auto;
	color: var(--line-strong);
	pointer-events: none;
}

.tourney__grid {
	display: grid;
	gap: var(--sp-2);
	list-style: none;
}

@media (min-width: 30em) {
	.tourney__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tourney__item {
		align-items: flex-end;
		min-height: 5.5rem;
	}
}

.tourney__item {
	display: flex;
	align-items: center;
	min-height: 3.5rem;
	padding: var(--sp-4);
	font-family: var(--font-display);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.015em;
	background: var(--s1);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
}

.tourney__item:first-child {
	border-color: rgba(189, 0, 14, 0.6);
}

@media (min-width: 48em) {
	.league,
	.tourney {
		padding: var(--sp-6);
	}

	.tourney__item {
		min-height: 6.5rem;
		font-size: 1.25rem;
	}
}

@media (min-width: 62em) {
	.compete__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		align-items: stretch;
	}

	.tourney__pins {
		width: 8.5rem;
	}
}

/* ==========================================================================
   Gallery strip (placeholder until photos exist)
   ========================================================================== */
.gallery-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3) var(--sp-6);
	padding: var(--sp-5);
	background: var(--s1);
	border: 1px solid var(--line);
	border-radius: var(--r-panel);
}

.gallery-strip > div {
	display: grid;
	gap: var(--sp-2);
}

.gallery-strip__title {
	font-size: 1.5rem;
	letter-spacing: -0.02em;
}

.gallery-strip__text {
	max-width: 40ch;
	color: var(--text-2);
}

/* ==========================================================================
   Opening hours and contact panel
   ========================================================================== */
.info-panel {
	display: grid;
	overflow: hidden;
	background: var(--s1);
	border: 1px solid var(--line);
	border-radius: var(--r-panel);
}

.info-panel__hours,
.info-panel__contact {
	display: grid;
	gap: var(--sp-4);
	align-content: start;
	padding: var(--sp-5);
}

.info-panel__contact {
	border-top: 1px solid var(--line);
}

.info-panel__subhead {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-2);
}

.info-panel__subhead .icon {
	width: 0.875rem;
	height: 0.875rem;
	color: var(--text);
}

.hours-grid {
	display: grid;
	gap: 1px;
	overflow: hidden;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
}

.hours-grid__item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--sp-1) var(--sp-4);
	padding: var(--sp-4);
	background: var(--s2);
}

.hours-grid__item dt {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--text-2);
}

.hours-grid__item dd {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 6.5vw, 2.5rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.04em;
	white-space: nowrap;
}

.hours-grid__today {
	display: none;
	padding: 0.125rem 0.5rem;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text);
	background: var(--red);
	border-radius: var(--r-pill);
}

.hours-grid__item.is-today {
	background: #1a0a0b;
}

.hours-grid__item.is-today dt {
	color: var(--text);
}

.hours-grid__item.is-today .hours-grid__today {
	display: inline-block;
}

.info-panel__phone {
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 8vw, 2.5rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.035em;
	white-space: nowrap;
	text-decoration: none;
}

.info-panel__phone:hover {
	color: var(--red-hover);
}

.contact-list {
	display: grid;
	gap: var(--sp-3);
	list-style: none;
	font-size: 0.9375rem;
}

.contact-list li {
	display: flex;
	align-items: flex-start;
	gap: var(--sp-3);
	color: var(--text-2);
}

.contact-list .icon {
	width: 1.125rem;
	height: 1.125rem;
	margin-top: 0.125rem;
	color: var(--text);
}

.contact-list a {
	color: var(--text);
	text-decoration: none;
}

.contact-list a:hover {
	text-decoration: underline;
	text-decoration-color: var(--red-hover);
}

.info-panel .pill {
	justify-self: start;
}

@media (min-width: 48em) {
	.hours-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.hours-grid__item {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: var(--sp-4);
		min-height: 9rem;
		padding: var(--sp-5) var(--sp-3);
		text-align: center;
	}

	.hours-grid__item dt {
		justify-content: center;
		min-height: 1.5rem;
	}

	/* Sized so "16:00–23:00" always fits one third of the panel. */
	.hours-grid__item dd {
		font-size: clamp(1.5rem, 2.3vw, 2.125rem);
	}

	.info-panel__hours,
	.info-panel__contact {
		padding: var(--sp-6);
	}
}

@media (min-width: 62em) {
	.info-panel {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	}

	.info-panel__contact {
		border-top: 0;
		border-left: 1px solid var(--line);
	}
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	padding-block: var(--sp-7) var(--sp-5);
	font-size: 0.875rem;
	color: var(--text-2);
	background: var(--bg);
	border-top: 1px solid var(--line);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--sp-6) var(--sp-5);
}

.site-footer__brand {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
}

.site-footer__logo img {
	width: auto;
	height: 7rem;
	margin: -1rem 0 -1rem -1.25rem;
}

.site-footer__title {
	margin-bottom: var(--sp-3);
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-3);
}

.footer-menu,
.social-links {
	display: grid;
	gap: var(--sp-1) var(--sp-4);
	list-style: none;
}

.footer-menu {
	grid-template-columns: repeat(2, minmax(0, max-content));
}

.site-footer a {
	text-decoration: none;
}

.site-footer a:not(.pill):hover {
	color: var(--text);
	text-decoration: underline;
	text-decoration-color: var(--red-hover);
}

.footer-menu a {
	display: inline-block;
	padding-block: 0.25rem;
}

.site-footer__address {
	display: grid;
	gap: var(--sp-1);
	min-width: 0;
	overflow-wrap: anywhere;
}

.site-footer__address a {
	color: var(--text);
}

.footer-hours {
	display: grid;
	gap: var(--sp-1);
}

.footer-hours div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0 var(--sp-3);
}

.footer-hours dd {
	color: var(--text);
	font-weight: 500;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--sp-2) var(--sp-4);
	margin-top: var(--sp-6);
	padding-top: var(--sp-4);
	font-size: 0.8125rem;
	color: var(--text-3);
	border-top: 1px solid var(--line);
}

/* Mobile: hours block spans both columns so rows stay on one line. */
.site-footer__col:last-child {
	grid-column: 1 / -1;
}

.footer-hours {
	max-width: 20rem;
}

@media (min-width: 62em) {
	.site-footer__col:last-child {
		grid-column: auto;
	}

	.site-footer__grid {
		grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
	}

	.site-footer__brand {
		grid-column: auto;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
	}
}

/* ==========================================================================
   Events: corporate events, parties, catering
   ========================================================================== */
.events__grid {
	display: grid;
	gap: var(--sp-6);
}

.events__content {
	display: grid;
	gap: var(--sp-4);
	align-content: start;
}

.event-types {
	display: grid;
	gap: 1px;
	margin-top: var(--sp-2);
	overflow: hidden;
	list-style: none;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
}

.event-type {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	padding: var(--sp-3) var(--sp-4);
	background: var(--s1);
}

.event-type__icon,
.info-card__icon,
.pro-point__icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	background: var(--s2);
	border: 1px solid var(--line);
	border-radius: var(--r-icon);
}

.event-type__title {
	display: block;
	font-size: 1rem;
	font-weight: 600;
}

.event-type__text {
	display: block;
	font-size: 0.875rem;
	color: var(--text-2);
}

.events__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	margin-top: var(--sp-2);
}

.events__media {
	display: grid;
	gap: var(--sp-3);
	align-content: start;
}

/* Mosaic: one lead photo + four tiles. */
.photo-mosaic {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--sp-2);
}

.photo-mosaic__item {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--s1);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
}

.photo-mosaic__item--1 {
	grid-column: 1 / -1;
	aspect-ratio: 16 / 10;
}

.photo-mosaic__item img,
.gallery-grid__item img,
.photo-columns__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.events__more {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	justify-self: end;
	min-height: 2.75rem;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--text);
}

.events__more:hover {
	text-decoration: underline;
	text-decoration-color: var(--red-hover);
}

.events__more .icon {
	width: 1rem;
	height: 1rem;
}

@media (min-width: 62em) {
	.events__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: var(--sp-8);
		align-items: start;
	}

	.photo-mosaic {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.photo-mosaic__item--1 {
		grid-column: 1 / 3;
		grid-row: 1 / 3;
		aspect-ratio: auto;
	}

	.photo-mosaic__item--2,
	.photo-mosaic__item--3 {
		grid-column: span 2;
		aspect-ratio: 16 / 9;
	}

	.photo-mosaic__item--4,
	.photo-mosaic__item--5 {
		grid-column: span 2;
		aspect-ratio: 16 / 9;
	}

	.photo-mosaic__item--4 {
		grid-column: 1 / 3;
	}
}

/* ==========================================================================
   Kids club band
   ========================================================================== */
.kids__panel {
	display: grid;
	gap: var(--sp-5);
	align-items: center;
	padding: var(--sp-5);
	background: var(--s1);
	border: 1px solid rgba(189, 0, 14, 0.6);
	border-radius: var(--r-panel);
}

.kids__intro {
	display: grid;
	gap: var(--sp-3);
}

.kids__title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	letter-spacing: -0.025em;
}

.kids__text {
	max-width: 42ch;
	color: var(--text-2);
}

.kids__when {
	display: grid;
	gap: var(--sp-1);
	padding: var(--sp-4);
	background: var(--s2);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
}

.kids__day {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text-2);
}

.kids__day .icon {
	width: 1rem;
	height: 1rem;
	color: var(--red-hover);
}

.kids__time {
	font-family: var(--font-display);
	font-size: clamp(2.25rem, 7vw, 3.25rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.035em;
	white-space: nowrap;
}

.kids__cta {
	justify-self: start;
}

@media (min-width: 62em) {
	.kids__panel {
		grid-template-columns: minmax(0, 1.4fr) auto auto;
		gap: var(--sp-6);
		padding: var(--sp-6);
	}
}

/* ==========================================================================
   Professional alley: shop and service
   ========================================================================== */
.pro__grid {
	display: grid;
	gap: var(--sp-4);
}

.pro__points {
	display: grid;
	gap: 1px;
	overflow: hidden;
	list-style: none;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--r-panel);
}

.pro-point {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.125rem var(--sp-4);
	align-items: center;
	padding: var(--sp-4) var(--sp-5);
	background: var(--s1);
}

.pro-point__icon {
	grid-row: span 2;
}

.pro-point__title {
	font-size: 1rem;
	font-weight: 600;
}

.pro-point__text {
	font-size: 0.875rem;
	color: var(--text-2);
}

.pro-point:first-child .pro-point__icon {
	background: var(--red);
	border-color: var(--red);
}

.pro__prices {
	display: grid;
	gap: var(--sp-4);
	align-content: start;
	padding: var(--sp-5);
	background: var(--s1);
	border: 1px solid var(--line);
	border-radius: var(--r-panel);
}

.pro__prices .pill {
	justify-self: start;
}

.price-list {
	display: grid;
	border-top: 1px solid var(--line);
}

.price-list > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--sp-4);
	padding-block: var(--sp-3);
	border-bottom: 1px solid var(--line);
}

.price-list dt {
	font-size: 0.9375rem;
	color: var(--text-2);
}

.price-list dd {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

@media (min-width: 62em) {
	.pro__grid {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		align-items: start;
	}

	.pro__prices {
		padding: var(--sp-6);
	}
}

/* ==========================================================================
   Gallery grid
   ========================================================================== */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--sp-2);
}

.gallery-grid__item {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--s1);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
}

.gallery-grid__item--lead {
	grid-column: 1 / -1;
}

@media (min-width: 48em) {
	/* 7 photos: lead 2x2 + four tiles, then two wide tiles. */
	.gallery-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.gallery-grid__item--lead {
		grid-column: 1 / 3;
		grid-row: 1 / 3;
		aspect-ratio: auto;
	}

	.gallery-grid__item:nth-child(6),
	.gallery-grid__item:nth-child(7) {
		grid-column: span 2;
		aspect-ratio: 16 / 9;
	}
}

/* ==========================================================================
   Subpages
   ========================================================================== */
.page-hero {
	padding-block: var(--sp-5) var(--sp-6);
}

.page-hero .container {
	display: grid;
	gap: var(--sp-4);
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	font-size: 0.8125rem;
	color: var(--text-3);
}

.breadcrumbs a {
	color: var(--text-2);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--text);
	text-decoration: underline;
}

.page-hero__title {
	max-width: 18ch;
	font-size: clamp(2.5rem, 7vw, 4.75rem);
	line-height: 1;
	letter-spacing: -0.035em;
}

.page-hero__lead {
	max-width: 56ch;
	font-size: 1.0625rem;
	color: var(--text-2);
}

.section--flush {
	padding-top: 0;
	border-top: 0;
}

.block-title {
	margin-bottom: var(--sp-5);
	font-size: clamp(1.5rem, 3vw, 2rem);
	letter-spacing: -0.025em;
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
	gap: var(--sp-3);
	list-style: none;
}

.info-card {
	display: grid;
	gap: var(--sp-2);
	align-content: start;
	padding: var(--sp-5);
	background: var(--s1);
	border: 1px solid var(--line);
	border-radius: var(--r-panel);
}

.info-card--accent {
	border-color: rgba(189, 0, 14, 0.6);
}

/* Whole card is clickable: the link's pseudo-element stretches over the card. */
.info-card--link {
	position: relative;
	transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.info-card--link .info-card__link::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.info-card--link:hover {
	background: #181818;
	border-color: var(--line-strong);
}

.info-card--link.info-card--accent:hover {
	border-color: var(--red);
}

.info-card--link:focus-within {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
}

.info-card--link .info-card__link:focus-visible {
	outline: none;
}

.info-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-2);
	margin-bottom: var(--sp-2);
}

.info-card__title {
	font-size: 1.375rem;
	letter-spacing: -0.02em;
}

.info-card__meta {
	color: var(--text-2);
}

.info-card__link {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	justify-self: start;
	min-height: 2.75rem;
	margin-top: var(--sp-2);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--red-hover);
	text-underline-offset: 0.25em;
}

.info-card__link .icon {
	width: 1rem;
	height: 1rem;
}

.note {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	margin-top: var(--sp-5);
	padding: var(--sp-3) var(--sp-4);
	font-size: 0.9375rem;
	color: var(--text-2);
	border: 1px dashed var(--line-strong);
	border-radius: var(--r-card);
}

.note--inline {
	margin-top: 0;
}

.note .icon {
	width: 1.125rem;
	height: 1.125rem;
	color: var(--red-hover);
}

/* Tournament calendar */
.series-grid {
	display: grid;
	gap: var(--sp-3);
}

.series {
	padding: var(--sp-5);
	background: var(--s1);
	border: 1px solid var(--line);
	border-radius: var(--r-panel);
}

.series__title {
	margin-bottom: var(--sp-3);
	font-size: 1.25rem;
	letter-spacing: -0.015em;
}

.series__list {
	display: grid;
	list-style: none;
}

.series__item {
	padding-block: var(--sp-3);
	border-top: 1px solid var(--line);
}

.series__row {
	display: grid;
	grid-template-columns: 4.5rem 1fr auto;
	gap: var(--sp-3);
	align-items: center;
}

/* Finished rounds with materials open like an accordion. */
.series__more > summary {
	list-style: none;
}

.series__more > summary::-webkit-details-marker {
	display: none;
}

.series__item.is-past .series__more > summary {
	grid-template-columns: 4.5rem 1fr auto 1rem;
	cursor: pointer;
}

.series__chevron {
	display: none;
	width: 0.5rem;
	height: 0.5rem;
	border-right: 2px solid var(--text-2);
	border-bottom: 2px solid var(--text-2);
	transform: rotate(45deg);
	transition: transform var(--dur) var(--ease);
}

.series__item.is-past .series__chevron {
	display: block;
}

.series__more[open] .series__chevron {
	transform: rotate(-135deg);
}

.series__item.is-past .series__more > summary:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 4px;
	border-radius: var(--r-icon);
}

.series__detail {
	display: none;
	gap: var(--sp-3);
	padding-top: var(--sp-3);
}

.series__item.is-past .series__more[open] .series__detail {
	display: grid;
}

.series__detail-title {
	margin: 0;
	font-size: 1rem;
}

.series__detail-meta {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--text-2);
}

.series__photo {
	width: 100%;
	height: auto;
	border-radius: var(--r-card);
}

.series__files {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
}

.series__date {
	display: grid;
	line-height: 1.2;
}

.series__day {
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 600;
}

.series__time {
	font-size: 0.8125rem;
	color: var(--text-2);
}

.series__info {
	display: grid;
	line-height: 1.3;
}

.series__info strong {
	font-weight: 600;
}

.series__info span {
	font-size: 0.8125rem;
	color: var(--text-2);
}

.series__status {
	padding: 0.125rem 0.5rem;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--text);
	border: 1px solid var(--red);
	border-radius: var(--r-pill);
	white-space: nowrap;
}

.series__item.is-past .series__day,
.series__item.is-past strong {
	color: var(--text-2);
}

.series__item.is-past .series__status {
	color: var(--text-3);
	border-color: var(--line);
}

@media (min-width: 62em) {
	.series-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}
}

/* Masonry-style photo columns */
.photo-columns {
	columns: 2 12rem;
	column-gap: var(--sp-2);
}

.photo-columns__item {
	margin: 0 0 var(--sp-2);
	overflow: hidden;
	break-inside: avoid;
	background: var(--s1);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
}

.photo-columns__item img {
	height: auto;
}

@media (min-width: 62em) {
	.photo-columns {
		columns: 4;
	}
}

/* Ordered steps */
.steps {
	padding: var(--sp-5);
	background: var(--s1);
	border: 1px solid var(--line);
	border-radius: var(--r-panel);
}

.steps__list {
	display: grid;
	gap: var(--sp-3);
	padding-left: var(--sp-5);
	color: var(--text-2);
}

.steps__list a {
	color: var(--text);
	text-decoration-color: var(--red-hover);
}

.steps__list li::marker {
	font-weight: 600;
	color: var(--text);
}

/* CTA band */
.cta-band {
	display: grid;
	gap: var(--sp-5);
	align-items: center;
	padding: var(--sp-5);
	background: var(--s1);
	border: 1px solid rgba(189, 0, 14, 0.6);
	border-radius: var(--r-panel);
}

.cta-band__text {
	display: grid;
	gap: var(--sp-2);
	color: var(--text-2);
}

.cta-band__title {
	font-size: clamp(1.5rem, 3.5vw, 2.25rem);
	letter-spacing: -0.025em;
	color: var(--text);
}

.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
}

@media (min-width: 62em) {
	.cta-band {
		grid-template-columns: 1fr auto;
		padding: var(--sp-6);
	}
}

/* Closed day in the hours grid */
.hours-grid__item.is-closed dd {
	color: var(--text-3);
	font-weight: 500;
}

/* ==========================================================================
   Page background: dot grid + flat red shapes + slanted tonal bands.
   Everything is flat and static; the dot layer is fixed, so it never repaints on scroll.
   ========================================================================== */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.3px);
	background-size: 26px 26px;
}

/*
 * Red ambient light behind everything: three very soft fields on a fixed layer
 * (oversized so the slow drift never shows an edge). Pure atmosphere, no shapes.
 */
body::after {
	content: "";
	position: fixed;
	inset: -15vmax;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(44vmax 36vmax at 82% 18%, rgba(189, 0, 14, 0.38), transparent 70%),
		radial-gradient(40vmax 32vmax at 10% 82%, rgba(189, 0, 14, 0.27), transparent 70%),
		radial-gradient(32vmax 26vmax at 92% 80%, rgba(189, 0, 14, 0.2), transparent 72%),
		radial-gradient(28vmax 22vmax at 6% 14%, rgba(189, 0, 14, 0.18), transparent 72%),
		radial-gradient(32vmax 26vmax at 50% 50%, rgba(224, 0, 18, 0.13), transparent 70%);
}

@media (prefers-reduced-motion: no-preference) {
	body::after {
		animation: bh-ambient 48s ease-in-out infinite alternate;
	}
}

@keyframes bh-ambient {
	from { transform: translate3d(-2.5%, -1.5%, 0); }
	to { transform: translate3d(2.5%, 2%, 0); }
}

/* On phones the glow sits behind a much smaller viewport, so boost it to read the same. */
@media (max-width: 47.99em) {
	body::after {
		background:
			radial-gradient(76vmax 50vmax at 84% 12%, rgba(189, 0, 14, 0.46), transparent 68%),
			radial-gradient(66vmax 44vmax at 6% 88%, rgba(189, 0, 14, 0.33), transparent 68%),
			radial-gradient(48vmax 34vmax at 94% 84%, rgba(189, 0, 14, 0.24), transparent 72%),
			radial-gradient(42vmax 30vmax at 4% 10%, rgba(189, 0, 14, 0.22), transparent 72%),
			radial-gradient(54vmax 38vmax at 50% 46%, rgba(224, 0, 18, 0.16), transparent 70%);
	}
}

/* One flat background for the whole page: sections share it, only a hairline divides them. */
.simway,
.compete,
.contact {
	padding-block: calc(var(--sp-7) + 2rem);
}

@media (min-width: 48em) {
	.simway,
	.compete,
	.contact {
		padding-block: calc(var(--sp-8) + 2rem);
	}
}

/* ==========================================================================
   Shooting range: SimWay HUNT
   ========================================================================== */
.simway__grid {
	display: grid;
	gap: var(--sp-6);
}

.simway__media {
	display: grid;
	gap: var(--sp-3);
	align-content: start;
}

.simway__figure {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--s2);
	border: 1px solid var(--line);
	border-radius: var(--r-panel);
}

.simway__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.simway__content {
	display: grid;
	gap: var(--sp-4);
	align-content: center;
}

.video {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--s2);
	border: 1px solid var(--line);
	border-radius: var(--r-panel);
}

.video__poster {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: var(--line-strong);
	text-decoration: none;
}

.video__poster:focus-visible {
	outline-offset: -6px;
}

.video__crosshair {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.video__play {
	position: relative;
	display: grid;
	place-items: center;
	width: 4.5rem;
	height: 4.5rem;
	color: var(--text);
	background: var(--red);
	border-radius: 50%;
	transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.video__play .icon {
	width: 1.75rem;
	height: 1.75rem;
	margin-left: 0.2rem;
	fill: currentColor;
}

.video__poster:hover .video__play {
	background: var(--red-hover);
	transform: scale(1.06);
}

.video__caption {
	position: absolute;
	left: var(--sp-4);
	bottom: var(--sp-4);
	padding: 0.375rem 0.875rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--text);
	background: rgba(7, 7, 7, 0.82);
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
}

.video__frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.check-list {
	display: grid;
	gap: var(--sp-2);
	list-style: none;
}

.check-list li {
	display: flex;
	align-items: flex-start;
	gap: var(--sp-3);
	color: var(--text-2);
}

.check-list .icon {
	width: 1.125rem;
	height: 1.125rem;
	margin-top: 0.25rem;
	color: var(--red-hover);
}

.price-chips {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
	gap: var(--sp-2);
	list-style: none;
}

.price-chip {
	display: grid;
	gap: 0.25rem;
	padding: var(--sp-3) var(--sp-4);
	background: var(--s2);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
}

.price-chip--main {
	border-color: rgba(189, 0, 14, 0.6);
}

.price-chip__label {
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-2);
}

.price-chip__value {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.price-chip__value small {
	font-family: var(--font-body);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--text-2);
}

.simway__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
}

.simway__note {
	font-size: 0.9375rem;
	color: var(--text-2);
}

.simway__note a {
	color: var(--text);
	font-weight: 600;
	text-decoration-color: var(--red-hover);
}

@media (min-width: 62em) {
	.simway__grid {
		grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
		gap: var(--sp-8);
		align-items: center;
	}
}

/* ==========================================================================
   Leagues page: three separate blocks
   ========================================================================== */
.league-page {
	padding-bottom: var(--sp-5);
}

.league-group {
	display: grid;
	gap: var(--sp-5);
}

.league-group + .league-group {
	margin-top: var(--sp-7);
	padding-top: var(--sp-7);
	border-top: 1px solid var(--line-strong);
}

.league-group__head {
	display: grid;
	gap: var(--sp-2);
	align-content: start;
}

.league-group__title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	letter-spacing: -0.025em;
}

.league-group__text {
	color: var(--text-2);
}

.wide-card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-4);
	padding: var(--sp-5);
	background: var(--s1);
	border: 1px solid var(--line);
	border-radius: var(--r-panel);
}

.wide-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	background: var(--s2);
	border: 1px solid var(--line);
	border-radius: var(--r-icon);
}

.wide-card__text {
	display: grid;
	flex: 1 1 14rem;
	gap: 0.25rem;
}

.wide-card__title {
	font-size: 1.5rem;
	letter-spacing: -0.02em;
}

.wide-card__meta {
	color: var(--text-2);
}

.wide-card--schedule {
	border-color: rgba(189, 0, 14, 0.6);
}

.wide-card--senior {
	background: var(--s2);
	border-left: 4px solid var(--red);
}

/* Whole card is clickable: the link's pseudo-element stretches over the card. */
.group-card,
.wide-card {
	position: relative;
	transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.group-card:hover,
.wide-card:hover {
	background: #181818;
	border-color: var(--line-strong);
}

.wide-card--schedule:hover {
	border-color: var(--red);
}

.group-card .info-card__link::after,
.wide-card > .pill::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.group-card:focus-within,
.wide-card:focus-within {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
}

.group-card .info-card__link:focus-visible,
.wide-card > .pill:focus-visible {
	outline: none;
}

.group-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
	gap: var(--sp-3);
	list-style: none;
}

.group-card {
	position: relative;
	display: grid;
	gap: var(--sp-2);
	align-content: start;
	overflow: hidden;
	padding: var(--sp-5);
	background: var(--s1);
	border: 1px solid var(--line);
	border-radius: var(--r-panel);
}

.group-card > *:not(.group-card__letter):not(.info-card__link) {
	position: relative;
}

.group-card__letter {
	position: absolute;
	right: var(--sp-3);
	bottom: -1.25rem;
	font-family: var(--font-display);
	font-size: 7.5rem;
	font-weight: 700;
	line-height: 1;
	color: rgba(255, 255, 255, 0.05);
	pointer-events: none;
	user-select: none;
}

.group-card__title {
	font-size: 1.375rem;
	letter-spacing: -0.02em;
}

.group-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2);
	color: var(--text-2);
}

@media (min-width: 62em) {
	.league-group {
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
		gap: var(--sp-6);
		align-items: start;
	}

	.league-group__head {
		position: sticky;
		top: calc(var(--nav-h) + var(--nav-top) + 1rem);
	}
}

/* ==========================================================================
   Tournament calendar: statuses follow the date
   ========================================================================== */
.st {
	display: none;
}

.series__item.is-past .st--past,
.series__item.is-today .st--today,
.series__item.is-upcoming .st--upcoming {
	display: inline;
}

.series__item.is-next.is-upcoming .st--upcoming {
	display: none;
}

.series__item.is-next.is-upcoming .st--next {
	display: inline;
}

.series__item.is-next,
.series__item.is-today {
	margin-inline: calc(var(--sp-3) * -1);
	padding-inline: var(--sp-3);
	background: #1a0a0b;
	border-radius: var(--r-card);
}

.series__item.is-next .series__status,
.series__item.is-today .series__status {
	background: var(--red);
	border-color: var(--red);
}

.calendar__note {
	margin: 0 0 var(--sp-4);
}

.calendar__note--none,
.calendar:not(.has-next) .calendar__note--next {
	display: none;
}

.calendar:not(.has-next) .calendar__note--none {
	display: flex;
}

/* Next tournament line (homepage) */
.tourney__next {
	display: grid;
	gap: 0.125rem;
	padding: var(--sp-3) var(--sp-4);
	background: var(--s1);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
}

.tourney__next[hidden] {
	display: none;
}

.tourney__next-label {
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-2);
}

/* ==========================================================================
   Generic content (pages, posts, 404) and legacy placeholders
   ========================================================================== */
.content-area {
	padding-block: var(--sp-6) var(--sp-8);
}

.entry__title {
	margin-bottom: var(--sp-4);
	font-size: clamp(2rem, 5vw, 3.25rem);
}

.entry__meta {
	margin-bottom: var(--sp-4);
	color: var(--text-2);
}

.entry__content > * + * {
	margin-top: var(--sp-4);
}

.entry__content a {
	text-decoration-color: var(--red-hover);
}

.grid {
	display: grid;
	gap: var(--sp-4);
}

@media (min-width: 48em) {
	.grid--2 { grid-template-columns: repeat(2, 1fr); }
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
	padding: var(--sp-5);
	background: var(--s1);
	border: 1px solid var(--line);
	border-radius: var(--r-panel);
}

.placeholder-box {
	aspect-ratio: 4 / 3;
	background: var(--s1);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
}

/* SimWay price chips: unit on its own line so values never crowd the edge. */
.price-chip__value small {
	display: block;
	margin-top: 0.125rem;
}

.simway__note a {
	white-space: nowrap;
}

/* Groups A to D: 2 columns on phones/tablets, one row of four on desktop. */
.group-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 62em) {
	.group-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.group-card {
		padding: var(--sp-4);
	}

	.group-card__letter {
		font-size: 5rem;
		right: var(--sp-3);
	}
}

@media (max-width: 29.99em) {
	.group-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Hero facts: the place name may wrap; the phone number never does. */
.live-panel__facts dd {
	white-space: normal;
}

.live-panel__facts dd a.num {
	white-space: nowrap;
}

/* SimWay chips on phones: the odd third chip spans the row. */
@media (max-width: 47.99em) {
	.price-chip:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

/* ==========================================================================
   Hero hook: activity badges
   ========================================================================== */
.activities {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	list-style: none;
}

.activity {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.25rem;
	padding: 0.375rem 0.875rem 0.375rem 0.625rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text);
	background: rgba(17, 17, 17, 0.75);
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
}

.activity .icon {
	width: 1.125rem;
	height: 1.125rem;
	color: var(--red-hover);
}

/* Smaller badges on phones: four of them must not wrap into a tall stack. */
@media (max-width: 26.5em) {
	.activity {
		gap: 0.3125rem;
		min-height: 1.75rem;
		padding: 0.25rem 0.625rem 0.25rem 0.5rem;
		font-size: 0.75rem;
	}

	.activity .icon {
		width: 0.875rem;
		height: 0.875rem;
	}
}

/* 10 amenities on 3 columns: the last tile spans the whole row. */
@media (min-width: 48em) {
	.feature:last-child:nth-child(3n+1) {
		grid-column: 1 / -1;
	}
}

/* Google rating badge */
.rating {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--sp-2);
	margin-top: var(--sp-4);
	padding: 0.5rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	background: rgba(17, 17, 17, 0.6);
	color: var(--text);
	font-size: 0.875rem;
	text-decoration: none;
	transition: border-color 0.2s ease;
}
.rating:hover { border-color: var(--line-strong); }
.rating__stars { display: inline-flex; gap: 2px; color: #f5b301; }
.rating__stars .icon { width: 1rem; height: 1rem; fill: currentColor; stroke: none; }
.rating__value { font-weight: 700; }
.rating__text { color: var(--text-2); }

.hours-note {
	margin: var(--sp-3) 0 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: var(--text-2);
}

/* Hero title accent - delete this rule to undo the red word */
.hero__title-accent {
	color: var(--red);
}

/* HERO TITLE POP - experiment. Delete this whole block (up to "END HERO TITLE POP") to undo. */
.hero__title {
	font-size: clamp(2.75rem, 14vw, 6.5rem);
	font-weight: 800;
	line-height: 0.88;
	letter-spacing: -0.035em;
	text-transform: uppercase;
	text-shadow: 0.045em 0.045em 0 color-mix(in srgb, var(--red) 28%, transparent);
}

@media (min-width: 62em) {
	.hero__title {
		margin-right: -0.3em; /* let the title reach slightly into the gap towards the live panel */
		position: relative;
		z-index: 1;
	}
}
/* END HERO TITLE POP */

/* FAQ */
.faq__layout { display: grid; gap: var(--sp-6); align-items: start; }
.faq__list { display: grid; gap: var(--sp-2); }

@media (min-width: 62em) {
	.faq__layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
	.reach { position: sticky; top: calc(var(--nav-h) + var(--nav-top) + var(--sp-5)); }
}

.reach {
	display: grid;
	gap: var(--sp-4);
	padding: var(--sp-4);
	background: var(--s1);
	border: 1px solid var(--line);
	border-radius: var(--r-panel);
}
.reach__badge {
	justify-self: start;
	margin: 0;
	padding: 0.25rem 0.75rem;
	border: 1px solid rgba(189, 0, 14, 0.6);
	border-radius: var(--r-pill);
	font-size: 0.8125rem;
	font-weight: 600;
}
.reach__text { margin: 0; color: var(--text-2); line-height: 1.6; }
.select { position: relative; }
.select__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
	width: 100%;
	min-height: 2.75rem;
	padding: 0.6rem 0.8rem;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--r-icon);
	font: inherit;
	color: var(--text);
	text-align: left;
	cursor: pointer;
	transition: border-color var(--dur) ease;
}
.select__button::after {
	content: "";
	flex-shrink: 0;
	width: 0.5rem;
	height: 0.5rem;
	margin-top: -0.2rem;
	border: solid var(--text-2);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	transition: transform 0.22s var(--ease), margin-top 0.22s var(--ease);
}
.select__button:hover { border-color: var(--line-strong); }
.select__button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.select__button[aria-expanded="true"] { border-color: var(--red); }
.select__button[aria-expanded="true"]::after { margin-top: 0.2rem; transform: rotate(-135deg); }
.select__list {
	position: absolute;
	z-index: 20;
	top: calc(100% + 0.375rem);
	left: 0;
	right: 0;
	max-height: 15rem;
	margin: 0;
	padding: 0.375rem;
	overflow-y: auto;
	list-style: none;
	background: var(--s2);
	border: 1px solid var(--line-strong);
	border-radius: var(--r-card);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px) scale(0.98);
	transform-origin: top;
	pointer-events: none;
	transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s linear 0.22s;
}
.select__list.is-open {
	opacity: 1;
	visibility: visible;
	transform: none;
	pointer-events: auto;
	transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s;
}
.select__option {
	transition: background-color 0.15s ease;
	padding: 0.6rem 0.75rem;
	border-radius: 8px;
	font-size: 0.9375rem;
	cursor: pointer;
}
.select__option.is-active { background: rgba(255, 255, 255, 0.07); }
.select__option[aria-selected="true"] { color: var(--text); font-weight: 600; box-shadow: inset 2px 0 0 var(--red); }
@media (prefers-reduced-motion: reduce) {
	.select__list,
	.select__list.is-open { transition: none; }
}
@keyframes cookie-in { from { opacity: 0; transform: translateX(2rem); } to { opacity: 1; transform: none; } }
.cookie-banner { position: fixed; z-index: 1000; right: var(--sp-3); bottom: var(--sp-3); width: calc(100% - 2 * var(--sp-3)); max-width: 24rem; animation: cookie-in 0.4s ease-out 0.5s backwards; padding: var(--sp-4); border-radius: var(--r-icon); background: #1a1a1a; color: #fff; border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); font-size: 0.875rem; }
.cookie-banner[hidden], .cookie-banner [hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .cookie-banner { animation: none; } }
.cookie-banner__title { margin: 0 0 var(--sp-2); font-size: 1rem; }
.cookie-banner p { margin: 0 0 var(--sp-3); }
.cookie-banner__actions, .cookie-banner__details { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-3); }
.cookie-banner__details { flex-direction: column; }
.cookie-banner__actions { margin-bottom: 0; }
.faq__item {
	border: 1px solid var(--line);
	border-radius: var(--r-panel);
	background: var(--s1);
}
.faq__item summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--sp-3);
	min-height: 3rem;
	padding: var(--sp-3) var(--sp-4);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
	content: "+";
	flex-shrink: 0;
	color: var(--red-hover);
	font-size: 1.25rem;
	line-height: 1;
	transition: transform 0.22s var(--ease);
}
.faq__item[open] summary::after {
	transform: rotate(135deg);
}
.faq__item p {
	margin: 0;
	padding: 0 var(--sp-4) var(--sp-4);
	color: var(--text-2);
	line-height: 1.6;
}

/* Follow line (hero) */
.follow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2) var(--sp-3);
	margin: var(--sp-3) 0 0;
	font-size: 0.8125rem;
	color: var(--text-3);
}
.follow__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 2.25rem;
	color: var(--text-2);
	text-decoration: none;
	transition: color 0.2s ease;
}
.follow__link:hover { color: var(--text); }
.follow__link .icon { width: 1.1rem; height: 1.1rem; color: var(--red-hover); }

.hero__side { display: grid; gap: var(--sp-2); align-content: center; min-width: 0; }
.hero__side .follow { margin: 0; }

/* ==========================================================================
   Photo lightbox
   ========================================================================== */
img.is-zoomable {
	cursor: zoom-in;
}

img.is-zoomable:focus-visible {
	outline: 2px solid var(--text);
	outline-offset: 2px;
}

.lightbox-open {
	overflow: hidden;
}

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3.5rem 1rem;
	background: rgba(0, 0, 0, 0.92);
}

.lightbox[hidden] {
	display: none;
}

.lightbox__img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: var(--r-card);
	cursor: default;
}

.lightbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	font-size: 1.75rem;
	line-height: 1;
	color: var(--text);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	cursor: pointer;
}

.lightbox__btn:hover {
	background: rgba(255, 255, 255, 0.2);
}

.lightbox__close {
	top: 0.75rem;
	right: 0.75rem;
}

.lightbox__nav {
	top: 50%;
	transform: translateY(-50%);
}

.lightbox__nav--prev {
	left: 0.5rem;
}

.lightbox__nav--next {
	right: 0.5rem;
}

.lightbox.has-one .lightbox__nav {
	display: none;
}

/* Hero on phones: bigger title, smaller centered lead */
@media (max-width: 47.99em) {
	.hero__title {
		font-size: clamp(3rem, 18.5vw, 5.5rem);
	}

	.hero__lead {
		max-width: 34ch;
		margin-inline: auto;
		font-size: 0.875rem;
		line-height: 1.5;
		text-align: center;
	}
}

/* Live results */
.pill--live {
	background: var(--red);
	border-color: var(--red);
	color: var(--text);
	gap: var(--sp-2);
}

.pill--live:hover {
	background: var(--red-hover);
	border-color: var(--red-hover);
}

.live-dot {
	width: 0.625rem;
	height: 0.625rem;
	border-radius: 50%;
	background: var(--text);
	animation: live-pulse 1.4s ease-in-out infinite;
}

@keyframes live-pulse {
	50% {
		opacity: 0.25;
	}
}

.hero__live,
.live-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-3);
	margin-bottom: var(--sp-4);
	color: var(--text-2);
	font-size: 0.9375rem;
}

.tourney__live {
	margin-right: var(--sp-2);
	margin-bottom: var(--sp-2);
}

.live {
	display: grid;
	gap: var(--sp-4);
}

.live__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-3);
	color: var(--text-2);
	font-size: 0.875rem;
}

.live__scroll {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	background: var(--s1);
}

.live__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
	font-variant-numeric: tabular-nums;
}

.live__table th,
.live__table td {
	padding: var(--sp-2) var(--sp-3);
	text-align: left;
	white-space: nowrap;
	border-bottom: 1px solid var(--line);
}

.live__table thead th {
	position: sticky;
	top: 0;
	background: var(--s2);
	font-weight: 600;
}

.live__table tbody tr:last-child td {
	border-bottom: 0;
}

.live__table tbody tr:nth-child(even) {
	background: var(--s2);
}

/* Tournament archive */
.archive__years,
.archive__months {
	display: grid;
	gap: var(--sp-3);
}

.archive__months {
	padding: var(--sp-3) var(--sp-4) var(--sp-4);
}

.archive__year,
.archive__month {
	background: var(--s1);
	border: 1px solid var(--line);
	border-radius: var(--r-panel);
}

.archive__month {
	border-radius: var(--r-card);
	background: var(--s2);
}

.archive__summary {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	padding: var(--sp-4) var(--sp-5);
	list-style: none;
	cursor: pointer;
}

.archive__summary::-webkit-details-marker {
	display: none;
}

.archive__summary:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: -2px;
	border-radius: var(--r-card);
}

.archive__name {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 600;
}

.archive__count {
	margin-right: auto;
	color: var(--text-2);
	font-size: 0.875rem;
}

.archive__summary .series__chevron {
	display: block;
}

details[open] > .archive__summary .series__chevron {
	transform: rotate(-135deg);
}

.archive__month .series__list {
	padding: 0 var(--sp-4) var(--sp-3);
}

@media (prefers-reduced-motion: reduce) {
	.live-dot {
		animation: none;
	}
}

/* Collapsible box (Turnaje: results and calendar) */
.fold {
	background: var(--s1);
	border: 1px solid rgba(189, 0, 14, 0.6);
	border-radius: var(--r-panel);
	transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.fold:hover {
	border-color: var(--red);
}

.fold__summary {
	display: flex;
	align-items: center;
	gap: var(--sp-4);
	padding: var(--sp-5);
	list-style: none;
	cursor: pointer;
}

.fold__summary::-webkit-details-marker {
	display: none;
}

.fold__summary:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
	border-radius: var(--r-panel);
}

.fold__text {
	display: grid;
	gap: var(--sp-1);
	margin-right: auto;
}

.fold__title {
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 3vw, 1.75rem);
	letter-spacing: -0.02em;
}

.fold__sub {
	color: var(--text-2);
	font-size: 0.9375rem;
}

.fold__summary .series__chevron {
	display: block;
	flex: none;
}

.fold[open] > .fold__summary .series__chevron {
	transform: rotate(-135deg);
}

.fold__body {
	display: grid;
	gap: var(--sp-3);
	padding: 0 var(--sp-5) var(--sp-5);
}
