/* ==========================================================================
   Stars Liga - clean, modern league site
   Palette from the logo: navy #0F2C6E, red #BF2E31, white.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext carries the rupee sign */
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #0F2C6E;
  --navy-deep: #091D4D;
  --navy-lift: #1B3F93;
  --red: #BF2E31;
  --red-deep: #A12528;
  --red-tint: #FF8183;
  --white: #fff;
  --mist: #F3F5FA;
  --line: #DCE2EF;
  --ink: #0A1226;
  --muted: #47516E;
  --on-navy: #CBD6F1;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max: 74rem;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(9, 29, 77, .06), 0 12px 32px -14px rgba(9, 29, 77, .22);
  --focus: var(--navy);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--navy) var(--mist);
}
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  caret-color: var(--red);
  accent-color: var(--navy);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--navy); color: #fff; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb { background: var(--navy); border: 3px solid var(--mist); border-radius: 8px; }

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--red); color: #fff; padding: .75rem 1rem; font-weight: 700; border-radius: 8px; transition: top .2s var(--ease); }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font); color: var(--navy); text-wrap: balance; }
h2 {
  font-size: clamp(1.9rem, 1.15rem + 2.5vw, 3rem);
  font-weight: 800;
  font-stretch: 108%;
  line-height: 1.08;
  letter-spacing: -.02em;
}
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; letter-spacing: -.005em; }
.lead { font-size: clamp(1.08rem, 1rem + .3vw, 1.2rem); line-height: 1.65; color: var(--muted); max-width: 40rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3rem;
  padding: .7rem 1.4rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: .98rem;
  line-height: 1.1;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--large { min-height: 3.4rem; padding: .8rem 1.75rem; font-size: 1.02rem; }
.btn--small { min-height: 2.6rem; padding: .5rem 1.1rem; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 20px -10px rgba(191, 46, 49, .7); }
.btn--red:hover { background: var(--red-deep); box-shadow: 0 14px 24px -10px rgba(191, 46, 49, .75); }
.btn--navy { background: var(--navy); color: #fff; box-shadow: 0 10px 20px -10px rgba(15, 44, 110, .6); }
.btn--navy:hover { background: var(--navy-lift); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--mist); }
.btn svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
.site-header__bar { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; color: var(--navy); }
.brand img { width: 2.75rem; height: 2.75rem; border-radius: 50%; }
.brand__name { font-size: 1.2rem; font-weight: 800; font-stretch: 112%; letter-spacing: -.01em; white-space: nowrap; }
.nav { display: none; }
.nav a {
  padding: .55rem .8rem;
  font-weight: 600;
  font-size: .94rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  transition: background-color .2s, color .2s;
}
.nav a:hover { background: var(--mist); color: var(--navy); }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 1.15rem; height: 2px; background: var(--navy); content: "";
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav.is-open {
  position: absolute;
  top: 100%; left: 0; right: 0;
  display: flex;
  flex-direction: column;
  padding: .5rem var(--gutter) 1.25rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 30px -20px rgba(9, 29, 77, .3);
}
.nav.is-open a { padding: .95rem .25rem; font-size: 1.02rem; border-bottom: 1px solid var(--line); border-radius: 0; }

@media (max-width: 30rem) {
  .site-header__bar { gap: .6rem; }
  .brand img { width: 2.4rem; height: 2.4rem; }
  .brand__name { font-size: 1.05rem; }
  .btn--small { padding: .5rem .9rem; }
}
@media (min-width: 64rem) {
  .nav { display: flex; gap: .1rem; }
  .nav-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flow-root;
  background: var(--navy);
  color: #fff;
  --focus: #fff;
  overflow: visible;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.15rem, 1rem + 3.3vw, 3.9rem);
  font-weight: 800;
  font-stretch: 100%;
  line-height: 1.06;
  letter-spacing: -.025em;
}
.hero h1 span { display: block; }
.hero__accent { color: var(--red-tint); }
.lede { margin-top: 1.5rem; max-width: 34rem; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.65; color: var(--on-navy); }
.cta-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.fine { margin-top: 1.1rem; font-size: .95rem; font-weight: 500; color: var(--on-navy); }

