/* ============================================================
   TALLINN LIONS CRICKET CLUB — design system
   Palette drawn from the 2026 kit: deep indigo, gold, cream,
   with holographic "claw mark" accents.
   ============================================================ */

:root {
  /* Kit palette */
  --ink-950: #0f0a2b;
  --ink-900: #150e3d;
  --ink-800: #1c1350;
  --ink-700: #251a66;
  --ink-600: #31247e;

  --gold: #f2a71b;
  --gold-bright: #ffc247;
  --gold-deep: #c07f0a;

  --cream: #f7f2e4;
  --cream-dim: #efe7d2;
  --navy: #1b2a5c;

  --win: #34c98e;
  --loss: #e2635c;
  --draw: #9aa4c4;

  /* Holographic accent (the claw marks on the kit) */
  --iri: linear-gradient(105deg, #8a5cf6 0%, #e05ce0 35%, #ffc247 65%, #5ce0d8 100%);

  --line: rgba(247, 242, 228, 0.13);
  --line-strong: rgba(247, 242, 228, 0.25);
  --text: #f2eee0;
  --text-dim: rgba(242, 238, 224, 0.68);
  --text-faint: rgba(242, 238, 224, 0.45);

  /* Estonian tricolour (kit back-collar detail) */
  --ee-blue: #0072ce;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -18px rgba(5, 2, 20, 0.65);
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--gold-bright); text-decoration: none; }
a:hover { text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.08;
  margin: 0 0 0.5em;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--gold); color: var(--ink-950); }

.wrap {
  width: min(var(--maxw), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(160deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: var(--ink-950);
  box-shadow: 0 10px 30px -10px rgba(242, 167, 27, 0.55);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(242, 167, 27, 0.7); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }
.btn-navy {
  background: var(--navy);
  color: var(--cream);
}
.btn-navy:hover { background: #24377a; transform: translateY(-2px); }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.82rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 10, 43, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  /* Estonian tricolour hairline, echoing the kit's back collar */
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--ee-blue) 0 33.4%, #0b0b0f 33.4% 66.7%, #f5f5f5 66.7% 100%);
  opacity: 0.9;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.7rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream);
  min-width: 0;
}
.brand .roundel { height: 48px; width: auto; flex: none; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}
.brand-name .gold { color: var(--gold); }
.brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 0.28rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  list-style: none;
  padding: 0;
}
.nav-links a {
  display: block;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--cream); background: rgba(247, 242, 228, 0.06); }
