/* =====================================================================
   SIRMAUR CRICKET LEAGUE 2026 — stylesheet
   Dark auction-night theme: deep navy → indigo ground, violet/magenta
   bloom, league gold from the SCL mark, pitch green for points.
   Sections: tokens · base · type · layout · buttons · nav · hero ·
   stats · franchises · squads · pools · live · auction · trophy ·
   sponsors · organisers · info · footer · motion · responsive
   ===================================================================== */

/* ------------------------------------------------------------ tokens */
:root {
  /* ground — navy-to-indigo, the auction-poster base */
  --ink:        #070C1C;
  --ink-2:      #0C1430;
  --card:       #111A3A;
  --card-2:     #16204A;
  --panel:      #0E1730;

  --line:       rgba(150, 175, 255, .14);
  --line-2:     rgba(150, 175, 255, .26);

  /* type */
  --text:       #EAF0FF;
  --text-2:     #C6D2EE;
  --muted:      #94A4C9;
  --muted-2:    #6E7EA6;

  /* league colours */
  --gold:       #F0B429;
  --gold-2:     #FFD874;
  --gold-deep:  #D08F10;
  --violet:     #8B5CF6;
  --violet-2:   #B57BFF;
  --magenta:    #C640E8;
  --blue:       #3B7DF6;
  --pitch:      #35D07F;
  --live:       #FF3B47;

  --shell:      min(1240px, 100% - 2.5rem);
  --r-sm:       10px;
  --r-md:       16px;
  --r-lg:       24px;

  --ease:       cubic-bezier(.22, 1, .36, 1);
  --shadow-s:   0 2px 10px rgba(0, 0, 0, .35);
  --shadow:     0 24px 50px -26px rgba(0, 0, 0, .9);
  --shadow-lg:  0 36px 70px -30px rgba(0, 0, 0, .95);

  --font-display: "Anton", "Arial Black", Impact, "DejaVu Sans Condensed", sans-serif;
  --font-cond:    "Barlow Condensed", "Arial Narrow", "DejaVu Sans Condensed", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

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

/* the violet / magenta bloom that runs down the page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 85% -5%, rgba(198, 64, 232, .20), transparent 62%),
    radial-gradient(760px 520px at 8% 18%, rgba(59, 125, 246, .16), transparent 64%),
    radial-gradient(900px 640px at 92% 72%, rgba(139, 92, 246, .16), transparent 66%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-weight: 400; }
p  { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold); color: #1A1204; }

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

.shell { width: var(--shell); margin-inline: auto; position: relative; z-index: 1; }

.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: absolute; left: 1rem; top: -60px; z-index: 999;
  background: var(--gold); color: #1A1204; padding: .6rem 1rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------- typography */
.eyebrow {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: clamp(.82rem, 1.4vw, .96rem);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-2);
  display: flex;
  align-items: center;
  gap: .8rem;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-2), var(--magenta));
}

.gold-text {
  background: linear-gradient(96deg, var(--gold-2) 0%, var(--gold) 48%, #E0821F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------ layout */
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }

.section--alt {
  background:
    linear-gradient(180deg, rgba(139, 92, 246, .10), transparent 42%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
  border-block: 1px solid var(--line);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
  max-width: 780px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.6vw, 3.9rem);
  text-transform: uppercase;
  line-height: .95;
  color: #fff;
  text-wrap: balance;
}
.section-head p { color: var(--muted); margin: 0; max-width: 62ch; }

/* ----------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.7rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--gold-2), var(--gold) 55%, #E0821F);
  color: #1A1204;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  box-shadow: 0 12px 30px -14px rgba(240, 180, 41, .9);
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -16px rgba(240, 180, 41, 1); }
.btn:hover::after { transform: translateX(130%); }

.btn--ghost {
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  border: 1px solid var(--line-2);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); box-shadow: 0 16px 34px -20px rgba(240, 180, 41, .8); }

.btn--live {
  background: linear-gradient(100deg, #FF4F59, #C8101C);
  color: #fff;
  box-shadow: 0 12px 30px -14px rgba(255, 59, 71, .95);
}
.btn--live:hover { box-shadow: 0 20px 40px -16px rgba(255, 59, 71, 1); }

.btn--sm { padding: .6rem 1.15rem; font-size: .92rem; }

.yt-icon { width: 26px; height: 19px; flex: none; }

/* --------------------------------------------------------------- nav */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
}
.topbar.is-stuck {
  background: rgba(7, 12, 28, .88);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}

.topbar__inner { display: flex; align-items: center; gap: 2.2rem; height: 74px; }

