/* =========================================================================
   DOVA — Dubai Open for Volleyball Academies
   The layout and craft are shared with its basketball sibling DOBA; the
   palette is DOVA's own: the deep green of the invitation booklet over a
   near-black ground with a green cast, a fluid type scale, one vertical
   rhythm, a diagonal ribbon motif and scroll-reveal that degrades to nothing.
   The court behind the hero is drawn, not photographed.
   ========================================================================= */

:root {
  /* Ink stack: three steps only, so alternating bands stay legible. */
  --ink: #070b08;
  --ink-2: #0c1310;
  --ink-3: #131c17;

  --accent: #0f9d47;
  --accent-hi: #14bb56;
  --brand: #01732e;
  --tint: #9fdcb8;          /* pale mint, for eyebrows and rules */
  --paper: #f1f7f3;
  --muted: #9aada1;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);

  --shell: 1200px;
  --header-h: 88px;

  /* Fluid scale — one ratio, no ad-hoc font sizes below. */
  --fs-display: clamp(2.75rem, 1.4rem + 5.4vw, 5.5rem);
  --fs-h1: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem);
  --fs-h2: clamp(1.6rem, 1.1rem + 2vw, 2.6rem);
  --fs-h3: clamp(1.1rem, 0.95rem + 0.6vw, 1.35rem);
  --fs-lede: clamp(0.98rem, 0.94rem + 0.2vw, 1.06rem);
  --fs-eyebrow: 0.72rem;

  --space-section: clamp(4rem, 2rem + 7vw, 8rem);
  --radius: 18px;

  --display: 'Anek Bangla', 'Poppins', system-ui, sans-serif;
  --sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }

:where(a, button, input, textarea):focus-visible {
  outline: 2px solid var(--tint);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell { width: min(100% - 2.5rem, var(--shell)); margin-inline: auto; }
.section { padding-block: var(--space-section); }
.section--alt { background: var(--ink-2); }

/* ------------------------------------------------------------ typography */

.h1, .h2 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 1.1rem;
  text-wrap: balance;
}

.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h1--center, .h2--center { text-align: center; margin-inline: auto; }
.h2--center { margin-bottom: 3rem; max-width: 20ch; }

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tint);
}

.eyebrow--center { text-align: center; }

.lede {
  margin: 0 0 1.05rem;
  color: var(--muted);
  font-size: var(--fs-lede);
  max-width: 60ch;
}

/* --------------------------------------------------------- scroll reveal */

/* Applied by site.js only when IntersectionObserver exists, so with JS off or
   unsupported everything is simply visible. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-stuck {
  background: color-mix(in srgb, var(--ink) 94%, transparent);
  border-bottom-color: var(--line);
}

.site-header__inner {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.site-header__logo {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.site-header__logo-sm { height: 46px; width: auto; }
.site-header__logo-ds { height: 21px; width: auto; }

.nav { display: flex; justify-content: center; gap: 2.5rem; }

.nav__link, .mobile-nav .nav__link {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-block: 0.55rem;
  color: var(--paper);
  transition: color 0.25s var(--ease);
}

.nav__link::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent-hi);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover { color: var(--tint); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.social { display: flex; gap: 0.55rem; }
.social--header { justify-content: flex-end; }

.social__link {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.social__link svg { width: 15px; height: 15px; fill: currentColor; }

.social__link:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.social--lg { justify-content: center; gap: 0.85rem; margin-top: 1.25rem; }
.social--lg .social__link { width: 52px; height: 52px; }
.social--lg .social__link svg { width: 19px; height: 19px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0.5rem 1.25rem 1.35rem;
  border-top: 1px solid var(--line);
}

.mobile-nav.is-open { display: flex; }

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(4rem, 2rem + 9vw, 8.5rem) clamp(5rem, 3rem + 8vw, 8rem);
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 78%);
}

/* Court lines, faded toward the edges so nothing competes with the lock-up. */
.hero__court {
  position: absolute;
  inset: -10% -6%;
  z-index: -2;
  background: url('/assets/court.svg') center / cover no-repeat;
  opacity: 0.11;
  mask-image: radial-gradient(70% 76% at 50% 46%, #000 22%, transparent 76%);
  -webkit-mask-image: radial-gradient(70% 76% at 50% 46%, #000 22%, transparent 76%);
}

/* Arena lighting. Two warm sources and one cool, so the ground has depth
   without any photograph. */
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(760px 420px at 50% -6%, rgba(159, 220, 184, 0.16), transparent 64%),
    radial-gradient(820px 520px at 8% 96%, rgba(15, 157, 71, 0.28), transparent 62%),
    radial-gradient(760px 460px at 94% 12%, rgba(1, 115, 46, 0.6), transparent 66%);
}

.hero__eyebrow {
  margin: 0 auto 2rem;
  max-width: 42ch;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__logo {
  width: min(100%, 560px);
  margin-inline: auto;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.6));
}

.hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-top: 2.25rem;
}

.hero__season {
  font-family: var(--display);
  font-size: clamp(1.35rem, 0.9rem + 1.8vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero__rule { width: 46px; height: 1px; background: var(--line-2); }

.hero__edition {
  padding: 0.3rem 1.05rem;
  border-radius: 999px;
  background: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__partners {
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-top: 2.5rem;
}

/* Scroll cue: a slow travelling dot inside a capsule. */
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  translate: -50% 0;
  width: 26px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  display: grid;
  justify-items: center;
  padding-top: 8px;
}

.hero__cue span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--tint);
  animation: cue 1.9s var(--ease) infinite;
}

