:root {
  --ink: #161618;
  --charcoal: #4d4945;
  --red: #dd202c;
  --red-ink: #b4141e;
  --red-deep: #760d14;
  --red-wash: #fae9e9;
  --paper: #fff;
  --canvas: #f4f1eb;
  --line: #d8d2c9;
  --muted: #625d56;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --shadow: 0 18px 45px rgb(22 22 24 / 0.12);
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { background: var(--canvas); scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: linear-gradient(rgb(255 255 255 / .32), rgb(255 255 255 / .32)), var(--canvas); }
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: .98; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { color: var(--paper); background: var(--red); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 99999; top: 1rem; left: 1rem; padding: .75rem 1rem; color: var(--paper); background: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.shell { width: min(100% - 2rem, 1180px); margin-inline: auto; }
.shell--wide { width: min(100% - 2rem, 1380px); }
.eyebrow { margin: 0 0 .8rem; color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: .75rem 1.2rem; border: 1px solid transparent; border-radius: .18rem; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--paper); background: var(--red); }
.button--primary:hover { background: var(--red-ink); }
.button--ghost { color: var(--paper); border-color: rgb(255 255 255 / .45); }
.button--ghost:hover { color: var(--ink); background: var(--paper); }

.site-header { position: sticky; z-index: 1000; top: 0; border-bottom: 3px solid var(--red); background: rgb(255 255 255 / .96); backdrop-filter: blur(14px); }
.site-header__inner { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; }
.brand__mark, .brand__fallback { width: 56px; height: 56px; object-fit: contain; }
.brand__fallback { display: grid; place-items: center; border-radius: 50%; color: var(--paper); background: var(--red); font-family: var(--display); font-size: 1.35rem; }
.brand__mark { filter: drop-shadow(0 2px 4px rgb(0 0 0 / .15)); }
.brand__text { display: grid; line-height: 1; }
.brand__text strong { font-family: var(--display); font-size: 1.45rem; letter-spacing: .04em; }
.brand__text small { margin-top: .25rem; color: var(--muted); font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.site-nav__list { display: flex; align-items: center; gap: .18rem; padding: 0; margin: 0; list-style: none; }
.site-nav__link { display: flex; min-height: 42px; align-items: center; padding: .45rem .65rem; border-radius: .2rem; font-size: .68rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; transition: color .16s, background .16s; }
.site-nav__link:hover, .site-nav__link.is-active, .current-menu-item > .site-nav__link { color: var(--paper); background: var(--red); }
.nav-toggle { display: none; width: 46px; height: 42px; border: 0; background: transparent; place-content: center; gap: 5px; }
.nav-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; min-height: min(760px, calc(100svh - 74px)); overflow: hidden; display: grid; align-items: end; color: var(--paper); background: linear-gradient(90deg, rgb(16 16 18 / .96) 0%, rgb(16 16 18 / .74) 48%, rgb(16 16 18 / .22) 100%), var(--hero-image, linear-gradient(135deg, var(--red-deep), var(--ink))); background-size: cover; background-position: center; }
.hero::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgb(0 0 0 / .48), transparent 45%); pointer-events: none; }
.hero__content { position: relative; z-index: 2; padding-block: clamp(5rem, 11vw, 9rem); }
.hero h1 { max-width: 850px; font-size: clamp(5rem, 15vw, 11rem); letter-spacing: -.035em; text-transform: uppercase; }
.hero h1 span { color: var(--red); }
.hero__content > p:not(.eyebrow) { max-width: 610px; margin: 1.5rem 0 0; color: rgb(255 255 255 / .82); font-size: clamp(1rem, 2vw, 1.22rem); line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__word { position: absolute; z-index: 1; right: -1vw; bottom: -6vw; color: rgb(255 255 255 / .045); font-family: var(--display); font-size: 34vw; font-weight: 700; line-height: 1; }
.page-hero { position: relative; overflow: hidden; padding: clamp(5rem, 10vw, 9rem) 0 clamp(3.5rem, 7vw, 6rem); color: var(--paper); background: radial-gradient(circle at 88% 12%, rgb(221 32 44 / .42), transparent 30%), var(--ink); }
.page-hero::after { position: absolute; right: -2rem; bottom: -7rem; content: "ЕМС"; color: rgb(255 255 255 / .035); font-family: var(--display); font-size: clamp(12rem, 32vw, 30rem); font-weight: 700; line-height: 1; }
.page-hero .shell { position: relative; z-index: 1; }
.page-hero h1 { max-width: 1000px; font-size: clamp(3.8rem, 10vw, 8rem); text-transform: uppercase; }
.page-hero p:not(.eyebrow) { max-width: 650px; margin: 1.4rem 0 0; color: rgb(255 255 255 / .76); font-size: 1.08rem; line-height: 1.65; }
.page-hero .button { margin-top: 2rem; }

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--compact { padding-top: 0; }
.section--ink { color: var(--paper); background: var(--ink); }
.section--red { color: var(--paper); background: var(--red-deep); }
.section--ink .eyebrow, .section--red .eyebrow { color: #ff6f76; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.2rem; }
.split-heading h2 { font-size: clamp(2.8rem, 6vw, 4.8rem); text-transform: uppercase; }
.split-heading > a { flex: none; padding-bottom: .25rem; border-bottom: 2px solid currentColor; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cards { display: grid; gap: 1.2rem; }
.cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.empty-state { padding: 2rem; border: 1px solid var(--line); color: var(--muted); background: var(--paper); }











.match-list { display: grid; gap: 1rem; }







.match-report { margin-top: 4rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.standings-table { width: 100%; border-collapse: collapse; color: var(--ink); font-variant-numeric: tabular-nums; }
.standings-table th, .standings-table td { padding: .9rem .8rem; border-bottom: 1px solid var(--line); text-align: center; }
.standings-table th:nth-child(2) { min-width: 180px; text-align: left; }
.standings-table thead { color: var(--paper); background: var(--ink); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.standings-table tbody tr:last-child > * { border-bottom: 0; }
.standings-table .is-club { color: var(--paper); background: var(--red); }

.filter-bar {
	display: flex;
	overflow-x: auto;
	gap: .55rem;
	padding: .8rem 0;
	scrollbar-width: thin;
	position: sticky;
	top: 77px;
	z-index: 99;
	background: var(--canvas);
	border-bottom: 1px solid var(--line);
}

.filter-bar::after {
	content: "";
	flex: 0 0 1rem;
}

@media (max-width: 560px) {
	.filter-bar { top: 67px; }
}
.filter-bar button { flex: none; min-height: 50px; padding: .65rem 1rem; border: 1px solid var(--line); border-radius: .18rem; color: var(--ink); background: var(--paper); font-size: .73rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.filter-bar button span { display: inline-grid; min-width: 1.7rem; min-height: 1.7rem; place-items: center; margin-left: .35rem; border-radius: 999px; background: var(--canvas); }
.filter-bar button[aria-pressed="true"] { color: var(--paper); border-color: var(--red); background: var(--red); }
.filter-bar button[aria-pressed="true"] span { color: var(--ink); background: var(--paper); }
.result-line { margin-block: 1.5rem; color: var(--muted); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.player-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.player-card { overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 8px 24px rgb(22 22 24 / .07); transition: transform .2s, box-shadow .2s; }
.player-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.player-card__image { position: relative; aspect-ratio: 4/5; overflow: hidden; display: grid; place-items: center; color: rgb(255 255 255 / .32); background: linear-gradient(145deg, var(--red-deep), var(--red)); font-family: var(--display); font-size: 4rem; }
.player-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .4s ease; }
.player-card:hover .player-card__image img { transform: scale(1.025); }
.player-card__number { position: absolute; right: .75rem; bottom: .55rem; color: var(--paper); font-family: var(--display); font-size: 4rem; line-height: 1; text-shadow: 0 2px 12px rgb(0 0 0 / .34); }
.player-card__body { padding: 1rem; }
.player-card__body > p { margin: 0 0 .3rem; color: var(--red); font-size: .65rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.player-card h3 { font-size: 1.6rem; line-height: 1.05; }
.player-card dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin: 1rem 0 0; padding-top: .8rem; border-top: 1px solid var(--line); }
.player-card dl div { display: flex; justify-content: space-between; }
.player-card dt { color: var(--muted); font-size: .66rem; text-transform: uppercase; }
.player-card dd { margin: 0; font-weight: 800; }
.player-card[hidden] { display: none; }

.profile-hero { padding-block: clamp(3rem, 8vw, 7rem); color: var(--paper); background: var(--ink); }
.profile-hero__grid { display: grid; grid-template-columns: minmax(280px, 500px) 1fr; align-items: center; gap: clamp(2rem, 8vw, 7rem); }
.profile-hero__image { aspect-ratio: 4/5; overflow: hidden; background: var(--red-deep); box-shadow: 20px 20px 0 var(--red); }
.profile-hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.profile-number { margin: 0; color: var(--red); font-family: var(--display); font-size: clamp(5rem, 13vw, 10rem); font-weight: 700; line-height: .8; }
.profile-hero h1 { margin-top: 1rem; font-size: clamp(3rem, 7vw, 6rem); text-transform: uppercase; }
.profile-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.profile-facts div { padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / .22); }
.profile-facts dt { color: rgb(255 255 255 / .6); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.profile-facts dd { margin: .4rem 0 0; font-weight: 700; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); background: var(--paper); }
.stats-grid div { display: grid; padding: 2rem 1rem; border-right: 1px solid var(--line); text-align: center; }
.stats-grid div:last-child { border-right: 0; }
.stats-grid strong { color: var(--red); font-family: var(--display); font-size: clamp(2.2rem, 5vw, 4rem); }
.stats-grid span { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.galleries { display: grid; gap: 5rem; }
/* Gallery */
.gallery-set + .gallery-set {
	margin-top: 4rem;
}

.gallery-set > header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.2rem;
}

.gallery-set h2 {
	font-size: clamp(2rem, 5vw, 3.8rem);
	text-transform: uppercase;
}

.gallery-set > header > span {
	color: var(--muted);
	font-size: .72rem;
	font-weight: 800;
	text-transform: uppercase;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-auto-rows: 180px;
	gap: .7rem;
}

.gallery-grid .gallery-item {
	position: relative;
	grid-column: span 4;
	overflow: hidden;
	padding: 0;
	border: 0;
	border-radius: .35rem;
	background: var(--line);
	cursor: zoom-in;
	transform: translateZ(0);
}

.gallery-grid .gallery-item:nth-child(7n + 1),
.gallery-grid .gallery-item:nth-child(7n + 2) {
	grid-column: span 6;
	grid-row: span 2;
}

.gallery-grid .gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .55s cubic-bezier(.2, .8, .2, 1), filter .4s ease;
}

.gallery-item__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgb(221 32 44 / .82);
	opacity: 0;
	transition: opacity .35s ease;
	pointer-events: none;
}

.gallery-item__overlay svg {
	width: 32px;
	height: 32px;
	color: var(--paper);
	transform: scale(.8);
	transition: transform .35s cubic-bezier(.175, .885, .32, 1.275);
}

.gallery-item:hover .gallery-item__overlay,
.gallery-item:focus-visible .gallery-item__overlay {
	opacity: 1;
}

.gallery-item:hover .gallery-item__overlay svg,
.gallery-item:focus-visible .gallery-item__overlay svg {
	transform: scale(1);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
	transform: scale(1.06);
	filter: contrast(1.04);
}

@media (max-width: 900px) {
	.gallery-grid { grid-auto-rows: 150px; }
	.gallery-grid .gallery-item { grid-column: span 6; }
	.gallery-grid .gallery-item:nth-child(7n + 1),
	.gallery-grid .gallery-item:nth-child(7n + 2) { grid-column: span 12; }
}

@media (max-width: 560px) {
	.gallery-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
	.gallery-grid .gallery-item,
	.gallery-grid .gallery-item:nth-child(7n + 1),
	.gallery-grid .gallery-item:nth-child(7n + 2) { grid-column: 1; grid-row: auto; aspect-ratio: 4/3; }
	.gallery-item__overlay { opacity: .85; }
}

.lightbox {
	width: 100vw;
	max-width: none;
	height: 100dvh;
	max-height: none;
	padding: 0;
	border: 0;
	color: var(--paper);
	background: rgb(12 12 14 / .96);
	opacity: 0;
	transition: opacity .25s ease, transform .25s ease;
	transform: scale(.98);
}

.lightbox[open] {
	opacity: 1;
	transform: scale(1);
}

.lightbox::backdrop {
	background: rgb(12 12 14 / .92);
	opacity: 0;
	transition: opacity .25s ease;
}

.lightbox[open]::backdrop {
	opacity: 1;
}

.lightbox__shell {
	position: relative;
	display: grid;
	width: 100%;
	height: 100%;
	grid-template-columns: 72px 1fr 72px;
	grid-template-rows: 1fr auto;
	place-items: center;
	padding: 4rem 1rem 1rem;
}

.lightbox__figure {
	grid-column: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: min(100%, 1400px);
	margin: 0;
}

.lightbox img {
	max-width: 100%;
	max-height: calc(100dvh - 9rem);
	object-fit: contain;
	border-radius: .25rem;
	box-shadow: 0 20px 60px rgb(0 0 0 / .45);
	transition: opacity .25s ease;
}

.lightbox button {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	border: 1px solid rgb(255 255 255 / .3);
	border-radius: 50%;
	color: var(--paper);
	background: rgb(0 0 0 / .4);
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.lightbox button:hover {
	background: rgb(221 32 44 / .9);
	border-color: rgb(221 32 44 / .9);
	transform: scale(1.06);
}

.lightbox__close { position: absolute; z-index: 2; top: 1rem; right: 1rem; }
.lightbox__prev { grid-column: 1; }
.lightbox__next { grid-column: 3; }

.lightbox figcaption {
	grid-column: 1 / -1;
	margin-top: .9rem;
	color: rgb(255 255 255 / .78);
	font-size: .85rem;
	font-weight: 600;
	text-align: center;
	max-width: 700px;
	padding: 0 1rem;
}

.lightbox__counter {
	grid-column: 1 / -1;
	margin: .35rem 0 0;
	color: rgb(255 255 255 / .55);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

@media (max-width: 768px) {
	.lightbox__shell { grid-template-columns: 52px 1fr 52px; padding-inline: .2rem; }
	.lightbox button { width: 42px; height: 42px; }
	.lightbox img { max-height: calc(100dvh - 10rem); }
}


.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: start; gap: clamp(2rem, 7vw, 6rem); }
.about-photo { position: sticky; top: 110px; aspect-ratio: 4/5; overflow: hidden; margin: 0; background: var(--red-wash); box-shadow: 20px 20px 0 var(--red); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.club-facts { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 2rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.club-facts div { padding: 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.club-facts dt { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.club-facts dd { margin: .35rem 0 0; font-weight: 700; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.contact-grid article { min-height: 280px; padding: 2rem; border: 1px solid var(--line); background: var(--paper); }
.contact-grid h2 { margin-bottom: 1.5rem; font-size: 2rem; }
.contact-grid a { display: block; margin-top: .8rem; color: var(--red); font-weight: 800; }
.contact-extra { margin-top: 3rem; }
.sponsor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.sponsor-card { display: grid; min-height: 260px; place-items: center; padding: 2rem; border: 1px solid var(--line); background: var(--paper); text-align: center; }
.sponsor-card img { max-width: 220px; max-height: 130px; object-fit: contain; margin-inline: auto; }
.sponsor-card h2 { margin-top: 1.3rem; font-size: 1.6rem; }

.article { padding-block: clamp(4rem, 8vw, 7rem); }
.article__header { max-width: 930px; }
.article__header h1 { font-size: clamp(3rem, 8vw, 6.6rem); text-transform: uppercase; }
.article__lead { max-width: 760px; color: var(--muted); font-size: 1.2rem; line-height: 1.7; }
.article__cover { margin-top: 3rem; }
.article__cover img { width: 100%; max-height: 760px; object-fit: cover; }
.article__content { max-width: 760px; margin-top: 3rem; }
.prose { font-size: 1.03rem; line-height: 1.8; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin: 2.5rem 0 1rem; font-size: clamp(2rem, 5vw, 3.5rem); }
.prose h3 { margin: 2rem 0 .8rem; font-size: 2rem; }
.prose a { color: var(--red); text-decoration: underline; }
.prose blockquote { margin: 2rem 0; padding: 1rem 1.5rem; border-left: 5px solid var(--red); background: var(--red-wash); }

.site-footer { padding: 4rem 0 2rem; color: var(--paper); background: var(--ink); }
.site-footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 3rem; }
.site-footer h2 { font-size: 3.5rem; text-transform: uppercase; }
.site-footer p { color: rgb(255 255 255 / .62); }
.site-footer nav { display: grid; align-content: start; gap: .65rem; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.site-footer nav a:hover { color: #ff6f76; }
.site-footer__copy { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .15); font-size: .72rem; }

@media (max-width: 1080px) {
  .nav-toggle { display: grid; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; visibility: hidden; max-height: 0; overflow: hidden; border-bottom: 3px solid var(--red); background: var(--paper); opacity: 0; transition: opacity .2s, max-height .25s; }
  .site-nav.is-open { visibility: visible; max-height: calc(100dvh - 74px); overflow-y: auto; opacity: 1; }
  .site-nav__list { width: min(100% - 2rem, 1180px); margin: 0 auto; padding: 1rem 0 1.4rem; display: grid; }
  .site-nav__link { min-height: 46px; padding-inline: 1rem; }
  .player-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  body.admin-bar .site-header { top: 46px; }
  .cards--three, .contact-grid, .sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-hero__grid, .about-grid { grid-template-columns: 1fr; }
  .profile-hero__image { max-width: 480px; }
  .about-photo { position: relative; top: 0; max-width: 540px; }

}

@media (max-width: 560px) {
  .shell { width: min(100% - 1.2rem, 1180px); }
  .brand__text small { display: none; }
  .hero { min-height: 680px; background-color: var(--ink); background-image: linear-gradient(0deg, rgb(16 16 18 / .95) 0%, rgb(16 16 18 / .68) 65%, rgb(16 16 18 / .25) 100%), var(--hero-image, linear-gradient(135deg, var(--red-deep), var(--ink))); background-repeat: no-repeat; background-position: center, center top; background-size: cover, 100% auto; }
  .hero h1 { font-size: clamp(4.3rem, 23vw, 7rem); }
  .hero__actions, .hero__actions .button { width: 100%; }
  .split-heading { align-items: start; flex-direction: column; }
  .cards--three, .contact-grid, .sponsor-grid, .player-grid { grid-template-columns: 1fr; }
  .player-grid { max-width: 430px; }
  .match-card__meta, .match-card footer { align-items: start; flex-direction: column; }
  .match-card__score { grid-template-columns: 1fr; }
  .match-card__score span { order: -1; }
  .standings-table .optional { display: none; }
  .profile-facts, .club-facts { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid div { border-bottom: 1px solid var(--line); }
  .stats-grid div:nth-child(2n) { border-right: 0; }
  .stats-grid div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .stats-grid div:nth-last-child(-n+1):nth-child(odd) { grid-column: 1 / -1; border-right: 0; }

  .lightbox__shell { grid-template-columns: 52px 1fr 52px; padding-inline: .2rem; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__copy { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Team logos */
.team-logo { display: block; width: 48px; height: 48px; object-fit: contain; }
.team-logo--fallback { display: inline-block; width: 48px; height: 48px; border-radius: 50%; background: var(--line); }

/* Match card improvements */









/* Match detail page */







.match-detail-grid { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: 2rem; align-items: start; }
.match-info-card, .match-report-card { padding: 1.8rem; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 8px 24px rgb(22 22 24 / .06); }
.match-info-card h2, .match-report-card h2 { margin-bottom: 1.2rem; font-size: 1.6rem; text-transform: uppercase; }
.match-info-card dl { display: grid; gap: .9rem; margin: 0; }
.match-info-card div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.match-info-card dt { color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.match-info-card dd { margin: 0; font-weight: 700; text-align: right; }
.match-report-card .prose { color: var(--charcoal); line-height: 1.7; }

.match-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.match-nav__prev { margin-right: auto; }
.match-nav__next { margin-left: auto; }

@media (max-width: 768px) {
	.match-detail-grid { grid-template-columns: 1fr; }
	.match-scoreboard__team .team-logo { width: 64px; height: 64px; }
	.match-scoreboard__score { min-width: 100px; padding: .6rem 1rem; }
	.match-nav { flex-direction: column; }
	.match-nav__prev, .match-nav__next { margin: 0; }
}

/* Fixtures / Results grid on home page */
.fixtures-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.fixtures-col { display: grid; gap: 1rem; }
.fixtures-col__title { margin: 0 0 .2rem; font-family: var(--display); font-size: 1.3rem; text-transform: uppercase; color: var(--paper); }
.section--ink .empty-state { color: rgb(255 255 255 / .8); background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .12); }

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

/* Footer social links */
.site-footer__social { display: flex; flex-wrap: wrap; gap: .75rem; }
.social-link { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .9rem; border: 1px solid rgb(255 255 255 / .25); border-radius: .25rem; color: var(--paper); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.social-link:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.social-link__icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .12); }
.social-link__icon svg { width: 16px; height: 16px; }

/* Player profile improvements */
.player-bio h2 { margin-bottom: 1.2rem; font-size: clamp(1.8rem, 4vw, 2.8rem); text-transform: uppercase; }
.profile-hero__fallback { display: grid; width: 100%; height: 100%; place-items: center; color: var(--paper); background: var(--red-deep); font-family: var(--display); font-size: 5rem; }
.profile-facts--wide { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; margin-top: 1.5rem; }

/* Breadcrumbs */
.breadcrumbs { margin-bottom: 1.2rem; color: rgb(255 255 255 / .65); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li { display: flex; align-items: center; gap: .4rem; }
.breadcrumbs a { color: rgb(255 255 255 / .85); transition: color .18s; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs [aria-current="page"] { color: rgb(255 255 255 / .55); }
.article .breadcrumbs { padding-top: 1.5rem; color: var(--muted); }
.article .breadcrumbs a { color: var(--ink); }
.article .breadcrumbs a:hover { color: var(--red); }
.article .breadcrumbs [aria-current="page"] { color: var(--muted); }

/* UI/UX Pro Max enhancements: Vibrant & Block-based, Motion-Driven */

/* Stronger interactive feedback */


.button:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgb(221 32 44 / .25);
}

/* Vibrant match cards */




/* Vibrant player cards */
.player-card {
	border-radius: .35rem;
	border: 1px solid var(--line);
	overflow: hidden;
}
.player-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 45px rgb(22 22 24 / .12);
}

/* Vibrant news cards */



/* Stat cards polish */
.stat-card {
	padding: 1.5rem 1rem;
	border-right: 1px solid var(--line);
	background: var(--paper);
}
.stat-card:last-child { border-right: 0; }

/* Fan engagement / newsletter CTA */
.fan-cta {
	position: relative;
	overflow: hidden;
	color: var(--paper);
	background: linear-gradient(135deg, var(--red-deep), var(--ink));
}
.fan-cta::before {
	position: absolute;
	inset: 0;
	content: "";
	background: radial-gradient(circle at 90% 10%, rgb(221 32 44 / .5), transparent 40%);
	pointer-events: none;
}
.fan-cta .shell { position: relative; z-index: 1; }
.fan-cta__grid {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 2rem;
}
.fan-cta h2 { max-width: 600px; font-size: clamp(2.2rem, 5vw, 3.8rem); text-transform: uppercase; }
.fan-cta p { max-width: 520px; margin-top: 1rem; color: rgb(255 255 255 / .82); }
.fan-cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.fan-cta .button--ghost { border-color: rgb(255 255 255 / .5); }
.fan-cta .button--ghost:hover { color: var(--ink); background: var(--paper); }

@media (max-width: 768px) {
	.fan-cta__grid { grid-template-columns: 1fr; text-align: center; }
	.fan-cta__actions { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	.button, .news-card, .player-card, .match-card, .match-info-card, .match-report-card, .stat-card {
		transition: none;
	}
	.button:hover, .news-card:hover, .player-card:hover, .match-card:hover {
		transform: none;
	}
}

/* Match card enhancements */












@media (max-width: 480px) {
	.match-card__team .team-logo {
		width: 48px;
		height: 48px;
	}

	.match-card__score strong {
		font-size: 1.1rem;
	}

	.match-card__result {
		min-width: 90px;
		font-size: 1.4rem;
	}
}

/* Full-card clickable link overlay */










/* Countdown to next match */
.countdown {
	display: flex;
	justify-content: center;
	gap: clamp(.6rem, 2vw, 1.2rem);
	margin-bottom: 1.2rem;
	padding: .9rem 1rem;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: .35rem;
}

.countdown__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 60px;
}

.countdown__value {
	font-family: var(--display);
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 700;
	line-height: 1;
	color: var(--red);
}

.countdown__label {
	font-size: .65rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--muted);
}

/* Gallery */


.gallery-grid button,
.gallery-item {
	position: relative;
	grid-column: span 4;
	overflow: hidden;
	padding: 0;
	border: 0;
	border-radius: .35rem;
	background: var(--line);
	cursor: zoom-in;
	transform: translateZ(0);
}

.gallery-grid button:nth-child(7n + 1),
.gallery-grid button:nth-child(7n + 2),
.gallery-item:nth-child(7n + 1),
.gallery-item:nth-child(7n + 2) {
	grid-column: span 6;
	grid-row: span 2;
}

.gallery-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .55s cubic-bezier(.2, .8, .2, 1), filter .4s ease;
}

.gallery-item__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgb(221 32 44 / .82);
	opacity: 0;
	transition: opacity .35s ease;
	pointer-events: none;
}

.gallery-item__overlay svg {
	width: 32px;
	height: 32px;
	color: var(--paper);
	transform: scale(.8);
	transition: transform .35s cubic-bezier(.175, .885, .32, 1.275);
}

.gallery-item:hover .gallery-item__overlay,
.gallery-item:focus-visible .gallery-item__overlay {
	opacity: 1;
}

.gallery-item:hover .gallery-item__overlay svg,
.gallery-item:focus-visible .gallery-item__overlay svg {
	transform: scale(1);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
	transform: scale(1.06);
	filter: contrast(1.04);
}

@media (max-width: 900px) {
	.gallery-grid { grid-auto-rows: 150px; }
	.gallery-grid button,
	.gallery-item { grid-column: span 6; }
	.gallery-grid button:nth-child(7n + 1),
	.gallery-grid button:nth-child(7n + 2),
	.gallery-item:nth-child(7n + 1),
	.gallery-item:nth-child(7n + 2) { grid-column: span 12; }
}

@media (max-width: 560px) {
	.gallery-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
	.gallery-grid button,
	.gallery-item,
	.gallery-grid button:nth-child(7n + 1),
	.gallery-grid button:nth-child(7n + 2),
	.gallery-item:nth-child(7n + 1),
	.gallery-item:nth-child(7n + 2) { grid-column: 1; grid-row: auto; aspect-ratio: 4/3; }
	.gallery-item__overlay { opacity: .85; }
}

/* Match card redesign — ticket / scoreboard style */









































/* Mobile: stacked scoreboard when horizontal does not fit */
@media (max-width: 480px) {
	.match-card__score {
		flex-direction: column;
		gap: .9rem;
		padding: 1.1rem;
	}

	.match-card__team {
		flex: 0 0 auto;
		flex-direction: row;
		gap: .8rem;
		width: 100%;
	}

	.match-card__team--home { justify-content: flex-start; }
	.match-card__team--away { justify-content: flex-end; }

	.match-card__team strong {
		white-space: normal;
		font-size: 1.15rem;
		text-align: left;
	}

	.match-card__team--away strong { text-align: right; }

	.match-card__result {
		order: -1;
		width: 100%;
		max-width: 180px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.match-card,
	.match-card:hover {
		transition: none;
		transform: none;
	}
}


/* Match card — crest / score / crest */
.match-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line);
	border-left: 4px solid var(--red);
	border-radius: .4rem;
	background: var(--paper);
	color: var(--ink);
	box-shadow: var(--shadow);
	transition: transform .2s ease, box-shadow .2s ease;
}

.match-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 50px rgb(22 22 24 / .14);
}

.match-card__link {
	position: absolute;
	inset: 0;
	z-index: 10;
	display: block;
	cursor: pointer;
	text-decoration: none;
}

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

.match-card__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem .9rem;
	padding: .75rem 1rem;
	border-bottom: 1px solid var(--line);
	background: var(--canvas);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--muted);
}

.match-card__tour {
	display: inline-flex;
	align-items: center;
	padding: .2rem .55rem;
	background: var(--red);
	color: var(--paper);
	border-radius: .2rem;
	font-family: var(--display);
	font-size: .7rem;
}

.match-card__date {
	margin-right: auto;
}

.match-card__stadium {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}

.match-card__score {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .8rem;
	padding: clamp(1.2rem, 3vw, 2rem);
	text-align: center;
}

.match-card__matchup {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: .5rem 1rem;
	width: 100%;
}

.match-card__team-name {
	font-family: var(--display);
	font-size: clamp(1.2rem, 2.4vw, 1.75rem);
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
	text-align: center;
}

.match-card__vs {
	color: var(--muted);
	font-family: var(--display);
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.match-card__crest-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(.9rem, 3vw, 1.8rem);
	width: 100%;
}

.match-card__crest {
	width: clamp(48px, 9vw, 72px);
	height: clamp(48px, 9vw, 72px);
	object-fit: contain;
	flex-shrink: 0;
}

.match-card__result {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: max-content;
	padding: .4rem .9rem;
	color: var(--paper);
	background: var(--red);
	border-radius: .3rem;
	font-family: var(--display);
	font-size: clamp(1.4rem, 3.2vw, 2.2rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: .02em;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgb(221 32 44 / .25);
}

.match-card__result.is-finished {
	background: var(--ink);
	box-shadow: 0 4px 12px rgb(22 22 24 / .15);
}

.match-card footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-top: auto;
	padding: .8rem 1rem;
	border-top: 1px solid var(--line);
	background: var(--paper);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--muted);
}

.match-card footer a { display: none; }

.match-card__status {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
}

.match-card__status::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--muted);
}

.match-card__status.is-finished::before { background: #2ecc71; }
.match-card__status.is-scheduled::before { background: var(--red); }

.match-card__action {
	color: var(--red);
	font-weight: 800;
	font-size: .75rem;
	letter-spacing: .04em;
	text-transform: uppercase;
}

@media (max-width: 420px) {
	.match-card__matchup {
		gap: .35rem .7rem;
	}

	.match-card__team-name {
		font-size: 1rem;
	}

	.match-card__crest-row {
		gap: .7rem;
	}

	.match-card__crest {
		width: 44px;
		height: 44px;
	}

	.match-card__result {
		font-size: 1.25rem;
		padding: .35rem .7rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.match-card, .match-card:hover {
		transition: none;
		transform: none;
	}
}

/* News card */
.news-card { overflow: hidden; border: 1px solid var(--line); border-radius: .35rem; background: var(--paper); box-shadow: 0 8px 24px rgb(22 22 24 / .06); transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgb(22 22 24 / .12); }
.news-card > a { display: block; text-decoration: none; color: inherit; }
.news-card__image { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--red-wash); }
.news-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .5s cubic-bezier(.2, .8, .2, 1), filter .35s ease; }
.news-card:hover .news-card__image img { transform: scale(1.04); filter: contrast(1.03); }
.news-card__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; background: rgb(221 32 44 / .82); color: var(--paper); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.news-card__overlay svg { width: 26px; height: 26px; transform: scale(.85); transition: transform .35s cubic-bezier(.175, .885, .32, 1.275); }
.news-card__overlay span { font-family: var(--display); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transform: translateY(4px); transition: transform .35s ease; }
.news-card:hover .news-card__overlay { opacity: 1; }
.news-card:hover .news-card__overlay svg { transform: scale(1); }
.news-card:hover .news-card__overlay span { transform: translateY(0); }
.news-card__body { padding: 1.3rem; }
.news-card__body .eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; margin-bottom: .75rem; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.news-card__category { color: var(--red); }
.news-card__date { color: var(--muted); }
.news-card__date::before { content: "·"; margin-right: .8rem; color: var(--line); }
.news-card h3, .news-card h2 { margin: 0 0 .6rem; font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1.1; transition: color .2s ease; }
.news-card:hover h3, .news-card:hover h2 { color: var(--red); }
.news-card__body > p:not(.eyebrow) { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.news-card__action { display: inline-flex; align-items: center; gap: .3rem; margin-top: 1rem; color: var(--red); font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; transition: gap .2s ease; }
.news-card:hover .news-card__action { gap: .55rem; }

@media (prefers-reduced-motion: reduce) {
	.news-card, .news-card:hover { transition: none; transform: none; }
	.news-card__image img, .news-card:hover .news-card__image img { transition: none; transform: none; }
}

/* Match detail scoreboard */
.match-scoreboard {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.2rem;
	max-width: 720px;
	margin: 2.5rem auto 0;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 1px solid rgb(255 255 255 / .16);
	border-radius: .4rem;
	background: rgb(255 255 255 / .06);
	backdrop-filter: blur(8px);
	text-align: center;
}

.match-scoreboard__matchup {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: .5rem 1rem;
}

.match-scoreboard__team-name {
	font-family: var(--display);
	font-size: clamp(1.4rem, 3.5vw, 2.4rem);
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
}

.match-scoreboard__vs {
	color: rgb(255 255 255 / .65);
	font-family: var(--display);
	font-size: .9rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.match-scoreboard__crest-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(1rem, 4vw, 2.5rem);
	width: 100%;
}

.match-scoreboard__crest {
	width: clamp(64px, 12vw, 110px);
	height: clamp(64px, 12vw, 110px);
	object-fit: contain;
	flex-shrink: 0;
}

.match-scoreboard__score {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: max-content;
	padding: .6rem 1.4rem;
	color: var(--paper);
	background: var(--red);
	border-radius: .35rem;
	font-family: var(--display);
	font-size: clamp(2rem, 6vw, 4rem);
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	box-shadow: 0 8px 24px rgb(221 32 44 / .3);
}

.match-venue {
	margin-top: 1.5rem;
	color: rgb(255 255 255 / .72);
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
}

@media (max-width: 560px) {
	.match-scoreboard { margin-top: 1.8rem; padding: 1.2rem; gap: 1rem; }
	.match-scoreboard__team-name { font-size: 1.2rem; }
	.match-scoreboard__crest { width: 56px; height: 56px; }
	.match-scoreboard__score { font-size: 1.8rem; padding: .5rem 1rem; }
}

/* Hero next-match preview card */
.hero__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
	padding-block: clamp(4rem, 10vw, 8rem);
}

.hero__grid .hero__content {
	padding-block: 0;
}

.hero__next {
	justify-self: center;
	width: 100%;
	max-width: 360px;
	padding: clamp(1.4rem, 3vw, 2rem);
	border: 1px solid rgb(255 255 255 / .16);
	border-radius: .4rem;
	background: rgb(16 16 18 / .65);
	backdrop-filter: blur(10px);
	box-shadow: 0 20px 50px rgb(0 0 0 / .25);
	text-align: center;
	color: var(--paper);
}

.hero__next > .eyebrow {
	margin-bottom: 1rem;
	color: var(--red);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.hero__next-crests {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-bottom: .8rem;
}

.hero__next-crests .team-logo {
	width: 64px;
	height: 64px;
}

.hero__next-vs {
	font-family: var(--display);
	font-size: .9rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgb(255 255 255 / .6);
}

.hero__next-teams {
	font-family: var(--display);
	font-size: clamp(1.1rem, 2.5vw, 1.5rem);
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.2;
	margin-bottom: .3rem;
}

.hero__next-teams span {
	color: rgb(255 255 255 / .55);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	margin: 0 .4rem;
}

.hero__next-meta {
	color: rgb(255 255 255 / .7);
	font-size: .85rem;
	margin-bottom: 1rem;
}

.hero__next-countdown {
	display: flex;
	justify-content: center;
	gap: .7rem;
	margin-bottom: 1.2rem;
}

.hero__next-countdown div {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 54px;
	padding: .5rem .4rem;
	border-radius: .25rem;
	background: rgb(255 255 255 / .08);
}

.hero__next-countdown strong {
	font-family: var(--display);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
	color: var(--red);
}

.hero__next-countdown span {
	font-size: .6rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: rgb(255 255 255 / .6);
	margin-top: .25rem;
}

@media (min-width: 900px) {
	.hero__grid { grid-template-columns: 1.1fr .9fr; }
	.hero__next { justify-self: end; }
}

@media (max-width: 560px) {
	.hero__next { padding: 1.2rem; }
	.hero__next-crests .team-logo { width: 52px; height: 52px; }
	.hero__next-countdown strong { font-size: 1.25rem; }
}

/* Compact match card (used in nearby matches) */
.match-card--compact {
	border-left-width: 3px;
	box-shadow: 0 4px 14px rgb(22 22 24 / .06);
}

.match-card--compact:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgb(22 22 24 / .1);
}

.match-card--compact .match-card__header {
	padding: .6rem .8rem;
	font-size: .65rem;
}

.match-card--compact .match-card__score {
	padding: .9rem;
	gap: .6rem;
}

.match-card--compact .match-card__team-name {
	font-size: .95rem;
}

.match-card--compact .match-card__vs {
	font-size: .65rem;
}

.match-card--compact .match-card__crest {
	width: 40px;
	height: 40px;
}

.match-card--compact .match-card__result {
	font-size: 1.1rem;
	padding: .3rem .65rem;
}

/* Match share links */
.match-share {
	text-align: center;
}

.match-share h2 {
	font-size: 1.2rem;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

.match-share__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .6rem;
}

.match-share__links .button--small {
	padding: .45rem .9rem;
	font-size: .72rem;
}

/* Nearby matches */
.nearby-matches {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	align-items: start;
}

.nearby-matches__col > h3 {
	margin-bottom: 1rem;
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--muted);
}

.nearby-matches__col > .match-card + .match-card {
	margin-top: 1rem;
}

@media (max-width: 720px) {
	.nearby-matches { grid-template-columns: 1fr; }
}

/* Mobile improvements */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 560px) {
	.hero__grid {
		gap: 1.5rem;
		padding-block: clamp(3rem, 8vw, 5rem);
	}

	.hero__next {
		max-width: 100%;
		padding: 1rem;
	}

	.hero__next-crests .team-logo {
		width: 52px;
		height: 52px;
	}

	.hero__next-teams {
		font-size: 1.1rem;
	}

	.hero__next-countdown strong {
		font-size: 1.35rem;
	}

	.match-card__header {
		padding: .65rem .8rem;
		font-size: .65rem;
	}

	.match-card__score {
		padding: 1rem;
		gap: .7rem;
	}

	.match-card__team-name {
		font-size: 1rem;
	}

	.match-card__crest {
		width: 44px;
		height: 44px;
	}

	.match-card__result {
		font-size: 1.3rem;
		padding: .35rem .75rem;
	}

	.match-card footer {
		padding: .65rem .8rem;
	}

	.site-nav__list {
		gap: .25rem;
	}

	.site-nav__link {
		min-height: 52px;
	}

	.button {
		min-height: 48px;
	}
}

