/* ==========================================================================
   Form House — bespoke boutique-studio concept, organised around a timetable.
   Only used by /concepts/fitness/. Shares no rules with local-concept.css.

   Dark "electric" system: near-black ground, electric lime as the only loud
   colour, three quieter discipline tints, square corners and tabular figures.
   Every text/surface pair below was measured, not eyeballed — the ratios are
   noted next to the tokens they belong to.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* ground + surfaces */
  --fh-void: #0b0c0b;
  --fh-surface: #131614;
  --fh-surface-2: #1b1e1c;
  --fh-surface-3: #232724;

  /* text — ratios quoted against --fh-void */
  --fh-paper: #f0efe9; /* 17.0:1 */
  --fh-muted: #a8aca4; /* 8.5:1  */
  --fh-fine: #9aa096; /*  7.0:1  */

  /* accents */
  --fh-lime: #d7ff45; /* 16.1:1 on void · #111 on lime is 16.4:1 */
  --fh-lime-deep: #b9e02c;
  --fh-lavender: #a795ff; /* 7.4:1 */
  --fh-amber: #ffab6b; /* 10.2:1 */
  --fh-mint: #6fe0c6; /* 11.0:1 */
  --fh-ink: #101210;

  /* discipline tints */
  --t-strength: var(--fh-lime);
  --t-reformer: var(--fh-lavender);
  --t-conditioning: var(--fh-amber);
  --t-recovery: var(--fh-mint);

  --fh-line: rgba(240, 239, 233, 0.13);
  --fh-line-strong: rgba(240, 239, 233, 0.26);
  --fh-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fh-pad: clamp(1.05rem, 3.6vw, 4rem);
  --fh-r: 4px;
  --fh-r-lg: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 0;
  min-height: 100svh;
  overflow-x: clip;
  background: var(--fh-void);
  color: var(--fh-paper);
  font-family: var(--fh-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

body.is-menu-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1.03;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.9rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.9rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

h4 {
  font-size: 0.95rem;
}

table {
  border-collapse: collapse;
  width: 100%;
}

fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--fh-lime);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--fh-lime);
  color: var(--fh-ink);
}

/* ------------------------------------------------------------- utilities -- */

.fh-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.fh-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fh-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.fh-skip {
  position: fixed;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 200;
  padding: 0.85rem 1.2rem;
  border-radius: var(--fh-r);
  background: var(--fh-lime);
  color: var(--fh-ink);
  font-size: 0.85rem;
  font-weight: 780;
  text-decoration: none;
  transform: translateY(-260%);
  transition: transform 160ms ease;
}

.fh-skip:focus {
  transform: translateY(0);
}

.fh-eyebrow {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fh-lime);
}

.fh-fine {
  color: var(--fh-fine);
  font-size: 0.75rem;
  line-height: 1.55;
}

.fh-fine--center {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.fh-dot {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--fh-lime);
  box-shadow: 0 0 0 0.22rem rgba(215, 255, 69, 0.16);
}

.is-closed .fh-dot,
.fh-dot--off {
  background: var(--fh-amber);
  box-shadow: 0 0 0 0.22rem rgba(255, 171, 107, 0.16);
}

/* --------------------------------------------------------------- buttons -- */

.fh-btn {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--fh-lime);
  border-radius: var(--fh-r);
  background: var(--fh-lime);
  color: var(--fh-ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.fh-btn:hover {
  background: #e6ff77;
  border-color: #e6ff77;
  transform: translateY(-2px);
}

.fh-btn:active {
  transform: translateY(0) scale(0.99);
}

.fh-btn--sm {
  min-height: 2.75rem;
  padding: 0.55rem 0.95rem;
  font-size: 0.72rem;
}

.fh-btn--full {
  width: 100%;
}

.fh-btn--ghost {
  border-color: var(--fh-line-strong);
  background: transparent;
  color: var(--fh-paper);
}

.fh-btn--ghost:hover {
  border-color: var(--fh-lime);
  background: rgba(215, 255, 69, 0.1);
  color: var(--fh-paper);
}

.fh-linkish {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0;
  color: var(--fh-lime);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.fh-linkish:hover {
  color: var(--fh-paper);
}

/* ----------------------------------------------------------- preview bar -- */

.fh-preview {
  position: relative;
  z-index: 90;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.1rem var(--fh-pad);
  border-bottom: 1px solid var(--fh-line);
  background: #000;
  color: var(--fh-muted);
  font-size: 0.7rem;
  font-weight: 620;
}

.fh-preview a {
  min-height: 2.75rem;
  min-width: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--fh-paper);
  text-decoration: none;
}

.fh-preview a:hover {
  color: var(--fh-lime);
  text-decoration: underline;
}

.fh-preview__note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
}

.fh-preview .fh-icon {
  width: 0.9rem;
  height: 0.9rem;
}

/* --------------------------------------------------------------- header -- */

/* The page is dark end to end, but the header still crosses a photograph in
   the hero, so it carries its own near-opaque bar rather than trusting the
   image behind it to stay dark enough for 4.5:1. */
.fh-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem var(--fh-pad);
  border-bottom: 1px solid var(--fh-line);
  background: rgba(11, 12, 11, 0.93);
  backdrop-filter: blur(10px);
}

.fh-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  color: var(--fh-paper);
  text-decoration: none;
}

