:root {
  --ink: #0E0F12;
  --ink-2: #17191E;
  --ink-3: #22252C;
  --paper: #F5F3EE;
  --paper-2: #ECE8DF;
  --white: #FFFFFF;
  --accent: #FF5A1F;
  --accent-2: #E6450C;
  --text: #16181C;
  --muted: #5E636D;
  --muted-light: #A3A8B2;
  --line: rgba(14, 15, 18, .12);
  --line-light: rgba(245, 243, 238, .14);
  --ok: #2BB673;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--white); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.accent { color: var(--accent); }

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(52px, 8.4vw, 104px);
  line-height: .9;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}
.h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(36px, 5vw, 58px);
  line-height: .95;
  letter-spacing: -.005em;
  margin-bottom: 18px;
  max-width: 18ch;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--accent); transform: skewX(-20deg); }
.eyebrow--light { color: var(--accent); }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: #C9CDD4; max-width: 56ch; }
.sub { font-size: 18.5px; color: var(--muted); max-width: 62ch; margin-bottom: 40px; }
.sub--light { color: var(--muted-light); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  font-size: 17px; line-height: 1;
  padding: 14px 22px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--accent-2); }
.btn--ghost { border-color: var(--line-light); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--ink-3); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--sm { padding: 10px 16px; font-size: 15px; }
.btn--lg { padding: 18px 28px; font-size: 19px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 15, 18, .86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-light);
  color: var(--paper);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); }
.brand__mark { width: 30px; height: 30px; }
.brand__word { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 25px; text-transform: uppercase; letter-spacing: .01em; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 15.5px; color: #C9CDD4; }
.nav__links a:not(.btn):hover { color: var(--paper); }
.nav__links .nav__login { color: var(--paper); font-weight: 600; padding-left: 26px; border-left: 1px solid var(--line-light); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 12px 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav__toggle span:not(.sr-only) { display: block; height: 2px; background: var(--paper); border-radius: 2px; transition: transform .2s ease; }

@media (max-width: 1140px) {
  .nav__toggle { display: flex; height: 40px; padding: 13px 10px; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-light);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-light); font-size: 17px; }
  .nav__links .btn { margin-top: 16px; }
  .nav__links .nav__login { padding-left: 0; border-left: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 90, 31, .18), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--paper);
  padding: clamp(48px, 8vw, 96px) 0 48px;
  position: relative;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; opacity: .6; filter: grayscale(.35) contrast(1.05); }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 15, 18, .94) 0%, rgba(14, 15, 18, .8) 42%, rgba(14, 15, 18, .45) 100%),
    linear-gradient(180deg, rgba(14, 15, 18, .2) 0%, rgba(14, 15, 18, .25) 60%, var(--ink-2) 100%),
    radial-gradient(900px 500px at 85% -10%, rgba(255, 90, 31, .22), transparent 60%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero::after {
  content: ""; position: absolute; inset: auto -10% 0 -10%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 40px, transparent 40px 54px);
  opacity: .6;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 22px; }
.hero__note { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted-light); margin: 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot--live { background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 90, 31, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, .55); } 70% { box-shadow: 0 0 0 9px rgba(255, 90, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); } }