/* Additional mobile polish */
@media (max-width: 560px) {
	.brand__mark,
	.brand__fallback {
		width: 44px;
		height: 44px;
	}

	.brand__text strong {
		font-size: 1.2rem;
	}

	.site-header__inner {
		min-height: 64px;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 1.5rem;
	}

	.site-footer__social {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: .6rem;
	}

	.social-link {
		flex: 1 1 auto;
		justify-content: center;
		min-width: 120px;
		min-height: 46px;
	}

	.match-share__links .button--small {
		flex: 1 1 auto;
		min-width: 110px;
		justify-content: center;
	}

	.match-nav {
		flex-direction: column;
		align-items: stretch;
		gap: .6rem;
	}

	.match-nav .button {
		width: 100%;
		justify-content: center;
	}
}

/* Mobile hero refinements */
@media (max-width: 560px) {
	.hero h1 {
		font-size: clamp(3.2rem, 14vw, 5rem);
		letter-spacing: -.02em;
	}

	.hero__content > p:not(.eyebrow) {
		font-size: 1rem;
		line-height: 1.6;
	}

	.hero__actions {
		flex-direction: column;
		gap: .6rem;
	}

	.hero__actions .button {
		width: 100%;
		justify-content: center;
	}

	.hero__next {
		padding: .9rem;
	}

	.hero__next-crests .team-logo {
		width: 44px;
		height: 44px;
	}

	.hero__next-teams {
		font-size: 1rem;
	}

	.hero__next-countdown {
		gap: .5rem;
	}

	.hero__next-countdown div {
		min-width: 48px;
		padding: .4rem .3rem;
	}

	.hero__next-countdown strong {
		font-size: 1.2rem;
	}

	.hero__next-countdown span {
		font-size: .55rem;
	}

	.hero__next .button {
		width: 100%;
		justify-content: center;
	}
}

