/* ==========================================================================
   Harissa Fit Club · Redline design system
   Served directly from public/css (same delivery as app.css; not built by Vite).
   layouts/app.blade.php loads it after app.css (components/redline/head.blade.php)
   and sets body class "redline". The "Legacy bridge" section at the end re-skins
   app.css components so pages not yet rebuilt still follow the tokens and themes.
   ========================================================================== */

/* ---------- Tokens (verbatim from the Redline hand-off tokens.css) ---------- */
:root {
  color-scheme: light;
  --hfc-page: #f7f4ef;
  --hfc-panel: #ffffff;
  --hfc-band: #ece7df;
  --hfc-ink: #191a1c;
  --hfc-muted: #54565b;
  --hfc-line: #d1ccc4;
  --hfc-control-border: #77736d;
  --hfc-action: #b02624;
  --hfc-action-hover: #901e1d;
  --hfc-on-action: #ffffff;
  --hfc-stripe: #f44336;
  --hfc-focus: #175fb4;
  --hfc-ok-bg: #e2f1e6;
  --hfc-ok-ink: #195133;
  --hfc-warn-bg: #fff0c7;
  --hfc-warn-ink: #674600;
  --hfc-error-bg: #fae6e4;
  --hfc-error-ink: #8f2020;
  --hfc-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --hfc-body: Inter, system-ui, sans-serif;
  --hfc-radius-control: 4px;
  --hfc-radius-card: 12px;
  --hfc-space-1: 4px;
  --hfc-space-2: 8px;
  --hfc-space-3: 12px;
  --hfc-space-4: 16px;
  --hfc-space-6: 24px;
  --hfc-space-8: 32px;
  --hfc-space-12: 48px;
  --hfc-space-16: 64px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --hfc-page: #101113;
  --hfc-panel: #1b1d20;
  --hfc-band: #282b2e;
  --hfc-ink: #faf6ed;
  --hfc-muted: #b8bcc1;
  --hfc-line: #3e4248;
  --hfc-control-border: #848b93;
  --hfc-action: #ff685b;
  --hfc-action-hover: #ff897e;
  --hfc-on-action: #171312;
  --hfc-stripe: #ff493c;
  --hfc-focus: #93c8ff;
  --hfc-ok-bg: #193326;
  --hfc-ok-ink: #abe8b9;
  --hfc-warn-bg: #392e19;
  --hfc-warn-ink: #f5d58e;
  --hfc-error-bg: #411f24;
  --hfc-error-ink: #ffb8b6;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --hfc-page: #101113;
    --hfc-panel: #1b1d20;
    --hfc-band: #282b2e;
    --hfc-ink: #faf6ed;
    --hfc-muted: #b8bcc1;
    --hfc-line: #3e4248;
    --hfc-control-border: #848b93;
    --hfc-action: #ff685b;
    --hfc-action-hover: #ff897e;
    --hfc-on-action: #171312;
    --hfc-stripe: #ff493c;
    --hfc-focus: #93c8ff;
    --hfc-ok-bg: #193326;
    --hfc-ok-ink: #abe8b9;
    --hfc-warn-bg: #392e19;
    --hfc-warn-ink: #f5d58e;
    --hfc-error-bg: #411f24;
    --hfc-error-ink: #ffb8b6;
  }
}

/* ---------- Layout constants ---------- */
:root {
  --rl-gutter: clamp(1rem, 5.5vw, 5.5rem);
  --rl-max: 1440px;
  --rl-ease: cubic-bezier(.2, .7, .2, 1);
}

/* Select chevron drawn in the ink color of each theme. */
:root {
  --rl-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23191a1c' stroke-width='2.5' stroke-linecap='square'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

:root[data-theme="dark"] {
  --rl-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23faf6ed' stroke-width='2.5' stroke-linecap='square'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --rl-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23faf6ed' stroke-width='2.5' stroke-linecap='square'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  }
}

/* ---------- Base ---------- */
body.redline {
  background: var(--hfc-page);
  color: var(--hfc-ink);
  font-family: var(--hfc-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* app.css sets height:100% and overflow-x:hidden on body, which turn it into a
     scroll container and stop the sticky header after one viewport. */
  height: auto;
  overflow-x: clip;
}

body.redline #main-content:focus {
  outline: none;
}

body.redline :focus-visible {
  outline: 2px solid var(--hfc-focus);
  outline-offset: 2px;
}

body.redline:has(.rl-drawer[open]) {
  overflow: hidden;
}

.rl-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rl-skip {
  position: absolute;
  top: 8px;
  left: var(--rl-gutter);
  z-index: 1100;
  padding: 12px 16px;
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-action);
  color: var(--hfc-on-action);
  font-weight: 600;
  transform: translateY(-200%);
}

.rl-skip:focus {
  transform: none;
}

.rl-wrap {
  width: 100%;
  max-width: var(--rl-max);
  margin-inline: auto;
  padding-inline: var(--rl-gutter);
}

.rl-icon {
  width: 1.125rem;
  height: 1.125rem;
  flex: none;
}

/* ---------- Buttons and links ---------- */
.rl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--hfc-radius-control);
  font: 600 1rem/1.2 var(--hfc-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}

.rl-btn:active {
  transform: translateY(1px);
}

.rl-btn--primary {
  background: var(--hfc-action);
  color: var(--hfc-on-action);
}

.rl-btn--primary:hover {
  background: var(--hfc-action-hover);
  color: var(--hfc-on-action);
}

.rl-btn--secondary {
  border-color: var(--hfc-control-border);
  background: transparent;
  color: var(--hfc-ink);
}

.rl-btn--secondary:hover {
  border-color: var(--hfc-ink);
  background: var(--hfc-band);
  color: var(--hfc-ink);
}

.rl-btn--lg {
  min-height: 56px;
  padding: 14px 28px;
  font-size: 1.125rem;
}

.rl-btn[disabled],
.rl-btn[aria-disabled="true"] {
  opacity: .6;
  cursor: progress;
  transform: none;
}

.rl-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--hfc-ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: color .15s;
}

.rl-link:hover {
  color: var(--hfc-action);
}

/* ---------- Eyebrows and headings ---------- */
.rl-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--hfc-ink);
  font: 600 .8125rem/1.2 var(--hfc-body);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rl-eyebrow--accent {
  color: var(--hfc-action);
}

.rl-slashes {
  width: 30px;
  height: 12px;
  flex: none;
  color: var(--hfc-stripe);
}

.rl-h2 {
  margin-top: 12px;
  color: var(--hfc-ink);
  font-family: var(--hfc-display);
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-style: italic;
  font-weight: 800;
  line-height: .95;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

/* ---------- Header ---------- */
.rl-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--hfc-line);
  background: var(--hfc-page);
}

.rl-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
}

.rl-brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-right: auto;
  color: var(--hfc-ink);
  text-decoration: none;
}

.rl-brand img {
  width: 56px;
  height: 56px;
}

.rl-brand__word {
  display: none;
  align-items: flex-end;
  gap: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--hfc-ink);
}

.rl-brand__name {
  font-family: var(--hfc-display);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 800;
  line-height: .88;
  text-transform: uppercase;
  white-space: nowrap;
}

.rl-brand__city {
  display: none;
  font: 600 .75rem/1 var(--hfc-body);
  letter-spacing: .24em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Header controls never wrap; breakpoints below drop pieces before space runs out. */
.rl-header__inner > :is(.rl-btn, .rl-menu-btn, .rl-theme) {
  flex-shrink: 0;
  white-space: nowrap;
}

.rl-nav {
  display: none;
}

.rl-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
}

.rl-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-bottom: 2px solid transparent;
  color: var(--hfc-ink);
  font-weight: 600;
  text-decoration: none;
  transition: color .15s, border-color .15s;
}

.rl-nav a:hover {
  color: var(--hfc-action);
}

.rl-nav a[aria-current="page"] {
  border-bottom-color: currentColor;
  color: var(--hfc-action);
}

.rl-theme {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--hfc-control-border);
  border-radius: var(--hfc-radius-control);
}

.rl-theme button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 38px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--hfc-ink);
  cursor: pointer;
  transition: background-color .15s, color .15s;
}

.rl-theme button:hover {
  background: var(--hfc-band);
}

.rl-theme button[aria-pressed="true"] {
  background: var(--hfc-action);
  color: var(--hfc-on-action);
}

.rl-header .rl-theme {
  display: none;
}

.rl-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--hfc-control-border);
  border-radius: var(--hfc-radius-control);
  background: transparent;
  color: var(--hfc-ink);
  font: 600 1rem/1 var(--hfc-body);
  cursor: pointer;
  transition: background-color .15s;
}

.rl-menu-btn:hover {
  background: var(--hfc-band);
}

/* Phones: logo, account action and menu only. */
@media (max-width: 33.99rem) {
  .rl-header__inner {
    gap: 8px;
  }

  .rl-header__inner > .rl-btn {
    padding-inline: 14px;
  }
}

/* Smallest phones: drop the decorative arrow so "Dashboard" still fits beside Menu. */
@media (max-width: 23.99rem) {
  .rl-header__inner > .rl-btn .rl-icon {
    display: none;
  }

  .rl-brand img {
    width: 48px;
    height: 48px;
  }
}