.nav-links a[aria-current="page"] { color: var(--gold-bright); }
.nav-cta { margin-left: 0.6rem; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--cream);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    background: rgba(15, 10, 43, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.2rem 1.2rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 0.9rem; }
  .nav-cta { margin: 0.5rem 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(1200px 620px at 78% -10%, rgba(94, 60, 200, 0.35), transparent 60%),
    radial-gradient(900px 520px at -10% 110%, rgba(242, 167, 27, 0.14), transparent 55%),
    linear-gradient(165deg, var(--ink-800), var(--ink-950) 70%);
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(5rem, 9vw, 7rem);
}
.hero-lion {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(620px, 55vw);
  opacity: 0.09;
  z-index: -1;
  pointer-events: none;
}
.hero-claws {
  position: absolute;
  left: -40px;
  bottom: -30px;
  width: 340px;
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
}
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 4.9rem);
  font-weight: 700;
  margin: 0.55rem 0 0.4rem;
  max-width: 14ch;
}
.hero h1 .accent {
  color: transparent;
  background: linear-gradient(100deg, var(--gold-bright), var(--gold) 55%, #ffdf9a);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero p.lede {
  max-width: 52ch;
  color: var(--text-dim);
  font-size: 1.08rem;
  margin: 0 0 1.8rem;
}
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* Next-match spotlight card inside hero */
.spotlight {
  margin-top: clamp(2.6rem, 5vw, 4rem);
  background: rgba(21, 14, 61, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.spotlight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.4rem;
  border-bottom: 1px solid var(--line);
  background: rgba(242, 167, 27, 0.07);
}
.spotlight-head .label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.spotlight-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 1.4rem;
}
.team-side { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.team-side.right { justify-content: flex-end; text-align: right; flex-direction: row-reverse; }
.team-badge {
  width: 64px; height: 64px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink-950);
  background: linear-gradient(150deg, var(--gold-bright), var(--gold-deep));
  border: 2px solid rgba(247,242,228,.25);
}
.team-badge.opp { background: linear-gradient(150deg, #55628f, #2a3560); color: var(--cream); }
.team-badge.lions { background: radial-gradient(circle at 50% 35%, #fffdf6, #efe7d2); }
.team-badge.lions img { width: 80%; height: 80%; object-fit: contain; }
.team-name { font-family: var(--font-display); font-size: clamp(1.05rem, 2.4vw, 1.5rem); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.15; }
.team-meta { font-size: 0.78rem; color: var(--text-faint); letter-spacing: 0.08em; text-transform: uppercase; }
.vs-block { text-align: center; }
.vs-block .vs {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: transparent;
  background: var(--iri);
  -webkit-background-clip: text;
  background-clip: text;
}
.spotlight-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.4rem 1.4rem;
}
.fixture-meta { display: flex; flex-wrap: wrap; gap: 1.4rem; color: var(--text-dim); font-size: 0.92rem; }
.fixture-meta strong { color: var(--cream); font-weight: 600; }
.countdown { display: flex; gap: 0.6rem; }
.cd-cell {
  min-width: 62px;
  text-align: center;
  background: rgba(247, 242, 228, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.4rem 0.45rem;
}
.cd-cell b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1;
}
.cd-cell span { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-faint); }

@media (max-width: 760px) {
  .spotlight-body { grid-template-columns: 1fr; text-align: center; }
  .team-side, .team-side.right { flex-direction: column; justify-content: center; text-align: center; }
  .spotlight-foot { justify-content: center; text-align: center; }
  .fixture-meta { justify-content: center; }
}

/* Hero with a team photo behind it (set via admin → Settings) */
.hero.has-photo {
  background-image:
    linear-gradient(180deg, rgba(15, 10, 43, 0.5) 0%, rgba(15, 10, 43, 0.32) 42%, rgba(13, 9, 38, 0.94) 96%),
    linear-gradient(100deg, rgba(15, 10, 43, 0.5) 10%, rgba(15, 10, 43, 0.12) 65%),
    var(--hero-photo);
  background-size: cover, cover, cover;
  background-position: center;
}
.hero.has-photo .hero-lion,
.hero.has-photo .hero-claws { display: none; }
.hero.has-photo .kicker,
.hero.has-photo h1,
.hero.has-photo p.lede {
  text-shadow: 0 2px 10px rgba(5, 2, 20, 0.65), 0 6px 34px rgba(5, 2, 20, 0.55);
}

/* ---------- Sponsor strip (under the hero) ---------- */
.sponsor-strip {
  background: linear-gradient(180deg, #ffffff, var(--cream));
  border-bottom: 1px solid rgba(27, 42, 92, 0.08);
  padding: 1.05rem 0;
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.6rem);
  flex-wrap: wrap;
}
.strip-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(27, 42, 92, 0.5);
  white-space: nowrap;
}
.strip-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  flex-wrap: wrap;
}
.strip-logos img {
  height: 42px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  filter: saturate(0.2) opacity(0.72);
  transition: filter 0.2s ease, transform 0.2s ease;
}
.strip-logos a:hover img { filter: none; transform: translateY(-2px); }
.strip-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(27, 42, 92, 0.65);
}
.strip-cta {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border: 1.5px dashed rgba(192, 127, 10, 0.45);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.strip-cta:hover { border-style: solid; background: rgba(242, 167, 27, 0.08); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.6rem, 7vw, 5.6rem) 0; position: relative; }
.section.tint { background: var(--ink-950); }
.section.cream {
  background: linear-gradient(180deg, var(--cream), var(--cream-dim));
  color: var(--navy);
}
.section.cream .section-head h2 { color: var(--navy); }
.section.cream .section-head .kicker { color: var(--gold-deep); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.8rem, 4vw, 2.6rem);
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 0.4rem 0 0; }
.section-head .more {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-bottom: 0.4rem;
}
.section.cream .more { color: var(--gold-deep); }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: rgba(247, 242, 228, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(242, 167, 27, 0.45); box-shadow: var(--shadow); }

/* Match result card */
.match-card { padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.9rem; }
.match-top { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text-dim);
  white-space: nowrap;
}
.pill.gold { border-color: rgba(242,167,27,.5); color: var(--gold-bright); background: rgba(242,167,27,.08); }
.pill.win { border-color: rgba(52,201,142,.45); color: var(--win); background: rgba(52,201,142,.08); }
.pill.loss { border-color: rgba(226,99,92,.45); color: var(--loss); background: rgba(226,99,92,.08); }
.pill.draw { border-color: rgba(154,164,196,.45); color: var(--draw); background: rgba(154,164,196,.08); }
.match-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.match-row .name { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.match-row .score { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--gold-bright); white-space: nowrap; }
.match-row.opp .score { color: var(--text-dim); }
.match-note { font-size: 0.85rem; color: var(--text-dim); border-top: 1px dashed var(--line); padding-top: 0.75rem; }
.match-note b { color: var(--cream); }
.match-meta { font-size: 0.78rem; color: var(--text-faint); letter-spacing: 0.06em; text-transform: uppercase; }