@keyframes cue {
  0% { opacity: 0; transform: translateY(0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* --------------------------------------------------------------- buttons */

.btn {
  --btn-bg: var(--accent);
  position: relative;
  display: inline-block;
  padding: 0.95rem 2.3rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(15, 157, 71, 0.36); }
.btn--primary:hover { --btn-bg: var(--accent-hi); }
.btn--lg { padding: 1.1rem 3rem; font-size: 0.84rem; }

.btn--ghost { --btn-bg: transparent; border-color: var(--line-2); }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.08); box-shadow: none; }

/* ----------------------------------------------------------- stats strip */

.strip {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}

.strip__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat {
  padding: clamp(1.75rem, 3vw, 2.75rem) 1.25rem;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat:last-child { border-right: 0; }

.stat__value {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 1.4rem + 2.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, #fff, var(--tint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  margin: 0.6rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ----------------------------------------------------------------- split */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

/* ----------------------------------------------------------------- steps */

/* Diagonal ribbon motif, echoing the angled strokes in the DOVA lock-up, used to lift the
   band off the flat ink behind it. */
.ribbon {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.ribbon::before {
  content: '';
  position: absolute;
  inset: -30% -10%;
  z-index: -1;
  background: repeating-linear-gradient(
    -68deg,
    rgba(255, 255, 255, 0.028) 0 2px,
    transparent 2px 108px
  );
  pointer-events: none;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 2.5rem 1.75rem 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
}

.step__num {
  position: absolute;
  top: -1px;
  left: 1.75rem;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 0 0 12px 12px;
  background: var(--accent);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1;
}

.step__title {
  margin: 1.5rem 0 0.6rem;
  font-family: var(--display);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.25;
}

.step__body { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* -------------------------------------------------------------- timeline */

.tl {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem 0;
}

.tl__item { position: relative; padding-top: 3.25rem; text-align: center; }

/* Each item draws its own connector, so the rule survives row wrapping when
   dates are added in the editor. */
.tl__item::before {
  content: '';
  position: absolute;
  top: 13px;
  inset-inline: 0;
  height: 2px;
  background: var(--line);
}

.tl__item:first-child::before { left: 50%; }
.tl__item:last-child::before { right: 50%; }

.tl__marker {
  position: absolute;
  top: 6px;
  left: 50%;
  translate: -50% 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-hi);
  box-shadow: 0 0 0 5px rgba(15, 157, 71, 0.18);
}

.tl__step {
  margin: 0 0 0.4rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.tl__label {
  margin: 0;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.tl__value { margin: 0.3rem 0 0; font-size: 0.92rem; font-weight: 500; color: var(--tint); }

/* ------------------------------------------------------------ categories */

.cats {
  display: grid;
  /* auto-fit, not a fixed 3: DOVA has four age groups, so a hard three-column
     row would strand the fourth card alone on a second row. */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.cat {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 1.5rem 2.25rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

/* A red wash that rises on hover, rather than a flat colour change. */
.cat::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-hi), transparent);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}

.cat:hover {
  transform: translateY(-8px);
  border-color: rgba(159, 220, 184, 0.4);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.5);
}

.cat:hover::after { transform: scaleX(1); }

.cat__rank {
  position: absolute;
  top: 0.9rem;
  right: 1.2rem;
  font-family: var(--display);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.045);
}

.cat__years { margin: 0; font-size: 0.76rem; letter-spacing: 0.14em; color: var(--muted); }

.cat__age {
  margin: 0.35rem 0 0.9rem;
  font-family: var(--display);
  font-size: clamp(2.6rem, 2rem + 1.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cat__lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
}

/* --------------------------------------------------------------- app band */

.app-band { background: var(--ink-2); border-block: 1px solid var(--line); }

.app-band__inner {
  display: grid;
  grid-template-columns: 1.15fr auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.app-band .h2 { margin-bottom: 0.75rem; }
.app-band .lede { margin-bottom: 0; }

.stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* Doubles as the clear space both stores' brand guidelines ask for, since
     the artwork itself is trimmed tight. */
  gap: 1.25rem;
}

/* Height is the shared dimension: both badges are trimmed to their artwork,
   so one height renders them the same size. */
.store img {
  height: 52px;
  width: auto;
  display: block;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.store:hover img { transform: translateY(-3px); opacity: 0.88; }

/* --------------------------------------------------------------- CTA band */

.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 2rem + 5vw, 6rem);
  background:
    radial-gradient(700px 300px at 50% 120%, rgba(15, 157, 71, 0.4), transparent 70%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
  border-block: 1px solid var(--line);
  text-align: center;
}

.cta-band__inner { display: grid; justify-items: center; gap: 0.5rem; }
.cta-band__title { max-width: 22ch; margin-bottom: 1.25rem; }

/* ------------------------------------------------------------- organisers */

.organisers { background: var(--paper); color: var(--brand); }
.organisers .h2 { color: var(--brand); }
.organisers__brand { width: min(100%, 300px); margin: 0 auto 3rem; }
.organisers__title { margin-bottom: 2.5rem; }

.organisers__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 6vw, 4.5rem);
}

.organisers__logo { width: auto; }
.organisers__logo--ds { height: 42px; }
.organisers__logo--uae { height: 88px; }

/* ------------------------------------------------------ contact / page head */

.page-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem) clamp(2rem, 1rem + 3vw, 3rem);
  text-align: center;
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
}