/* Room for the wordmark. */
@media (min-width: 34rem) {
  .rl-brand__word {
    display: flex;
  }
}

/* Room for the theme switch. */
@media (min-width: 48rem) {
  .rl-header .rl-theme {
    display: inline-flex;
  }
}

/* Room for the city tag. */
@media (min-width: 56rem) {
  .rl-brand__city {
    display: inline;
  }
}

@media (min-width: 66rem) {
  .rl-header__inner {
    gap: 16px;
    min-height: 88px;
  }

  .rl-nav {
    display: block;
  }
}

/* ---------- Drawer (native <dialog>) ---------- */
.rl-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(24rem, 100%);
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--hfc-line);
  background: var(--hfc-panel);
  color: var(--hfc-ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.rl-drawer::backdrop {
  background: rgb(10 10 12 / .55);
}

.rl-drawer__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 100%;
  padding: max(16px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
}

.rl-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rl-drawer__head img {
  width: 52px;
  height: 52px;
}

.rl-drawer__nav ul {
  display: grid;
  list-style: none;
}

.rl-drawer__nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 6px 0;
  border-bottom: 1px solid var(--hfc-line);
  color: var(--hfc-ink);
  font-family: var(--hfc-display);
  font-size: 1.625rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

.rl-drawer__nav a:hover,
.rl-drawer__nav a[aria-current="page"] {
  color: var(--hfc-action);
}

.rl-drawer__label {
  margin-bottom: 8px;
  color: var(--hfc-muted);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rl-drawer__actions {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.rl-drawer__actions form,
.rl-drawer__actions .rl-btn {
  width: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  .rl-drawer[open] {
    animation: rl-drawer-in .2s var(--rl-ease);
  }

  .rl-drawer[open]::backdrop {
    animation: rl-fade-in .2s ease;
  }
}

@keyframes rl-drawer-in {
  from {
    opacity: 0;
    transform: translateX(32px);
  }
}

@keyframes rl-fade-in {
  from {
    opacity: 0;
  }
}

/* ---------- Hero ---------- */
.rl-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  background: var(--hfc-page);
  container-type: inline-size;
}

/* The photo comes first in the source for the desktop layer; stacked layouts show it after the copy. */
.rl-hero__visual {
  order: 1;
}

.rl-hero__copy {
  position: relative;
  z-index: 2;
  padding-block: clamp(2rem, 7vw, 3.5rem) clamp(1.5rem, 5vw, 2.5rem);
}

.rl-hero__title {
  margin-top: 20px;
  color: var(--hfc-ink);
  font-family: var(--hfc-display);
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-style: italic;
  font-weight: 800;
  line-height: .93;
  letter-spacing: -.005em;
  text-transform: uppercase;
}

.rl-hero__title span {
  display: block;
}

.rl-hero__title .rl-accent {
  color: var(--hfc-action);
}

.rl-hero__lede {
  max-width: 24ch;
  margin-top: 24px;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 600;
  line-height: 1.35;
}

.rl-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 28px;
}

/* Mobile and narrow windows: copy, actions, then the photo with a shallow diagonal top edge. */
.rl-hero__visual {
  --rl-rise: clamp(1.5rem, 8vw, 4rem);
  position: relative;
}

.rl-hero__visual::before,
.rl-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--hfc-stripe);
  pointer-events: none;
}

.rl-hero__visual::before {
  clip-path: polygon(0 var(--rl-rise), 100% 0, 100% 10px, 0 calc(var(--rl-rise) + 10px));
}

.rl-hero__visual::after {
  clip-path: polygon(0 calc(var(--rl-rise) + 16px), 100% 16px, 100% 20px, 0 calc(var(--rl-rise) + 20px));
}

.rl-hero__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--hfc-band);
  clip-path: polygon(0 calc(var(--rl-rise) + 20px), 100% 20px, 100% 100%, 0 100%);
}

.rl-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--rl-focal, 50% 50%);
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.rl-hero__slide.is-active {
  opacity: 1;
}

/* Desktop: copy panel covers ~53% of the top edge and ~32% of the bottom edge,
   measured against the 1440px content frame so the copy never crosses the diagonal. */
@media (min-width: 60rem) {
  .rl-hero {
    flex-direction: row;
    align-items: center;
    min-height: clamp(34rem, 44vw, 46rem);
  }

  .rl-hero__copy {
    padding-block: 3.5rem;
  }

  .rl-hero__visual {
    --rl-inner: min(100cqw, var(--rl-max));
    --rl-edge: max((100cqw - var(--rl-max)) / 2, 0px);
    --rl-run: calc(var(--rl-inner) * .21);
    --rl-s: 20px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: calc(var(--rl-edge) + var(--rl-inner) * .32 - var(--rl-s));
    z-index: 0;
  }

  .rl-hero__visual::before {
    clip-path: polygon(var(--rl-run) 0, calc(var(--rl-run) + 10px) 0, 10px 100%, 0 100%);
  }

  .rl-hero__visual::after {
    clip-path: polygon(calc(var(--rl-run) + 16px) 0, calc(var(--rl-run) + 20px) 0, 20px 100%, 16px 100%);
  }

  .rl-hero__media {
    position: absolute;
    inset: 0 0 0 var(--rl-s);
    aspect-ratio: auto;
    clip-path: polygon(var(--rl-run) 0, 100% 0, 100% 100%, 0 100%);
  }
}

@media (min-width: 60rem) and (prefers-reduced-motion: no-preference) {
  .rl-hero__media {
    animation: rl-reveal .35s var(--rl-ease) both;
  }
}

@keyframes rl-reveal {
  from {
    clip-path: polygon(calc(var(--rl-run) + 30%) 0, 100% 0, 100% 100%, 30% 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rl-hero__slide {
    transition: none;
  }
}

/* ---------- Strip under the hero ---------- */
.rl-band {
  border-block: 1px solid var(--hfc-line);
  background: var(--hfc-band);
}

.rl-band ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 28px;
  padding-block: 18px;
  list-style: none;
}

.rl-band li {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--hfc-display);
  font-size: clamp(1.25rem, 2.4vw, 2.125rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.rl-band li + li::before,
.rl-band li:last-child::after {
  content: "";
  width: .7em;
  height: .7em;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 2v20M2 12h20M4.9 4.9l14.2 14.2M19.1 4.9 4.9 19.1'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 2v20M2 12h20M4.9 4.9l14.2 14.2M19.1 4.9 4.9 19.1'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rl-band__track > ul[aria-hidden="true"],
.rl-band li:last-child::after {
  display: none;
}

@media (max-width: 39.99rem) {
  .rl-band {
    overflow: hidden;
  }

  .rl-band__track {
    display: flex;
    width: max-content;
  }

  .rl-band ul,
  .rl-band__track > ul[aria-hidden="true"] {
    display: flex;
    flex: none;
    flex-wrap: nowrap;
    width: max-content;
    max-width: none;
    margin: 0;
    padding-inline: 0;
    justify-content: flex-start;
  }

  .rl-band li {
    white-space: nowrap;
  }

  .rl-band li:last-child::after {
    display: block;
    margin-right: 28px;
  }
}

@media (max-width: 39.99rem) and (prefers-reduced-motion: no-preference) {
  .rl-band__track {
    animation: rl-band-roll 14s linear infinite;
  }
}

@keyframes rl-band-roll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */
.rl-section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.rl-section--band {
  background: var(--hfc-band);
}

.rl-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.rl-section__head > div {
  min-width: 0;
}

.rl-section__intro {
  max-width: 60ch;
  margin-top: 12px;
  color: var(--hfc-muted);
}

.rl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr));
  gap: 24px;
}

/* Short sets (trainers, testimonials) share the row instead of leaving empty tracks. */
.rl-grid--fit {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
}

/* ---------- About ---------- */
.rl-about {
  display: grid;
  align-items: center;
  gap: 40px;
}

.rl-about__text p {
  max-width: 62ch;
  margin-top: 16px;
  color: var(--hfc-muted);
}

.rl-about__logo img {
  width: min(100%, 380px);
  margin-inline: auto;
}

.rl-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  margin-top: 32px;
}

.rl-stats > div {
  display: flex;
  flex-direction: column-reverse;
}

.rl-stats dd {
  color: var(--hfc-action);
  font-family: var(--hfc-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.rl-stats dt {
  margin-top: 4px;
  color: var(--hfc-muted);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (min-width: 52rem) {
  .rl-about {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    gap: 64px;
  }
}

/* ---------- Event summary ---------- */
.rl-event {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hfc-line);
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-panel);
}

.rl-event__media {
  aspect-ratio: 16 / 10;
  background: var(--hfc-band);
}

.rl-event__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rl-event__media--fallback img {
  padding: 12%;
  object-fit: contain;
}

.rl-event__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
}

.rl-event__when {
  color: var(--hfc-action);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.rl-event__title {
  color: var(--hfc-ink);
  font-family: var(--hfc-display);
  font-size: clamp(1.5rem, 2vw, 1.75rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.rl-event__venue {
  color: var(--hfc-muted);
  font-size: .875rem;
  overflow-wrap: anywhere;
}

.rl-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--hfc-line);
}

.rl-facts dt {
  color: var(--hfc-muted);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rl-facts dd {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.rl-event__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-top: 8px;
}

.rl-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--hfc-radius-control);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.3;
}

