/* FB Amsterdam Agents: page CSS on top of the Taste Skill system.
   Brand kit: Rumblesports Athletic Cap uppercase for headlines and numbers, Agents Blue, Ink Black, white,
   the signature gradient and the Amsterdam X. Nike reference (style only): big uppercase type, flat chrome,
   photographs carry the colour. */

/* Headlines in the club face, uppercase as the brand kit sets them */
h1, h2, .t-stat, .trophy__year, .jersey__no, .score, .next-match__teams, .close__word { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0; }
h1 { line-height: .95; }
h2 { line-height: 1; }
h3 { font-family: var(--font-text); font-weight: 500; }

/* Nav: the club logo (mono white on the black bar) and the wordmark in the display face */
.nav__logo { gap: var(--s-3); }
.club-disc { width: 44px; height: 44px; border-radius: 999px; background: #050708; display: grid; place-items: center; flex: 0 0 auto; }
.club-logo { width: 38px; height: 38px; display: block; }
.club-word { font-family: var(--font-display); font-size: 20px; text-transform: uppercase; letter-spacing: .02em; }
@media (max-width: 400px) { .club-word { font-size: 17px; } }

/* Hero: the photograph sits in its frame; the float card names the title */


/* Statement: the club's signature gradient with the Amsterdam X outlines, white words */
.statement--club {
  --bg: #02284b; --ink: #ffffff; --muted: #d7e1eb; --accent: #ffffff; --line: rgba(255,255,255,.18);
  background: radial-gradient(120% 70% at 100% 45%, rgba(0,2,21,.7) 0%, rgba(0,2,21,0) 60%), linear-gradient(180deg, #001930 0%, #02284b 45%, #014794 100%);
  color: #ffffff; position: relative; overflow: hidden;
}
.statement--club .xxx { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.statement--club .mo-wh__text strong { color: #ffffff; }

/* Shared: photographs in their frames, square to the grid, zoom on hover through the motion layer */
.train-photo, .fees-photo, .ams-photo, .trophy-photo, .signup-photo, .jeugd-photo, .squads__kit { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.train-photo img, .fees-photo img, .ams-photo img, .trophy-photo img, .signup-photo img, .jeugd-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.train-photo, .fees-photo, .trophy-photo, .ams-photo, .jeugd-photo { width: 100%; height: clamp(320px, calc(100svh - 380px), 520px); }
.signup-photo { align-self: stretch; position: relative; min-height: 280px; }
.signup-photo img { position: absolute; inset: 0; }
@media (max-width: 1023px) {
  .train-photo, .fees-photo, .trophy-photo, .ams-photo, .jeugd-photo { height: auto; aspect-ratio: 21 / 9; margin-top: var(--s-6); }
}

/* Team picker: pill buttons, the chosen one filled in Agents Blue (Nike's filter-chip pattern in the club colour) */
.team-pick { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }
.team-pick button {
  min-height: 44px; padding: 0 var(--s-5); border-radius: 999px; border: 1px solid var(--line-strong, rgba(5,7,8,.3));
  background: var(--bg); color: var(--ink); font: 500 16px/1 var(--font-text); cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.team-pick button:hover { border-color: var(--ink); }
.team-pick button:active { transform: scale(.96); }
.team-pick button[aria-pressed="true"] { background: var(--action); border-color: var(--action); color: var(--action-ink, #fff); }
@media (prefers-reduced-motion: reduce) { .team-pick button { transition: none; } .team-pick button:active { transform: none; } }

/* Squads: the team picker across the top, the home kit at the left, the roster as jersey tiles */
.squads__kit { padding: var(--s-4); height: 100%; display: flex; align-items: center; }
.squads__kit img { display: block; width: 100%; height: auto; border-radius: var(--r-md); }
.roster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); align-content: start; }
.jersey {
  position: relative; display: flex; align-items: center; gap: var(--s-3); min-height: 76px; padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md); background: var(--p-inv-bg); color: #ffffff; overflow: hidden;
  transition: transform .18s ease, background-color .18s ease;
}
.jersey:hover { transform: translateY(-2px); background: var(--p-accent); }
.jersey__no { flex: 0 0 52px; font-size: 40px; line-height: 1; color: #ffffff; text-align: center; }
.jersey__name { font-size: 15px; line-height: 1.25; text-transform: uppercase; letter-spacing: .03em; }
@media (prefers-reduced-motion: reduce) { .jersey { transition: none; } .jersey:hover { transform: none; } }
@media (max-width: 1279px) { .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .squads__kit { display: none; } .roster { grid-column: 1 / -1; } }
@media (max-width: 639px) {
  .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
  .jersey { min-height: 56px; gap: var(--s-2); padding: var(--s-2) var(--s-3); }
  .jersey__no { flex-basis: 36px; font-size: 28px; }
  .jersey__name { font-size: 13px; }
}

/* Tablet: the two groups of rows stay side by side */
@media (min-width: 640px) and (max-width: 1023px) {
  #training .grid > .span-3, #fees .grid > .span-3 { grid-column: span 6; }
}
/* Results: one row per match, a win, draw or loss mark, the score in the club face */
.results { list-style: none; margin: 0; padding: 0; }
.results li {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) auto 28px; align-items: center; gap: var(--s-4);
  min-height: 60px; border-bottom: 1px solid var(--line);
}
.results__date { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.results__teams { font-size: 16px; line-height: 1.3; }
.results__teams b { font-weight: 500; }
.score { font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wdl { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; font: 500 13px/1 var(--font-text); }
.wdl--w { background: var(--p-accent); color: #fff; }
.wdl--d { background: var(--surface); color: var(--ink); }
.wdl--l { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong, rgba(5,7,8,.3)); }
.matches__src { margin-top: var(--s-5); }
@media (max-width: 639px) {
  .results li { grid-template-columns: minmax(0, 1fr) auto 28px; padding-block: var(--s-2); }
  .results__date { grid-column: 1 / -1; }
}

/* Next match: a dark card in the brand gradient, the date and the teams set large */
.next-match {
  border-radius: var(--r-lg); padding: var(--s-7); color: #fff; min-height: 520px; background-color: #02284b;
  background-image: radial-gradient(120% 70% at 100% 45%, rgba(0,2,21,.7) 0%, rgba(0,2,21,0) 60%), linear-gradient(180deg, #001930 0%, #02284b 45%, #014794 100%);
  display: flex; flex-direction: column; gap: var(--s-4);
}
.next-match .t-label { color: #d7e1eb; }
.next-match__when { font-size: 20px; line-height: 1.4; }
.next-match__teams { font-size: clamp(32px, 3vw, 44px); line-height: 1; margin-top: auto; }
.next-match__teams span { display: block; color: #d7e1eb; font-size: .55em; margin-block: var(--s-2); }
.next-match__where { color: #d7e1eb; }
.next-match__count { font-family: var(--font-display); font-size: calc(var(--t-h2) * .8); line-height: 1; }
@media (max-width: 1023px) { .next-match { margin-top: var(--s-7); min-height: 0; } }

/* Training groups and fees: label then ruled rows */
.train-group .t-label, #fees .t-label { margin-bottom: var(--s-3); }

/* Trophy cabinet: ruled rows, the year set large, 2026 in gold as in the club's own draft */
.trophies { list-style: none; margin: 0; padding: 0; }
.trophy { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: var(--s-5); align-items: baseline; padding-block: var(--s-3); border-bottom: 1px solid var(--line); }
.trophy__year { font-size: 32px; line-height: 1; }
.trophy--gold .trophy__year { color: #8a6a0f; }
@media (max-width: 639px) { .trophy { grid-template-columns: 96px minmax(0, 1fr); } .trophy__year { font-size: 24px; } }

/* Amsterdamned */
.ams-btn { margin-top: var(--s-7); }

/* Sign-up form beside its photograph */

.signup-form select { width: 100%; min-height: 48px; font: inherit; font-size: 16px; padding: 0 var(--s-4); border-radius: var(--r-sm); border: 1px solid var(--line-strong, rgba(5,7,8,.3)); background: var(--bg); color: var(--ink); }
@media (max-width: 1023px) { .signup-photo { aspect-ratio: 21 / 9; margin-bottom: var(--s-6); } }
@media (max-width: 639px) { .signup-photo { aspect-ratio: 4 / 5; } }

/* Footer: partner logos on black plates */
.partners { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.partners a { display: flex; align-items: center; justify-content: center; width: 180px; height: 72px; padding: var(--s-3) var(--s-5); background: var(--p-inv-bg); border-radius: var(--r-md); transition: transform .18s ease; }
.partners a:hover { transform: translateY(-2px); }
.partners img { max-width: 100%; max-height: 100%; display: block; }

/* View transitions for the team switch (squad and fixtures) */
::view-transition-old(roster), ::view-transition-new(roster), ::view-transition-old(results), ::view-transition-new(results) { animation-duration: .28s; }
.roster { view-transition-name: roster; }
.results { view-transition-name: results; }

/* 1024 to 1279: tighter rows so each section stays one screen */
@media (min-width: 1024px) and (max-width: 1279px) {
  .jersey { min-height: 60px; }
  .results li { min-height: 44px; }
  .score { font-size: 24px; }
  .team-pick { margin-bottom: var(--s-4); }
  .next-match { min-height: 360px; }
  .rows > li { padding-block: 12px; }
  .trophy { padding-block: 6px; }
  .trophy__year { font-size: 26px; }
}
/* Phone: the roster three across, the number over the name; tall photographs fill the two-screen sections */
@media (max-width: 639px) {
  .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jersey { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 64px; }
  .jersey__no { flex-basis: auto; font-size: 26px; text-align: left; }
  .jersey__name { font-size: 13px; letter-spacing: .01em; }
  .team-pick { gap: 6px; margin-bottom: var(--s-4); }
  .team-pick button { padding: 0 var(--s-3); font-size: 15px; }
  #training .train-photo, #trophies .trophy-photo, #amsterdamned .ams-photo, #fees .fees-photo { aspect-ratio: 4 / 5; }
}@media (min-width: 640px) and (max-width: 1023px) {
  .matches__main { grid-column: 1 / span 6; }
  .next-match { grid-column: 7 / span 6; margin-top: 0; min-height: 0; padding: var(--s-5); }
  .results li { grid-template-columns: minmax(0, 1fr) auto 28px; padding-block: var(--s-2); }
  .results__date { grid-column: 1 / -1; }
  #first-trainings .mo-pc__visual img { height: 160px; width: 100%; object-fit: cover; }
  .jeugd-photo { aspect-ratio: 4 / 3; }
  .signup-photo { aspect-ratio: auto; height: 240px; min-height: 0; width: 100%; }
  #teams .roster { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .jeugd-photo { aspect-ratio: 4 / 3; }
  .train-photo, .fees-photo, .trophy-photo, .ams-photo, .jeugd-photo, .signup-photo { aspect-ratio: 3 / 1; }
}
/* Squads photograph beside the roster, as tall as five rows of jerseys */
.squads-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; height: 360px; background: var(--surface); }
#teams .roster { margin-top: var(--s-5); grid-template-columns: repeat(5, minmax(0, 1fr)); }
#teams .team-pick { margin-bottom: 0; }
.squads-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
@media (min-width: 1024px) and (max-width: 1279px) { .squads-photo { height: 260px; } #teams .roster { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .squads-photo { height: auto; aspect-ratio: 3 / 1; margin-top: var(--s-5); } #teams .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 639px) { .squads-photo { aspect-ratio: 4 / 5; } }
@media (min-width: 640px) and (max-width: 1023px) {
  .jeugd-photo { aspect-ratio: 4 / 3; }
  .signup-photo { aspect-ratio: auto; height: 240px; min-height: 0; width: 100%; }
}
@media (min-width: 640px) and (max-width: 1023px) { .squads-photo { aspect-ratio: 4 / 1; } }

/* Web Interface Guidelines pass */
h1, h2, h3 { text-wrap: balance; }
a, button, .btn, select, input { touch-action: manipulation; }
.jersey__name { min-width: 0; overflow-wrap: anywhere; }
.results__teams { min-width: 0; overflow-wrap: anywhere; }
.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; }
.results__empty { padding-block: var(--s-4); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .partners a { transition: none; } .partners a:hover { transform: none; } }
/* ===== Immersive layer (client request, 30 Nov): Ink Black header, the signature gradient in the hero,
   scroll-driven motion in the hero and on section photographs, the gradient running on into the statement ===== */

/* Header in Ink Black; its button stays Agents Blue so the page keeps one primary button */
.nav--tone { --bg: #050708; background: #050708; border-bottom-color: #1e3247; }
.nav--tone .club-disc { background: transparent; }
.nav--tone .btn--primary { --action: #10467b; --action-ink: #ffffff; background: #10467b; color: #ffffff; }
.nav--tone .btn--primary:hover { background: #0d3a66; }

/* Hero on the gradient, white words, the court drawn in behind them */
.hero--club {
  --ink: #ffffff; --muted: #d7e1eb; --line: rgba(255,255,255,.18); --line-strong: rgba(255,255,255,.5);
  --action: #10467b; --action-ink: #ffffff; --surface: #0a2440;
  position: relative; overflow: hidden; color: #ffffff; background-color: #001930;
  background-image: radial-gradient(90% 55% at 100% 32%, rgba(0,2,21,.7) 0%, rgba(0,2,21,0) 70%), linear-gradient(180deg, #001930 0%, #02284b 45%, #014794 100%);
  view-timeline: --club-hero block;
}
.hero--club > .wrap { position: relative; z-index: 1; }
.hero--club .hero__kicker, .hero--club .hero__lead { color: #d7e1eb; }
.hero--club h1 { color: #ffffff; text-shadow: 0 4px 14px rgba(0,0,0,.45); }
.hero--club .btn--primary { box-shadow: 0 12px 28px rgba(0,0,0,.45); }
.hero--club .btn--secondary { color: #ffffff; border-color: rgba(255,255,255,.7); background: rgba(5,7,8,.25); }
.hero--club .btn--secondary:hover { background: rgba(255,255,255,.12); }
.hero--club .hero__media { box-shadow: 0 14px 28px rgba(0,0,0,.4); }
.hero--club::before { content: ""; position: absolute; top: calc(var(--nav) + 24px); bottom: 64px; left: 24px; right: 24px; background: url(../img/court.svg) 50% 0 / contain no-repeat; z-index: 0; pointer-events: none; transform-origin: 50% 0; }


/* The statement carries the gradient on from the hero's foot (#014794) back to its top colour: no seam */
.statement--club {
  background-color: #014794;
  background-image: radial-gradient(90% 55% at 0% 72%, rgba(0,2,21,.55) 0%, rgba(0,2,21,0) 70%), linear-gradient(180deg, #014794 0%, #02284b 55%, #001930 100%);
}

/* Footer in Ink Black to close the page as the header opens it; its main button stays Agents Blue */
.footer--dark { --bg: #050708; background: #050708; }
.footer--dark .btn--primary { --action: #10467b; --action-ink: #ffffff; background: #10467b; color: #ffffff; }
.footer--dark .partners a { background: #111415; }

/* Scroll-driven motion: runs on the compositor, only where the browser has scroll timelines and the
   visitor has not asked for reduced motion; everything rests in place otherwise */
@supports (view-timeline: --a) {
  @media (prefers-reduced-motion: no-preference) {
    /* the hero: the words drift up and ease back, the photograph pushes in, the court opens out */
    .hero--club .hero__text { animation: club-hero-text linear both; animation-timeline: --club-hero; animation-range: exit 0% exit 90%; }
    .hero--club .hero__media > img { animation: club-hero-photo linear both; animation-timeline: --club-hero; animation-range: exit 0% exit 100%; }
    .hero--club .ly-float { animation: club-hero-float linear both; animation-timeline: --club-hero; animation-range: exit 0% exit 70%; }
    .hero--club::before { animation: club-hero-court linear both; animation-timeline: --club-hero; animation-range: exit 0% exit 100%; }
  }
}
@keyframes club-hero-text { to { transform: translateY(-96px); opacity: .25; } }
@keyframes club-hero-photo { to { transform: scale(1.14) translateY(4%); } }
@keyframes club-hero-float { to { transform: translateY(-48px); } }
@keyframes club-hero-court { to { transform: scale(1.12); } }
@keyframes club-x { from { transform: rotate(-4deg) scale(1.04); } to { transform: rotate(4deg) scale(1.1); } }
@keyframes club-settle { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes club-rise { from { transform: translateY(40px); } to { transform: translateY(0); } }
.hero--club .ly-float { --ink: #050708; --muted: #4a6074; color: #050708; }
.hero--club .ly-float .ly-live { color: #050708; }

/* Header: the club logo fills the bar, the name in Barlow ExtraBold 800 as the brand kit sets the wordmark */
.nav .nav__logo { gap: 12px; }
.nav .club-disc { width: 56px; height: 56px; background: transparent; }
.nav .club-logo { width: 56px; height: 56px; }
.nav .club-word { font-family: "Barlow", var(--font-text); font-weight: 800; font-size: 22px; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
@media (max-width: 639px) {
  .nav .club-disc, .nav .club-logo { width: 44px; height: 44px; }
  .nav .club-word { font-size: 16px; letter-spacing: .04em; }
}

/* Exesport's logo file has its own black ground: its plate matches it */
.partners a[href*="exesport"] { background: #000000; }
/* Sign-up (rebuilt from the club's Join page): steps and a note at the left, the tabbed forms on a card at the right */
.signup-side { display: flex; flex-direction: column; gap: var(--s-6); }
.signup-sub { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 22px; line-height: 1.1; margin: 0; }
.next-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-5); }
.next-steps li { display: flex; gap: var(--s-4); align-items: flex-start; }
.next-steps p { margin: 2px 0 0; }
.next-steps__no { flex: 0 0 44px; height: 44px; border-radius: 999px; background: var(--p-accent); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 20px; }
.signup-note { background: var(--surface); border-radius: var(--r-md); padding: var(--s-5); }
.signup-note p { margin: 4px 0 0; }
.signup-photo { aspect-ratio: 16 / 9; min-height: 0; }
.signup-card { background: var(--surface); border-radius: var(--r-lg); padding: var(--s-7); }
.signup-tabs { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--bg); margin-bottom: var(--s-6); }
.signup-tabs button { flex: 1 1 0; min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 500 16px/1 var(--font-text); cursor: pointer; transition: background-color .18s ease, color .18s ease; }
.signup-tabs button[aria-selected="true"] { background: var(--p-accent); color: #fff; }
.signup-form { display: flex; flex-direction: column; gap: var(--s-5); }
.signup-form .botcheck { display: none; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.form-grid__full { grid-column: 1 / -1; }
.signup-form select, .signup-form textarea { width: 100%; font: inherit; font-size: 16px; border-radius: var(--r-sm); border: 1px solid var(--line-strong, rgba(5,7,8,.3)); background: var(--bg); color: var(--ink); }
.signup-form select { min-height: 48px; padding: 0 var(--s-3); }
.signup-form textarea { padding: var(--s-3); resize: vertical; min-height: 96px; }
.choice-set { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.choice-set legend { font-weight: 500; margin-bottom: var(--s-2); padding: 0; }
.choice-hint { margin: -4px 0 4px; }
.choice-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.choice { display: flex; align-items: center; gap: var(--s-3); min-height: 52px; padding: var(--s-2) var(--s-4); border: 1px solid var(--line-strong, rgba(5,7,8,.3)); border-radius: var(--r-md); background: var(--bg); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--p-accent); box-shadow: inset 0 0 0 1px var(--p-accent); }
.choice input, .consent input { width: 20px; height: 20px; margin: 0; flex: 0 0 auto; accent-color: var(--p-accent); }
.consent { display: flex; align-items: flex-start; gap: var(--s-3); cursor: pointer; }
.consent input { margin-top: 3px; }
.signup-welcome { background: var(--bg); border-radius: var(--r-md); padding: var(--s-5); }
.signup-welcome p { margin: 6px 0 0; }
@media (max-width: 1023px) { .signup-card { margin-top: var(--s-7); } }
@media (max-width: 639px) {
  .signup-card { padding: var(--s-5); }
  .form-grid, .choice-row { grid-template-columns: minmax(0, 1fr); }
  .signup-photo { display: none; }
}@media (min-width: 640px) and (max-width: 1023px) { .signup-side > .signup-sub, .next-steps { display: none; } }
/* the sign-up card opens on a photograph band, edge to edge across the card */
.signup-card__photo { margin: calc(-1 * var(--s-7)) calc(-1 * var(--s-7)) var(--s-6); height: 220px; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.signup-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
@media (max-width: 639px) { .signup-card__photo { margin: calc(-1 * var(--s-5)) calc(-1 * var(--s-5)) var(--s-5); height: 160px; } }
/* the Jeugd form is longer than the adults' one: the section grows with it rather than running into the footer */
#signup:has(#panel-jeugd:not([hidden])) { height: auto; min-height: calc(2 * 100svh); }
/* Hero, right column: the club logo above a landscape photograph (client request) */
.hero__side { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: var(--s-5); min-width: 0; }
.hero__side .hero-logo { display: block; width: clamp(120px, 13vw, 190px); height: auto;
  filter: drop-shadow(0 22px 30px rgba(0,0,0,.8)) drop-shadow(0 6px 10px rgba(0,0,0,.6)); }
.hero--split .hero__side .hero__media { width: 100%; height: auto; flex: 0 0 auto; aspect-ratio: 3 / 2; }
@media (max-width: 1023px) {
  .hero__side { margin-top: var(--s-6); flex: 1 1 0; min-height: 0; gap: var(--s-4); }
  .hero__side .hero-logo { width: 88px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.7)); }
  .hero--split .hero__side .hero__media { margin-top: 0; min-height: 0; }
}
@media (max-width: 639px) { .hero__side .hero-logo { width: 56px; } .hero__side { gap: var(--s-3); } }

/* Training times: each hall's times over its map */
.map-frame { margin: var(--s-5) 0 0; height: 260px; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 1023px) { .map-frame { height: 200px; } }@media (min-width: 1024px) and (max-width: 1279px) { .signup-card__photo { display: none; } }
/* Our teams: landscape frames, so each team photograph shows the whole squad (client request) */
#teams .team-frame { aspect-ratio: 3 / 2; height: auto; align-self: start; }
#teams .team-frame .frame__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
#teams .team-frame .frame__img[data-peek-for="h2"] { object-position: 50% 45%; }
/* Amsterdamned page */
.editions__label { margin: var(--s-5) 0 var(--s-2); }
.editions { margin: 0; font-family: var(--font-display); font-size: 22px; line-height: 1.35; word-spacing: .08em; color: var(--ink); }
.editions strong { font-weight: inherit; color: var(--p-accent); }
.price-rows .rows__name { font-size: 20px; }
.price-rows .rows__value { font-family: var(--font-display); font-size: clamp(28px, 3.3vw, 48px); line-height: 1; }
.good-to-know { margin: var(--s-6) 0 var(--s-3); }
.venue-map { height: 460px; margin-top: 0; }
@media (max-width: 1023px) { .venue-map { height: 280px; margin-top: var(--s-6); } }
.contact-list { list-style: none; margin: var(--s-2) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.contact-list a { display: inline-flex; min-height: 32px; align-items: center; }@media (max-width: 639px) { #stay .trophy-photo { aspect-ratio: 4 / 5; } }
.hero--ams h1 { font-size: clamp(34px, 4.45vw, 64px); }
@media (max-width: 639px) { .hero--ams h1 { font-size: 34px; } }
.fees-cta { margin: var(--s-4) 0 0; }
.register-band { margin: 0 0 var(--s-6); height: 300px; border-radius: var(--r-lg); overflow: hidden; }
.register-band img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
@media (max-width: 1023px) { .register-band { height: 220px; } }
@media (max-width: 639px) {
  .register-band { height: 180px; }
  #format .ams-photo { aspect-ratio: 4 / 5; }
  .venue-map { height: 420px; }
}/* Roster flags: the club is proud of how international it is */
.jersey { padding-right: var(--s-3); }
.jersey__name { flex: 1 1 auto; }
.jersey__flag { flex: 0 0 auto; width: 28px; height: 21px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); object-fit: cover; }
.squad-nations { margin: var(--s-4) 0 0; font-size: 18px; }
@media (max-width: 639px) {
  .jersey { position: relative; }
  .jersey__flag { position: absolute; top: 8px; right: 8px; width: 22px; height: 16.5px; }
}@media (min-width: 1024px) and (max-width: 1279px) { .register-band { display: none; } }
/* Our teams and squads: the team's line beside its photograph, the roster across under both */
.team-info { display: flex; flex-direction: column; gap: var(--s-3); }
.team-info__name { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 3vw, 44px); line-height: 1; margin: 0; }
.team-info p { margin: 0; }
#teams .team-pick { margin-bottom: var(--s-6); }
#teams .team-frame { view-transition-name: team-photo; }
::view-transition-old(team-photo), ::view-transition-new(team-photo) { animation-duration: .32s; }
@media (max-width: 1023px) { #teams .team-frame { margin-top: var(--s-5); } }/* the jersey wall is the section's second screen: a little taller tiles so it holds its own screen */
@media (min-width: 1024px) { #teams .roster { margin-top: 0; } #teams .jersey { min-height: 96px; } }.signup-card__photo img { object-position: 50% 30%; }
/* 1024 to 1279: a tighter bar so every word fits beside the button; shorter tiles and photo in the teams section */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav .club-word { font-size: 17px; letter-spacing: .04em; }
  .nav .club-disc, .nav .club-logo { width: 48px; height: 48px; }
  .nav__links { gap: 18px; }
  .nav__link { font-size: 15px; }
  #teams .jersey { min-height: 72px; }
  #teams .team-frame { max-height: 300px; }
}@media (min-width: 640px) and (max-width: 1023px) {
  #teams .team-show > .team-info { grid-column: 1 / span 6; }
  #teams .team-show > .team-frame { grid-column: 7 / span 6; margin-top: 0; }
  #teams .team-info .t-lead { font-size: 17px; }
}

/* ===== Roster (client ideas): every tile a three-part grid. The number column is as wide as the club's widest
   shirt number (js/club.js measures it, --num-em), 30 to 35% of the tile, the number as tall as the tile and
   centred in its column; the name up to 80%; the whole flag in the last 20%, widening to fill the tile on hover.
   Remove the roster--bleed class in index.html to go back to the compact tiles. ===== */
.roster--bleed { --tile-h: 96px; --cap: .70; --name: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: var(--s-4) var(--s-5) !important; }
.roster--bleed .jersey {
  display: grid; grid-template-columns: clamp(30%, calc(var(--tile-h) / var(--cap) * var(--num-em, .95) + 16px), 35%) minmax(0, 1fr) 20%;
  align-items: center; height: var(--tile-h); min-height: 0; padding: 0; gap: 0; overflow: visible; isolation: isolate;
}
.roster--bleed .jersey:hover { background: var(--p-inv-bg); }
.roster--bleed .jersey__no {
  grid-column: 1; justify-self: end; margin-right: var(--s-3); position: relative; z-index: 2; display: block;
  font-size: calc(var(--tile-h) / var(--cap)); line-height: 1; letter-spacing: 0; text-box: trim-both cap alphabetic; color: #ffffff;
}
.roster--bleed .jersey__name {
  grid-column: 2; position: relative; z-index: 2; min-width: 0; padding: 0 var(--s-3) 0 var(--s-2);
  font-size: var(--name); line-height: 1.15; letter-spacing: .02em; overflow-wrap: normal; word-break: keep-all; hyphens: manual;
}
/* the flag layer covers the tile and clips to its corners; its fill is the whole flag, squeezed into the last 20% */
.roster--bleed .jersey__flag { position: absolute; inset: 0; width: auto; height: auto; margin: 0; z-index: 1; border-radius: inherit; overflow: hidden; box-shadow: none; object-fit: initial; pointer-events: auto; }
.jersey__flag-fill {
  position: absolute; inset: 0; background-position: center; background-size: 100% 100%; background-repeat: no-repeat;
  transform: scaleX(.2); transform-origin: 100% 50%; transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.jersey__flag::after { content: ""; position: absolute; inset: 0; background: rgba(5,7,8,.5); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.roster--bleed .jersey:is(:hover, :focus-within) .jersey__flag-fill { transform: scaleX(1); }
.roster--bleed .jersey:is(:hover, :focus-within) .jersey__flag::after { opacity: 1; }
.roster--bleed .jersey__name { text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.roster--bleed .jersey__no { text-shadow: none; }
@media (prefers-reduced-motion: reduce) { .jersey__flag-fill, .jersey__flag::after { transition: none; } }
@supports not (text-box: trim-both cap alphabetic) { .roster--bleed .jersey__no { line-height: var(--cap); } }
@media (min-width: 1024px) and (max-width: 1279px) { .roster--bleed { --tile-h: 80px; --name: 18px; } }
@media (max-width: 1023px) { .roster--bleed { --tile-h: 80px; --name: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: var(--s-3) !important; } }
@media (max-width: 639px) {
  .roster--bleed { --tile-h: 56px; --name: 16px; grid-template-columns: minmax(0, 1fr) !important; gap: 6px !important; }
  #teams .team-frame { display: none; }
}
/* League table under the results (second screen of the section) */
.standings-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 22px; line-height: 1.1; margin: 0 0 var(--s-4); }
.standings { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.standings th, .standings td { padding: 15px 8px; text-align: right; border-bottom: 1px solid var(--line); font-size: 16px; }
.standings thead th { font-size: 13px; font-weight: 500; color: var(--muted); }
.standings th:nth-child(2), .standings td:nth-child(2), .standings tbody th { text-align: left; font-weight: 400; }
.standings th:first-child, .standings td:first-child { text-align: left; width: 32px; padding-left: 0; }
.standings abbr { text-decoration: none; }
.standings__pts { font-family: var(--font-display); font-size: 20px !important; }
.standings tr.is-us { background: var(--p-accent); color: #fff; }
.standings tr.is-us > * { border-bottom-color: transparent; font-weight: 500; }
.standings tr.is-us td:first-child { padding-left: 8px; }
.standings-note { margin: var(--s-3) 0 0; }
.standings-wrap .t-small:last-child { margin-top: var(--s-3); }
.standings-photo { margin: 0; height: 580px; border-radius: var(--r-lg); overflow: hidden; }
.standings-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .standings-photo { height: auto; aspect-ratio: 3 / 1; margin-top: var(--s-6); } }
@media (max-width: 639px) {
  .standings .standings__wdl { display: none; }
  .standings th, .standings td { padding: 10px 6px; font-size: 15px; }
  .standings-photo { aspect-ratio: 16 / 9; }
}
@media (max-width: 639px) {
  .standings-photo, .standings-note { display: none; }
  .results li { grid-template-columns: 52px minmax(0, 1fr) auto 28px; gap: var(--s-2); padding-block: 6px; min-height: 52px; }
  .results__date { grid-column: auto; font-size: 13px; }
  .results__teams { font-size: 15px; }
  .score { font-size: 22px; }
  .next-match { padding: var(--s-5); gap: var(--s-2); margin-top: var(--s-5); }
  .next-match__teams { font-size: 26px; }
  .next-match__when { font-size: 17px; }
  .matches__src { margin-top: var(--s-3); }
}/* the recruiting tile in the roster's empty places */
.roster--bleed .jersey--cta { background: transparent; box-shadow: inset 0 0 0 2px var(--p-accent); color: var(--ink); }
.roster--bleed .jersey--cta:hover { background: transparent; transform: none; }
.roster--bleed .jersey--cta .jersey__no { color: var(--p-accent); text-shadow: none; }
.roster--bleed .jersey--cta .jersey__name { grid-column: 2 / -1; text-shadow: none; text-transform: none; letter-spacing: 0; font-size: 18px; }
.roster--bleed .jersey--cta .link { color: var(--p-accent); font-weight: 500; }
.jersey--cta[hidden] { display: none; }
@media (max-width: 639px) {
  .roster--bleed { --tile-h: 48px; }
  #teams .team-frame { display: block; aspect-ratio: 16 / 9; }
  #teams .team-info .t-lead { display: none; }
  .map-frame { height: 300px; }
  #amsterdamned .ams-photo, #trophies .trophy-photo { aspect-ratio: 3 / 4; }
}@media (min-width: 1024px) and (max-width: 1279px) { .standings-photo { height: 420px; } }
@media (max-width: 639px) {
  .roster--bleed { --tile-h: 44px; --name: 15px; }
  #teams .team-frame { aspect-ratio: 21 / 9; }
  #teams .section-head p { display: none; }
}
/* Hero stats strip from the club's draft (client request): five figures across the foot of the hero */
.hero--club > .wrap { display: flex; flex-direction: column; height: 100%; }
.hero--club .hero__grid { flex: 1 1 auto; min-height: 0; }
.hero-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-5); margin: var(--s-5) 0 0; padding: 0; position: relative; z-index: 1; }
.hero-stats > div { display: flex; flex-direction: column-reverse; gap: 2px; margin: 0; }
.hero-stats dd { margin: 0; font-family: var(--font-display); font-size: 44px; line-height: 1; color: #ffffff; text-shadow: 0 4px 14px rgba(0,0,0,.45); }
.hero-stats dt { margin: 0; font-size: 15px; line-height: 1.35; color: #d7e1eb; }
@media (min-width: 1024px) { .hero__side .hero-logo { width: clamp(110px, 10.5vw, 150px); } }
@media (max-width: 1023px) {
  .hero-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-3); margin-top: var(--s-4); }
  .hero-stats dd { font-size: 32px; }
  .hero-stats dt { font-size: 13px; }
}
@media (max-width: 639px) {
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2) var(--s-3); margin-top: var(--s-3); }
  .hero-stats dd { font-size: 26px; }
  .hero-stats dt { font-size: 13px; line-height: 1.25; }
  .hero--split .hero__side .hero__media { aspect-ratio: auto; flex: 1 1 0; min-height: 120px; }
}
/* Results row: the next-match card is exactly as tall as the results list beside it */
.matches-row { align-items: stretch; }
.matches-row > .next-match { min-height: 0; height: auto; margin-top: 0; }
.matches-row > .matches__main > .results { margin: 0; }
.matches__src { margin: var(--s-4) 0 0; }
@media (max-width: 639px) { .matches-row > .next-match { margin-top: var(--s-5); } }
/* Phone hero: no float card over the small photograph */
@media (max-width: 639px) { .hero--club .ly-float { display: none; } }@media (min-width: 640px) {
  .matches-row > .matches__main > .results { min-height: calc(6 * 60px); }
  .matches-row > .next-match { contain: size; overflow: hidden; padding: var(--s-6) var(--s-7); gap: var(--s-2); }
  .matches-row .next-match__count { margin-top: var(--s-1); }
  .matches-row .next-match__teams { font-size: clamp(28px, 2.6vw, 38px); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .matches-row > .next-match { padding: var(--s-5); }
  .matches-row .next-match__teams { font-size: 24px; }
  .matches-row .next-match__when { font-size: 16px; }
}/* Hero title: the club's line, stacked as in its draft; the category line under it as a subheading */
.hero__slogan span { display: block; }
.hero__sub { margin: var(--s-4) 0 0; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.1; color: #ffffff; text-shadow: 0 4px 14px rgba(0,0,0,.45); }
.hero--club .hero__sub + .hero__lead { margin-top: var(--s-4); }
@media (max-width: 639px) { .hero__side .hero-logo { display: none; } .hero__sub { font-size: 20px; margin-top: var(--s-3); } }/* Teams and results flow on without a second-screen break (client request): the team photograph is as tall as
   the team's text beside it, the roster follows under both; the league table follows the results, its
   photograph as tall as the table */
#teams .team-show, :is(#matches, #jeugdteams) .standings-row { align-items: stretch; }
#teams .team-show > .team-frame { contain: size; height: auto; aspect-ratio: auto; max-height: none; min-height: 0; margin: 0; }
#teams .team-show > .team-frame .frame__img { object-position: 50% 38%; }
#teams .team-info { gap: var(--s-3); padding-bottom: var(--s-1); }
#teams .team-info .t-lead { font-size: 20px; }
#teams .roster { margin-top: var(--s-6); }
:is(#matches, #jeugdteams) .standings-row { margin-top: var(--s-7); }
:is(#matches, #jeugdteams) .standings-row > .standings-photo { contain: size; height: auto; margin: 0; }
@media (max-width: 1023px) {
  #teams .team-show > .team-frame { contain: none; aspect-ratio: 21 / 9; }
  :is(#matches, #jeugdteams) .standings-row > .standings-photo { contain: none; height: auto; aspect-ratio: 3 / 1; margin-top: var(--s-6); }
}
@media (min-width: 640px) and (max-width: 1023px) { #teams .team-show > .team-frame { contain: size; aspect-ratio: auto; } }@media (min-width: 640px) { #teams .team-show > .team-frame { align-self: stretch !important; height: auto !important; min-height: 0 !important; aspect-ratio: auto !important; padding: 0 !important; } #teams .team-show > .team-frame > .frame__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } }
/* Teams: heading, picker and team text in the left column; the team photograph fills the right column from the
   heading down to the last line of the team text (client request); the roster follows across */
#teams .team-left { display: flex; flex-direction: column; min-width: 0; }
#teams .team-left .team-pick { margin: var(--s-6) 0; }
#teams .team-left .team-info { margin-top: 0; }
@media (min-width: 640px) and (max-width: 1023px) {
  #teams .team-show > .team-left { grid-column: 1 / span 6; }
  #teams .team-show > .team-frame { grid-column: 7 / span 6; }
}
@media (max-width: 639px) {
  #teams .team-show > .team-frame { aspect-ratio: 4 / 3 !important; margin-top: var(--s-5); }
  #teams .team-left .section-head p { display: none; }
  /* one column on a phone: numbers on one left edge so the rows line up */
  .roster--bleed .jersey__no { justify-self: start; margin-right: 0; margin-left: var(--s-2); }
}
/* the recruiting tile's mark: a plus, sized inside the tile */
.roster--bleed .jersey__no.jersey__no--cta { font-size: calc(var(--tile-h) * .6); text-box: none; line-height: 1; }#teams .team-left .section-head { margin-bottom: 0; }
/* Flags (client request): at rest one flag at its true 4:3 shape, centred in the tile's last 20%; on hover the same
   flag opens out from there to fill the whole tile, stretching to fit (no repeats) */
.roster--bleed .jersey__flag-fill {
  inset: 0 0 0 80%; transform: none; clip-path: none;
  background-repeat: no-repeat; background-position: center; background-size: calc(var(--tile-h) * 4 / 3) 100%;
  transition: left .5s cubic-bezier(.2,.7,.2,1), background-size .5s cubic-bezier(.2,.7,.2,1);
}
.roster--bleed .jersey:is(:hover, :focus-within) .jersey__flag-fill { left: 0; transform: none; background-size: 100% 100%; }
@media (prefers-reduced-motion: reduce) { .roster--bleed .jersey__flag-fill { transition: none; } }
/* names: first name above, the rest below */
.jersey__first, .jersey__last { display: block; }@media (max-width: 639px) { .venue-map { height: 620px; } }

/* ===== Hero scales with the browser window (client request): type, logo, photograph and stats grow with the
   viewport's height (capped by its width), so the hero is filled on a tall screen and still fits on a phone ===== */
.hero--club:not(.hero--ams) h1 { font-size: clamp(38px, min(8.6svh, 7vw), 128px); line-height: .95; }
.hero--club .hero__kicker { font-size: clamp(14px, 1.6svh, 18px); }
.hero--club .hero__sub { font-size: clamp(19px, min(3.3svh, 2.6vw), 44px); }
.hero--club .hero__lead { font-size: clamp(16px, min(2.2svh, 1.75vw), 25px); max-width: 36ch; }
.hero--club .hero__text .btn-row { margin-top: clamp(24px, 3.5svh, 48px); }
.hero--club .hero__side { height: 100%; }
@media (min-width: 1024px) {
  .hero--club .hero__side .hero-logo { width: clamp(110px, 17svh, 240px); flex: 0 0 auto; }
  .hero--split.hero--club .hero__side .hero__media { flex: 1 1 0; aspect-ratio: auto; height: auto; min-height: 240px; width: 100%; }
  .hero-stats dd { font-size: clamp(36px, 5.2svh, 72px); }
  .hero-stats dt { font-size: clamp(14px, 1.8svh, 20px); }
  .hero-stats { margin-top: clamp(20px, 3svh, 40px); }
}
@media (max-width: 639px) {
  .hero--club .hero__sub { font-size: clamp(18px, 5vw, 22px); }
  .hero--club .hero__lead { font-size: 16px; }
  .hero--club .hero__text .btn-row { margin-top: var(--s-5); }
}.hero-stats { align-items: start; }
.hero-stats > div { flex-direction: column; }
.hero-stats dd { order: -1; }
/* tuck the full stop under the T's crossbar, as in the club's draft */
.hero__slogan .kern-t { display: inline; margin-left: -0.135em; }
/* Flag hover, final (client request): the flag expands at its true 4:3 shape from its slot until it covers the
   whole tile; whatever runs past the tile is cropped by it, never stretched */
.roster--bleed .jersey { container-type: inline-size; }
.roster--bleed .jersey__flag-fill {
  background-size: calc(var(--tile-h) * 4 / 3) var(--tile-h); background-position: center; background-repeat: no-repeat;
}
.roster--bleed .jersey:is(:hover, :focus-within) .jersey__flag-fill {
  left: 0; background-size: max(100cqw, calc(var(--tile-h) * 4 / 3)) max(calc(100cqw * 3 / 4), var(--tile-h));
}/* horizontal-stripe flags (NL, HU, LV, DE, UA): same opening, but stretched across the tile so every stripe shows */
.roster--bleed .jersey.flag--stripes:is(:hover, :focus-within) .jersey__flag-fill { background-size: 100cqw var(--tile-h); }/* the dark tint sits on the flag itself, at rest and on hover alike (client request) */
.roster--bleed .jersey__flag::after { display: none; }
.roster--bleed .jersey__flag-fill::after { content: ""; position: absolute; inset: 0; background: rgba(5,7,8,.5); pointer-events: none; }/* Our teams and squads sizes to its content (client request), so Results this season follows after the normal
   section spacing instead of a two-screen box with empty space under the roster */
@media (min-width: 640px) { #teams { height: auto !important; min-height: 0 !important; } }/* Uniform section spacing (client request): every section after the hero sizes to its content, so each gap is the
   section's bottom padding plus the next one's top padding. The hero keeps its screen; a pinned scroll moment keeps
   the height its scroll needs. */
@media (min-width: 640px) { main > section:not(.hero):not([data-moment]), footer.closing { height: auto !important; min-height: 0 !important; } }/* the pinned steps frame uses the same top and bottom padding as every section, its text from the top and its
   picture frame filling the rest, so the space before and after it matches the other gaps */
main#top [data-moment="pinned-chapters"][data-moment].is-live > .mo-pc__grid {
  padding-top: var(--padt); padding-bottom: var(--padb); align-content: stretch; align-items: stretch; grid-template-rows: minmax(0, 1fr);
}
main#top [data-moment="pinned-chapters"].is-live .mo-pc__text { align-self: start; }
main#top [data-moment="pinned-chapters"].is-live .mo-pc__visuals { aspect-ratio: auto; max-height: none; height: auto; align-self: stretch; }
/* not running (phones, reduced motion): the steps section sizes to its content like the rest */
@media (min-width: 640px) { main > section[data-moment]:not(.is-live) { height: auto !important; min-height: 0 !important; } }@media (min-width: 640px) { .hero--club { --hpadb: var(--padb); } }
/* phones: sections run straight on, so no section reserves space for the fixed action bar except the footer at the
   very end; every gap then matches the hero's (24 + 96) */
/* phones: the kit's own section heights and padding apply (client request) *//* hero secondary button on the dark gradient: a faint white tint on hover, never white-out (beats the motion layer) */
html:not([data-motion="off"]) .hero--club .btn--secondary:hover {
  background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.95); color: #ffffff;
}
/* Training times: heading with the Adults / Youth pill switch at its right; two day columns, each with its hall,
   the chosen group's times and the hall's map, the maps level at the foot of both columns */
.train-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-7); }
.train-head .section-head { margin-bottom: 0; }
/* the switch as two of the site's own buttons (client request, 1 Dec 2026): the chosen group a primary button, the
   other a secondary one, same height, radius and type as every .btn */
.pill-switch { display: inline-flex; gap: var(--s-3); }
.pill-switch button {
  display: inline-flex; align-items: center; justify-content: center; height: var(--btn-h); padding: 0 var(--s-5);
  border-radius: var(--r-btn); border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink);
  font: 500 var(--t-body)/1 var(--font-text); white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform .12s ease;
}
.pill-switch button:hover { background: color-mix(in oklab, var(--bg) 94%, var(--ink)); border-color: color-mix(in oklab, var(--ink) 35%, transparent); }
.pill-switch button[aria-pressed="true"] { background: var(--action); color: var(--action-ink); border-color: transparent; }
.pill-switch button[aria-pressed="true"]:hover { background: color-mix(in oklab, var(--action) 86%, var(--ink)); }
.pill-switch button:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .pill-switch button { transition: none; } .pill-switch button:active { transform: none; } }
.train-days { align-items: stretch; }
.train-day { display: flex; flex-direction: column; min-width: 0; }
.train-day__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.train-day__name { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 22px; line-height: 1.1; margin: 0; }
.train-for { margin: var(--s-4) 0 var(--s-2); font-size: 14px; color: var(--muted); }
.train-day .rows > li:first-child { padding-top: var(--s-3); }
.train-day .map-frame { margin-top: auto; }
.train-times { margin-bottom: var(--s-5); }
.train-note { margin: var(--s-5) 0 0; }
@media (max-width: 639px) {
  .train-head { margin-bottom: var(--s-6); }
  .pill-switch { width: 100%; }
  .pill-switch button { flex: 1 1 0; }
  .train-day + .train-day { margin-top: var(--s-7); }
}.fee-note { margin: var(--s-4) 0 0; }
/* both partner plates in solid black so they match (Exesport's logo file has its own black ground) */
.partners a, .footer--dark .partners a { background: #000000; }

/* Next match: the Agent's head multiplied into the gradient, emerging from the right edge with its left 60% on the
   card (client request); it drifts slightly as the card scrolls through the window */
.next-match { position: relative; isolation: isolate; overflow: hidden; view-timeline: --next-card block; }
.next-match::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: 0; bottom: 0; right: 0; margin: auto 0; height: 88%; aspect-ratio: 637 / 760; translate: 40% 0;
  background: url(../img/logo-head.png) center / contain no-repeat; mix-blend-mode: multiply;
}
@media (max-width: 639px) { .next-match::after { height: 80%; } }
@keyframes next-logo-drift {
  from { transform: translateX(9%) rotate(5deg); }
  to { transform: translateX(-9%) rotate(-3deg); }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html:not([data-motion="off"]) .next-match::after {
      animation: next-logo-drift linear both; animation-timeline: --next-card; animation-range: cover 0% cover 100%;
    }
  }
}
/* Narrow screens (client request): the club logo leaves the photo column and stands to the right of the title */
.hero-logo--beside { display: none; }
.hero__title { position: relative; }
.hero__text > .hero__kicker + .hero__title { margin-top: var(--s-4); }
@media (max-width: 1023px) {
  .hero:has(.hero-logo--beside) .hero__side .hero-logo { display: none; }
  .hero:has(.hero-logo--beside) .hero__text { grid-column: 1 / -1; align-self: stretch; width: auto; }
  .hero__title .hero-logo--beside {
    display: block; position: absolute; right: 0; top: 0; bottom: 0; margin: auto 0;
    width: clamp(120px, calc(100% - 400px), 260px); height: auto;
    filter: drop-shadow(0 10px 14px rgba(0,0,0,.7));
  }
}
/* a phone: as tall as the three title lines, never reaching the longest one */
@media (max-width: 639px) {
  .hero__title .hero-logo--beside {
    margin: 0; height: 100%; width: auto;
    max-width: calc(100% - 4.5 * clamp(38px, min(8.6svh, 7vw), 128px) - 12px);
    object-fit: contain; object-position: right center;
  }
}
/* Results as a scoreline (client request): date, home team, score, away team, then the win, draw or loss mark.
   The rows share one set of columns (subgrid), so the scores line up down the list */
.results { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto minmax(0, 1fr) 28px; column-gap: var(--s-4); align-content: start; }
.results > li { grid-column: 1 / -1; grid-template-columns: subgrid; column-gap: var(--s-4); }
.results > li.results__empty { display: block; }
.results__home, .results__away { min-width: 0; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.results__home { text-align: right; }
.results__away { text-align: left; }
b.results__home, b.results__away { font-weight: 500; }
.results .score { text-align: center; }
@media (max-width: 1023px) {
  .results { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) 28px; column-gap: var(--s-3); }
  .results > li { column-gap: var(--s-3); row-gap: 2px; padding-block: var(--s-2); }
  .results > li > .results__date { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .results > li { min-height: 0; }
  .results__home, .results__away { font-size: 15px; }
}/* tablet: the scorelines take the full width, the next match follows under them as on a phone */
@media (min-width: 640px) and (max-width: 1023px) {
  .matches-row > .matches__main, .matches-row > .next-match { grid-column: 1 / -1; }
  .matches-row > .next-match { contain: none; margin-top: var(--s-6); min-height: 300px; }
}/* small desktop: a narrower date column and tighter gaps keep each team name on one line */
@media (min-width: 1024px) and (max-width: 1279px) {
  .results { grid-template-columns: 52px minmax(0, 1fr) auto minmax(0, 1fr) 28px; column-gap: var(--s-3); }
  .results > li { column-gap: var(--s-3); }
  .results__date { font-size: 13px; }
  .results__home, .results__away { font-size: 15px; }
}
/* Join and Amsterdamned (client request): the same logo to the right of the title on narrow screens. Their titles
   are longer than the home page's, so the title wraps short of the logo and the row is at least as tall as it */
@media (max-width: 1023px) {
  .hero__title--pad { --lw: clamp(150px, 26vw, 220px); display: flex; align-items: center; min-height: var(--lw); padding-right: calc(var(--lw) + var(--s-4)); }
  .hero__title--pad .hero-logo--beside { width: var(--lw); max-width: none; height: auto; margin: auto 0; }
}
@media (max-width: 639px) {
  .hero__title--pad { --lw: clamp(92px, 28vw, 120px); }
  .hero__title--pad .hero-logo--beside { width: var(--lw); max-width: none; height: auto; margin: auto 0; }
}
/* League tables (client request): a heavier rule under the last place that goes on (the play-offs or staying up),
   explained by the note under the table, which a phone now shows too */
.standings tbody tr.standings__cut > * { border-bottom: 3px solid transparent; }
/* drawn once across the row rather than cell by cell, so no notches at the cell edges on phone screens */
.standings tbody tr.standings__cut { box-shadow: inset 0 -3px 0 var(--ink); }
.standings tbody tr.is-us.standings__cut { box-shadow: inset 0 -3px 0 var(--ink), inset 0 0 0 100vmax var(--p-accent); }
@media (max-width: 639px) { .standings-wrap .standings-note:not([hidden]) { display: block; font-size: 14px; } }/* the highlighted row: the browser paints a row's colour cell by cell, which leaves hairline seams on
   high-density phone screens where cell edges fall between device pixels; an inset shadow paints the colour
   once across the whole row (the background stays underneath for browsers that skip shadows on rows) */
.standings tr.is-us { box-shadow: inset 0 0 0 100vmax var(--p-accent); }
/* Roster numbers keep clear of the tile's left edge (client request, 1 Dec): at least --no-gap-l before the widest
   number. The number column takes what the names leave of the first 80% (--name-room: the longest surname, about 6.3 times the name size, plus its padding); where even that is too narrow, every number of the
   team shrinks together just enough to fit (cqw: the tile is a size container). Wide desktop tiles and phones keep the full-height numbers */
.roster--bleed .jersey__name { padding-right: var(--s-2); }
.roster--bleed { --no-gap-l: var(--s-4); --no-gap-r: var(--s-3); --name-room: calc(var(--name) * 6.3 + 2 * var(--s-2)); }
.roster--bleed .jersey {
  grid-template-columns: max(30%, calc(var(--tile-h) / var(--cap) * var(--num-em, .95) + var(--no-gap-l) + var(--no-gap-r))) minmax(0, 1fr) 20%;
}
.roster--bleed .jersey__no {
  font-size: calc(var(--tile-h) / var(--cap));
  margin-right: var(--no-gap-r);
}
@media (max-width: 639px) { .roster--bleed .jersey__no { margin-left: var(--no-gap-l); margin-right: 0; } }
/* phones and touch screens: a tap leaves :hover stuck, so the flag stays in its place at the right edge */
@media (hover: none), (max-width: 639px) {
  .roster--bleed .jersey:is(:hover, :focus-within) .jersey__flag-fill,
  .roster--bleed .jersey.flag--stripes:is(:hover, :focus-within) .jersey__flag-fill { left: 80%; background-size: calc(var(--tile-h) * 4 / 3) var(--tile-h); }
}
/* League table (client request): the Agent's head multiplied into the FB Agents row, large and cropped, in the
   space between the team name and the P column; it is the name cell's own background, so it stays inside the row */
.standings tr.is-us > th {
  background-color: var(--p-accent); background-image: url(../img/logo-head.png); background-repeat: no-repeat;
  background-size: auto 260%; background-position: right var(--s-4) center; background-blend-mode: multiply;
}/* tiles per row by the room a tile needs for a full-height number, the longest surname and the flag (about 330px):
   three from 1260px, two from 820px, one below */
@media (min-width: 820px) and (max-width: 1259px) { .roster--bleed { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: var(--s-3) var(--s-4) !important; } }
@media (min-width: 640px) and (max-width: 819px) { .roster--bleed { grid-template-columns: minmax(0, 1fr) !important; gap: var(--s-3) !important; } }
/* League table, FB Agents row (client request): the club gradient of the hero and next-match card, left to right,
   with the Agent's head multiplied into it beside the name; the position column has one indent in every row.
   Both are one layer behind the table (z-index -1 in the table's own stacking context), as wide as the table
   (100cqw of .standings-wrap), so the colour is painted once and not cell by cell, which left seams on phones */
.standings th:first-child, .standings td:first-child, .standings tr.is-us td:first-child { padding-left: var(--s-2); }
.standings-wrap { container-type: inline-size; }
.standings { position: relative; z-index: 0; }
.standings tr.is-us, .standings tr.is-us > th { background: none; box-shadow: none; }
.standings tbody tr.is-us.standings__cut { box-shadow: inset 0 -3px 0 var(--ink); }
.standings tr:has(+ tr.is-us) > * { border-bottom-color: transparent; }
.standings tr.is-us > td:first-child, .standings tr.is-us > th { position: relative; }
.standings tr.is-us > td:first-child::before {
  content: ""; position: absolute; z-index: -1; left: 0; top: 0; bottom: 0; width: 100cqw; pointer-events: none;
  background: #02284b linear-gradient(90deg, #001930 0%, #02284b 45%, #014794 100%);
}
.standings tr.is-us > th::after {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; mix-blend-mode: multiply;
  background: url(../img/logo-head.png) no-repeat right var(--s-4) center / auto 260%;
}
/* ===== Veilig sportklimaat (client request, 1 Dec 2026): the Dutch safe-sport page under Jeugd ===== */
.safe-head { display: flex; flex-direction: column; gap: var(--s-3); margin-bottom: var(--s-6); }
.safe-head > * { margin: 0; }
.safe-head .safe-kicker { order: -1; color: var(--p-accent); font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.safe-head > p:not(.safe-kicker) { max-width: 60ch; }
.safe-points { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); }
.safe-points li { border-left: 3px solid var(--p-accent); padding-left: var(--s-4); }
.safe-points h3, .step-list h3, .rule-grid h4 { font-family: var(--font-text); font-weight: 500; font-size: 20px; line-height: 1.3; letter-spacing: 0; text-transform: none; margin: 0; }
.safe-points p, .step-list p { margin: 4px 0 0; }
.safe-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--p-surface); height: clamp(360px, calc(100svh - 300px), 600px); }
.safe-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.safe-board { margin-top: var(--s-7); padding: var(--s-6) var(--s-7); background: var(--p-surface); border-radius: var(--r-lg);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-6); align-items: baseline; }
.safe-board h3, .rule-intro h3, .vp-topics h3, .vp-card__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; margin: 0; }
.safe-board p { margin: 0; font-size: 18px; max-width: 62ch; }
.rule-intro { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2) var(--s-5); margin: 0 0 var(--s-5); }
.rule-intro p { margin: 0; color: var(--muted); }
.rule-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.rule-grid li { background: var(--p-bg); border-radius: var(--r-lg); padding: var(--s-5) var(--s-5) var(--s-6); display: flex; flex-direction: column; gap: var(--s-2); }
.rule-grid__no { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--p-accent); }
.rule-grid p { margin: 0; font-size: 16px; line-height: 1.55; }
.step-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-5); }
.step-list li { display: flex; gap: var(--s-4); align-items: flex-start; }
.step-list__no { flex: 0 0 44px; height: 44px; border-radius: 999px; background: var(--p-accent); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 20px; }
.vp-card { margin-top: var(--s-6); padding: var(--s-6); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: var(--s-2); align-items: flex-start; }
.vp-card p { margin: 0; }
.vp-card__mail { font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; overflow-wrap: anywhere; user-select: all; }
.vp-card .btn { margin-top: var(--s-3); }
.vp-topics h3 { margin-bottom: var(--s-4); }
.vp-list { list-style: none; margin: 0; padding: 0; }
.vp-list li { position: relative; padding: var(--s-4) 0 var(--s-4) var(--s-6); border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.5; }
.vp-list li::before { content: ""; position: absolute; left: 0; top: calc(var(--s-4) + .7em); width: 14px; height: 3px; background: var(--p-accent); }
@media (max-width: 1023px) {
  .safe-photo { height: auto; aspect-ratio: 16 / 9; margin-top: var(--s-6); }
  .safe-board { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); padding: var(--s-5); }
  .rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vp-topics { margin-top: var(--s-7); }
}
@media (max-width: 639px) {
  .safe-photo { aspect-ratio: 4 / 3; }
  .rule-grid { grid-template-columns: minmax(0, 1fr); }
  .vp-card { padding: var(--s-5); }
}
/* Trophy history now sits with its team in Our Teams (client request): 1st Men and Women only, compact rows */
.team-honours { margin-top: var(--s-2); }
.team-honours[hidden] { display: none; }
.team-honours__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 20px; line-height: 1.1; margin: 0 0 var(--s-2); }
.team-honours ol { list-style: none; margin: 0; padding: 0; }
.honour { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: var(--s-3); align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--line); }
.honour__year { font-family: var(--font-display); font-size: 20px; line-height: 1.1; }
.honour__what { font-size: 15px; line-height: 1.4; }
.honour--latest .honour__year { color: #8a6a0f; }
/* ===== Bold hero (client request, 1 Dec 2026): full-bleed face-off, the slogan huge across it, the club gradient
   and court lines over the photo; js/hero-bold.js (GSAP + ScrollTrigger) enters it and runs the scroll ===== */
.hero--bold { padding: 0; background: #001930; color: #fff; overflow: clip; }
.hb-stage { position: relative; min-height: calc(100svh - var(--nav)); display: grid; overflow: hidden; isolation: isolate; }
.hb-photo { position: absolute; inset: 0; z-index: -3; }
.hb-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 55%; transform: scale(1.12); transform-origin: 60% 55%; will-change: transform; }
.hb-tint { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,25,48,.55) 0%, rgba(0,25,48,0) 30%, rgba(0,25,48,0) 55%, rgba(0,12,26,.88) 100%),
    linear-gradient(90deg, rgba(0,25,48,.94) 0%, rgba(2,40,75,.78) 38%, rgba(1,71,148,.38) 72%, rgba(1,71,148,.18) 100%); }
.hb-court { position: absolute; inset: -4% -2%; z-index: -1; pointer-events: none; opacity: .22; mix-blend-mode: screen;
  background: url(../img/court.svg) center 40% / min(140vw, 1800px) auto no-repeat; }
.hb-inner { position: relative; display: grid; grid-template-rows: auto 1fr auto auto; gap: clamp(16px, 2.6svh, 32px);
  padding-top: clamp(20px, 4svh, 48px); padding-bottom: clamp(20px, 3.5svh, 40px); }
.hb-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-5); }
.hb-kicker { margin: 0; font-size: clamp(14px, 1.6svh, 18px); color: #d7e1eb; letter-spacing: .01em; }
.hb-logo { width: clamp(84px, 13svh, 150px); height: auto; flex: none; filter: drop-shadow(0 18px 28px rgba(0,0,0,.6)); }
.hero--bold .hb-title { align-self: center; margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; color: #fff;
  font-size: clamp(64px, min(13.5vw, 15.5svh), 230px); line-height: .86; letter-spacing: -.005em; text-shadow: 0 10px 40px rgba(0,0,0,.35); }
.hb-line { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.hb-word { display: inline-block; will-change: transform; }
.hb-line:nth-child(2) .hb-word { margin-left: .9em; }
.hb-title .kern-t { margin-left: -0.135em; }
.hb-bottom { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--s-6); align-items: end; }
.hb-copy { max-width: 560px; }
.hb-sub { margin: 0; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(20px, min(2.6vw, 3.2svh), 36px); line-height: 1.1; color: #fff; }
.hb-lead { margin: var(--s-3) 0 0; font-size: clamp(16px, min(1.5vw, 2.1svh), 21px); line-height: 1.5; color: #d7e1eb; max-width: 44ch; }
.hb-copy .btn-row { margin-top: clamp(16px, 2.6svh, 32px); }
.hero--bold .btn--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
html:not([data-motion="off"]) .hero--bold .btn--secondary:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }
.hb-float { position: static; justify-self: end; max-width: 320px; }
.hb-stats { margin: 0; padding: clamp(14px, 2.2svh, 24px) 0 0; border-top: 1px solid rgba(255,255,255,.22);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-4); }
.hb-stats > div { display: flex; flex-direction: column-reverse; gap: 2px; margin: 0; }
.hb-stats dd { margin: 0; font-family: var(--font-display); font-size: clamp(30px, min(3.6vw, 5svh), 64px); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.hb-stats dt { margin: 0; font-size: clamp(13px, 1.6svh, 17px); line-height: 1.3; color: #b9c8d8; }
/* until the entrance runs (head script, 2.5 s at most): nothing that is about to animate shows in its end place */
html.hb-pre .hb-word { transform: translateY(110%); }
html.hb-pre .hb-fade { opacity: 0; }
@media (max-width: 1023px) {
  .hb-bottom { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
  .hb-float { justify-self: start; }
  .hero--bold .hb-title { font-size: clamp(56px, 15vw, 150px); }
}
@media (max-width: 639px) {
  .hb-stage { min-height: calc(100svh - var(--nav)); }
  .hb-photo img { object-position: 62% 50%; }
  .hb-tint { background:
    linear-gradient(180deg, rgba(0,25,48,.7) 0%, rgba(0,25,48,.35) 35%, rgba(0,12,26,.92) 78%, rgba(0,12,26,.96) 100%); }
  .hero--bold .hb-title { font-size: clamp(52px, 17vw, 96px); }
  .hb-line:nth-child(2) .hb-word { margin-left: .6em; }
  .hb-logo { width: 72px; }
  .hb-float { display: none; }
  .hb-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
  .hb-copy .btn-row .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .hb-photo img { transform: none; } }
main > section.hero.hero--bold { padding: var(--nav) 0 0 !important; height: auto !important; min-height: 0 !important; }
.hb-logo-turn { display: block; flex: none; }
.hb-line { will-change: transform; }
/* the numbers always run the tile's full height, top edge to bottom edge, at every size (client request); the column
   grows to fit them, and the tiles-per-row steps keep the names clear. No shadows anywhere on the tiles */
.roster--bleed .jersey, .roster--bleed .jersey:hover, .roster--bleed .jersey:focus-within { box-shadow: none; }
.roster--bleed .jersey__no, .roster--bleed .jersey__name, .roster--bleed .jersey__first, .roster--bleed .jersey__last { text-shadow: none; filter: none; }
.roster--bleed .jersey--cta, .roster--bleed .jersey--cta:is(:hover, :focus-within) { box-shadow: inset 0 0 0 2px var(--p-accent); }/* the logo floats in the top-right corner, so the title starts right under the kicker and the hero fits one screen */
.hb-logo-turn { position: absolute; right: 0; top: clamp(20px, 4svh, 48px); z-index: 1; }
.hb-top { min-height: 0; padding-right: clamp(100px, 15svh, 170px); }
.hb-copy { max-width: 680px; }
@media (max-width: 639px) { .hb-top { padding-right: 84px; } .hb-logo-turn { top: 16px; } }
/* Join-this-squad tile (client request, 1 Dec): a player tile of its own, in the club gradient; the plus runs the
   tile's height like the shirt numbers, the arrow sits where a flag would; the whole tile is the link */
.roster--bleed .jersey.jersey--cta, .roster--bleed .jersey.jersey--cta:is(:hover, :focus-within) {
  position: relative; overflow: hidden; box-shadow: none; color: #fff;
  background: #02284b linear-gradient(90deg, #001930 0%, #02284b 50%, #014794 100%);
  transition: transform .2s ease;
}
.roster--bleed .jersey.jersey--cta:is(:hover, :focus-within) { transform: translateY(-2px); }
.roster--bleed .jersey--cta .jersey__no.jersey__no--cta { color: #fff; font-size: calc(var(--tile-h) * 1.25); line-height: 1; text-box: trim-both cap alphabetic; }
.roster--bleed .jersey--cta .jersey__name { grid-column: 2; font-size: var(--name); text-transform: uppercase; letter-spacing: .02em; }
.roster--bleed .jersey--cta .cta-tile__link { display: block; margin-top: 2px; color: #b9d3ec; font-size: max(13px, calc(var(--name) * .8)); text-transform: none; letter-spacing: 0; text-decoration: none; }
.roster--bleed .jersey--cta .cta-tile__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.roster--bleed .jersey--cta .cta-tile__link:focus-visible { outline: none; }
.roster--bleed .jersey--cta:has(.cta-tile__link:focus-visible) { outline: 2px solid var(--p-accent); outline-offset: 3px; }
.cta-tile__arrow { grid-column: 3; align-self: stretch; display: grid; place-items: center; background: none; color: #fff; }
.cta-tile__arrow svg { width: clamp(18px, calc(var(--tile-h) * .34), 34px); height: auto; transition: transform .2s ease; }
.roster--bleed .jersey--cta:is(:hover, :focus-within) .cta-tile__arrow svg { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .roster--bleed .jersey.jersey--cta, .cta-tile__arrow svg { transition: none; } .roster--bleed .jersey.jersey--cta:is(:hover, :focus-within) { transform: none; } }/* the plus is drawn, not set: its arms run the tile's full height, top edge to bottom edge, like the numbers */
.roster--bleed .jersey--cta .jersey__no.jersey__no--cta { font-size: 0; line-height: 0; text-box: none; height: var(--tile-h); }
.roster--bleed .jersey--cta .jersey__no--cta svg { display: block; height: var(--tile-h); width: var(--tile-h); }/* desktop: a larger club logo in the top-right corner, over the empty stands; sized by the screen's height so it ends
   above the players' heads (about a third of the way down the photo) (client request) */
@media (min-width: 1024px) {
  .hb-logo { width: clamp(150px, 24svh, 250px); }
  .hb-logo-turn { top: clamp(16px, 3svh, 36px); right: clamp(24px, 4vw, 72px); }
  .hb-top { padding-right: calc(clamp(170px, 27svh, 280px) + clamp(24px, 4vw, 72px)); }
}
/* Bold hero on every page (client request, 1 Dec): the title is as big as the screen allows, and never wider than it:
   --hb-em is the page's widest title line in em (home "FLOORBALL." 4.6; Amsterdamned 6; Veilig sportklimaat 6.4) */
.hero--bold .hb-title { font-size: clamp(40px, min(13.5vw, 15.5svh, calc((100vw - 2 * var(--gut) - 24px) / var(--hb-em, 4.6))), 230px); }
@media (max-width: 1023px) { .hero--bold .hb-title { font-size: clamp(40px, min(15vw, calc((100vw - 2 * var(--gut) - 24px) / var(--hb-em, 4.6))), 150px); } }
@media (max-width: 639px) { .hero--bold .hb-title { font-size: clamp(36px, min(17vw, calc((100vw - 2 * var(--gut) - 16px) / var(--hb-em, 4.6))), 96px); } }/* a smaller subtitle line inside the hero title (Amsterdamned: "Floorball tournament" under the name) */
.hero--bold .hb-line--sub { font-size: .34em; line-height: 1; }
.hero--bold .hb-line--sub .hb-word { margin-left: .06em !important; letter-spacing: .02em; }
.hero--bold .hb-line--sub { padding-top: .1em; }
/* a page's own zoom on its photo stays when scripts are off */
.hb-photo[data-zoom="1.45"] img { transform: scale(1.45); }
@media (prefers-reduced-motion: reduce) { .hb-photo[data-zoom="1.45"] img { transform: scale(1.45); } }/* Join: number 3 stands right of the title on wider screens: the zoom grows from 12% across, which puts him at about
   60% of the hero's width while the photo still covers both edges; on a phone he stays centred */
.hb-photo--join img { transform-origin: 46% 50%; }
@media (min-width: 768px) { .hb-photo--join img { transform-origin: 12% 50%; } }/* Join, wider screens: the players' faces fill the top right, so the logo sits in the empty bottom-right corner */
@media (min-width: 768px) {
  .hb--logo-low .hb-logo-turn { top: auto; bottom: clamp(20px, 3.5svh, 40px); }
  .hb--logo-low .hb-top { padding-right: 0; }
}/* Home (client request): the face-off in yellow; on wider screens the zoom grows from the left edge, so the two players
   over the ball stand right of the title (about 58% across); on a phone they stay centred */
.hb-photo--home img { object-position: 45% 55%; transform-origin: 45% 55%; }
@media (min-width: 768px) { .hb-photo--home img { transform-origin: 0% 55%; } }
.hb-photo[data-zoom="1.3"] img { transform: scale(1.3); }/* Amsterdamned: the tournament's astronaut in place of the club logo (client request); a touch wider, as the artwork is */
.hb-logo.hb-logo--mascot { width: clamp(110px, 16svh, 180px); }
@media (min-width: 1024px) { .hb-logo.hb-logo--mascot { width: clamp(170px, 27svh, 280px); } }.hb-top:has(.hb-logo--mascot) { padding-right: calc(clamp(110px, 16svh, 180px) + 12px); }
@media (min-width: 1024px) {
  .hb-logo-turn:has(.hb-logo--mascot) { right: 0; }
  .hb-top:has(.hb-logo--mascot) { padding-right: calc(clamp(170px, 27svh, 280px) + 16px); }
}
/* Amsterdamned (client request): the tournament's astronaut as the hero's background artwork, on the club gradient and
   court lines, large on the right and rising behind the end of the title; it floats gently */
/* the tournament poster's own sky blue (client request, 2 Dec 2026): light on the left to a deep bright blue on the
   right, sampled from the 2026 poster; a light shade on the left and at the foot keeps the white text readable */
.hb--art .hb-stage { background: linear-gradient(90deg, #73b0e0 0%, #4a9fdc 30%, #2a8bd2 62%, #1679c2 100%); }
.hb--art .hb-tint { background: linear-gradient(90deg, rgba(4,40,84,.38) 0%, rgba(4,40,84,.14) 45%, rgba(4,40,84,0) 70%),
  linear-gradient(180deg, rgba(4,32,70,0) 55%, rgba(4,32,70,.4) 100%); }
.hb--art .hb-court { opacity: .3; }
.hb-photo--art { inset: 4% 0 6% 34%; }
.hb-photo--art img { object-fit: contain; object-position: 70% 45%; transform: none; transform-origin: 60% 50%;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); animation: hb-float 6s ease-in-out infinite; }
@keyframes hb-float { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -18px; rotate: -2deg; } }
@media (max-width: 1023px) { .hb-photo--art { inset: 8% -6% 30% 18%; } }
@media (max-width: 639px) { .hb-photo--art { inset: 12% -14% 42% 10%; } .hb-photo--art img { object-position: 60% 40%; } }
@media (prefers-reduced-motion: reduce) { .hb-photo--art img { animation: none; } }/* the astronaut is the page's mark here, so no club logo over it; the title never runs over its white suit:
   wide screens: large on the right (the title crosses only the dark visor); 640-1279px: beside the subtitle, below the
   name; phones: above the title */
.hb--art .hb-logo-turn { display: none; }
.hb--art .hb-top { padding-right: 0; }
@media (max-width: 1279px) { .hb-photo--art { inset: 42% 2% 14% 48%; } .hb-photo--art img { object-position: 60% 30%; } }
@media (max-width: 639px) { .hb-photo--art { inset: 13% -4% 63% 36%; } .hb-photo--art img { object-position: 70% 50%; } }/* the astronaut in front of the court lines and the shading (client request) */
.hb--art .hb-court { z-index: -3; }
.hb--art .hb-tint { z-index: -2; }
.hb--art .hb-photo { z-index: -1; }
/* phones: larger, in the space between the subtitle and the text */
@media (max-width: 639px) { .hb-photo--art { inset: 40% 0 34% 14%; } .hb-photo--art img { object-position: 60% 50%; } }/* flags at rest fill their whole area to the tile's right edge at every width (client request): cover, not a fixed
   4:3 size, so a wide single-column tile leaves no gap beside the flag; touch screens keep the same */
.roster--bleed .jersey__flag-fill { background-size: cover; background-position: center; }
@media (hover: none), (max-width: 639px) {
  .roster--bleed .jersey:is(:hover, :focus-within) .jersey__flag-fill,
  .roster--bleed .jersey.flag--stripes:is(:hover, :focus-within) .jersey__flag-fill { left: 80%; background-size: cover; }
}/* hero club logos a touch more prominent (client request): a tight shadow at the edge plus the soft one under it */
.hero--bold .hb-logo:not(.hb-logo--mascot) { filter: drop-shadow(0 2px 3px rgba(0,0,0,.6)) drop-shadow(0 8px 14px rgba(0,0,0,.45)) drop-shadow(0 22px 36px rgba(0,0,0,.55)); }/* the astronaut gets the same layered shadow as the club logos: tight at the edge, soft and deep beneath (client request) */
.hb-photo--art img { filter: drop-shadow(0 3px 4px rgba(0,0,0,.55)) drop-shadow(0 12px 20px rgba(0,0,0,.45)) drop-shadow(0 34px 56px rgba(0,0,0,.55)); }/* Amsterdamned: a deeper shadow on the title so it holds where it crosses the astronaut (client request) */
.hb--art .hb-title { text-shadow: 0 2px 3px rgba(0,10,24,.85), 0 6px 16px rgba(0,10,24,.75), 0 14px 44px rgba(0,10,24,.7); }/* the lines crop only during the entrance (.hb-masking), so the title's shadow fades out without a hard edge */
.hero--bold .hb-line { overflow: visible; }
.hero--bold.hb-masking .hb-line, html.hb-pre .hero--bold .hb-line { overflow: hidden; }/* flags at rest keep their true 4:3 shape (client request): the flag files have no proportions of their own
   (preserveAspectRatio none, so the stripes can stretch on hover), so "cover" would stretch them; instead the size is
   the smallest 4:3 box that covers the flag's area (the last 20% of the tile: 20cqw wide, the tile's height tall),
   centred, never squashed or stretched. Hover is unchanged. */
.roster--bleed .jersey__flag-fill {
  --flag-w: max(20cqw, calc(var(--tile-h) * 4 / 3));
  background-size: var(--flag-w) calc(var(--flag-w) * 3 / 4); background-position: center;
}
@media (hover: none), (max-width: 639px) {
  .roster--bleed .jersey:is(:hover, :focus-within) .jersey__flag-fill,
  .roster--bleed .jersey.flag--stripes:is(:hover, :focus-within) .jersey__flag-fill { left: 80%; background-size: var(--flag-w) calc(var(--flag-w) * 3 / 4); }
}
/* Whole flags at rest (client request): the flag column is exactly one 4:3 flag (4/3 of the tile's height) and the
   flag is drawn whole in it; the number column ends right after the number (no 30% minimum), so numbers and names sit
   further left; js/club.js fitTiles() makes the tiles a little shorter wherever all three would not fit */
.roster--bleed .jersey {
  grid-template-columns: calc(var(--tile-h) / var(--cap) * var(--num-em, .95) + var(--no-gap-l) + var(--no-gap-r)) minmax(0, 1fr) calc(var(--tile-h) * 4 / 3);
}
.roster--bleed .jersey__flag-fill { left: calc(100% - var(--tile-h) * 4 / 3); --flag-w: calc(var(--tile-h) * 4 / 3); background-size: var(--flag-w) var(--tile-h); }
@media (hover: none), (max-width: 639px) {
  .roster--bleed .jersey:is(:hover, :focus-within) .jersey__flag-fill,
  .roster--bleed .jersey.flag--stripes:is(:hover, :focus-within) .jersey__flag-fill { left: calc(100% - var(--tile-h) * 4 / 3); background-size: var(--flag-w) var(--tile-h); }
}
.roster--bleed .jersey--cta { grid-template-columns: calc(var(--tile-h) / var(--cap) * var(--num-em, .95) + var(--no-gap-l) + var(--no-gap-r)) minmax(0, 1fr) calc(var(--tile-h) * 4 / 3); }
/* the tile is exactly --tile-h tall (an older desktop rule gave Our Teams tiles a 96px minimum) */
#teams .roster--bleed .jersey { min-height: 0; height: var(--tile-h); }

/* youth teams show no roster */
.roster[hidden], [data-nations][hidden] { display: none !important; }

/* ===== Agents Jeugd page (client request, 1 Dec 2026) ===== */
/* social icons under the "Meld je kind aan" button */
.social-row { list-style: none; display: flex; gap: var(--s-3); margin: var(--s-4) 0 0; padding: 0; }
.social-row__link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: #fff;
  background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); transition: background .2s ease, transform .2s ease; }
.social-row__link svg { width: 22px; height: 22px; }
.social-row__link:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.jeugd-fonds { margin: var(--s-5) 0 0; max-width: 56ch; color: var(--muted); }
.jeugd-day .rows { margin-top: var(--s-4); }
.jeugd-day .rows__value { font-family: var(--font-display); font-size: 24px; }
/* the photo carousel: a full-width scroll-snap strip, stepped by the arrow buttons */
.carousel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-5); }
.carousel-head .safe-head { margin-bottom: var(--s-5); }
.carousel-nav { display: flex; gap: var(--s-2); margin-bottom: var(--s-5); }
.carousel-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--p-bg); color: var(--p-ink); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-btn:hover:not(:disabled) { background: var(--p-surface); transform: translateY(-2px); }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.carousel { list-style: none; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 760px); column-gap: var(--s-4);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gut), calc((100vw - var(--container)) / 2));
  padding: 0 max(var(--gut), calc((100vw - var(--container)) / 2)) var(--s-3); scrollbar-width: thin; }
.carousel:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 4px; }
.carousel__slide { scroll-snap-align: start; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--p-surface); }
.carousel__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 639px) { .carousel { grid-auto-columns: 86vw; } .carousel-btn { width: 44px; height: 44px; } }
/* the youth teams, each a link to its results and table on the home page */
.youth-teams { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.youth-teams a { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-5); border-radius: var(--r-lg); text-decoration: none; color: #fff;
  background: #02284b linear-gradient(135deg, #001930 0%, #02284b 50%, #014794 100%); transition: transform .2s ease; }
.youth-teams a:hover { transform: translateY(-2px); }
.youth-teams__name { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.05; }
.youth-teams__more { color: #b9d3ec; font-size: 15px; }
.jeugd-more { margin: var(--s-6) 0 0; }
@media (max-width: 1023px) { .youth-teams { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .social-row__link, .carousel-btn, .youth-teams a { transition: none; } }
.jeugd-summary { margin: 0 0 var(--s-6); }
.fee-ask { margin-top: 0; }

/* Teams menu (client request): the club shop as a button, the Agent's head, "Agents Shop" and the Exesport.de logo on
   black, so the shop's own black logo sits in it seamlessly */
.menu-card.menu-shop { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s-4);
  align-self: start; padding: var(--s-4) var(--s-5); border-radius: var(--r-lg); background: #000; color: #fff; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease; }
.menu-card.menu-shop:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(5,7,8,.25); }
.menu-shop__logo { width: 52px; height: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)); }
.menu-shop__text { display: grid; gap: 6px; min-width: 0; }
.menu-shop__title { font-family: var(--font-display); text-transform: uppercase; font-size: 24px; line-height: 1; color: #fff; }
.menu-shop__exe { width: 112px; height: auto; display: block; }
.menu-shop__arrow { width: 22px; height: 22px; transition: transform .2s ease; }
.menu-card.menu-shop:hover .menu-shop__arrow { transform: translateX(3px); }
@media (max-width: 1023px) { .nav.is-open .menu-card.menu-shop { display: grid; padding: var(--s-3) var(--s-4); margin-top: var(--s-2);
  border: 1px solid rgba(255,255,255,.22); } }
/* phone menu (client request): the opened dropdowns sit on the sheet's own black, in white type, not on a white panel */
@media (max-width: 1023px) {
  .nav.is-open .nav__menu { background: transparent; color: #fff; --ink: #fff; --muted: rgba(255,255,255,.66);
    --line: rgba(255,255,255,.14); }
  .nav.is-open .nav__menu .menu-col a, .nav.is-open .nav__menu .menu-card { color: #fff; }
  .nav.is-open .nav__menu .menu-col a span, .nav.is-open .nav__menu .t-label { color: rgba(255,255,255,.66); }
}
@media (prefers-reduced-motion: reduce) { .menu-card.menu-shop, .menu-shop__arrow { transition: none; } }
/* hero partners (client request, 1 Dec 2026): Exesport.de and Freez in white on the photo, above the title card */
.hb-side { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-4); min-width: 0; }
.hb-side .hb-float { justify-self: auto; }
.hb-partners { display: flex; align-items: center; gap: var(--s-5); }
.hb-partners__label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #b9c8d8; }
.hb-partners a { display: block; transition: opacity .2s ease, transform .2s ease; }
.hb-partners a:hover { opacity: .85; transform: translateY(-2px); }
.hb-partners img { display: block; height: 26px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.45)); }
@media (max-width: 1023px) { .hb-side { justify-self: start; align-items: flex-start; } }
@media (max-width: 639px) { .hb-partners { gap: var(--s-4); } .hb-partners img { height: 20px; } }
@media (prefers-reduced-motion: reduce) { .hb-partners a { transition: none; } .hb-partners a:hover { transform: none; } }
/* home hero, desktop (client request, 1 Dec 2026): the club logo fills the empty space right of the title, flat (a 3D
   tilt was tried and reverted) */
@media (min-width: 1024px) {
  .hb--logo-big .hb-logo-turn { top: clamp(8px, 2svh, 28px); right: clamp(16px, 3vw, 56px); }
  /* until the script sizes it, the logo stays modest so it can never cover the title */
  .hb--logo-big .hb-logo { width: clamp(150px, 24svh, 250px); }
  /* the photo zooms in from its right edge, which moves the player in black (headband) left, so his head shows in the
     open space between the title and the logo (client request) */
  .hb--home .hb-photo { --hb-zoom: 1.42; }
  .hb--home .hb-photo img { transform: scale(1.42); transform-origin: 100% 52%; }
}
/* home, desktop: a bigger title (client request), up to 17svh tall, that still leaves room for the logo at its full
   height (the logo never overlaps the title). FLOORBALL. is about 4.55em wide and the title about 2.45em tall, so title
   + logo is about 7em; with the logo's 56px right inset and a 56px gap the title stays at most (content width - 112px)
   / 7.2. The player's head needs no room of its own: it sits beside FAST. and FAIR., which are much shorter. */
@media (min-width: 1024px) {
  .hero--bold:is(.hb--home, .hb--logo-band) .hb-title { font-size: clamp(40px, min(15.5svh, calc((min(100vw - 2 * var(--gut), var(--container, 1280px)) - 112px) / 7.2)), 230px); }
}
/* on screens 850px tall or more there is height to spare, so the title may grow to 17svh; shorter laptops keep 15.5svh
   so the stats row stays on the first screen */
@media (min-width: 1024px) and (min-height: 850px) {
  .hero--bold:is(.hb--home, .hb--logo-band) .hb-title { font-size: clamp(40px, min(17svh, calc((min(100vw - 2 * var(--gut), var(--container, 1280px)) - 112px) / 7.2)), 230px); }
}
/* home: the Adults / Youth switch over each team picker (client request, 2 Dec 2026), in the site's button style; the
   picker below shows only the chosen group's teams */
.team-group { margin: 0 0 var(--s-3); }
#teams .team-left .team-group { margin: var(--s-6) 0 0; }
#teams .team-left .team-group + .team-pick { margin-top: var(--s-3); }
.team-pick button[hidden] { display: none; }
@media (max-width: 639px) { .team-group { width: 100%; } .team-group button { flex: 1 1 0; } }
/* roster names (client request, 2 Dec 2026): first and last name on one line on phones, where each tile has a whole
   row to itself; two lines on wider screens. (The join tile keeps its own two lines.) */
@media (max-width: 639px) {
  .roster--bleed .jersey:not(.jersey--cta) .jersey__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .roster--bleed .jersey:not(.jersey--cta) .jersey__first, .roster--bleed .jersey:not(.jersey--cta) .jersey__last { display: inline; }
}@media (max-width: 639px) {
  .roster--bleed .jersey:not(.jersey--cta) .jersey__name.jersey__name--two { white-space: normal; overflow: visible; text-overflow: clip; }
  .roster--bleed .jersey:not(.jersey--cta) .jersey__name--two .jersey__first,
  .roster--bleed .jersey:not(.jersey--cta) .jersey__name--two .jersey__last { display: block; }
}@media (max-width: 639px) {
  .roster--bleed .jersey:not(.jersey--cta) .jersey__name--two .jersey__last { white-space: nowrap; }
}
/* Amsterdamned: the dates as a third title line, a little larger than the subtitle, as on the poster */
.hero--bold .hb-line--date { font-size: .42em; padding-top: .12em; }
.hero--bold .hb-line--date .hb-word { letter-spacing: .01em; }
/* Club Rules & Disciplinary Protocol (client request, 2 Dec 2026): the required tick on the sign-up forms opens the
   rules in a window over the page; the window scrolls inside, its head and buttons stay in view */
.consent--rules { margin-top: var(--s-3); }
.rules-link { display: inline; padding: 0; border: 0; background: none; font: inherit; color: var(--action); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
.rules-link:hover { text-decoration-thickness: 2px; }
.rules-link:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; border-radius: 2px; }
html.rules-open { overflow: hidden; }
dialog.rules { width: min(880px, calc(100vw - 32px)); max-height: min(86vh, 900px); padding: 0; border: 0; border-radius: var(--r-lg, 20px);
  background: var(--bg, #fff); color: var(--ink, #050708); box-shadow: 0 30px 80px rgba(0,12,26,.45); overflow: hidden; }
dialog.rules[open] { display: flex; flex-direction: column; }
dialog.rules::backdrop { background: rgba(0,12,26,.62); backdrop-filter: blur(3px); }
.rules__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-4); padding: var(--s-6) var(--s-6) var(--s-4);
  background: #001930; color: #fff; }
.rules__kicker { margin: 0 0 var(--s-2); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #b9c8d8; }
.rules__title { margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 4vw, 40px); line-height: 1.05; color: #fff; }
.rules__club { margin: var(--s-2) 0 0; font-size: 15px; color: #d7e1eb; }
.rules__x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.4); border-radius: var(--r-btn, 8px); background: transparent; color: #fff; cursor: pointer; }
.rules__x:hover { background: rgba(255,255,255,.12); }
.rules__x svg { width: 20px; height: 20px; }
.rules__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: var(--s-5) var(--s-6) var(--s-6); font-size: 16px; line-height: 1.6; }
.rules__body:focus-visible { outline: 2px solid var(--action); outline-offset: -4px; }
.rules__lead { margin-top: 0; font-size: 17px; color: var(--muted, #4a6074); }
.rules__body h3 { margin: var(--s-6) 0 var(--s-3); font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 22px; line-height: 1.15; }
.rules__body h4 { margin: var(--s-5) 0 var(--s-2); font-size: 17px; }
.rules__body p { margin: 0 0 var(--s-3); max-width: 70ch; }
.rules__terms { margin: 0; display: grid; gap: var(--s-3); }
.rules__terms dt { font-weight: 600; }
.rules__terms dd { margin: 2px 0 0; max-width: 70ch; }
.rules__table { overflow-x: auto; margin: var(--s-3) 0 var(--s-4); }
.rules__table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.rules__table th, .rules__table td { padding: var(--s-3); text-align: left; vertical-align: top; border-bottom: 1px solid var(--line, rgba(5,7,8,.12)); }
.rules__table thead th { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted, #4a6074); border-bottom-width: 2px; }
.rules__table tbody th { font-weight: 600; white-space: nowrap; }
.rules__foot { display: flex; justify-content: flex-end; gap: var(--s-3); padding: var(--s-4) var(--s-6); border-top: 1px solid var(--line, rgba(5,7,8,.12)); background: var(--bg, #fff); }
@media (max-width: 639px) {
  dialog.rules { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .rules__head { padding: var(--s-5) var(--s-4) var(--s-3); }
  .rules__body { padding: var(--s-4); font-size: 15px; }
  .rules__foot { padding: var(--s-3) var(--s-4) calc(var(--s-3) + env(safe-area-inset-bottom)); }
  .rules__foot .btn { flex: 1 1 0; }
}
.rules__terms dt { font-weight: 700; color: var(--ink, #050708); font-size: 15px; letter-spacing: .02em; text-transform: uppercase; }

/* Sign-up forms, one question at a time (client request, 2 Dec 2026; js/form-steps.js) */
.signup-form.is-stepped .q { display: flex; flex-direction: column; gap: var(--s-4); min-height: 190px; animation: q-in .28s ease-out; }
.signup-form.is-stepped .q[hidden] { display: none; }
@keyframes q-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .signup-form.is-stepped .q { animation: none; } }
.q__ask { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.05; margin: 0 0 var(--s-1); padding: 0; display: block; color: inherit; }
.choice-set legend.q__ask { font-weight: 400; margin-bottom: var(--s-3); }
.q__opt { font-family: var(--font-body, inherit); text-transform: none; font-size: .5em; font-weight: 400; opacity: .7; letter-spacing: 0; white-space: nowrap; }
.signup-form.is-stepped .q .field input, .signup-form.is-stepped .q .field select { min-height: 52px; font-size: 17px; }
.q-progress { display: flex; flex-direction: column; gap: 8px; font-size: 14px; opacity: .85; }
.q-progress__bar { display: block; height: 4px; border-radius: 2px; background: var(--line-strong, rgba(5,7,8,.15)); overflow: hidden; }
.q-progress__bar span { display: block; height: 100%; width: 0; background: var(--p-accent); transition: width .3s ease; }
.q-nav { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); }
.q-nav [hidden] { display: none; }
.q-nav .btn--primary { margin-left: auto; }
.q-again { align-self: flex-start; }
.signup-form.is-done .form__status { font-size: 18px; font-weight: 500; }.signup-form.is-stepped { scroll-margin-top: calc(var(--nav, 72px) + 24px); }
/* Jeugd and Join, desktop (client request, 2 Dec 2026): the same spacing as the home hero. Home's gaps above and below
   its title grow with the screen's height (about 23px at 900px tall, 66px at 1130px), as its stats row takes the rest;
   here the gaps follow the same curve and any height left over goes below the buttons */
@media (min-width: 1024px) {
  .hero--bold.hb--logo-band .hb-inner { grid-template-rows: auto auto auto 1fr; }
  .hero--bold.hb--logo-band .hb-title { align-self: start; margin-block: clamp(0px, 16.1svh - 145px, 64px); }
}/* Join, Jeugd, Veilig sportklimaat on phones and tablets: the title starts under the kicker, as on the home page */
@media (max-width: 1023px) { .hero--bold.hb--logo-band .hb-inner { grid-template-rows: auto auto auto 1fr; } .hero--bold.hb--logo-band .hb-title { align-self: start; } }
/* phones and tablets (client request, 2 Dec 2026): the home hero takes the same layout, so title and text sit in the same place on all four pages; home's stats stay at the bottom */
@media (max-width: 1023px) { .hero--bold.hb--home .hb-inner { grid-template-rows: auto auto auto 1fr; } .hero--bold.hb--home .hb-title { align-self: start; } .hero--bold.hb--home .hb-stats { align-self: end; } }

/* Amsterdamned, "registration opens soon" version (variant-ams-locked.ps1, client request 2 Dec 2026) */
.reg-soon { display: flex; flex-direction: column; gap: var(--s-3); }
.reg-soon p { margin: 0; }
.reg-soon__tag { align-self: flex-start; font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--p-accent); color: #fff; }
.reg-soon__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; margin: var(--s-1) 0 0; }
.reg-soon .btn-row { margin-top: var(--s-2); }