/* Scroll to top button */
.scroll-top {
	position: fixed;
	z-index: 999;
	right: 1rem;
	bottom: 1rem;
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	color: var(--paper);
	background: var(--red);
	cursor: pointer;
	box-shadow: 0 6px 18px rgb(221 32 44 / .35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.scroll-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.scroll-top:hover {
	transform: translateY(-2px);
	background: var(--ink);
}

.scroll-top svg {
	width: 20px;
	height: 20px;
}

@media (prefers-reduced-motion: reduce) {
	.scroll-top {
		transition: none;
	}
}

/* Scroll to top button */
.scroll-top {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 900;
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	color: var(--paper);
	background: var(--red);
	cursor: pointer;
	box-shadow: 0 4px 14px rgb(221 32 44 / .35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease;
}

.scroll-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.scroll-top:hover {
	background: var(--ink);
	transform: translateY(-2px);
}

.scroll-top svg {
	width: 20px;
	height: 20px;
}

@media (prefers-reduced-motion: reduce) {
	.scroll-top {
		transition: none;
	}
}

/* Reduce mobile tap delay */
a, button, .button, [role="button"] {
	touch-action: manipulation;
}

/* Article share and related news */
.article__share {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--line);
	text-align: center;
}

.article__share h2 {
	margin-bottom: 1rem;
	font-size: 1rem;
	text-transform: uppercase;
}

.article__share-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .6rem;
}

.article__share-links .button--small {
	min-height: 44px;
	padding: .55rem 1rem;
	font-size: .78rem;
}

/* News archive featured post and empty state */
.featured-news {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: center;
}

.featured-news__image img {
	width: 100%;
	height: 100%;
	max-height: 420px;
	object-fit: cover;
	transition: transform .45s ease;
}

.featured-news__image:hover img {
	transform: scale(1.02);
}

.featured-news__content h2 {
	font-size: clamp(2rem, 4vw, 3.2rem);
	line-height: 1.05;
	text-transform: uppercase;
	margin-top: .8rem;
}

.featured-news__content h2 a {
	text-decoration: none;
	color: var(--ink);
}

.featured-news__content h2 a:hover {
	color: var(--red);
}

.featured-news__excerpt {
	color: var(--muted);
	line-height: 1.7;
	margin-top: 1rem;
}

.featured-news .button {
	margin-top: 1.5rem;
}

.empty-state--large {
	text-align: center;
	max-width: 560px;
	margin-inline: auto;
	padding-block: 3rem;
}

.empty-state--large h2 {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	text-transform: uppercase;
}

.empty-state--large p {
	color: var(--muted);
	line-height: 1.7;
	margin-top: .8rem;
}

.empty-state__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .8rem;
	margin-top: 1.5rem;
}