.rl-status--ok {
  background: var(--hfc-ok-bg);
  color: var(--hfc-ok-ink);
}

.rl-status--warn {
  background: var(--hfc-warn-bg);
  color: var(--hfc-warn-ink);
}

.rl-status--error {
  background: var(--hfc-error-bg);
  color: var(--hfc-error-ink);
}

.rl-empty {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px dashed var(--hfc-control-border);
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-panel);
}

.rl-empty__title {
  font-family: var(--hfc-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.rl-empty p + p {
  max-width: 60ch;
  margin-top: 8px;
  color: var(--hfc-muted);
}

.rl-empty__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 20px;
}

/* ---------- Trainers ---------- */
.rl-trainer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 28px 20px;
  border: 1px solid var(--hfc-line);
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-panel);
  text-align: center;
  transition: border-color .15s;
}

.rl-trainer:hover {
  border-color: var(--hfc-control-border);
}

.rl-trainer:has(a:focus-visible) {
  outline: 2px solid var(--hfc-focus);
  outline-offset: 2px;
}

@supports selector(:has(*)) {
  .rl-trainer a:focus-visible {
    outline: none;
  }
}

.rl-trainer__photo {
  width: 144px;
  height: 144px;
  border: 3px solid var(--hfc-action);
  border-radius: 50%;
  object-fit: cover;
}

.rl-trainer__name {
  font-family: var(--hfc-display);
  font-size: 1.75rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.rl-trainer__name a {
  color: var(--hfc-ink);
  text-decoration: none;
}

.rl-trainer__name a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.rl-trainer:hover .rl-trainer__name a {
  color: var(--hfc-action);
}

.rl-trainer__motto {
  color: var(--hfc-muted);
  font-style: italic;
}

.rl-trainer__tags {
  color: var(--hfc-muted);
  font-size: .875rem;
  font-weight: 600;
}

/* ---------- Studio schedule ---------- */
.rl-agenda {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 34rem), 1fr));
  column-gap: 48px;
  list-style: none;
}

.rl-agenda__row {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  align-items: center;
  gap: 4px 20px;
  padding-block: 16px;
  border-bottom: 1px solid var(--hfc-line);
}

.rl-agenda__when {
  font-variant-numeric: tabular-nums;
}

.rl-agenda__date {
  display: block;
  color: var(--hfc-action);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.rl-agenda__time {
  display: block;
  font-family: var(--hfc-display);
  font-size: 1.75rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.rl-agenda__title {
  font-family: var(--hfc-display);
  font-size: 1.375rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.rl-agenda__meta {
  color: var(--hfc-muted);
  font-size: .875rem;
  overflow-wrap: anywhere;
}

.rl-agenda__book {
  grid-column: 2;
}

@media (min-width: 40rem) {
  .rl-agenda__row {
    grid-template-columns: 6.5rem minmax(0, 1fr) auto;
  }

  .rl-agenda__book {
    grid-column: auto;
  }
}

.rl-note {
  margin-top: 20px;
  color: var(--hfc-muted);
  font-size: .875rem;
}

/* ---------- Testimonials ---------- */
.rl-quote {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--hfc-line);
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-panel);
}

.rl-quote__mark {
  height: 28px;
  color: var(--hfc-action);
  font-family: var(--hfc-display);
  font-size: 4.5rem;
  font-style: italic;
  font-weight: 800;
  line-height: .8;
}

.rl-quote blockquote {
  font-size: 1.0625rem;
  line-height: 1.55;
}

.rl-quote__rating {
  color: var(--hfc-action);
  letter-spacing: 2px;
}

.rl-quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--hfc-line);
}

.rl-quote figcaption img {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}

.rl-quote__name {
  display: block;
  font-weight: 700;
}

.rl-quote__role {
  display: block;
  color: var(--hfc-muted);
  font-size: .875rem;
}

/* ---------- Newsletter ---------- */
.rl-newsletter {
  display: grid;
  align-items: end;
  gap: 28px 64px;
}

.rl-field label {
  display: block;
  margin-bottom: 8px;
  font-size: .875rem;
  font-weight: 600;
}

.rl-field__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rl-input {
  flex: 1 1 14rem;
  min-width: 0;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--hfc-control-border);
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-panel);
  color: var(--hfc-ink);
  font: inherit;
}

/* ---------- Redline select listbox (public/js/redline.js) ---------- */
.rl-combo {
  position: relative;
  min-width: 0;
}

.rl-combo__native {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.rl-select.rl-combo__button {
  display: flex;
  align-items: center;
  user-select: none;
}

.rl-combo.is-open .rl-select.rl-combo__button {
  border-color: var(--hfc-ink);
}

.rl-combo__value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rl-combo__list {
  position: fixed;
  z-index: 1200;
  margin: 0;
  padding: 4px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--hfc-control-border);
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-panel);
  color: var(--hfc-ink);
  box-shadow: 0 14px 36px rgb(0 0 0 / .18);
  font-family: var(--hfc-body);
  list-style: none;
}

.rl-combo__list::before {
  content: "";
  position: sticky;
  top: -4px;
  display: block;
  height: 3px;
  margin: -4px -4px 4px;
  background: var(--hfc-stripe);
}

.rl-combo__list--up::before {
  display: none;
}

.rl-combo__option {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px 8px 36px;
  border-radius: 2px;
  color: var(--hfc-ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
}

.rl-combo__option.is-active {
  background: var(--hfc-band);
}

.rl-combo__option[aria-selected="true"] {
  color: var(--hfc-action);
}

.rl-combo__option[aria-selected="true"]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 13px;
  width: 11px;
  height: 6px;
  margin-top: -5px;
  border-bottom: 2.5px solid currentColor;
  border-left: 2.5px solid currentColor;
  transform: rotate(-45deg);
}

.rl-combo__option[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: no-preference) {
  .rl-combo__list:not([hidden]) {
    animation: rl-fade-in .12s ease;
  }
}

@media (forced-colors: active) {
  .rl-combo__option.is-active {
    outline: 2px solid Highlight;
  }
}

.rl-label {
  display: block;
  margin-bottom: 6px;
  color: var(--hfc-ink);
  font-size: .875rem;
  font-weight: 600;
}

/* The one dropdown style. Applies to .rl-select anywhere redline.css is loaded, and to
   legacy .form-select / bare <select> elements on Redline pages. */
.rl-select,
:where(body.redline) :is(.form-select, select:not([multiple])) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 44px 10px 14px;
  border: 1px solid var(--hfc-control-border);
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-panel) var(--rl-chevron) no-repeat right 14px center / 16px 16px;
  color: var(--hfc-ink);
  font: 600 1rem/1.3 var(--hfc-body);
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .15s, box-shadow .15s;
}

.rl-select:hover,
:where(body.redline) :is(.form-select, select:not([multiple])):hover {
  border-color: var(--hfc-ink);
}

/* A filter that differs from its default stays visibly selected. */
.rl-select.is-set {
  border-color: var(--hfc-action);
  box-shadow: inset 0 0 0 1px var(--hfc-action);
}

.rl-select option,
:where(body.redline) :is(.form-select, select:not([multiple])) option {
  background: var(--hfc-panel);
  color: var(--hfc-ink);
}

.rl-select:disabled,
:where(body.redline) :is(.form-select, select:not([multiple])):disabled {
  opacity: .6;
  cursor: not-allowed;
}

.rl-input::placeholder {
  color: var(--hfc-muted);
}

.rl-input[aria-invalid="true"] {
  border-color: var(--hfc-error-ink);
}

.rl-field__row .rl-btn {
  min-height: 48px;
}

.rl-field__hint {
  margin-top: 8px;
  color: var(--hfc-muted);
  font-size: .875rem;
}

.rl-field__error {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-error-bg);
  color: var(--hfc-error-ink);
  font-size: .875rem;
  font-weight: 600;
}

@media (min-width: 56rem) {
  .rl-newsletter {
    grid-template-columns: minmax(0, 1fr) minmax(0, 30rem);
  }
}

/* ---------- Page header (inner public pages) ---------- */
.rl-page-head {
  --rl-stripes-w: clamp(5rem, 16vw, 15rem);
  position: relative;
  overflow: clip;
  border-bottom: 1px solid var(--hfc-line);
  background: var(--hfc-page);
}

.rl-page-head::before,
.rl-page-head::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(max((100% - var(--rl-max)) / 2, 0px) + var(--rl-gutter));
  width: var(--rl-stripes-w);
  background: var(--hfc-stripe);
  pointer-events: none;
}

.rl-page-head::before {
  clip-path: polygon(calc(100% - 12px) 0, 100% 0, 12px 100%, 0 100%);
}

.rl-page-head::after {
  transform: translateX(20px);
  clip-path: polygon(calc(100% - 4px) 0, 100% 0, 4px 100%, 0 100%);
}