.brand { display: flex; align-items: center; gap: .6rem; margin-right: auto; white-space: nowrap; }
.brand__logo { height: 40px; width: auto; }
.brand__season {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .04em;
  color: var(--gold-2);
  padding-top: 4px;
}

.nav { display: flex; align-items: center; gap: .04rem; }
.nav a {
  font-family: var(--font-cond);
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: .5rem .42rem;
  border-radius: 8px;
  position: relative;
  white-space: nowrap;
  transition: color .25s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: .56rem; right: .56rem; bottom: .28rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-2), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.btn--live { color: #fff; }
.nav a.btn--live::after { display: none; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px; right: 12px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* -------------------------------------------------------------- hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 122px 0 88px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../assets/images/hero-night.svg") center bottom / cover no-repeat;
  transform: scale(1.05);
  animation: heroDrift 30s ease-in-out infinite alternate;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(7, 12, 28, .93) 0%, rgba(7, 12, 28, .68) 46%, rgba(7, 12, 28, .22) 100%),
    linear-gradient(180deg, rgba(7, 12, 28, .72) 0%, transparent 26%, var(--ink) 100%);
}
.hero__flare {
  position: absolute;
  width: 46vw; height: 46vw;
  top: -14vw;
  border-radius: 50%;
  filter: blur(10px);
  animation: flicker 8s ease-in-out infinite;
}
.hero__flare--l { left: -12vw; background: radial-gradient(circle, rgba(59, 125, 246, .3), transparent 62%); }
.hero__flare--r { right: -10vw; background: radial-gradient(circle, rgba(198, 64, 232, .34), transparent 62%); animation-delay: -3.5s; }

.hero__inner { position: relative; z-index: 2; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .42rem 1.05rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.hero__badge b { color: var(--gold-2); font-weight: 700; }
.hero__badge i { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); flex: none; }

/* the SCL wordmark is the headline */
.hero__title { margin: 0 0 1.1rem; }
.hero__title img {
  width: min(560px, 82vw);
  height: auto;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, .7));
}

.hero__league {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: clamp(1rem, 2.6vw, 1.45rem);
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 1rem;
}

.hero__tagline {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.6vw, 1.75rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 1.6rem;
  max-width: 30ch;
}

.hero__meta { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 2rem; }
.hero__meta li {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .58rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(17, 26, 58, .7);
  backdrop-filter: blur(8px);
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: border-color .3s, transform .3s var(--ease);
}
.hero__meta li:hover { border-color: var(--gold); transform: translateY(-2px); }
.hero__meta svg { width: 17px; height: 17px; stroke: var(--gold-2); flex: none; }

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

.hero__count { display: flex; gap: .55rem; margin-top: 2rem; flex-wrap: wrap; }
.count-box {
  min-width: 78px;
  padding: .7rem .5rem .55rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  backdrop-filter: blur(8px);
  text-align: center;
}
.count-box b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--gold-2);
  font-variant-numeric: tabular-nums;
}
.count-box span {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* title-sponsor lockup under the hero */
.hero__sponsor {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-top: 2.2rem;
  padding: .6rem 1.1rem .6rem .6rem;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(17, 26, 58, .66);
  backdrop-filter: blur(10px);
}
.hero__sponsor > span:first-child {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  order: 2;
}
.hero__sponsor-plate {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  display: grid;
  place-items: center;
  order: 1;
}
.hero__sponsor-plate img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }

.scroll-cue {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.scroll-cue i {
  width: 2px; height: 38px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: cue 2.2s ease-in-out infinite;
}

/* ---------------------------------------------------------- stat grid */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.stat {
  position: relative;
  padding: 1.7rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(165deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015));
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.stat::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-2), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.stat:hover { transform: translateY(-6px); border-color: rgba(240, 180, 41, .5); box-shadow: var(--shadow); }
.stat:hover::before { transform: scaleX(1); }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 3.4rem);
  line-height: 1;
  margin-bottom: .35rem;
}
.stat span {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: .96rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-2);
}
.stat small { display: block; color: var(--muted); font-size: .82rem; margin-top: .3rem; }

/* -------------------------------------------------------- franchises */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 1.15rem; }

