/* Desi Warrior — restored site styles.
   Visual system recovered from the 2016 stylesheet (archive/raw/css/style.css):
   orange #ff6400, near-black #1a1a1a, lime #96da00 (logo tagline), white;
   orange italic stencil H1s, white condensed bold H2s, dark panels with orange accents. */

@font-face { font-family: 'Big Shoulders Stencil'; src: url('/fonts/big-shoulders-stencil-variable-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/barlow-condensed-600-latin.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/barlow-condensed-700-latin.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/barlow-condensed-800-latin.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Cabin'; src: url('/fonts/cabin-variable-latin.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --orange: #ff6400;
  --orange-hot: #ff7d2b;
  --lime: #96da00;
  --black: #0d0d0d;
  --ink: #1a1a1a;
  --panel: #222222;
  --line-dark: #3a3a3a;
  --paper: #f3f1ec;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #4d4d4d;
  --on-dark: #f0f0f0;
  --on-dark-muted: #bdbdbd;
  --font-display: 'Big Shoulders Stencil', 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  --font-head: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Cabin', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 4px;
  --header-h: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--orange); text-underline-offset: 0.18em; }
a:hover { color: var(--orange-hot); }
p { margin: 0 0 1em; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 0.5em; }
code { font-size: 0.9em; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.small { font-size: 0.9rem; color: var(--on-dark-muted); }
main:focus { outline: none; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--orange); color: var(--black); padding: 0.6rem 1rem; font-weight: 700; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; color: var(--black); }

/* ---- Legacy notice ------------------------------------------------------- */
.legacy-bar { background: var(--black); border-bottom: 1px solid var(--line-dark); font-size: 0.85rem; line-height: 1.45; }
.legacy-bar p { width: min(100% - 2 * var(--gutter), var(--wrap)); margin: 0 auto; padding: 0.55rem 0; color: var(--on-dark-muted); }
.legacy-bar__tag { display: inline-block; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--black); background: var(--lime); padding: 0 0.45em; border-radius: 2px; margin-right: 0.35em; }
.legacy-bar a { color: var(--on-dark); white-space: nowrap; }
.legacy-bar__short { display: none; }
@media (max-width: 40rem) { .legacy-bar__text { display: none; } .legacy-bar__short { display: inline; } }

/* ---- Header & navigation --------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 13, 13, 0.96); border-bottom: 3px solid var(--orange); }
@supports (backdrop-filter: blur(6px)) { .site-header { background: rgba(13, 13, 13, 0.88); backdrop-filter: blur(6px); } }
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: block; flex: 0 0 auto; margin-right: auto; padding: 0.35rem 0; }
.brand__logo img { width: 11rem; }
@media (max-width: 30rem) { .brand__logo img { width: 9rem; } }
.brand__text { font-family: var(--font-display); font-size: 1.6rem; color: var(--orange); text-transform: uppercase; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0; }
.nav-item > a, .nav-sub-toggle {
  display: flex; align-items: center; gap: 0.35rem; min-height: 2.75rem; padding: 0.4rem 0.7rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--on-dark); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: var(--radius);
}
.nav-item > a:hover, .nav-sub-toggle:hover, .nav-item > a[aria-current="page"], .nav-item.is-active > .nav-sub-toggle { color: var(--orange); }
.nav-item > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.chev { transition: transform 0.2s; }
.nav-sub-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.has-sub { position: relative; }
.subnav { list-style: none; margin: 0; padding: 0.4rem 0; }
.subnav a { display: block; padding: 0.55rem 1rem; color: var(--on-dark); text-decoration: none; font-weight: 600; }
.subnav a:hover, .subnav a[aria-current="page"] { color: var(--orange); }
.subnav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--orange); }

.menu-toggle { display: none; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0.4rem 0.8rem; background: var(--orange); color: var(--black); border: 0; border-radius: var(--radius); font-family: var(--font-head); font-weight: 800; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 1.2rem; height: 2px; background: currentColor; position: relative; transition: transform 0.2s; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ''; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Small screens: collapsible panel (only when JS is available; without JS the list simply wraps). */
@media (max-width: 63.99rem) {
  .site-header__inner { flex-wrap: wrap; }
  .js .menu-toggle { display: inline-flex; }
  .site-nav { flex-basis: 100%; }
  .js .site-nav { display: none; padding-bottom: 1rem; max-height: calc(100vh - var(--header-h) - 2rem); overflow-y: auto; }
  .js .site-nav.is-open { display: block; }
  .js .nav-list { flex-direction: column; }
  .js .nav-item > a, .js .nav-sub-toggle { width: 100%; justify-content: space-between; font-size: 1.2rem; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .js .nav-item > a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--orange); padding-left: 1rem; }
  .subnav { padding-left: 1rem; }
}
/* Large screens: horizontal bar with a dropdown for Event Day. */
@media (min-width: 64rem) {
  .subnav { position: absolute; top: calc(100% + 0.35rem); left: 0; min-width: 14rem; background: var(--black); border: 1px solid var(--line-dark); border-top: 3px solid var(--orange); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,0.45); }
  .no-js .subnav { display: none; }
  .no-js .has-sub:hover .subnav, .no-js .has-sub:focus-within .subnav { display: block; }
  .subnav[hidden] { display: none; }
}