.rl-page-head__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.rl-page-head__title {
  max-width: 18ch;
  margin-top: 16px;
  color: var(--hfc-ink);
  font-family: var(--hfc-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-style: italic;
  font-weight: 800;
  line-height: .93;
  letter-spacing: -.005em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.rl-page-head__title--md {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: .97;
  text-transform: none;
}

.rl-page-head__intro {
  max-width: 60ch;
  margin-top: 20px;
  color: var(--hfc-muted);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
}

.rl-page-head__extra {
  margin-top: 24px;
}

.rl-page-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 20px;
  color: var(--hfc-muted);
  font-size: .9375rem;
  font-weight: 600;
}

@media (max-width: 39.99rem) {
  .rl-page-head::before,
  .rl-page-head::after {
    display: none;
  }
}

@media (min-width: 40rem) {
  .rl-page-head__inner {
    padding-right: calc(var(--rl-gutter) + var(--rl-stripes-w) + 1rem);
  }
}

/* Long-form reading (legal, articles, FAQ answers). */
.rl-prose {
  max-width: 72ch;
  color: var(--hfc-ink);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.rl-prose > * + * {
  margin-top: 1em;
}

.rl-prose :is(h2, h3) {
  margin-top: 1.8em;
  text-transform: none;
}

.rl-prose h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.rl-prose h3 {
  font-size: clamp(1.375rem, 2.2vw, 1.625rem);
}

.rl-prose :is(ul, ol) {
  padding-left: 1.4em;
}

.rl-prose li + li {
  margin-top: .4em;
}

.rl-prose a {
  color: var(--hfc-action);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rl-prose img {
  height: auto;
  border-radius: var(--hfc-radius-control);
}

.rl-prose blockquote {
  padding-left: 1em;
  border-left: 4px solid var(--hfc-stripe);
  color: var(--hfc-muted);
}

/* ---------- Event card extras, filters, pagination ---------- */
.rl-event__media {
  position: relative;
}

.rl-event__flag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-warn-bg);
  color: var(--hfc-warn-ink);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.rl-event__tags {
  color: var(--hfc-ink);
  font-size: .8125rem;
  font-weight: 600;
}

.rl-facts__alert {
  color: var(--hfc-error-ink);
}

.rl-filters-bar {
  border-bottom: 1px solid var(--hfc-line);
  background: var(--hfc-page);
}

.rl-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  align-items: end;
  gap: 16px 20px;
  padding-block: 24px;
}

.rl-filters__field {
  min-width: 0;
}

.rl-filters__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.rl-filters__actions .rl-btn {
  min-height: 48px;
}

.rl-pagination {
  margin-top: clamp(2rem, 4vw, 3rem);
}

/* ---------- Detail pages: split header, aside layout, panels ---------- */
.rl-split-head {
  border-bottom: 1px solid var(--hfc-line);
  background: var(--hfc-page);
  overflow: clip;
}

.rl-split-head__grid {
  display: grid;
  align-items: center;
  gap: 32px;
  padding-block: clamp(2rem, 5vw, 4rem);
}

.rl-split-head__copy {
  min-width: 0;
}

.rl-split-head__title {
  margin-top: 16px;
  color: var(--hfc-ink);
  font-family: var(--hfc-display);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-style: italic;
  font-weight: 800;
  line-height: .95;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.rl-split-head__tags {
  margin-top: 16px;
}

.rl-split-head__media {
  position: relative;
  aspect-ratio: 16 / 10;
}

.rl-split-head__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hfc-stripe);
  clip-path: polygon(14% 0, calc(14% + 12px) 0, 12px 100%, 0 100%);
}

.rl-split-head__media img {
  position: absolute;
  inset: 0 0 0 20px;
  width: calc(100% - 20px);
  height: 100%;
  object-fit: cover;
  object-position: var(--rl-focal, 50% 40%);
  background: var(--hfc-band);
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

.rl-split-head__media--fallback img {
  padding: 8% 8% 8% 18%;
  object-fit: contain;
}

.rl-split-head__media--round {
  aspect-ratio: 1;
  max-width: 26rem;
  justify-self: center;
}

.rl-split-head__media--round::before {
  display: none;
}

.rl-split-head__media--round img {
  inset: 0;
  width: 100%;
  border: 4px solid var(--hfc-action);
  border-radius: 50%;
  clip-path: none;
}

@media (min-width: 60rem) {
  .rl-split-head__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 56px;
  }

  .rl-split-head__media {
    aspect-ratio: 4 / 3.4;
  }
}

.rl-keyfacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: 16px 24px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--hfc-line);
}

.rl-keyfacts dt {
  color: var(--hfc-muted);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.rl-keyfacts dd {
  margin-top: 2px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.rl-layout-aside {
  display: grid;
  align-items: start;
  gap: 40px;
}

@media (min-width: 64rem) {
  .rl-layout-aside {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
    gap: 56px;
  }
}

.rl-stack {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  min-width: 0;
}

.rl-h3 {
  margin-bottom: 16px;
  color: var(--hfc-ink);
  font-family: var(--hfc-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rl-panel {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--hfc-line);
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-panel);
}

@media (min-width: 64rem) {
  .rl-panel--sticky {
    position: sticky;
    top: 104px;
  }
}

.rl-aside {
  min-width: 0;
}

.rl-checklist {
  display: grid;
  gap: 10px;
  list-style: none;
}

.rl-checklist li {
  position: relative;
  padding-left: 28px;
}

.rl-checklist li::before {
  content: "";
  position: absolute;
  top: .3em;
  left: 0;
  width: 16px;
  height: 9px;
  border-bottom: 3px solid var(--hfc-ok-ink);
  border-left: 3px solid var(--hfc-ok-ink);
  transform: rotate(-45deg);
}

.rl-host-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: 16px;
}

.rl-host {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 14px;
  border: 1px solid var(--hfc-line);
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-panel);
  color: var(--hfc-ink);
  text-decoration: none;
  transition: border-color .15s;
}

.rl-host:hover {
  border-color: var(--hfc-control-border);
}

.rl-host img {
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}

.rl-host__name {
  display: block;
  font-family: var(--hfc-display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.rl-host__meta {
  display: block;
  margin-top: 4px;
  color: var(--hfc-muted);
  font-size: .875rem;
}

.rl-location {
  margin-bottom: 12px;
  font-weight: 600;
}

.rl-row-between {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.rl-row-between .rl-h3 {
  margin-bottom: 0;
}

.rl-summary {
  display: grid;
  gap: 4px;
  margin-bottom: 20px;
  padding: 16px;
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-band);
}

.rl-summary > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.rl-summary dt {
  color: var(--hfc-muted);
  font-size: .875rem;
  font-weight: 600;
}

.rl-summary dd {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.rl-summary > div:first-child dd {
  font-family: var(--hfc-display);
  font-size: 1.75rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
}

.rl-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
}

.rl-disclosure {
  margin-bottom: 20px;
}

.rl-disclosure summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--hfc-ink);
  font-weight: 600;
  cursor: pointer;
}

.rl-disclosure[open] summary {
  margin-bottom: 8px;
}

.rl-input--code {
  letter-spacing: .06em;
  text-transform: uppercase;
}

.rl-booking-actions {
  display: grid;
  gap: 12px;
}

.rl-btn--block {
  width: 100%;
}

.rl-notice {
  padding: 12px 14px;
  border: 1px solid var(--hfc-line);
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-band);
  color: var(--hfc-ink);
  font-weight: 600;
}

.rl-notice--ok {
  border-color: currentColor;
  background: var(--hfc-ok-bg);
  color: var(--hfc-ok-ink);
}

.rl-notice--warn {
  border-color: currentColor;
  background: var(--hfc-warn-bg);
  color: var(--hfc-warn-ink);
}

.rl-notice--error {
  border-color: currentColor;
  background: var(--hfc-error-bg);
  color: var(--hfc-error-ink);
}

.rl-hint {
  color: var(--hfc-muted);
  font-size: .875rem;
}

.rl-participants {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--hfc-line);
}

.rl-participants__title {
  margin-bottom: 12px;
  font-family: var(--hfc-body);
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  text-transform: none;
}

.rl-participants ul {
  display: grid;
  gap: 8px;
  max-height: 300px;
  overflow-y: auto;
  list-style: none;
}

.rl-participants li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: .875rem;
  font-weight: 600;
}

.rl-avatar {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--hfc-action);
  color: var(--hfc-on-action);
  font-weight: 700;
}

.rl-truncate {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rl-share {
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* ---------- Trainers, CTA rows, past events ---------- */
.rl-trainer__photo--lg {
  width: 180px;
  height: 180px;
  border-width: 4px;
}

.rl-trainer__bio {
  color: var(--hfc-muted);
  font-size: .9375rem;
}

.rl-trainer__count {
  color: var(--hfc-ink);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.rl-trainer__actions {
  display: grid;
  justify-items: center;
  gap: 4px;
  width: 100%;
  margin-top: auto;
  padding-top: 8px;
}

.rl-trainer__secondary {
  position: relative;
  z-index: 1;
}

.rl-trainer--detailed {
  padding-bottom: 20px;
}

.rl-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
}

.rl-cta > div {
  min-width: 0;
  max-width: 48rem;
}

.rl-motto {
  font-style: italic;
}

.rl-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 28px;
}

.rl-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  list-style: none;
}

.rl-social a {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hfc-control-border);
  border-radius: var(--hfc-radius-control);
  color: var(--hfc-ink);
  font-size: 1.125rem;
  transition: background-color .15s, color .15s;
}