/* News card */
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(27,42,92,.12); color: var(--navy); }
.news-card .cover { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.news-card .body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.news-card h3 { font-size: 1.18rem; color: var(--navy); margin: 0.2rem 0 0; }
.news-card p { margin: 0; font-size: 0.92rem; color: rgba(27,42,92,.72); }
.news-card .date { margin-top: auto; padding-top: 0.7rem; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(27,42,92,.5); }
.news-card:hover { border-color: var(--gold); }

/* Player card */
.player-card { text-align: center; padding: 1.6rem 1rem 1.4rem; position: relative; }
.player-card .avatar {
  width: 96px; height: 96px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  background: var(--ink-700);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--gold-bright);
}
.player-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.player-card h3 { font-size: 1.08rem; margin-bottom: 0.15rem; }
.player-card .role { font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-bright); }
.player-card .styles { margin-top: 0.55rem; font-size: 0.78rem; color: var(--text-faint); }
.player-card .badges { position: absolute; top: 0.8rem; right: 0.8rem; display: flex; gap: 0.3rem; }
.badge-c {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--ink-950);
}
.badge-c.alt { background: transparent; border: 1.5px solid var(--gold); color: var(--gold-bright); }

/* Stats band */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
@media (max-width: 760px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: transparent;
  background: linear-gradient(120deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  line-height: 1;
}
.stat .lbl { margin-top: 0.5rem; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); }

/* Sponsors */
.sponsor-tier-label {
  font-family: var(--font-display);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: rgba(27,42,92,.55);
  margin: 1.8rem 0 0.9rem;
}
.sponsor-grid { display: flex; flex-wrap: wrap; gap: 1rem; }
.sponsor-slot {
  flex: 1 1 220px;
  max-width: 300px;
  min-height: 110px;
  background: #fff;
  border: 1px solid rgba(27,42,92,.14);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.1rem;
  color: var(--navy);
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow .18s ease;
}
.sponsor-slot:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 14px 30px -18px rgba(27,42,92,.4); }
.sponsor-slot img { max-height: 54px; max-width: 80%; object-fit: contain; }
.sponsor-slot .s-name { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.sponsor-slot .s-tier { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(27,42,92,.5); }
.sponsor-slot.empty {
  border: 2px dashed rgba(27,42,92,.28);
  background: rgba(255,255,255,.55);
  color: rgba(27,42,92,.55);
  font-size: 0.86rem;
}
.sponsor-slot.empty .s-name { color: rgba(27,42,92,.6); }

/* CTA banner */
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(700px 300px at 85% 20%, rgba(224, 92, 224, 0.18), transparent 60%),
    linear-gradient(120deg, var(--ink-700), var(--ink-900) 75%);
  border: 1px solid var(--line);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin: 0 0 0.3rem; }
.cta-banner p { margin: 0; color: var(--text-dim); max-width: 46ch; }
.cta-claws { position: absolute; right: -20px; top: -30px; width: 220px; opacity: 0.5; pointer-events: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(900px 420px at 85% -20%, rgba(94, 60, 200, 0.3), transparent 60%),
    linear-gradient(165deg, var(--ink-800), var(--ink-950) 80%);
  padding: clamp(3rem, 6vw, 4.6rem) 0 clamp(2.6rem, 5vw, 3.6rem);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0.5rem 0 0.3rem; }
.page-hero p { color: var(--text-dim); max-width: 62ch; margin: 0.3rem 0 0; }
.page-hero .hero-lion { width: 380px; opacity: 0.07; }

/* ---------- Tabs / filters ---------- */
.tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.tab {
  font-family: var(--font-display);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.15s ease;
}
.tab:hover { color: var(--cream); border-color: var(--cream); }
.tab.active { background: var(--gold); border-color: var(--gold); color: var(--ink-950); font-weight: 600; }

/* Fixture list rows */
.fixture-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(247, 242, 228, 0.03);
  margin-bottom: 0.8rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.fixture-row:hover { border-color: rgba(242,167,27,.4); transform: translateX(3px); }