/* live board */
.board {
  background: rgba(23, 25, 30, .9);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  min-width: 0;
}
.board__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 2px 4px 14px; border-bottom: 1px solid var(--line-light); }
.board__head > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.board__live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--accent); }
.board__title { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board__clock { font-size: 20px; font-weight: 700; color: var(--paper); }
.board__table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 15px; table-layout: fixed; }
.board__table th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; color: var(--muted-light); padding: 10px 6px 8px; }
.board__table th:nth-child(1) { width: 44px; }
.board__table th:nth-child(3) { width: 34%; }
.board__table th:nth-child(4) { width: 78px; }
.board__table td { padding: 10px 6px; border-top: 1px solid rgba(245, 243, 238, .07); vertical-align: middle; transition: background .6s ease; }
.board__table .r { text-align: right; }
.board__table tr.is-read td { background: rgba(255, 90, 31, .14); transition: none; }
.pos { font-family: var(--mono); font-weight: 700; }
.ath { display: flex; flex-direction: column; min-width: 0; }
.ath b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ath small { font-family: var(--mono); font-size: 11.5px; color: var(--muted-light); }
.loc { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.loc--run { background: rgba(245, 243, 238, .1); color: var(--paper); }
.loc--station { background: rgba(255, 90, 31, .18); color: #FFB394; }
.loc--done { background: rgba(43, 182, 115, .18); color: #7BE0AE; }
.gap { font-family: var(--mono); font-size: 13.5px; color: var(--muted-light); }
.board__feed { margin-top: 12px; padding: 10px 12px; border-radius: var(--radius-sm); background: rgba(0, 0, 0, .35); font-size: 12.5px; color: #C9CDD4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board__feed b { color: var(--accent); font-weight: 700; }
.board__caption { margin: 10px 2px 0; font-size: 12.5px; color: var(--muted-light); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: clamp(48px, 7vw, 80px) 0 0; border-top: 1px solid var(--line-light); }
.stats > div { padding: 22px 20px 4px 0; }
.stats > div + div { padding-left: 20px; border-left: 1px solid var(--line-light); }
.stats dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 6px; }
.stats dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); text-transform: uppercase; line-height: 1.05; }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--paper); }

.cards { display: grid; gap: 20px; margin-top: 40px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.card:hover::after { transform: scaleX(1); }
.card__num { display: block; color: var(--accent-2); font-size: 13px; font-weight: 700; margin-bottom: 36px; }
.card__img { display: block; width: calc(100% + 56px); height: auto; max-width: none; margin: -30px -28px 22px; aspect-ratio: 16 / 10; object-fit: cover; }
.card__img + .card__num { margin-bottom: 10px; }
.cards--3 .card:nth-child(1) .card__img { object-position: 50% 30%; }
.card h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 28px; margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; }
.card__link { display: inline-block; margin-top: 16px; color: var(--accent-2); font-weight: 600; text-decoration: none; }
.card__link:hover { text-decoration: underline; }
.price-group__link { margin-left: auto; font-family: var(--body); font-size: 15px; font-weight: 600; text-transform: none; color: var(--accent-2); text-decoration: none; letter-spacing: 0; }
.price-group__link:hover { text-decoration: underline; }