.fh-brand__mark {
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border-radius: var(--fh-r);
  background: var(--fh-lime);
  color: var(--fh-ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.fh-brand__text {
  display: grid;
  gap: 0.06rem;
}

.fh-brand__text strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.fh-brand__text small {
  color: var(--fh-muted);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.fh-menu-toggle {
  display: none;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--fh-line-strong);
  border-radius: var(--fh-r);
  color: var(--fh-paper);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fh-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.7vw, 1.75rem);
}

.fh-nav > a:not(.fh-btn) {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--fh-muted);
  font-size: 0.82rem;
  font-weight: 640;
  text-decoration: none;
}

.fh-nav > a:not(.fh-btn):hover {
  color: var(--fh-lime);
}

.fh-nav__pip {
  min-width: 1.25rem;
  height: 1.25rem;
  display: inline-grid;
  place-items: center;
  padding-inline: 0.3rem;
  border-radius: 999px;
  background: var(--fh-ink);
  color: var(--fh-lime);
  font-size: 0.68rem;
  font-weight: 800;
}

/* ------------------------------------------------------------------ hero -- */

.fh-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: end;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  padding: clamp(3.5rem, 9vw, 7rem) var(--fh-pad) clamp(1.25rem, 2.5vw, 2rem);
  overflow: hidden;
}

.fh-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

/* The hero ground is drawn, not photographed: a tally of thin diagonal rules
   for reps, one bumper-plate outline, and two soft colour pools. It costs
   nothing to download and it never fights the headline for contrast. */
.fh-hero__grain {
  position: absolute;
  inset: -20%;
  background:
    repeating-linear-gradient(
      104deg,
      rgba(240, 239, 233, 0.05) 0 1px,
      transparent 1px 46px
    ),
    repeating-linear-gradient(
      104deg,
      rgba(215, 255, 69, 0.055) 0 2px,
      transparent 2px 230px
    );
}

.fh-hero__plate {
  position: absolute;
  right: -6%;
  top: 50%;
  width: min(46rem, 62vw);
  aspect-ratio: 1;
  transform: translateY(-52%);
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      transparent 0 21%,
      rgba(215, 255, 69, 0.1) 21% 22.4%,
      transparent 22.4% 44%,
      rgba(167, 149, 255, 0.13) 44% 45.2%,
      transparent 45.2% 49%,
      rgba(215, 255, 69, 0.17) 49% 50%,
      transparent 50%
    ),
    radial-gradient(circle, rgba(167, 149, 255, 0.09) 0 50%, transparent 50%);
}

.fh-hero__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 95% at 12% 18%, rgba(11, 12, 11, 0.96), rgba(11, 12, 11, 0.5) 62%, transparent 100%),
    linear-gradient(
      180deg,
      rgba(11, 12, 11, 0.7) 0%,
      transparent 26%,
      transparent 62%,
      var(--fh-void) 100%
    );
}

.fh-hero__rule {
  position: absolute;
  left: var(--fh-pad);
  top: clamp(2rem, 6vw, 4.5rem);
  width: 3.5rem;
  height: 3px;
  background: var(--fh-lime);
}

.fh-hero__copy {
  max-width: 46rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.15rem;
}

.fh-hero__lede {
  max-width: 40rem;
  color: var(--fh-muted);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
}

.fh-nownext {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  padding: 0.6rem 1rem;
  border: 1px solid var(--fh-line);
  border-left: 3px solid var(--fh-lime);
  border-radius: var(--fh-r);
  background: rgba(19, 22, 20, 0.86);
  font-size: 0.82rem;
}

.fh-nownext__label {
  color: var(--fh-lime);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fh-nownext span[data-nownext-detail] {
  color: var(--fh-muted);
}

.fh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

/* ---------------------------------------------------------- week ribbon -- */

.fh-ribbon {
  padding: 1.05rem clamp(0.9rem, 2vw, 1.5rem) 1.15rem;
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-r-lg);
  background: rgba(19, 22, 20, 0.92);
  backdrop-filter: blur(8px);
}