.rl-social a:hover {
  background: var(--hfc-action);
  color: var(--hfc-on-action);
}

.rl-panel__divider {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--hfc-line);
}

.rl-past-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 16px;
  list-style: none;
}

.rl-past {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--hfc-line);
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-panel);
}

.rl-past img {
  width: 72px;
  height: 56px;
  flex: none;
  border-radius: 2px;
  object-fit: cover;
}

.rl-past > div {
  min-width: 0;
}

.rl-past__title {
  color: var(--hfc-ink);
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.rl-past__title:hover {
  color: var(--hfc-action);
}

/* ---------- Articles and info pages ---------- */
.rl-backlink {
  margin-bottom: 12px;
  text-decoration: none;
}

.rl-split-head__title--article {
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  text-transform: none;
}

.rl-lede {
  max-width: 72ch;
  margin-bottom: 2rem;
  padding-left: 1.25rem;
  border-left: 4px solid var(--hfc-stripe);
  color: var(--hfc-muted);
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  line-height: 1.55;
}

.rl-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--hfc-line);
}

.rl-tags__label {
  margin-right: 8px;
  color: var(--hfc-ink);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.rl-share-row {
  margin-bottom: 0;
}

.rl-share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rl-share-links :is(a, button) {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hfc-control-border);
  border-radius: var(--hfc-radius-control);
  background: transparent;
  color: var(--hfc-ink);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}

.rl-share-links :is(a, button):hover,
.rl-share-links .is-copied {
  background: var(--hfc-action);
  color: var(--hfc-on-action);
}

.rl-author {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.rl-author > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.rl-author__name {
  font-family: var(--hfc-display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.rl-avatar--lg {
  width: 64px;
  height: 64px;
  font-size: 1.5rem;
}

.rl-stack--tight {
  gap: 32px;
}

.rl-past-grid--stack {
  grid-template-columns: 1fr;
}

.rl-linklist {
  display: grid;
  list-style: none;
}

.rl-linklist a {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid var(--hfc-line);
  color: var(--hfc-ink);
  font-weight: 600;
}

.rl-linklist a:hover,
.rl-linklist a[aria-current="page"] {
  color: var(--hfc-action);
}

.rl-mt {
  margin-top: 16px;
}

.rl-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 20px;
}

.rl-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--hfc-line);
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-panel);
}

.rl-card__icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-action);
  color: var(--hfc-on-action);
  font-size: 1.25rem;
}

.rl-card__title {
  font-family: var(--hfc-display);
  font-size: 1.625rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1.02;
  text-transform: uppercase;
}

.rl-card p {
  color: var(--hfc-muted);
}

.rl-faq {
  display: grid;
  max-width: 56rem;
  border-top: 1px solid var(--hfc-line);
}

.rl-faq details {
  border-bottom: 1px solid var(--hfc-line);
}

.rl-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding-block: 14px;
  color: var(--hfc-ink);
  font-size: 1.0625rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.rl-faq summary::-webkit-details-marker {
  display: none;
}

.rl-faq summary::after {
  content: "+";
  flex: none;
  color: var(--hfc-action);
  font-family: var(--hfc-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.rl-faq details[open] summary::after {
  content: "–";
}

.rl-faq__answer {
  max-width: 70ch;
  padding-bottom: 20px;
  color: var(--hfc-muted);
}

.rl-faq__group + .rl-faq__group {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.rl-card__emoji {
  font-size: 2.5rem;
  line-height: 1;
}

.rl-levels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
  gap: 12px;
  margin-top: 24px;
}

.rl-levels > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px;
  border: 1px solid var(--hfc-line);
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-panel);
}

.rl-levels dt {
  font-family: var(--hfc-display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
}

.rl-levels dd {
  color: var(--hfc-muted);
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}

.rl-contact-list {
  display: grid;
  gap: 14px;
}

.rl-contact-list dt {
  color: var(--hfc-muted);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.rl-contact-list a {
  color: var(--hfc-action);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.rl-center-page {
  display: grid;
  align-items: center;
  min-height: min(48rem, 80svh);
}

.rl-narrow-panel {
  display: grid;
  gap: 12px;
  max-width: 32rem;
  margin-inline: auto;
}

.rl-break {
  overflow-wrap: anywhere;
}

/* ---------- Event checkout / cart (events/partials/checkout) ---------- */
@media (min-width: 64rem) {
  .rl-layout-aside--checkout {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 28rem);
  }
}

.rl-checkout-event {
  display: grid;
  gap: 20px;
  padding: 0;
  overflow: hidden;
}

.rl-checkout-event__media {
  aspect-ratio: 16 / 9;
  background: var(--hfc-band);
}

.rl-checkout-event__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rl-checkout-event__media--fallback img {
  padding: 10%;
  object-fit: contain;
}

.rl-checkout-event__body {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 0 clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 1.75rem);
}

.rl-checkout-event__body .rl-h3 {
  margin-bottom: 0;
  text-transform: none;
}

.rl-checkout-event__body .rl-keyfacts {
  width: 100%;
}

.rl-check {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--hfc-line);
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-band);
  color: var(--hfc-ink);
}

.rl-check label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9375rem;
  line-height: 1.45;
  cursor: pointer;
}

.rl-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 1px;
  accent-color: var(--hfc-action);
  cursor: pointer;
}

.rl-check a {
  color: var(--hfc-action);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rl-check .rl-field__error {
  margin: 10px 0 0;
}

.rl-pay {
  margin-top: 16px;
}

.rl-pay__title {
  margin-bottom: 8px;
  color: var(--hfc-ink);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.rl-pay-note {
  margin-top: 12px;
  text-align: center;
}

.rl-pay-mock {
  margin-top: 12px;
  border-style: dashed;
}

#zero-amount-checkout {
  margin-top: 16px;
}

.rl-success__mark {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--hfc-ok-bg);
}