.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { position: relative; padding-left: 26px; margin: 8px 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 3px; background: var(--accent); transform: skewX(-20deg); }
.ticks--light li { color: #D5D8DE; }

/* ---------- config / course ---------- */
.config { display: grid; grid-template-columns: minmax(280px, .7fr) 1.3fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.config__panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.config__count { font-family: var(--display); font-weight: 800; font-size: 34px; text-transform: uppercase; line-height: 1; margin: 22px 0 12px; }
.config__count .mono { color: var(--accent-2); font-size: .85em; }
.config__copy p:not(.config__count) { color: var(--muted); }
.config__copy .ticks { margin-bottom: 0; }

.seg { display: inline-flex; background: var(--paper-2); border-radius: 999px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.seg button, .seg label span {
  border: 0; background: transparent; cursor: pointer;
  padding: 9px 16px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--muted);
  display: block; white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.seg button[aria-selected="true"], .seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 1px; }
.seg--small button, .seg--small label span { padding: 7px 13px; font-size: 14px; }

.course { margin: 0; background: var(--ink); border-radius: var(--radius); padding: clamp(14px, 2.5vw, 28px); color: var(--paper); }
.course svg { width: 100%; height: auto; }
.course figcaption { font-size: 13px; color: var(--muted-light); margin-top: 10px; }
.c-track { fill: none; stroke: #2A2E36; stroke-width: 30; }
.c-track-line { fill: none; stroke: rgba(245, 243, 238, .25); stroke-width: 1.5; stroke-dasharray: 6 8; }
.c-arrow { fill: var(--muted-light); }
.c-lane { stroke: #2A2E36; stroke-width: 22; fill: none; }
.c-zone { fill: rgba(255, 90, 31, .05); stroke: rgba(255, 90, 31, .55); stroke-width: 1.5; stroke-dasharray: 6 6; }
.c-stations rect { fill: #1E2127; stroke: rgba(245, 243, 238, .14); }
.c-stations text { fill: #D5D8DE; font: 600 16px var(--body); }
.c-label { fill: var(--muted-light); font: 600 14px var(--mono); letter-spacing: .1em; }
.c-label--big { fill: var(--paper); font: 800 34px var(--display); letter-spacing: .04em; }
.c-tag { fill: var(--accent); font: 700 14px var(--mono); letter-spacing: .06em; }
.c-mats rect { fill: var(--accent); }
.c-station-mats rect { fill: var(--accent); opacity: 0; transition: opacity .3s ease; }
.course[data-mode="station"] .c-station-mats rect { opacity: 1; }
.course[data-mode="station"] .c-station-mats rect:nth-child(2) { transition-delay: .04s; }
.course[data-mode="station"] .c-station-mats rect:nth-child(3) { transition-delay: .08s; }
.course[data-mode="station"] .c-station-mats rect:nth-child(4) { transition-delay: .12s; }
.course[data-mode="station"] .c-station-mats rect:nth-child(5) { transition-delay: .16s; }
.course[data-mode="station"] .c-station-mats rect:nth-child(6) { transition-delay: .2s; }
.course[data-mode="station"] .c-station-mats rect:nth-child(7) { transition-delay: .24s; }
.course[data-mode="station"] .c-station-mats rect:nth-child(8) { transition-delay: .28s; }

.steps { list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { border-top: 2px solid var(--ink); padding-top: 18px; }
.steps .mono { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--white); font-weight: 700; font-size: 13px; margin-bottom: 14px; }
.steps h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 23px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- kit ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 16px; margin-top: 40px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); aspect-ratio: 4 / 5; }
.gallery figure:last-child { aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 64px 18px 16px; background: linear-gradient(rgba(14, 15, 18, 0), rgba(14, 15, 18, .8) 45%, rgba(14, 15, 18, .95)); color: #C9CDD4; font-size: 14.5px; line-height: 1.4; }
.gallery figcaption strong { display: block; color: var(--paper); font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 21px; letter-spacing: .02em; margin-bottom: 2px; }
.gallery + .kit { margin-top: 16px; }
.kit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 40px; }
.kit__item { background: var(--paper); padding: 28px 24px 30px; }
.kit__item svg { width: 44px; height: 44px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.kit__item h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 23px; margin-bottom: 8px; }
.kit__item h3 em { font-style: normal; font-weight: 600; color: var(--muted); font-size: .7em; letter-spacing: .02em; }
.kit__item p { color: var(--muted); font-size: 16px; margin: 0; }
.kit__item--accent { background: var(--ink); color: var(--paper); }
.kit__item--accent svg { stroke: var(--accent); }
.kit__item--accent p { color: var(--muted-light); }

/* ---------- split league ---------- */
.league { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.league__copy .sub { margin-bottom: 28px; }
.league-steps { list-style: none; margin: 0 0 30px; padding: 0; counter-reset: lg; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.league-steps li { counter-increment: lg; position: relative; padding-left: 46px; }
.league-steps li::before { content: counter(lg, decimal-leading-zero); position: absolute; left: 0; top: 1px; font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--white); background: var(--accent); border-radius: 6px; padding: 3px 7px; }
.league-steps h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 21px; margin-bottom: 4px; }
.league-steps p { color: var(--muted-light); font-size: 15.5px; margin: 0; }
.league__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ltable { background: var(--ink-2); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 18px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); min-width: 0; }
.ltable__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 2px 4px 14px; border-bottom: 1px solid var(--line-light); }
.ltable__head > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ltable__title { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ltable__sub { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); white-space: nowrap; }
.ltable table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 15px; }
.ltable th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; color: var(--muted-light); padding: 10px 6px 8px; }
.ltable td { padding: 11px 6px; border-top: 1px solid rgba(245, 243, 238, .07); }
.ltable .r { text-align: right; }
.ltable td b { color: var(--paper); }
.ltable tr.is-up td { background: rgba(255, 90, 31, .12); }
.move { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--accent); margin-left: 6px; }
.move--down { color: var(--muted-light); }
.workout { margin-top: clamp(48px, 6vw, 72px); padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line-light); border-radius: var(--radius); background: var(--ink-2); display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px 40px; align-items: center; }
.workout__intro h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 28px; margin-bottom: 6px; }
.workout__intro p { color: var(--muted-light); margin: 0; font-size: 16px; }
.workout__kit { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.workout__kit li { padding: 8px 14px; border-radius: 999px; border: 1.5px solid rgba(255, 90, 31, .55); color: var(--paper); font-weight: 600; font-size: 15px; background: rgba(255, 90, 31, .08); }
.workout__flow { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line-light); }
.workout__label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 10px; }
.workout__flow ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.workout__flow li { font-family: var(--mono); font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 6px; background: var(--accent); color: var(--white); text-transform: uppercase; letter-spacing: .04em; }
.workout__flow li.run { background: transparent; color: var(--muted-light); border: 1px dashed rgba(245, 243, 238, .3); }
.league-features { list-style: none; margin: clamp(40px, 5vw, 56px) 0 0; padding: 28px 0 0; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.league-features li { color: var(--muted-light); font-size: 15.5px; line-height: 1.5; }
.league-features strong { display: block; color: var(--paper); font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 20px; margin-bottom: 4px; }

/* ---------- chips ---------- */
.chips { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.chips__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chips__photos figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); aspect-ratio: 1; }
.chips__photos .chips__main { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.chips__photos .chips__wide { grid-column: 1 / -1; aspect-ratio: 16 / 6; }
.chips__photos img { width: 100%; height: 100%; object-fit: cover; }
.chips__photos .chips__wide img { object-position: 35% 50%; }
.chips__photos figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.chips__copy .sub { margin-bottom: 28px; }
.chip-steps { list-style: none; margin: 0; padding: 0; counter-reset: chip; display: grid; gap: 18px; }
.chip-steps li { counter-increment: chip; position: relative; padding-left: 48px; }
.chip-steps li::before { content: counter(chip, decimal-leading-zero); position: absolute; left: 0; top: 1px; font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--white); background: var(--accent); border-radius: 6px; padding: 3px 7px; }
.chip-steps h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 22px; margin-bottom: 4px; }
.chip-steps p { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- portal ---------- */
.portal { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.features li { color: var(--muted-light); font-size: 15.5px; line-height: 1.45; padding-left: 16px; border-left: 2px solid var(--accent); }
.features strong { display: block; color: var(--paper); font-weight: 600; font-size: 16.5px; }
.athlete { background: var(--paper); color: var(--text); border-radius: var(--radius); padding: 24px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); transform: rotate(1.2deg); }
.athlete .board__caption { color: var(--muted); }
.athlete__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.athlete__bib { font-size: 13px; color: var(--accent-2); font-weight: 700; margin: 0 0 2px; }
.athlete__name { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 32px; line-height: 1; margin: 0 0 4px; }
.athlete__cat { font-size: 14px; color: var(--muted); margin: 0; }
.athlete__total { text-align: right; }
.athlete__total p { font-size: 28px; font-weight: 700; margin: 0; line-height: 1.1; }
.athlete__total span { font-size: 13px; color: var(--muted); }
.splits { list-style: none; margin: 10px 0 0; padding: 0; font-size: 13.5px; columns: 2; column-gap: 24px; }
.splits li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); break-inside: avoid; }
.splits li span:first-child { font-family: var(--body); font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.splits li.is-station span:first-child { color: var(--text); }
.splits li.is-station span:last-child { color: var(--accent-2); font-weight: 700; }

/* live & results (from the portal) */
.live__intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.live__intro .sub { margin-bottom: 0; }
.races { margin-top: 40px; display: flex; flex-direction: column; gap: 40px; }
.races__state { color: var(--muted-light); margin: 0; }
.races__state--error { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 24px; border: 1px solid var(--line-light); border-radius: var(--radius); background: var(--ink-2); }
.races__state--error p { margin: 0; color: #C9CDD4; max-width: 60ch; }
.races__title { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 26px; padding-bottom: 12px; border-bottom: 1px solid var(--line-light); margin-bottom: 16px; }
.races__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.races__empty { color: var(--muted-light); margin: 0; grid-column: 1 / -1; }
.race { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-light); color: var(--paper); text-decoration: none; transition: border-color .15s ease, transform .15s ease; min-width: 0; }
.race:hover { border-color: var(--accent); transform: translateY(-2px); }
.race--live { border-color: rgba(255, 90, 31, .55); background: linear-gradient(160deg, rgba(255, 90, 31, .14), var(--ink-2) 60%); }
.race__status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); }
.race--live .race__status { color: var(--accent); }
.race__name { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 24px; line-height: 1.05; margin: 4px 0 0; overflow-wrap: anywhere; }
.race__meta { color: var(--muted-light); font-size: 14.5px; margin: 0; }
.race__cta { margin-top: auto; padding-top: 12px; font-weight: 600; font-size: 15px; color: var(--paper); }
.race--live .race__cta { color: var(--accent); }