.fh-ribbon__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  color: var(--fh-muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fh-ribbon__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.fh-ribbon__day {
  width: 100%;
  min-height: 5.25rem;
  display: grid;
  gap: 0.4rem;
  justify-items: center;
  align-content: start;
  padding: 0.55rem 0.35rem 0.6rem;
  border: 1px solid transparent;
  border-radius: var(--fh-r);
  background: rgba(240, 239, 233, 0.04);
  transition:
    background-color 150ms ease,
    border-color 150ms ease;
}

.fh-ribbon__day:hover {
  background: rgba(215, 255, 69, 0.1);
  border-color: var(--fh-line-strong);
}

.fh-ribbon__day[aria-current="true"] {
  border-color: var(--fh-lime);
  background: rgba(215, 255, 69, 0.13);
}

.fh-ribbon__abbr {
  color: var(--fh-paper);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fh-ribbon__bars {
  display: grid;
  gap: 3px;
  width: 100%;
  max-width: 3.25rem;
}

.fh-ribbon__bars i {
  height: 5px;
  border-radius: 1px;
  background: var(--fh-line-strong);
}

.fh-ribbon__n {
  color: var(--fh-muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.fh-ribbon__key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 0.85rem;
  color: var(--fh-muted);
  font-size: 0.68rem;
  font-weight: 640;
  letter-spacing: 0.03em;
}

.fh-key {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.fh-key i {
  width: 0.7rem;
  height: 0.35rem;
  border-radius: 1px;
}

[data-t="strength"] i,
.fh-ribbon__bars i[data-t="strength"] {
  background: var(--t-strength);
}

[data-t="reformer"] i,
.fh-ribbon__bars i[data-t="reformer"] {
  background: var(--t-reformer);
}

[data-t="conditioning"] i,
.fh-ribbon__bars i[data-t="conditioning"] {
  background: var(--t-conditioning);
}

[data-t="recovery"] i,
.fh-ribbon__bars i[data-t="recovery"] {
  background: var(--t-recovery);
}

/* ---------------------------------------------------------- section head -- */

section > .fh-sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: end;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--fh-line);
}

.fh-sec-head .fh-eyebrow {
  display: block;
  margin-bottom: 0.6rem;
}

.fh-sec-head__intro {
  color: var(--fh-muted);
  font-size: 0.95rem;
}

/* ------------------------------------------------------------- timetable -- */

.fh-timetable {
  padding: clamp(3rem, 6vw, 5.5rem) var(--fh-pad) clamp(2.5rem, 5vw, 4.5rem);
  background: var(--fh-void);
}

.fh-tt {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.fh-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem clamp(1rem, 2.5vw, 2.25rem);
  padding: 1.1rem clamp(0.9rem, 2vw, 1.4rem);
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-r-lg);
  background: var(--fh-surface);
}

.fh-filter legend {
  margin-bottom: 0.55rem;
  color: var(--fh-muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fh-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.fh-chip {
  position: relative;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--fh-line-strong);
  border-radius: var(--fh-r);
  background: var(--fh-surface-2);
  color: var(--fh-paper);
  font-size: 0.78rem;
  font-weight: 640;
  cursor: pointer;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    color 140ms ease;
}

.fh-chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.fh-chip:hover {
  border-color: var(--fh-paper);
}

.fh-chip:has(input:checked) {
  border-color: var(--fh-lime);
  background: var(--fh-lime);
  color: var(--fh-ink);
  font-weight: 780;
}

.fh-chip:has(input:focus-visible) {
  outline: 3px solid var(--fh-lime);
  outline-offset: 3px;
}

.fh-chip[data-t]::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  border-radius: 1px;
}

.fh-chip[data-t="strength"]::before {
  background: var(--t-strength);
}

.fh-chip[data-t="reformer"]::before {
  background: var(--t-reformer);
}

.fh-chip[data-t="conditioning"]::before {
  background: var(--t-conditioning);
}

.fh-chip[data-t="recovery"]::before {
  background: var(--t-recovery);
}

.fh-chip:has(input:checked)[data-t]::before {
  background: var(--fh-ink);
}

.fh-chip--check:has(input:checked)::after {
  content: "✓";
  font-weight: 900;
}

.fh-filter--last {
  display: grid;
  align-content: start;
  gap: 0.15rem;
}

.fh-filters__result {
  margin-top: 1rem;
  color: var(--fh-muted);
  font-size: 0.82rem;
  font-weight: 640;
}

.fh-filters__result strong {
  color: var(--fh-lime);
}

/* day tabs — only shown by JS below the week-grid breakpoint */
.fh-daytabs {
  display: none;
  min-width: 0;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 1rem;
}

.fh-daytab__initial {
  display: none;
}

.fh-daytab {
  min-height: 2.75rem;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.4rem;
  border: 1px solid var(--fh-line-strong);
  border-radius: var(--fh-r);
  background: var(--fh-surface-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fh-daytab__n {
  color: var(--fh-muted);
  font-size: 0.7rem;
  font-weight: 640;
}

.fh-daytab[aria-pressed="true"] {
  border-color: var(--fh-lime);
  background: var(--fh-lime);
  color: var(--fh-ink);
}

.fh-daytab[aria-pressed="true"] .fh-daytab__n {
  color: rgba(16, 18, 16, 0.72);
}

/* the week grid */
.fh-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.fh-day {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 0.55rem;
}

.fh-day__name {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--fh-line-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fh-day__n {
  color: var(--fh-muted);
  font-size: 0.68rem;
  font-weight: 620;
  letter-spacing: 0.02em;
  text-transform: none;
}

.fh-day__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.fh-day__empty {
  color: var(--fh-fine);
  font-size: 0.75rem;
  font-style: italic;
}

/* a single session */
.fh-class {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.3rem;
  padding: 0.75rem 0.7rem 0.7rem;
  border: 1px solid var(--fh-line);
  border-left: 3px solid var(--tone, var(--fh-line-strong));
  border-radius: var(--fh-r);
  background: var(--fh-surface);
  transition:
    background-color 150ms ease,
    border-color 150ms ease;
}

.fh-class[data-type="strength"] {
  --tone: var(--t-strength);
}

.fh-class[data-type="reformer"] {
  --tone: var(--t-reformer);
}

.fh-class[data-type="conditioning"] {
  --tone: var(--t-conditioning);
}

.fh-class[data-type="recovery"] {
  --tone: var(--t-recovery);
}

.fh-class:hover {
  background: var(--fh-surface-2);
}

.fh-class__time {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  color: var(--fh-paper);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.fh-class__time span {
  color: var(--fh-muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.fh-class__name {
  font-size: 0.9rem;
  font-weight: 760;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.fh-class__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.45rem;
}

.fh-tag {
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  background: color-mix(in srgb, var(--tone) 18%, transparent);
  color: var(--tone);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.fh-class__len {
  color: var(--fh-muted);
  font-size: 0.7rem;
  font-weight: 640;
}

.fh-class__coach {
  color: var(--fh-muted);
  font-size: 0.74rem;
  font-weight: 620;
}

.fh-effort {
  display: inline-flex;
  gap: 3px;
}

.fh-effort i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 1px;
  background: rgba(240, 239, 233, 0.2);
}

.fh-effort[data-effort="1"] i:nth-child(-n + 1),
.fh-effort[data-effort="2"] i:nth-child(-n + 2),
.fh-effort[data-effort="3"] i:nth-child(-n + 3),
.fh-effort[data-effort="4"] i:nth-child(-n + 4),
.fh-effort[data-effort="5"] i:nth-child(-n + 5) {
  background: var(--tone, var(--fh-paper));
}

.fh-class__spots {
  color: var(--fh-fine);
  font-size: 0.72rem;
  font-weight: 640;
}

.fh-class.is-low .fh-class__spots {
  color: var(--fh-amber);
}

.fh-class.is-full .fh-class__spots {
  color: var(--fh-lavender);
}

.fh-class.is-booked .fh-class__spots,
.fh-class.is-waiting .fh-class__spots {
  color: var(--fh-lime);
  font-weight: 760;
}

.fh-book {
  min-height: 2.75rem;
  margin-top: 0.2rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--fh-line-strong);
  border-radius: var(--fh-r);
  background: transparent;
  color: var(--fh-paper);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    color 140ms ease;
}

.fh-book:hover {
  border-color: var(--fh-lime);
  background: rgba(215, 255, 69, 0.12);
}

.fh-class.is-booked {
  border-color: var(--fh-lime);
  background: rgba(215, 255, 69, 0.07);
}

.fh-class.is-booked .fh-book,
.fh-class.is-waiting .fh-book {
  border-color: var(--fh-lime);
  color: var(--fh-lime);
}

.fh-class.is-booked .fh-book:hover,
.fh-class.is-waiting .fh-book:hover {
  background: rgba(215, 255, 69, 0.18);
}

.fh-class.is-waiting {
  border-color: var(--fh-lavender);
}

.fh-class.is-hidden {
  display: none;
}

.fh-tt__empty {
  padding: 1.5rem;
  border: 1px dashed var(--fh-line-strong);
  border-radius: var(--fh-r-lg);
  color: var(--fh-muted);
  font-size: 0.9rem;
  text-align: center;
}

.fh-timetable .fh-fine {
  margin-top: 1.25rem;
  max-width: 46rem;
}

/* ------------------------------------------------------------- your week -- */

.fh-week__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem clamp(1.5rem, 3vw, 3rem);
  padding: 1.25rem clamp(1rem, 2vw, 1.6rem) 1.4rem;
  border: 1px solid var(--fh-line);
  border-top: 3px solid var(--fh-lime);
  border-radius: var(--fh-r-lg);
  background: var(--fh-surface);
}

.fh-week__lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 0.85rem;
}

/* The right half is a literal week: seven cells that fill in as you book. */
.fh-week__strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.4rem;
  align-content: start;
}

.fh-week__cell {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  min-height: 7rem;
  padding: 0.5rem 0.4rem 0.6rem;
  border: 1px dashed var(--fh-line-strong);
  border-radius: var(--fh-r);
}

.fh-week__cell.is-on {
  border-style: solid;
  border-color: var(--fh-line);
  background: var(--fh-void);
}

.fh-week__cellday {
  color: var(--fh-muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.fh-week__cell.is-on .fh-week__cellday {
  color: var(--fh-lime);
}

.fh-week__cell ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.3rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.fh-week__cellrest {
  color: var(--fh-fine);
  font-size: 0.66rem;
  text-align: center;
}

.fh-week__cell.is-on .fh-week__cellrest {
  display: none;
}

.fh-week__chip {
  --tone: var(--fh-lime);
  width: 100%;
  min-height: 2.75rem;
  display: grid;
  align-content: center;
  gap: 0.05rem;
  padding: 0.35rem 0.4rem;
  border: 1px solid var(--fh-line);
  border-left: 3px solid var(--tone);
  border-radius: 2px;
  background: color-mix(in srgb, var(--tone) 12%, transparent);
  color: var(--fh-paper);
  text-align: left;
}

.fh-week__chip[data-type="strength"] {
  --tone: var(--t-strength);
}

.fh-week__chip[data-type="reformer"] {
  --tone: var(--t-reformer);
}

.fh-week__chip[data-type="conditioning"] {
  --tone: var(--t-conditioning);
}

.fh-week__chip[data-type="recovery"] {
  --tone: var(--t-recovery);
}

.fh-week__chip:hover {
  background: color-mix(in srgb, var(--tone) 22%, transparent);
}

.fh-week__chip strong {
  font-size: 0.7rem;
  font-weight: 780;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.fh-week__chip span {
  color: var(--fh-muted);
  font-size: 0.62rem;
  line-height: 1.2;
}

.fh-week__chip .fh-week__x {
  color: var(--tone);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

@media (min-width: 981px) {
  .fh-week__inner {
    grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
    align-items: start;
  }
}

.fh-week h3 {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fh-week__status {
  color: var(--fh-muted);
  font-size: 0.85rem;
}

.fh-week__totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 0.5rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--fh-line);
  border-bottom: 1px solid var(--fh-line);
  margin: 0;
}

.fh-week__totals dt {
  color: var(--fh-fine);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fh-week__totals dd {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.fh-week__mixlabel {
  color: var(--fh-fine);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fh-week__mix {
  display: flex;
  gap: 2px;
  height: 0.55rem;
  overflow: hidden;
  border-radius: 2px;
}

.fh-week__mix i {
  display: block;
  height: 100%;
}

.fh-week__mix i[data-t="strength"] {
  background: var(--t-strength);
}

.fh-week__mix i[data-t="reformer"] {
  background: var(--t-reformer);
}

.fh-week__mix i[data-t="conditioning"] {
  background: var(--t-conditioning);
}

.fh-week__mix i[data-t="recovery"] {
  background: var(--t-recovery);
}

.fh-week__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.2rem;
  justify-items: start;
}

.fh-week__foot .fh-btn {
  width: 100%;
}

/* --------------------------------------------------------------- formats -- */

.fh-formats {
  padding: clamp(3rem, 6vw, 5.5rem) var(--fh-pad);
  background: var(--fh-surface);
  border-top: 1px solid var(--fh-line);
}

.fh-formats__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.fh-formats__groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}

.fh-fgroup {
  --tone: var(--fh-lime);
  padding: 1.1rem 1.15rem 1.25rem;
  border: 1px solid var(--fh-line);
  border-top: 3px solid var(--tone);
  border-radius: var(--fh-r-lg);
  background: var(--fh-void);
}

.fh-fgroup[data-tone="strength"] {
  --tone: var(--t-strength);
}

.fh-fgroup[data-tone="reformer"] {
  --tone: var(--t-reformer);
}

.fh-fgroup[data-tone="conditioning"] {
  --tone: var(--t-conditioning);
}

.fh-fgroup[data-tone="recovery"] {
  --tone: var(--t-recovery);
}

.fh-fgroup h3 {
  color: var(--tone);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fh-fgroup__note {
  margin: 0.4rem 0 1rem;
  color: var(--fh-fine);
  font-size: 0.75rem;
}

.fh-flist {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  margin: 0;
}

.fh-fitem dt {
  display: grid;
  gap: 0.1rem;
  font-size: 0.95rem;
  font-weight: 760;
  letter-spacing: -0.015em;
}

.fh-fitem__len {
  color: var(--fh-muted);
  font-size: 0.7rem;
  font-weight: 620;
  letter-spacing: 0.04em;
}

.fh-fitem dd {
  margin: 0.25rem 0 0;
  color: var(--fh-muted);
  font-size: 0.83rem;
}

.fh-scale {
  padding: 1.15rem 1.25rem 1.35rem;
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-r-lg);
  background: var(--fh-void);
}

.fh-scale h3 {
  margin-bottom: 0.9rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fh-scale__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem clamp(0.75rem, 2vw, 1.75rem);
  padding: 0;
  margin: 0 0 1rem;
  list-style: none;
}

.fh-scale__list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 0.5rem;
  row-gap: 0.35rem;
  padding-left: 0.9rem;
  border-left: 1px solid var(--fh-line);
}

.fh-scale__list .fh-effort {
  grid-column: 1;
  grid-row: 1;
}

.fh-scale__n {
  grid-column: 2;
  grid-row: 1;
}

.fh-scale__body {
  grid-column: 1 / -1;
  grid-row: 2;
}

.fh-scale__list .fh-effort {
  --tone: var(--fh-lime);
}

.fh-scale__n {
  color: var(--fh-muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.fh-scale__body {
  color: var(--fh-muted);
  font-size: 0.8rem;
}

.fh-scale__body strong {
  color: var(--fh-paper);
  font-weight: 740;
}

/* --------------------------------------------------------------- coaches -- */

.fh-coaches {
  padding: clamp(3rem, 6vw, 5.5rem) var(--fh-pad);
  border-top: 1px solid var(--fh-line);
}

.fh-coach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0 0 1.5rem;
  list-style: none;
}

.fh-coach {
  --tone: var(--fh-lime);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 0.5rem;
  padding: 1.25rem 1.2rem 1.35rem;
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-r-lg);
  background: var(--fh-surface);
}

.fh-coach[data-tone="strength"] {
  --tone: var(--t-strength);
}

.fh-coach[data-tone="reformer"] {
  --tone: var(--t-reformer);
}

.fh-coach[data-tone="recovery"] {
  --tone: var(--t-recovery);
}

.fh-coach__mono {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.35rem;
  border: 2px solid var(--tone);
  border-radius: 50%;
  color: var(--tone);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.fh-coach h3 {
  font-size: 1.15rem;
}

.fh-coach__role {
  color: var(--tone);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fh-coach__bio {
  color: var(--fh-muted);
  font-size: 0.85rem;
}

.fh-coach__teaches {
  color: var(--fh-muted);
  font-size: 0.78rem;
}

.fh-coach__teaches span {
  color: var(--fh-fine);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
}

.fh-coach__load {
  color: var(--fh-paper);
  font-size: 0.78rem;
  font-weight: 700;
}

.fh-coach .fh-btn {
  margin-top: 0.35rem;
  justify-self: start;
}

/* --------------------------------------------------------------- pricing -- */

.fh-pricing {
  padding: clamp(3rem, 6vw, 5.5rem) var(--fh-pad);
  background: var(--fh-surface);
  border-top: 1px solid var(--fh-line);
}

.fh-pricing__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
}

.fh-calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  padding: clamp(1.25rem, 2.5vw, 1.9rem);
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-r-lg);
  background: var(--fh-void);
}

.fh-calc__label {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 1rem;
  font-weight: 740;
  letter-spacing: -0.01em;
}

.fh-range {
  width: 100%;
  height: 2.75rem;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.fh-range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    var(--fh-lime) 0%,
    var(--fh-lime) var(--pct, 30%),
    rgba(240, 239, 233, 0.18) var(--pct, 30%),
    rgba(240, 239, 233, 0.18) 100%
  );
}

.fh-range::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: rgba(240, 239, 233, 0.18);
}

.fh-range::-moz-range-progress {
  height: 6px;
  border-radius: 3px;
  background: var(--fh-lime);
}

.fh-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.6rem;
  height: 1.6rem;
  margin-top: -0.55rem;
  border: 3px solid var(--fh-void);
  border-radius: 50%;
  background: var(--fh-lime);
}

.fh-range::-moz-range-thumb {
  width: 1.6rem;
  height: 1.6rem;
  border: 3px solid var(--fh-void);
  border-radius: 50%;
  background: var(--fh-lime);
}

.fh-calc__scale {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--fh-fine);
  font-size: 0.68rem;
  font-weight: 640;
}

.fh-calc__value {
  display: block;
  margin-top: 0.75rem;
  color: var(--fh-lime);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.fh-calc__bars {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.fh-calc__bars li {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(0, 2fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid transparent;
  border-radius: var(--fh-r);
}

.fh-calc__bars li.is-best {
  border-color: var(--fh-lime);
  background: rgba(215, 255, 69, 0.09);
}

.fh-calc__plan {
  display: grid;
  gap: 0.1rem;
  font-size: 0.85rem;
  font-weight: 760;
}

.fh-calc__plan span {
  color: var(--fh-muted);
  font-size: 0.7rem;
  font-weight: 620;
}

.fh-bar {
  display: block;
  height: 0.7rem;
  border-radius: 2px;
  background: rgba(240, 239, 233, 0.09);
  overflow: hidden;
}

.fh-bar i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: var(--fh-lavender);
  transition: width 240ms ease;
}

.is-best .fh-bar i {
  background: var(--fh-lime);
}

.fh-calc__cost {
  min-width: 4.25rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: right;
}

.is-best .fh-calc__cost {
  color: var(--fh-lime);
}

.fh-calc__verdict {
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--fh-lime);
  background: var(--fh-surface-2);
  color: var(--fh-paper);
  font-size: 0.92rem;
  font-weight: 620;
}

.fh-plans {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
}

.fh-plan {
  padding: 1.15rem 1.2rem 1.3rem;
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-r-lg);
  background: var(--fh-void);
}

.fh-plan--feature {
  border-color: var(--fh-lime);
  background: rgba(215, 255, 69, 0.06);
}

.fh-plan h3 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fh-plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0.35rem 0 0.85rem;
}

