@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url(/assets/fonts/BigShouldersDisplay.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/InstrumentSans-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/InstrumentSans.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Members app and coach dashboard
   Lives under body.app / body.auth so none of it can leak onto the public pages.
   ========================================================================== */

@font-face {
  font-family: 'Anton';
  src: url(/assets/fonts/Anton.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}

body.app, body.auth {
  --a-bg: #0a0a0a;
  --a-card: #111111;
  --a-line: #1e1e1e;
  --a-label: #8f8f8f;
  --a-text: #ededed;
  --a-purple: #6b21a8;
  --a-purple-hi: #7e2fc4;
  --a-ok: #4ade80;
  --a-warn: #fbbf24;
  --a-bad: #f87171;
  background: var(--a-bg);
  color: var(--a-text);
}
body.app::after { display: none; }

/* ---------- top bar: brand, desktop nav, who is logged in ---------- */
.ap-top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 24px;
  padding: 12px clamp(16px, 3vw, 32px);
  background: rgba(10, 10, 10, .94);
  border-bottom: 1px solid var(--a-line);
  backdrop-filter: blur(10px);
}
.ap-brand img { display: block; height: 30px; width: auto; }
.ap-side { display: flex; gap: 4px; flex: 1; }
.ap-side a { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; color: var(--a-label); text-decoration: none; font-weight: 600; font-size: 15px; }
.ap-side a svg { width: 18px; height: 18px; }
.ap-side a:hover { color: #fff; background: var(--a-card); }
.ap-side a[aria-current] { color: #fff; background: var(--a-card); box-shadow: inset 0 -2px 0 var(--a-purple-hi); }
.ap-who { display: flex; align-items: center; gap: 14px; margin-left: auto; font-size: 14px; color: var(--a-label); }
.ap-who a { color: var(--a-text); }
.ap-who button { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--a-line); border-radius: 10px; background: var(--a-card); color: var(--a-text); font: inherit; cursor: pointer; }
.ap-who button svg { width: 16px; height: 16px; }

/* ---------- bottom tab bar on phones: icons only, purple underline on the active tab ---------- */
.ap-tabs { display: none; }
@media (max-width: 860px) {
  .ap-side, .ap-who [data-me-name] { display: none; }
  .ap-who button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ap-tabs {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
    background: rgba(10, 10, 10, .97); border-top: 1px solid var(--a-line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .ap-tabs a { position: relative; display: grid; place-items: center; height: 60px; color: var(--a-label); }
  .ap-tabs a svg { width: 24px; height: 24px; }
  .ap-tabs a[aria-current] { color: #fff; }
  .ap-tabs a[aria-current]::after { content: ''; position: absolute; bottom: 8px; width: 22px; height: 3px; border-radius: 2px; background: var(--a-purple-hi); }
  body.app main { padding-bottom: 76px; }
}

/* ---------- page frame ---------- */
.ap { max-width: 1180px; margin: 0 auto; padding: clamp(20px, 3vw, 36px) clamp(16px, 3vw, 32px) 48px; }
.ap-load { display: none; color: var(--a-label); padding: 40px 0; }
.ap[data-loading] .ap-load { display: block; }
.ap[data-loading] .ap-body { display: none; }
.ap-body { display: grid; gap: 16px; }
.ap-body > * { min-width: 0; }
.ap-h1, .ap-h2, body.auth .d { font-family: 'Anton', var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; color: #fff; }
.ap-h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.05; margin: 0; }
.ap-h2 { font-size: 17px; line-height: 1.2; margin: 0 0 14px; letter-spacing: .1em; }
.ap-h2 small { font-family: var(--body); text-transform: none; letter-spacing: 0; color: var(--a-label); font-size: 13px; margin-left: 6px; }
.ap-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ap-head .ap-h2 { margin: 0; }
.ap-back { display: inline-flex; align-items: center; gap: 6px; color: var(--a-label); text-decoration: none; font-size: 14px; min-height: 44px; }
.ap-back svg { width: 16px; height: 16px; }
.ap .muted, body.auth .muted { color: var(--a-label); }
.ap .small { font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.ap-card { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 12px; padding: 20px; color: var(--a-text); min-width: 0; }
.ap-card > .btn { margin-top: 16px; }
.ap-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .ap-grid2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- stat cards: big white numbers, small grey labels, plain white icons ---------- */
.ap-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ap-stat { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 12px; padding: 18px 20px; color: #fff; }
.ap-stat b { display: block; font: 700 clamp(30px, 4vw, 42px)/1 var(--body); letter-spacing: -.02em; }
.ap-stat span { display: block; margin-top: 8px; color: var(--a-label); font-size: 13px; }
@media (max-width: 640px) { .ap-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- rows: classes, members, leads ---------- */
.ap-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--a-line); color: var(--a-text); text-decoration: none; min-width: 0; }
.ap-row:first-child { border-top: 0; padding-top: 0; }
.ap-row .t { flex: 0 0 64px; font-weight: 700; color: #fff; }
.ap-row .m { flex: 1; min-width: 0; }
.ap-row .m b { display: block; color: #fff; overflow-wrap: anywhere; }
.ap-row .m span { display: block; color: var(--a-label); font-size: 14px; overflow-wrap: anywhere; }
.ap-row .r { flex: 0 0 auto; display: flex; gap: 8px; align-items: center; }
a.ap-row:hover b { color: #d9c2ff; }
.ap-dot { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; }
.ap-empty { color: var(--a-label); margin: 0; }
.ap-pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: #1b1b1b; color: var(--a-text); border: 1px solid var(--a-line); white-space: nowrap; }
.ap-pill.ok { color: var(--a-ok); }
.ap-pill.warn { color: var(--a-warn); }
.ap-pill.bad { color: var(--a-bad); }
.ap-pill.pur { color: #d9c2ff; }
.ap-bar { height: 6px; border-radius: 3px; background: #1d1d1d; overflow: hidden; margin-top: 6px; }
.ap-bar i { display: block; height: 100%; background: #fff; }

.ap .btn, body.auth .btn { border-radius: 10px; }
.ap .btn-v, body.auth .btn-v { background: var(--a-purple); border-color: var(--a-purple); color: #fff; }
.ap .btn-v:hover, body.auth .btn-v:hover { background: var(--a-purple-hi); border-color: var(--a-purple-hi); }
.ap .btn-line { border-color: #2c2c2c; color: #fff; background: transparent; }
.ap .btn-sm { min-height: 40px; }
.ap .btn[disabled] { opacity: .5; cursor: not-allowed; }
.ap .btn-act { min-height: 44px; padding: 0 16px; border-radius: 10px; font: 700 14px var(--body); cursor: pointer; border: 1px solid #2c2c2c; background: transparent; color: #fff; white-space: nowrap; }
.ap .btn-act.go { background: var(--a-purple); border-color: var(--a-purple); }
.ap .btn-act.on { background: #fff; color: #0a0a0a; border-color: #fff; }

/* ---------- forms inside the app ---------- */
.ap .form, body.auth .form { display: grid; gap: 14px; }
.ap input, .ap select, .ap textarea, body.auth input, body.auth select { background: #0c0c0c; border: 1px solid #2a2a2a; border-radius: 10px; color: #fff; font-size: 16px; }
.ap .fld label, body.auth .fld label { color: #cfcfcf; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--a-text); cursor: pointer; }
.check input { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--a-purple); }
.ap-inline { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; }
@media (max-width: 640px) { .ap-inline { grid-template-columns: minmax(0, 1fr); } }
.status.show.ok { color: var(--a-ok); }
.status.show.err { color: var(--a-bad); }

/* ---------- booking: day tabs in one even row, session cards ---------- */
.ap-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.ap-days button { min-height: 60px; border: 1px solid var(--a-line); border-radius: 12px; background: var(--a-card); color: var(--a-label); font: 600 13px/1.2 var(--body); cursor: pointer; padding: 6px 2px; }
.ap-days button b { display: block; font-size: 17px; color: #fff; }
.ap-days button[aria-selected="true"] { border-color: var(--a-purple-hi); color: #fff; box-shadow: inset 0 -3px 0 var(--a-purple-hi); }
.ap-list { display: grid; gap: 10px; }
.ap-sess { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--a-card); border: 1px solid var(--a-line); border-radius: 12px; padding: 16px; color: var(--a-text); }
.ap-sess .t { font-weight: 700; color: #fff; font-size: 17px; }
.ap-sess .n { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; }
.ap-sess .s { color: var(--a-label); font-size: 14px; margin-top: 2px; }
.ap-sess.past { opacity: .55; }
@media (max-width: 480px) { .ap-sess { grid-template-columns: 52px minmax(0, 1fr); } .ap-sess .r { grid-column: 1 / -1; } .ap-sess .r .btn-act { width: 100%; } }

/* ---------- coach week view ---------- */
.ap-weeknav { display: flex; gap: 8px; }
.ap-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.ap-wday { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 12px; padding: 12px; min-width: 0; color: var(--a-text); }
.ap-wday h3 { margin: 0 0 10px; font: 400 15px 'Anton', var(--display); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.ap-wday.today { border-color: var(--a-purple-hi); }
.ap-wcls { display: block; padding: 10px; border-radius: 10px; background: #161616; border: 1px solid var(--a-line); margin-bottom: 8px; text-decoration: none; color: var(--a-text); }
.ap-wcls b { display: block; color: #fff; font-size: 14px; }
.ap-wcls span { display: block; font-size: 12px; color: var(--a-label); }
.ap-wcls.cancelled b { text-decoration: line-through; }
@media (max-width: 1000px) { .ap-week { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ap-week { grid-template-columns: minmax(0, 1fr); } }

/* ---------- member list: table on desktop, stacked cards under 640px ---------- */
.ap-filter { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
@media (max-width: 760px) { .ap-filter { grid-template-columns: minmax(0, 1fr); } }
.ap-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ap-table th { text-align: left; color: var(--a-label); font-weight: 600; font-size: 13px; padding: 0 10px 10px; border-bottom: 1px solid var(--a-line); }
.ap-table td { padding: 12px 10px; border-bottom: 1px solid var(--a-line); color: var(--a-text); vertical-align: middle; }
.ap-table td a { color: #fff; font-weight: 700; text-decoration: none; }
.ap-table tr:hover td { background: #141414; }
@media (max-width: 640px) {
  .ap-table thead { display: none; }
  .ap-table, .ap-table tbody, .ap-table tr, .ap-table td { display: block; width: 100%; }
  .ap-table tr { border: 1px solid var(--a-line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
  .ap-table td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: 12px; }
  .ap-table td::before { content: attr(data-l); color: var(--a-label); font-size: 13px; }
  .ap-table td:first-child { font-size: 17px; padding-bottom: 8px; }
  .ap-table td:first-child::before { content: none; }
}

.ap-note { padding: 12px 14px; border-radius: 10px; background: #161616; border: 1px solid var(--a-line); margin-bottom: 8px; color: var(--a-text); }
.ap-note small { display: block; color: var(--a-label); margin-top: 6px; font-size: 12px; }
.ap-notice { padding: 14px 16px; border-radius: 12px; background: #1a1124; border: 1px solid #3b2161; color: #efe6ff; }
.ap-notice a { color: #fff; font-weight: 700; }
.ap-contact { display: flex; flex-wrap: wrap; gap: 8px; }
.parq .q { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--a-line); }
.parq .q:first-child { border-top: 0; }
.parq .yn { display: flex; gap: 6px; }
.parq .yn label { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid #2a2a2a; border-radius: 10px; cursor: pointer; }
.parq .yn input { accent-color: var(--a-purple); width: 18px; height: 18px; }

/* ---------- login and sign-up ---------- */
body.auth main { min-height: 100vh; }
.auth-wrap { display: grid; place-items: center; padding: calc(var(--hdr) + 40px) 16px 60px; }
.auth-card { width: 100%; max-width: 520px; background: var(--a-card); border: 1px solid var(--a-line); border-radius: 12px; padding: clamp(22px, 4vw, 36px); color: var(--a-text); }
.auth-card .d { font-size: clamp(34px, 6vw, 48px); margin: 0 0 8px; }
.auth-card .d .v { color: #c8a8ff; }
.auth-card > .muted { margin: 0 0 22px; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 18px 0 0; font-size: 15px; color: var(--a-label); }
.auth-links a { color: #fff; }
.linkish { background: none; border: 0; padding: 0; min-height: 44px; color: #fff; text-decoration: underline; font: inherit; cursor: pointer; }

/* ---------- toast: one line of feedback after an action ---------- */
.ap-toast { position: fixed; left: 50%; bottom: 88px; z-index: 60; transform: translate(-50%, 20px); max-width: min(560px, calc(100vw - 32px)); padding: 14px 18px; border-radius: 12px; background: #f3f1ec; color: #0a0a0a; font-weight: 600; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.ap-toast.show { opacity: 1; transform: translate(-50%, 0); }
.ap-toast.err { background: #ffd9d9; color: #4a0d0d; }
@media (min-width: 861px) { .ap-toast { bottom: 28px; } }
.ap .btn-act { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
@media (max-width: 560px) { .parq .q { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

/* Lycan Strength. Black steel, turf lanes, violet neon: the gym's own colours. */

:root {
  --ink: #0a0a0c;
  --night: #111114;
  --iron: #19191e;
  --steel: #26262d;
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .22);
  --bone: #f3f1ec;
  --ash: #a9a8b0;
  --violet: #7c3cff;
  --violet-hi: #9461ff;
  --violet-2: #b39bff;
  --plum: #1b0b3f;
  --plum-2: #2a1160;
  --display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 48px);
  --hdr: 76px;
  --notch: 12px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::after {
  /* film grain over everything, the photos are shot under gym lights */
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, video { display: block; max-width: 100%; }
picture { display: contents; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; }
::selection { background: var(--violet); color: #fff; }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--violet); color: #fff; padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- type ---------- */
.d {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.005em;
}
.d-xl { font-size: clamp(64px, 11.2vw, 196px); }
.d-l { font-size: clamp(52px, 7.4vw, 124px); }
.d-m { font-size: clamp(40px, 5vw, 76px); }
.d-s { font-size: clamp(30px, 3vw, 44px); line-height: .92; }
.d-xs { font-size: 26px; line-height: .95; letter-spacing: .01em; }
.v { color: var(--violet-2); }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--bone); }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: #dedce4; max-width: 60ch; }
.muted { color: var(--ash); }
.small { font-size: 14px; }
.kicker {
  font: 700 13px/1 var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--violet-2);
}
.prose { max-width: 68ch; }
.prose h2 { font: 900 clamp(32px, 3.4vw, 48px)/.9 var(--display); text-transform: uppercase; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 21px; margin: 1.6em 0 .4em; }
.prose ul { padding-left: 1.1em; margin: 0 0 1em; }
.prose li { margin: .3em 0; }
.prose a { color: var(--violet-2); }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  background: var(--bg);
  color: #fff;
  font: 700 15px/1 var(--body);
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-v {
  --bg: var(--violet);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}
.btn-v:hover { --bg: var(--violet-hi); box-shadow: 0 14px 40px -12px rgba(124, 60, 255, .9); }
.btn-line { box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--bone); background: rgba(255, 255, 255, .06); }
.btn-bone { --bg: var(--bone); color: var(--ink); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%); }
.btn-bone:hover { --bg: #fff; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 13px; }
.btn-block { width: 100%; }
.link {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 14px/1 var(--body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--bone); text-decoration: none; padding: 8px 0;
  border-bottom: 1px solid var(--violet);
}
.link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(4px); }
.link:hover { color: var(--violet-2); }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--hdr);
  transition: transform .4s var(--ease), background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.hdr.solid { background: rgba(10, 10, 12, .88); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
.hdr.away { transform: translateY(-100%); }
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 10px 12px;
  font: 600 13px/1 var(--body); letter-spacing: .09em; text-transform: uppercase;
  color: #d9d7df; text-decoration: none; white-space: nowrap;
  transition: color .2s;
}
.nav a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover, .nav a[aria-current] { color: #fff; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.hdr-cta { flex: none; }
.burger {
  display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; position: relative;
}
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; right: 18px; }
.burger span:nth-child(3) { top: 29px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); right: 12px; }

.sheet {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink);
  padding: calc(var(--hdr) + 20px) var(--gut) 24px;
  display: flex; flex-direction: column;
  visibility: hidden; opacity: 0;
  transition: opacity .3s, visibility 0s .3s;
  overflow-y: auto;
}
.sheet::before {
  content: ''; position: absolute; right: -18%; bottom: -4%; width: 88%; aspect-ratio: 764/1000;
  background: url(/assets/brand/wolf.webp) center/contain no-repeat; opacity: .08; pointer-events: none;
}
.menu-open .sheet { visibility: visible; opacity: 1; transition: opacity .3s; }
.sheet nav { display: flex; flex-direction: column; position: relative; }
.sheet nav a {
  font: 900 clamp(40px, 11vw, 64px)/1.02 var(--display); text-transform: uppercase; text-decoration: none;
  padding: 4px 0; color: var(--bone);
  transform: translateY(18px); transition: transform .5s var(--ease), color .2s;
}
.sheet nav a:hover { color: var(--violet-2); }
.menu-open .sheet nav a { transform: none; }
.menu-open .sheet nav a:nth-child(2) { transition-delay: .03s; }
.menu-open .sheet nav a:nth-child(3) { transition-delay: .06s; }
.menu-open .sheet nav a:nth-child(4) { transition-delay: .09s; }
.menu-open .sheet nav a:nth-child(5) { transition-delay: .12s; }
.menu-open .sheet nav a:nth-child(6) { transition-delay: .15s; }
.menu-open .sheet nav a:nth-child(7) { transition-delay: .18s; }
.menu-open .sheet nav a:nth-child(8) { transition-delay: .21s; }
.sheet-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; position: relative; }
.sheet-foot .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; opacity: 0; transition: opacity 1.8s ease; }
.hero-media img.on { opacity: 1; animation: kb 9s linear both; }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1.01); } }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,10,12,.72) 0%, rgba(10,10,12,.15) 28%, rgba(10,10,12,.35) 55%, rgba(10,10,12,.96) 92%, var(--ink) 100%),
    linear-gradient(90deg, rgba(10,10,12,.75) 0%, rgba(10,10,12,0) 60%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: end; padding-top: calc(var(--hdr) + 60px); padding-bottom: 40px; }
.hero h1 { margin: 0; }
.hero h1 .l { display: block; }
.hero h1 .sub {
  display: block; margin-top: 22px;
  font: 600 clamp(15px, 1.35vw, 19px)/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #fff;
}
.hero .lede { margin: 18px 0 30px; max-width: 46ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-foot { border-top: 1px solid var(--line); }
.hero-foot ul {
  list-style: none; margin: 0; padding: 18px 0 22px;
  display: flex; flex-wrap: wrap; gap: 10px 36px;
  font: 600 13px/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; color: #d0ced7;
}
.hero-foot li { display: flex; align-items: center; gap: 10px; }
.slide-nav { margin-left: auto; gap: 18px !important; }
.slide-nav button { display: grid; gap: 8px; border: 0; background: none; padding: 0; cursor: pointer; color: #8d8c96; font: 600 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; text-align: left; }
.slide-nav i { display: block; width: 72px; height: 2px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.slide-nav i::after { content: ''; position: absolute; inset: 0; background: var(--violet-2); transform: scaleX(0); transform-origin: left; }
.slide-nav .on { color: #fff; }
.slide-nav .on i::after { animation: fill 7s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.hero-foot li svg { width: 16px; height: 16px; color: var(--violet-2); flex: none; }
.hero-foot a { text-decoration: none; }
.hero-foot a:hover { color: #fff; }

/* live next class card */
.next {
  position: relative;
  background: rgba(17, 17, 20, .62);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--line-2);
  padding: 22px 22px 18px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}
.next-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ash); }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--violet-2); }
.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--violet-2); box-shadow: 0 0 0 0 rgba(179,155,255,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(179,155,255,0); } 100% { box-shadow: 0 0 0 0 rgba(179,155,255,0); } }
.next-name { font: 900 46px/.9 var(--display); text-transform: uppercase; margin: 16px 0 6px; }
.next-when { font-size: 15px; color: #dcdae2; }
.next-count { font: 800 15px/1 var(--display); letter-spacing: .06em; color: var(--violet-2); text-transform: uppercase; }
.next-list { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; color: var(--ash); }
.next-list li { display: flex; justify-content: space-between; gap: 10px; }
.next-list b { color: var(--bone); font-weight: 600; }
.next .link { margin-top: 14px; }

/* ---------- ticker ---------- */
.ticker {
  position: relative; overflow: hidden; padding: 20px 0;
  border-block: 1px solid var(--line);
  background: var(--ink);
}
.ticker-track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  display: inline-flex; align-items: center; gap: 36px; padding-right: 36px;
  font: 900 clamp(28px, 3.2vw, 44px)/1 var(--display); text-transform: uppercase; white-space: nowrap;
}
.ticker-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(243,241,236,.55); }
.ticker-track i { display: block; width: 34px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 22'%3E%3Cg stroke='%239461ff' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M4 20 12 2M14 20 22 2M24 20 32 2'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.sec-tight { padding: clamp(56px, 7vw, 96px) 0; }
.sec-night { background: var(--night); }
.sec-plum { background: radial-gradient(120% 90% at 85% 10%, var(--plum-2) 0%, var(--plum) 45%, #0e0620 100%); }
.head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.head .lede { margin: 0; }
.head-single { grid-template-columns: 1fr; }

/* claw divider */
.claw { display: inline-block; width: 48px; height: 30px; color: var(--violet); }

/* pack intro */
.pack { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.pack-copy .d { margin-bottom: 32px; }
.pack-copy p { color: #d6d4dc; }
.pack-copy strong { color: #fff; }
.stack { position: relative; aspect-ratio: 5/5.4; }
.stack figure { position: absolute; margin: 0; overflow: hidden; }
.stack figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.stack figure:hover img { transform: scale(1.04); }
.stack .a { inset: 0 18% 26% 0; }
.stack .b { inset: 42% 0 0 38%; border: 8px solid var(--ink); }
.stack figcaption, .cap {
  position: absolute; left: 0; bottom: 0; padding: 8px 12px;
  background: var(--ink); font: 600 12px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ash);
}
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); }
.pillar { padding: 32px 28px 0 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar h3 { font: 900 30px/.92 var(--display); text-transform: uppercase; margin-bottom: 16px; }
.pillar p { font-size: 15.5px; color: var(--ash); }
.pillars-v2 { border-top: 0; }
.pillars-v2 .pillar { position: relative; padding-top: 36px; }
.pillars-v2 .pillar::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
.pillars-v2 .pillar::after { content: ''; position: absolute; left: 0; top: -1px; width: 56px; height: 3px; background: var(--violet); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.js .pillars-v2 .pillar:not(.in)::after { transform: scaleX(0); }
.pillars-v2 .pillar + .pillar { border-left: 0; padding-left: 28px; }
.pillars-v2 .pillar + .pillar::before, .pillars-v2 .pillar + .pillar::after { left: 28px; }
.pillars-v2 h3 { font-size: clamp(30px, 2.6vw, 38px); }
.pillar .n { display: block; font: 800 14px/1 var(--display); letter-spacing: .1em; color: var(--violet-2); margin-bottom: 18px; }

/* ---------- timetable ---------- */
.tt-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line-2); background: none; cursor: pointer;
  padding: 10px 16px; min-height: 44px; font: 600 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: #d9d7df;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--bone); color: #fff; }
.chip[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.tt-note { font-size: 14px; color: var(--ash); }
.tt {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--night);
}
.tt-day { border-left: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr 1fr; min-height: 420px; }
.tt-day:first-child { border-left: 0; }
.tt-dh { padding: 16px 16px 14px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.tt-dh b { font: 900 26px/1 var(--display); text-transform: uppercase; }
.tt-dh small { font: 700 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--violet-2); }
.tt-slot { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.tt-slot + .tt-slot { border-top: 1px dashed var(--line); }
.tt-day.today { background: linear-gradient(180deg, rgba(124,60,255,.16), rgba(124,60,255,.04)); box-shadow: inset 0 3px 0 var(--violet); }
.tt-empty { font-size: 13px; color: #8d8c96; padding: 8px 6px; }
.cls {
  --c: var(--bone);
  text-align: left; width: 100%; border: 0; cursor: pointer;
  padding: 12px 12px 13px; background: var(--iron);
  display: grid; gap: 6px; position: relative;
  transition: transform .25s var(--ease), background .25s, opacity .25s;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
.cls::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c); }
.cls:hover { transform: translateY(-3px); background: var(--steel); }
.cls time { font: 700 12px/1 var(--body); letter-spacing: .1em; color: var(--ash); }
.cls b { font: 900 22px/.92 var(--display); text-transform: uppercase; }
.cls[data-f="full"] { --c: #f3f1ec; }
.cls[data-f="upper"] { --c: #8c8b94; }
.cls[data-f="lower"] { --c: #d6cfff; }
.cls[data-f="engine"] { --c: #b39bff; }
.cls[data-f="mobility"] { --c: #7c3cff; }
.cls[data-f="shred"] { --c: linear-gradient(90deg, #7c3cff, #e04dff); }
.cls.dim { opacity: .18; }
.cls.past { opacity: .5; }
.cls.is-next { box-shadow: 0 0 0 1px var(--violet-2); }
.tt-days { display: none; }
.key { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: 13px; color: var(--ash); }
.key span { display: inline-flex; align-items: center; gap: 8px; }
.key i { width: 18px; height: 3px; display: block; }

/* class dialog */
.dlg {
  border: 1px solid var(--line-2); background: var(--night); color: var(--bone);
  padding: 0; width: min(560px, calc(100vw - 32px)); max-height: calc(100svh - 40px);
}
.dlg::backdrop { background: rgba(5, 5, 7, .78); backdrop-filter: blur(6px); }
.dlg-img { aspect-ratio: 16/8; overflow: hidden; }
.dlg-img img { width: 100%; height: 100%; object-fit: cover; }
.dlg-body { padding: 26px 26px 24px; }
.dlg-body .d { font-size: 48px; margin: 6px 0 12px; }
.dlg-body p { color: #d6d4dc; }
.dlg-when { font: 700 13px/1.4 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--violet-2); }
.dlg-more { font-size: 14px; color: var(--ash); margin-top: 10px; }
.dlg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.dlg-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: rgba(10,10,12,.7); color: #fff; cursor: pointer; font-size: 26px; line-height: 1; }
.dlg-x:hover { background: var(--violet); }

/* ---------- class explorer ---------- */
.explore { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.fam-list { border-top: 1px solid var(--line); }
.fam { border-bottom: 1px solid var(--line); }
.fam-btn {
  width: 100%; border: 0; background: none; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; padding: 22px 0;
}
.fam-btn .n { font: 800 15px/1 var(--display); letter-spacing: .1em; color: #8d8c96; transition: color .3s; }
.fam-btn .d { font-size: clamp(40px, 4.6vw, 72px); color: #7a7984; transition: color .3s, transform .4s var(--ease); }
.fam-btn .cnt { font: 600 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: #8d8c96; }
.fam-btn:hover .d { color: #bdbcc4; }
.fam.on .fam-btn .d { color: var(--bone); transform: translateX(6px); }
.fam.on .fam-btn .n, .fam.on .fam-btn .cnt { color: var(--violet-2); }
.fam-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.fam.on .fam-panel { grid-template-rows: 1fr; }
.fam-panel > div { overflow: hidden; }
.fam-panel .inner { padding: 0 0 26px 68px; }
.fam-panel p { color: #d6d4dc; margin-bottom: .6em; }
.fam-panel .when { font-size: 14px; color: var(--ash); }
.fam-panel .when b { color: var(--bone); font-weight: 600; }
.fam-panel .m-img { display: none; }
.explore-view { position: sticky; top: calc(var(--hdr) + 24px); aspect-ratio: 4/5; overflow: hidden; background: var(--iron); }
.explore-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s, transform 1.2s var(--ease); }
.explore-view img.on { opacity: 1; transform: none; }
.explore-view .scal {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px;
  background: linear-gradient(0deg, rgba(10,10,12,.92), rgba(10,10,12,0));
  font-size: 15px; color: #e4e2ea;
}

/* ---------- HYROX ---------- */
.hyrox { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.hyrox-img { position: relative; overflow: hidden; }
.hyrox-img img { width: 100%; aspect-ratio: 4/5.4; object-fit: cover; object-position: 50% 30%; }
.badge-hx {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px;
  border: 1px solid var(--line-2); font: 700 12px/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase;
}
.badge-hx b { display: grid; place-items: center; width: 34px; height: 34px; background: var(--violet); color: #fff; font: 900 18px/1 var(--display); }
.course { margin-top: 36px; border-top: 1px solid var(--line); counter-reset: st; }
.course ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.course li { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); position: relative; }
.course li:not(:nth-child(4n+1)) { padding-left: 16px; border-left: 1px solid var(--line); }
.course .run { font: 700 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ash); display: flex; align-items: center; gap: 8px; }
.course .run::before { content: ''; width: 14px; height: 2px; background: var(--ash); }
.course b { display: block; font: 900 24px/.95 var(--display); text-transform: uppercase; margin: 12px 0 4px; }
.course span.dist { font-size: 14px; color: var(--violet-2); font-weight: 600; }
.course .st { position: absolute; top: 16px; right: 12px; font: 800 13px/1 var(--display); color: #8d8c96; }
.course-sum { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; font-size: 14px; color: var(--ash); }

/* ---------- results slider ---------- */
.slider { position: relative; }
.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 3.2); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  cursor: grab; padding-bottom: 4px;
}
.track::-webkit-scrollbar { display: none; }
.track.drag { cursor: grabbing; scroll-snap-type: none; }
.track.drag * { pointer-events: none; }
.track > * { scroll-snap-align: start; }
.res { margin: 0; background: var(--iron); display: flex; flex-direction: column; }
.res-img { position: relative; overflow: hidden; aspect-ratio: 1; }
.res-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.res:hover .res-img img { transform: scale(1.03); }
.res figcaption { padding: 22px 22px 24px; display: grid; gap: 8px; flex: 1; align-content: start; }
.res .stat { font: 900 54px/.85 var(--display); color: var(--violet-2); text-transform: uppercase; }
.res b { font-size: 17px; }
.res q { color: var(--ash); font-style: italic; font-size: 15.5px; }
.slide-ctl { display: flex; align-items: center; gap: 10px; }
.slide-ctl button {
  width: 52px; height: 52px; border: 1px solid var(--line-2); background: none; cursor: pointer; display: grid; place-items: center;
  transition: background .2s, border-color .2s;
}
.slide-ctl button:hover:not(:disabled) { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.slide-ctl button:disabled { opacity: .3; cursor: default; }
.slide-ctl svg { width: 20px; height: 20px; }
.slide-ctl .count { font: 800 16px/1 var(--display); letter-spacing: .08em; min-width: 64px; text-align: center; color: var(--ash); }

/* ---------- who we help ---------- */
.help { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
.help-list { list-style: none; margin: 0; padding: 0; }
.help-list li {
  font: 900 clamp(36px, 5.2vw, 84px)/.98 var(--display); text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1.2px rgba(243,241,236,.5);
  transition: color .35s, -webkit-text-stroke-color .35s, transform .45s var(--ease);
  cursor: default;
}
.help-list li:hover, .help-list li.lit { color: var(--bone); -webkit-text-stroke-color: var(--bone); transform: translateX(10px); }
.help-list li:hover::after { content: ''; }
.do-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.do-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 18px; }
.do-list li span { font: 800 14px/1 var(--display); color: var(--violet-2); letter-spacing: .1em; }

/* ---------- founder / team ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.founder blockquote { margin: 0; }
.founder blockquote p { font: 900 clamp(40px, 4.8vw, 76px)/.9 var(--display); text-transform: uppercase; }
.founder cite { display: block; margin-top: 24px; font: 600 14px/1.4 var(--body); letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: var(--violet-2); }
.coaches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.coach {
  position: relative; overflow: hidden; aspect-ratio: 4/5; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
  background: radial-gradient(90% 70% at 70% 25%, rgba(124,60,255,.55), rgba(124,60,255,0) 70%), linear-gradient(160deg, #1a0f33 0%, #0b0b0e 70%);
  border: 1px solid rgba(179,155,255,.28);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  transition: border-color .4s;
}
.coach::before {
  content: ''; position: absolute; inset: 4% 6% auto;  aspect-ratio: 764/1000;
  background: url(/assets/brand/wolf.webp) 50% 0/contain no-repeat; opacity: .42;
  transition: transform 1.4s var(--ease), opacity .6s;
}
.coach::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,6,14,.96) 12%, rgba(8,6,14,.2) 62%, rgba(8,6,14,0) 100%); }
.coach:hover { border-color: rgba(179,155,255,.6); }
.coach:hover::before { transform: scale(1.05); opacity: .6; }
.coach > * { position: relative; z-index: 1; }
.coach { container-type: inline-size; }
.coach .d { font-size: 24cqi; line-height: .82; }
.coach .role { font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); margin-top: 14px; }
.coach a { margin-top: 12px; font-size: 14px; color: #cfcdd6; text-decoration: none; }
.coach a:hover { color: #fff; }

/* ---------- mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 12vw, 180px); gap: 12px; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; background: var(--iron); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic .m1 { grid-column: 1 / 6; grid-row: span 3; }
.mosaic .m2 { grid-column: 6 / 10; grid-row: span 2; }
.mosaic .m3 { grid-column: 10 / 13; grid-row: span 3; }
.mosaic .m4 { grid-column: 6 / 10; grid-row: span 2; }
.mosaic .m5 { grid-column: 1 / 6; grid-row: span 1; }
.mosaic .m6 { grid-column: 10 / 13; grid-row: span 1; }

/* ---------- games band ---------- */
.games { position: relative; overflow: hidden; }
.games::after {
  content: ''; position: absolute; right: 2%; top: 50%; width: min(560px, 46vw); aspect-ratio: 764/1000; transform: translateY(-50%);
  background: url(/assets/brand/wolf.webp) center/contain no-repeat; opacity: .16; pointer-events: none;
}
.games .wrap { position: relative; z-index: 1; }
.games-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.facts { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.facts dt { font: 700 12px/1.5 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--violet-2); }
.facts dd { margin: 0; font-weight: 600; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 14px; align-items: baseline; }
.ticks li::before { content: ''; flex: none; width: 14px; height: 2px; background: var(--violet-2); transform: translateY(-4px); }

/* ---------- physio strip ---------- */
.physio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.tags li { list-style: none; padding: 10px 14px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; }
.tags { padding: 0; }
.big-num { font: 900 clamp(120px, 15vw, 240px)/.8 var(--display); color: var(--violet-2); margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--hdr) + 24px); }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 24px 0; font-weight: 600; font-size: 19px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 20px; height: 20px; flex: none; }
.qa summary i::before, .qa summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--violet-2); transition: transform .35s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa details[open] summary i::after { transform: rotate(0); }
.qa summary:hover { color: var(--violet-2); }
.qa .ans { padding: 0 48px 26px 0; color: #d0ced6; }
.qa details[open] .ans { animation: drop .45s var(--ease); }
@keyframes drop { from { transform: translateY(-8px); } }

/* ---------- final CTA / forms ---------- */
.finale { position: relative; isolation: isolate; overflow: hidden; }
.finale-bg { position: absolute; inset: 0; z-index: -2; }
.finale-bg img { width: 100%; height: 100%; object-fit: cover; }
.finale::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,12,.96) 0%, rgba(10,10,12,.82) 50%, rgba(10,10,12,.6) 100%); }
.finale-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(40px, 6vw, 96px); align-items: center; }
.panel {
  background: rgba(17,17,20,.9); border: 1px solid var(--line-2); padding: clamp(24px, 3vw, 36px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.panel h2, .panel h3 { font: 900 38px/.9 var(--display); text-transform: uppercase; margin-bottom: 8px; }
.panel .muted { font-size: 15px; margin-bottom: 20px; }
.form { display: grid; gap: 14px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: grid; gap: 7px; }
.fld label, .fld .lbl { font: 700 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #cfcdd6; }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 52px; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 0; background: #0c0c0f; color: var(--bone);
  font: 400 16px/1.3 var(--body); transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%23b39bff' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.fld textarea { min-height: 130px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--violet-2); box-shadow: 0 0 0 3px rgba(124,60,255,.25); }
.fld input::placeholder, .fld textarea::placeholder { color: #85848e; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #d6d4dc; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--violet); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--ash); }
.form-note a { color: var(--violet-2); }
.status { font-size: 15px; padding: 14px 16px; border: 1px solid var(--line-2); display: none; }
.status.show { display: block; }
.status.ok { border-color: #5ad19a; color: #c9f5de; background: rgba(90,209,154,.08); }
.status.err { border-color: #ff7a7a; color: #ffd0d0; background: rgba(255,122,122,.08); }
.status.busy { border-color: var(--violet-2); color: #e0d6ff; }
.form.done .fld, .form.done .two, .form.done .check, .form.done button[type=submit] { display: none; }
.perks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); max-width: 560px; }
.perks li { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; display: flex; gap: 12px; align-items: center; }
.perks li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.perks svg { width: 18px; height: 18px; color: var(--violet-2); flex: none; }

/* signature pad */
.sig { position: relative; border: 1px solid var(--line-2); background: #f3f1ec; }
.sig canvas { display: block; width: 100%; height: 180px; touch-action: none; cursor: crosshair; }
.sig-tools { display: flex; gap: 8px; margin-top: 8px; }
.sig-tools button { border: 1px solid var(--line-2); background: none; color: var(--bone); padding: 8px 14px; cursor: pointer; font-size: 13px; font-weight: 600; min-height: 40px; }
.sig-tools button:hover { border-color: var(--bone); }
.consent { border: 1px solid var(--line); background: var(--night); padding: 24px; font-size: 15px; color: #d0ced6; }
.consent ul { margin: .4em 0 1em; padding-left: 1.2em; }
.consent li { margin: .2em 0; }

/* ---------- page hero (inner) ---------- */
.phero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(460px, 64vh, 680px); display: flex; align-items: flex-end; }
.phero-media { position: absolute; inset: 0; z-index: -2; }
.phero-media img { width: 100%; height: 100%; object-fit: cover; animation: kb 20s var(--ease) both; }
.phero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,12,.7) 0%, rgba(10,10,12,.3) 35%, rgba(10,10,12,.92) 88%, var(--ink) 100%); }
.phero .wrap { padding-top: calc(var(--hdr) + 60px); padding-bottom: clamp(40px, 5vw, 64px); }
.phero .lede { margin-top: 22px; }
.crumbs { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font: 600 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ash); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: #8d8c96; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.phero-plain { min-height: 0; }
.phero-plain::before { display: none; }

/* split content */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.split-img img { width: 100%; object-fit: cover; }
.story p { color: #d6d4dc; }
.pull { font: 900 clamp(36px, 4vw, 60px)/.92 var(--display); text-transform: uppercase; margin: 0 0 28px; }

/* gallery */
.gal { columns: 3 320px; column-gap: 12px; }
.gal a { display: block; margin: 0 0 12px; position: relative; overflow: hidden; break-inside: avoid; background: var(--iron); }
.gal img { width: 100%; transition: transform 1s var(--ease); }
.gal a:hover img { transform: scale(1.04); }
.gal .cap { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.gal a:hover .cap, .gal a:focus-visible .cap { opacity: 1; transform: none; }
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lb::backdrop { background: rgba(5,5,7,.94); }
.lb figure { margin: 0; height: 100%; display: grid; place-items: center; padding: 60px 16px; }
.lb img { max-height: calc(100vh - 140px); width: auto; max-width: 100%; }
.lb figcaption { color: var(--ash); margin-top: 12px; text-align: center; font-size: 14px; }
.lb button { position: fixed; width: 52px; height: 52px; border: 1px solid var(--line-2); background: rgba(10,10,12,.7); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb button:hover { background: var(--violet); }
.lb .x { top: 14px; right: 14px; font-size: 26px; }
.lb .p { left: 14px; top: 50%; }
.lb .n { right: 14px; top: 50%; }
.lb button svg { width: 20px; height: 20px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); }
.cards { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cards a, .cards div { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; align-items: start; }
.cards a:hover b { color: var(--violet-2); }
.cards svg { width: 24px; height: 24px; color: var(--violet-2); margin-top: 2px; }
.cards small { display: block; font: 700 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ash); margin-bottom: 8px; }
.cards b { font-size: 19px; font-weight: 600; transition: color .2s; }
.map { position: relative; aspect-ratio: 16/10; background: var(--iron); border: 1px solid var(--line); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(200deg); }
.map-load { position: absolute; inset: 0; display: grid; place-items: center; }

/* links page */
.links { max-width: 560px; margin: 0 auto; padding: calc(var(--hdr) + 40px) var(--gut) 80px; text-align: center; }
.links .logo { width: 240px; margin: 0 auto 18px; }
.links .btn { width: 100%; margin-top: 12px; }
.links-social { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }

/* sitemap page */
.smap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.smap h2 { font: 900 28px/1 var(--display); text-transform: uppercase; margin-bottom: 14px; color: var(--violet-2); }
.smap ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.smap li { border-bottom: 1px solid var(--line); }
.smap a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; text-decoration: none; }
.smap a:hover { color: var(--violet-2); }
.smap code { font-size: 12px; color: var(--ash); }

/* ---------- footer ---------- */
.ftr { position: relative; overflow: hidden; background: #060607; border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 110px); }
.ftr-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 36px; }
.ftr .logo { width: 220px; }
.ftr p { color: var(--ash); font-size: 15px; }
.ftr h3 { font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); margin-bottom: 18px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.ftr a { text-decoration: none; color: #d6d4dc; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr address { font-style: normal; color: #d6d4dc; font-size: 15px; line-height: 1.6; }
.ftr .social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 44px; height: 44px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.social a:hover { background: var(--violet); border-color: var(--violet); }
.social svg { width: 20px; height: 20px; }
.ftr-mark { margin-top: clamp(56px, 8vw, 110px); height: clamp(90px, 15vw, 210px); overflow: hidden; }
.ftr-mark img { width: 100%; height: auto; opacity: .09; }
.ftr-bot { border-top: 1px solid var(--line); margin-top: 0; padding: 22px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13px; color: var(--ash); }
.ftr-bot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* mobile dock */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none;
  grid-template-columns: 1fr 1.6fr; background: var(--ink); border-top: 1px solid var(--line-2);
  transform: translateY(110%); transition: transform .4s var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}
.dock.show { transform: none; }
.dock a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; font: 700 14px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.dock a:last-child { background: var(--violet); color: #fff; }
.dock svg { width: 18px; height: 18px; }

/* cookie banner */
.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 85; max-width: 420px;
  background: var(--night); border: 1px solid var(--line-2); padding: 18px 18px 16px; font-size: 14px; color: #d6d4dc;
  display: none;
}
.cookie.show { display: block; }
.cookie p { margin-bottom: 12px; }
.cookie a { color: var(--violet-2); }
.cookie div { display: flex; gap: 8px; }

/* ---------- motion ---------- */
.js .rv { transform: translateY(28px); transition: transform 1s var(--ease); }
.js .rv.in { transform: none; }
.js .rv-d1 { transition-delay: .08s; }
.js .rv-d2 { transition-delay: .16s; }
.js .rv-d3 { transition-delay: .24s; }
.hero h1 .l { animation: rise 1.1s var(--ease) both; }
.hero h1 .l:nth-child(2) { animation-delay: .08s; }
.hero h1 .l:nth-child(3) { animation-delay: .16s; }
@keyframes rise { from { transform: translateY(40px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { transform: none; }
  .ticker-track { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav a { padding: 10px 8px; font-size: 12px; letter-spacing: .07em; }
  .nav a::after { left: 8px; right: 8px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillar:nth-child(n+3) { margin-top: 36px; border-top: 1px solid var(--line); }
  .track { grid-auto-columns: calc((100% - 20px) / 2.2); }
  .course ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course li:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .course li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
}
@media (max-width: 1100px) {
  .nav, .hdr-cta { display: none; }
  .burger { display: block; }
}
@media (max-width: 1024px) {
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .tt { display: none; }
  .tt-days { display: block; }
}
@media (min-width: 1101px) { .sheet { display: none; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 28px; }
  .next { max-width: 440px; }
  .head, .pack, .explore, .hyrox, .help, .founder, .games-grid, .physio, .faq, .finale-grid, .split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; }
  .explore-view { display: none; }
  .fam-panel .m-img { display: block; aspect-ratio: 16/10; object-fit: cover; width: 100%; margin-bottom: 18px; }
  .fam-panel .inner { padding-left: 0; }
  .stack { aspect-ratio: 5/5.2; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
  .mosaic figure { grid-column: auto !important; grid-row: auto !important; }
  .mosaic .m1, .mosaic .m4 { grid-column: 1 / -1 !important; }
  .dock { display: grid; }
  body { padding-bottom: 0; }
  .ftr { padding-bottom: 60px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --hdr: 66px; --notch: 10px; }
  .brand img { height: 34px; }
  .hero-foot ul { gap: 10px 20px; font-size: 12px; }
  .hero .lede { margin: 16px 0 24px; }
  .ctas .btn { flex: 1 1 100%; }
  .next-list { display: none; }
  .next { padding: 18px 18px 14px; }
  .next-name { font-size: 38px; margin-top: 12px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0 0; border-left: 0; }
  .pillar:nth-child(n+2) { margin-top: 28px; border-top: 1px solid var(--line); }
  .track { grid-auto-columns: 86%; gap: 12px; }
  .course ol { grid-template-columns: 1fr 1fr; }
  .course b { font-size: 20px; }
  .coaches { grid-template-columns: 1fr 1fr; gap: 10px; }
  .coach { padding: 16px; }
  .coach .role { font-size: 11px; letter-spacing: .1em; }
  .facts div { grid-template-columns: 1fr; gap: 6px; }
  .form .two { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
  .perks li:nth-child(even) { padding-left: 0; border-left: 0; }
  .ftr-top { grid-template-columns: 1fr; }
  .qa summary { font-size: 17px; padding: 20px 0; }
  .qa .ans { padding-right: 0; }
  .stack .b { border-width: 5px; }
  .fam-btn { grid-template-columns: 36px 1fr auto; }
  .fam-btn .cnt { display: none; }
  .gal { columns: 2 150px; column-gap: 8px; }
  .gal a { margin-bottom: 8px; }
  .cookie { left: 8px; right: 8px; bottom: 8px; max-width: none; }
  .dlg-body { padding: 20px; }
  .dlg-body .d { font-size: 40px; }
}

/* mobile timetable: day tabs */
.day-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1) 14px; padding: 0 var(--gut); scroll-snap-type: x proximity; }
.day-tabs::-webkit-scrollbar { display: none; }
.day-tabs button {
  flex: none; min-width: 64px; min-height: 64px; padding: 8px 10px; border: 1px solid var(--line-2); background: none; cursor: pointer;
  display: grid; place-items: center; gap: 2px; scroll-snap-align: start;
}
.day-tabs b { font: 900 22px/1 var(--display); text-transform: uppercase; }
.day-tabs small { font: 600 11px/1 var(--body); letter-spacing: .08em; color: var(--ash); text-transform: uppercase; }
.day-tabs button[aria-selected="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.day-tabs button[aria-selected="true"] small { color: #55545d; }
.day-list { display: grid; gap: 8px; }
.day-list .cls { grid-template-columns: 70px 1fr auto; align-items: center; padding: 18px 16px; }
.day-list .cls b { font-size: 26px; }
.day-list .cls i { font: 700 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--violet-2); font-style: normal; }
.day-none { border: 1px dashed var(--line-2); padding: 22px 18px; color: var(--ash); }
.day-none b { color: var(--bone); }

/* ---------- statement band ---------- */
.statement { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(520px, 92vh, 900px); display: flex; align-items: flex-end; padding: clamp(80px, 10vw, 140px) 0 clamp(56px, 7vw, 96px); }
.statement-media { position: absolute; inset: -12% 0; z-index: -2; }
.statement-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.statement::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink) 0%, rgba(10,10,12,.35) 24%, rgba(10,10,12,.45) 55%, rgba(10,10,12,.95) 100%), linear-gradient(90deg, rgba(10,10,12,.6), rgba(10,10,12,0) 70%); }
.statement-text { font-size: clamp(54px, 8.6vw, 150px); max-width: 13ch; }
.statement-cap { margin-top: 26px; font: 600 14px/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #e4e2ea; }
@supports (animation-timeline: view()) {
  .statement-media { animation: par linear both; animation-timeline: view(); }
  @keyframes par { from { transform: translateY(-9%); } to { transform: translateY(9%); } }
}

/* ---------- who we help: photo follows the cursor ---------- */
.help > div:first-child { position: relative; }
.help-peek { position: fixed; left: 0; top: 0; z-index: 5; width: 280px; aspect-ratio: 4/5; pointer-events: none; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.8) rotate(-4deg); transition: opacity .3s, transform .45s var(--ease); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
.help-peek.show { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }
.help-peek img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 900px) { .help-peek { display: none; } }

/* ---------- image settle on scroll ---------- */
.zoom { overflow: hidden; }
.js .zoom img { transform: scale(1.14); transition: transform 1.8s var(--ease); }
.js .zoom.in img { transform: none; }
.js .zoom.in:hover img { transform: scale(1.05); transition-duration: 1.2s; }

/* ---------- physio duotone ---------- */
.duo { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4/4.4; background: var(--plum); isolation: isolate; }
.duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.9); mix-blend-mode: luminosity; opacity: .55; }
.duo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(20deg, rgba(10,10,12,.92) 18%, rgba(42,17,96,.2) 70%); }
.duo figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(24px, 3vw, 40px); display: grid; gap: 10px; }
.duo .big-num { color: #fff; }
.duo .d-s { color: var(--violet-2); }

/* ---------- scroll progress + button shine ---------- */
.progress { position: fixed; left: 0; top: 0; z-index: 120; height: 2px; width: 100%; background: var(--violet); transform: scaleX(0); transform-origin: left; pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}
.btn-v { position: relative; overflow: hidden; }
.btn-v::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); }
.btn-v:hover::after { left: 130%; }

/* ---------- page to page ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; }
.hdr { view-transition-name: hdr; }

@media (max-width: 1180px) {
  .pillars-v2 .pillar:nth-child(3) { padding-left: 0; }
  .pillars-v2 .pillar:nth-child(3)::before, .pillars-v2 .pillar:nth-child(3)::after { left: 0; }
  .pillars-v2 .pillar:nth-child(n+3) { border-top: 0; }
}
@media (max-width: 900px) {
  .slide-nav { display: none !important; }
  .duo { aspect-ratio: 4/3; }
}
@media (max-width: 640px) {
  .pillars-v2 .pillar, .pillars-v2 .pillar + .pillar { padding: 30px 0 0; margin-top: 30px; border-top: 0; }
  .pillars-v2 .pillar::before, .pillars-v2 .pillar::after, .pillars-v2 .pillar + .pillar::before, .pillars-v2 .pillar + .pillar::after { left: 0; }
  .statement { min-height: 78svh; }
  .statement-text { font-size: clamp(48px, 14vw, 72px); }
}
@media (prefers-reduced-motion: reduce) {
  .js .zoom img, .js .zoom.in img { transform: none; }
  .statement-media { animation: none; inset: 0; }
  .progress { display: none; }
  @view-transition { navigation: none; }
}

/* ================= local pages ================= */
.phero-local, .phero-art { min-height: clamp(440px, 58vh, 600px); }
.phero-art .lede { max-width: 62ch; }
.facts-local div { grid-template-columns: 150px 1fr; }
.facts-local dd a { color: var(--violet-2); }
.mm { margin: 0; background: #0d0d10; border: 1px solid var(--line); }
.mm svg { width: 100%; height: auto; display: block; }
.mm figcaption { padding: 12px 16px; font-size: 13px; color: var(--ash); border-top: 1px solid var(--line); }
.mm-grid { stroke: rgba(255,255,255,.04); stroke-width: 1; }
.mm-ring { fill: none; stroke: rgba(179,155,255,.22); stroke-dasharray: 3 5; }
.mm-rl { fill: #8d8c96; font: 600 11px var(--body); }
.mm-dot { fill: #6f6e78; }
.mm-town { fill: #bdbcc4; }
a:hover .mm-dot { fill: var(--violet-2); }
.mm-nl { fill: #a9a8b0; font: 500 12px var(--body); }
.mm-line { stroke: var(--violet-2); stroke-width: 2; stroke-dasharray: 6 6; }
.mm-place { fill: var(--bone); stroke: var(--ink); stroke-width: 3; }
.mm-pl { fill: #fff; font: 800 18px var(--display); text-transform: uppercase; letter-spacing: .02em; }
.mm-halo { fill: rgba(124,60,255,.25); }
.mm-gym { fill: var(--violet); stroke: #fff; stroke-width: 2; }
.mm-gl { fill: var(--violet-2); font: 800 16px var(--display); text-transform: uppercase; letter-spacing: .03em; }
.mm-n circle { fill: none; stroke: var(--line-2); }
.mm-n path { fill: var(--bone); }
.mm-big { margin-top: 40px; }
.why { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.why li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.why b { font: 900 24px/1 var(--display); text-transform: uppercase; }
.why span { color: var(--ash); font-size: 15.5px; }
.tim { gap: 14px; }
.tim li span { color: #d6d4dc; }
.tim b { color: #fff; }
.wk { border: 1px solid var(--line); background: var(--night); }
.wk-d { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.wk-d:last-child { border-bottom: 0; }
.wk-d b { font: 900 18px/1.2 var(--display); text-transform: uppercase; color: var(--violet-2); }
.wk-d i { font-style: normal; color: #55545d; margin: 0 8px; }
.near { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.near-list, .area-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); border-top: 1px solid var(--line); }
.near-list li, .area-list li { border-bottom: 1px solid var(--line); }
.near-list a, .area-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 12px 13px 0; text-decoration: none; transition: color .2s, padding .3s var(--ease); }
.near-list a:hover, .area-list a:hover { color: var(--violet-2); padding-left: 6px; }
.near-list span { font-weight: 600; }
.near-list small, .area-list small { color: var(--ash); font-size: 13px; white-space: nowrap; }
.area-groups { display: grid; gap: 48px; margin-top: 56px; }
.area-groups h2 { font: 900 clamp(30px, 3vw, 42px)/1 var(--display); text-transform: uppercase; margin-bottom: 16px; display: flex; align-items: baseline; gap: 12px; }
.area-groups h2 small { font: 700 13px var(--body); color: var(--violet-2); letter-spacing: .1em; }
.area-groups .link { margin-top: 16px; }
.area-list { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); column-gap: 24px; }

/* ================= guide cards and hubs ================= */
.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.gcard { display: grid; align-content: start; gap: 10px; padding: 24px 22px 26px; background: var(--iron); border: 1px solid var(--line); text-decoration: none; position: relative; transition: border-color .3s, transform .35s var(--ease), background .3s; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%); }
.gcard:hover { border-color: rgba(179,155,255,.5); transform: translateY(-4px); background: #1d1d23; }
.gcard small { font: 700 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); }
.gcard b { font: 900 26px/.95 var(--display); text-transform: uppercase; }
.gcard span { font-size: 14.5px; color: var(--ash); line-height: 1.5; }
.gcard[hidden] { display: none; }
.hub-h { margin: 48px 0 16px; }
.hub-h:first-of-type { margin-top: 0; }
.ex-filter { margin-bottom: 24px; }
.silos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.silo { display: grid; gap: 10px; padding: 28px; border: 1px solid var(--line-2); text-decoration: none; background: linear-gradient(160deg, rgba(124,60,255,.12), rgba(124,60,255,0) 60%), var(--night); transition: border-color .3s, transform .35s var(--ease); }
.silo:hover { border-color: var(--violet-2); transform: translateY(-4px); }
.silo .d { font-size: clamp(34px, 3vw, 46px); }
.silo small { font: 700 12px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--violet-2); }
.silo p { color: var(--ash); font-size: 15px; }

/* ================= article ================= */
.art-meta { margin-top: 18px; font: 600 13px/1.4 var(--body); letter-spacing: .06em; color: #cfcdd6; }
.art-sec { padding-top: clamp(40px, 5vw, 72px); }
.art { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.art-side { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 20px; }
.toc b, .side-cta b { display: block; font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; color: var(--ash); text-decoration: none; line-height: 1.35; }
.toc a:hover, .toc a.on { color: #fff; border-color: var(--violet); }
.side-cta { padding: 20px; border: 1px solid var(--line-2); background: var(--night); }
.side-cta p { font-size: 14px; color: var(--ash); margin-bottom: 14px; }
.art-body { max-width: 72ch; font-size: 18px; line-height: 1.7; color: #dcdae2; }
.art-body section { scroll-margin-top: calc(var(--hdr) + 20px); }
.art-body h2 { font: 900 clamp(32px, 3.2vw, 44px)/.95 var(--display); text-transform: uppercase; color: var(--bone); margin: 56px 0 18px; }
.art-body p { margin: 0 0 1.1em; }
.art-body ul, .art-body ol { margin: 0 0 1.2em; padding-left: 1.2em; }
.art-body li { margin: .45em 0; padding-left: .2em; }
.art-body li::marker { color: var(--violet-2); font-weight: 700; }
.art-body a { color: var(--violet-2); text-decoration-color: rgba(179,155,255,.4); }
.art-body a:hover { text-decoration-color: currentColor; }
.art-body strong { color: #fff; }
.takeaways { border: 1px solid rgba(179,155,255,.35); background: linear-gradient(160deg, rgba(124,60,255,.14), rgba(124,60,255,.03)); padding: 22px 24px; }
.takeaways b { font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); }
.takeaways ul { margin: 12px 0 0; font-size: 16.5px; }
.tip { margin: 1.4em 0; padding: 18px 20px; border-left: 0; background: var(--iron); position: relative; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); }
.tip b { font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); }
.tip p { margin: 8px 0 0; font-size: 16.5px; }
.redflags { margin: 40px 0 8px; padding: 22px 24px; border: 1px solid rgba(255,122,122,.55); background: rgba(255,90,90,.07); }
.redflags h2 { font: 900 28px/1 var(--display); margin: 0 0 12px; color: #ffb4b4; }
.redflags ul { margin: 0 0 12px; font-size: 16.5px; }
.redflags li::marker { color: #ff8a8a; }
.redflags p { margin: 0; font-size: 15px; color: #f1d6d6; }
.spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 24px 0 0; border: 1px solid var(--line); }
.spec div { padding: 14px 16px; }
.spec div + div { border-left: 1px solid var(--line); }
.spec dt { font: 700 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); margin-bottom: 8px; }
.spec dd { margin: 0; font-size: 15px; color: #e4e2ea; }
.art-body .qa summary { font-size: 18px; }
.art-note { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ash); }
.physio-cta { background: var(--night); }

@media (max-width: 1024px) {
  .art { grid-template-columns: 1fr; }
  .art-side { position: static; order: 2; }
  .toc { display: none; }
}
@media (max-width: 900px) { .near { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .art-body { font-size: 17px; }
  .spec { grid-template-columns: 1fr; }
  .spec div + div { border-left: 0; border-top: 1px solid var(--line); }
  .facts-local div { grid-template-columns: 1fr; }
  .gcards { grid-template-columns: 1fr; }
  .mm-pl { font-size: 22px; }
}

.lt { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--night); border: 1px solid var(--line); }
.lt th, .lt td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.lt thead th { font: 700 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--violet-2); }
.lt tbody th { font-weight: 600; white-space: nowrap; color: #e4e2ea; }
.lt td:last-child { font-weight: 700; color: #fff; white-space: nowrap; }
.mm-on { fill: var(--violet-2); }

/* ================= hero tightening (27 Sep): shorter heroes, calmer type, readable text ================= */
.d-xl { font-size: clamp(56px, 8vw, 132px); }
.d-l { font-size: clamp(44px, 5.8vw, 96px); }

.hero { min-height: clamp(600px, 86svh, 800px); }
.hero .d-xl { font-size: clamp(56px, 7.4vw, 124px); }
.hero-grid { padding-top: calc(var(--hdr) + 40px); padding-bottom: 32px; }
.hero::before {
  background:
    linear-gradient(90deg, rgba(10,10,12,.9) 0%, rgba(10,10,12,.66) 38%, rgba(10,10,12,.12) 72%),
    linear-gradient(180deg, rgba(10,10,12,.55) 0%, rgba(10,10,12,0) 22%, rgba(10,10,12,0) 60%, rgba(10,10,12,.9) 94%, var(--ink) 100%);
}
.hero .lede, .phero .lede { color: #f4f2f7; font-weight: 500; text-shadow: 0 1px 14px rgba(0,0,0,.55); }
.hero h1 .sub { margin-top: 18px; text-shadow: 0 1px 12px rgba(0,0,0,.6); }

.phero { min-height: 0; }
.phero .wrap { padding-top: calc(var(--hdr) + 52px); padding-bottom: clamp(36px, 4vw, 56px); }
.phero .d-l { font-size: clamp(44px, 5.4vw, 88px); max-width: 16ch; }
.phero-art .d-l { font-size: clamp(34px, 3.8vw, 60px); max-width: 24ch; line-height: .94; }
.phero-local .d-l { max-width: 20ch; }
.phero::before {
  background:
    linear-gradient(90deg, rgba(10,10,12,.93) 0%, rgba(10,10,12,.78) 45%, rgba(10,10,12,.45) 100%),
    linear-gradient(180deg, rgba(10,10,12,.45) 0%, rgba(10,10,12,0) 35%, rgba(10,10,12,.35) 80%, var(--ink) 100%);
}
.phero .lede { margin-top: 18px; max-width: 58ch; font-size: clamp(17px, 1.3vw, 19px); }
.phero .crumbs { margin-bottom: 18px; color: #c9c7d0; }
.phero .art-meta { margin-top: 14px; }
.phero .ctas { margin-top: 22px !important; }

@media (max-width: 640px) {
  .d-xl { font-size: clamp(48px, 14vw, 64px); }
  .d-l { font-size: clamp(38px, 11vw, 52px); }
  .hero { min-height: 0; }
  .hero .d-xl { font-size: clamp(50px, 14.5vw, 64px); }
  .hero-grid { padding-top: calc(var(--hdr) + 36px); padding-bottom: 20px; gap: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(10,10,12,.6) 0%, rgba(10,10,12,.5) 30%, rgba(10,10,12,.88) 58%, var(--ink) 100%); }
  .hero h1 .sub { font-size: 13px; letter-spacing: .1em; margin-top: 14px; }
  .hero .lede { font-size: 16.5px; margin: 14px 0 22px; }
  .hero .ctas .btn-line { display: none; }
  .hero .next { display: none; }
  .hero-foot ul { padding: 14px 0 16px; }
  .phero .wrap { padding-top: calc(var(--hdr) + 28px); padding-bottom: 28px; }
  .phero .d-l { font-size: clamp(36px, 10.4vw, 46px); }
  .phero-art .d-l { font-size: clamp(30px, 8.4vw, 38px); }
  .phero .lede { font-size: 16px; }
  .phero .crumbs { flex-wrap: nowrap; overflow: hidden; white-space: nowrap; }
  .phero .crumbs li:last-child { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .phero .ctas .btn-line { display: none; }
}

@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 12px; padding-bottom: 12px; }
  .near { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .lt th, .lt td { padding: 9px 8px; font-size: 14px; }
  .lt thead th { white-space: normal; line-height: 1.3; }
}

/* coach cards with a real photo */
.coach.has-photo { background: #0b0b0e; }
.coach.has-photo::before { display: none; }
.coach .coach-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 1.2s var(--ease); }
.coach.has-photo:hover .coach-img { transform: scale(1.04); }
.coach.has-photo::after { background: linear-gradient(0deg, rgba(8,6,14,.97) 4%, rgba(8,6,14,.82) 22%, rgba(8,6,14,.35) 42%, rgba(8,6,14,0) 60%); }

/* ================= interactive maps (Leaflet, OSM tiles styled dark) ================= */
.lmh { display: grid; grid-template-columns: minmax(0, 1fr) 360px; margin-top: 40px; border: 1px solid var(--line-2); background: #0b0b0e; }
.lmh-map { position: relative; height: clamp(520px, 72vh, 720px); background: #0d0d12; }
.lmh-map > .mm { border: 0; height: 100%; }
.lmh-map > .mm svg { height: calc(100% - 44px); }
.lmh-side { display: flex; flex-direction: column; min-height: 0; max-height: clamp(520px, 72vh, 720px); border-left: 1px solid var(--line-2); background: var(--night); }
.lmh-top { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 16px 16px 10px; }
.lmh-top input { width: 100%; min-height: 44px; padding: 10px 12px; background: #0c0c0f; border: 1px solid var(--line-2); color: var(--bone); font: 400 15px var(--body); border-radius: 0; }
.lmh-top input:focus { outline: none; border-color: var(--violet-2); box-shadow: 0 0 0 3px rgba(124,60,255,.25); }
.lmh-top .btn { min-height: 44px; padding: 0 12px; gap: 6px; }
.lmh-top .btn svg { width: 16px; height: 16px; }
.lmh-chips { padding: 0 16px 10px; gap: 6px; }
.lmh-chips .chip { min-height: 36px; padding: 8px 10px; font-size: 11.5px; }
.lmh-count { padding: 0 16px 10px; margin: 0; font-size: 13px; color: var(--ash); border-bottom: 1px solid var(--line); }
.lmh-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; scrollbar-width: thin; scrollbar-color: #3a3a44 transparent; }
.lmh-list button { width: 100%; display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: center; padding: 11px 16px; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; text-align: left; transition: background .2s; }
.lmh-list button:hover, .lmh-list button:focus-visible { background: rgba(124,60,255,.12); }
.lmh-list i { width: 10px; height: 10px; border-radius: 50%; }
.lmh-list span { font-weight: 600; font-size: 15px; display: grid; }
.lmh-list small { font-weight: 400; font-size: 12px; color: var(--ash); }
.lmh-list b { font: 800 16px var(--display); color: var(--violet-2); letter-spacing: .04em; white-space: nowrap; }
.lmh-none { padding: 18px 16px; color: var(--ash); font-size: 14px; }
.lmh-legend { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 11px; color: var(--ash); }
.lmh-legend span { font: 700 11px var(--body); letter-spacing: .12em; text-transform: uppercase; margin-right: 6px; }
.lmh-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.lmh-legend small { margin-right: 6px; font-size: 11px; }

.mm[data-lmap] { position: relative; }
.lm-local { height: 380px; background: #0d0d12; }

/* map chrome */
div.leaflet-container { background: #0d0d12; font-family: var(--body); }
div.leaflet-container .lp-links a { color: var(--bone); }
div.leaflet-container .lp-links a.lp-main { color: #fff; }
div.leaflet-container a.leaflet-popup-close-button { color: var(--ash); }
.leaflet-tile-pane { filter: invert(1) grayscale(1) brightness(.72) contrast(1.3) sepia(.35) hue-rotate(215deg) saturate(1.8); }
.leaflet-control-zoom { border: 1px solid var(--line-2) !important; border-radius: 0 !important; box-shadow: none !important; }
.leaflet-control-zoom a { background: rgba(17,17,20,.92) !important; color: var(--bone) !important; border-color: var(--line) !important; width: 36px !important; height: 36px !important; line-height: 34px !important; border-radius: 0 !important; }
.leaflet-control-zoom a:hover { background: var(--violet) !important; }
.leaflet-control-attribution { background: rgba(10,10,12,.7) !important; color: #8d8c96 !important; font-size: 10px !important; }
.leaflet-control-attribution a { color: #b39bff !important; }
.lm-gym .lm-pin { position: absolute; inset: 6px; border-radius: 50%; background: #0a0a0c; border: 3px solid var(--violet); overflow: hidden; box-shadow: 0 6px 20px rgba(124,60,255,.6); display: grid; place-items: center; }
.lm-gym .lm-pin img { width: 100%; height: 100%; object-fit: cover; }
.lm-gym .lm-pulse { position: absolute; inset: 0; border-radius: 50%; background: rgba(124,60,255,.45); animation: lmpulse 2.2s ease-out infinite; }
@keyframes lmpulse { from { transform: scale(.7); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.lm-me span { display: block; width: 18px; height: 18px; border-radius: 50%; background: #4fb3ff; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(79,179,255,.3); }
.lm-ring { color: #b39bff; font: 700 11px var(--body); letter-spacing: .08em; text-align: center; opacity: .8; text-shadow: 0 1px 4px #000; }
.leaflet-tooltip.lm-tip, .leaflet-tooltip.lm-gl, .leaflet-tooltip.lm-place { background: rgba(10,10,12,.88); border: 1px solid var(--line-2); border-radius: 0; color: var(--bone); font: 600 12.5px var(--body); padding: 4px 8px; box-shadow: none; }
.leaflet-tooltip.lm-tip span { color: var(--violet-2); margin-left: 4px; }
.leaflet-tooltip.lm-town { background: transparent; border: 0; padding: 0 0 0 2px; font: 700 12px var(--body); text-shadow: 0 1px 3px #000, 0 0 8px #000; }
.leaflet-tooltip.lm-town::before, .leaflet-tooltip.lm-gl::before, .leaflet-tooltip.lm-place::before { display: none; }
.lm-z-low .leaflet-tooltip.lm-town { display: none; }
.leaflet-tooltip.lm-gl { background: var(--violet); border-color: var(--violet); color: #fff; font: 800 14px var(--display); letter-spacing: .06em; text-transform: uppercase; }
.leaflet-tooltip.lm-place { background: var(--bone); color: var(--ink); border-color: var(--bone); font: 900 16px var(--display); text-transform: uppercase; letter-spacing: .03em; }
.lm-trip { background: rgba(10,10,12,.9); border: 1px solid rgba(179,155,255,.5); color: var(--bone); font: 600 12px var(--body); padding: 4px 8px; white-space: nowrap; transform: translate(-50%, -50%); width: max-content !important; height: auto !important; }
.lm-trip b { color: var(--violet-2); }
.lm-hint { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 500; background: rgba(10,10,12,.85); border: 1px solid var(--line-2); padding: 5px 10px; font-size: 12px; color: var(--ash); pointer-events: none; }
.lpop .leaflet-popup-content-wrapper { background: var(--night); color: var(--bone); border: 1px solid rgba(179,155,255,.4); border-radius: 0; box-shadow: 0 18px 40px rgba(0,0,0,.6); }
.lpop .leaflet-popup-tip { background: var(--night); border: 1px solid rgba(179,155,255,.4); }
.lpop .leaflet-popup-content { margin: 16px 18px; }
.lpop a.leaflet-popup-close-button { color: var(--ash); font-size: 20px; padding: 6px 6px 0 0; }
.lp small { display: block; font: 700 10.5px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--violet-2); }
.lp b { display: block; font: 900 26px/1 var(--display); text-transform: uppercase; margin: 6px 0; color: var(--bone); }
.lp p { margin: 0 0 12px; font-size: 13.5px; color: #cfcdd6; }
.lp p strong { color: #fff; }
.lp-links { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-links a { font: 600 12px var(--body); color: var(--bone); text-decoration: none; padding: 6px 9px; border: 1px solid var(--line-2); }
.lp-links a:hover { border-color: var(--bone); }
.lp-links a.lp-main { background: var(--violet); border-color: var(--violet); color: #fff; width: 100%; text-align: center; padding: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lp-links a.lp-main:hover { background: var(--violet-hi); }
@media (max-width: 900px) {
  .lmh { grid-template-columns: minmax(0, 1fr); }
  .lmh-map { height: 62vh; min-height: 380px; }
  .lmh-side { border-left: 0; border-top: 1px solid var(--line-2); max-height: 460px; }
  .lm-local { height: 320px; }
}

/* ---------- community carousel: one photo at a time, nothing stacked on top of anyone's face ---------- */
.carousel { position: relative; }
.car-track { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--night); }
.car-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s var(--ease); }
.car-slide.on { opacity: 1; }
.car-slide img { width: 100%; height: 100%; object-fit: cover; }
.car-slide .cap { position: absolute; left: 0; bottom: 0; }
.car-ctl { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.car-ctl > button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); background: var(--ink); color: var(--bone); cursor: pointer; }
.car-ctl > button:hover { border-color: var(--violet-2); }
.car-ctl svg { width: 18px; height: 18px; }
.car-dots { display: flex; gap: 2px; }
.car-dots button { width: 32px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; position: relative; }
.car-dots button::after { content: ''; position: absolute; left: 4px; right: 4px; top: 21px; height: 3px; background: var(--line-2); transition: background .3s; }
.car-dots button[aria-current]::after { background: var(--violet-2); }

/* ---------- homepage hub: one card per page, so the homepage stays a front door ---------- */
.hub { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hub-card { display: flex; flex-direction: column; text-decoration: none; color: var(--bone); background: var(--night); border: 1px solid var(--line); transition: border-color .3s, transform .35s var(--ease); }
.hub-card:hover { border-color: var(--violet-2); transform: translateY(-4px); }
.hub-img { display: block; aspect-ratio: 4/3; overflow: hidden; }
.hub-img img { width: 100%; height: 100%; object-fit: cover; }
.hub-txt { display: grid; gap: 8px; padding: 20px 20px 24px; }
.hub-txt .d { font-size: clamp(28px, 2.4vw, 38px); line-height: 1; }
.hub-txt span { color: var(--ash); font-size: 15px; line-height: 1.5; }
@media (max-width: 1100px) { .hub { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hub { gap: 10px; } .hub-txt { padding: 14px 14px 18px; } .hub-txt span { font-size: 14px; } }

/* ---------- race countdowns ---------- */
.races { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.race { padding: clamp(22px, 3vw, 36px); background: linear-gradient(160deg, rgba(124,60,255,.18), rgba(124,60,255,0) 65%), var(--night); border: 1px solid var(--line-2); color: var(--bone); }
.race p { margin: 0; }
.race-name { font: 700 13px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); }
.race-count { display: flex; align-items: baseline; gap: 14px; margin: 14px 0 10px !important; }
.race-count b { font: 900 clamp(72px, 9vw, 132px)/.85 var(--display); color: #fff; }
.race-count span { font: 600 15px var(--body); color: #d6d4dc; text-transform: uppercase; letter-spacing: .1em; }
.race-meta { color: #c9c7d1; font-size: 15px; }
@media (max-width: 640px) { .races { grid-template-columns: minmax(0, 1fr); } }

/* ---------- member guides: first section open, the rest behind a free week ---------- */
.locked { position: relative; max-height: 260px; overflow: hidden; }
.locked::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,0), var(--ink) 92%); pointer-events: none; }
.gate { margin: 8px 0 40px; padding: clamp(22px, 3vw, 36px); background: var(--night); border: 1px solid var(--line-2); color: var(--bone); }
.gate .d { margin: 10px 0 12px; }
.gate .panel { margin-top: 22px; }
.unlocked .locked { max-height: none; overflow: visible; }
.unlocked .locked::after, .unlocked .gate:not(.keep) { display: none; }
#areas .area-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 640px) { #areas .area-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; } }
.gate-login { margin: 14px 0 0; color: var(--bone); } .gate-login a { color: #fff; font-weight: 700; }