.rl-success__mark::before {
  content: "";
  position: absolute;
  inset: 14px;
  background: var(--hfc-ok-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='square'%3E%3Cpath d='m5 12 5 5L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='square'%3E%3Cpath d='m5 12 5 5L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rl-success__title {
  font-family: var(--hfc-display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.rl-keyfacts--compact {
  margin-top: 8px;
  padding-top: 10px;
}

/* ---------- Toasts (components/redline/toasts + window.showToast) ---------- */
.rl-toasts {
  position: fixed;
  top: 84px;
  right: 16px;
  left: 16px;
  z-index: 1150;
  display: grid;
  justify-items: end;
  gap: 10px;
  pointer-events: none;
}

.rl-toasts:empty {
  display: none;
}

.rl-toast {
  --rl-toast-tone: var(--hfc-ink);
  --rl-toast-tone-bg: var(--hfc-band);
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  width: min(100%, 26rem);
  padding: 14px 6px 16px 14px;
  overflow: hidden;
  border: 1px solid var(--hfc-line);
  border-left: 4px solid var(--rl-toast-tone);
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-panel);
  color: var(--hfc-ink);
  box-shadow: 0 14px 36px rgb(0 0 0 / .18);
  font-family: var(--hfc-body);
  pointer-events: auto;
}

.rl-toast--ok {
  --rl-toast-tone: var(--hfc-ok-ink);
  --rl-toast-tone-bg: var(--hfc-ok-bg);
}

.rl-toast--error {
  --rl-toast-tone: var(--hfc-error-ink);
  --rl-toast-tone-bg: var(--hfc-error-bg);
}

.rl-toast--warn {
  --rl-toast-tone: var(--hfc-warn-ink);
  --rl-toast-tone-bg: var(--hfc-warn-bg);
}

.rl-toast--info {
  --rl-toast-tone: var(--hfc-focus);
  --rl-toast-tone-bg: var(--hfc-band);
}

.rl-toast__icon {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--rl-toast-tone-bg);
}

.rl-toast__icon::before {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--rl-toast-tone);
  -webkit-mask: var(--rl-toast-glyph) center / contain no-repeat;
  mask: var(--rl-toast-glyph) center / contain no-repeat;
}

.rl-toast--ok .rl-toast__icon {
  --rl-toast-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='square'%3E%3Cpath d='m5 12 5 5L19 7'/%3E%3C/svg%3E");
}

.rl-toast--error .rl-toast__icon,
.rl-toast--warn .rl-toast__icon {
  --rl-toast-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='square'%3E%3Cpath d='M12 4v10M12 19v1'/%3E%3C/svg%3E");
}

.rl-toast--info .rl-toast__icon {
  --rl-toast-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='square'%3E%3Cpath d='M12 10v10M12 4v1'/%3E%3C/svg%3E");
}

.rl-toast__body {
  min-width: 0;
  padding-top: 2px;
}

.rl-toast__label {
  color: var(--rl-toast-tone);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.rl-toast__message {
  margin-top: 3px;
  color: var(--hfc-ink);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.rl-toast__close {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -10px 0 -10px;
  border: 0;
  border-radius: var(--hfc-radius-control);
  background: transparent;
  color: var(--hfc-muted);
  cursor: pointer;
  transition: background-color .15s, color .15s;
}

.rl-toast__close:hover {
  background: var(--hfc-band);
  color: var(--hfc-ink);
}

.rl-toast__timer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--rl-toast-tone);
  transform-origin: left center;
  opacity: .55;
}

.rl-toast[data-autohide="true"] .rl-toast__timer {
  animation: rl-toast-timer var(--rl-toast-duration, 6000ms) linear forwards;
}

.rl-toast[data-autohide="false"] .rl-toast__timer {
  display: none;
}

.rl-toast.is-paused .rl-toast__timer {
  animation-play-state: paused;
}

@keyframes rl-toast-timer {
  to {
    transform: scaleX(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .rl-toast {
    animation: rl-toast-in .2s var(--rl-ease);
  }

  .rl-toast.is-leaving {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rl-toast__timer {
    display: none;
  }
}

@keyframes rl-toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@media (min-width: 40rem) {
  .rl-toasts {
    right: var(--rl-gutter);
    left: auto;
    width: 26rem;
  }
}

@media (min-width: 66rem) {
  .rl-toasts {
    top: 100px;
  }
}

body.rl-dash-body .rl-toasts {
  top: 76px;
}

@media (forced-colors: active) {
  .rl-toast {
    border: 2px solid CanvasText;
  }
}

/* ==========================================================================
   Member dashboard (layouts/dashboard.blade.php)
   ========================================================================== */
body.rl-dash-body {
  background: var(--hfc-page);
}

.rl-dash {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
}

.rl-dash__sidebar {
  display: none;
}

.rl-dash__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.rl-dash__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-bottom: 4px;
  padding: 0 4px 16px;
  border-bottom: 1px solid var(--hfc-line);
  color: var(--hfc-ink);
  text-decoration: none;
}

.rl-dash__brand img {
  width: 48px;
  height: 48px;
}

.rl-dash__brand span:not(.rl-sr-only) {
  font-family: var(--hfc-display);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 800;
  line-height: .9;
  text-transform: uppercase;
}

.rl-dash-nav__group {
  margin: 18px 8px 6px;
  color: var(--hfc-muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rl-dash-nav ul {
  display: grid;
  gap: 2px;
  list-style: none;
}

.rl-dash-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--hfc-radius-control);
  color: var(--hfc-ink);
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s, color .15s;
}

.rl-dash-nav__link i {
  width: 20px;
  color: var(--hfc-muted);
  text-align: center;
}

.rl-dash-nav__link:hover {
  background: var(--hfc-band);
  color: var(--hfc-ink);
}

.rl-dash-nav__link[aria-current="page"] {
  background: var(--hfc-action);
  color: var(--hfc-on-action);
}

.rl-dash-nav__link[aria-current="page"] i {
  color: inherit;
}

.rl-dash-nav__foot {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--hfc-line);
}

.rl-dash-nav__foot form,
.rl-dash-nav__foot .rl-btn {
  width: 100%;
}

.rl-drawer .rl-dash-nav__link {
  font-size: 1.0625rem;
}

.rl-dash__topbar {
  position: sticky;
  top: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 clamp(16px, 3vw, 40px);
  border-bottom: 1px solid var(--hfc-line);
  background: var(--hfc-page);
}

.rl-dash__topbar-brand img {
  width: 40px;
  height: 40px;
}

.rl-dash__topbar-spacer {
  flex: 1;
}

.rl-dash__topbar > * {
  flex-shrink: 0;
}

.rl-dash__topbar > .rl-dash__topbar-spacer {
  flex-shrink: 1;
  min-width: 0;
}

.rl-dash__points {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--hfc-line);
  border-radius: var(--hfc-radius-control);
  color: var(--hfc-ink);
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  transition: border-color .15s;
}

.rl-dash__points:hover {
  border-color: var(--hfc-control-border);
}

.rl-dash__points-unit {
  display: none;
  color: var(--hfc-muted);
  font-size: .8125rem;
  font-weight: 600;
}

.rl-dash__points-label {
  color: var(--hfc-muted);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rl-dash__topbar .rl-theme {
  display: none;
}

.rl-dash__avatar {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
}

.rl-dash__avatar img {
  width: 40px;
  height: 40px;
  border: 2px solid var(--hfc-action);
  border-radius: 50%;
  object-fit: cover;
}

.rl-dash__flash {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 1240px;
  padding: 16px clamp(16px, 3vw, 40px) 0;
}

.rl-dash__content {
  width: 100%;
  max-width: 1240px;
  padding: clamp(20px, 3vw, 40px);
}

.rl-dash__content:focus {
  outline: none;
}

@media (max-width: 29.99rem) {
  .rl-dash__topbar {
    gap: 8px;
  }

  .rl-dash__points-unit {
    display: inline;
  }

  .rl-dash__points-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}

@media (min-width: 48rem) {
  .rl-dash__topbar .rl-theme {
    display: inline-flex;
  }
}

@media (min-width: 64rem) {
  .rl-dash {
    grid-template-columns: 232px minmax(0, 1fr);
  }

  .rl-dash__sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    padding: 20px 14px;
    overflow-y: auto;
    border-right: 1px solid var(--hfc-line);
    background: var(--hfc-panel);
  }

  .rl-dash__sidebar .rl-dash-nav__foot {
    margin-top: auto;
  }

  .rl-dash__menu-btn,
  .rl-dash__topbar-brand {
    display: none;
  }
}

/* Page heading */
.rl-dash-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.rl-dash-head > div:first-child {
  min-width: 0;
}

.rl-dash-head__title {
  color: var(--hfc-ink);
  font-family: var(--hfc-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-style: italic;
  font-weight: 800;
  line-height: .95;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.rl-dash-head__intro {
  max-width: 60ch;
  margin-top: 8px;
  color: var(--hfc-muted);
}

.rl-dash-head__actions {
  margin-top: 0;
}

/* Dashboard cards and records */
.rl-dcard {
  min-width: 0;
  padding: clamp(18px, 2.5vw, 24px);
  border: 1px solid var(--hfc-line);
  border-radius: var(--hfc-radius-card);
  background: var(--hfc-panel);
}

.rl-dcard__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.rl-dcard__title {
  color: var(--hfc-ink);
  font-family: var(--hfc-display);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.rl-dcard__eyebrow {
  color: var(--hfc-action);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rl-records {
  display: grid;
  list-style: none;
}

.rl-record {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--hfc-line);
}

.rl-record:first-child {
  padding-top: 0;
}

.rl-record:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.rl-record__media {
  width: 88px;
  height: 66px;
  border-radius: var(--hfc-radius-control);
  object-fit: cover;
  background: var(--hfc-band);
}

.rl-record__title {
  color: var(--hfc-ink);
  font-family: var(--hfc-display);
  font-size: 1.375rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1.05;
  text-transform: none;
  overflow-wrap: anywhere;
}

.rl-record__title a {
  color: inherit;
  text-decoration: none;
}

.rl-record__title a:hover {
  color: var(--hfc-action);
}

.rl-record__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 4px;
  color: var(--hfc-muted);
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}

.rl-record__side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  grid-column: 1 / -1;
}

@media (min-width: 48rem) {
  .rl-record {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .rl-record__side {
    grid-column: auto;
    justify-content: flex-end;
    max-width: 22rem;
  }
}

.rl-status--neutral {
  background: var(--hfc-band);
  color: var(--hfc-ink);
}

.rl-money {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

/* Tabs as links (My events) */
.rl-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--hfc-line);
}

.rl-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin-bottom: -1px;
  padding: 0 16px;
  border-bottom: 3px solid transparent;
  color: var(--hfc-muted);
  font-weight: 700;
  text-decoration: none;
}

.rl-tabs a:hover {
  color: var(--hfc-ink);
}

.rl-tabs a[aria-current="page"] {
  border-bottom-color: var(--hfc-action);
  color: var(--hfc-ink);
}

.rl-count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--hfc-band);
  color: var(--hfc-ink);
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
}

/* Overview */
.rl-ov {
  display: grid;
  gap: clamp(20px, 2.5vw, 28px);
}

.rl-ov__primary {
  display: grid;
  gap: 20px;
  align-items: stretch;
}

@media (min-width: 72rem) {
  .rl-ov__primary--split {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}

.rl-booking {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--hfc-line);
  border-radius: var(--hfc-radius-card);
  background: var(--hfc-panel);
}

.rl-booking__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--hfc-band);
}

.rl-booking__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rl-booking__media--fallback img {
  padding: 10%;
  object-fit: contain;
}

.rl-booking__body {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: clamp(18px, 2.5vw, 28px);
}

.rl-booking__title {
  color: var(--hfc-ink);
  font-family: var(--hfc-display);
  font-size: clamp(1.875rem, 3.4vw, 2.5rem);
  font-style: italic;
  font-weight: 800;
  line-height: .98;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.rl-booking .rl-keyfacts {
  margin-top: 4px;
  padding-top: 14px;
}

@media (min-width: 40rem) {
  .rl-booking {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }

  .rl-booking__media {
    aspect-ratio: auto;
    min-height: 100%;
  }
}

.rl-action-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.rl-action {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--hfc-line);
  border-left: 4px solid var(--hfc-warn-ink);
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-page);
}

.rl-action--invite {
  border-left-color: var(--hfc-action);
}