.page-head__court {
  position: absolute;
  inset: -20% -6%;
  z-index: -1;
  background: url('/assets/court.svg') center / cover no-repeat;
  opacity: 0.08;
  mask-image: radial-gradient(60% 70% at 50% 40%, #000 20%, transparent 74%);
  -webkit-mask-image: radial-gradient(60% 70% at 50% 40%, #000 20%, transparent 74%);
}

.page-head__lede {
  max-width: 62ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: var(--fs-lede);
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 760px;
  margin-inline: auto;
}

.contact__card {
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  padding: 2.5rem 1.75rem;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact__card:hover {
  transform: translateY(-6px);
  border-color: rgba(159, 220, 184, 0.4);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.45);
}

.contact__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: rgba(15, 157, 71, 0.16);
  border: 1px solid rgba(15, 157, 71, 0.35);
}

.contact__icon svg { width: 22px; height: 22px; fill: var(--tint); }

.contact__label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact__value { font-size: 1.08rem; font-weight: 600; word-break: break-word; }
.contact__social { margin-top: 3.5rem; }

/* ------------------------------------------------------------------ video */

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ------------------------------------------------- forms, portal, tables */

.form-page { padding-top: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.form-shell { max-width: 720px; }
.form-shell--narrow { max-width: 480px; }

.form-page__lede {
  max-width: 58ch;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: var(--fs-lede);
}

.form-page__action { text-align: center; }

.card-form {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
}

.form__legend {
  margin: 0 0 1.25rem;
  font-family: var(--display);
  font-size: var(--fs-h3);
  font-weight: 700;
}

.form__field { display: block; margin-bottom: 1.15rem; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 1.25rem; }

.form__label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.form__label em { font-style: normal; text-transform: none; letter-spacing: 0; }

.form__input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--paper);
  font: inherit;
  font-size: 0.95rem;
}

/* The default select arrow is a chunky OS control that ignores the rest of the
   form's styling. Replace it with a thin chevron and reserve room for it. */
select.form__input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.9rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%239ea1bc' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  background-size: 11px 7px;
  cursor: pointer;
}

/* Without this the popup list inherits the OS light palette on some browsers
   and renders white-on-white against the dark form. */
select.form__input option { background: #12131f; color: #f4f6fb; }

.form__input:disabled { opacity: 0.65; cursor: not-allowed; }
.form__input:focus-visible { border-color: var(--tint); outline: none; box-shadow: 0 0 0 3px rgba(159, 220, 184, 0.18); }
.form__input--file { padding: 0.7rem 0.8rem; }
.form__input--file::file-selector-button {
  margin-right: 0.8rem;
  padding: 0.45rem 0.9rem;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

/* Day / month / year rather than a native date picker: for a birth date the
   native control opens on the current month and makes you scroll back years,
   and only a handful of years are valid here anyway. */
.dob {
  display: grid;
  /* Proportional, not fixed: the shared select chevron reserves 2.9rem of
     padding, which swallowed a 5rem column and clipped "Day" to "Da". */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1.15fr);
  gap: 0.55rem;
}

.dob select {
  min-width: 0;
  padding-right: 2.1rem;
  background-position: right 0.75rem center;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .dob { grid-template-columns: 1fr; }
}

.form__hint { display: block; margin-top: 0.4rem; font-size: 0.8rem; color: var(--muted); }
.form__submit { width: 100%; margin-top: 0.75rem; text-align: center; }
.form__foot { margin: 1.25rem 0 0; text-align: center; font-size: 0.88rem; color: var(--muted); }
.form__foot a { color: var(--tint); }

.form__alert {
  margin: 0 0 1.25rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  background: rgba(159, 220, 184, 0.12);
  border: 1px solid rgba(159, 220, 184, 0.35);
  color: var(--tint);
}

.form__alert--error {
  background: rgba(15, 157, 71, 0.14);
  border-color: rgba(15, 157, 71, 0.45);
  color: #ff9b9b;
}

.form__alert--center { text-align: center; }

.form--inline {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1rem;
  margin-top: 2rem;
}

.form--inline .form__field { margin-bottom: 0; }

/* ------ academy portal: its own app shell, not the marketing site ------ */

.portal-body { background: var(--ink); }

.pbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--ink-2) 94%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.pbar__inner {
  width: min(100% - 2.5rem, 1180px);
  margin-inline: auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.pbar__brand img { height: 26px; width: auto; }

.pnav { display: flex; gap: 0.35rem; margin-right: auto; }

.pnav__link {
  padding: 0.5rem 0.9rem;
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: none;
}

.pnav__link:hover { color: var(--paper); background: rgba(255, 255, 255, 0.06); }
.pnav__link.is-active { color: #fff; background: var(--accent); }

.pbar__who { display: flex; align-items: center; gap: 0.9rem; }
.pbar__academy { font-size: 0.82rem; color: var(--muted); }

.pbar__out {
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font: inherit;
  font-size: 0.75rem;
  color: var(--paper);
  cursor: pointer;
}

.pbar__out:hover { border-color: var(--accent); color: #fff; background: var(--accent); }

.pmain { padding-block: clamp(2rem, 4vw, 3.25rem); }
.pshell { width: min(100% - 2.5rem, 1180px); margin-inline: auto; }
.pshell--narrow { width: min(100% - 2.5rem, 560px); }

.phead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.peyebrow {
  margin: 0 0 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tint);
}

.ptitle {
  margin: 0 0 1.5rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
}

.phead .ptitle { margin: 0; }

.pnotice {
  margin: 0 0 1.75rem;
  padding: 0.9rem 1.15rem;
  border-radius: 12px;
  font-size: 0.9rem;
  border: 1px solid var(--line);
  background: var(--ink-2);
}

.pnotice--warn {
  border-color: rgba(159, 220, 184, 0.4);
  background: rgba(159, 220, 184, 0.1);
  color: var(--tint);
}

.ptiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.ptile {
  display: grid;
  gap: 0.2rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
}

.ptile--warn { border-color: rgba(159, 220, 184, 0.45); }

.ptile__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.ptile__value {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.05;
}

.ptile__note { font-size: 0.82rem; color: var(--muted); }

.pcard {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
}

.pcard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pcard__title { margin: 0; font-family: var(--display); font-size: 1.2rem; font-weight: 700; }
.plink { color: var(--tint); text-decoration: none; font-size: 0.85rem; font-weight: 500; }

.bulk { margin-bottom: 1.5rem; }
.bulk__lede { margin-bottom: 1.25rem; max-width: 70ch; }

.bulk__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.bulk__form .form__input--file { flex: 1 1 260px; min-width: 0; }

.bulk__report {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(15, 157, 71, 0.4);
  border-radius: 12px;
  background: rgba(15, 157, 71, 0.08);
}

.bulk__report-title { margin: 0 0 0.6rem; font-weight: 600; font-size: 0.9rem; color: #ff9b9b; }
.bulk__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; font-size: 0.86rem; }
.bulk__line { display: inline-block; min-width: 5.5rem; color: var(--muted); }
.plink:hover { text-decoration: underline; }
.cell--warn { color: #ff8080; font-weight: 700; }

.pfoot {
  width: min(100% - 2.5rem, 1180px);
  margin: 2rem auto 0;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.pfoot a { color: var(--muted); text-decoration: none; }
.pfoot a:hover { color: var(--tint); }

@media (max-width: 760px) {
  .pbar__inner { flex-wrap: wrap; padding-block: 0.75rem; gap: 0.75rem; }
  .pnav { order: 3; width: 100%; margin-right: 0; overflow-x: auto; }
  .pbar__who { margin-left: auto; }
  .pbar__academy { display: none; }
}

.pshell .lede { margin-bottom: 2rem; }
.back { margin: 0 0 1rem; font-size: 0.85rem; }
.back a { color: var(--tint); text-decoration: none; }

.tfilters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--ink-2);
}

.tfilters__field { display: grid; gap: 0.3rem; min-width: 0; flex: 1 1 180px; }

.tfilters__label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Hidden once scripting confirms the selects submit themselves. */
.js .tfilters__submit { display: none; }
.tfilters__clear { align-self: center; }

.tfilters__count {
  margin: 0 0 0 auto;
  align-self: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ---- dashboard team list ---- */

.tlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }

.tlist__link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-2);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.tlist__link:hover {
  border-color: rgba(159, 220, 184, 0.4);
  background: var(--ink-3);
  transform: translateX(3px);
}

.tlist__id { display: grid; gap: 0.4rem; min-width: 0; flex: 1 1 220px; }
.tlist__name { font-family: var(--display); font-size: 1.05rem; font-weight: 700; }
.tlist__squad { display: flex; align-items: center; gap: 0.7rem; }
.tlist__count { font-family: var(--display); font-weight: 700; font-size: 1rem; }
.tlist__count span { font-size: 0.8rem; font-weight: 400; color: var(--muted); }
.tlist__count.is-low { color: #ff8080; }
.tlist__go { display: inline-flex; color: var(--muted); }
.tlist__go svg { width: 18px; height: 18px; }
.tlist__link:hover .tlist__go { color: var(--tint); }

.tlist__empty {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  border: 1px dashed var(--line);
  border-radius: 14px;
}

@media (max-width: 620px) {
  .tfilters__field { flex: 1 1 100%; }
  .tfilters__count { margin-left: 0; }
}

.teams {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  /* A grid rather than full-width rows: at 1180px a single row left a wide
     empty gutter between the name and the squad meter. */
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1rem;
  align-items: start;
}

.tcard--empty { grid-column: 1 / -1; }

/* ---- team card ---- */

.tcard {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

/* A hairline that lights up on hover, instead of the whole card changing. */
.tcard::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-hi), transparent);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.tcard:hover { border-color: rgba(159, 220, 184, 0.35); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35); }
.tcard:hover::before { opacity: 1; }
.tcard.is-confirming { border-color: rgba(15, 157, 71, 0.55); background: linear-gradient(180deg, rgba(15,157,71,0.12), var(--ink-2)); }

