/* =========================================================
   ASP ANGRIE — Design system
   Éditorial · net · contemporain — Noir & Jaune
   ========================================================= */

:root {
  /* Palette */
  --bg: #0b0b0c;
  --bg-2: #101012;
  --bg-3: #151517;
  --surface: #141416;
  --surface-2: #1a1a1d;
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.18);

  --yellow: #ffd400;
  --yellow-ink: #1a1600;

  --white: #ffffff;
  --text: #ededee;
  --muted: rgba(255, 255, 255, 0.56);
  --faint: rgba(255, 255, 255, 0.34);

  --paper: #f3f3f1;
  --paper-2: #e9e9e5;
  --paper-ink: #101010;
  --paper-muted: rgba(16, 16, 16, 0.58);
  --paper-line: rgba(16, 16, 16, 0.14);

  --field: #1c7a44;

  --shell: min(1280px, calc(100% - 48px));
  --header-h: 72px;
  --gutter: 24px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Inter Tight", var(--font-sans);
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* =========================================================
   Reset
   ========================================================= */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv05";
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
}

::selection { background: var(--yellow); color: #000; }

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

.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;
  top: 0; left: 0;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--yellow);
  color: #000;
  font-weight: 600;
  transform: translateY(-120%);
  transition: transform 200ms var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.shell { width: var(--shell); margin-inline: auto; }

/* =========================================================
   Typographic helpers
   ========================================================= */

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 32px; height: 1px;
  background: currentColor;
}
.kicker.center { justify-content: center; }