.livebar { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px var(--gutter); background: var(--accent); color: var(--white); text-decoration: none; font-size: 15px; font-weight: 500; }
.livebar:hover .livebar__cta { text-decoration: underline; }
.livebar__tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; flex: none; }
.livebar .dot--live { background: var(--white); animation: none; }
.livebar__text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.livebar__cta { font-weight: 700; flex: none; }

/* ---------- wanaka ---------- */
.wanaka { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.wanaka p:not(.eyebrow) { color: var(--muted); font-size: 18px; max-width: 54ch; }
.wanaka p a { color: var(--accent-2); font-weight: 600; }
.wanaka__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.wanaka__media { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink); }
.wanaka__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.wanaka__media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 14px; background: linear-gradient(rgba(14, 15, 18, 0), rgba(14, 15, 18, .9)); color: var(--paper); font-size: 13.5px; }
.wanaka__badge { position: absolute; left: 16px; top: 16px; background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }

/* ---------- pricing ---------- */
.daypack { margin-top: 8px; background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 48px; align-items: center; position: relative; overflow: hidden; }
.daypack::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent); }
.daypack .tier__flag { position: static; display: inline-block; margin-bottom: 14px; }
.daypack h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 4vw, 46px); margin-bottom: 10px; }
.daypack__copy > p { color: var(--muted-light); max-width: 52ch; }
.daypack .ticks { margin: 0; }
.daypack__price { border-left: 1px solid var(--line-light); padding-left: 48px; }
.daypack__price .tier__price { font-size: clamp(64px, 7vw, 88px); margin-bottom: 10px; }
.daypack__price .tier__price small { color: var(--muted-light); }
.daypack__fine { color: var(--muted-light); font-size: 14.5px; margin-bottom: 22px; }
@media (max-width: 760px) {
  .daypack { grid-template-columns: 1fr; }
  .daypack__price { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-light); padding-top: 22px; }
}
.price-group { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 26px; margin: 56px 0 0; display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; }
.price-group span { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; color: var(--muted); }
.price-group + .cards { margin-top: 18px; }
.tier { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.tier h4 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 26px; }
.tier__for { color: var(--muted); font-size: 15px; margin: 4px 0 18px; }
.tier__price { font-family: var(--display); font-weight: 800; font-size: 52px; line-height: 1; margin: 0 0 22px; letter-spacing: -.01em; }
.tier__price small { font-family: var(--body); font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tier .ticks { margin: 0; font-size: 15.5px; }
.tier--feature { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tier--feature .tier__for, .tier--feature .tier__price small { color: var(--muted-light); }
.tier__flag { position: absolute; top: 24px; right: 24px; background: var(--accent); color: var(--white); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.note { margin: 18px 0 0; color: var(--muted); font-size: 15.5px; max-width: 80ch; }
.note strong { color: var(--text); }
.extras { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; margin-top: 18px; }
.extras div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.extras span { color: var(--muted); }
.extras strong { font-weight: 600; text-align: right; }

.estimator { display: grid; grid-template-columns: 1fr 1fr; margin-top: 64px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.estimator__form { background: var(--white); padding: clamp(22px, 3vw, 36px); }
.estimator__form h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 30px; margin-bottom: 20px; }
.estimator__result { background: var(--ink); color: var(--paper); padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; }
.estimator__label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); margin: 0 0 6px; }
.estimator__total { font-size: clamp(40px, 5vw, 56px); font-weight: 700; line-height: 1; margin: 0 0 8px; color: var(--white); }
.estimator__per { color: var(--accent); font-weight: 600; margin-bottom: 20px; }
.lines { list-style: none; padding: 0; margin: 0 0 18px; font-size: 13.5px; }
.lines li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line-light); }
.lines li span:first-child { font-family: var(--body); font-size: 15px; color: #C9CDD4; }
.lines li.is-head { border-bottom: 0; padding-top: 14px; color: var(--muted-light); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.lines li.is-head span:first-child { font-family: var(--mono); font-size: 11px; color: var(--muted-light); }
.estimator__hint { font-size: 15px; color: #C9CDD4; background: rgba(255, 90, 31, .1); border-left: 3px solid var(--accent); padding: 10px 14px; border-radius: 0 6px 6px 0; }
.estimator__hint:empty { display: none; }
.estimator__result .btn { margin-top: auto; }
.estimator__fine { font-size: 12.5px; color: var(--muted-light); margin: 12px 0 0; }

.founding { margin-top: 40px; background: linear-gradient(120deg, var(--ink) 0%, #2a1209 100%); color: var(--paper); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.founding h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 10px; }
.founding p:not(.eyebrow) { color: var(--muted-light); max-width: 62ch; margin: 0; }
.founding .btn { flex: none; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin: 0 0 18px; min-width: 0; border: 0; padding: 0; }
.field > span, .field__label, .field legend { font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; align-items: baseline; padding: 0; }
.field small { font-weight: 400; color: var(--muted); }
.field output { color: var(--accent-2); font-weight: 700; }
input[type="text"], input:not([type]), input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; min-width: 0;
  background: var(--white);
  border: 1.5px solid rgba(14, 15, 18, .18);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235E636D' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 38px; }
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 90, 31, .2); }
input[type="range"] { accent-color: var(--accent); width: 100%; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; margin: 0 0 18px; font-size: 15.5px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.check--inline { align-self: end; margin-bottom: 30px; }

.enquire { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.enquire__intro { position: sticky; top: 96px; }
.form { background: var(--paper); color: var(--text); border-radius: var(--radius); padding: clamp(20px, 3.5vw, 40px); }
.form fieldset { border: 0; margin: 0 0 12px; padding: 0 0 12px; min-width: 0; }
.form fieldset + fieldset { border-top: 1px solid var(--line); padding-top: 28px; }
.form fieldset > legend { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 26px; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 0; float: left; width: 100%; }
.form fieldset > legend + * { clear: both; }
.form fieldset > legend .mono { font-size: 13px; color: var(--white); background: var(--accent); padding: 4px 8px; border-radius: 6px; font-weight: 700; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choices--3 { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px; background: var(--white); border: 1.5px solid rgba(14, 15, 18, .18); border-radius: var(--radius-sm); transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.choice strong { font-weight: 600; font-size: 16px; }
.choice small { color: var(--muted); font-size: 14px; }
.choice input:checked + span { border-color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); background: #FFF6F2; }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pills span { display: block; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1.5px solid rgba(14, 15, 18, .18); font-size: 14.5px; font-weight: 500; transition: all .15s ease; }
.pills input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pills input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.is-invalid { border-color: #D3301F !important; }
.choices.is-invalid span, .check.is-invalid { color: #B32616; }
.choices.is-invalid span { border-color: #D3301F; }
.form__error { background: #FDECEA; color: #8F1F12; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 15px; }
.attached { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--white); border: 1.5px dashed var(--accent); border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 18px; font-size: 15px; }
.attached button { background: none; border: 0; color: var(--accent-2); font-weight: 600; cursor: pointer; text-decoration: underline; }
.form-done { background: var(--paper); color: var(--text); border-radius: var(--radius); padding: clamp(32px, 5vw, 56px); text-align: center; }
.form-done svg { width: 64px; height: 64px; margin: 0 auto 18px; fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.form-done h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 38px; margin-bottom: 10px; }
.form-done p { color: var(--muted); max-width: 44ch; margin: 0 auto; }

.contact { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 12px; }
.contact__label { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); margin: 0 0 2px; }
.contact__item { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); text-decoration: none; font-weight: 600; font-size: 18px; width: fit-content; }
.contact__item svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact__item:hover { color: var(--accent); }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 5vw, 72px); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; font-size: 18.5px; position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--accent), var(--accent)) center / 14px 2.5px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 2.5px 14px no-repeat; transition: transform .2s ease; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { color: var(--muted); margin: -4px 0 22px; max-width: 64ch; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--muted-light); border-top: 1px solid var(--line-light); padding: 40px 0 28px; font-size: 15px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__inner p { margin: 0; }
.footer__about p { margin: 0; }
.footer__contact { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 6px !important; }
.footer__contact a { color: var(--paper); text-decoration: none; font-weight: 500; }
.footer__contact a:hover { color: var(--accent); }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--paper); }
.footer__services { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 22px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-light); }
.footer__services span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--paper); margin-right: 4px; }
.footer__services a { text-decoration: none; }
.footer__services a:hover { color: var(--paper); }
.footer__fine { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-light); font-size: 13px; }
.footer__fine p { margin: 0; }