.tcard--empty { text-align: center; color: var(--muted); font-size: 0.92rem; padding-block: 2rem; }

.tcard__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem 1rem;
}

.tcard__id { min-width: 0; }

.tcard__name {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.15;
}

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.chip {
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.chip--div { border-color: transparent; background: var(--accent); color: #fff; font-weight: 600; }

.tcard__squad { display: flex; align-items: center; gap: 0.7rem; margin-left: auto; }

.meter {
  width: 84px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.meter span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--tint));
  transition: width 0.5s var(--ease);
}

.tcard__count { margin: 0; font-family: var(--display); font-size: 1.15rem; font-weight: 700; }
.tcard__count span { font-size: 0.85rem; font-weight: 400; color: var(--muted); }
.tcard__count.is-full { color: var(--tint); }

.tcard__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.tcard__confirm { margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid rgba(15, 157, 71, 0.35); }
.tcard__confirm p { margin: 0 0 0.9rem; font-size: 0.9rem; color: var(--paper); }
.tcard__confirm-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* ---- buttons ---- */

.btn--soft {
  --btn-bg: rgba(255, 255, 255, 0.07);
  border-color: var(--line-2);
  padding: 0.7rem 1.35rem;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn--soft:hover { --btn-bg: var(--accent); border-color: var(--accent); box-shadow: 0 10px 24px rgba(15, 157, 71, 0.3); }
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.72rem; }
.btn svg { width: 15px; height: 15px; flex: 0 0 auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }

/* Square, quiet by default, coloured only on intent. */
.iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.iconbtn svg { width: 17px; height: 17px; }
.iconbtn:hover { color: var(--paper); border-color: var(--tint); background: rgba(159, 220, 184, 0.12); transform: translateY(-1px); }
.iconbtn--danger:hover { color: #fff; border-color: var(--accent); background: var(--accent); }
.iconbtn.is-solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.iconbtn.is-solid:hover { background: var(--accent-hi); }

.rowactions { display: inline-flex; align-items: center; gap: 0.45rem; justify-content: flex-end; }
.rowactions--confirm { gap: 0.5rem; }
.rowactions__ask { font-size: 0.8rem; color: var(--tint); }

.table-wrap { overflow-x: auto; margin-bottom: 2.5rem; }

.table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.table th, .table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }

