/* =========================================================
   BMX Wizards — styles
   Race-poster look: paper + ink, club blue & orange, number plates.
   ========================================================= */

:root {
  --ink: #0e0e10;
  --ink-2: #1a1a1e;
  --ink-3: #2a2a30;
  --paper: #f4f1ea;
  --paper-2: #e9e4d8;
  --line: #d6cfbf;
  --muted: #5f5b52;
  --muted-dark: #a19d94;

  --blue: #1f5eff;
  --blue-deep: #1440b8;
  --orange: #ff6a14;
  --orange-deep: #d9500a;
  --yellow: #ffd60a;

  --go: #22c55e;
  --go-glow: rgba(34, 197, 94, .55);
  --stop: #ff3b30;
  --stop-glow: rgba(255, 59, 48, .55);
  --idle: #8b8b93;

  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --wrap: 1160px;
  --nav-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
code { font-size: .9em; background: rgba(0,0,0,.06); padding: .1em .35em; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--orange); color: var(--ink); padding: 10px 14px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 24px; border-radius: 999px;
  font: 800 15px/1 var(--body); letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: #ff7f33; }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-3); }

/* ---------------- nav ---------------- */

.site-nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(14, 14, 16, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #fff;
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 20px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 34px; height: auto; }
.brand-word { font-family: var(--display); font-size: 24px; letter-spacing: .02em; line-height: 1; }
.b-blue { color: var(--blue); }
.b-orange { color: var(--orange); }

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 9px; border-radius: 8px; text-decoration: none;
  font-weight: 600; font-size: 15px; color: rgba(255,255,255,.82);
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }

/* "Club" dropdown: Over de club / Rijders / Bestuur */
.nav-group { position: relative; display: flex; }
.nav-group-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 9px; border: 0; border-radius: 8px; background: none; cursor: pointer;
  font: 600 15px/1.6 var(--body); color: rgba(255,255,255,.82);
}
.nav-group-btn:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-group-btn svg { transition: transform .2s ease; }
.nav-group.is-current .nav-group-btn { color: #fff; box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.nav-sub {
  position: absolute; top: 100%; left: -8px; min-width: 210px; padding-top: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-sub::before {
  content: ""; position: absolute; inset: 10px 0 0; z-index: -1;
  background: var(--ink); border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.nav-sub a { display: block; margin: 4px 6px; padding: 10px 12px; }
.nav-sub a:first-child { margin-top: 6px; }
.nav-sub a:last-child { margin-bottom: 6px; }
.nav-sub a[aria-current="page"] { box-shadow: none; border-radius: 8px; background: rgba(255,106,20,.16); color: #fff; }
@media (hover: hover) and (min-width: 1101px) {
  .nav-group:hover .nav-sub { opacity: 1; visibility: visible; transform: none; }
  .nav-group:hover .nav-group-btn svg { transform: rotate(180deg); }
}
@media (min-width: 1101px) {
  .nav-group:focus-within .nav-sub, .nav-group.is-open .nav-sub { opacity: 1; visibility: visible; transform: none; }
  .nav-group.is-open .nav-group-btn svg { transform: rotate(180deg); }
}

.site-nav { transition: background-color .25s ease, box-shadow .25s ease; }
.site-nav.is-scrolled { background: rgba(10, 10, 12, .97); box-shadow: 0 8px 24px rgba(0,0,0,.35); }

/* nav status pill */
.nav-status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap;
  color: rgba(255,255,255,.9);
}
.nav-status:hover { background: rgba(255,255,255,.12); }
.nav-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--idle); flex-shrink: 0; }
.nav-status[data-state="go"] .dot { background: var(--go); box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
.nav-status[data-state="stop"] .dot { background: var(--stop); box-shadow: 0 0 0 3px rgba(255,59,48,.25); }
.nav-status[data-state="loading"] .dot { animation: blink 1s ease-in-out infinite; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer; padding: 10px; border-radius: 8px;
}
.nav-toggle .bar { display: block; height: 2px; background: #fff; margin: 6px 0; transition: transform .2s ease; }
.site-nav.is-open .nav-toggle .bar:first-of-type { transform: translateY(4px) rotate(45deg); }
.site-nav.is-open .nav-toggle .bar:last-of-type { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav-status { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.1);
    display: none;
  }
  .site-nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 14px 8px; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; }
  .site-nav.is-open .nav-links { max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }
  .nav-group { display: block; }
  .nav-group-btn {
    width: 100%; padding: 14px 8px 6px; font-size: 13px; font-weight: 800; letter-spacing: .14em;
    text-transform: uppercase; color: var(--orange); pointer-events: none; border-radius: 0;
  }
  .nav-group-btn svg { display: none; }
  .nav-group.is-current .nav-group-btn { box-shadow: none; color: var(--orange); }
  .nav-sub { position: static; opacity: 1; visibility: visible; transform: none; padding: 0; min-width: 0; }
  .nav-sub::before { display: none; }
  .nav-sub a, .nav-sub a:first-child, .nav-sub a:last-child { margin: 0; padding-left: 22px; }
  .nav-sub a[aria-current="page"] { border-radius: 0; }
}
@media (max-width: 480px) {
  .brand-word { display: none; }
  .nav-status { font-size: 12px; }
}

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