.rl-action__title {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.rl-action__meta {
  color: var(--hfc-muted);
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}

.rl-action__due {
  font-family: var(--hfc-display);
  font-size: 1.75rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.rl-ov__secondary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 20px;
  align-items: start;
}

.rl-balance {
  display: grid;
  gap: 4px;
}

.rl-balance__value {
  color: var(--hfc-ink);
  font-family: var(--hfc-display);
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.rl-balance__label {
  color: var(--hfc-muted);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rl-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--hfc-band);
}

.rl-progress__bar {
  height: 100%;
  border-radius: inherit;
  background: var(--hfc-action);
}

.rl-statline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rl-statline > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
}

.rl-statline dd {
  font-family: var(--hfc-display);
  font-size: 2rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.rl-statline dt {
  color: var(--hfc-muted);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.rl-pointlist {
  display: grid;
  list-style: none;
}

.rl-pointlist li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 10px;
  border-bottom: 1px solid var(--hfc-line);
}

.rl-pointlist li:last-child {
  border-bottom: 0;
}

.rl-pointlist__what {
  min-width: 0;
}

.rl-pointlist__what p:first-child {
  overflow-wrap: anywhere;
}

.rl-delta {
  flex: none;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.rl-delta--plus {
  color: var(--hfc-ok-ink);
}

.rl-delta--minus {
  color: var(--hfc-error-ink);
}

.rl-badges {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 12px;
  list-style: none;
}

.rl-badges li {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
  font-size: .75rem;
  font-weight: 600;
}

.rl-badges img,
.rl-badges__dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.rl-badges__dot {
  display: grid;
  place-items: center;
  background: var(--hfc-warn-bg);
  color: var(--hfc-warn-ink);
}

.rl-actions--tight {
  margin-top: 4px;
  gap: 8px 16px;
}

.rl-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

/* Orders and invoices: stacked records with native disclosure */
.rl-orders {
  display: grid;
  gap: 12px;
  list-style: none;
}

.rl-order {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hfc-line);
  border-radius: var(--hfc-radius-card);
  background: var(--hfc-panel);
}

.rl-order__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 16px;
  min-height: 64px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
}

.rl-order__summary::-webkit-details-marker {
  display: none;
}

.rl-order__summary:hover {
  background: var(--hfc-band);
}

.rl-order__id {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.rl-order__number {
  color: var(--hfc-ink);
  font-family: var(--hfc-display);
  font-size: 1.375rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.rl-order__number--title {
  text-transform: none;
}

.rl-order__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  grid-column: 1 / -1;
  grid-row: 2;
}

.rl-order__total {
  font-size: 1.125rem;
  text-align: right;
}

.rl-order__chev {
  display: none;
}

.rl-order__body {
  display: grid;
  gap: 24px;
  padding: 18px;
  border-top: 1px solid var(--hfc-line);
}

.rl-order__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.rl-order__thumb {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--hfc-radius-control);
  object-fit: cover;
  background: var(--hfc-band);
}

.rl-order__thumb--empty {
  display: inline-grid;
  place-items: center;
  color: var(--hfc-muted);
}

.rl-order__due {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 18px;
  border-top: 1px solid var(--hfc-line);
  background: var(--hfc-warn-bg);
}

.rl-order__due .rl-hint {
  color: var(--hfc-warn-ink);
  font-weight: 600;
}

.rl-summary--plain {
  margin-bottom: 0;
  padding: 0;
  background: none;
}

.rl-summary--plain > div {
  padding-block: 8px;
  border-bottom: 1px dashed var(--hfc-line);
}

.rl-summary--plain > div:first-child dd {
  font-family: inherit;
  font-size: inherit;
  font-style: normal;
  font-weight: 700;
}

.rl-summary__total dt {
  color: var(--hfc-ink);
  font-weight: 700;
}

.rl-summary__total dd {
  font-size: 1.125rem;
}

@media (min-width: 48rem) {
  .rl-order__summary {
    grid-template-columns: minmax(0, 1fr) auto auto 20px;
  }

  .rl-order__badges {
    grid-column: auto;
    grid-row: auto;
    justify-content: flex-end;
  }

  .rl-order__chev {
    display: block;
    width: 20px;
    height: 20px;
    background: var(--rl-chevron) center / 16px 16px no-repeat;
    transition: transform .15s;
  }

  details[open] > .rl-order__summary .rl-order__chev {
    transform: rotate(180deg);
  }

  .rl-order__body {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

/* Rewards, profile, community, support */
.rl-perks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 16px;
  list-style: none;
}

.rl-perk {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--hfc-line);
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-page);
}

.rl-perk__media {
  width: 64px;
  height: 64px;
  border-radius: var(--hfc-radius-control);
  object-fit: cover;
}

.rl-perk__media--empty {
  display: grid;
  place-items: center;
  background: var(--hfc-warn-bg);
  color: var(--hfc-warn-ink);
  font-size: 1.5rem;
}

.rl-perk__title {
  font-family: var(--hfc-display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1.02;
  text-transform: none;
  overflow-wrap: anywhere;
}

.rl-perk__cost {
  font-weight: 600;
}

.rl-perk form {
  margin-top: 4px;
}

.rl-pointlist__side {
  display: grid;
  justify-items: end;
  gap: 4px;
  flex: none;
  text-align: right;
}

.rl-layout-aside--dash {
  gap: 24px;
}

@media (min-width: 64rem) {
  .rl-layout-aside--dash {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem);
  }
}

.rl-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 16px 20px;
}

.rl-form-field {
  min-width: 0;
}

.rl-form-field :is(.form-input, .form-textarea) {
  width: 100%;
}

.rl-form-field :is(.form-input, .form-textarea):disabled {
  background: var(--hfc-band);
  color: var(--hfc-muted);
  cursor: not-allowed;
}

.rl-stack--form {
  gap: 16px;
}

.rl-avatar-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-bottom: 20px;
}

.rl-avatar-field img {
  width: 96px;
  height: 96px;
  border: 3px solid var(--hfc-action);
  border-radius: 50%;
  object-fit: cover;
}

.rl-file {
  position: relative;
  cursor: pointer;
}

.rl-file input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.rl-file:focus-within {
  outline: 2px solid var(--hfc-focus);
  outline-offset: 2px;
}

.rl-errors {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}

.rl-errors ul {
  padding-left: 1.2em;
  font-weight: 500;
}

.rl-person__avatar {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}

.rl-mt-lg {
  margin-top: clamp(20px, 2.5vw, 28px);
}

/* ==========================================================================
   Legacy bridge
   Re-skins app.css classes (and inline styles that read its variables) with the
   Redline tokens. :where(body.redline) keeps each selector at the specificity of
   the app.css rule it replaces, so later rl-* classes still win.
   ========================================================================== */

/* Legacy variables → Redline tokens. Re-declared on inverted scopes so they
   resolve against those scopes' local tokens. */
:where(body.redline),
:where(body.redline) :is(.bg-dark, .bg-gradient-dark, .bg-harissa, .bg-gradient-harissa, .footer, .rl-on-photo) {
  --harissa-red: var(--hfc-action);
  --harissa-deep: var(--hfc-action-hover);
  --orange: var(--hfc-action);
  --gray: var(--hfc-muted);
  --warm-sand: var(--hfc-band);
  --soft-red: var(--hfc-band);
  --text-primary: var(--hfc-ink);
  --text-secondary: var(--hfc-muted);
  --bg-primary: var(--hfc-page);
  --bg-secondary: var(--hfc-band);
  --bg-accent: var(--hfc-band);
  --font-heading: var(--hfc-display);
  --font-display: var(--hfc-display);
  --radius-sm: var(--hfc-radius-control);
  --radius-md: var(--hfc-radius-control);
  --radius-lg: var(--hfc-radius-control);
  --radius-xl: var(--hfc-radius-control);
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-xl: none;
  --container-max: var(--rl-max);
}

/* Inside page content, "white" surfaces and "dark" text follow the theme. */
:where(body.redline) main {
  --white: var(--hfc-panel);
  --dark: var(--hfc-ink);
}