.table th {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.table .num { width: 62px; font-family: var(--display); font-weight: 700; }
.table .right { text-align: right; }
.table .mono { font-variant-numeric: tabular-nums; color: var(--muted); }
.table .empty { text-align: center; color: var(--muted); padding-block: 2rem; }

/* One flex item, not two: as bare siblings the team name and its category
   became separate anonymous flex items inside the mobile card cell and ran
   together as "U19 Boys D1U19 Boys". */
.cell__stack { display: grid; gap: 0.15rem; }
.cell__sub { font-size: 0.78rem; font-weight: 400; color: var(--muted); }

@media (max-width: 680px) {
  .cell__stack { text-align: right; }
}

/* Below this a five-column roster is unreadable on a phone — headers wrap to
   three lines and the actions fall off the edge. Each row becomes a card with
   its own labels instead, taken from the cells' data-label. */
@media (max-width: 680px) {
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap { overflow-x: visible; }

  .table tr {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--ink-2);
    padding: 0.9rem 1.1rem;
    margin-bottom: 0.75rem;
  }

  .table td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    border: 0;
    padding: 0.3rem 0;
    text-align: right;
  }

  .table td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: left;
  }

  /* The actions cell carries an empty label, so it spans instead. */
  .table td[data-label='']::before { content: none; }
  .table td[data-label=''] { justify-content: flex-end; gap: 1.25rem; padding-top: 0.6rem; }
  .table td.num { font-size: 1rem; }
  .table .empty { display: block; text-align: center; }
}

/* Touch devices, at any width: the roster's Edit/Remove links were 19–26px
   tall, well under the ~44px a finger needs. Widen the hit area without
   changing how anything looks on a mouse-driven screen. */
@media (pointer: coarse) {
  .table td a,
  .table td button,
  .plink,
  .link-danger,
  .back a,
  .form__foot a,
  .pnav__link,
  .pfoot a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .pbar__brand { min-height: 44px; display: inline-flex; align-items: center; }
  .pbar__out { min-height: 40px; }
  .social__link { width: 44px; height: 44px; }
  .table td[data-label=''] { gap: 1.5rem; }
}

/* Three columns still fit a 360px screen once the chevron padding is trimmed;
   stacking them made the form needlessly tall. */
@media (max-width: 480px) {
  .dob { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1.1fr); gap: 0.4rem; }
  .dob select { padding-left: 0.6rem; padding-right: 1.7rem; background-position: right 0.5rem center; font-size: 0.88rem; }
}

/* ----------------------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  padding-block: 2.25rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer__copy { margin: 0; color: var(--muted); font-size: 0.84rem; }

/* Tech Mania badge — the studio that builds and runs this site */
.poweredby { display: inline-flex; border-radius: 999px; opacity: .85; transition: opacity .2s, transform .2s; }
.poweredby:hover { opacity: 1; transform: translateY(-2px); }
.poweredby img { display: block; height: 32px; width: auto; }
/* The badge always sits dead centre: copyright | badge | socials on three
   columns, so it never drifts with the length of the text beside it. */
@media (min-width: 901px) {
  .site-footer__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-footer__inner > :last-child { justify-self: end; }
  .site-footer__inner > .poweredby { justify-self: center; }
}
@media (max-width: 900px) {
  .site-footer__inner { flex-direction: column; }
}

.scroll-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 50;
}

.scroll-top.is-visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-4px); }

/* ------------------------------------------------------------ breakpoints */

@media (max-width: 1024px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2n) { border-right: 0; }
}

@media (max-width: 900px) {
  .app-band__inner { grid-template-columns: 1fr; text-align: center; }
  .app-band .lede { margin-inline: auto; }
  .app-band .eyebrow { text-align: center; }
  .stores { justify-content: center; }
  .site-header__inner { grid-template-columns: auto 1fr auto; }
  .nav, .social--header { display: none; }
  .nav-toggle { display: flex; justify-self: end; grid-column: 3; }
  .site-header__logo { gap: 1.4rem; }
  .site-header__logo-sm { height: 36px; }
  .site-header__logo-ds { height: 16px; }
  .split { grid-template-columns: 1fr; }
  .site-footer__inner { justify-content: center; text-align: center; }
}

/* Below this the milestones stop fitting side by side; the timeline rotates
   to a vertical rail rather than wrapping into a ragged grid. */