/* ---- Buttons & links ------------------------------------------------------------ */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.7rem 1.4rem; background: var(--orange); color: var(--black); border: 2px solid var(--orange); border-radius: var(--radius); font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; transition: background 0.15s, color 0.15s; }
.button:hover { background: var(--orange-hot); border-color: var(--orange-hot); color: var(--black); }
.button--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.button--ghost:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.text-link { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--orange); }
.text-link::after { content: ' →'; }
.text-link:hover { text-decoration: underline; }
.text-link--small { font-size: 0.9rem; }
.obstacle__top .text-link::after { content: ' ↑'; }

/* ---- Typography ------------------------------------------------------------- */
.kicker { font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lime); margin-bottom: 0.6rem; }
.section-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.75rem, 3.2vw, 2.4rem); text-transform: uppercase; letter-spacing: 0.02em; color: var(--white); margin-top: 0.2em; }
.section-title--stencil { font-family: var(--font-display); font-weight: 900; font-style: italic; color: var(--orange); font-size: clamp(2.1rem, 4.4vw, 3.2rem); letter-spacing: 0.01em; }
.subhead { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--white); margin-top: 1.2rem; }
.prose { max-width: 44rem; }
.prose p { font-size: 1.1rem; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; margin-bottom: 1.5rem; }
.section-head .section-title { margin-bottom: 0; }

/* ---- Sections --------------------------------------------------------------------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tight { padding: clamp(1.5rem, 3vw, 2.5rem) 0; }
.section--dark { background: var(--black); }
.section--light { background: var(--paper); color: var(--text); }
.section--light a:not(.button) { color: #b34400; }
.section--light .section-title, .section--light .subhead { color: var(--ink); }
.section--light .section-title--stencil { color: #d65100; }
.section--light .small { color: var(--text-muted); }
.section--light .kicker { color: #3d6b00; }
.split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split > div > picture { width: fit-content; max-width: 100%; margin-inline: auto; }
.split > div > picture img { border-radius: var(--radius); box-shadow: 0 0 0 6px var(--panel), 0 18px 40px rgba(0,0,0,0.35); }
.section--light .split > div > picture img { box-shadow: 0 0 0 6px var(--white), 0 18px 40px rgba(0,0,0,0.18); }
.split--top { align-items: start; }
@media (min-width: 48rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--flip > :first-child { order: 2; }
}
.card-grid { list-style: none; padding: 0; display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
ul.card-grid { margin: 0 0 1.5rem; }
@media (min-width: 40rem) { .card-grid--2, .card-grid--4, .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---- Page hero ---------------------------------------------------------------------- */
.page-hero { position: relative; isolation: isolate; background: var(--black); padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line-dark); text-align: center; overflow: hidden; }
.page-hero--image { padding-block: clamp(4.5rem, 12vw, 9rem); }
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,13,0.72), rgba(13,13,13,0.85)); }
.page-hero__title { font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--orange); font-size: clamp(2.8rem, 8vw, 5.5rem); line-height: 0.95; margin: 0 0 0.3em; text-shadow: 0 2px 18px rgba(0,0,0,0.5); }
.page-hero__lede { max-width: 42rem; margin: 0 auto; font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--on-dark); }