@media (max-width: 720px) {
	.featured-news {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.featured-news__image img {
		max-height: 260px;
	}
}

/* Section tabs (Calendar / Results) */
.section-tabs {
	display: flex;
	gap: .6rem;
	margin-top: -1.5rem;
	margin-bottom: 2rem;
	padding-bottom: .6rem;
	border-bottom: 1px solid var(--line);
	overflow-x: auto;
	scrollbar-width: thin;
}

.section-tabs__item {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	padding: .6rem 1.1rem;
	border-radius: .18rem;
	color: var(--muted);
	background: transparent;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: color .2s ease, background .2s ease;
}

.section-tabs__item:hover {
	color: var(--red);
	background: var(--paper);
}

.section-tabs__item.is-active {
	color: var(--paper);
	background: var(--red);
}

.section-tabs__item--push {
	margin-left: auto;
}

.page-hero--compact {
	padding-block: clamp(3rem, 6vw, 5rem);
}

.page-hero--compact h1 {
	font-size: clamp(2.6rem, 7vw, 5rem);
}

@media (max-width: 560px) {
	.section-tabs {
		margin-top: -1rem;
	}

	.section-tabs__item {
		min-height: 44px;
		padding: .55rem .9rem;
	}
}

/* Match card status labels */
.match-card__date.is-finished { color: var(--muted); }
.match-card__date.is-today { color: var(--red); font-weight: 800; }
.match-card__date.is-soon,
.match-card__date.is-live {
	color: var(--red);
	font-weight: 800;
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
	gap: .35rem;
}

.match-card__live-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 0 0 rgb(221 32 44 / .7);
	animation: pulse-dot 1.4s infinite;
}