.team-card {
  --tc: var(--gold);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .8rem;
  padding: 2rem 1.3rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(175deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015));
  overflow: hidden;
  isolation: isolate;
  transition: transform .45s var(--ease), border-color .45s, box-shadow .45s;
}
.team-card::before {
  content: "";
  position: absolute;
  inset: -46% -20% auto;
  height: 74%;
  background: radial-gradient(ellipse at top, var(--tc), transparent 68%);
  opacity: .18;
  transition: opacity .45s, transform .6s var(--ease);
  z-index: -1;
}
.team-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--tc);
  transform: scaleX(.3);
  opacity: .6;
  transition: transform .5s var(--ease), opacity .5s;
}
.team-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--tc) 55%, transparent);
  box-shadow: var(--shadow);
}
.team-card:hover::before { opacity: .34; transform: translateY(6%); }
.team-card:hover::after { transform: scaleX(1); opacity: 1; }

.team-card__pool {
  position: absolute;
  top: .85rem; right: .9rem;
  font-family: var(--font-cond);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--tc) 55%, #FFFFFF);
  border: 1px solid color-mix(in srgb, var(--tc) 45%, transparent);
  background: rgba(0, 0, 0, .3);
  border-radius: 999px;
  padding: .12rem .55rem;
}

.team-card__crest {
  width: 116px; height: 116px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .9);
  transition: transform .5s var(--ease);
}
.team-card:hover .team-card__crest { transform: scale(1.07) rotate(-2deg); }

.team-card__name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #fff;
}
.team-card__base {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--tc) 55%, #FFFFFF);
  margin-top: -.5rem;
}
.team-card__identity { font-size: .875rem; color: var(--muted); line-height: 1.55; min-height: 4.2em; }
.team-card .btn { margin-top: auto; }

/* ------------------------------------------------------------ squads */
.squad-wrap { --tc: var(--gold); }

.team-strip {
  display: flex;
  gap: .55rem;
  overflow-x: auto;
  padding: .35rem .35rem 1rem;
  margin-bottom: 1.6rem;
  scrollbar-width: thin;
}
.team-strip::-webkit-scrollbar { height: 6px; }
.team-strip::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; }

.team-chip {
  flex: none;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .95rem .45rem .5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  font-family: var(--font-cond);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color .3s, border-color .3s, background .3s, transform .3s var(--ease);
}
.team-chip img { width: 30px; height: 30px; object-fit: cover; border-radius: 8px; }
.team-chip:hover { color: #fff; transform: translateY(-2px); border-color: var(--line-2); }
.team-chip.is-active {
  color: #1A1204;
  background: linear-gradient(100deg, var(--gold-2), var(--gold));
  border-color: transparent;
  box-shadow: 0 10px 24px -14px rgba(240, 180, 41, .95);
}

.squad-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  border-bottom: 0;
  background:
    linear-gradient(100deg, color-mix(in srgb, var(--tc) 30%, transparent), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  overflow: hidden;
}
.squad-head img {
  width: 96px; height: 96px;
  flex: none;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .9);
}
.squad-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  text-transform: uppercase;
  color: #fff;
}
.squad-head__meta {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  margin-top: .6rem;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-2);
}
.squad-head__meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .1rem .7rem;
  background: rgba(0, 0, 0, .3);
}
.squad-head__spend { margin-left: auto; text-align: right; }
.squad-head__spend b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  color: var(--gold-2);
  font-variant-numeric: tabular-nums;
}
.squad-head__spend span {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.squad-body {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  background: rgba(7, 12, 28, .5);
}

/* ------------------------------------------------- franchise owners */
/* Sits at the top of the squad panel. Hidden entirely for any team that
   has no entries in data.js -> teams[].owners. Takes 1 to 4 owners. */
.owner-block {
  margin-bottom: 1.5rem;
  padding: 1.1rem 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background:
    linear-gradient(104deg, color-mix(in srgb, var(--tc) 22%, transparent), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012));
}
.owner-block__label {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 .9rem;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.owner-block__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 180, 41, .5), transparent);
}

.owner-row { display: flex; flex-wrap: wrap; gap: .9rem; }
/* a lone owner hugs its content instead of stretching across the row */
.owner-row[data-count="1"] .owner-card { flex: 0 1 auto; max-width: 560px; padding-right: 1.6rem; }
/* four owners sit as a tidy 2 x 2 grid instead of wrapping 3 + 1 */
.owner-row[data-count="4"] .owner-card { flex: 1 1 calc(50% - .45rem); max-width: none; }
@media (max-width: 700px) {
  .owner-row[data-count="4"] .owner-card { flex: 1 1 100%; }
}
.owner-card {
  flex: 1 1 330px;
  max-width: 470px;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(7, 12, 28, .5);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.owner-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--tc) 55%, transparent);
  box-shadow: var(--shadow);
}
.owner-card__shot {
  flex: none;
  width: clamp(120px, 12vw, 152px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.owner-card__shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.owner-card__body { min-width: 0; }
.owner-card__role {
  display: block;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.owner-card__name {
  margin: .16rem 0 0;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: clamp(1.28rem, 2.2vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
}
.owner-card__org {
  margin: .3rem 0 0;
  font-size: .8rem;
  letter-spacing: .02em;
  color: var(--gold-2);
}

.player-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: .85rem; }

.player-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(170deg, var(--card), var(--panel));
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.player-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--tc) 55%, transparent);
  box-shadow: var(--shadow);
}