.fh-plan__price strong {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.fh-plan--feature .fh-plan__price strong {
  color: var(--fh-lime);
}

.fh-plan__price span {
  color: var(--fh-muted);
  font-size: 0.78rem;
}

.fh-plan__points {
  display: grid;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--fh-muted);
  font-size: 0.82rem;
}

.fh-plan__points li {
  padding-left: 1.1rem;
  position: relative;
}

.fh-plan__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 1px;
  background: var(--fh-line-strong);
}

.fh-plan--feature .fh-plan__points li::before {
  background: var(--fh-lime);
}

/* ----------------------------------------------------------- first month -- */

.fh-start {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 5.5rem) var(--fh-pad);
  border-top: 1px solid var(--fh-line);
}

.fh-start__copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  justify-items: start;
}

.fh-start__lede {
  max-width: 34rem;
  color: var(--fh-muted);
  font-size: 1rem;
}

.fh-path {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0.75rem 0 0.5rem;
  list-style: none;
  counter-reset: step;
}

.fh-path__step {
  position: relative;
  padding: 0 0 1.5rem 3.25rem;
  border-left: 1px solid var(--fh-line-strong);
  margin-left: 0.65rem;
}

.fh-path__step:last-child {
  padding-bottom: 0;
  border-color: transparent;
}