.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 72px 0 0;
}
.hero-track {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(1000px 500px at 85% 10%, rgba(31,94,255,.28), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(255,106,20,.18), transparent 60%);
}
.hero-track::after {
  /* faint lane lines, like a start gate */
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 120px, rgba(255,255,255,.035) 120px 122px);
}

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start;
  padding-bottom: 80px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.7); margin-bottom: 20px;
}
.eyebrow-dot { width: 8px; height: 8px; background: var(--orange); border-radius: 2px; transform: rotate(45deg); }

.hero-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(64px, 10vw, 132px); line-height: .9;
  text-transform: uppercase; letter-spacing: .005em;
  margin-bottom: 28px;
}
.ht-line { display: block; }
.ht-outline { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.85); }
.ht-orange { color: var(--orange); }

.hero-lead { font-size: 19px; color: rgba(255,255,255,.78); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Home page: the first screen fills the window, finish line at the bottom */
.hero:not(.hero--page) {
  display: flex; flex-direction: column;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  padding-top: clamp(16px, 5vh, 56px);
}
.hero:not(.hero--page) .hero-grid {
  flex: 1; align-content: center; padding-bottom: clamp(8px, 3vh, 32px);
}
/* headline scales with the window height too, so everything fits on the first screen */
.hero:not(.hero--page) .hero-title {
  font-size: clamp(44px, min(10vw, 11.5vh), 132px);
  margin-bottom: clamp(14px, 3vh, 28px);
}
.hero:not(.hero--page) .hero-cta { margin-top: clamp(16px, 3vh, 28px); }

/* "scroll for more" hint, just above the finish line */
.scroll-cue {
  position: relative; align-self: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin: 0 0 clamp(12px, 3vh, 28px); padding: 6px 12px;
  color: rgba(255,255,255,.75); text-decoration: none;
  transition: opacity .3s ease, color .15s ease;
}
.scroll-cue:hover { color: #fff; }
.scroll-cue-text { font: 800 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; }
.scroll-cue-icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); color: var(--orange);
  animation: cue-bounce 1.8s ease-in-out infinite;
}
.scroll-cue:hover .scroll-cue-icon { border-color: var(--orange); }
.scroll-cue.is-hidden { opacity: 0; pointer-events: none; }
@keyframes cue-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.checker {
  position: relative; height: 24px;
  background:
    conic-gradient(var(--paper) 25%, var(--ink) 0 50%, var(--paper) 0 75%, var(--ink) 0) 0 0 / 24px 24px;
}

@media (max-width: 600px) {
  .hero:not(.hero--page) .hero-lead { font-size: 17px; line-height: 1.55; }
  .hero:not(.hero--page) .hero-cta { gap: 8px; }
  .hero:not(.hero--page) .hero-cta .btn { padding: 12px 16px; font-size: 13px; }
}
@media (max-width: 960px) {
  .hero, .hero:not(.hero--page) { padding-top: 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 56px; }
}

/* ---------------- training status card ---------------- */