.fx-date { text-align: center; border-right: 1px solid var(--line); padding-right: 1rem; }
.fx-date .d { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--gold-bright); line-height: 1; }
.fx-date .m { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-faint); margin-top: 0.2rem; }
.fx-main .opp { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
.fx-main .meta { font-size: 0.82rem; color: var(--text-dim); margin-top: 0.2rem; }
.fx-side { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; justify-content: flex-end; }
.fx-score { font-family: var(--font-display); font-size: 1rem; color: var(--text-dim); text-align: right; line-height: 1.5; }
.fx-score b { color: var(--gold-bright); font-weight: 600; }
@media (max-width: 640px) {
  .fixture-row { grid-template-columns: 74px 1fr; }
  .fx-side { grid-column: 1 / -1; justify-content: flex-start; border-top: 1px dashed var(--line); padding-top: 0.8rem; }
  .fx-date { padding-right: 0.6rem; }
  .fx-date .d { font-size: 1.35rem; }
}

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  border: 1px solid var(--line);
  background: var(--ink-800);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .cap {
  position: absolute;
  inset: auto 0 0;
  padding: 1.6rem 0.8rem 0.6rem;
  font-size: 0.78rem;
  color: var(--cream);
  background: linear-gradient(transparent, rgba(10, 6, 30, 0.85));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-item:hover .cap { opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 6, 30, 0.92);
  display: none;
  place-items: center;
  padding: 2rem;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 82vh; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.lightbox .lb-cap { text-align: center; color: var(--text-dim); margin-top: 0.8rem; font-size: 0.9rem; }
.lightbox .lb-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  background: none; border: none; color: var(--cream);
  font-size: 2rem; cursor: pointer; line-height: 1;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--cream);
  background: rgba(247, 242, 228, 0.05);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(247, 242, 228, 0.08);
}
.field select option { background: var(--ink-800); color: var(--cream); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--text-faint); }
.form-msg { padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); font-size: 0.92rem; display: none; }
.form-msg.ok { display: block; background: rgba(52,201,142,.12); border: 1px solid rgba(52,201,142,.4); color: var(--win); }
.form-msg.err { display: block; background: rgba(226,99,92,.12); border: 1px solid rgba(226,99,92,.4); color: var(--loss); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Article ---------- */
.article-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; max-height: 480px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 760px; font-size: 1.05rem; color: var(--text); }
.article-body p { margin: 0 0 1.2em; color: rgba(242, 238, 224, 0.85); }
.article-body a { text-decoration: underline; }
.article-meta { display: flex; gap: 1rem; align-items: center; color: var(--text-faint); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.6rem; }

/* ---------- Kit / about extras ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.value-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.value-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.value-list .ico {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(242, 167, 27, 0.12);
  border: 1px solid rgba(242, 167, 27, 0.35);
  color: var(--gold-bright);
  font-size: 1.1rem;
}
.value-list b { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.98rem; }
.value-list span { color: var(--text-dim); font-size: 0.92rem; }

.kit-panel {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(400px 260px at 70% 20%, rgba(224, 92, 224, 0.14), transparent 60%),
    linear-gradient(150deg, var(--ink-700), var(--ink-900));
  padding: 2rem;
  text-align: center;
}

/* ---------- Skeleton / empty states ---------- */
.skeleton {
  border-radius: var(--radius);
  background: linear-gradient(100deg, rgba(247,242,228,.05) 40%, rgba(247,242,228,.1) 50%, rgba(247,242,228,.05) 60%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  min-height: 140px;
  border: 1px solid var(--line);
}
@keyframes shimmer { to { background-position: -200% 0; } }
.empty-note {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 1.6rem;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.95rem;
}
.section.cream .empty-note { border-color: rgba(27,42,92,.3); color: rgba(27,42,92,.55); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-950);
  border-top: 1px solid var(--line);
  padding: 3.2rem 0 0;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 3px;
  background: var(--iri);
  opacity: 0.75;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.2rem; padding-bottom: 2.6rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: 0.86rem; letter-spacing: 0.22em; color: var(--gold-bright); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-grid a { color: var(--text-dim); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--gold-bright); }
.footer-about { color: var(--text-dim); font-size: 0.9rem; max-width: 34ch; }
.footer-brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.footer-brand .roundel { height: 58px; width: auto; }
.footer-contact li { color: var(--text-dim); font-size: 0.92rem; display: flex; gap: 0.6rem; }
.footer-contact .ico { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-faint);
}
.footer-bottom a { color: var(--text-dim); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .skeleton { animation: none; }
}

.brand-text { display: flex; flex-direction: column; }

/* Utility */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.muted { color: var(--text-dim); }
.section.cream .muted { color: rgba(27,42,92,.65); }