.player-card__top { display: flex; gap: .85rem; padding: .85rem; align-items: flex-start; }

/* the source photos are small, so they are shown close to native size —
   that keeps them sharp instead of blowing them up into a soft full-bleed */
.player-card__avatar {
  position: relative;
  flex: none;
  width: 88px; height: 88px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tc) 26%, transparent), rgba(0, 0, 0, .4));
  border: 1px solid var(--line);
}
.player-card__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 34%; }
.player-card__no {
  position: absolute;
  left: 4px; bottom: 4px;
  min-width: 24px;
  padding: 0 .3rem;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(4, 8, 20, .85);
  color: #fff;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
}

.player-card__meta { min-width: 0; padding-top: .1rem; }
.player-card__tag {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .08rem .5rem;
  border-radius: 999px;
  margin-bottom: .3rem;
}
.tag-icon     { background: linear-gradient(100deg, var(--gold-2), #E0821F); color: #1A1204; }
.tag-retained { background: rgba(53, 208, 127, .18); color: var(--pitch); border: 1px solid rgba(53, 208, 127, .45); }
.tag-auction  { background: rgba(255, 255, 255, .07); color: var(--muted); border: 1px solid var(--line); }

.player-card__name {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.06rem;
  text-wrap: balance;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.15;
  color: #fff;
}
.player-card__role {
  font-size: .74rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-weight: 600;
  color: color-mix(in srgb, var(--tc) 48%, #FFFFFF);
  margin: .18rem 0 0;
}
.player-card__style { font-size: .73rem; color: var(--muted); margin: .1rem 0 0; line-height: 1.35; }

.player-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: auto;
  padding: .5rem .9rem;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, .28);
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: .84rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.player-card__foot b { color: var(--pitch); font-size: 1.04rem; font-variant-numeric: tabular-nums; }
.player-card__foot b i { font-style: normal; font-size: .7rem; letter-spacing: .1em; color: var(--muted-2); }

/* ------------------------------------------------------------- pools */
.pool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 1.2rem; }
.pool {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
}
.pool__head {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  padding: 1.1rem 1.5rem;
  background: linear-gradient(100deg, rgba(59, 125, 246, .3), rgba(198, 64, 232, .22) 70%, transparent);
  border-bottom: 1px solid var(--line);
}
.pool__head h3 { font-family: var(--font-display); font-size: 1.9rem; text-transform: uppercase; color: #fff; }
.pool__head span {
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .82rem;
  color: var(--gold-2);
  margin-left: auto;
}
.pool li {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .8rem 1.5rem;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .3s, padding-left .3s var(--ease);
}
.pool li:last-child { border-bottom: 0; }
.pool li:hover { background: rgba(255, 255, 255, .05); padding-left: 1.9rem; }
.pool li img { width: 46px; height: 46px; flex: none; object-fit: cover; border-radius: 10px; }
.pool li b { font-family: var(--font-cond); font-weight: 700; font-size: 1.12rem; color: #fff; }
.pool li small {
  margin-left: auto;
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-size: .78rem;
}

.note { margin-top: 1.1rem; font-size: .86rem; color: var(--muted); display: flex; gap: .5rem; align-items: flex-start; }
.note::before { content: "✱"; color: var(--gold); }

/* ---------------------------------------------------------- fixtures */
/* The whole section is built by app.js from data.js -> fixtures.days[],
   so there is no container for it in index.html. Day buttons across the
   top, one match per row underneath. */
.fx-wrap { position: relative; }

.fx-daybar {
  display: flex;
  gap: .55rem;
  overflow-x: auto;
  padding: .35rem .35rem 1rem;
  scrollbar-width: thin;
}
.fx-daybar::-webkit-scrollbar { height: 6px; }
.fx-daybar::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; }
.fx-day {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .7rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .04);
  color: var(--text-2);
  cursor: pointer;
  text-align: left;
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.fx-day b {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
}
.fx-day span { font-size: .76rem; color: var(--muted); letter-spacing: .04em; }
.fx-day:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .07); transform: translateY(-2px); }
.fx-day.is-on {
  border-color: color-mix(in srgb, var(--gold) 65%, transparent);
  background: linear-gradient(140deg, rgba(240, 180, 41, .26), rgba(240, 180, 41, .05));
}
.fx-day.is-on b { color: var(--gold-2); }
.fx-day.is-on span { color: var(--text-2); }