/* ---------- service pages ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); color: var(--paper); padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero h1 { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(42px, 6vw, 72px); line-height: .92; margin-bottom: 20px; }
.page-hero .lead { margin-bottom: 28px; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero__media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-3); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: 14px; color: var(--muted-light); margin-bottom: 26px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(245, 243, 238, .35); }
.crumbs a { color: var(--paper); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.prose { max-width: 70ch; }
.prose h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 40px); line-height: 1; margin: 0 0 16px; }
.prose h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 23px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--muted); font-size: 18px; }
.prose p strong, .prose li strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin: 8px 0; }
.prose a { color: var(--accent-2); font-weight: 600; }
.section--dark .prose p, .section--dark .prose li { color: var(--muted-light); }
.section--dark .prose p strong, .section--dark .prose li strong { color: var(--paper); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.duo:has(.duo__media) { align-items: center; }
.duo__media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink); }
.duo__media img { width: 100%; height: 100%; object-fit: cover; }
.steps-list { counter-reset: st; list-style: none; padding: 0 !important; }
.steps-list li { counter-increment: st; position: relative; padding-left: 46px; margin: 14px 0; }
.steps-list li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--white); background: var(--accent); border-radius: 6px; padding: 3px 7px; }

.compare { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: 16.5px; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 18px; letter-spacing: .02em; }
.compare tbody th { font-weight: 600; color: var(--text); width: 30%; }
.compare td { color: var(--muted); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.cta-band { background: linear-gradient(120deg, var(--ink) 0%, #2a1209 100%); color: var(--paper); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 4vw, 46px); line-height: 1; margin-bottom: 8px; }
.cta-band p { color: var(--muted-light); margin: 0; max-width: 60ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band__contact { margin-top: 14px !important; font-size: 15px; }
.cta-band__contact a { color: var(--paper); }

.notfound { min-height: 50vh; display: grid; align-content: center; }

/* ---------- race series ---------- */
.series-cal { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.series-race { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.series-race__num { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }
.series-race h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1.05; margin: 2px 0 0; }
.series-race__where { color: var(--muted); margin: 0; font-size: 15.5px; }
.series-race__status { align-self: flex-start; margin-top: 10px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--paper-2); color: var(--muted); }
.series-race__link { margin-top: 8px; color: var(--accent-2); font-weight: 600; font-size: 15px; text-decoration: none; }
.series-race__link:hover { text-decoration: underline; }
.series-race--next { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.series-race--next .series-race__status { background: var(--accent); color: var(--white); }
.series-race--done { background: transparent; }
.series-race--done h3, .series-race--done .series-race__where { color: var(--muted); }
.points-table { max-width: 320px; }
.points-table td { font-family: var(--mono); font-weight: 700; color: var(--text); }
.example-table td, .example-table th { white-space: nowrap; }
.example-table s { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .config { grid-template-columns: 1fr; }
  .kit { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
}
@media (max-width: 920px) {
  .races__list { grid-template-columns: repeat(2, 1fr); }
  .league-features { grid-template-columns: repeat(2, 1fr); }
  .workout { grid-template-columns: 1fr; }
  .page-hero__grid, .duo { grid-template-columns: 1fr; }
  .series-cal { grid-template-columns: repeat(2, 1fr); }
  .page-hero__media { order: -1; aspect-ratio: 16 / 9; }
  .hero__grid, .league, .config, .portal, .chips, .wanaka, .enquire, .faq, .estimator { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .cards--3 { grid-template-columns: 1fr; }
  .enquire__intro { position: static; }
  .founding { flex-direction: column; align-items: flex-start; }
  .athlete { transform: none; }
  .wanaka__media { order: -1; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure, .gallery figure:last-child { aspect-ratio: 4 / 3; }
  .gallery figure:nth-child(1) img { object-position: 50% 60%; }
  .gallery figcaption { font-size: 13px; padding: 40px 12px 12px; }
  .gallery figcaption strong { font-size: 18px; }
  .cards--2, .grid-2, .grid-3, .choices--3, .extras, .features { grid-template-columns: 1fr; }
  .kit { grid-template-columns: 1fr; }
  .races__list { grid-template-columns: 1fr; }
  .league-steps, .league-features { grid-template-columns: 1fr; }
  .series-cal { grid-template-columns: 1fr; }
  .prose p, .prose li { font-size: 17px; }
  .compare { font-size: 15px; }
  .compare th, .compare td { padding: 12px 12px; }
  .compare tbody th { width: 34%; }
  .ltable { padding: 14px 12px; }
  .ltable__sub { display: none; }
  .ltable table { font-size: 14px; }
  .ltable th { white-space: nowrap; }
  .steps { grid-template-columns: 1fr; }
  .splits { columns: 1; }
  .course { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .course svg { min-width: 580px; }
  .check--inline { margin-bottom: 18px; }
  .board { padding: 14px 12px; }
  .board__table { font-size: 14px; }
  .board__table th:nth-child(3) { width: 30%; }
  .board__table th:nth-child(4) { width: 64px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .athlete__name { font-size: 28px; }
  .extras div { flex-direction: column; gap: 2px; }
  .extras strong { text-align: left; }
}
@media (max-width: 400px) {
  .choices { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-light); }
}