@media (max-width: 760px) {
  .tl { grid-template-columns: 1fr; gap: 0; }
  .tl__item { text-align: left; padding: 0 0 1.85rem 2.5rem; }

  .tl__item::before {
    top: 16px;
    bottom: 0;
    left: 7px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .tl__item:first-child::before { left: 7px; top: 16px; }
  .tl__item:last-child::before { height: 0; }
  .tl__marker { top: 4px; left: 0; translate: none; }
}

@media (max-width: 620px) {
  .store img { height: 44px; }
  .cats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .organisers__logo--ds { height: 32px; }
  .organisers__logo--uae { height: 68px; }
}

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

/* =========================================================================
   Invitation booklet page (/booklet) + home teaser.  Blocks are prefixed bk-;
   everything else reuses the site vocabulary (.split, .tl, .cat, .stat, .ribbon).
   ========================================================================= */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lede--center { text-align: center; margin-inline: auto; max-width: 62ch; }
.split--tight { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); margin-bottom: 3rem; }
.tl--wide { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.tl--wide .tl__step { color: var(--tint); letter-spacing: 0.14em; font-size: 0.72rem; }
.cats--six { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.cat--compact { padding: 1.9rem 0.9rem 1.6rem; }
.cat--compact .cat__age { font-size: clamp(1.9rem, 1.2rem + 2vw, 2.6rem); }

/* hero */
.bk-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(3.5rem, 2rem + 6vw, 6.5rem); background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 80%); }
.bk-hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.bk-hero__title { margin-bottom: 0.6rem; }
.bk-hero__tagline { margin: 0 0 1.2rem; font-family: var(--display); font-weight: 600; font-size: clamp(1rem, 0.9rem + 0.6vw, 1.3rem); letter-spacing: 0.06em; color: var(--tint); text-transform: uppercase; }
.bk-hero__intro { max-width: 56ch; }
.bk-hero__buttons { justify-content: flex-start; margin-top: 1.8rem; }
.bk-hero__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 1.6rem 0 0; padding: 0; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.bk-hero__meta li { position: relative; }
.bk-hero__meta li + li::before { content: ''; position: absolute; left: -0.9rem; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--accent-hi); translate: 0 -50%; }
.bk-hero__cover { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.04) inset; transform: perspective(1400px) rotateY(-8deg) rotateX(2deg); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.bk-hero__cover:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(0deg) translateY(-4px); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.95); }
.bk-hero__cover img { display: block; width: 100%; height: auto; }
.bk-hero__badge { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.95rem; border-radius: 999px; background: rgba(9, 10, 18, 0.82); border: 1px solid var(--line-2); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; backdrop-filter: blur(6px); }
.bk-hero__badge svg { width: 14px; height: 14px; color: var(--tint); }

/* chapter nav */
.bk-nav { position: sticky; top: var(--header-h); z-index: 30; background: rgba(9, 10, 18, 0.86); backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.bk-nav__inner { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.bk-nav__inner::-webkit-scrollbar { display: none; }
.bk-nav a { flex: 0 0 auto; padding: 0.95rem 0.9rem; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.bk-nav a:hover, .bk-nav a.is-active { color: #fff; border-color: var(--accent-hi); }
.bk-nav ~ section[id] { scroll-margin-top: calc(var(--header-h) + 3.1rem); }
.bk-rules__head { top: calc(var(--header-h) + 4rem); }

/* mission / vision */
.bk-mv { display: grid; gap: 1rem; align-content: start; }
.bk-mv__card { padding: 1.6rem 1.7rem; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); }
.bk-mv__card p:last-child { margin: 0; font-size: var(--fs-lede); line-height: 1.65; }
.bk-mv__card--accent { border-color: rgba(159, 220, 184, 0.35); background: linear-gradient(135deg, rgba(159, 220, 184, 0.12), var(--ink-2) 60%); }
.bk-mv__card--accent p:last-child { font-family: var(--display); font-weight: 700; font-size: 1.25rem; }

/* chips + partner logos */
.bk-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 1.8rem; padding: 0; }
.bk-chips li { padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); font-size: 0.82rem; font-weight: 500; }
.bk-chips--lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.bk-chips--lines li { border-radius: 12px; }
.bk-orgs { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.bk-orgs img { height: 46px; width: auto; }
/* The association crest is near-square, so an equal height would read as half
   the size of the wide Dubai Sports strip beside it. Matched by eye instead. */
.bk-orgs__crest { height: 78px; }

/* what's new */
.bk-new { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.bk-new li { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.25rem 1.4rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink-2); font-size: 0.95rem; line-height: 1.55; }
.bk-new svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--tint); margin-top: 0.1rem; }
.bk-note { margin: 2rem auto 0; text-align: center; font-size: 0.86rem; color: var(--muted); }

/* numbers + cards + ticks */
.bk-numbers__head { margin-top: 3.5rem; }
.bk-numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.bk-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.bk-card { padding: 1.9rem 1.8rem; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); }
.bk-card__title { margin: 0 0 1rem; font-family: var(--display); font-size: 1.2rem; font-weight: 700; }
.bk-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.bk-ticks li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.95rem; line-height: 1.55; }
.bk-ticks svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 0.15rem; color: var(--accent-hi); }
.bk-ticks--lede li { font-size: var(--fs-lede); color: #d8dbea; }
.bk-ticks--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem 1.5rem; }

/* game conditions table */
.bk-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); -webkit-overflow-scrolling: touch; }
.bk-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.9rem; }
.bk-table th, .bk-table td { padding: 0.95rem 1rem; text-align: center; border-bottom: 1px solid var(--line); }
.bk-table thead th { font-family: var(--display); font-size: 1.15rem; font-weight: 800; color: var(--tint); background: var(--ink-3); }
.bk-table tbody th { position: sticky; left: 0; text-align: left; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); background: var(--ink-2); box-shadow: 1px 0 0 var(--line); }
.bk-table tbody tr:last-child th, .bk-table tbody tr:last-child td { border-bottom: 0; }
.bk-table tbody tr:hover td { background: rgba(255, 255, 255, 0.025); }

/* rules accordion */
.bk-rules { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.bk-rules__head { position: sticky; top: 4.5rem; }
.bk-rules__list { display: grid; gap: 0.75rem; }
.bk-acc { border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); overflow: hidden; }
.bk-acc[open] { border-color: var(--line-2); }
.bk-acc__head { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.bk-acc__head::-webkit-details-marker { display: none; }
.bk-acc__num { font-size: 0.72rem; letter-spacing: 0.16em; color: var(--tint); }
.bk-acc__chev { margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); rotate: 45deg; transition: rotate 0.3s var(--ease); }
.bk-acc[open] .bk-acc__chev { rotate: 225deg; }
.bk-acc__body { margin: 0; padding: 0 1.4rem 1.4rem 1.4rem; display: grid; gap: 0.7rem; }
.bk-acc__body li { padding-left: 1.2rem; position: relative; font-size: 0.93rem; line-height: 1.6; color: #d8dbea; }
.bk-acc__body li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-hi); }