.hero__art { position: relative; justify-self: center; width: min(100%, 27rem); }
.pitch {
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 40px 70px -30px rgba(2, 9, 31, .75), 0 0 0 1px rgba(255, 255, 255, .12);
}
.route { animation: flow 7s linear infinite; }
.route-shot { animation: flow 7s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -100; } }

@media (min-width: 62rem) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 4rem; padding-bottom: 2rem; }
  .hero__art { justify-self: end; }
}

@media (max-width: 47.99rem) { .hero__art { width: min(100%, 16rem); } }
@media (max-width: 30rem) { .cta-row .btn { flex: 1 1 100%; } }

/* facts bar straddles the hero's bottom edge */
.facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 1.25rem;
  margin-bottom: -3.25rem;
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 24px 44px -26px rgba(0, 0, 0, .45), 0 0 0 1px rgba(9, 29, 77, .05);
}
.facts li { display: grid; gap: .15rem; align-content: center; padding: 1.1rem 1.1rem; }
.facts strong { white-space: nowrap; font-size: clamp(1.3rem, 1.05rem + 1.2vw, 2.1rem); font-weight: 800; font-stretch: 110%; line-height: 1.1; letter-spacing: -.02em; color: var(--navy); }
.facts span { font-size: .92rem; font-weight: 500; line-height: 1.3; color: var(--muted); }
.facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
.facts li:nth-child(even) { border-left: 1px solid var(--line); }
@media (min-width: 48rem) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts li { padding: 1.6rem 1.75rem; }
  .facts li:nth-child(n) { border-top: 0; border-left: 0; }
  .facts li + li { border-left: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #fff; --focus: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .lead { color: var(--on-navy); }
.section--after-facts { padding-top: calc(clamp(4rem, 8vw, 6.5rem) + 3.25rem); }
.section__head { display: grid; gap: 1rem; max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section__head--wide { max-width: 52rem; }

/* ---------- Charter pillars ---------- */
.pillars { display: grid; gap: 2rem 4rem; }
.pillar { position: relative; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.pillar__icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1rem; color: var(--navy); background: #E6EDFB; border-radius: 14px; }
.pillar__icon svg { width: 1.6rem; height: 1.6rem; }
.pillar h3 { margin-bottom: .55rem; }
.pillar p { color: var(--muted); max-width: 34rem; }
@media (min-width: 48rem) { .pillars { grid-template-columns: 1fr 1fr; gap: 2.75rem 4rem; } }

.standards { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.standards li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem 1.05rem .6rem .75rem;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.3;
  color: var(--navy);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.standards svg { flex: none; width: 1.4rem; height: 1.4rem; padding: .22rem; color: #fff; background: var(--navy); border-radius: 50%; }

/* ---------- Pathway ladder ---------- */
.ladder { position: relative; display: grid; gap: 1.5rem; }
.ladder::before, .ladder::after {
  content: "";
  position: absolute;
  left: 1.45rem; top: 1.5rem; bottom: 1.5rem;
  width: 4px;
  border-radius: 2px;
  background: var(--line);
}
.ladder::after { background: var(--navy); transform-origin: top; }
.stage { position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1.1rem; align-items: start; }
.stage__node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--mist);
}
.stage__node svg { width: 1.4rem; height: 1.4rem; fill: #fff; }
.stage--final .stage__node { background: var(--red); }
.stage__body { padding: 1.35rem 1.4rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stage__body h3 { margin-bottom: .45rem; }
.stage__scope {
  display: inline-block;
  margin-bottom: .7rem;
  padding: .18rem .6rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--red-deep);
  background: #FBEAEA;
  border-radius: 999px;
}
.stage__body p:last-child { color: var(--muted); font-size: 1rem; line-height: 1.6; }
.stage--final .stage__body { background: var(--navy); border-color: var(--navy); }
.stage--final h3 { color: #fff; }
.stage--final .stage__body p:last-child { color: var(--on-navy); }
.stage--final .stage__scope { color: #fff; background: rgba(255, 255, 255, .16); }

.js .ladder::after { transform: scaleY(0); transition: transform 1.6s var(--ease); }
.js .ladder.in::after { transform: scaleY(1); }

@media (min-width: 62rem) {
  .ladder { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
  .ladder::before, .ladder::after { left: 1.5rem; right: 1.5rem; top: 1.4rem; bottom: auto; width: auto; height: 4px; }
  .ladder::after { transform-origin: left; }
  .js .ladder::after { transform: scaleX(0); }
  .js .ladder.in::after { transform: scaleX(1); }
  .ladder { align-items: stretch; }
  .ladder::before, .ladder::after { right: calc(25% - 2.55rem); }
  .stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 1.25rem; }
  .stage__body { align-self: stretch; }
}

.scouting { margin-top: clamp(2.5rem, 5vw, 4rem); padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--navy); color: #fff; border-radius: 20px; }
.scouting__title { color: #fff; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); font-weight: 800; font-stretch: 106%; margin-bottom: 1.25rem; }
.scouting__list { display: grid; gap: 0; }
.scouting__list li { display: grid; gap: .3rem; padding-block: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.scouting__list strong { font-size: 1.05rem; font-weight: 700; }
.scouting__list span { color: var(--on-navy); max-width: 32rem; font-size: 1rem; line-height: 1.6; }
@media (min-width: 62rem) {
  .scouting__list { grid-template-columns: repeat(3, 1fr); column-gap: 2.5rem; }
  .scouting__list li { padding-top: 1.25rem; padding-bottom: 0; }
}

/* ---------- How to join ---------- */
.how__grid { display: grid; gap: 2.5rem; }
.how__head { align-content: start; justify-items: start; margin-bottom: 0; }
.steps { display: grid; }
.steps li { position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1.25rem; padding-bottom: 2.25rem; }
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: calc(1.5rem - 1px); top: 3.4rem; bottom: .4rem; width: 2px; background: var(--line); }
.steps__n { display: grid; place-items: center; width: 3rem; height: 3rem; font-weight: 800; font-size: 1.1rem; color: #fff; background: var(--navy); border-radius: 50%; }
.steps h3 { margin-top: .5rem; margin-bottom: .35rem; }
.steps p { color: var(--muted); max-width: 34rem; }
@media (min-width: 62rem) {
  .how__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; }
  .how__head { position: sticky; top: 7rem; align-self: start; }
}

/* ---------- Venues ---------- */
.venues__grid { display: grid; gap: 2.5rem; }
.venues__grid .section__head { margin-bottom: 0; align-content: start; }
.venue-list a {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.25rem .5rem;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  transition: background-color .25s, padding .3s var(--ease);
}
.venue-list li:first-child a { border-top: 1px solid rgba(255, 255, 255, .18); }
.venue__pitch { flex: none; width: 2.9rem; height: 1.95rem; color: #8DA5E0; }
.venue__name { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); font-weight: 700; font-stretch: 105%; line-height: 1.15; letter-spacing: -.01em; }
.venue__go { display: inline-flex; align-items: center; gap: .5rem; margin-left: auto; flex: none; font-weight: 600; font-size: .95rem; color: var(--on-navy); }
.venue__go svg { width: 1.2rem; height: 1.2rem; transition: transform .3s var(--ease); }
.venue-list a:hover, .venue-list a:focus-visible { background: rgba(255, 255, 255, .09); padding-inline: 1.1rem; }
.venue-list a:hover .venue__go, .venue-list a:focus-visible .venue__go { color: #fff; }
.venue-list a:hover .venue__go svg { transform: translateX(4px); }
@media (min-width: 62rem) { .venues__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 5rem; align-items: start; } }
@media (max-width: 30rem) { .venue__go { font-size: 0; gap: 0; } .venue__go svg { width: 1.5rem; height: 1.5rem; } }

/* ---------- Champions ---------- */
.winners__grid { display: grid; gap: 1rem; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: .25rem var(--gutter) 1.25rem; scrollbar-width: thin; }
.winners__grid .frame { scroll-snap-align: start; }
.frame { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.frame__img { position: relative; aspect-ratio: 16 / 10; background: var(--mist); }
.frame__img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B7C1D9' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 3.5h9v6.2a4.5 4.5 0 0 1-9 0z'/%3E%3Cpath d='M7.5 5.5H4.2c0 3 1.2 4.6 3.6 5M16.5 5.5h3.3c0 3-1.2 4.6-3.6 5M12 14.2v3.6M8.2 20.5h7.6M9.6 17.8h4.8'/%3E%3C/svg%3E") no-repeat center / auto 46%;
}
.frame__img img { position: relative; z-index: 1; width: 100%; height: auto; display: block; color: transparent; font-size: 0; }
img[hidden] { display: none; }
.frame__img:has(img:not([hidden])) { aspect-ratio: 4 / 5; }
.frame figcaption { display: grid; gap: .1rem; padding: 1.1rem 1.3rem 1.3rem; }
.frame figcaption strong { font-size: 1.08rem; font-weight: 700; color: var(--navy); }
.frame figcaption span { font-size: .95rem; color: var(--muted); }
@media (min-width: 48rem) {
  .winners__grid { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; overflow: visible; margin-inline: 0; padding: 0; }
  .frame__img { aspect-ratio: 4 / 3; }
  .frame__img:has(img:not([hidden])) { aspect-ratio: 4 / 5; }
}

/* ---------- Founders ---------- */
.founders__grid { display: grid; gap: 1.5rem; }
.founder { display: grid; gap: 1.5rem; align-content: start; padding: clamp(1.5rem, 3vw, 2.25rem); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.founder__head { display: flex; align-items: center; gap: 1.25rem; }
.portrait {
  position: relative;
  flex: none;
  width: 8rem;
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  border-radius: 14px;
}
.portrait--navy { background: var(--navy); }
.portrait--red { background: var(--red); }
.portrait img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.portrait__mono { font-size: 1.9rem; font-weight: 800; font-stretch: 110%; letter-spacing: -.02em; }
.founder h3 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.8rem); font-weight: 800; font-stretch: 106%; letter-spacing: -.015em; }
.founder__role { margin-top: .2rem; font-weight: 600; font-size: .95rem; color: var(--red-deep); }
.founder__body p { color: var(--muted); }
.founder__body p + p { margin-top: .9rem; }
.founder__list { display: grid; gap: .55rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.founder__list li { display: flex; gap: .65rem; align-items: flex-start; font-weight: 500; font-size: .98rem; line-height: 1.45; color: var(--ink); }
.founder__list svg { flex: none; width: 1.2rem; height: 1.2rem; margin-top: .12rem; color: var(--red); }
@media (min-width: 62rem) { .founders__grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; } .portrait { width: 9rem; } }

/* ---------- Join ---------- */
.join__grid { display: grid; gap: 3rem; }
.join__info { display: grid; gap: 1.5rem; align-content: start; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.price { display: grid; gap: .2rem; padding: 1.3rem 1.2rem; background: #fff; color: var(--navy); border-radius: var(--radius); box-shadow: 0 18px 30px -18px rgba(2, 9, 31, .7); }
.price__amt { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3rem); font-weight: 800; font-stretch: 110%; line-height: 1.05; letter-spacing: -.02em; }
.price__for { font-weight: 600; font-size: .98rem; color: var(--muted); }

.bring { display: grid; gap: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .22); }
.bring h3 { font-size: 1.05rem; margin-bottom: .65rem; }
.bring li { display: flex; gap: .7rem; align-items: flex-start; padding-block: .25rem; line-height: 1.45; color: var(--on-navy); }
.bring li svg { flex: none; width: 1.3rem; height: 1.3rem; margin-top: .1rem; padding: .25rem; color: #fff; background: var(--red); border-radius: 50%; }
@media (min-width: 40rem) { .bring { grid-template-columns: 1fr 1fr; gap: 2rem; } }

.rule-note { padding: 1.1rem 1.3rem; font-size: .98rem; line-height: 1.55; color: var(--on-navy); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; }
.rule-note strong { color: #fff; }

.join__form {
  align-self: start;
  padding: clamp(1.4rem, 3.4vw, 2.25rem);
  color: var(--ink);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 36px 60px -30px rgba(2, 9, 31, .8);
  --focus: var(--navy);
}
@media (min-width: 62rem) { .join__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 4.5rem; } }

.form { display: grid; gap: 1.1rem; }
.section--navy .form__title, .form__title { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); font-weight: 800; font-stretch: 106%; letter-spacing: -.015em; color: var(--navy); }
.field { display: grid; gap: .4rem; }
.field[hidden], [data-for][hidden] { display: none; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 34rem) { .field-row { grid-template-columns: 1fr 1fr; } }

label, legend { font-weight: 600; font-size: .92rem; color: var(--ink); }
input[type="text"], input[type="tel"], input[type="date"], input[type="number"], select {
  width: 100%;
  min-height: 3.1rem;
  padding: .6rem .9rem;
  font-size: 1.02rem;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #B7C1D9;
  border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
select {
  appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%230F2C6E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 1.2rem;
}
input::placeholder { color: #6A7390; }
input:hover, select:hover { border-color: var(--navy-lift); }
input:focus-visible, select:focus-visible { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(15, 44, 110, .2); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--red); background-color: #FFF6F5; }
.error { font-size: .92rem; font-weight: 600; color: var(--red-deep); }

fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.seg legend { grid-column: 1 / -1; padding: 0; margin-bottom: .1rem; float: left; width: 100%; }
.seg legend + * { clear: both; }
.seg label { position: relative; display: block; font-weight: 600; font-size: 1rem; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.1rem; padding: .5rem .8rem; text-align: center;
  background: #fff; color: var(--navy);
  border: 1.5px solid #B7C1D9; border-radius: 10px;
  transition: background-color .2s, color .2s, border-color .2s;
}
.seg b { font-weight: 700; color: var(--red-deep); }
.seg input:hover + span { border-color: var(--navy); background: var(--mist); }
.seg input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.seg input:checked + span b { color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.seg .error { grid-column: 1 / -1; }
@media (max-width: 30rem) { .seg--plan span { flex-direction: column; gap: 0; line-height: 1.25; } }

.check { display: flex; gap: .75rem; align-items: flex-start; font-weight: 400; font-size: .98rem; color: var(--ink); cursor: pointer; }
.check input { flex: none; width: 1.3rem; height: 1.3rem; margin: .15rem 0 0; }
.form__fine { font-size: .9rem; color: var(--muted); }

.sent { display: grid; gap: 1rem; }
.sent[hidden], .form[hidden] { display: none; }
.sent p { color: var(--muted); }
.sent__summary { margin: 0; padding: 1rem 1.1rem; font: 400 .95rem/1.55 var(--font); white-space: pre-wrap; background: var(--mist); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); }
.sent__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.sent__actions .btn { flex: 1 1 12rem; }
.linkish { justify-self: start; padding: .3rem 0; background: none; border: 0; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: .25em; cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #fff; padding-block: 3.25rem 2rem; --focus: #fff; }
.site-footer__grid { display: grid; gap: 2rem; }
.site-footer__brand { display: flex; gap: 1rem; align-items: center; max-width: 28rem; }
.site-footer__brand img { width: 4.25rem; height: 4.25rem; border-radius: 50%; flex: none; }
.site-footer__name { font-size: 1.4rem; font-weight: 800; font-stretch: 110%; line-height: 1.1; }
.site-footer__brand p:last-child { margin-top: .25rem; color: var(--on-navy); font-size: .98rem; line-height: 1.5; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.site-footer__nav a, .site-footer__ig { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; font-size: .95rem; text-decoration: none; color: #fff; }
.site-footer__nav a:hover, .site-footer__ig:hover { text-decoration: underline; text-underline-offset: .3em; }
.site-footer__ig { gap: .6rem; }
.site-footer__ig svg { width: 1.4rem; height: 1.4rem; fill: currentColor; }
.site-footer__legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .92rem; color: var(--on-navy); }
@media (min-width: 62rem) { .site-footer__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.85fr) auto; gap: 2.5rem; align-items: center; } .site-footer__nav { gap: .25rem 1.15rem; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route, .route-shot { animation: none; }
  .js .ladder::after { transition: none; }
  .btn, .venue-list a { transition: none; }
}

/* ---------- Added graphics ---------- */
.league__top { display: grid; gap: 2.5rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.league__top .section__head { margin-bottom: 0; }
@media (min-width: 62rem) { .league__top { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 4rem; align-items: end; } }

.ages { display: grid; gap: .85rem; }
.ages__bars {
  display: flex;
  align-items: stretch;
  gap: .45rem;
  height: 12rem;
  padding: 1.25rem 1.1rem .9rem;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.ages__bars li { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem; min-width: 0; }
.ages__bars li::before {
  content: "";
  flex: none;
  height: calc((100% - 1.6rem) * var(--hn));
  background: color-mix(in srgb, var(--navy) var(--t), #C9D7F5);
  border-radius: 8px 8px 3px 3px;
}
.ages__bars li:last-child::before { background: var(--red); }
.ages__bars span { text-align: center; font-size: clamp(.62rem, .5rem + .4vw, .76rem); font-weight: 700; color: var(--navy); line-height: 1.2; }
.ages figcaption { font-size: .95rem; color: var(--muted); }

.scouting__list strong { display: flex; align-items: center; gap: .7rem; }
.scouting__list strong svg { flex: none; width: 2.3rem; height: 2.3rem; padding: .5rem; color: #fff; background: rgba(255, 255, 255, .13); border-radius: 12px; }

.stage--final .stage__body { position: relative; }
.stage__trophy { position: absolute; top: 1.15rem; right: 1.15rem; width: 2.4rem; height: 2.4rem; color: #fff; opacity: .92; }

/* faint pitch markings behind the navy sections */
.section--navy { position: relative; overflow: hidden; isolation: isolate; }
.section--navy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .08;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800' fill='none' stroke='%23fff' stroke-width='5' stroke-linecap='round'%3E%3Ccircle cx='400' cy='400' r='260'/%3E%3Cpath d='M400 20V780'/%3E%3Ccircle cx='400' cy='400' r='10' fill='%23fff'/%3E%3Cpath d='M800 170H640v460h160'/%3E%3C/svg%3E") no-repeat right -10rem center / 50rem auto;
}
.venues.section--navy::before, #venues::before { background-position: left -14rem bottom -12rem; }

/* matchday photo gallery (hidden until photos exist) */
.gallery__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gallery__grid figure { overflow: hidden; border-radius: 18px; background: var(--line); box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.gallery__grid figure:not(:has(img:not([hidden]))) { display: none; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 62rem) {
  .gallery__grid { grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: repeat(2, 15rem); gap: 1.25rem; }
  .gallery__grid figure { aspect-ratio: auto; }
  .gallery__grid figure:nth-child(1) { grid-row: 1 / span 2; }
  .gallery__grid figure:nth-child(4) { grid-column: 2 / span 2; }
}
.scouting__proof { margin: -.4rem 0 1.25rem; font-size: 1.05rem; font-weight: 600; color: var(--on-navy); }
.portrait--navy { grid-template-rows: 1fr auto; }
.portrait__soon { position: absolute; left: .4rem; right: .4rem; bottom: .55rem; font-size: .68rem; font-weight: 600; line-height: 1.2; text-align: center; color: rgba(255, 255, 255, .85); }
.portrait img:not([hidden]) ~ .portrait__soon { display: none; }
/* winner posters share one square frame so the three cards match */
.frame__img:has(img:not([hidden])) { aspect-ratio: 1 / 1; background: var(--mist); }
.frame__img:has(img:not([hidden])) img { height: 100%; object-fit: cover; object-position: center; }
.frame__img:has(img:not([hidden]))::before { display: none; }
@media (min-width: 48rem) { .winners__grid { align-items: start; } }
.portrait img { object-position: center 14%; }