/* ---- Home hero ------------------------------------------------------------------------- */
.home-hero { position: relative; isolation: isolate; background: var(--black); overflow: hidden; padding: clamp(3rem, 8vw, 6rem) 0; border-bottom: 1px solid var(--line-dark); }
.home-hero__media { position: absolute; inset: 0; z-index: -1; }
.home-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1); }
.home-hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,13,13,0.94) 0%, rgba(13,13,13,0.8) 50%, rgba(13,13,13,0.6) 100%); }
.home-hero__inner { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 64rem) { .home-hero__inner { grid-template-columns: 1.05fr 1fr; } }
.home-hero__title { font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--white); font-size: clamp(2.7rem, 6.4vw, 5rem); line-height: 0.95; margin-bottom: 0.4em; }
.home-hero__title::first-line { color: var(--orange); }
.home-hero__lede { font-size: clamp(1.1rem, 1.7vw, 1.3rem); max-width: 34rem; }

/* ---- Intro stats ----------------------------------------------------------------------- */
.section--intro { background: var(--ink); }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat { background: var(--panel); border-top: 4px solid var(--orange); padding: 1.2rem 0.8rem; text-align: center; border-radius: 0 0 var(--radius) var(--radius); }
.stat__num { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 7vw, 3.6rem); line-height: 1; color: var(--orange); white-space: nowrap; }
.stat__label { display: block; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--on-dark-muted); margin-top: 0.4rem; }

/* ---- Featured obstacle ------------------------------------------------------------------ */
.featured__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 56rem) { .featured__grid { grid-template-columns: 1.2fr 1fr; } }
.featured__media img { border-radius: var(--radius); }

/* ---- Ratings (Strength / Fear / Agility / Teamwork) ------------------------------------- */
.ratings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1.5rem; margin: 1.25rem 0; max-width: 28rem; }
.ratings__row { display: grid; gap: 0.25rem; }
.ratings dt { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.9rem; color: var(--on-dark-muted); }
.ratings dd { margin: 0; display: flex; align-items: center; gap: 0.6rem; }
.pips { display: inline-flex; gap: 3px; }
.pip { width: 1.1rem; height: 0.55rem; background: var(--line-dark); transform: skewX(-18deg); }
.pip.is-on { background: var(--orange); }
.ratings__value { font-family: var(--font-head); font-weight: 700; color: var(--on-dark); font-size: 0.95rem; }

/* ---- Obstacle grid (home) --------------------------------------------------------------- */
.obstacle-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 40rem) { .obstacle-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64rem) { .obstacle-grid { grid-template-columns: repeat(4, 1fr); } }
.obstacle-tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--panel); aspect-ratio: 269 / 210; text-decoration: none; color: var(--white); }
.obstacle-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.obstacle-tile__img { height: 100%; }
.obstacle-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%); }
.obstacle-tile__num { position: absolute; top: 0.5rem; left: 0.6rem; z-index: 1; font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; color: var(--orange); text-shadow: 0 1px 6px rgba(0,0,0,0.8); }
.obstacle-tile__name { position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.6rem; z-index: 1; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.1; }
.obstacle-tile:hover img { transform: scale(1.06); }
.obstacle-tile:hover .obstacle-tile__name { color: var(--orange); }