.fh-path__n {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateX(-50%);
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--fh-lime);
  color: var(--fh-ink);
  font-size: 0.58rem;
  font-weight: 900;
}

.fh-path__step h3 {
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.fh-path__step p {
  max-width: 34rem;
  color: var(--fh-muted);
  font-size: 0.88rem;
}

/* The only photo left on the page is a bright concrete-wall frame, so it is
   pushed through a lime/lavender duotone to sit inside the dark system
   instead of punching a hole in it. */
.fh-start__figure {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8rem;
  max-width: 27rem;
  justify-self: end;
}

/* Month one, drawn: the same seven-column week as the timetable, stacked four
   deep, filling in as the habit builds. No photograph — the two studio stock
   frames on hand both carry visible third-party trademarks. */
.fh-month {
  padding: 1.15rem clamp(1rem, 2vw, 1.35rem) 1.25rem;
  border: 1px solid var(--fh-line);
  border-top: 3px solid var(--fh-lime);
  border-radius: var(--fh-r-lg);
  background: var(--fh-surface);
}

.fh-month__title {
  margin-bottom: 1rem;
  color: var(--fh-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.fh-month__grid {
  display: grid;
  grid-template-columns: auto repeat(7, minmax(0, 1fr));
  gap: 0.4rem;
  align-items: center;
}

.fh-month__day,
.fh-month__wk {
  color: var(--fh-fine);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
}

.fh-month__wk {
  padding-right: 0.5rem;
  text-align: right;
}

.fh-month__cell {
  --tone: transparent;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 1px dashed var(--fh-line-strong);
  border-radius: 3px;
}

.fh-month__cell.is-on {
  border: 1px solid var(--tone);
  background: color-mix(in srgb, var(--tone) 52%, transparent);
  box-shadow: inset 0 0 0 2px rgba(11, 12, 11, 0.5);
}

.fh-month__cell[data-t="strength"] {
  --tone: var(--t-strength);
}

.fh-month__cell[data-t="reformer"] {
  --tone: var(--t-reformer);
}

.fh-month__cell[data-t="conditioning"] {
  --tone: var(--t-conditioning);
}

.fh-month__cell[data-t="recovery"] {
  --tone: var(--t-recovery);
}

.fh-month__key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.9rem;
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--fh-line);
  color: var(--fh-muted);
  font-size: 0.66rem;
  font-weight: 640;
}

.fh-start__figure figcaption {
  color: var(--fh-fine);
  font-size: 0.78rem;
}

/* ----------------------------------------------------------------- visit -- */

.fh-visit {
  padding: clamp(3rem, 6vw, 5.5rem) var(--fh-pad);
  background: var(--fh-surface);
  border-top: 1px solid var(--fh-line);
}

.fh-visit__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.fh-plan-card,
.fh-openstate,
.fh-where {
  padding: 1.2rem 1.25rem 1.35rem;
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-r-lg);
  background: var(--fh-void);
  height: 100%;
}

