/* Raw Performance Core: call/text bars, questionnaire, FAQ, hours. */
:root {
  --rpt-red: #D7262B;
  --rpt-red-text: #FF4A4F;
  --rpt-bg: #0B0B0C;
  --rpt-surface: #111113;
  --rpt-line: #222224;
  --rpt-input: #3A3A3E;
  --rpt-text: #F2F0EC;
  --rpt-muted: #B8B6B1;
  --rpt-display: 'Anton', 'Arial Narrow', sans-serif;
  --rpt-body: 'Archivo', system-ui, sans-serif;
}

/* Buttons */
.rpt-ct { display: flex; flex-wrap: wrap; gap: 10px; }
.rpt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 14px 22px; border-radius: 2px; border: 1px solid transparent;
  font-family: var(--rpt-body); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; line-height: 1.1;
}
.rpt-btn--call { background: var(--rpt-red); color: #fff; }
.rpt-btn--call:hover, .rpt-btn--call:focus-visible { background: #B91C1C; color: #fff; }
.rpt-btn--text { background: var(--rpt-text); color: var(--rpt-bg); }
.rpt-btn--text:hover, .rpt-btn--text:focus-visible { background: #fff; color: var(--rpt-bg); }
.rpt-btn--ghost { background: transparent; color: var(--rpt-text); border-color: var(--rpt-text); }
.rpt-btn:focus-visible { outline: 2px solid var(--rpt-red-text); outline-offset: 2px; }
.rpt-ico { flex: none; }

/* Desktop bar above the header */
.rpt-topbar { background: var(--rpt-surface); border-bottom: 1px solid var(--rpt-line); color: var(--rpt-muted); font: 13px/1.3 var(--rpt-body); }
.rpt-topbar__in { max-width: 1280px; margin: 0 auto; padding: 8px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.rpt-ct--top { gap: 8px; }
.rpt-ct--top .rpt-btn { min-height: 36px; padding: 8px 14px; font-size: 13px; letter-spacing: .08em; }
.rpt-ct--top .rpt-btn--call { background: transparent; border-color: var(--rpt-input); color: var(--rpt-text); }
.rpt-ct--top .rpt-btn--text { background: var(--rpt-red); color: #fff; }

/* Sticky phone bar */
.rpt-mobilebar { display: none; }
@media (max-width: 1024px) {
  .rpt-topbar { display: none; }
  .rpt-mobilebar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom); background: var(--rpt-bg);
  }
  .rpt-ct--bar { gap: 1px; flex-wrap: nowrap; }
  .rpt-ct--bar .rpt-btn { min-height: 60px; border-radius: 0; font-size: 15px; letter-spacing: .02em; text-transform: none; padding: 12px 10px; white-space: nowrap; }
  .rpt-ct--bar .rpt-btn--call { flex: 1 1 0; }
  .rpt-ct--bar .rpt-btn--text { flex: 2.2 1 0; }
  body.rpt-has-mobilebar { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
}
@media (max-width: 420px) {
  .rpt-ct--bar .rpt-btn { font-size: 14px; gap: 6px; padding: 12px 6px; }
  .rpt-ct--bar .rpt-ico { width: 16px; height: 16px; }
}

/* Questionnaire */
.rpt-q { font-family: var(--rpt-body); color: var(--rpt-text); background: var(--rpt-surface); border: 1px solid var(--rpt-line); padding: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; gap: 28px; }
.rpt-q h2 { font-family: var(--rpt-display); font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: 1; text-transform: uppercase; margin: 0; color: var(--rpt-text); }
.rpt-q h3 { font-family: var(--rpt-display); font-weight: 400; font-size: 36px; line-height: 1.05; text-transform: uppercase; margin: 0 0 24px; color: var(--rpt-text); }
.rpt-q h3 span { color: var(--rpt-red-text); margin-right: 8px; }
.rpt-q p { margin: 0; color: var(--rpt-muted); font-size: 17px; line-height: 1.6; }
.rpt-step { display: flex; flex-direction: column; gap: 24px; }
.rpt-step[hidden], .rpt-minor[hidden], .rpt-gym[hidden] { display: none; }
.rpt-step + .rpt-step { border-top: 1px solid var(--rpt-line); padding-top: 32px; }
.rpt-js .rpt-step + .rpt-step { border-top: 0; padding-top: 0; }
.rpt-progress { display: none; flex-direction: column; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9A9893; }
.rpt-js .rpt-progress { display: flex; }
.rpt-progress__bar { display: block; height: 4px; background: #2A2A2D; }
.rpt-progress__bar i { display: block; height: 4px; width: 20%; background: var(--rpt-red); transition: width .3s ease; }

.rpt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.rpt-field { display: flex; flex-direction: column; gap: 8px; }
.rpt-field > span, .rpt-fs legend { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rpt-text); padding: 0; }
.rpt-field em, .rpt-fs legend em { color: var(--rpt-red-text); font-style: normal; }
.rpt-field small { color: #9A9893; font-size: 13px; }
.rpt-q input[type=text], .rpt-q input[type=email], .rpt-q input[type=tel], .rpt-q input[type=date], .rpt-q select, .rpt-q textarea {
  width: 100%; box-sizing: border-box; background: var(--rpt-bg); border: 1px solid var(--rpt-input); color: var(--rpt-text);
  padding: 16px; font: 16px/1.3 var(--rpt-body); border-radius: 2px; color-scheme: dark;
}
.rpt-q input:focus, .rpt-q select:focus, .rpt-q textarea:focus { outline: 2px solid var(--rpt-red-text); outline-offset: 1px; border-color: transparent; }
.rpt-fs { min-width: 0; border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.rpt-fs legend { margin-bottom: 12px; }

.rpt-cards { display: grid; gap: 10px; }
.rpt-cards--2 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rpt-cards--row { display: flex; flex-wrap: wrap; }
.rpt-card, .rpt-pill { position: relative; cursor: pointer; }
.rpt-card input, .rpt-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rpt-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; min-width: 72px; background: var(--rpt-bg); border: 1px solid var(--rpt-input); border-radius: 2px; }
.rpt-card__t { font-weight: 700; font-size: 16px; }
.rpt-card__s { font-size: 14px; color: var(--rpt-muted); }
.rpt-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.rpt-pill span { display: inline-block; padding: 13px 18px; border: 1px solid var(--rpt-input); border-radius: 999px; font-weight: 600; font-size: 15px; background: var(--rpt-bg); }
.rpt-card:has(input:checked), .rpt-pill input:checked + span { border-color: var(--rpt-red); background: rgba(215, 38, 43, .16); }
.rpt-card:has(input:focus-visible), .rpt-pill input:focus-visible + span { outline: 2px solid var(--rpt-red-text); outline-offset: 2px; }
.rpt-invalid .rpt-card, .rpt-invalid .rpt-pill span, .rpt-invalid input, .rpt-invalid textarea { border-color: var(--rpt-red-text) !important; }
.rpt-error { color: #FFB4B6 !important; background: rgba(215, 38, 43, .14); border-left: 3px solid var(--rpt-red); padding: 12px 16px; font-size: 15px !important; }
.rpt-note { font-size: 15px !important; }
.rpt-nav { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #2A2A2D; padding-top: 28px; }
.rpt-q:not(.rpt-js) .rpt-back, .rpt-q:not(.rpt-js) .rpt-next { display: none; }
.rpt-nav [hidden] { display: none; }
.rpt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rpt-q--done { align-items: flex-start; }

/* Hours */
.rpt-hours { display: flex; flex-direction: column; gap: 2px; background: var(--rpt-line); border: 1px solid var(--rpt-line); font-family: var(--rpt-body); color: var(--rpt-text); }
.rpt-hours__row { background: var(--rpt-surface); padding: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.rpt-hours__row > div:first-child { display: flex; flex-direction: column; gap: 6px; }
.rpt-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9A9893; }
.rpt-hours strong { font-family: var(--rpt-display); font-weight: 400; font-size: 30px; text-transform: uppercase; }
.rpt-hours__times { display: flex; flex-direction: column; gap: 8px; font-size: 20px; font-weight: 700; text-align: right; }
.rpt-hours__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rpt-hours__chips span { font-size: 18px; font-weight: 700; padding: 10px 14px; border: 1px solid var(--rpt-red); border-radius: 2px; }

/* FAQ */
.rpt-faq { border-top: 1px solid #2A2A2D; font-family: var(--rpt-body); color: var(--rpt-text); }
.rpt-faq details { border-bottom: 1px solid #2A2A2D; padding: 22px 0; }
.rpt-faq summary { cursor: pointer; font-size: 19px; font-weight: 700; line-height: 1.4; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.rpt-faq summary::-webkit-details-marker { display: none; }
.rpt-faq summary::after { content: '+'; color: var(--rpt-red-text); font-size: 26px; line-height: 1; }
.rpt-faq details[open] summary::after { content: '\2212'; }
.rpt-faq p { margin: 14px 0 0; font-size: 17px; line-height: 1.65; color: var(--rpt-muted); }

/* Member portal */
.rpt-portal { font-family: var(--rpt-body); color: var(--rpt-text); background: var(--rpt-surface); border: 1px solid var(--rpt-line); padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.rpt-portal__list { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; }
.rpt-portal__list li { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-top: 1px solid #2A2A2D; }
.rpt-portal__list strong { font-size: 17px; }
.rpt-portal__list span, .rpt-portal__note { color: var(--rpt-muted); font-size: 15px; line-height: 1.55; margin: 0; }
.rpt-portal__btn { font-size: 16px; padding: 20px 30px; }

@media (prefers-reduced-motion: reduce) { .rpt-progress__bar i { transition: none; } }

/* Waiver */
.rpt-waiver__text { max-height: 420px; overflow-y: auto; background: var(--rpt-bg); border: 1px solid var(--rpt-input); padding: 20px 24px; color: #D6D4CF; font-size: 15px; line-height: 1.6; }
.rpt-waiver__text h3 { font-family: var(--rpt-body); font-size: 18px; font-weight: 700; text-transform: none; margin: 0 0 12px; }
.rpt-waiver__text p, .rpt-waiver__text li { color: #D6D4CF; font-size: 15px; margin: 0 0 12px; }
.rpt-waiver__text ul { margin: 0 0 12px; padding-left: 20px; }
.rpt-waiver__text:focus { outline: 2px solid var(--rpt-red-text); }
.rpt-waiver h3 { margin: 8px 0 0; }
.rpt-check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; cursor: pointer; }
.rpt-check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--rpt-red); flex: none; }
.rpt-check.rpt-invalid span { color: #FFB4B6; }
.rpt-sig { display: flex; flex-direction: column; gap: 8px; position: relative; }
.rpt-sig__label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.rpt-sig__label em { color: var(--rpt-red-text); font-style: normal; }
.rpt-sig__pad { width: 100%; height: 180px; background: #fff; border-radius: 2px; touch-action: none; cursor: crosshair; border: 2px solid transparent; }
.rpt-sig.rpt-invalid .rpt-sig__pad { border-color: var(--rpt-red-text); }
.rpt-sig__clear { position: absolute; right: 8px; bottom: 8px; background: #eee; color: #111; border: 0; padding: 8px 12px; font: 600 13px var(--rpt-body); border-radius: 2px; cursor: pointer; min-height: 36px; }

/* Front-desk tablet */
.rpt-kiosk { font-family: var(--rpt-body); color: var(--rpt-text); background: var(--rpt-bg); max-width: 760px; margin: 0 auto; padding: clamp(24px, 5vw, 64px) 24px; display: flex; flex-direction: column; gap: 24px; min-height: 70vh; }
.rpt-kiosk h1 { font-family: var(--rpt-display); font-weight: 400; font-size: clamp(48px, 8vw, 88px); line-height: .95; text-transform: uppercase; margin: 0; color: var(--rpt-text); }
.rpt-kiosk p { color: var(--rpt-muted); font-size: 20px; margin: 0; }
.rpt-kiosk__home { display: flex; flex-direction: column; gap: 22px; }
.rpt-kiosk__home[hidden], .rpt-kiosk__done[hidden], .rpt-kiosk__none[hidden] { display: none; }
.rpt-kiosk input[type=search], .rpt-kiosk input[type=password] { width: 100%; box-sizing: border-box; background: var(--rpt-surface); border: 2px solid var(--rpt-input); color: var(--rpt-text); font: 600 30px var(--rpt-body); padding: 22px 24px; border-radius: 2px; }
.rpt-kiosk input:focus { outline: none; border-color: var(--rpt-red); }
.rpt-kiosk__results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rpt-kiosk__person { width: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 16px; align-items: center; text-align: left; background: var(--rpt-surface); border: 1px solid var(--rpt-input); color: var(--rpt-text); padding: 20px 24px; border-radius: 2px; cursor: pointer; font-family: var(--rpt-body); min-height: 88px; }
.rpt-kiosk__person strong { font-size: 26px; }
.rpt-kiosk__person span { grid-row: 2; color: #7DDB95; font-size: 16px; }
.rpt-kiosk__person em { grid-row: 1 / 3; grid-column: 2; font-style: normal; background: var(--rpt-red); color: #fff; padding: 14px 20px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 15px; border-radius: 2px; }
.rpt-kiosk__person:active { border-color: var(--rpt-red); }
.rpt-kiosk__none { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.rpt-kiosk__big { font-size: 18px; padding: 22px 30px; }
.rpt-kiosk__first { font-size: 17px !important; }
.rpt-kiosk__first a { color: var(--rpt-red-text); }
.rpt-kiosk__done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding-top: 6vh; }
.rpt-kiosk__check { width: 140px; height: 140px; border-radius: 50%; background: #2F9E55; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 80px; line-height: 1; }
.rpt-kiosk--pin { max-width: 480px; }
.rpt-kiosk--sign .rpt-q { padding: 0; border: 0; background: transparent; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* Referrals */
.rpt-refbar { background: var(--rpt-red); color: #fff; font: 15px/1.4 var(--rpt-body); text-align: center; padding: 10px 16px; }
.rpt-refbar a { color: #fff; text-decoration: underline; }
.rpt-refer__link { display: flex; gap: 8px; width: 100%; }
.rpt-refer__link input { flex: 1 1 auto; min-width: 0; font-size: 16px !important; }
.rpt-refer .rpt-note a { color: var(--rpt-red-text); }

/* Comparison table (Switching gyms page) */
.rpt-compare { width: 100%; border-collapse: collapse; font-family: var(--rpt-body); color: var(--rpt-text); font-size: 16px; }
.rpt-compare th, .rpt-compare td { text-align: left; padding: 18px 16px; border-bottom: 1px solid #2A2A2D; vertical-align: top; line-height: 1.5; }
.rpt-compare thead th { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #9A9893; }
.rpt-compare thead th:last-child { color: var(--rpt-red-text); }
.rpt-compare tbody th { font-weight: 700; width: 22%; }
.rpt-compare td { color: var(--rpt-muted); }
.rpt-compare td:last-child { color: var(--rpt-text); background: rgba(215, 38, 43, .08); border-left: 2px solid var(--rpt-red); }
@media (max-width: 640px) {
  .rpt-compare thead { display: none; }
  .rpt-compare tr { display: block; border-bottom: 1px solid #2A2A2D; padding: 14px 0; }
  .rpt-compare th, .rpt-compare td { display: block; border: 0; padding: 4px 0; width: auto; }
  .rpt-compare td:first-of-type::before { content: 'On your own: '; color: #9A9893; }
  .rpt-compare td:last-child { padding: 10px 12px; margin-top: 6px; }
  .rpt-compare td:last-child::before { content: 'At Raw: '; color: var(--rpt-red-text); font-weight: 700; }
}

/* Race calendar table */
.rpt-races td:last-child { background: transparent; border-left: 0; color: var(--rpt-red-text); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rpt-races tbody th { white-space: nowrap; }
@media (max-width: 640px) {
  .rpt-races td:first-of-type::before, .rpt-races td:last-child::before { content: none; }
  .rpt-races td:last-child { padding: 4px 0; margin: 0; }
}

/* Day pass booking */
.rpt-book__days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.rpt-book__day { position: relative; flex: none; cursor: pointer; }
.rpt-book__day input { position: absolute; opacity: 0; }
.rpt-book__day span { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 72px; padding: 12px 10px; border: 1px solid var(--rpt-input); background: var(--rpt-bg); border-radius: 2px; font-size: 14px; color: var(--rpt-muted); }
.rpt-book__day b { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--rpt-text); }
.rpt-book__day input:checked + span { border-color: var(--rpt-red); background: rgba(215, 38, 43, .16); color: var(--rpt-text); }
.rpt-book__day input:focus-visible + span { outline: 2px solid var(--rpt-red-text); outline-offset: 2px; }
.rpt-book__times[hidden] { display: none; }
.rpt-admin-note { background: #2A2410; border-left: 3px solid #E8A33D; padding: 10px 14px; color: #F2D9A6 !important; }

/* HYROX predictor */
.rpt-pred__times { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.rpt-pred__times input { text-align: center; font-weight: 600; font-size: 18px !important; }
.rpt-pred__out { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid #2A2A2D; padding-top: 24px; }
.rpt-pred__total { background: var(--rpt-red); color: #fff; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.rpt-pred__total .rpt-eyebrow { color: #fff; }
.rpt-pred__total strong { font-family: var(--rpt-display); font-weight: 400; font-size: clamp(64px, 10vw, 96px); line-height: 1; }
.rpt-pred__weak { background: var(--rpt-bg); border: 1px solid var(--rpt-line); border-left: 3px solid var(--rpt-red); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.rpt-pred__weak strong { font-family: var(--rpt-display); font-weight: 400; font-size: 36px; text-transform: uppercase; }
.rpt-pred__weak span:last-child { color: #D6D4CF; font-size: 16px; line-height: 1.5; }
.rpt-pred__bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rpt-pred__bars li { display: grid; grid-template-columns: 150px 1fr 64px; gap: 12px; align-items: center; font-size: 14px; }
.rpt-pred__bar { height: 10px; background: #2A2A2D; position: relative; }
.rpt-pred__bar i { position: absolute; inset: 0 auto 0 0; background: #7DDB95; }
.rpt-pred__bars li.is-behind .rpt-pred__bar i { background: var(--rpt-red-text); }
.rpt-pred__bars li span:last-child { text-align: right; font-weight: 700; color: #7DDB95; }
.rpt-pred__bars li.is-behind span:last-child { color: var(--rpt-red-text); }
.rpt-pred__lead { border-top: 1px solid #2A2A2D; padding-top: 24px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.rpt-pred__lead h3 { margin: 0 !important; }
@media (max-width: 480px) { .rpt-pred__bars li { grid-template-columns: 110px 1fr 56px; } }

/* Home page entrance screen */
@font-face { font-family: 'RPT Anton'; src: url('fonts/anton-latin-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
.rpt-intro { display: none; }
html.rpt-intro-open, html.rpt-intro-open body { overflow: hidden; }
html.rpt-intro-open .rpt-intro, .rpt-intro.is-leaving {
  display: block; position: fixed; inset: 0; z-index: 100000; overflow: hidden; background: #000;
  transform: translateY(0); transition: transform .9s cubic-bezier(.7, 0, .2, 1);
  height: 100vh; height: 100dvh;
}
.rpt-intro.is-leaving { transform: translateY(-100%); }
.rpt-intro__pic, .rpt-intro__img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rpt-intro__img { object-fit: cover; object-position: center 62%; transform: scale(1.06); transition: transform 2.4s ease-out; }
.rpt-intro.is-in .rpt-intro__img { transform: scale(1); }
.rpt-intro__inner { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: clamp(12px, 2vh, 22px); padding: 24px 20px calc(clamp(24px, 5vh, 48px) + env(safe-area-inset-bottom)); text-align: center; }
.rpt-intro__line { margin: 0; font-family: 'RPT Anton', 'Anton', Impact, sans-serif; font-weight: 400; font-size: clamp(44px, 11vw, 72px); line-height: 1.02; letter-spacing: .02em; color: #fff; text-transform: uppercase; text-shadow: 0 0 24px rgba(255, 40, 50, .7); opacity: 0; transform: translateY(14px); transition: opacity .7s ease .35s, transform .7s ease .35s; max-width: 900px; }
.rpt-intro__enter { font-family: 'Archivo', system-ui, sans-serif; font-size: clamp(15px, 1.6vw, 18px); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: #D7262B; border: 0; border-radius: 2px; padding: 20px 34px; min-height: 56px; cursor: pointer; box-shadow: 0 0 0 0 rgba(255, 74, 79, .6); animation: rpt-pulse 2.2s ease-out infinite 1.2s; opacity: 0; transition: opacity .6s ease .7s, background .2s; }
.rpt-intro__enter:hover { background: #B91C1C; }
.rpt-intro__enter:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.rpt-intro__hint { font: 600 12px 'Archivo', system-ui, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); opacity: 0; transition: opacity .6s ease 1s; }
.rpt-intro.is-in .rpt-intro__line, .rpt-intro.is-in .rpt-intro__enter, .rpt-intro.is-in .rpt-intro__hint { opacity: 1; transform: none; }
@keyframes rpt-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 74, 79, .6); } 70% { box-shadow: 0 0 0 18px rgba(255, 74, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 74, 79, 0); } }
@media (min-width: 900px) { .rpt-intro__hint { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .rpt-intro, .rpt-intro__img, .rpt-intro__line, .rpt-intro__enter, .rpt-intro__hint { transition: none !important; animation: none !important; }
}
.rpt-intro:focus { outline: none; }
@media (min-aspect-ratio: 2/1) {
  .rpt-intro__img { object-position: center 54%; }
  .rpt-intro__inner { left: auto; right: 4vw; align-items: flex-end; text-align: right; }
}

/* HYROX race comparison [raw_hyrox_compare] */
.rpt-cmp [hidden] { display: none !important; }
.rpt-cmp__head { display: flex; flex-direction: column; gap: 12px; }
.rpt-cmp__tools { display: flex; flex-wrap: wrap; gap: 10px; }
.rpt-cmp__msg:empty { display: none; }
.rpt-cmp__msg { margin: 0; font-size: 15px !important; color: #7DDB95 !important; }
.rpt-cmp__msg.is-bad { color: #FFB4B6 !important; }
.rpt-cmp__paste { background: var(--rpt-bg); border: 1px solid var(--rpt-line); padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.rpt-cmp__races { display: flex; flex-direction: column; gap: 14px; }
.rpt-cmp__race { border: 1px solid var(--rpt-line); background: var(--rpt-bg); min-width: 0; }
.rpt-cmp__race summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; position: relative; }
.rpt-cmp__race summary::-webkit-details-marker { display: none; }
.rpt-cmp__race summary::after { content: '+'; position: absolute; right: 20px; top: 18px; font-size: 22px; line-height: 1; color: var(--rpt-muted); }
.rpt-cmp__race[open] summary::after { content: '−'; }
.rpt-cmp__race summary:focus-visible { outline: 2px solid var(--rpt-red-text); outline-offset: -2px; }
.rpt-cmp__rnum { font-family: var(--rpt-display); font-size: 22px; text-transform: uppercase; color: var(--rpt-text); }
.rpt-cmp__sum { color: var(--rpt-muted); font-size: 15px; }
.rpt-cmp__race-body { padding: 4px 20px 20px; display: flex; flex-direction: column; gap: 16px; }
.rpt-cmp__race-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: 14px; align-items: end; }
.rpt-cmp__rm { background: transparent; border: 1px solid var(--rpt-input); color: var(--rpt-muted); font: 700 13px var(--rpt-body); letter-spacing: .08em; text-transform: uppercase; padding: 16px 14px; border-radius: 2px; cursor: pointer; }
.rpt-cmp__rm:hover, .rpt-cmp__rm:focus-visible { color: var(--rpt-text); border-color: var(--rpt-red-text); }
.rpt-cmp__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.rpt-cmp__times .rpt-field > span { font-size: 12px; letter-spacing: .06em; }
.rpt-cmp__times input { text-align: center; font-weight: 600; padding: 12px !important; }
.rpt-cmp__needtxt { background: var(--rpt-bg); border: 1px dashed var(--rpt-input); padding: 22px; font-size: 17px !important; color: var(--rpt-text) !important; }
.rpt-cmp__result { display: flex; flex-direction: column; gap: 18px; border-top: 1px solid #2A2A2D; padding-top: 24px; }
.rpt-cmp__hl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.rpt-cmp__card { background: var(--rpt-bg); border: 1px solid var(--rpt-line); border-left: 3px solid var(--rpt-input); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.rpt-cmp__card.is-faster { border-left-color: #7DDB95; }
.rpt-cmp__card.is-slower { border-left-color: var(--rpt-red-text); }
.rpt-cmp__card strong { font-family: var(--rpt-display); font-weight: 400; font-size: 32px; line-height: 1.05; text-transform: uppercase; }
.rpt-cmp__card span:last-child { color: #D6D4CF; font-size: 15px; line-height: 1.5; }
.rpt-cmp__mode { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.rpt-cmp__mode span { margin-right: 6px; color: var(--rpt-muted); }
.rpt-cmp__mode button { background: var(--rpt-bg); color: var(--rpt-text); border: 1px solid var(--rpt-input); border-radius: 999px; padding: 10px 16px; font: 700 13px var(--rpt-body); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.rpt-cmp__mode button[aria-pressed="true"] { border-color: var(--rpt-red); background: rgba(215, 38, 43, .16); }
.rpt-cmp__mode button:focus-visible, .rpt-cmp__scroll:focus-visible { outline: 2px solid var(--rpt-red-text); outline-offset: 2px; }
.rpt-cmp__scroll { overflow-x: auto; border: 1px solid var(--rpt-line); }
.rpt-cmp__table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.rpt-cmp__table th, .rpt-cmp__table td { padding: 12px 14px; border-bottom: 1px solid #2A2A2D; text-align: right; vertical-align: top; white-space: nowrap; }
.rpt-cmp__table th[scope="row"], .rpt-cmp__corner { text-align: left; font-weight: 700; position: sticky; left: 0; background: var(--rpt-surface); z-index: 1; }
.rpt-cmp__table thead th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--rpt-muted); background: var(--rpt-bg); }
.rpt-cmp__rn { display: block; color: var(--rpt-text); white-space: normal; min-width: 90px; }
.rpt-cmp__rd { display: block; font-weight: 400; letter-spacing: 0; text-transform: none; margin-top: 2px; }
.rpt-cmp__t { display: block; font-weight: 600; font-variant-numeric: tabular-nums; }
.rpt-cmp__d { display: block; font-size: 13px; font-weight: 700; margin-top: 2px; font-variant-numeric: tabular-nums; }
.rpt-cmp__d.is-faster { color: #7DDB95; }
.rpt-cmp__d.is-slower { color: var(--rpt-red-text); }
.rpt-cmp__d.is-same { color: var(--rpt-muted); }
.rpt-cmp__pct { display: block; font-size: 12px; color: var(--rpt-muted); }
.rpt-cmp__best { color: #F5C451; }
.rpt-cmp__table td.is-best { background: rgba(245, 196, 81, .06); }
.rpt-cmp__na { color: #5A5A5E; }
.rpt-cmp__chg { border-left: 1px solid var(--rpt-input); }
.rpt-cmp__total th, .rpt-cmp__total td { border-top: 2px solid var(--rpt-input); border-bottom: 0; font-size: 16px; }
.rpt-cmp__total .rpt-cmp__t { font-family: var(--rpt-display); font-weight: 400; font-size: 22px; }
@media (max-width: 640px) {
  .rpt-cmp__race-top { grid-template-columns: minmax(0, 1fr) auto; }
  .rpt-cmp__tools .rpt-btn { flex: 1 1 140px; justify-content: center; text-align: center; padding-left: 12px; padding-right: 12px; }
  .rpt-cmp__race-top .rpt-field:first-child { grid-column: 1 / -1; }
  .rpt-cmp__times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* [raw_address] */
.rpt-addr { display: flex; flex-direction: column; gap: 14px; font-family: var(--rpt-body); color: var(--rpt-text); }
.rpt-addr p { margin: 0; font-size: 17px; line-height: 1.6; color: #D6D4CF; }
.rpt-addr__now strong { font-family: var(--rpt-display); font-weight: 400; font-size: clamp(32px, 4vw, 48px); line-height: 1; text-transform: uppercase; color: var(--rpt-text); display: inline-block; margin-bottom: 6px; }
.rpt-addr__next { border-left: 3px solid var(--rpt-red); padding-left: 14px; display: flex; flex-direction: column; gap: 4px; }

/* Home hero with vertical video [raw_hero] */
.rpt-hero { container-type: inline-size; position: relative; overflow: hidden; background: var(--rpt-bg); color: var(--rpt-text); font-family: var(--rpt-body); border-bottom: 1px solid var(--rpt-line); }
.rpt-hero__bg { position: absolute; inset: -60px; background-position: center; background-size: cover; filter: blur(28px) brightness(.32) saturate(.8); }
.rpt-hero__glow { position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 50%, rgba(215, 38, 43, .22), transparent 70%); }
.rpt-hero__in { position: relative; max-width: 1280px; margin: 0 auto; padding: 88px 24px 112px; min-height: min(92vh, 900px); box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.rpt-hero__text { grid-column: 1; grid-row: 1; position: relative; z-index: 2; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.rpt-hero__eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--rpt-red-text); }
.rpt-hero__eyebrow span { width: 32px; height: 2px; background: var(--rpt-red); }
.rpt-hero__title { margin: 0 !important; font-family: var(--rpt-display); font-weight: 400; font-size: clamp(56px, 9vw, 128px); line-height: .92; text-transform: uppercase; color: var(--rpt-text); }
.rpt-hero__lead { margin: 0; max-width: 560px; font-size: 19px; line-height: 1.55; color: #D6D4CF; }
.rpt-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.rpt-hero__cta { font-size: 17px; padding: 20px 30px; }
.rpt-hero__media { grid-column: 2; grid-row: 1; position: relative; justify-self: end; width: min(390px, 100%); aspect-ratio: 9 / 16; background: #000; border: 1px solid var(--rpt-input); box-shadow: 0 40px 90px rgba(0, 0, 0, .65), 18px 18px 0 -1px rgba(215, 38, 43, .85); }
.rpt-hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rpt-hero__shade { display: none; }
.rpt-hero__tag { position: absolute; left: -1px; bottom: -1px; z-index: 2; background: var(--rpt-bg); border: 1px solid var(--rpt-input); padding: 8px 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #D6D4CF; }
.rpt-hero__pause { position: absolute; right: 10px; top: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(242, 240, 236, .5); background: rgba(11, 11, 12, .55); color: var(--rpt-text); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.rpt-hero__pause:focus-visible { outline: 2px solid var(--rpt-red-text); outline-offset: 2px; }
.rpt-hero__i-play, .rpt-hero.is-paused .rpt-hero__i-pause { display: none; }
.rpt-hero.is-paused .rpt-hero__i-play { display: block; }
@container (max-width: 900px) {
  .rpt-hero__bg, .rpt-hero__glow, .rpt-hero__tag { display: none; }
  .rpt-hero__in { display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(100svh - 80px); padding: 300px 16px 48px; }
  .rpt-hero__media { position: absolute; inset: 0; width: auto; aspect-ratio: auto; border: 0; box-shadow: none; justify-self: auto; }
  .rpt-hero__shade { display: block; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 12, .55) 0%, rgba(11, 11, 12, .2) 18%, rgba(11, 11, 12, .55) 34%, rgba(11, 11, 12, .88) 52%, rgba(11, 11, 12, .97) 100%); }
  .rpt-hero__text { text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
  .rpt-hero__pause { top: auto; bottom: 16px; right: 16px; }
}