.section-head {
  max-width: 760px;
  margin-bottom: 60px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  text-transform: uppercase;
}
.section-head p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 58ch;
}
.section-head.center p { margin-inline: auto; }

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  --btn-bg: var(--yellow);
  --btn-fg: #000;
  --btn-bd: var(--yellow);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  transition: background 160ms var(--ease), color 160ms var(--ease), border-color 160ms;
}
.btn svg { width: 17px; height: 17px; transition: transform 220ms var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn.ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line-2);
}
.btn.ghost:hover { --btn-bg: var(--white); --btn-fg: #000; --btn-bd: var(--white); }

.btn.dark { --btn-bg: #000; --btn-fg: var(--yellow); --btn-bd: #000; }
.btn.dark:hover { --btn-bg: var(--yellow); --btn-fg: #000; }

.btn.sm { height: 40px; padding: 0 16px; font-size: 0.78rem; }
.btn.block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.text-link svg { width: 15px; height: 15px; transition: transform 200ms var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding-inline: max(24px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid transparent;
  transition: background 240ms var(--ease), border-color 240ms, height 240ms var(--ease);
}
.site-header.scrolled {
  height: 60px;
  background: rgba(11, 11, 12, 0.86);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.brand span {
  display: block;
  margin-top: 3px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  position: relative;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 160ms;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 12px; bottom: 2px;
  width: 0; height: 1px;
  background: var(--yellow);
  transition: width 220ms var(--ease);
}
.main-nav a:hover { color: var(--text); }
.main-nav a.active { color: var(--text); }
.main-nav a.active::after { width: calc(100% - 24px); }

.header-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  color: var(--text);
  transition: background 160ms, color 160ms;
}
.icon-btn:hover { background: var(--white); color: #000; }
.icon-btn svg { width: 19px; height: 19px; }
.cart-count {
  position: absolute;
  top: -8px; right: -8px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  transform: scale(0);
  transition: transform 220ms var(--ease);
}
.cart-count.show { transform: scale(1); }

.nav-toggle { display: none; }

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 48px) 0 56px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: grayscale(1) contrast(1.15) brightness(0.5);
}
.hero-grad {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.5) 0%, rgba(11, 11, 12, 0.2) 45%, var(--bg) 98%),
    linear-gradient(90deg, rgba(11, 11, 12, 0.85) 0%, rgba(11, 11, 12, 0.1) 65%);
}
.hero-grad::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 60%, rgba(255, 212, 0, 0.14) 100%);
  mix-blend-mode: screen;
}
/* fine grid overlay */
.hero-blob {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.hero-blob.a {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
}
.hero-blob.b {
  right: 0; top: 0; bottom: 0;
  width: 1px;
  background: var(--yellow);
  opacity: 0.5;
}

.hero-side {
  position: absolute;
  left: max(24px, calc((100vw - 1280px) / 2));
  bottom: 56px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 56px;
}

.hero-copy { max-width: 900px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-2);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-meta span { color: var(--yellow); }

.hero h1 {
  font-size: clamp(3.4rem, 13vw, 10rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span {
  display: block;
  transform: translateY(105%);
  animation: rise 0.85s var(--ease) forwards;
}
.hero h1 .line:nth-child(2) > span { animation-delay: 0.09s; }
.hero h1 .accent {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--yellow);
}

.hero-tagline {
  margin: 28px 0 0;
  max-width: 46ch;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.78);
  opacity: 0;
  animation: fade-up 0.7s var(--ease) 0.35s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  opacity: 0;
  animation: fade-up 0.7s var(--ease) 0.5s forwards;
}

.hero-stats {
  display: grid;
  border: 1px solid var(--line-2);
  opacity: 0;
  animation: fade-up 0.7s var(--ease) 0.62s forwards;
}
.hero-stats div {
  display: grid;
  gap: 4px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
}
.hero-stats div:last-child { border-bottom: 0; }
.hero-stats b {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.hero-stats span { color: var(--faint); font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* =========================================================
   Next match bar
   ========================================================= */

.nextmatch {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.nextmatch .shell {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 36px;
  padding: 20px 0;
}
.nextmatch .nm-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
}
.nextmatch .nm-teams {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.nextmatch .nm-teams small {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.nextmatch .nm-meta { color: var(--muted); font-size: 0.86rem; }
.countdown { display: flex; margin-left: auto; border: 1px solid var(--line); }
.countdown div {
  min-width: 56px;
  padding: 8px 12px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.countdown div:last-child { border-right: 0; }
.countdown b {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.countdown span { font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }

/* =========================================================
   Generic section
   ========================================================= */

.section { padding: clamp(76px, 12vw, 140px) 0; position: relative; }
.section.paper { background: var(--paper); color: var(--paper-ink); }
.section.paper .section-head p { color: var(--paper-muted); }
.section.paper .kicker { color: #000; }

/* =========================================================
   Match center
   ========================================================= */

.mc-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 0;
}
.mc-meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.mc-tabs {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin-bottom: 0;
  border: 1px solid var(--line);
  border-bottom: 0;
}
.mc-tab:last-child { border-right: 0; }

.mc-filters {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-bottom: 0;
}
.mc-filters[hidden] { display: none; }
.mc-filter {
  padding: 10px 16px;
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: background 140ms, color 140ms;
}
.mc-filter:hover { color: var(--text); }
.mc-filter.active { background: var(--surface-2); color: var(--text); }

.fx-month {
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-3);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}
.mc-empty {
  padding: 56px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}
.standings-block + .standings-block { border-top: 1px solid var(--line); }
.standings-cap {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
}
.standings-block .table-wrap { border: 0; }
.fx-ot { font-size: 0.6rem; color: var(--faint); }
.fx-tbc { color: var(--faint); text-transform: none; letter-spacing: 0; }
.mc-tab {
  padding: 14px 24px;
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: background 160ms, color 160ms;
}
.mc-tab:hover { color: var(--text); }
.mc-tab.active { background: var(--yellow); color: #000; }

.mc-panel { border: 1px solid var(--line); animation: fade-up 0.4s var(--ease); }
.mc-panel[hidden] { display: none; }

.fixture-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  transition: background 160ms;
}
.fixture-row:last-child { border-bottom: 0; }
.fixture-row:hover { background: var(--surface); }
.fixture-row .fx-date { display: grid; gap: 2px; }
.fixture-row .fx-date b { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -0.02em; }
.fixture-row .fx-date span { font-family: var(--font-mono); font-size: 0.62rem; color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; }
.fixture-row .fx-main b { font-family: var(--font-display); font-size: 1rem; letter-spacing: -0.02em; }
.fixture-row .fx-main b span { color: var(--faint); font-weight: 400; margin: 0 4px; }
.fixture-row .fx-main > span { display: block; font-family: var(--font-mono); font-size: 0.66rem; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.fixture-row .fx-score {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 5px 12px;
  border: 1px solid var(--line-2);
  font-variant-numeric: tabular-nums;
}
.fixture-row .fx-score.win { border-color: rgba(120, 220, 160, 0.5); color: #7ee2a8; }
.fixture-row .fx-score.loss { border-color: rgba(240, 150, 150, 0.4); color: #f2a0a0; }
.fixture-row .fx-score.draw { color: var(--muted); }
.fixture-row .fx-tag {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table.standings {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}
table.standings th, table.standings td {
  padding: 14px 18px;
  text-align: center;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--line);
}
table.standings th {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
}
table.standings td:nth-child(2), table.standings th:nth-child(2) { text-align: left; white-space: nowrap; }
table.standings tbody tr:last-child td { border-bottom: 0; }
table.standings tr.us td { background: rgba(255, 212, 0, 0.08); }
table.standings tr.us td:nth-child(2) { font-weight: 700; color: var(--yellow); }
table.standings .pos { font-family: var(--font-mono); font-weight: 600; color: var(--muted); }
table.standings td b { font-family: var(--font-mono); font-weight: 600; }

@media (max-width: 680px) {
  table.standings { min-width: 360px; }
  table.standings th.col-opt, table.standings td.col-opt { display: none; }
  table.standings th, table.standings td { padding: 12px 10px; }
}

/* =========================================================
   Club
   ========================================================= */

.club-grid {
  border: 1px solid var(--paper-line);
}
.team-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--paper-line);
}
.team-card {
  position: relative;
  min-height: 200px;
  padding: 26px;
  border-right: 1px solid var(--paper-line);
  display: grid;
  align-content: space-between;
  gap: 40px;
  transition: background 200ms;
}
.team-card:last-child { border-right: 0; }
.team-card:hover { background: var(--paper-2); }
.team-card .div {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-muted);
}
.team-card b { display: block; font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; letter-spacing: -0.03em; margin-bottom: 6px; }
.team-card span { display: block; color: var(--paper-muted); font-size: 0.84rem; }

.club-numbers { display: grid; grid-template-columns: repeat(4, 1fr); }
.club-numbers div {
  padding: 26px 24px;
  border-right: 1px solid var(--paper-line);
}
.club-numbers div:last-child { border-right: 0; }
.club-numbers .bar { display: none; }
.club-numbers div b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--paper-ink);
  font-variant-numeric: tabular-nums;
}
.club-numbers div span { color: var(--paper-muted); font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* =========================================================
   Gallery marquee
   ========================================================= */

.gallery { padding: 0; background: var(--yellow); overflow: hidden; border-block: 1px solid #000; }
.marquee {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.gallery:hover .marquee { animation-play-state: paused; }
.marquee img {
  width: 30vw;
  min-width: 260px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  border-right: 1px solid #000;
  transition: filter 300ms;
}
.marquee img:hover { filter: none; }

/* =========================================================
   Events
   ========================================================= */

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.event-card {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.event-card.big { grid-row: span 2; grid-column: span 1; }
.event-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 600ms var(--ease), filter 400ms;
}
.event-card:hover img { transform: scale(1.04); filter: none; }
.event-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.88));
}
.event-card .body {
  position: absolute;
  inset: auto 22px 22px;
  z-index: 1;
}
.event-card .body span {
  display: inline-block;
  padding: 3px 9px;
  margin-bottom: 10px;
  background: var(--yellow);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.event-card .body h3 { font-size: 1.25rem; text-transform: uppercase; }
.event-card .body p { margin: 8px 0 0; color: var(--muted); font-size: 0.86rem; }

/* =========================================================
   Boutique
   ========================================================= */

.shop-toolbar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
  border: 1px solid var(--paper-line);
  border-bottom: 0;
}
.filters { display: flex; }
.filter {
  padding: 14px 20px;
  border-right: 1px solid var(--paper-line);
  color: var(--paper-muted);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 160ms, color 160ms;
}
.filter:hover { color: var(--paper-ink); }
.filter.active { background: #000; color: var(--yellow); }
.shop-toolbar .btn { border: 0; border-left: 1px solid var(--paper-line); }

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--paper-line);
}
.product {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  background: var(--paper);
  transition: background 200ms;
}
.product:hover { background: #fff; }
.product.hidden { display: none; }
.product .thumb {
  position: relative;
  aspect-ratio: 1;
  background: var(--paper-2);
  padding: 22px;
  border-bottom: 1px solid var(--paper-line);
}
.product .thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product .badge {
  position: absolute;
  top: 0; left: 0;
  padding: 4px 10px;
  background: var(--yellow);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.product .info { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product .info .cat { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper-muted); }
.product .info h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: -0.02em; }
.product .info .price { font-family: var(--font-mono); font-weight: 600; font-size: 1rem; }
.product .sizes { display: flex; flex-wrap: wrap; gap: 0; margin-top: auto; border: 1px solid var(--paper-line); width: max-content; }
.product .sizes button {
  min-width: 36px;
  padding: 7px 8px;
  border-right: 1px solid var(--paper-line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  transition: background 140ms, color 140ms;
}
.product .sizes button:last-child { border-right: 0; }
.product .sizes button:hover { background: var(--paper-2); }
.product .sizes button.sel { background: #000; color: var(--yellow); }
.product .add {
  margin-top: 12px;
  height: 44px;
  background: #000;
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 160ms, color 160ms;
}
.product .add:hover { background: var(--yellow); color: #000; }
.product .add svg { width: 15px; height: 15px; }

.shop-note {
  margin-top: 28px;
  font-size: 0.86rem;
  color: var(--paper-muted);
  max-width: 62ch;
}

/* Cart drawer */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.66);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms var(--ease);
}
.overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  z-index: 130;
  width: min(430px, 100vw);
  height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-left: 1px solid var(--line-2);
  transform: translateX(100%);
  transition: transform 340ms var(--ease);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-size: 1.05rem; text-transform: uppercase; }
.cart-body { flex: 1; overflow-y: auto; padding: 0 24px; }
.cart-empty { padding: 64px 6px; text-align: center; color: var(--muted); }
.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item .ci-thumb {
  width: 56px; height: 56px;
  background: var(--paper-2);
  padding: 5px;
}
.cart-item .ci-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-item b { font-family: var(--font-display); font-size: 0.9rem; text-transform: uppercase; letter-spacing: -0.02em; }
.cart-item .ci-meta { font-family: var(--font-mono); font-size: 0.66rem; color: var(--muted); margin: 3px 0 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); }
.qty button { width: 28px; height: 26px; display: grid; place-items: center; transition: background 140ms; }
.qty button:hover { background: var(--surface-2); }
.qty span { min-width: 30px; text-align: center; font-family: var(--font-mono); font-weight: 500; font-size: 0.8rem; border-inline: 1px solid var(--line-2); height: 26px; display: grid; place-items: center; }
.cart-item .ci-right { display: grid; justify-items: end; gap: 8px; }
.cart-item .ci-price { font-family: var(--font-mono); font-weight: 600; }
.ci-remove { font-family: var(--font-mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); }
.ci-remove:hover { color: #f2a0a0; }

.cart-foot { padding: 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; }
.cart-total span { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.cart-total b { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.03em; }
.cart-foot small { color: var(--faint); font-family: var(--font-mono); font-size: 0.64rem; text-align: center; line-height: 1.5; }

/* =========================================================
   Join
   ========================================================= */

.join { background: var(--yellow); color: #000; border-block: 1px solid #000; }
.join .shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.join h2 { font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase; }
.join p { max-width: 44ch; margin: 18px 0 0; color: rgba(0, 0, 0, 0.68); }
.join .kicker { color: #000; }
.join-actions { display: flex; flex-direction: column; gap: 0; border: 1px solid #000; }
.join-actions .btn { border: 0; border-bottom: 1px solid #000; }
.join-actions .btn:last-child { border-bottom: 0; }

/* =========================================================
   Sponsors
   ========================================================= */

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
}
.sponsor-grid a {
  min-height: 108px;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background 180ms, color 180ms;
}
.sponsor-grid a:hover { background: var(--yellow); color: #000; }

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  padding: 80px 0 32px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.footer-grid img { width: 40px; height: 40px; margin-bottom: 16px; }
.footer-grid p { color: var(--muted); font-size: 0.9rem; max-width: 320px; }
.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}
.footer-grid a { display: block; color: var(--muted); font-size: 0.9rem; padding: 5px 0; transition: color 150ms; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =========================================================
   Toast
   ========================================================= */

.toast-wrap {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 200;
  transform: translateX(-50%);
  display: grid;
  gap: 8px;
  width: max-content;
  max-width: calc(100vw - 32px);
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: var(--yellow);
  color: #000;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  animation: toast-in 0.35s var(--ease);
}
.toast svg { width: 17px; height: 17px; }
.toast.out { animation: toast-out 0.35s var(--ease) forwards; }

/* =========================================================
   Reveal
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 640ms var(--ease), transform 640ms var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Animations
   ========================================================= */

@keyframes rise { to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(16px); } }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; align-items: start; gap: 40px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stats div { border-bottom: 0; border-right: 1px solid var(--line); }
  .hero-stats div:last-child { border-right: 0; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .sponsor-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --shell: calc(100% - 32px); }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: rgba(11, 11, 12, 0.98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
    transform: translateY(-115%);
    transition: transform 320ms var(--ease);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 15px; font-size: 0.95rem; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }

  .nav-toggle {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    border: 1px solid var(--line-2);
  }
  .nav-toggle svg { width: 21px; height: 21px; }

  .hero-side { display: none; }
  .countdown { margin-left: 0; }
  .nextmatch .shell { flex-direction: column; align-items: flex-start; }

  .mc-tabs { overflow-x: auto; }
  .fixture-row { grid-template-columns: 84px 1fr; gap: 12px 16px; }
  .fixture-row .fx-score, .fixture-row .fx-tag { grid-column: 2; justify-self: start; }

  .team-cards { grid-template-columns: 1fr; }
  .team-card { border-right: 0; border-bottom: 1px solid var(--paper-line); }
  .team-card:last-child { border-bottom: 0; }
  .club-numbers { grid-template-columns: repeat(2, 1fr); }
  .club-numbers div { border-right: 0; border-bottom: 1px solid var(--paper-line); }
  .club-numbers div:nth-child(2n) { border-left: 1px solid var(--paper-line); }
  .club-numbers div:nth-last-child(-n+2) { border-bottom: 0; }

  .events-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .event-card.big { grid-row: span 1; grid-column: 1 / -1; }
  .event-card .body p { display: none; }
  .shop-toolbar { flex-direction: column; }
  .filters { flex-wrap: wrap; }
  .filter { flex: 1; text-align: center; justify-content: center; border-bottom: 1px solid var(--paper-line); }
  .shop-toolbar .btn { border-left: 0; border-top: 1px solid var(--paper-line); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .sponsor-grid { grid-template-columns: repeat(3, 1fr); }
  .join .shell { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero h1 .accent { -webkit-text-stroke-width: 1px; }
  .club-numbers { grid-template-columns: 1fr; }
  .club-numbers div { border-left: 0 !important; border-bottom: 1px solid var(--paper-line) !important; }
  .club-numbers div:last-child { border-bottom: 0 !important; }
  .products { grid-template-columns: 1fr; }
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero h1 .line > span, .hero-tagline, .hero-actions, .hero-stats { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
}