.fh-plan-card h3,
.fh-openstate h3,
.fh-where h3 {
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fh-floor {
  width: 100%;
  height: auto;
  margin-bottom: 0.85rem;
}

.fh-floor__shell {
  fill: none;
  stroke: var(--fh-line-strong);
  stroke-width: 1.5;
}

.fh-floor__room rect {
  fill: rgba(240, 239, 233, 0.04);
  stroke: var(--fh-line-strong);
  stroke-width: 1;
}

.fh-floor__room[data-room="strength"] rect {
  fill: rgba(215, 255, 69, 0.07);
  stroke: rgba(215, 255, 69, 0.4);
}

.fh-floor__room[data-room="reformer"] rect {
  fill: rgba(167, 149, 255, 0.09);
  stroke: rgba(167, 149, 255, 0.42);
}

.fh-floor__room[data-room="recovery"] rect {
  fill: rgba(111, 224, 198, 0.08);
  stroke: rgba(111, 224, 198, 0.38);
}

.fh-floor text {
  fill: var(--fh-paper);
  font-family: var(--fh-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.fh-floor .fh-floor__sub {
  fill: var(--fh-muted);
  font-size: 9px;
  font-weight: 620;
  letter-spacing: 0.02em;
}

.fh-floor__rig rect,
.fh-floor__rig circle {
  fill: rgba(215, 255, 69, 0.34);
}

.fh-floor__beds rect {
  fill: rgba(167, 149, 255, 0.42);
}

.fh-floor__door {
  fill: none;
  stroke: var(--fh-lime);
  stroke-width: 2.5;
}

.fh-openstate__state {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.fh-openstate__detail {
  margin-top: 0.25rem;
  color: var(--fh-muted);
  font-size: 0.88rem;
}

.fh-openstate__clock {
  margin: 0.35rem 0 1rem;
  color: var(--fh-fine);
  font-size: 0.72rem;
}

.fh-hours {
  font-size: 0.82rem;
}

.fh-hours th,
.fh-hours td {
  padding: 0.4rem 0;
  border-top: 1px solid var(--fh-line);
  text-align: left;
  font-weight: 620;
}

.fh-hours th {
  color: var(--fh-muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.fh-hours tr.is-today th,
.fh-hours tr.is-today td {
  color: var(--fh-lime);
  font-weight: 780;
}

.fh-where__line {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
  color: var(--fh-muted);
  font-size: 0.85rem;
}

.fh-where__line .fh-icon {
  margin-top: 0.22rem;
  color: var(--fh-lime);
}

.fh-where__line a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--fh-paper);
}

.fh-where__sub {
  margin: 1.1rem 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fh-fine);
}

.fh-where__list {
  display: grid;
  gap: 0.35rem;
  padding: 0;
  margin: 0 0 1rem;
  list-style: none;
  color: var(--fh-muted);
  font-size: 0.83rem;
}

.fh-where__list li {
  position: relative;
  padding-left: 1rem;
}

.fh-where__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 1px;
  background: var(--fh-lime);
}

/* ---------------------------------------------------------------- footer -- */

.fh-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2.5rem, 5vw, 4rem) var(--fh-pad) clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--fh-line);
  background: #000;
}