/* ---- Obstacles page ---------------------------------------------------------------------- */
.obstacle-index-wrap { background: var(--black); border-bottom: 1px solid var(--line-dark); }
.obstacle-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(6.25rem, 1fr)); gap: 0.5rem; }
.obstacle-index a { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; padding: 0.6rem 0.4rem; text-align: center; text-decoration: none; color: var(--on-dark); font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.15; border-radius: var(--radius); }
.obstacle-index a:hover { background: var(--panel); color: var(--orange); }
.obstacle-index__icon img { width: 3.6rem; }
.obstacle { position: relative; padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--line-dark); }
.obstacle:nth-child(even) { background: var(--black); }
.legacy-anchor { position: absolute; top: 0; }
.obstacle__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 56rem) {
  .obstacle__grid { grid-template-columns: 1.15fr 1fr; }
  .obstacle--flip .obstacle__media { order: 2; }
}
.obstacle__media img { border-radius: var(--radius); width: 100%; }
.obstacle__num { font-family: var(--font-display); font-weight: 900; font-size: 1.1rem; color: var(--lime); letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.obstacle__title-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.8rem; }
.obstacle__icon img { width: 4.5rem; flex: 0 0 auto; }
.obstacle__title { font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--orange); font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 0.95; margin: 0; }
.obstacle__top { margin-top: 1rem; }

/* ---- Video facade ------------------------------------------------------------------------- */
.video { margin: 0 0 1.5rem; }
.video__link { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; box-shadow: 0 10px 40px rgba(0,0,0,0.45); }
.video__link picture, .video__link img { width: 100%; height: 100%; object-fit: cover; }
.video__link::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.18); transition: background 0.2s; }
.video__link:hover::after { background: rgba(0,0,0,0.05); }
.video__play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.video__play-bg { fill: rgba(20,20,20,0.85); transition: fill 0.2s; }
.video__link:hover .video__play-bg, .video__link:focus-visible .video__play-bg { fill: #ff0000; }
.video__frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: #000; }
.video__caption { font-size: 0.9rem; color: var(--on-dark-muted); margin-top: 0.5rem; }
.video-pair { display: grid; gap: 1.5rem; }
@media (min-width: 56rem) { .video-pair { grid-template-columns: 1fr 1fr; } }

/* ---- Historical callout --------------------------------------------------------------------- */
.historical { display: block; border-left: 4px solid var(--lime); background: rgba(150, 218, 0, 0.08); padding: 0.8rem 1rem; margin: 0 0 2rem; font-size: 0.98rem; color: var(--on-dark); border-radius: 0 var(--radius) var(--radius) 0; }
.historical__tag { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lime); margin-right: 0.35rem; }
.section--light .historical { background: rgba(80, 120, 0, 0.08); border-left-color: #4f7d00; color: var(--text); }
.section--light .historical__tag { color: #3d6b00; }

/* ---- Event & listing cards ------------------------------------------------------------------ */
.event-card, .promo { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--panel); color: var(--white); text-decoration: none; min-height: 16rem; }
.event-card__img, .promo__img { position: absolute; inset: 0; }
.event-card__img img, .promo__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.event-card::after, .promo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 25%, rgba(0,0,0,0.9) 100%); }
.event-card__body, .promo__body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.2rem; min-height: 16rem; padding: 1.25rem; }
.event-card__date { align-self: flex-start; background: var(--orange); color: var(--black); font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.15rem 0.6rem; border-radius: 2px; }
.event-card__title, .promo__title { font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1; }
.event-card__more { color: var(--on-dark); }
.event-card:hover img, .promo:hover img { transform: scale(1.04); }
.event-card:hover .event-card__title, .promo:hover .promo__title { color: var(--orange); }
.listing-card { background: var(--panel); border-radius: var(--radius); overflow: hidden; }
.listing-card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(0.35); }
.listing-card__body { display: block; padding: 0.9rem 1rem 1.1rem; }
.listing-card__city { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.04em; }
.listing-card__date { display: block; color: var(--on-dark-muted); }
.locations { margin-top: 3rem; }
.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill-list li { border: 1px solid var(--line-dark); padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.95rem; }
.included { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1rem; }
.included__item { background: var(--panel); border-radius: var(--radius); padding: 1rem; text-align: center; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.included__item img { margin: 0 auto 0.75rem; max-height: 7rem; width: auto; }
.arena-box { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line-dark); }