.status-card {
  position: relative;
  align-self: start; justify-self: end;
  width: 100%; max-width: 360px;
  background: linear-gradient(180deg, var(--ink-2), #141417);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.status-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.status-kicker {
  font: 800 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.demo-flag {
  font: 800 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase;
  background: var(--yellow); color: var(--ink); padding: 5px 8px; border-radius: 6px;
}
.demo-flag[hidden] { display: none; }
.demo-flag--inline {
  display: block; width: fit-content; margin-top: 10px;
  text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 14px; line-height: 1.4;
  padding: 8px 10px;
}
.demo-flag--inline code { background: rgba(0,0,0,.1); }

.status-body {
  display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center;
}

/* the traffic light */
.light {
  display: flex; flex-direction: column; gap: 8px;
  padding: 8px; border-radius: 30px;
  background: #050506;
  border: 2px solid #2c2c33;
  box-shadow: inset 0 2px 8px rgba(0,0,0,.8);
}
.lamp {
  width: 40px; height: 40px; border-radius: 50%;
  background: #1c1c20;
  box-shadow: inset 0 -6px 12px rgba(0,0,0,.6);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.lamp--stop { background: #3a1513; }
.lamp--go { background: #10301d; }

.light[data-state="stop"] .lamp--stop {
  background: radial-gradient(circle at 35% 30%, #ff9a92, var(--stop) 45%, #b3150d);
  box-shadow: 0 0 18px 4px var(--stop-glow), 0 0 4px rgba(255,255,255,.4) inset;
}
.light[data-state="go"] .lamp--go {
  background: radial-gradient(circle at 35% 30%, #a7f3c3, var(--go) 45%, #128a3d);
  box-shadow: 0 0 18px 4px var(--go-glow), 0 0 4px rgba(255,255,255,.4) inset;
  animation: pulse 2.4s ease-in-out infinite;
}
.light[data-state="loading"] .lamp { animation: blink 1.1s ease-in-out infinite; }
.light[data-state="loading"] .lamp--go { animation-delay: .55s; }

@keyframes pulse {
  50% { box-shadow: 0 0 26px 7px var(--go-glow), 0 0 4px rgba(255,255,255,.4) inset; }
}
@keyframes blink { 50% { opacity: .35; } }

.status-title {
  font-family: var(--display); font-size: 28px; line-height: 1;
  text-transform: uppercase; margin: 0 0 8px;
}
.status-body:has(.light[data-state="go"]) .status-title { color: var(--go); }
.status-body:has(.light[data-state="stop"]) .status-title { color: var(--stop); }
.status-when { color: rgba(255,255,255,.85); margin: 0; font-size: 14.5px; line-height: 1.45; }
.status-when strong { color: #fff; }
.nowrap { white-space: nowrap; }
.status-note {
  margin: 10px 0 0; font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.8);
  padding: 10px 12px; border-left: 3px solid var(--stop); background: rgba(255,59,48,.08);
  border-radius: 0 8px 8px 0;
}
.status-body:has(.light[data-state="go"]) .status-note { border-left-color: var(--go); background: rgba(34,197,94,.08); }

@media (max-width: 960px) {
  /* on phones/tablets the light sits at the top, above the headline */
  .status-card { order: -1; justify-self: stretch; max-width: none; }
}

/* ---------------- sponsors (prominent) ---------------- */

.sponsors { background: #fff; padding: 56px 0 64px; border-bottom: 1px solid var(--line); }
.sponsors-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 8px 24px; margin-bottom: 28px;
}
.sponsors-title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(40px, 5vw, 60px); line-height: .95;
}
.sponsors-head p { margin: 0; color: var(--muted); font-size: 16px; }

.sponsor-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.sponsor-grid li {
  background: #fff; border: 2px solid var(--ink); border-radius: var(--radius);
  overflow: hidden; transition: transform .15s ease, box-shadow .15s ease;
}
.sponsor-grid li:hover { transform: translateY(-3px); box-shadow: 0 6px 0 var(--ink); }
.sponsor-grid a, .sponsor-grid .tile {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 3 / 2; height: 100%; padding: 16px;
}
.sponsor-grid img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }

.sponsor-grid .sponsor-cta { background: var(--orange); }
.sponsor-cta a {
  flex-direction: column; align-items: flex-start; justify-content: flex-end;
  color: var(--ink); text-decoration: none; padding: 18px;
}
.sponsor-cta strong {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: 28px; line-height: 1;
}
.sponsor-cta span { margin-top: 4px; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.sponsor-cta span::after { content: " →"; }

@media (max-width: 900px) { .sponsor-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) {
  .sponsors { padding: 44px 0 48px; }
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sponsor-grid a, .sponsor-grid .tile { padding: 12px; }
  .sponsor-cta a { padding: 12px; }
  .sponsor-cta strong { font-size: 21px; }
  .sponsor-cta span { font-size: 12px; }
}

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

.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 20px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--display); font-size: 44px; line-height: 1; color: var(--ink); }
.stat:nth-child(2) .stat-num { color: var(--blue); }
.stat:nth-child(3) .stat-num { color: var(--orange); }
.stat-label { font-size: 14px; color: var(--muted); font-weight: 500; }
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 0 20px 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------------- sections ---------------- */

.section { padding: 96px 0; }
.section--dark { background: var(--ink); color: #fff; }
.section--paper2 { background: var(--paper-2); }
@media (max-width: 700px) { .section { padding: 64px 0; } }

.section-head { max-width: 760px; margin-bottom: 40px; }
.kicker {
  display: inline-block; margin-bottom: 14px;
  font: 800 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue);
}
.kicker--orange { color: var(--orange); }
.kicker--ink { color: var(--ink); }
.section-title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(36px, 5vw, 60px); line-height: .98; letter-spacing: .005em;
  margin-bottom: 18px;
}
.section-lead { font-size: 18px; color: var(--muted); margin: 0; }
.section--dark p { color: rgba(255,255,255,.8); }
.muted { color: var(--muted); font-size: 15px; }
.section--dark .muted { color: var(--muted-dark); }
.sub-title { font: 800 14px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; margin: 64px 0 20px; color: var(--muted-dark); }

/* ---------------- agenda ---------------- */

.agenda {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 24px; box-shadow: 0 1px 0 var(--line), 0 20px 50px -30px rgba(14,14,16,.25);
}
@media (max-width: 600px) { .agenda { padding: 16px; border-radius: 16px; } }

.agenda-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding-bottom: 18px; border-bottom: 2px solid var(--ink);
}
.month-nav { display: flex; align-items: center; gap: 8px; }
.month-label {
  font-family: var(--display); font-weight: 400; font-size: 32px; text-transform: uppercase;
  min-width: 7.4em; text-align: center; line-height: 1;
}
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; border: 2px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.icon-btn:hover { background: var(--ink); color: #fff; }
.text-btn {
  background: none; border: 0; cursor: pointer; font: 700 14px var(--body);
  color: var(--blue); padding: 8px; text-decoration: underline; text-underline-offset: 3px;
}

.filters { display: inline-flex; background: var(--paper); padding: 4px; border-radius: 999px; border: 1px solid var(--line); }
.filters button {
  border: 0; background: none; cursor: pointer; padding: 8px 14px; border-radius: 999px;
  font: 700 14px var(--body); color: var(--muted);
}
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }

@media (max-width: 600px) {
  .agenda-bar { flex-direction: column; align-items: stretch; }
  .month-nav { justify-content: space-between; }
  .month-label { font-size: 26px; min-width: 0; flex: 1; }
  .text-btn { display: none; }
  .filters { width: 100%; }
  .filters button { flex: 1; padding: 8px 6px; }
}

.agenda-count { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 6px; font-size: 14px; color: var(--muted); }
.agenda-count:empty { display: none; }
.agenda-count strong { color: var(--ink); }

.agenda-list { list-style: none; margin: 0; padding: 0; }
.agenda[aria-busy="true"] .agenda-list { opacity: .5; }
.agenda-empty { padding: 40px 0; text-align: center; color: var(--muted); }

.day {
  display: grid; grid-template-columns: 74px 1fr; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--paper-2);
}
.day:last-child { border-bottom: 0; }
.day.is-past { opacity: .5; }

/* number plate date */
.plate {
  width: 74px; height: 80px; border-radius: 12px 12px 18px 18px;
  background: var(--yellow); color: var(--ink);
  border: 2px solid var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1; text-transform: uppercase;
}
.plate-wd { font: 800 11px var(--body); letter-spacing: .1em; }
.plate-num { font-family: var(--display); font-size: 36px; margin: 3px 0 2px; }
.plate-mo { font: 700 11px var(--body); letter-spacing: .08em; }
.day.is-today .plate { background: var(--orange); }
.day:has(.ev--training):not(:has(.ev--race, .ev--event)) .plate { background: #fff; }
.day.is-today:has(.ev--training) .plate { background: var(--orange); }

.day-events ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.today-tag {
  display: inline-block; margin-bottom: 8px;
  font: 800 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-deep);
}

.ev {
  display: grid; grid-template-columns: 118px 1fr; gap: 14px; align-items: baseline;
  padding: 2px 0;
}
.ev-time { font-weight: 700; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ev-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.ev-title { font: 700 18px/1.3 var(--body); }
.ev--training .ev-title { font-size: 16px; font-weight: 600; }
.ev-loc { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.ev-loc::before { content: "📍 "; }
.ev-desc { margin: 6px 0 0; font-size: 15px; color: #3d3a34; }
.ev-desc a { color: var(--blue); word-break: break-word; }
.ev.is-cancelled .ev-title { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--muted); }

.badge {
  font: 800 10.5px/1 var(--body); letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 7px; border-radius: 5px; white-space: nowrap;
}
.badge--race { background: var(--orange); color: var(--ink); }
.badge--event { background: var(--ink); color: #fff; }
.badge--stop { background: var(--stop); color: #fff; }

@media (max-width: 600px) {
  .day { grid-template-columns: 58px 1fr; gap: 14px; }
  .plate { width: 58px; height: 66px; }
  .plate-num { font-size: 28px; }
  .ev { grid-template-columns: 1fr; gap: 2px; }
  .ev-time { order: 2; font-size: 13px; }
}

.subscribe {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--paper-2);
  font-size: 14px; color: var(--muted);
}
.subscribe[hidden] { display: none; }
.subscribe > span { margin-right: 4px; font-weight: 600; }
.chip {
  display: inline-flex; padding: 7px 12px; border-radius: 999px;
  border: 1.5px solid var(--ink); color: var(--ink); font-weight: 700; font-size: 13px; text-decoration: none;
}
.chip:hover { background: var(--ink); color: #fff; }

/* ---------------- maandoverzicht (A4 download for WhatsApp) ---------------- */

.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.sheetshare {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
  margin-top: 18px; padding: 18px 20px 18px 34px; border-radius: 16px;
  background: var(--ink); color: #fff;
}
.sheetshare::before { /* checkered edge, like the finish line */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px;
  background: conic-gradient(#fff 25%, var(--ink) 0 50%, #fff 0 75%, var(--ink) 0) 0 0 / 14px 14px;
}
.sheetshare-text p { margin: 0; font-size: 14px; color: var(--muted-dark); }
.sheetshare-text .sheetshare-title {
  font-family: var(--display); font-size: 22px; line-height: 1.15; text-transform: uppercase;
  color: #fff; margin-bottom: 4px;
}
@media (max-width: 600px) {
  .sheetshare { padding: 16px 16px 16px 30px; }
  .sheetshare .btn { width: 100%; }
}

.sheet-dialog {
  width: min(900px, calc(100vw - 24px)); max-width: none;
  max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; border-radius: 22px; overflow: auto;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 40px 90px -20px rgba(0,0,0,.55);
}
.sheet-dialog::backdrop { background: rgba(14,14,16,.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet-dialog[open] { animation: wd-in .25s cubic-bezier(.2,.8,.2,1); }
@keyframes wd-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }

.wd-inner {
  position: relative; display: grid; grid-template-columns: 290px minmax(0, 1fr);
  gap: 26px; padding: 28px;
}
.wd-close { position: absolute; top: 16px; right: 16px; z-index: 2; }
.wd-panel .kicker { margin-bottom: 8px; }
.wd-title { font-family: var(--display); font-weight: 400; font-size: 40px; text-transform: uppercase; line-height: 1; }
.wd-lead { margin: 12px 0 20px; font-size: 15px; color: var(--muted); }

.wd-month {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 18px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
}
.wd-month-label {
  margin: 0; flex: 1; text-align: center;
  font-family: var(--display); font-size: 22px; line-height: 1; text-transform: uppercase;
}
.wd-actions { display: grid; gap: 10px; }
.wd-actions .btn { width: 100%; }
.wd-actions [hidden] { display: none; }
.wd-tip { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

.wd-preview {
  display: grid; place-items: center; min-height: 320px;
  padding: 18px; border-radius: 16px; background: var(--paper-2);
}
.wd-preview img {
  width: auto; max-width: 100%; height: min(74vh, 620px); height: min(74dvh, 620px);
  aspect-ratio: 1488 / 2105; background: #fff; border-radius: 4px;
  box-shadow: 0 2px 0 rgba(0,0,0,.06), 0 18px 40px -18px rgba(14,14,16,.45);
}
.wd-preview img[hidden] { display: none; }
.wd-status { margin: 0; font-weight: 700; color: var(--muted); text-align: center; max-width: 30ch; }
.wd-status[hidden] { display: none; }
.sheet-dialog[aria-busy="true"] .wd-preview img { opacity: .4; }

@media (max-width: 760px) {
  .wd-inner { grid-template-columns: 1fr; gap: 18px; padding: 22px 16px 18px; }
  .wd-title { font-size: 32px; padding-right: 48px; }
  .wd-lead { margin-bottom: 16px; }
  .wd-preview { min-height: 200px; padding: 12px; }
  .wd-preview img { width: 100%; height: auto; }
}

/* ---------------- photo mosaic ---------------- */

.section--photos { padding-top: 0; }
.mosaic {
  display: grid; gap: 12px;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}
.mosaic figure { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform .4s ease; }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic .m-big { grid-row: span 2; }
.mosaic .m-big img { aspect-ratio: auto; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 8px; }
  .mosaic .m-big { grid-column: span 2; grid-row: auto; }
  .mosaic .m-big img { aspect-ratio: 3 / 2; }
}

/* ---------------- club ---------------- */

.club-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.section--dark a { color: var(--orange); }
.values { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.values li {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px; border-radius: var(--radius);
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.08);
}
.values strong { font-family: var(--display); font-weight: 400; font-size: 24px; text-transform: uppercase; color: #fff; }
.values span { font-size: 15px; color: rgba(255,255,255,.7); }

figure { margin: 0; }

.club-media { display: grid; gap: 28px; }
.team-photo img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius); border: 6px solid #fff; transform: rotate(-1.2deg);
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.award { display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: center; }
.award img {
  border-radius: 10px; transform: rotate(2deg);
  border: 4px solid #fff; box-shadow: 0 16px 30px rgba(0,0,0,.45);
}
.award figcaption { font-size: 15px; color: rgba(255,255,255,.7); }
.award figcaption strong { color: var(--yellow); }
@media (max-width: 460px) { .award { grid-template-columns: 120px 1fr; gap: 16px; } .award figcaption { font-size: 14px; } }



@media (max-width: 900px) {
  .club-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
}

/* links to the rider + board pages */
.club-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; }
.club-link {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 22px; border-radius: var(--radius);
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.1);
  color: #fff; text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.section--dark a.club-link { color: #fff; }
.club-link:hover { border-color: var(--orange); transform: translateY(-2px); }
.faces { display: flex; flex-shrink: 0; }
.faces img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center 20%;
  border: 3px solid var(--ink-2); margin-left: -14px; background: var(--ink-3);
}
.faces img:first-child { margin-left: 0; }
.club-link-title { display: block; font-family: var(--display); font-size: 28px; line-height: 1.05; text-transform: uppercase; }
.club-link-sub { display: block; font-size: 14px; color: rgba(255,255,255,.65); }
.club-link-arrow { margin-left: auto; font-size: 26px; color: var(--orange); }
@media (max-width: 900px) { .club-links { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .club-link { flex-wrap: wrap; gap: 12px 16px; }
  .club-link-arrow { position: absolute; right: 22px; }
  .club-link { position: relative; }
  .faces img { width: 40px; height: 40px; margin-left: -12px; }
}

/* ---------------- trainingen ---------------- */

.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.group {
  position: relative; overflow: hidden;
  padding: 26px; border-radius: 20px; color: #fff; min-height: 190px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.group--blue { background: var(--blue); }
.group--orange { background: var(--orange); color: var(--ink); }
.group--black { background: var(--ink); }
.group h3 { font-family: var(--display); font-weight: 400; font-size: 30px; text-transform: uppercase; }
.group-time { margin: 6px 0 0; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; opacity: .9; }
.group-plate {
  position: absolute; top: 18px; right: 18px;
  width: 64px; height: 70px; border-radius: 10px 10px 16px 16px;
  display: grid; place-items: center;
  font-family: var(--display); font-size: 40px; line-height: 1;
  background: #fff; color: var(--ink); border: 2px solid currentColor;
}
.group--black .group-plate { background: var(--yellow); border-color: var(--yellow); }
@media (max-width: 760px) {
  .groups { grid-template-columns: 1fr; }
  .group { min-height: 0; padding: 22px; }
  .group-plate { width: 52px; height: 56px; font-size: 32px; top: 50%; transform: translateY(-50%); }
}

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; overflow: hidden; }
.info-photo {
  width: calc(100% + 56px); max-width: none; margin: -28px -28px 24px;
  aspect-ratio: 16 / 9; object-fit: cover;
}
.info-photo--aerial { position: relative; }
.info-photo--aerial img { width: 100%; height: 100%; object-fit: cover; }
.info-photo--aerial figcaption {
  position: absolute; right: 8px; bottom: 8px;
  padding: 3px 7px; border-radius: 6px; background: rgba(14,14,16,.6); color: #fff;
  font-size: 11px; line-height: 1.3;
}
.info h3 { font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; margin-bottom: 16px; }
.address { font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: 16px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 12px; height: 12px; background: var(--orange); border-radius: 3px; transform: rotate(45deg);
}
.ticks a, .fineprint a, .steps a { color: var(--blue); font-weight: 600; }
.text-link { font-weight: 800; color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .info-grid { grid-template-columns: 1fr; }
  .info { padding: 22px; }
  .info-photo { width: calc(100% + 44px); margin: -22px -22px 20px; }
}

/* ---------------- lid worden ---------------- */

.head-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; margin-bottom: 40px; }
.head-split .section-head { margin-bottom: 0; }
.tilt-photo img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius); border: 6px solid #fff; transform: rotate(1.5deg);
  box-shadow: 0 20px 40px -12px rgba(14,14,16,.35);
}
@media (max-width: 860px) { .head-split { grid-template-columns: 1fr; gap: 28px; } }

.steps {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.steps li {
  background: var(--paper); border: 2px solid var(--ink); border-radius: 20px;
  padding: 24px; position: relative;
}
.step-num { display: block; font-family: var(--display); font-size: 44px; color: var(--orange); line-height: 1; margin-bottom: 14px; }
.steps h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 15.5px; color: #3d3a34; }
.steps a { word-break: break-all; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.fineprint { display: grid; gap: 4px; font-size: 15.5px; color: #3d3a34; }
.fineprint p { margin: 0; }

/* ---------------- sponsor band ---------------- */

.sponsor-band { background: var(--orange); color: var(--ink); padding: 56px 0; }
.sponsor-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.sponsor-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 4.4vw, 52px); line-height: 1; margin-bottom: 12px; }
.sponsor-band p { margin: 0; max-width: 36em; }
@media (max-width: 760px) { .sponsor-inner { flex-direction: column; align-items: flex-start; } }

/* ---------------- contact ---------------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
.contact-list li {
  display: grid; grid-template-columns: 170px 1fr; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 17px;
}
.c-label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); padding-top: 4px; }
.contact-list a { color: #fff; font-weight: 700; text-decoration-color: var(--orange); text-underline-offset: 4px; word-break: break-word; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
}

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

.footer { background: #050506; color: rgba(255,255,255,.6); padding: 40px 0 32px; font-size: 14px; }
.footer-sponsors { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-sponsors > p {
  margin: 0 0 14px; font: 800 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.footer-sponsors ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.footer-sponsors li {
  background: #fff; border-radius: 10px; width: 108px; height: 68px; padding: 8px;
  display: flex; align-items: center; justify-content: center;
}
.footer-sponsors img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.footer-inner { display: flex; align-items: center; gap: 20px; }
.footer-inner img { width: 44px; height: auto; opacity: .9; }
.footer-inner p { margin: 0; flex: 1; }
.footer-inner a { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
@media (max-width: 600px) {
  .footer-inner { flex-wrap: wrap; }
  .footer-inner p { flex-basis: 100%; order: 3; }
  .footer-sponsors li { width: calc(33.333% - 7px); }
}

/* =========================================================
   Sub-pages: rijders.html + bestuur.html
   ========================================================= */

.hero--page { padding-top: 64px; }
.page-hero { position: relative; padding-bottom: 64px; }
.hero-title--page { font-size: clamp(56px, 8.5vw, 112px); margin-bottom: 20px; }
.page-hero .hero-lead strong { color: #fff; }
.section--tight { padding: 56px 0 96px; }
@media (max-width: 700px) {
  .hero--page { padding-top: 40px; }
  .page-hero { padding-bottom: 44px; }
  .section--tight { padding: 40px 0 64px; }
}

/* ---- riders ---- */

.cat-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.cat-filters button {
  border: 2px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer;
  padding: 8px 14px; border-radius: 999px; font: 800 14px/1 var(--body); letter-spacing: .02em;
}
.cat-filters button:hover { background: var(--paper-2); }
.cat-filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.rider-group + .rider-group { margin-top: 56px; }
.rider-group[hidden] { display: none; }
.rider-group-head {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 16px; margin-bottom: 22px; border-bottom: 2px solid var(--ink);
}
.cat-plate {
  display: grid; place-items: center; flex-shrink: 0;
  min-width: 64px; height: 56px; padding: 0 10px; border-radius: 10px 10px 16px 16px;
  background: var(--yellow); border: 2px solid var(--ink);
  font-family: var(--display); font-size: 26px; line-height: 1;
}
.rider-group-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.4vw, 36px); text-transform: uppercase; line-height: 1; }
.cat-count { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--muted); white-space: nowrap; }

.rider-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px;
}
.rider-photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius); border: 2px solid var(--ink); background: #1d3fa3;
}
.rider-photo > img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.rider:hover .rider-photo > img { transform: scale(1.04); }
.rider-plate {
  position: absolute; left: 10px; bottom: 10px;
  padding: 5px 8px 6px; border-radius: 6px 6px 10px 10px;
  background: var(--yellow); color: var(--ink); border: 2px solid var(--ink);
  font-family: var(--display); font-size: 17px; line-height: 1;
}
.rider-nophoto {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--blue), #0f2f8f);
}
.rider-nophoto img { width: 52%; opacity: .9; }
.rider-name { margin: 12px 0 0; font-family: var(--display); font-size: 21px; line-height: 1.1; text-transform: uppercase; }
.rider-cat { margin: 2px 0 0; font-size: 14px; color: var(--muted); font-weight: 600; }