/* venues */
.bk-venues { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.bk-venue { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); transition: transform 0.35s var(--ease), border-color 0.35s; }
.bk-venue:hover { transform: translateY(-4px); border-color: var(--line-2); }
.bk-venue__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bk-venue__body { padding: 1.3rem 1.4rem 1.5rem; }
.bk-venue__name { margin: 0 0 0.4rem; font-family: var(--display); font-size: 1.15rem; font-weight: 700; }
.bk-venue__area { margin: 0; display: flex; align-items: center; gap: 0.4rem; color: var(--tint); font-size: 0.85rem; font-weight: 500; }
.bk-venue__area svg { width: 16px; height: 16px; }
.bk-venue__area--link { text-decoration: none; transition: color 0.25s var(--ease); }
.bk-venue__area--link:hover { color: var(--accent-hi); text-decoration: underline; }

/* Wall of participating crests. Each tile carries its own white plate: the
   crests are supplied on white and several are themselves mostly white, so
   keying the background out would eat the artwork. */
.bk-crests {
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 1rem;
}
.bk-crest { display: block; }
.bk-crest img {
  display: block; width: 100%; aspect-ratio: 1; object-fit: contain;
  background: #fff; border-radius: 14px; padding: 9px;
  border: 1px solid var(--line); transition: transform 0.3s var(--ease), border-color 0.3s;
}
.bk-crest img:hover { transform: translateY(-3px); border-color: var(--line-2); }
.bk-venue__note { margin: 0.6rem 0 0; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* clinics */
.bk-clinics { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; }
.bk-clinic { text-align: center; font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.bk-clinic img { display: block; width: min(100%, 170px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin: 0 auto 1rem; border: 3px solid var(--ink-3); box-shadow: 0 0 0 1px var(--line-2), 0 20px 40px -20px rgba(0, 0, 0, 0.8); }

/* fees */
.bk-fee-badge { display: inline-flex; flex-direction: column; gap: 0.2rem; padding: 1.1rem 1.5rem; border-radius: var(--radius); border: 1px solid rgba(159, 220, 184, 0.4); background: rgba(159, 220, 184, 0.08); }
.bk-fee-badge__label { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.bk-fee-badge__value { font-family: var(--display); font-weight: 800; font-size: 1.8rem; color: var(--tint); }
.bk-fees { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.bk-fees__big { margin: 0 0 1.6rem; font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 1.6rem + 4vw, 4.4rem); line-height: 1; letter-spacing: -0.02em; }
.bk-fees__terms-head { margin-top: 0.4rem; }
.bk-terms { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.bk-terms li { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--ink-2); font-size: 0.92rem; }
.bk-terms__num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); font-family: var(--display); font-weight: 800; font-size: 0.85rem; flex: 0 0 auto; }

/* ambassadors */
.bk-ambs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.bk-amb { text-align: center; padding: 1.5rem 1.25rem 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink-2); }
.bk-amb__img { display: block; width: min(100%, 200px); aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 50%; margin: 0 auto 1.1rem; border: 3px solid var(--ink-3); box-shadow: 0 0 0 1px var(--line-2); }
.bk-amb__name { margin: 0 0 0.35rem; font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.bk-amb__handle { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--tint); font-size: 0.85rem; text-decoration: none; }
.bk-amb__handle svg { width: 15px; height: 15px; }
.bk-amb__handle:hover { color: #fff; }

/* reader */
.bk-reader__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.bk-reader__head .h2 { margin-bottom: 0; }
.bk-reader { outline: none; }
.bk-reader:focus-visible .bk-reader__stage { box-shadow: 0 0 0 3px rgba(159, 220, 184, 0.5); }
.bk-reader__stage { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: #000; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.bk-reader__pages { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.bk-reader__page img { display: block; width: 100%; height: auto; }
.bk-reader__arrow, .bk-reader__btn { display: none; }
/* Enhanced (JS): one page at a time, arrows, thumbs, keyboard + swipe. Without JS the pages simply stack — still readable. */
.js .bk-reader__pages { display: block; aspect-ratio: 16 / 9; position: relative; }
.js .bk-reader__page { position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s var(--ease); }
.js .bk-reader__page.is-active { opacity: 1; z-index: 1; }
.js .bk-reader__arrow { display: grid; place-items: center; position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(9, 10, 18, 0.72); color: #fff; backdrop-filter: blur(6px); cursor: pointer; opacity: 0; transition: opacity 0.25s, background 0.25s; }
.js .bk-reader__stage:hover .bk-reader__arrow, .js .bk-reader__stage:focus-within .bk-reader__arrow { opacity: 1; }
.js .bk-reader__arrow:hover { background: var(--accent); }
.js .bk-reader__arrow svg { width: 20px; height: 20px; }
.js .bk-reader__arrow--prev { left: 0.9rem; }
.js .bk-reader__arrow--next { right: 0.9rem; }
.bk-reader__bar { display: none; }
.js .bk-reader__bar { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 1rem; }
.js .bk-reader__btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05); color: #fff; cursor: pointer; transition: background 0.2s; }
.js .bk-reader__btn:hover { background: var(--accent); }
.js .bk-reader__btn svg { width: 16px; height: 16px; }
.bk-reader__count { margin: 0; min-width: 8ch; text-align: center; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.bk-reader__count b { color: #fff; }
.bk-reader__thumbs { display: none; }
.js .bk-reader__thumbs { display: flex; gap: 0.5rem; margin-top: 1rem; overflow-x: auto; padding-bottom: 0.4rem; scroll-snap-type: x proximity; scrollbar-width: thin; }
.bk-reader__thumb { flex: 0 0 auto; width: 96px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; opacity: 0.55; transition: opacity 0.2s, border-color 0.2s; scroll-snap-align: center; }
.bk-reader__thumb img { display: block; width: 100%; height: auto; }
.bk-reader__thumb:hover, .bk-reader__thumb.is-active { opacity: 1; border-color: var(--accent-hi); }
.bk-reader.is-fullscreen { position: fixed; inset: 0; z-index: 100; background: #000; padding: 1rem; display: grid; grid-template-rows: 1fr auto; }
.bk-reader.is-fullscreen .bk-reader__stage { height: 100%; border-radius: 8px; display: grid; place-items: center; }
.bk-reader.is-fullscreen .bk-reader__pages { width: min(100%, calc((100vh - 7rem) * 16 / 9)); }
.bk-reader.is-fullscreen .bk-reader__thumbs { display: none; }
.bk-reader.is-fullscreen .bk-reader__arrow { opacity: 1; }
body.bk-lock { overflow: hidden; }

/* let's talk */
.bk-talk { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: clamp(1.8rem, 4vw, 3rem); border-radius: var(--radius); border: 1px solid var(--line-2); background: linear-gradient(135deg, rgba(15, 157, 71, 0.16), var(--ink-2) 55%); }
.bk-talk .h2 { margin-bottom: 0.3rem; }
.bk-talk .lede { margin: 0; }
.bk-talk__links { display: grid; gap: 0.7rem; }
.bk-talk__link { display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1.3rem; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05); color: #fff; text-decoration: none; font-weight: 500; transition: background 0.2s, border-color 0.2s; }
.bk-talk__link:hover { background: var(--accent); border-color: var(--accent); }
.bk-talk__link svg { width: 18px; height: 18px; color: var(--tint); }
.bk-talk__link:hover svg { color: #fff; }

/* home teaser */
.bk-teaser { padding-block: 0 var(--space-section); }
.bk-teaser__inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius); border: 1px solid var(--line-2); background: linear-gradient(135deg, var(--ink-3), var(--ink-2) 60%); }
.bk-teaser__cover { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9); transform: perspective(1200px) rotateY(6deg); transition: transform 0.5s var(--ease); }
.bk-teaser__cover:hover { transform: perspective(1200px) rotateY(2deg) translateY(-3px); }
.bk-teaser__cover img { display: block; width: 100%; height: auto; }
.bk-teaser__text .hero__buttons { justify-content: flex-start; margin-top: 1.5rem; }

@media (max-width: 1024px) {
  .cats--six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bk-venues, .bk-ambs { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 900px) {
  .bk-hero__inner, .bk-rules, .bk-fees, .bk-teaser__inner, .split--tight { grid-template-columns: 1fr; }
  .bk-hero__cover { transform: none; max-width: 640px; }
  .bk-hero__logo img { width: min(70%, 320px); }
  .bk-rules__head { position: static; }
  .bk-nav a { padding: 0.85rem 0.75rem; }
}
@media (max-width: 620px) {
  .cats--six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk-ticks--grid, .bk-chips--lines { grid-template-columns: 1fr; }
  .bk-hero__buttons .btn { width: 100%; }
  .bk-talk__links { width: 100%; }
  .bk-talk__link { justify-content: center; }
  .bk-reader__thumb { width: 72px; }
}

/* booklet without a cover image: the hero shows the DOVA lock-up instead, the home teaser goes single-column */
.bk-hero__logo { display: flex; justify-content: center; align-items: center; padding: clamp(1rem, 4vw, 3rem); }
.bk-hero__logo img { display: block; width: min(100%, 420px); height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6)); }
.bk-teaser__inner--text { grid-template-columns: minmax(0, 1fr); }

/* ----------------------------------------------------- booklet photography

   Added 2026-08-19: five photos from the 2026 Term 1 events. One landscape
   band under the hero, four 2:3 portraits dropped into columns that were
   already half empty (about's mission/vision stack, structure's tight split,
   the sticky rules head, the short fees terms column). Every one is optional —
   clearing the path in the Booklet tab removes it and the layout closes up. */

.bk-band {
  margin: 0;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  border-block: 1px solid var(--line);
  background: var(--ink-2);
}
.bk-band img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  max-height: min(60vh, 560px);
  object-fit: cover;
  object-position: center 42%;
}

.bk-figure {
  margin: 1.6rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-3);
  box-shadow: 0 30px 60px -35px rgba(0, 0, 0, 0.9);
}
.bk-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
/* The rules head is sticky, so its photo is capped to keep the whole block
   shorter than the viewport — otherwise the bottom of it can never be read. */
.bk-figure--short img { aspect-ratio: 4 / 3; max-height: min(38vh, 300px); object-position: center 30%; }

/* Three balanced columns for about — text, mission/vision, photo. auto-fit
   drops to two then one as the viewport narrows, with no extra breakpoints. */
.split--three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
.split--three .bk-figure { margin-top: 0; }

/* Structure runs a pair — a girls' and a boys' player over the Boys & Girls
   category cards — so each is half width and neither towers over the text. */
.bk-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.bk-duo .bk-figure { margin-top: 0; }
.split--tight .bk-figure { margin-top: 0; }

/* The teaser slot is 16:9 but the band photo is 3:2, so crop rather than squash. */
.bk-teaser__cover img { aspect-ratio: 16 / 9; object-fit: cover; }

@media (max-width: 900px) {
  .bk-band img { aspect-ratio: 16 / 9; max-height: 42vh; }
  .bk-figure { max-width: 420px; margin-inline: auto; }
  .bk-duo .bk-figure { max-width: none; }
  .bk-figure--short img { aspect-ratio: 16 / 9; max-height: none; }
}
@media (max-width: 460px) {
  .bk-duo { grid-template-columns: 1fr; gap: 1.1rem; }
}
.bk-fees__vat { font-size: .38em; letter-spacing: .04em; vertical-align: .55em; white-space: nowrap; opacity: .85; }