.fh-footer__brand p {
  margin-top: 0.85rem;
  max-width: 20rem;
  color: var(--fh-muted);
  font-size: 0.88rem;
}

.fh-footer__meta {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.fh-footer__label {
  max-width: 48rem;
  color: var(--fh-muted);
  font-size: 0.8rem;
}

.fh-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}

.fh-footer__links a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--fh-lime);
  font-size: 0.82rem;
  font-weight: 700;
}

.fh-footer__credit {
  color: var(--fh-fine);
  font-size: 0.72rem;
}

.fh-footer__credit a {
  color: var(--fh-fine);
}

.fh-nowrap {
  white-space: nowrap;
}

.fh-noscript {
  padding: 1rem var(--fh-pad);
  background: var(--fh-lime);
  color: var(--fh-ink);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ============================================================ responsive == */

@media (max-width: 1320px) {
  .fh-grid {
    gap: 0.45rem;
  }

  .fh-class {
    padding: 0.65rem 0.55rem;
  }
}

@media (max-width: 1180px) {
  /* Below this the seven-column week stops being readable, so JS switches
     the grid to one day at a time. Without JS every day simply stacks. */
  .fh-js .fh-daytabs {
    display: grid;
  }

  .fh-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

  .fh-day__list {
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    gap: 0.6rem;
  }

  .fh-day__name {
    font-size: 1rem;
  }

  .fh-grid.is-single .fh-day:not(.is-active) {
    display: none;
  }

  .fh-pricing__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .fh-scale__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fh-visit__grid {
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  }

  .fh-plans {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  }
}

@media (max-width: 980px) {
  .fh-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 70;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5.5rem var(--fh-pad) 2rem;
    background: var(--fh-void);
    transform: translateY(-102%);
    transition: transform 220ms ease;
    visibility: hidden;
  }

  .fh-nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .fh-nav > a:not(.fh-btn) {
    min-height: 3.25rem;
    border-bottom: 1px solid var(--fh-line);
    font-size: 1.05rem;
  }

  .fh-nav > .fh-btn {
    margin-top: 1.25rem;
  }

  .fh-menu-toggle {
    display: inline-flex;
  }

  .fh-start {
    grid-template-columns: minmax(0, 1fr);
  }

  .fh-start__figure {
    max-width: 27rem;
    justify-self: start;
  }

  .fh-footer {
    grid-template-columns: minmax(0, 1fr);
  }

  section > .fh-sec-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0.85rem;
  }
}