@media (max-width: 560px) {
  .rider-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .rider-name { font-size: 18px; }
  .rider-group-head { gap: 12px; }
  .cat-plate { min-width: 54px; height: 48px; font-size: 22px; }
}

/* ---- board ---- */

.board-cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.person {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 2px solid var(--ink); border-radius: 20px;
  padding: 30px 20px 26px;
}
.person-photo {
  width: 128px; height: 128px; border-radius: 50%; overflow: hidden; margin-bottom: 18px;
  border: 4px solid var(--ink); background: var(--paper-2);
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.person-photo--initials {
  display: grid; place-items: center;
  background: var(--blue); color: #fff;
  font-family: var(--display); font-size: 44px; letter-spacing: .02em;
}
.person:nth-child(4) .person-photo--initials { background: var(--orange); color: var(--ink); }
.person--api .person-photo--initials { background: var(--ink); color: var(--yellow); }
.person-role {
  margin: 0 0 6px; font: 800 12px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue);
}
.person-name { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.05; text-transform: uppercase; }
.person-mail { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--blue); word-break: break-all; }
.person--api { background: var(--paper-2); }

.board-contact { margin: 28px 0 56px; font-size: 17px; color: var(--muted); }
.board-contact a, .board-info a { color: var(--blue); font-weight: 700; }
.board-info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.board-info .info p { margin: 0; }

