/* Kingston & Poly AC - test site. Ink, electric blue, white; the vest's diagonal is the motif. */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --ink: #0b0e14; --ink-2: #151a24; --ink-3: #222a38;
  --blue: #1d4fff; --blue-2: #4f7dff; --blue-dark: #1236c2;
  --paper: #ffffff; --mist: #f3f5f9; --line: #e1e6ee;
  --text: #1a1f2b; --muted: #596377;
  --ok: #0f7b4f; --warn: #b45309;
  --radius: 14px; --S: clamp(28px, 5.5vw, 88px);
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(11,14,20,.06), 0 8px 24px rgba(11,14,20,.08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--body); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.02; text-transform: uppercase; letter-spacing: .01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.6rem; font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
 main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; border-radius: 4px; }
.muted { color: var(--muted); } .small { font-size: .92rem; }
.eyebrow { font: 700 .85rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-dark); margin: 0 0 1rem; }
.dark .eyebrow, .hero .eyebrow, .cta-band .eyebrow, .site-footer .eyebrow { color: var(--blue-2); }
.lede { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 46rem; opacity: .92; }

/* ---------- header ---------- */
.launch { background: #e8eeff; color: #0f2a8a; display: flex; gap: 1rem; align-items: center; justify-content: center; padding: .35rem 1rem; font-size: .92rem; font-weight: 600; } .launch[hidden] { display: none; } .launch p { margin: 0; } .launch a { color: #0f2a8a; }
.launch-x { min-height: 44px; min-width: 44px; background: none; border: 2px solid #0f2a8a; color: #0f2a8a; border-radius: 999px; padding: 0 .9rem; font: 700 .85rem var(--body); cursor: pointer; }
.staging { background: #fff3c4; color: #5c4400; text-align: center; font-size: .82rem; padding: .35rem 1rem; font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,14,20,.94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand img { width: 210px; }
nav { display: flex; align-items: center; gap: 1.2rem; }
nav ul { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; }
nav a:not(.btn) { white-space: nowrap; color: #cfd6e4; text-decoration: none; font-weight: 600; font-size: .95rem; padding: .55rem .75rem; border-radius: 8px; display: block; }
nav a:not(.btn):hover, nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.09); }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-btn i, .menu-btn i::before, .menu-btn i::after { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; content: ""; transition: .2s; }
.menu-btn i { top: 20px; } .menu-btn i::before { top: -7px; left: 0; right: 0; } .menu-btn i::after { top: 7px; left: 0; right: 0; }
.menu-btn[aria-expanded="true"] i { background: transparent; }
.menu-btn[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); } .menu-btn[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 700 1rem/1 var(--body); padding: .95rem 1.5rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 6px 20px rgba(29,79,255,.35); } .btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-white { background: #fff; color: var(--ink); } .btn-white:hover { background: #e9edf5; color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; } .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); } .btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: .65rem 1.1rem; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---------- diagonal motif (black | white | blue, like the vest) ---------- */
.diag { position: relative; }
.diag::before, .diag::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.diag::before { background: var(--blue); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--S) + 22px), 0 100%); }
.diag::after { background: #fff; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--S) + 8px), 0 calc(100% - 14px)); }
.diag > .dark { position: relative; z-index: 1; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--S)), 0 calc(100% - 22px)); padding-bottom: calc(var(--S) + 2.5rem); }
.dark { background: var(--ink); color: #e8ecf5; } .dark h1, .dark h2, .dark h3 { color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11,14,20,.94) 0%, rgba(11,14,20,.78) 38%, rgba(11,14,20,.12) 78%); }
.hero .container { position: relative; z-index: 2; padding-block: 4rem; }
.hero h1 { max-width: 11ch; margin-bottom: .3em; }
.hero h1 em { font-style: normal; color: var(--blue-2); }
.hero .lede { margin-bottom: 0; }
.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem) 0; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: .25em; }