/* Inverted scopes stay dark in both themes and carry the dark token set. */
/* .rl-on-photo: text set over photography keeps light-on-dark contrast in both themes. */
:where(body.redline) :is(.bg-dark, .bg-gradient-dark, .footer, .rl-on-photo) {
  color-scheme: dark;
  --white: #ffffff;
  --dark: #1a1a1a;
  --hfc-page: #101113;
  --hfc-panel: #1b1d20;
  --hfc-band: #282b2e;
  --hfc-ink: #faf6ed;
  --hfc-muted: #b8bcc1;
  --hfc-line: #3e4248;
  --hfc-control-border: #848b93;
  --hfc-action: #ff685b;
  --hfc-action-hover: #ff897e;
  --hfc-on-action: #171312;
  --hfc-stripe: #ff493c;
  --hfc-focus: #93c8ff;
  --hfc-ok-bg: #193326;
  --hfc-ok-ink: #abe8b9;
  --hfc-warn-bg: #392e19;
  --hfc-warn-ink: #f5d58e;
  --hfc-error-bg: #411f24;
  --hfc-error-ink: #ffb8b6;
  --rl-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23faf6ed' stroke-width='2.5' stroke-linecap='square'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

:where(body.redline) :is(.bg-dark, .bg-gradient-dark) {
  background: #17181b;
  color: var(--hfc-ink);
}

:where(body.redline) .rl-on-photo {
  color: var(--hfc-ink);
}

:where(body.redline) :is(.bg-harissa, .bg-gradient-harissa) {
  --white: #ffffff;
  --dark: #1a1a1a;
  --hfc-ink: #ffffff;
  --hfc-muted: #fbe3e1;
  --hfc-line: rgb(255 255 255 / .3);
  --hfc-control-border: #ffffff;
  --hfc-action: #ffffff;
  --hfc-action-hover: #f7f4ef;
  --hfc-on-action: #7a1a19;
  --hfc-stripe: #ffffff;
  --hfc-focus: #ffffff;
  background: #b02624;
  color: #ffffff;
}

/* Layout */
:where(body.redline) .container {
  max-width: var(--rl-max);
  padding-inline: var(--rl-gutter);
}

:where(body.redline) .section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

:where(body.redline) .section.section-offset-fixed-nav {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

:where(body.redline) .bg-white {
  background-color: var(--hfc-page);
}

:where(body.redline) :is(.bg-sand, .bg-soft) {
  background-color: var(--hfc-band);
}

/* Typography */
:where(body.redline) :is(h1, h2, h3) {
  color: var(--hfc-ink);
  font-family: var(--hfc-display);
  font-style: italic;
  font-weight: 800;
  line-height: .98;
  letter-spacing: 0;
}

:where(body.redline) h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  text-transform: uppercase;
}

:where(body.redline) h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  text-transform: uppercase;
}

:where(body.redline) h3 {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.05;
}

:where(body.redline) :is(h4, h5, h6) {
  color: var(--hfc-ink);
  font-family: var(--hfc-body);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

:where(body.redline) h4 { font-size: 1.125rem; }
:where(body.redline) h5 { font-size: 1rem; }
:where(body.redline) h6 { font-size: .9375rem; }

:where(body.redline) :is(.font-heading, .font-display) {
  font-family: var(--hfc-display);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0;
}

:where(body.redline) .text-mint { color: var(--hfc-ok-ink); }
:where(body.redline) .text-gold { color: var(--hfc-warn-ink); }
:where(body.redline) .chili-points { color: var(--hfc-warn-ink); }

:where(body.redline) .section-header {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  text-align: left;
}

:where(body.redline) .section-label {
  gap: 12px;
  margin-bottom: 4px;
  color: var(--hfc-action);
  font: 600 .8125rem/1.2 var(--hfc-body);
  letter-spacing: .14em;
  text-transform: uppercase;
}

:where(body.redline) .section-label > i {
  display: none;
}

:where(body.redline) .section-label::before {
  content: "";
  width: 30px;
  height: 12px;
  flex: none;
  background: var(--hfc-stripe);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 12'%3E%3Cpath d='M5 0h5L5 12H0zM15 0h5l-5 12h-5zM25 0h5l-5 12h-5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 12'%3E%3Cpath d='M5 0h5L5 12H0zM15 0h5l-5 12h-5zM25 0h5l-5 12h-5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

:where(body.redline) .section-title {
  margin-bottom: 12px;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: .95;
  text-transform: uppercase;
}

:where(body.redline) .section-subtitle {
  max-width: 60ch;
  margin: 0;
  color: var(--hfc-muted);
}

:where(body.redline) .text-center .section-subtitle,
:where(body.redline) .section-header.text-center .section-subtitle {
  margin-inline: auto;
}

/* Cards */
:where(body.redline) .card {
  border: 1px solid var(--hfc-line);
  border-radius: var(--hfc-radius-control);
  background-color: var(--hfc-panel);
  color: var(--hfc-ink);
  box-shadow: none;
  transition: border-color .15s;
}

:where(body.redline) .card:hover {
  border-color: var(--hfc-control-border);
  box-shadow: none;
  transform: none;
}

:where(body.redline) .card-title {
  margin-bottom: 8px;
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: none;
  overflow-wrap: anywhere;
}

:where(body.redline) .card-text {
  color: var(--hfc-muted);
}

:where(body.redline) .card-footer {
  border-top-color: var(--hfc-line);
}

/* Buttons */
:where(body.redline) .btn {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--hfc-radius-control);
  font: 600 1rem/1.2 var(--hfc-body);
  letter-spacing: 0;
  text-transform: none;
  transition: background-color .15s, border-color .15s, color .15s;
}

:where(body.redline) .btn:hover {
  box-shadow: none;
  transform: none;
}

:where(body.redline) .btn:active {
  transform: translateY(1px);
}

:where(body.redline) .btn:disabled,
:where(body.redline) .btn[disabled],
:where(body.redline) .btn[aria-disabled="true"] {
  opacity: .6;
  cursor: not-allowed;
}

:where(body.redline) .btn-primary {
  background-color: var(--hfc-action);
  color: var(--hfc-on-action);
}

:where(body.redline) .btn-primary:hover {
  background-color: var(--hfc-action-hover);
  color: var(--hfc-on-action);
}

:where(body.redline) .btn-secondary {
  border-color: var(--hfc-control-border);
  background-color: transparent;
  color: var(--hfc-ink);
}

:where(body.redline) .btn-secondary:hover {
  border-color: var(--hfc-ink);
  background-color: var(--hfc-band);
  color: var(--hfc-ink);
}

:where(body.redline) .btn-dark {
  background-color: var(--hfc-ink);
  color: var(--hfc-page);
}

:where(body.redline) .btn-dark:hover {
  background-color: var(--hfc-muted);
}

:where(body.redline) .btn-gold {
  border-color: currentColor;
  background-color: var(--hfc-warn-bg);
  color: var(--hfc-warn-ink);
}

:where(body.redline) .btn-gold:hover {
  background-color: var(--hfc-warn-bg);
  filter: brightness(.96);
}

:where(body.redline) .btn-mint {
  border-color: currentColor;
  background-color: var(--hfc-ok-bg);
  color: var(--hfc-ok-ink);
}

:where(body.redline) .btn-mint:hover {
  background-color: var(--hfc-ok-bg);
  filter: brightness(.96);
}

:where(body.redline) .btn-ghost {
  background-color: transparent;
  color: var(--hfc-ink);
}

:where(body.redline) .btn-ghost:hover {
  background-color: var(--hfc-band);
}

:where(body.redline) .btn-sm {
  min-height: 40px;
  padding: 8px 14px;
  font-size: .875rem;
}

:where(body.redline) .btn-lg {
  min-height: 56px;
  padding: 14px 28px;
  font-size: 1.125rem;
}

/* Badges and statuses */
:where(body.redline) .badge {
  border-radius: var(--hfc-radius-control);
  font-size: .75rem;
  letter-spacing: .04em;
}

:where(body.redline) .badge-harissa {
  background-color: var(--hfc-action);
  color: var(--hfc-on-action);
}

:where(body.redline) .badge-gold {
  background-color: var(--hfc-warn-bg);
  color: var(--hfc-warn-ink);
}

:where(body.redline) .badge-mint {
  background-color: var(--hfc-ok-bg);
  color: var(--hfc-ok-ink);
}

:where(body.redline) .badge-soft {
  background-color: var(--hfc-band);
  color: var(--hfc-ink);
}

:where(body.redline) .badge-dark {
  background-color: var(--hfc-ink);
  color: var(--hfc-page);
}

/* Forms */
:where(body.redline) .form-label {
  color: var(--hfc-ink);
  font: 600 .875rem/1.3 var(--hfc-body);
  letter-spacing: 0;
  text-transform: none;
}

:where(body.redline) :is(.form-input, .form-textarea) {
  min-height: 48px;
  border: 1px solid var(--hfc-control-border);
  border-radius: var(--hfc-radius-control);
  background-color: var(--hfc-panel);
  color: var(--hfc-ink);
}

:where(body.redline) :is(.form-input, .form-select, .form-textarea)::placeholder {
  color: var(--hfc-muted);
}

:where(body.redline) :is(.form-input, .form-select, .form-textarea):focus {
  border-color: var(--hfc-ink);
  box-shadow: none;
  outline: 2px solid var(--hfc-focus);
  outline-offset: 2px;
}

:where(body.redline) .form-error {
  color: var(--hfc-error-ink);
  font-weight: 600;
}

:where(body.redline) .alert {
  border-radius: var(--hfc-radius-control);
}

:where(body.redline) .alert-success {
  border-color: currentColor;
  background-color: var(--hfc-ok-bg);
  color: var(--hfc-ok-ink);
}

:where(body.redline) .alert-error {
  border-color: currentColor;
  background-color: var(--hfc-error-bg);
  color: var(--hfc-error-ink);
}

:where(body.redline) .alert-warning {
  border-color: currentColor;
  background-color: var(--hfc-warn-bg);
  color: var(--hfc-warn-ink);
}

/* Pagination (resources/views/vendor/pagination) */
:where(body.redline) nav.site-paginator {
  border-color: var(--hfc-line);
  border-radius: var(--hfc-radius-control);
  background: var(--hfc-panel);
  box-shadow: none;
}

:where(body.redline) nav.site-paginator :is(a, span) {
  border-color: var(--hfc-line);
}