.club-quote { margin: 64px 0 0; text-align: center; }
.club-quote blockquote {
  margin: 0 auto; max-width: 18em;
  font-family: var(--display); font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; text-transform: uppercase;
}
.club-quote figcaption { margin-top: 14px; font-weight: 700; color: var(--orange-deep); }

@media (max-width: 900px) { .board-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .board-info { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .board-cards { grid-template-columns: 1fr; }
  .person {
    display: grid; grid-template-columns: 84px 1fr; column-gap: 18px; align-content: center;
    text-align: left; padding: 16px 18px;
  }
  .person-photo { width: 84px; height: 84px; margin: 0; border-width: 3px; grid-row: 1 / span 3; align-self: center; }
  .person-photo--initials { font-size: 30px; }
  .person > :not(.person-photo) { grid-column: 2; }
  .person-role { align-self: end; }
  .person-name { font-size: 24px; }
  .person-mail { margin-top: 4px; }
}

/* =========================================================
   Motion: things slide in as you scroll, the hero builds up,
   the finish line rolls, sponsors scroll by in the footer.
   Everything is switched off for "reduce motion" (see top).
   ========================================================= */

/* Hero builds up on load */
@keyframes rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }
.js-anim .hero .eyebrow     { animation: rise .7s cubic-bezier(.2,.7,.2,1) both .05s; }
.js-anim .hero .ht-line     { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.js-anim .hero .ht-line:nth-child(1) { animation-delay: .12s; }
.js-anim .hero .ht-line:nth-child(2) { animation-delay: .24s; }
.js-anim .hero .ht-line:nth-child(3) { animation-delay: .36s; }
.js-anim .hero .hero-title--page { animation: rise .8s cubic-bezier(.2,.7,.2,1) both .12s; }
.js-anim .hero .hero-lead   { animation: rise .8s cubic-bezier(.2,.7,.2,1) both .5s; }
.js-anim .hero .hero-cta    { animation: rise .8s cubic-bezier(.2,.7,.2,1) both .62s; }
.js-anim .hero .status-card { animation: pop .7s cubic-bezier(.2,.7,.2,1) both .7s; }
.js-anim .hero .scroll-cue  { animation: rise .8s ease both 1.1s; }

/* Scroll reveal (classes added by js/app.js) */
.js-anim .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0ms);
}
.js-anim .reveal.is-in { opacity: 1; transform: none; }
/* keep hover effects snappy once revealed */
.js-anim .reveal.is-in.sponsor-tile, .js-anim .reveal.is-in.group, .js-anim .reveal.is-in.club-link {
  transition: opacity .7s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  transition-delay: 0ms;
}