/* ---------- sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section.mist { background: var(--mist); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head h2 { margin: 0; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: -3.2rem; position: relative; z-index: 3; }
.fact { background: #fff; padding: 1.4rem 1.5rem; }
.fact b { display: block; font: 800 2.3rem/1 var(--display); color: var(--blue); text-transform: uppercase; }
.cost-line { margin: 1rem 0 0; padding: .8rem 1.1rem; background: var(--mist, #eef4fb); border-radius: var(--radius); font-size: .98rem; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; align-items: baseline; }
.cost-line b { color: var(--blue); }
.fact span { color: var(--muted); font-size: .95rem; }
.grid { display: grid; gap: 1.4rem; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } .g5 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { margin-bottom: .35em; }
.card .grow { flex: 1; }
.card.dark { background: var(--ink-2); border-color: var(--ink-3); color: #cfd6e4; }
.tag { display: inline-block; font: 700 .75rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: .4rem .65rem; border-radius: 999px; background: #e8eeff; color: var(--blue-dark); margin-bottom: .9rem; align-self: flex-start; }
.price { font: 800 2.6rem/1 var(--display); color: var(--ink); } .price small { font: 500 .9rem var(--body); color: var(--muted); text-transform: none; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2rem; } .ticks li { padding-left: 1.6rem; position: relative; margin-bottom: .4rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .9rem; height: .55rem; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg) scale(.8); }

/* ---------- steps ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.step { counter-increment: s; position: relative; padding: 4rem 1.4rem 1.4rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { content: counter(s); position: absolute; top: .6rem; left: 1.2rem; font: 800 3.4rem/1 var(--display); color: var(--blue); }
.steps5 { grid-template-columns: repeat(5, 1fr); }
.steps3 { grid-template-columns: repeat(3, 1fr); }
.step h3 { font-size: 1.35rem; } .step p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- fixtures ---------- */
.fixture { display: grid; grid-template-columns: 78px 1fr auto; gap: 1.1rem; align-items: center; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .7rem; }
.fixture time { text-align: center; background: var(--ink); color: #fff; border-radius: 10px; padding: .5rem .2rem; line-height: 1; }
.fixture time b { display: block; font: 800 2rem/1 var(--display); } .fixture time span { font: 700 .75rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-2); }
.fixture h3 { font: 700 1.25rem/1.15 var(--display); margin: 0 0 .15rem; letter-spacing: 0; }
.fixture .venue { color: var(--muted); font-size: .92rem; margin: 0; }
.fixture .tag { margin: 0; }
.month-head { font: 800 1.6rem var(--display); text-transform: uppercase; margin: 2rem 0 .8rem; color: var(--ink); display: flex; align-items: center; gap: .8rem; }
.month-head::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--blue), transparent); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.chip { font: 600 .92rem var(--body); padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--text); }
.chip:hover { border-color: var(--blue); } .chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- news ---------- */
.news-card { padding: 0; overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-4px); color: inherit; box-shadow: 0 2px 4px rgba(11,14,20,.08), 0 16px 36px rgba(11,14,20,.14); }
.news-media { position: relative; overflow: hidden; aspect-ratio: var(--ar, 16 / 10); width: 100%; background: var(--ink-3); }
.news-media img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; }
.news-media--box::before { content: ""; position: absolute; inset: -12%; background: var(--bg) center / cover no-repeat; filter: blur(20px) brightness(.75); }
.news-card .ph { aspect-ratio: 16/10; width: 100%; background: linear-gradient(135deg, var(--ink) 48%, #fff 48% 52%, var(--blue) 52%); }
.news-card .body { padding: 1.2rem 1.4rem 1.5rem; }
.news-card time { font: 700 .8rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.news-card h3 { font-size: 1.45rem; margin: .3rem 0 .5rem; text-transform: none; line-height: 1.1; }
.news-card p { color: var(--muted); font-size: .96rem; margin: 0; }
.feature-news { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; }
.feature-news .news-media { aspect-ratio: auto; height: 100%; min-height: 320px; max-height: 560px; background: var(--ink-3); }
.feature-news .news-media::before { content: ""; position: absolute; inset: -12%; background: var(--bg) center / cover no-repeat; filter: blur(20px) brightness(.75); }
.feature-news .news-media img { position: absolute; inset: 0; }
.prose { font-size: 1.12rem; } .prose p { margin-bottom: 1.1em; }
.article-img { border-radius: var(--radius); margin: 0 auto 2rem; box-shadow: var(--shadow); max-height: 560px; object-fit: contain; }

/* ---------- tables ---------- */
/* the training table: words are never broken mid-word, the columns share the width sensibly, the day and time never split inside a word */
.train-table td, .train-table th { overflow-wrap: normal; word-break: normal; hyphens: manual; }
.train-table th:nth-child(1) { width: 25%; } .train-table th:nth-child(2) { width: 15%; } .train-table th:nth-child(3) { width: 12%; }
.train-table th:nth-child(4) { width: 21%; } .train-table th:nth-child(5) { width: 17%; } .train-table th:nth-child(6) { width: 10%; }
.train-table td:nth-child(3), .train-table td:nth-child(6) { white-space: nowrap; }

.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .98rem; }
th { text-align: left; font: 700 .8rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: .9rem 1rem; background: var(--mist); }
td { padding: .85rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
td b { font-weight: 700; }
#records-table tr.archive-row { display: none; }
#records-table.show-archive tr.archive-row { display: table-row; }
tr.archive-row td { color: var(--muted); background: #fafbfd; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- league cards ---------- */
.league { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: start; }
.league img { width: 64px; height: 64px; object-fit: contain; border-radius: 10px; background: var(--mist); padding: 4px; }
.league h3 { font-size: 1.35rem; margin-bottom: .1em; }
.league .who { font-weight: 600; font-size: .9rem; color: var(--blue-dark); margin-bottom: .4rem; }
.league .actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; grid-column: 1 / -1; }
.hidden { display: none !important; }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.1rem; }
label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: .35rem; }
input, select, textarea { width: 100%; font: inherit; padding: .8rem .95rem; border: 1.5px solid #ccd3e0; border-radius: 10px; background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,79,255,.18); }
textarea { min-height: 150px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.alert { padding: 1rem 1.2rem; border-radius: 10px; font-weight: 600; margin-top: 1rem; }
.alert.ok { background: #e3f6ec; color: #0b5a3a; } .alert.err { background: #fde8e8; color: #8c1d1d; }
.callout { background: #eef2ff; border-left: 5px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.2rem 1.4rem; }
.callout.warn { background: #fff7e6; border-color: #f0a500; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- estimator ---------- */
.estimator { background: var(--ink); color: #dfe5f2; border-radius: 20px; padding: clamp(1.4rem, 4vw, 2.6rem); display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; box-shadow: var(--shadow); }
.estimator h3 { color: #fff; } .estimator label { color: #fff; }
.estimator select, .estimator input { background: var(--ink-2); border-color: #384358; color: #fff; }
.est-out { background: var(--ink-2); border-radius: 16px; padding: 1.6rem; text-align: center; }
.est-out .big { font: 800 4rem/1 var(--display); color: #fff; } .est-out .big small { font-size: 1.1rem; font-weight: 600; color: #9fb1d6; }
.est-out dl { margin: 1rem 0 0; display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; text-align: left; font-size: .95rem; }
.est-out dt { color: #9fb1d6; } .est-out dd { margin: 0; text-align: right; font-weight: 700; color: #fff; }

/* ---------- misc ---------- */
.split > * { min-width: 0; } td { overflow-wrap: anywhere; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.photo { border-radius: 20px; box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.cta-band { position: relative; overflow: hidden; background: var(--blue); color: #fff; border-radius: 24px; padding: clamp(2rem, 5vw, 3.6rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band::after { content: ""; position: absolute; right: -4%; top: -20%; bottom: -20%; width: 34%; background: linear-gradient(115deg, transparent 34%, #fff 34% 40%, var(--ink) 40%); opacity: .95; }
.cta-band > * { position: relative; z-index: 1; } .cta-band h2 { color: #fff; margin: 0 0 .2em; } .cta-band p { margin: 0; max-width: 34rem; }
.cta-band .btn { position: relative; z-index: 2; }
.sponsor { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; } .sponsor img { background: #fff; border-radius: 12px; padding: 1rem; max-width: 220px; }
.vest-panel { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; }
.vest-panel img { max-height: 280px; margin-inline: auto; filter: drop-shadow(0 10px 18px rgba(0,0,0,.25)); }
.timeline { border-left: 3px solid var(--blue); padding-left: 1.4rem; margin-left: .4rem; } .timeline p { margin-bottom: .8rem; }
.pdf { width: 100%; height: 620px; border: 1px solid var(--line); border-radius: var(--radius); }
details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 0 1.2rem; margin-bottom: .7rem; }
summary { cursor: pointer; font-weight: 700; padding: 1rem 0; }
details[open] summary { color: var(--blue); } details > :not(summary) { padding-bottom: .4rem; }

/* ---------- age checker (ported) ---------- */
.ag-result-box { padding: 14px 16px; border-radius: 10px; margin-top: 12px; text-align: left; font-size: .95rem; }
.ag-new { background: #e8f5e9; border-left: 4px solid #43a047; } .ag-old { background: #fff8e1; border-left: 4px solid #ffa726; }
.ag-label { font: 800 2.4rem/1 var(--display); display: block; margin-bottom: 4px; text-transform: uppercase; }
.specs-panel { margin-top: 14px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-align: left; }
.specs-header { background: var(--mist); padding: 10px 14px; font-weight: 700; font-size: .9rem; display: flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.specs-chevron { margin-left: auto; transition: transform .2s; } .specs-chevron.open { transform: rotate(180deg); }
.specs-body { padding: 12px 14px; } .specs-body.collapsed { display: none; }
.specs-section-title { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 12px 0 6px; }
.specs-table { font-size: .82rem; } .specs-table th, .specs-table td { padding: 5px 7px; border: 1px solid var(--line); white-space: nowrap; }
.cdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); margin-right: 4px; vertical-align: middle; }
.throws-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .throw-card { background: var(--mist); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.throw-card .t-name { font-size: .72rem; font-weight: 700; text-transform: uppercase; color: var(--muted); } .throw-card .t-val { font-size: 1.1rem; font-weight: 700; }
.no-spec { font-size: .85rem; color: var(--muted); } .spec-source { font-size: .72rem; color: #98a2b5; margin: 10px 0 0; }
.date-row { display: grid; grid-template-columns: 1fr 1.6fr 1.2fr; gap: .6rem; }


/* ---------- compete page: age picker + leagues + fixtures side panel ---------- */
.compete { display: grid; gap: 1.6rem 2rem; grid-template-columns: minmax(0, 1fr) 410px; grid-template-areas: "age fix" "leagues fix"; align-items: start; }
.c-age { grid-area: age; } .c-leagues { grid-area: leagues; } .c-fix { grid-area: fix; position: sticky; top: 88px; align-self: start; }
.calc { margin-top: 1.1rem; border: 1px dashed #b8c2d6; border-radius: 12px; padding: 0 1.1rem; background: var(--mist); box-shadow: none; }
.calc summary { padding: .9rem 0; }
.filter-note { margin: 1.1rem 0 0; background: #e8eeff; border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; padding: .8rem 1rem; font-size: .95rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--blue); cursor: pointer; text-decoration: underline; margin-left: .5rem; }
.fx-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0; box-shadow: var(--shadow); }
.fx-panel summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; font: 800 1.5rem var(--display); text-transform: uppercase; background: var(--ink); color: #fff; border-radius: var(--radius); }
.fx-panel[open] summary { border-radius: var(--radius) var(--radius) 0 0; }
details.fx-panel[open] summary { color: #fff; }
details.fx-panel { padding: 0 !important; }
.fx-panel summary::-webkit-details-marker { display: none; }
.fx-count { font: 600 .9rem var(--body); text-transform: none; color: #9fb1d6; letter-spacing: 0; }
.fx-panel summary::after { content: "+"; font: 700 1.6rem/1 var(--body); color: var(--blue-2); margin-left: .8rem; }
.fx-panel[open] summary::after { content: "–"; }
.fx-panel.fixed summary { cursor: default; } .fx-panel.fixed summary::after { display: none; }
.fx-panel[open] > .fx-body { padding: 1rem 1.1rem 1.2rem; }
.fx-body { max-height: calc(100vh - 220px); overflow-y: auto; }
.fx-body .chips { gap: .35rem; margin-bottom: .7rem; } .fx-body .chip { padding: .38rem .75rem; font-size: .82rem; }
.check { display: flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .88rem; color: var(--muted); margin-bottom: .6rem; } .check input { width: auto; }
.fx-body .month-head { font-size: 1.15rem; margin: 1.1rem 0 .5rem; }
.fx { display: grid; grid-template-columns: 54px 1fr; gap: .8rem; padding: .75rem 0; border-top: 1px solid var(--line); }
.fx time { text-align: center; background: var(--mist); border-radius: 10px; padding: .35rem 0; line-height: 1; align-self: start; }
.fx time b { display: block; font: 800 1.5rem/1 var(--display); color: var(--ink); } .fx time span { font: 700 .66rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.fx h4 { font: 700 1.05rem/1.2 var(--body); text-transform: none; letter-spacing: 0; margin: 0 0 .15rem; }
.fx-where, .fx-info, .fx-ages { margin: 0 0 .25rem; font-size: .88rem; line-height: 1.45; } .fx-info { color: #3a4458; background: #f8f9fc; border-left: 3px solid var(--blue-2); padding: .3rem .6rem; border-radius: 0 6px 6px 0; }
.fx-where a { color: var(--muted); }
.agepill { display: inline-block; font: 700 .72rem/1 var(--body); padding: .28rem .5rem; border-radius: 999px; background: #e8eeff; color: var(--blue-dark); margin-right: .25rem; }
.fx-more { margin: .35rem 0 0; font-size: .88rem; font-weight: 700; }
.rec-fields { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 1.1rem; }
.form.is-off { opacity: .5; filter: grayscale(1); pointer-events: none; user-select: none; }
.form-embed { margin: 1.2rem 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
/* the Google Form is about 5,900px tall on a laptop and about 6,700px on a phone; sized so it needs no scrollbar of its own */
.form-embed iframe { display: block; width: 100%; height: 6000px; border: 0; }
@media (max-width: 700px) { .form-embed iframe { height: 6900px; } }
.mail-btns { display: grid; gap: .6rem; margin: 1rem 0 0; }
.mail-btns .btn { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; text-align: left; flex-wrap: wrap; }
.mail-btns .btn span { font-weight: 400; font-size: .9rem; opacity: .85; word-break: break-all; }
.agepill.level { background: #fff1d6; color: #7a4a00; }
.agepill.none { background: #f1f2f5; color: #4d576b; font-weight: 600; }
@media (max-width: 1020px) {
  .compete { grid-template-columns: minmax(0, 1fr); grid-template-areas: "age" "fix" "leagues"; }
  .c-fix { position: static; } .fx-body { max-height: none; overflow: visible; }
}

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .7rem; margin: 2rem 0; }
.photo-grid a { display: block; border-radius: 12px; overflow: hidden; background: var(--ink-3); }
.photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .25s; } .photo-grid a:hover img { transform: scale(1.05); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #aab4c8; margin-top: 0; padding-top: 4rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.foot-logo { width: 230px; margin-bottom: 1rem; }
.site-footer h2 { color: #fff; font-size: 1.1rem; letter-spacing: .08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; } .site-footer li { margin-bottom: .45rem; }
.site-footer a { color: #cfd6e4; text-decoration: none; } .site-footer a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-weight: 600; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-block: 1.4rem; font-size: .88rem; }
.policies { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .menu-btn { display: block; }
  nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.6rem; border-bottom: 1px solid rgba(255,255,255,.1); display: none; max-height: calc(100vh - 80px); overflow: auto; }
  nav.open { display: flex; } nav ul { flex-direction: column; } nav a:not(.btn) { font-size: 1.1rem; padding: .8rem .5rem; }
  nav .btn { width: 100%; }
}
@media (max-width: 1020px) {
  .g4, .steps, .steps5, .steps3 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } .facts { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; } .estimator, .split, .feature-news { grid-template-columns: minmax(0, 1fr); }
  .feature-news .news-media { aspect-ratio: var(--ar, 16 / 10); height: auto; min-height: 0; max-height: none; }
}
@media (max-width: 760px) {
  /* tables become one card per row (site.js adds the stack class and the labels); short fields sit two to a line */
  table.stack, table.stack tbody { display: block; }
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap:has(table.stack) { overflow-x: visible; border: 0; background: none; border-radius: 0; }
  table.stack tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 1rem; row-gap: .1rem; align-content: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .95rem 1rem 1rem; margin-bottom: .9rem; }
  table.stack td { display: block; grid-column: 1 / -1; padding: .2rem 0; border: 0; overflow-wrap: break-word; min-width: 0; }
  table.stack td[data-label="Ages"], table.stack td[data-label="When"], table.stack td[data-label="Performance"], table.stack td[data-label="Athlete"] { grid-column: auto; }
  table.stack td:first-child:not([data-label]) { font-size: 1.05rem; padding-bottom: .3rem; }
  table.stack td[data-label]::before { content: attr(data-label); display: block; font: 700 .68rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-top: .35rem; }
  table.stack td[data-label="When"] br { display: none; } table.stack .tt-name .muted { display: block; margin-top: .15rem; line-height: 1.4; } table.stack .tt-time::before { content: " · "; }
  table.stack .tt-name b { font-size: 1.15rem; }
  table.stack td.num { font-size: 1.25rem; line-height: 1.25; }
  table.stack td[colspan] { text-align: center; }
  table.stack .tt-go { padding-top: .6rem; } table.stack .tt-go .btn { width: 100%; margin: 0 !important; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; } .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .g2, .g3, .g4, .g5, .steps, .steps5, .steps3, .row2, .foot-grid, .vest-panel { grid-template-columns: 1fr; }
  .facts { margin-top: -2rem; } .fact b { font-size: 1.8rem; } .fact { padding: 1rem; }
  .fixture { grid-template-columns: 64px 1fr; } .fixture .tag { grid-column: 2; }
  .hero::before { background: linear-gradient(180deg, rgba(11,14,20,.72), rgba(11,14,20,.94)); }
  .hero { align-items: flex-end; } .brand img { width: 170px; }
  .cta-band::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .staging, .launch, .btn-row, .cta-band { display: none; } }

/* ---- the joining and coaching form ---- */
.jf { margin: 1.2rem 0; }
.jf fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.jf legend, .jf label { font-weight: 700; display: block; margin-bottom: .35rem; }
.jf-start { display: grid; gap: .8rem; margin-bottom: 1.4rem; }
.jf-card { display: flex !important; gap: .9rem; align-items: flex-start; padding: 1rem 1.2rem; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; font-weight: 400 !important; }

.jf-card b { display: block; font-size: 1.1rem; } .jf-card small { color: var(--muted); font-size: .92rem; }
.jf-card:has(input:checked) { border-color: var(--blue); background: #eef3ff; }
.jf-body, .jf-done { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem 1.6rem; box-shadow: var(--shadow); }
.jf-progress { margin-bottom: 1.2rem; }
.jf-bar { height: 8px; background: #e6ebf5; border-radius: 99px; overflow: hidden; } .jf-bar span { display: block; height: 100%; width: 0; background: var(--blue); transition: width .25s; }
.jf-step { display: grid; gap: 1.1rem; outline: none; } .jf-step h3 { margin: 0; }
.jf-field { display: grid; gap: .1rem; }
.jf-opts { display: grid; gap: .45rem; } .jf-opts.jf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jf-opt { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 400 !important; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: 10px; margin: 0 !important; cursor: pointer; }

.jf-error { color: #8c1d1d; font-weight: 600; font-size: .95rem; margin: .35rem 0 0; min-height: 0; } .jf-error:empty { display: none; }
.jf-error::before { content: "Error: "; }
/* Accessible choices (WCAG 2.2): 28px controls and whole-row targets (2.5.8), 3:1 borders (1.4.11), a tick or dot as well as colour (1.4.1),
   a strong two-colour focus ring (2.4.7, 2.4.11, 2.4.13), and Windows high-contrast support. */
.jf-opt, .jf-card { --jf-edge: #5b6577; min-height: 44px; }
.jf-opt { border-color: var(--jf-edge); } .jf-card { border-color: var(--jf-edge); }
.jf-opt input, .jf-card input { appearance: none; -webkit-appearance: none; flex: none; width: 1.75rem; height: 1.75rem; margin: 0; padding: 0; display: grid; place-content: center; background: #fff; border: 2px solid var(--jf-edge); cursor: pointer; }
.jf-opt input[type="radio"], .jf-card input[type="radio"] { border-radius: 50%; }
.jf-opt input[type="checkbox"] { border-radius: 6px; }
.jf-opt input::before, .jf-card input::before { content: ""; transform: scale(0); transition: transform .1s; }
.jf-opt input[type="radio"]::before, .jf-card input[type="radio"]::before { width: .85rem; height: .85rem; border-radius: 50%; background: var(--blue); }
.jf-opt input[type="checkbox"]::before { width: .9rem; height: .5rem; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg) scale(0); margin-top: -.15rem; }
.jf-opt input:checked::before, .jf-card input:checked::before { transform: scale(1); }
.jf-opt input[type="checkbox"]:checked::before { transform: rotate(-45deg) scale(1); }
.jf-opt input[type="checkbox"]:checked { background: var(--blue); border-color: var(--blue); }
.jf-opt input:checked, .jf-card input:checked { border-color: var(--blue); }
.jf-opt:has(input:checked), .jf-card:has(input:checked) { border-color: var(--blue); border-width: 2px; background: #eef3ff; }
.jf-opt { border-width: 2px; padding: .5rem .7rem; align-items: center; }
.jf-opt:has(input:focus-visible), .jf-card:has(input:focus-visible) { outline: 3px solid #1a1a1a; outline-offset: 2px; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--blue); }
.jf-opt:hover, .jf-card:hover { background: #f4f7fd; }
.jf-bad .jf-opt, .jf-bad .jf-card, .jf-start .jf-bad { border-color: #c53030; }
fieldset.jf-bad > legend::before { content: "\26A0\FE0F  "; }
@media (forced-colors: active) {
  .jf-opt input, .jf-card input { border-color: ButtonText; forced-color-adjust: none; }
  .jf-opt input::before, .jf-card input::before { background: Highlight; }
  .jf-opt input[type="checkbox"]::before { background: none; border-color: HighlightText; }
  .jf-opt input[type="checkbox"]:checked { background: Highlight; border-color: Highlight; }
  .jf-opt:has(input:checked), .jf-card:has(input:checked) { outline: 2px solid Highlight; }
}
@media (prefers-reduced-motion: reduce) { .jf-opt input::before, .jf-card input::before { transition: none; } }
.jf-bad input, .jf-bad select, .jf-bad textarea { border-color: #c53030; }
.jf-trap { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.jf-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; }
.jf-done h3 { margin-top: 0; } .jf-done ol { padding-left: 1.2rem; } .jf-done li { margin-bottom: .4rem; } .jf-done { outline: none; }
@media (max-width: 700px) { .jf-opts.jf-cols { grid-template-columns: 1fr; } .jf-body, .jf-done { padding: 1.1rem; } }
.social-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; margin: 1.6rem 0 0; }
.social-row .muted { margin-right: .3rem; }