.fx-panel {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
}
.fx-panel__head {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  flex-wrap: wrap;
  padding: 1.1rem 1.5rem;
  background: linear-gradient(100deg, rgba(59, 125, 246, .3), rgba(198, 64, 232, .22) 70%, transparent);
  border-bottom: 1px solid var(--line);
}
.fx-panel__head h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: .01em;
}
.fx-panel__head h3 em {
  font-style: normal;
  font-family: var(--font-cond);
  font-size: .95rem;
  letter-spacing: .18em;
  color: var(--ink);
  background: linear-gradient(100deg, var(--gold-2), var(--gold));
  padding: .18rem .6rem;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: .45rem;
}
.fx-panel__head span {
  margin-left: auto;
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--gold-2);
}

.fx-match {
  display: grid;
  grid-template-columns: 250px 1fr;
  align-items: center;
  gap: 1.2rem;
  padding: .85rem 1.5rem;
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.fx-match:last-child { border-bottom: 0; }
.fx-match:hover { background: rgba(255, 255, 255, .04); }

.fx-match__id { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.fx-match__no {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 38px;
  padding: 0 .55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  background: linear-gradient(140deg, var(--gold-2), var(--gold-deep));
  border-radius: 8px;
  box-shadow: var(--shadow-s);
}
.fx-match__time {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: .94rem;
  letter-spacing: .03em;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fx-match__teams {
  display: grid;
  /* capped and centred so the two names sit close to the VS pill instead of
     drifting to the panel edges on a wide screen */
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: .9rem;
  min-width: 0;
  max-width: 760px;
  margin: 0 auto;
}
.fx-side { display: flex; align-items: center; gap: .7rem; min-width: 0; border-radius: var(--r-sm); }
/* team A mirrors team B so both names sit against the VS pill. With
   row-reverse the main axis is flipped, so flex-start is the right edge. */
.fx-side--a { flex-direction: row-reverse; justify-content: flex-start; text-align: right; }
.fx-side--b { justify-content: flex-start; }
.fx-side[data-squad] { cursor: pointer; }
.fx-side[data-squad]:hover .fx-side__name { color: var(--gold-2); }
.fx-side[data-squad]:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.fx-side__crest { flex: none; width: 42px; height: 42px; }
.fx-side__crest img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }
.fx-side__tbd {
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  border: 1px dashed var(--line-2);
  border-radius: 9px;
  color: var(--muted-2);
  font-family: var(--font-display);
}
.fx-side__name {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.08rem;
  color: #fff;
  line-height: 1.2;
  transition: color .25s;
  overflow-wrap: anywhere;
}
.fx-vs {
  flex: none;
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .08em;
  color: var(--gold);
  padding: .3rem .55rem;
  border: 1px solid color-mix(in srgb, var(--gold) 38%, transparent);
  border-radius: 7px;
  background: rgba(240, 180, 41, .08);
}

/* finals rows read as stages, not numbers, so the badge gets room */
.fx-match--final .fx-match__no {
  min-width: 0;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: .84rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 0 .75rem;
}
.fx-match--final .fx-side__name { color: var(--text-2); }

@media (max-width: 860px) {
  .fx-match { grid-template-columns: 1fr; gap: .7rem; padding: 1rem 1.1rem; }
  .fx-match__id { gap: .7rem; }
  .fx-panel__head span { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  .fx-match__teams { gap: .5rem; }
  .fx-side { flex-direction: column; gap: .4rem; text-align: center; }
  .fx-side--a { flex-direction: column; text-align: center; }
  .fx-side__name { font-size: .92rem; }
  .fx-side__crest { width: 44px; height: 44px; }
}

/* ------------------------------------------------ live / auction panels */
.panel { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.4rem; align-items: stretch; }

.panel__box {
  position: relative;
  padding: clamp(1.6rem, 3.4vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  overflow: hidden;
}
.panel__box--live {
  background:
    radial-gradient(680px 300px at 8% 0%, rgba(255, 59, 71, .2), transparent 62%),
    linear-gradient(165deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
}
.panel__box h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: .8rem;
}
.panel__box p { color: var(--muted); }
.panel__box p b { color: var(--text); }

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--live);
  margin-bottom: 1rem;
}
.live-dot i { width: 9px; height: 9px; border-radius: 50%; background: var(--live); animation: pulse 2s infinite; }

.embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  margin-top: 1.3rem;
}
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.embed--placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  background: radial-gradient(circle at 50% 40%, rgba(255, 59, 71, .16), transparent 62%), var(--panel);
  border-style: dashed;
}
.embed--placeholder .yt-play { width: 74px; height: 52px; margin: 0 auto .9rem; transition: transform .4s var(--ease); }
.embed--placeholder:hover .yt-play { transform: scale(1.08); }
.embed--placeholder b {
  display: block;
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 1rem;
  color: #fff;
}
.embed--placeholder small { color: var(--muted-2); font-size: .82rem; }