/* The finish line slowly rolls */
@keyframes roll { to { background-position: 48px 0; } }
.checker { animation: roll 3s linear infinite; }

/* Lane lines drift behind the hero */
@keyframes drift { to { background-position: 244px 0; } }
.hero-track::after { animation: drift 14s linear infinite; }

/* Cards come alive on hover */
.group { transition: transform .2s ease, box-shadow .2s ease; }
.group:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 16px 30px -12px rgba(14,14,16,.45); }
.group-plate { transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.group:hover .group-plate { transform: rotate(-8deg) scale(1.06); }
@media (max-width: 760px) { .group:hover .group-plate { transform: translateY(-50%) rotate(-8deg) scale(1.06); } }
.steps li { transition: transform .2s ease, box-shadow .2s ease; }
.steps li:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--ink); }
.rider { transition: transform .2s ease; }
.rider:hover { transform: translateY(-4px); }
.rider:hover .rider-plate { animation: wiggle .5s ease; }
@keyframes wiggle { 30% { transform: rotate(-8deg); } 60% { transform: rotate(6deg); } }
.person { transition: transform .2s ease, box-shadow .2s ease; }
.person:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--ink); }
.team-photo img, .tilt-photo img { transition: transform .35s ease; }
.team-photo:hover img { transform: rotate(0deg) scale(1.02); }
.tilt-photo:hover img { transform: rotate(0deg) scale(1.02); }

/* Footer sponsors: endless scrolling strip */
.footer-sponsors .marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.footer-sponsors .marquee ul { flex-wrap: nowrap; width: max-content; animation: marquee 32s linear infinite; }
.footer-sponsors .marquee:hover ul { animation-play-state: paused; }
.footer-sponsors .marquee ul { gap: 0; }
.footer-sponsors .marquee li { width: 120px; flex-shrink: 0; margin-right: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .footer-sponsors .marquee ul { flex-wrap: wrap; width: auto; }
  .footer-sponsors .marquee li[aria-hidden="true"] { display: none; }
  .js-anim .reveal { opacity: 1; transform: none; }
}