/* ---- Facts, info cards, tables ------------------------------------------------------------- */
.facts { margin: 0; display: grid; gap: 1rem; }
.facts__item { background: var(--white); border-left: 4px solid var(--orange); padding: 0.9rem 1.1rem; border-radius: 0 var(--radius) var(--radius) 0; }
.facts dt { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: #b34400; margin-bottom: 0.2rem; }
.facts dd { margin: 0; }
.facts--plain .facts__item { background: var(--panel); }
.facts--plain dt { color: var(--orange); }
.info-grid { columns: 3 18rem; column-gap: 1rem; }
.info-grid > .info-card { break-inside: avoid; margin-bottom: 1rem; }
.info-card { background: var(--panel); border-top: 3px solid var(--orange); padding: 1.2rem 1.25rem; border-radius: 0 0 var(--radius) var(--radius); }
.info-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--white); }
.info-card p:last-child { margin-bottom: 0; }
.info-card--light { background: var(--panel); }
.data-table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; font-size: 1rem; }
.data-table th, .data-table td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line-dark); vertical-align: top; }
.data-table thead th { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange); border-bottom-width: 2px; }
.data-table tbody th { font-weight: 600; color: var(--on-dark); }
.table-scroll { overflow-x: auto; }
.data-table--sources td, .data-table--sources th { font-size: 0.95rem; }
.maps { display: grid; gap: 1.5rem; }
.map-figure { margin: 0; }
.map-figure img { border-radius: var(--radius); background: var(--white); }
.map-figure figcaption { font-size: 0.9rem; color: var(--on-dark-muted); margin-top: 0.4rem; }

/* ---- Lists ------------------------------------------------------------------------------------ */
.ticks { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: 0.45rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 0.8rem; height: 0.45rem; background: var(--orange); transform: skewX(-18deg); }
.ticks--q li::before { background: var(--lime); }
.numbered-grid { list-style: none; counter-reset: n; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
@media (min-width: 40rem) { .numbered-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .numbered-grid { grid-template-columns: repeat(5, 1fr); } }
.numbered-grid li { counter-increment: n; background: var(--panel); border-radius: var(--radius); padding: 1rem; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.2; }
.numbered-grid li::before { content: counter(n, decimal-leading-zero); display: block; font-family: var(--font-display); font-weight: 900; color: var(--orange); font-size: 1.6rem; margin-bottom: 0.3rem; }

/* ---- Quote ---------------------------------------------------------------------------------- */
.pull-quote { margin: 0 auto; max-width: 52rem; text-align: center; }
.pull-quote blockquote { margin: 0; }
.pull-quote p { font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(1.9rem, 4.5vw, 3.2rem); line-height: 1.05; color: var(--white); margin: 0; }
.pull-quote p::before { content: '“'; color: var(--orange); }
.pull-quote p::after { content: '”'; color: var(--orange); }
.pull-quote figcaption { margin-top: 1rem; font-family: var(--font-head); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }

/* ---- Arena ---------------------------------------------------------------------------------- */
.arena-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .arena-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .arena-grid { grid-template-columns: repeat(3, 1fr); } }
.arena-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--panel); }
.arena-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.arena-card__title { position: absolute; left: 0; bottom: 0; margin: 0; padding: 0.4rem 0.9rem; background: var(--orange); color: var(--black); font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.04em; border-top-right-radius: var(--radius); }