.fact-list { display: grid; gap: .7rem; margin: 1.4rem 0 1.7rem; }
.fact-list--grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.fact-list li {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .72rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, .3);
  transition: border-color .3s, transform .3s var(--ease);
}
.fact-list li:hover { border-color: var(--gold); transform: translateX(4px); }
.fact-list svg { width: 19px; height: 19px; stroke: var(--gold-2); flex: none; }
.fact-list b {
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .82rem;
  color: var(--muted-2);
  min-width: 96px;
}
.fact-list span { font-weight: 500; color: var(--text-2); }

.matchday {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.4rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(100deg, rgba(255, 59, 71, .16), rgba(255, 255, 255, .02) 62%);
}
.matchday__day { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--gold-2); }
.matchday__day small {
  display: block;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .2em;
  color: var(--muted-2);
}
.matchday__txt { flex: 1 1 220px; }
.matchday__txt b {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: block;
  color: #fff;
}
.matchday__txt span { color: var(--muted); font-size: .88rem; }

.day-rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: .8rem; margin-top: 1.3rem; }
.day-rail div {
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .03);
  transition: border-color .3s, transform .3s var(--ease);
}
.day-rail div:hover { border-color: var(--gold); transform: translateY(-4px); }
.day-rail b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.day-rail span {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* -------------------------------------------------- live scorecard */
.scorecard {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  flex-wrap: wrap;
  margin-top: 1.4rem;
  padding: clamp(1.3rem, 3vw, 1.9rem) clamp(1.3rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(620px 260px at 6% 0%, rgba(53, 208, 127, .18), transparent 64%),
    linear-gradient(165deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
}
.scorecard.is-ready { border-color: rgba(53, 208, 127, .45); }

.scorecard__mark {
  flex: none;
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(53, 208, 127, .12);
  border: 1px solid rgba(53, 208, 127, .35);
}
.scorecard__mark svg { width: 28px; height: 28px; stroke: var(--pitch); fill: none; }

.scorecard__copy { flex: 1 1 320px; }
.scorecard__badge {
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #05130C;
  background: var(--pitch);
  border-radius: 999px;
  padding: .1rem .7rem;
  margin-bottom: .5rem;
}
.scorecard__copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: .4rem;
}
.scorecard__copy p { color: var(--muted); margin: 0; max-width: 58ch; font-size: .94rem; }

.scorecard__action { flex: none; margin-left: auto; }
.scorecard__soon {
  display: inline-flex;
  align-items: center;
  padding: .7rem 1.2rem;
  border: 1px dashed var(--line-2);
  border-radius: 999px;
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .88rem;
  color: var(--muted-2);
  background: rgba(0, 0, 0, .25);
}

.embed--score { aspect-ratio: 4 / 3; margin-top: 1.2rem; background: var(--panel); }

/* ------------------------------------------------------------ trophy */
.trophy-section {
  background:
    radial-gradient(800px 460px at 78% 22%, rgba(240, 180, 41, .2), transparent 66%),
    linear-gradient(180deg, var(--ink), var(--ink-2));
  border-block: 1px solid var(--line);
}
.trophy-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.trophy-shot { margin: 0; position: relative; display: grid; place-items: center; padding: 1.5rem; }
.trophy-shot::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 180, 41, .5), transparent 66%);
  filter: blur(16px);
}
.trophy-shot img {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  animation: floatTrophy 7s ease-in-out infinite alternate;
}
.trophy-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  text-transform: uppercase;
  color: #fff;
  margin: .8rem 0 .9rem;
}
.trophy-copy > p { color: var(--muted); max-width: 52ch; }
.trophy-caption {
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .82rem;
  color: var(--gold-2);
  margin: 0;
}

