@font-face {
  font-family: Barlow;
  src: url("barlow-latin-500-normal.woff2") format("woff2");
  font-display: swap;
  font-weight: 400 600;
}
@font-face {
  font-family: Barlow;
  src: url("barlow-latin-700-normal.woff2") format("woff2");
  font-display: swap;
  font-weight: 700 900;
}
@font-face {
  font-family: Chakra Petch;
  src: url("chakra-petch-700.woff2") format("woff2");
  font-display: swap;
  font-weight: 700 900;
}
:root {
  color-scheme: dark;
  --page: #111013;
  --surface: #1b181c;
  --ink: #fbf5ea;
  --muted: #c8bfc2;
  --line: #433840;
  --flame: #ff9250;
  --gold: #ffd34a;
  --heading-font: 'Chakra Petch', 'Arial Black', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 52px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-block-start: 16px; }
body {
  margin: 0;
  background: radial-gradient(ellipse 1000px 590px at 91% 0, #241b18, transparent 76%), var(--page);
  color: var(--ink);
  font: 500 16px/1.47 Barlow, system-ui, sans-serif;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
:where(h1, h2, h3, p, ol, dl) { margin: 0; }
:focus-visible { outline: 2px solid #faf1dd; outline-offset: 4px; }
:where(a, button, summary) { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
.skip {
  position: fixed;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--page);
  transform: translateY(-200%);
}
.skip:focus { transform: translateY(0); }
.shell { margin-inline: auto; width: min(100% - var(--gutter) * 2, 1220px); }
.site-header {
  background: #0c0c0e;
  border-bottom: 1px solid #383036;
}
.header-inner, .footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.header-inner { min-height: 68px; padding-block: 7px; }
.soho-logo { width: clamp(92px, 12vw, 120px); height: auto; }
.header-season { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.header-season span { color: var(--flame); }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: .64rem .95rem;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
}
.button.primary { background: var(--gold); color: #211706; }
.button.primary:hover { background: #ffe791; }
.button.outline { background: #1b171b; border-color: #796873; color: var(--ink); }
.button.outline:hover { border-color: var(--ink); }
.button:disabled { cursor: default; opacity: .72; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: #ffe48d;
  font-weight: 700;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.competition-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.competition-link {
  --section-accent: var(--flame);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 75px;
  padding: 9px 14px;
  border: 1px solid #5a4841;
  border-radius: 5px;
  background: #1a1618;
  text-decoration: none;
}
.competition-link.hybrid-link { --section-accent: var(--gold); }
.competition-link[aria-current], .competition-link:hover { border-color: var(--section-accent); }
.competition-link[aria-current] {
  box-shadow: inset 3px 0 var(--section-accent);
  background: radial-gradient(ellipse at left, #30211c, #1a1618 68%);
}
.competition-link img { object-fit: contain; mix-blend-mode: lighten; }
.competition-link strong {
  display: block;
  color: var(--section-accent);
  font: 700 clamp(20px, 2.35vw, 31px)/1.04 var(--heading-font);
  text-transform: uppercase;
}
.competition-link small { display: block; margin-top: 4px; color: var(--ink); font-size: 14px; line-height: 1.2; }
.nav-arrow { color: var(--section-accent); }
.road-hero, .hybrid-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(20px, 4vw, 59px);
  padding-block: clamp(24px, 4.7vw, 65px);
}
.eyebrow {
  color: var(--flame);
  font: 800 clamp(13px, 1.6vw, 17px)/1.19 var(--heading-font);
  letter-spacing: .13em;
}
.hero-title {
  margin: 11px 0 16px;
  font: 700 clamp(47px, 7vw, 100px)/.93 var(--heading-font);
  letter-spacing: -.052em;
  text-transform: uppercase;
}
.hero-title em { color: var(--gold); font-style: normal; }
.lede { max-width: 39ch; color: #f3ece8; font-size: clamp(17px, 2vw, 22px); line-height: 1.38; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 23px; }
.arcade-promo {
  align-self: center;
  display: block;
  overflow: clip;
  border: 1px solid #745d83;
  border-radius: 6px;
  background: #211928;
  text-decoration: none;
}
.arcade-promo:hover { border-color: #e3cee9; }
.promo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 53px;
  padding: 8px 12px;
  font-size: 15px;
  line-height: 1.2;
}
.promo-bar strong { white-space: nowrap; }
.promo-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 10px;
  border: 1px solid #8f789e;
  border-radius: 4px;
  color: #f3e9fb;
  font-weight: 700;
  white-space: nowrap;
}
.arcade-promo img, .game-map { width: 100%; height: auto; image-rendering: pixelated; }
.hybrid-hero {
  margin-top: 23px;
  padding-inline: clamp(16px, 3vw, 35px);
  border: 1px solid #5d4526;
  background: radial-gradient(ellipse at 79% 64%, #3c2b13, #1a1619 63%);
}
.hybrid-hero .eyebrow { color: var(--gold); }
.hero-crest { width: min(100%, 390px); height: auto; justify-self: center; mix-blend-mode: lighten; }
.info-section { padding-block: clamp(25px, 4vw, 48px); border-top: 1px solid var(--line); }
.section-intro, .workout-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 11px 18px;
  margin-bottom: 16px;
}
.section-intro h2 { font: 800 clamp(35px, 5vw, 61px)/1 var(--heading-font); }
.section-intro .eyebrow, .workout-head .eyebrow { margin-bottom: 5px; }
.dates, .tariffs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.dates a, .tariffs button {
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: start;
  min-width: 0;
  min-height: 73px;
  border: 1px solid #574746;
  border-top: 2px solid #865c49;
  padding: 12px;
  background: var(--surface);
  text-decoration: none;
  text-align: left;
}
.dates a:is(:hover, [aria-current]), .tariffs button:is(:hover, [aria-pressed="true"]) {
  border-color: var(--flame);
  background: #2b201d;
}
.dates time { font: 800 clamp(25px, 3.7vw, 40px)/1 var(--heading-font); color: var(--flame); }
.dates strong, .tariffs span { margin-top: 5px; line-height: 1.17; font-weight: 700; }
.workout, .booking-widget { margin-top: 14px; padding: clamp(14px, 2.8vw, 29px); background: var(--surface); border: 1px solid var(--line); }
.workout h3, .booking-widget h3 { font: 800 clamp(28px, 4vw, 44px)/1 var(--heading-font); }
.run-summary { margin-bottom: 15px; }
.mode-control { display: flex; flex-wrap: wrap; gap: 6px; }
.mode-control button {
  min-height: 44px;
  padding: 7px 13px;
  border: 1px solid #7c6871;
  background: #241e24;
  border-radius: 4px;
  font-weight: 700;
}
.mode-control button[aria-pressed="true"] { color: #211706; background: var(--gold); border-color: var(--gold); }
.mode-description { min-height: 1.47em; margin-top: 8px; color: var(--muted); }
.station-list {
  list-style: none;
  padding: 0;
  margin-top: 11px;
  counter-reset: workout;
}
.station-list li {
  counter-increment: workout;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 51px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-block: 5px;
}
.station-list li::before {
  content: counter(workout, decimal-leading-zero);
  font: 800 21px/1 var(--heading-font);
  color: var(--flame);
}
.station-list strong { color: var(--gold); }
.station-list small { display: block; color: var(--muted); }
.workout-play { margin-top: 9px; }
.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.benefits div { border-top: 2px solid #805f4f; padding: 9px 3px 0; }
.benefits dt { font: 800 23px/1.1 var(--heading-font); }
.benefits dd { margin: 6px 0 0; color: var(--muted); }
.tariffs button { grid-template-rows: repeat(3, auto); }
.tariffs button:is(:hover, [aria-pressed="true"]) { border-color: var(--gold); }
.tariffs span { margin-top: 0; }
.tariff-price { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.tariff-price del { color: var(--muted); font: 700 clamp(17px, 2.1vw, 23px)/1 var(--heading-font); }
.tariffs strong { color: var(--gold); font: 800 clamp(35px, 5vw, 54px)/1.08 var(--heading-font); }
.tariff-price sup { margin-left: 1px; font-size: .43em; line-height: 0; }
.tariffs small { color: var(--muted); font-size: 14px; line-height: 1.2; }
.subsidy-note { margin-top: 8px; color: var(--muted); font-size: 15px; }
.subsidy-note span { color: var(--gold); font-weight: 700; }
.booking-widget h3 { margin-bottom: 9px; }
.booking-widget p { color: var(--muted); }
.booking-pending {
  margin-top: 14px;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: #252026;
}
.booking-pending strong { display: block; color: var(--gold); margin-bottom: 3px; font-size: 18px; }
#time2run-embed iframe { display: block; width: 100%; min-height: 560px; border: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 12px 0; cursor: pointer; font-weight: 700; }
.faq details p { padding-bottom: 12px; color: var(--muted); }
.site-footer { padding-block: 28px 22px; border-top: 1px solid var(--line); background: #0d0c0e; color: var(--muted); }
.footer-marks { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.footer-marks img { object-fit: contain; width: auto; max-width: 130px; max-height: 42px; }
.footer-links { flex-wrap: wrap; justify-content: flex-start; margin-top: 15px; font-size: 14px; }
.footer-links p { margin-right: auto; }
.mobile-registration { display: none; }
.arcade-dialog {
  width: min(1160px, 96vw);
  max-width: 100%;
  max-height: 96vh;
  padding: 0;
  border: 1px solid #806988;
  border-radius: 7px;
  overflow: auto;
  background: var(--page);
  color: var(--ink);
}
.arcade-dialog::backdrop { background: #08060be8; }
.dialog-header { display: flex; justify-content: space-between; gap: 9px; align-items: center; padding: 8px 14px; }
.dialog-header h2 { font: 800 24px/1.05 var(--heading-font); }
.arcade-dialog iframe { display: block; width: 100%; height: min(800px, calc(95vh - 64px)); border: 0; }
body.dialog-open { overflow: hidden; }

@media (max-width: 800px) {
  .road-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero-title { font-size: clamp(47px, 9vw, 78px); }
  .arcade-promo { max-width: 560px; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-site.with-dock { padding-bottom: calc(69px + env(safe-area-inset-bottom)); }
  .with-dock .mobile-registration {
    position: fixed;
    inset: auto 0 0;
    z-index: 4;
    display: block;
    padding: 8px var(--gutter) max(8px, env(safe-area-inset-bottom));
    border-top: 1px solid #674c33;
    background: #121014;
  }
  .mobile-registration .button { width: 100%; }
}
@media (max-width: 550px) {
  .header-season, .nav-arrow, .competition-link img { display: none; }
  .header-inner { min-height: 55px; }
  .header-book { min-height: 44px; }
  .competition-nav { gap: 7px; margin-top: 12px; }
  .competition-link { grid-template-columns: 1fr; min-height: 68px; padding: 8px 9px; }
  .competition-link strong { font-size: clamp(17px, 4.6vw, 22px); }
  .competition-link small { font-size: 12px; }
  .road-hero { padding-block: 25px 22px; }
  .hero-title { margin-bottom: 12px; font-size: clamp(35px, 10.3vw, 60px); }
  .hero-actions { margin-top: 17px; }
  .hero-register { width: 100%; }
  .promo-bar { padding: 8px 9px; font-size: 14px; }
  .promo-action { padding: 7px 8px; font-size: 13px; }
  .dates { gap: 5px; }
  .dates a { padding: 9px 7px; font-size: 14px; }
  .hybrid-hero { grid-template-columns: 1fr; margin-top: 14px; gap: 12px; }
  .hero-crest { max-width: 200px; }
  .workout-head .button { width: 100%; }
  .tariffs { grid-template-columns: 1fr; }
  .tariffs button { grid-template: repeat(2, auto) / minmax(0, 1fr) auto; align-items: center; gap: 0 12px; }
  .tariff-price { grid-area: 1 / 2 / 3 / 3; justify-self: end; }
}