/* ---- Sponsors ------------------------------------------------------------------------------- */
.sponsor-grid { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1rem; }
.sponsor { background: var(--white); color: var(--text); border-radius: var(--radius); padding: 1rem; text-align: center; }
.sponsor__logo { height: 6rem; display: flex; align-items: center; justify-content: center; margin-bottom: 0.6rem; }
.sponsor__logo img { max-height: 6rem; width: auto; max-width: 100%; object-fit: contain; }
.sponsor__wordmark { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; color: var(--ink); line-height: 1.1; }
.sponsor__role { font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: #b34400; margin: 0; }
.sponsor__name { margin: 0; font-weight: 600; }
.logo-strip { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 0.75rem; }
.logo-strip li { background: var(--white); border-radius: var(--radius); padding: 0.75rem; display: flex; align-items: center; justify-content: center; height: 6rem; }
.logo-strip img { max-height: 4.5rem; width: auto; object-fit: contain; }

/* ---- Gallery & lightbox --------------------------------------------------------------------- */
.gallery-set { margin-bottom: 3rem; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
@media (min-width: 40rem) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64rem) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery__link { display: block; overflow: hidden; border-radius: var(--radius); background: var(--panel); aspect-ratio: 4 / 3; }
.gallery__link picture, .gallery__link img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease, opacity 0.2s; }
.gallery__link:hover img { transform: scale(1.05); }
.jump-links ul { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.jump-links a { display: inline-block; padding: 0.4rem 0.9rem; border: 1px solid var(--line-dark); border-radius: 999px; text-decoration: none; color: var(--on-dark); font-weight: 600; }
.jump-links a:hover { border-color: var(--orange); color: var(--orange); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0,0,0,0.92); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 3.5rem 3.75rem; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--radius); }
.lightbox__count { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: var(--on-dark-muted); margin: 0; }
.lightbox__btn, .lightbox__close { position: absolute; background: rgba(30,30,30,0.85); color: var(--white); border: 1px solid var(--line-dark); width: 3rem; height: 3rem; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox__btn:hover, .lightbox__close:hover { background: var(--orange); color: var(--black); }
.lightbox__prev { left: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__close { top: 0.75rem; right: 0.75rem; }
.lightbox.is-single .lightbox__btn { display: none; }

/* ---- Contact -------------------------------------------------------------------------------- */
.contact-card { background: var(--panel); border-top: 4px solid var(--orange); padding: 1.5rem; border-radius: 0 0 var(--radius) var(--radius); }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--line-dark); }
.contact-list span { display: inline-block; min-width: 4.5rem; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-dark-muted); }

/* ---- Footer -------------------------------------------------------------------------------- */
.site-footer { background: var(--black); border-top: 3px solid var(--orange); padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; font-size: 0.98rem; }
.site-footer__grid { display: grid; gap: 2rem; }
@media (min-width: 40rem) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .site-footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.site-footer__logo img { width: 10rem; margin-bottom: 1rem; }
.site-footer__brand p { color: var(--on-dark-muted); max-width: 22rem; }
.site-footer__heading { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--orange); text-decoration: underline; }
.social-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem !important; }
.social-list a { display: inline-block; padding: 0.35rem 0.8rem; border: 1px solid var(--line-dark); border-radius: 999px; }
.site-footer__base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); color: var(--on-dark-muted); font-size: 0.9rem; }
.site-footer__base p { margin: 0; }

/* ---- Motion preferences ------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---- Print ---------------------------------------------------------------------------------- */
@media print {
  .site-header, .legacy-bar, .site-footer, .video__play { display: none; }
  body { background: #fff; color: #000; }
}

/* ---- Original 2016 section backgrounds & textures (from archive/raw/site/images) ---- */
.has-bg { position: relative; isolation: isolate; overflow: hidden; }
.section-bg { position: absolute; inset: 0; z-index: -1; }
.section-bg picture, .section-bg img { width: 100%; height: 100%; object-fit: cover; }
.section--intro .section-bg img { opacity: 0.55; }
.section--light {
  background-color: var(--paper);
  background-image: linear-gradient(rgba(243, 241, 236, 0.6), rgba(243, 241, 236, 0.6)), image-set(url('/img/warrior-way-cbg-1600.webp') type('image/webp'), url('/img/warrior-way-cbg-1600.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
}
.section--dark {
  background-color: var(--black);
  background-image: image-set(url('/img/event-bg-1600.webp') type('image/webp'), url('/img/event-bg-1600.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
}
.site-footer {
  background-color: var(--black);
  background-image: image-set(url('/img/footer-bg-1200.webp') type('image/webp'), url('/img/footer-bg-1200.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center top;
}
.featured { background: #000; }
.featured__media picture, .featured__media img { width: 100%; }