/* ---------------------------------------------------------- sponsors */
.sponsor-title {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(1.4rem, 3.5vw, 2.6rem);
  align-items: center;
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  border: 1px solid rgba(240, 180, 41, .35);
  border-radius: var(--r-lg);
  background:
    radial-gradient(700px 300px at 4% 0%, rgba(240, 180, 41, .18), transparent 62%),
    linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015));
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.sponsor-title__plate {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  background: #fff;
  display: grid;
  place-items: center;
  padding: 1rem;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .9);
}
.sponsor-title__plate img { width: 100%; height: 100%; object-fit: contain; }
.sponsor-title__label {
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #1A1204;
  background: linear-gradient(100deg, var(--gold-2), var(--gold));
  border-radius: 999px;
  padding: .12rem .8rem;
  margin-bottom: .7rem;
}
.sponsor-title__copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.4vw, 2.8rem);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: .6rem;
}
.sponsor-title__copy p { color: var(--muted); max-width: 52ch; }

.sponsor-tier { margin-bottom: 2rem; }
.sponsor-tier__label {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .9rem;
}
.sponsor-tier__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-2), transparent);
}

.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }

.sponsor-card {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(170deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  transition: transform .35s var(--ease), border-color .35s;
}
a.sponsor-card:hover { transform: translateY(-5px); border-color: rgba(240, 180, 41, .5); }
.sponsor-card__plate {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--r-sm);
  background: #fff;
  display: grid;
  place-items: center;
  padding: .7rem;
  overflow: hidden;
}
/* absolute + inset so a SQUARE logo letterboxes inside the 3:2 plate
   instead of overflowing it (percentage heights on a grid item whose
   row is content-sized resolve to auto, which crops tall marks) */
.sponsor-card__plate img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  padding: .7rem;
  object-fit: contain;
}
.sponsor-word {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #12213F;
  text-align: center;
  padding: 0 .4rem;
}
.sponsor-card__name {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.2;
}
.sponsor-card__name small {
  display: block;
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .16em;
  color: var(--muted-2);
  margin-top: .15rem;
}

.sponsor-card--open { border-style: dashed; background: rgba(255, 255, 255, .02); }
.sponsor-card--open .sponsor-card__plate {
  background: rgba(255, 255, 255, .04);
  border: 1px dashed var(--line-2);
}
.sponsor-card--open .sponsor-card__plate span {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: .84rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.sponsor-card--open .sponsor-card__name { color: var(--muted-2); }

/* -------------------------------------------------------- organisers */
.org-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(214px, 1fr)); gap: 1.1rem; }
.org-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  transition: transform .42s var(--ease), border-color .42s, box-shadow .42s;
}
.org-card:hover { transform: translateY(-6px); border-color: rgba(240, 180, 41, .45); box-shadow: var(--shadow); }
.org-card__shot { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); }
.org-card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.org-card:hover .org-card__shot img { transform: scale(1.05); }
.org-card__shot::after {
  content: "";
  position: absolute; inset: 58% 0 0;
  background: linear-gradient(180deg, transparent, rgba(7, 12, 28, .9));
}
.org-card__body { padding: .95rem 1.1rem 1.2rem; }
.org-card__name {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
}
.org-card__role {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: .1rem 0 .5rem;
  font-weight: 600;
}
.org-card__desc { font-size: .84rem; color: var(--muted); line-height: 1.55; margin: 0; }

/* -------------------------------------------------------------- info */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.1rem; }
.info-card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(170deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  transition: transform .4s var(--ease), border-color .4s;
}
.info-card:hover { transform: translateY(-5px); border-color: rgba(240, 180, 41, .45); }
.info-card h3 {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: .9rem;
}
.info-card dl { margin: 0; display: grid; gap: .55rem; }
.info-card dt {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.info-card dd { margin: 0 0 .4rem; color: var(--text-2); }
.info-card ul li { padding: .35rem 0 .35rem 1.2rem; position: relative; color: var(--muted); font-size: .92rem; }
.info-card ul li::before {
  content: "";
  position: absolute; left: 0; top: .95rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.social-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .88rem;
  color: var(--text-2);
  background: rgba(255, 255, 255, .04);
  transition: color .3s, border-color .3s, transform .3s var(--ease);
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}
.social-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; flex: none; }
.social-btn:hover { color: var(--gold-2); border-color: var(--gold); transform: translateY(-3px); }