@media (max-width: 760px) {
  .fh-preview {
    flex-wrap: wrap;
    gap: 0.2rem 0.9rem;
    padding-block: 0.35rem;
    justify-content: flex-start;
    font-size: 0.66rem;
  }

  .fh-preview__note {
    order: 3;
    width: 100%;
    text-align: left;
  }

  .fh-hero {
    padding-top: clamp(2.5rem, 12vw, 4rem);
  }

  .fh-hero__media img {
    object-position: 60% 55%;
  }

  .fh-hero__wash {
    background:
      linear-gradient(
        180deg,
        rgba(11, 12, 11, 0.92) 0%,
        rgba(11, 12, 11, 0.8) 40%,
        rgba(11, 12, 11, 0.95) 76%,
        var(--fh-void) 100%
      );
  }

  .fh-ribbon__days {
    gap: 0.25rem;
  }

  .fh-ribbon__day {
    min-height: 4.6rem;
    padding-inline: 0.15rem;
  }

  .fh-ribbon__abbr {
    font-size: 0.62rem;
    letter-spacing: 0.02em;
  }

  .fh-calc__bars li {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 0.45rem;
  }

  .fh-bar {
    grid-column: 1 / -1;
    order: 3;
  }

  .fh-day__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .fh-scale__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Seven narrow cells stop working on a phone, so the week becomes a list of
     the days that actually have something in them. */
  .fh-week__strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }

  .fh-week__cell {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    align-items: center;
    min-height: 0;
    padding: 0.5rem 0.6rem;
  }

  .fh-week__cell:not(.is-on) {
    display: none;
  }

  .fh-week__cellday {
    text-align: left;
  }

  .fh-class {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.9rem;
    align-items: start;
    padding: 0.85rem 0.85rem 0.9rem;
  }

  .fh-class__time {
    grid-row: span 6;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-width: 3.6rem;
    padding-right: 0.9rem;
    border-right: 1px solid var(--fh-line);
    align-self: stretch;
  }

  .fh-class .fh-book {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  /* Seven tabs across a phone: drop to one letter each rather than making the
     strip scroll sideways. The full day name is still the accessible name. */
  .fh-daytab__abbr {
    display: none;
  }

  .fh-daytab__initial {
    display: inline;
  }

  .fh-daytab {
    gap: 0.25rem;
    padding-inline: 0.2rem;
  }
}

@media (max-width: 460px) {
  .fh-scale__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .fh-calc__value {
    font-size: 1.2rem;
  }

  .fh-hero__actions .fh-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .fh-btn:hover {
    transform: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --fh-line: rgba(240, 239, 233, 0.34);
    --fh-line-strong: rgba(240, 239, 233, 0.55);
    --fh-muted: #cfd2cb;
    --fh-fine: #c2c6bf;
  }
}

@media print {
  .fh-header,
  .fh-preview,
  .fh-skip {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