@keyframes pulse-dot {
	0% { box-shadow: 0 0 0 0 rgb(221 32 44 / .7); }
	70% { box-shadow: 0 0 0 8px rgb(221 32 44 / 0); }
	100% { box-shadow: 0 0 0 0 rgb(221 32 44 / 0); }
}

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

/* Hero match day indicator */
.hero__next.is-matchday .eyebrow::after {
	content: ' · Сьогодні';
	color: var(--red);
	font-weight: 800;
}

/* Data sync timestamp note */
.sync-note {
	margin-top: 2rem;
	color: var(--muted);
	font-size: .75rem;
	letter-spacing: .04em;
	text-align: center;
}

/* Match day banner */
.match-day-banner {
	position: sticky;
	top: 77px;
	z-index: 98;
	background: var(--red);
	color: var(--paper);
}

.match-day-banner__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	min-height: 48px;
	padding-block: .5rem;
	font-size: .85rem;
	font-weight: 700;
}

.match-day-banner__label {
	text-transform: uppercase;
	letter-spacing: .04em;
}

.match-day-banner__teams {
	font-weight: 800;
}

.match-day-banner__time {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 700;
}

.match-day-banner .button {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
	font-size: .7rem;
}

.match-day-banner .button:hover {
	background: var(--paper);
	color: var(--ink);
}

@media (max-width: 720px) {
	.match-day-banner {
		top: 67px;
	}

	.match-day-banner__inner {
		flex-wrap: wrap;
		gap: .4rem .8rem;
		font-size: .78rem;
		text-align: center;
	}

	.match-day-banner__teams {
		order: -1;
		width: 100%;
	}
}

/* Mobile nav toggle animation */
.nav-toggle span {
	display: block;
	width: 26px;
	height: 2px;
	background: var(--ink);
	transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
	.nav-toggle span { transition: none; }
}

/* 404 page helpful links */
.error-help {
	text-align: center;
}

.error-help h2 {
	font-size: 1.2rem;
	text-transform: uppercase;
	margin-bottom: 1.2rem;
}

.error-help__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .7rem;
}

.error-help__links .button {
	min-height: 48px;
}