/* ------------------------------------------------------------ footer */
.footer {
  position: relative;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink-2), #04070F);
}
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer__brand { margin-bottom: 1rem; }
.footer__brand img { height: 74px; width: auto; }
.footer p { color: var(--muted); font-size: .92rem; max-width: 40ch; }
.footer h4 {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: .9rem;
}
.footer li a, .footer address a {
  color: var(--muted);
  font-size: .92rem;
  line-height: 2;
  transition: color .25s, padding-left .25s var(--ease);
  display: inline-block;
}
.footer li a:hover, .footer address a:hover { color: var(--gold-2); padding-left: 5px; }
.footer address { font-style: normal; }
.footer address a { display: inline-flex; align-items: center; gap: .55rem; max-width: 100%; overflow-wrap: anywhere; }
.footer address a svg { width: 16px; height: 16px; stroke: currentColor; fill: none; flex: none; }

.footer__sponsor {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.footer__sponsor > span:first-child {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer__sponsor-plate {
  width: 74px; height: 74px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 6px;
  flex: none;
}
.footer__sponsor-plate img { width: 100%; height: 100%; object-fit: contain; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: .84rem;
  color: var(--muted-2);
}

/* ------------------------------------------------------------ motion */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes heroDrift {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to   { transform: scale(1.12) translate3d(-1.4%, -1.2%, 0); }
}
@keyframes flicker {
  0%, 100% { opacity: .9; }
  44%      { opacity: .6; }
  50%      { opacity: 1; }
  72%      { opacity: .75; }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 59, 71, .6); }
  70%  { box-shadow: 0 0 0 12px rgba(255, 59, 71, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 71, 0); }
}
@keyframes cue {
  0%, 100% { transform: scaleY(.35); opacity: .4; transform-origin: top; }
  50%      { transform: scaleY(1); opacity: 1; transform-origin: top; }
}
@keyframes floatTrophy {
  from { transform: translateY(-6px); }
  to   { transform: translateY(10px); }
}

/* -------------------------------------------------------- responsive */
/* Fixtures made the bar one item longer, so the secondary links fold away
   earlier than they used to. */
@media (max-width: 1320px) { .nav__wide { display: none; } }

@media (max-width: 1080px) {
  .panel { grid-template-columns: 1fr; }
  .trophy-wrap { grid-template-columns: 1fr; }
  .trophy-shot { order: -1; }
  .sponsor-title { grid-template-columns: 1fr; }
  .sponsor-title__plate { max-width: 220px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand + p { grid-column: 1 / -1; }
}

@media (max-width: 1020px) {
  :root { --shell: min(1240px, 100% - 2rem); }

  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 74px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.6rem;
    background: rgba(7, 12, 28, .98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, transform .35s var(--ease), visibility .3s;
    max-height: calc(100svh - 74px);
    overflow-y: auto;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: .85rem .3rem; border-bottom: 1px solid var(--line); font-size: 1.1rem; letter-spacing: .12em; }
  .nav a::after { display: none; }
  .nav__wide { display: block; }
  .nav a.btn--live { margin-top: .9rem; border-bottom: 0; justify-content: center; }

  .hero { padding: 108px 0 80px; }
  .scroll-cue { display: none; }

  .squad-head { gap: 1rem; padding: 1.3rem; }
  .squad-head img { width: 64px; height: 64px; }
  .squad-head__spend { margin-left: 0; text-align: left; width: 100%; }
  .squad-body { padding: 1.1rem; }
  .player-grid { grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: .7rem; }
  .player-card__avatar { width: 84px; height: 84px; }

  .team-grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: .8rem; }
  .team-card { padding: 1.5rem 1rem 1.2rem; }
  .team-card__crest { width: 82px; height: 82px; }
  .team-card__identity { display: none; }

  .org-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .scorecard { flex-direction: column; align-items: flex-start; }
  .scorecard__action { margin-left: 0; width: 100%; }
  .scorecard__action .btn, .scorecard__soon { width: 100%; justify-content: center; }
}

@media (max-width: 560px) {
  .hero__badge { font-size: .72rem; letter-spacing: .14em; gap: .5rem; padding: .38rem .85rem; }
  .fact-list b { min-width: 78px; font-size: .76rem; }
  .brand__logo { height: 38px; }
  .sponsor-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .owner-block { padding: .95rem .9rem 1rem; }
  .owner-card { flex: 1 1 100%; max-width: none; gap: .9rem; }
  .owner-row[data-count="1"] .owner-card { flex: 1 1 100%; padding-right: .85rem; }
  .owner-card__shot { width: 108px; }
  .owner-card__role { font-size: .66rem; letter-spacing: .1em; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero__cta .btn { width: 100%; }
  .count-box { min-width: 68px; }
}

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

@media print {
  .topbar, .scroll-cue, .hero__bg, .embed { display: none; }
  body { background: #fff; color: #000; }
}
