/* Core Fitness and Wellness Centre — the inner pages that load this file: The gym, Memberships, Trainers,
   Bootcamp, Stories, Contact, Book a free visit and the privacy notice (every other page uses styles.css alone)
   Each page opens the way the home page does: a photo falling into black, an outlined headline that
   fills out, the cog and the page's name in faint outline. Then each page has one moment of its own:
   The gym     the five areas as photo tiles, and the supplement bar in its own tab
   Memberships the starter pack as a three-month ticket, terms you can see
   Trainers    the seven trainers standing together, then each one's own panel
   Stories     drag between before and after
   Contact     the whole week's opening times on one chart, with a line for right now
   Loaded after styles.css. */

/* the big outline words may run off the screen's edge but never make the page scroll sideways
   (clip, unlike hidden, leaves sticky parts working) */
main { overflow-x: clip; }

/* ---------- Page hero: the home hero, a little shorter ---------- */
/* round ten: about a sixth shorter than before (was 92svh / 52rem), so on tall screens the words sit higher */
.hero-page { min-height: min(78svh, 46rem); padding-bottom: clamp(5rem, 10vw, 8rem); }
.hero-page .hero-sub { max-width: 31rem; }
.hero-page .hero-ghost { font-size: clamp(7rem, 26vw, 24rem); }
/* something rises into the bottom of the hero */
.hero-page.hero-lift { padding-bottom: clamp(9rem, 15vw, 12rem); }
.hero-page .hero-title + .hero-sub { margin-top: 1.4rem; }
.after-hero { padding-top: clamp(1rem, 3vw, 2rem); }

/* when the hero has the live opening light or the free visit button, the header's copies wait until it has scrolled away */
body:has(.hero-status) core-header .header-row > .status-wrap,
body:has(.hero .actions [data-app]) core-header .header-cta { opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.dock-on body:has(.hero-status) core-header .header-row > .status-wrap,
.dock-on body:has(.hero .actions [data-app]) core-header .header-cta { opacity: 1; visibility: visible; }

/* =====================================================================
   The gym
   ===================================================================== */
.tour-360 .tour-frame { border-radius: var(--radius-lg); }
.tour-360 .section-head-row p { margin: 0; }

/* =====================================================================
   Memberships
   ===================================================================== */
.plans-lift { position: relative; z-index: 2; margin-top: calc(-1 * clamp(5rem, 10vw, 7.5rem)); }
/* the starter pack card rises well into the hero, so the hero's smoke, red light and cog fade out before its foot
   and never show through the card as a line (phones set their own fades further down) */
.hero-compact::before, .hero-compact .hero-light, .hero-compact .hero-cog { -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent); mask-image: linear-gradient(180deg, #000 58%, transparent); }
/* pay as you go comes straight after the memberships, under its own heading (no tabs) */
.payg { margin-top: clamp(3.5rem, 8vw, 6rem); }
.payg-head { margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.payg-head p { margin-top: 0.75rem; max-width: 52ch; font-size: 1.05em; color: var(--muted); }
.plans-lift > .plan-help { margin-top: clamp(1.5rem, 3vw, 2rem); }

/* the starter pack: a ticket for three months */
.ticket { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(1.5rem, 4vw, 3rem); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.ticket::before { opacity: 1; }
.ticket .cog { position: absolute; right: -8rem; top: -8rem; width: 24rem; z-index: -1; }
.ticket-title { margin: 0.9rem 0 0; font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 900; font-stretch: 125%; line-height: 0.95; text-transform: uppercase; }
.ticket p { margin-top: 0.9rem; color: var(--silver); max-width: 40ch; }
.months { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; margin: 1.6rem 0 0; padding: 0; }
.months li { position: relative; padding-top: 0.85rem; font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.months li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 0.45rem; border-radius: 999px; background: linear-gradient(90deg, var(--red-deep), var(--red)); box-shadow: 0 0 0.9rem rgba(218, 26, 28, 0.45); transform-origin: left; }
.motion .months li::before { transform: scaleX(0); transition: transform 0.6s var(--ease); transition-delay: calc(0.3s + var(--m, 0) * 180ms); }
.motion .is-in .months li::before { transform: none; }
.ticket-price { position: relative; isolation: isolate; display: grid; justify-items: end; gap: 0.35rem; text-align: right; }
.ticket-price .ghost { right: -0.04em; top: 50%; transform: translateY(-62%); font-size: clamp(8rem, 15vw, 13rem); -webkit-text-stroke-color: rgba(255, 255, 255, 0.12); }
.ticket-price .price { font-size: clamp(3.5rem, 8vw, 6rem); font-weight: 900; font-stretch: 125%; line-height: 0.9; }
.ticket-price .per { font-size: 0.95rem; }
.ticket-price .btn { margin-top: 1.1rem; }
.ticket:target { box-shadow: 0 0 0 2px var(--red-bright); }

.plan-then { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin: clamp(2rem, 4vw, 2.75rem) 0 1rem; font-weight: 700; font-size: 1.1rem; }
.plan-then::after { content: ""; flex: 1; min-width: 4rem; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }

/* 12 months, 6 months, rolling: three columns, each showing its term */
.plan-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.plan-col { display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.4rem, 2.6vw, 2rem); scroll-margin-top: calc(var(--header-h) + 1.5rem); transition: border-color 0.25s, transform 0.4s var(--ease); }
.plan-col:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.plan-col:target { border-color: var(--red-bright); box-shadow: 0 0 0 1px var(--red-bright); }
.motion .plan-col:target, .motion .ticket:target, .motion .pass:target { animation: plan-flash 1.6s var(--ease); }
.plan-col h3 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; font-size: clamp(1.35rem, 2vw, 1.65rem); }
.plan-col-price { margin: 0.25rem 0 0; display: grid; gap: 0.35rem; }
.plan-col-price .price { font-size: clamp(2.8rem, 5vw, 3.8rem); font-weight: 900; font-stretch: 125%; line-height: 0.95; }
.plan-col p { margin: 0; color: var(--muted); }
.plan-col .btn { margin-top: auto; align-self: flex-start; }
.term { display: grid; gap: 0.5rem; }
.term-bar { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.term-bar i { height: 0.5rem; border-radius: 2px; background: rgba(255, 255, 255, 0.1); }
.term-bar i.on { background: linear-gradient(180deg, #E4262A, #B5121A); }
.term-label { font-size: 0.875rem; font-weight: 600; color: var(--silver); }
.motion .term-bar i.on { transform: scaleY(0.2); opacity: 0.3; transition: transform 0.4s var(--ease), opacity 0.4s; transition-delay: calc(0.25s + var(--t, 0) * 45ms); }
.motion .is-in .term-bar i.on { transform: none; opacity: 1; }
.plan-col-best { border-color: rgba(255, 255, 255, 0.22); }

/* pay as you go: three tiles */
.passes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pass { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 0.6rem; align-content: start; padding: clamp(1.4rem, 2.6vw, 2rem); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.pass:target { border-color: var(--red-bright); box-shadow: 0 0 0 1px var(--red-bright); }
.pass .ghost { right: -0.08em; bottom: -0.2em; font-size: clamp(6rem, 11vw, 9rem); -webkit-text-stroke-color: rgba(255, 255, 255, 0.09); }
.pass h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
.pass .price { font-size: clamp(2.8rem, 5vw, 3.8rem); font-weight: 900; font-stretch: 125%; line-height: 0.95; }
.pass p { margin: 0; color: var(--muted); }
.pass .tag { justify-self: start; margin-top: 0.5rem; }

/* =====================================================================
   Trainers
   ===================================================================== */
.hero.hero-team { display: block; min-height: 0; padding: calc(var(--header-h) + clamp(2rem, 6vw, 4.5rem)) 0 0; }
.hero-team .hero-ghost { bottom: auto; top: calc(var(--header-h) + 9rem); }
/* the headline keeps its full size; the words beside it drop underneath when there is no room */
.team-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem clamp(2rem, 5vw, 4rem); }
.team-head .hero-title { flex: none; margin-top: 0; }
.team-head > div { flex: 1 1 20rem; max-width: 30rem; }
.team-head .hero-sub { margin-top: 0; }
.team-head .actions { margin-top: 1.5rem; }

/* one cut-out per trainer, scaled so every head is the same size, standing in a row.
   Each photo carries: --bn neck height and --bh photo height (both in head units), --bx head centre (0 to 1). */
.bust-fig { position: absolute; inset: 0 -45%; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 1.2 * var(--u)), transparent calc(100% - 0.05 * var(--u))); mask-image: linear-gradient(180deg, #000 calc(100% - 1.2 * var(--u)), transparent calc(100% - 0.05 * var(--u))); }
.bust-fig img { position: absolute; left: 50%; top: calc(var(--neck) - var(--bn) * var(--u)); width: auto; height: calc(var(--bh) * var(--u)); max-width: none; transform: translateX(calc(var(--bx) * -100%)); filter: contrast(1.06); }

.busts { --u: clamp(3.4rem, 6.2vw, 5.6rem); --neck: calc(1.35 * var(--u) + 0.6rem); position: relative; isolation: isolate; display: flex; justify-content: center; list-style: none; margin: clamp(1.5rem, 4vw, 2.75rem) 0 0; padding: 0; }
/* a red floor light under the line-up */
.busts::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: 2.75rem; height: 70%; z-index: -1; background: radial-gradient(50% 70% at 50% 100%, rgba(218, 26, 28, 0.55), transparent 72%); pointer-events: none; }
.busts li { position: relative; flex: none; width: calc(2.55 * var(--u)); margin-inline: calc(-0.24 * var(--u)); z-index: var(--z, 1); }
.busts a { position: relative; display: block; height: calc(var(--neck) + 1.45 * var(--u) + 3.4rem); text-decoration: none; color: var(--text); }
.busts .bust-fig { bottom: 3.4rem; }
.busts .bust-fig img { translate: calc(var(--mx, 0) * var(--d, 6) * 1px) var(--lift, 0); transition: translate 0.5s var(--ease), filter 0.45s var(--ease); }
.bust-name { position: absolute; left: 0; right: 0; bottom: 0; display: grid; justify-items: center; gap: 0.1rem; padding-top: 0.5rem; text-align: center; font-weight: 700; line-height: 1.2; transition: color 0.25s; }
.bust-name small { font-size: 0.8rem; font-weight: 500; color: var(--muted); }
/* tablets and small laptops: full names and roles would run into (or touch) each other, so each trainer shows a first name, as on phones */
@media (max-width: 75rem) {
  .bust-name small, .bust-name .surname { display: none; }
  .busts a { height: calc(var(--neck) + 1.45 * var(--u) + 2.4rem); }
  .busts .bust-fig { bottom: 2.4rem; }
}
.busts:has(a:hover, a:focus-visible) a:not(:hover, :focus-visible) img { filter: grayscale(1) brightness(0.45); }
.busts a:hover, .busts a:focus-visible { --lift: -0.5rem; color: var(--red-bright); }
.busts a:focus-visible { outline: none; }
.busts a:focus-visible .bust-name { text-decoration: underline; text-decoration-color: var(--red-bright); text-underline-offset: 0.3em; }
.motion .busts li { opacity: 0; transform: translate3d(0, 2.5rem, 0); transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: calc(0.55s + var(--i, 0) * 110ms); }
.motion.is-entered .busts li { opacity: 1; transform: none; }

/* each trainer: a tall lit panel with the cut-out, beside their words
   (no scroll-margin: the page's scroll-padding already keeps a linked trainer clear of the header) */
.trainer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 6vw, 5.5rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); border-top: 1px solid var(--line); }
.trainer:nth-child(even) .trainer-fig { order: 2; }
.trainer-fig { --u: clamp(4.6rem, 7.6vw, 7rem); --neck: calc(100% - 1.45 * var(--u)); position: relative; isolation: isolate; overflow: hidden; height: clamp(19rem, 34vw, 28rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: radial-gradient(70% 62% at 50% 100%, rgba(218, 26, 28, 0.55), transparent 72%), radial-gradient(60% 50% at 50% 0%, rgba(255, 255, 255, 0.05), transparent 70%), var(--bg-2); }
.trainer-fig .ghost { z-index: 0; left: 50%; top: 0.35em; transform: translateX(-50%); font-size: clamp(5rem, 11vw, 9.5rem); text-transform: uppercase; -webkit-text-stroke-color: rgba(255, 255, 255, 0.13); }
.trainer-fig .bust-fig { z-index: 1; }
.trainer-fig .bust-fig img { transition: transform 0.9s var(--ease), filter 0.6s var(--ease); }
.trainer:hover .trainer-fig .bust-fig img { filter: contrast(1.1) brightness(1.05); }
.trainer h2 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 900; font-stretch: 125%; line-height: 0.95; text-transform: uppercase; }
.trainer .profile-role { margin: 0.9rem 0 1.25rem; }
.trainer p { color: var(--silver); }
.trainer-short p { font-size: 1.2em; }
.trainer .actions { margin-top: 1.75rem; }

/* "Find the one who fits": one column, and on wide screens the heading and button on the left, the words on the right
   (the button stays on the left, clear of the floating £99 card) */
.fits-band > .lead { margin-top: 1rem; }
@media (min-width: 64rem) {
  .fits-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
  .fits-band > h2 { grid-area: 1 / 1 / 3 / 2; }
  .fits-band > .lead { grid-area: 1 / 2; margin-top: 0.35rem; }
  .fits-band > .muted { grid-area: 2 / 2; }
  .fits-band > .actions { grid-area: 3 / 1; }
}

/* a drop-down, closed to start with, so the page is shorter: the trainer bios and the athlete stories (details.drop > summary + .drop-body) */
.drop { max-width: 40rem; }
.drop summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; padding: 0.5rem 0.55rem 0.5rem 1.15rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.03); list-style: none; cursor: pointer; font-family: var(--font-display); font-size: 0.875rem; font-weight: 800; font-stretch: 110%; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text); transition: border-color 0.2s, background-color 0.2s; }
.drop summary::-webkit-details-marker { display: none; }
/* the red chevron in a ring: points down when closed, turns to point up when open */
.drop summary::after { content: ""; flex: none; width: 2.375rem; height: 2.375rem; border: 1px solid rgba(255, 69, 72, 0.55); border-radius: 50%; background: rgba(218, 26, 28, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 5.75 8 10.25l4.5-4.5' fill='none' stroke='%23FF4548' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1rem no-repeat; transition: transform 0.35s var(--ease), background-color 0.2s, border-color 0.2s; }
/* hover only with a mouse, so a tapped toggle on a phone goes back to grey when closed */
@media (hover: hover) {
  .drop summary:hover { border-color: rgba(255, 69, 72, 0.6); background-color: rgba(218, 26, 28, 0.08); }
  .drop summary:hover::after { border-color: var(--red-bright); background-color: rgba(218, 26, 28, 0.22); }
}
.drop summary:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.drop[open] summary { border-color: rgba(255, 69, 72, 0.5); }
.drop[open] summary::after { transform: rotate(180deg); border-color: var(--red); background-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 5.75 8 10.25l4.5-4.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.drop-body { padding-top: 1.4rem; }
.drop-body > :last-child { margin-bottom: 0; }
/* with animations on, it slides open and fades in where the browser can do it; elsewhere it opens at once */
.motion .drop::details-content { block-size: 0; opacity: 0; overflow: clip; transition: block-size 0.45s var(--ease), opacity 0.35s var(--ease), content-visibility 0.45s allow-discrete; }
.motion .drop[open]::details-content { block-size: auto; opacity: 1; }
/* opened by a link (site.js adds .is-jump for a moment): it opens at once, so the jump lands where it should */
.motion .drop.is-jump::details-content { transition: none; }
/* print: every drop-down shows in full, without the button */
@media print {
  .drop summary { display: none; }
  .drop::details-content, .motion .drop::details-content { content-visibility: visible; block-size: auto; opacity: 1; transition: none; }
  .drop-body { padding-top: 0; }
}

/* =====================================================================
   Stories
   ===================================================================== */
.honour-row { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem clamp(1.25rem, 3vw, 2.5rem); margin: 0; padding: 0; }
.honour-row li { position: relative; border-top: 1px solid var(--line-strong); }
.honour-row li::before { content: ""; position: absolute; top: -2px; left: 0; width: 3.5rem; height: 3px; border-radius: 3px; background: var(--red); transform-origin: left; }
.motion .honour-row li::before { transform: scaleX(0); transition: transform 0.9s var(--ease) 0.25s; }
.motion .honour-row li.is-in::before { transform: none; }
.honour-row a { display: grid; gap: 0.6rem; padding-top: 1.25rem; text-decoration: none; }
.honour-fig { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 0.9; letter-spacing: -0.01em; text-transform: uppercase; color: #fff; transition: color 0.25s; }
.honour-text { color: var(--muted); line-height: 1.45; }
.honour-text b { display: block; color: var(--text); }
.honour-row a:hover { color: var(--text); }
.honour-row a:hover .honour-fig { color: var(--red-bright); }

/* each story is a chapter, with the surname in outline behind it
   (no scroll-margin: the page's scroll-padding already keeps a linked story clear of the header) */
.chapter { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2.25rem clamp(2rem, 6vw, 5.5rem); align-items: center; padding-block: clamp(3.5rem, 8vw, 6.5rem); border-top: 1px solid var(--line); }
.chapter:nth-child(even) .chapter-media { order: 2; }
.chapter-ghost { position: absolute; z-index: -1; top: clamp(1.5rem, 4vw, 3rem); right: -0.04em; font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: clamp(4.5rem, 14vw, 12.5rem); line-height: 0.8; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07); pointer-events: none; -webkit-user-select: none; user-select: none; transform: translate3d(calc(var(--p, 0.5) * -6rem + 3rem), 0, 0); }
.chapter:nth-child(even) .chapter-ghost { right: auto; left: -0.04em; transform: translate3d(calc(var(--p, 0.5) * 6rem - 3rem), 0, 0); }
.no-motion .chapter-ghost { transform: none; }
.chapter h2 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 900; font-stretch: 125%; line-height: 0.95; text-transform: uppercase; }
.chapter .story-kicker { margin: 0.9rem 0 1.4rem; }
.chapter p { color: var(--silver); }
.chapter .honours li { position: relative; }

/* before and after: drag the line */
.compare { --cut: 50%; position: relative; isolation: isolate; margin: 0; aspect-ratio: 4 / 5; max-height: min(40rem, 78svh); width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--cut)) 0 0); }
.compare-before img { filter: grayscale(0.35) brightness(0.92); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--cut); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 1rem rgba(0, 0, 0, 0.6); pointer-events: none; }
.compare-knob { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, var(--red) 0 58%, #fff 60%); box-shadow: 0 0 0 0.35rem rgba(218, 26, 28, 0.3), 0 0.5rem 1.5rem rgba(0, 0, 0, 0.5); }
.compare-knob svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.compare-tag { position: absolute; bottom: 0.9rem; z-index: 2; pointer-events: none; }
.compare-tag-before { left: 0.9rem; }
.compare-tag-after { right: 0.9rem; }
.compare .tag { background: rgba(5, 5, 6, 0.75); border: 1px solid var(--line-strong); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.compare-tag-after .tag { background: var(--red); border-color: var(--red); }
.compare input { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare:has(input:focus-visible) { outline: 2px solid var(--text); outline-offset: 3px; }
.compare-help { margin: 0.75rem 0 0; font-size: 0.9rem; color: var(--muted); }
/* once it is on screen, the line swings once to show it moves */
@property --cut { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
.motion .compare.is-in { animation: compare-hint 1.8s var(--ease) 0.6s; }
@keyframes compare-hint { 0% { --cut: 50%; } 35% { --cut: 28%; } 70% { --cut: 68%; } 100% { --cut: 50%; } }

/* two photos layered with depth */
.layered { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
.layered .photo { margin: 0; }
.layered .photo:first-child { grid-column: 1 / 9; grid-row: 1; z-index: 1; }
.layered .photo:last-child { grid-column: 6 / 13; grid-row: 1; z-index: 2; margin-top: 38%; box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.6); border: 1px solid var(--line); }
.layered-tall .photo { aspect-ratio: 3 / 4; }
.layered-wide .photo { aspect-ratio: 3 / 2; }
.layered-wide .photo:first-child { grid-column: 1 / 11; }
.layered-wide .photo:last-child { grid-column: 4 / 13; margin-top: 44%; }
.layered .photo:last-child { translate: 0 calc((0.5 - var(--p, 0.5)) * 3rem); }
.no-motion .layered .photo:last-child { translate: none; }

/* what members say: a carousel of quote cards (the .quote card itself is in styles.css). The row scrolls sideways
   and snaps to each card, lined up with the heading, with the next one peeking in, dimmed.
   site.js (initQuotes) adds the dots and arrows under it; nothing moves on its own. */
.quote-track { --qgap: clamp(0.75rem, 2vw, 1.5rem); position: relative; display: flex; gap: var(--qgap); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding: 0.25rem var(--gutter) 0.5rem; scrollbar-width: none; }
.quote-track::-webkit-scrollbar { display: none; }
.motion .quote-track { scroll-behavior: smooth; }
.quote-track:focus-visible { outline: 2px solid var(--red-bright); outline-offset: -2px; border-radius: var(--radius); }
.quote-track .quote { flex: 0 0 84%; scroll-snap-align: start; scroll-snap-stop: always; gap: 1.25rem; padding: clamp(1.5rem, 3.5vw, 2.75rem); transition: opacity 0.4s var(--ease), border-color 0.4s; }
.quote-track .quote svg { width: 2.5rem; height: 2.5rem; }
.quote-track .quote blockquote { font-size: clamp(1.3rem, 2.3vw, 1.9rem); font-weight: 700; font-stretch: 105%; line-height: 1.25; }
.quote-carousel.is-ready .quote:not(.is-current) { opacity: 0.5; }
.quote-carousel.is-ready .quote.is-current { border-color: rgba(255, 69, 72, 0.4); }
@media (min-width: 48.0625rem) {
  /* wider cards, and a spacer after the last one so it can line up with the heading too */
  .quote-track { --qw: 62%; }
  .quote-track::after { content: ""; flex: 0 0 calc(100% - var(--qw) - var(--qgap)); }
  .quote-track .quote { flex-basis: var(--qw); }
}
@media (min-width: 70.0625rem) { .quote-track { --qw: 54%; } }

/* the dots (where you are; tap one to go there) and, on wider screens, the previous and next arrows beside them,
   on the left, where the floating £99 card at the bottom right never covers them */
.quote-controls { display: flex; align-items: center; justify-content: flex-start; gap: 1.5rem; margin-top: 1.25rem; }
.quote-dots { display: flex; margin-left: -0.6rem; }
.quote-dot { position: relative; width: 2.25rem; height: 2.75rem; padding: 0; border: 0; border-radius: 999px; background: none; cursor: pointer; }
.quote-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 0.6rem; height: 0.6rem; border-radius: 999px; translate: -50% -50%; background: rgba(255, 255, 255, 0.3); transition: width 0.3s var(--ease), background-color 0.2s; }
.quote-dot[aria-current="true"]::before { width: 1.6rem; background: var(--red); }
.quote-dot:focus-visible { outline-offset: -4px; }
.quote-arrows { display: flex; gap: 0.6rem; }
.quote-arrow { display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0; border: 1px solid rgba(255, 69, 72, 0.55); border-radius: 50%; background: rgba(218, 26, 28, 0.1); color: var(--red-bright); cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s; }
.quote-arrow svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.quote-arrow[aria-disabled="true"] { opacity: 0.35; cursor: default; }
@media (hover: hover) {
  .quote-dot:hover::before { background: rgba(255, 255, 255, 0.6); }
  .quote-dot[aria-current="true"]:hover::before { background: var(--red-bright); }
  .quote-arrow:not([aria-disabled="true"]):hover { border-color: var(--red); background-color: var(--red); color: #fff; }
}
@media (max-width: 48rem) {
  .quote-controls { justify-content: center; }
  .quote-dots { margin-left: 0; }
  .quote-arrows { display: none; }
}
@media print {
  .quote-track { display: grid; gap: 1rem; overflow: visible; margin: 0; padding: 0; }
  .quote-track::after, .quote-controls { display: none; }
  .quote-carousel.is-ready .quote:not(.is-current) { opacity: 1; }
}

/* a closing band with a photo behind the words */
.band-photo { min-height: clamp(20rem, 34vw, 26rem); }
.band-photo .band-bg { position: absolute; inset: 0; z-index: -2; margin: 0; border-radius: 0; background: none; }
.band-photo .band-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; filter: contrast(1.1) brightness(0.55) saturate(0.85); }
.band-photo .band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 5, 6, 0.94) 0%, rgba(5, 5, 6, 0.75) 45%, rgba(90, 8, 10, 0.35) 100%); }
.band-photo .cog { z-index: -1; }

/* =====================================================================
   Contact
   ===================================================================== */
/* two cards (call and email), side by side; phones keep the row you swipe */
@media (min-width: 48.0625rem) {
  .contact-facts { grid-template-columns: 1fr 1fr; }
}
.contact-facts .fact-figure { font-size: clamp(1.45rem, 2.1vw, 1.95rem); }
.contact-facts .fact-figure.fact-email { font-size: clamp(1rem, 1.4vw, 1.25rem); font-weight: 800; font-stretch: 100%; line-height: 1.2; text-transform: none; white-space: normal; }

/* the week on one chart: a bar for each day's hours and a line for right now */
.week-chart { --dw: 11rem; --tw: 10.75rem; --gap: 1.25rem; --pad: clamp(1.25rem, 3vw, 2.25rem); --from: 6; --span: 16; position: relative; padding: var(--pad); }
.wc-axis { display: grid; grid-template-columns: var(--dw) minmax(0, 1fr) var(--tw); gap: var(--gap); margin-bottom: 0.6rem; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.wc-axis-ticks { position: relative; height: 1.2rem; grid-column: 2; }
.wc-axis-ticks span { position: absolute; left: calc((var(--h) - var(--from)) / var(--span) * 100%); translate: -50% 0; white-space: nowrap; }
.wc-days { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
.wc-days li { position: relative; display: grid; grid-template-columns: var(--dw) minmax(0, 1fr) var(--tw); gap: var(--gap); align-items: center; min-height: 2.75rem; padding: 0.25rem 0; border-radius: 0.9rem; transition: background-color 0.3s; }
/* a little more space before the weekend */
.wc-days li:nth-child(6) { margin-top: 0.6rem; }
.wc-day { padding-left: 0.85rem; font-weight: 700; white-space: nowrap; }
/* the full day name shows on wide screens; phones show the short one, and screen readers always get the full one */
.wc-short { display: none; }
.wc-track { position: relative; height: 1.25rem; border-radius: 999px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px calc(100% / 16)), rgba(255, 255, 255, 0.035); }
.wc-bar { position: absolute; top: 0; bottom: 0; left: calc((var(--o) - var(--from)) / var(--span) * 100%); width: calc((var(--c) - var(--o)) / var(--span) * 100%); border-radius: 999px; background: linear-gradient(90deg, rgba(165, 18, 20, 0.9), var(--red)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18); transform-origin: left; }
.motion .wc-bar { transform: scaleX(0); transition: transform 0.9s var(--ease); transition-delay: calc(0.15s + var(--r, 0) * 70ms); }
.motion .is-in .wc-bar { transform: none; }
.wc-time { padding-right: 0.85rem; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--silver); }
.wc-days li.is-today { background: rgba(218, 26, 28, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 69, 72, 0.4); }
.wc-days li.is-today .wc-time { color: var(--text); font-weight: 700; }
.wc-days li.is-today .wc-bar { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 0.9rem rgba(218, 26, 28, 0.55); }
.wc-days li.is-today .wc-day::after { content: "Today"; display: inline-block; margin-left: 0.55rem; padding: 0.15rem 0.5rem; border-radius: 999px; background: var(--red); color: #fff; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.1em; line-height: 1.3; text-transform: uppercase; vertical-align: 0.2em; }
/* the line for right now, across every day */
.wc-now { position: absolute; z-index: 2; top: calc(var(--pad) + 1.8rem); bottom: var(--pad); left: calc(var(--pad) + var(--dw) + var(--gap) + (100% - 2 * var(--pad) - var(--dw) - var(--tw) - 2 * var(--gap)) * (var(--now-h, 12) - var(--from)) / var(--span)); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0.6rem rgba(255, 255, 255, 0.7); pointer-events: none; }
.wc-now span { position: absolute; top: -3rem; left: 50%; translate: -50% 0; padding: 0.15rem 0.55rem; border-radius: 999px; background: #fff; color: #0B0B0D; font-size: 0.75rem; font-weight: 800; white-space: nowrap; }
.week-chart.is-off-axis .wc-now { display: none; }
/* without JavaScript there is no real time to show, so no line */
html:not(.js) .wc-now { display: none; }
.hours-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 3rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.hours-head .visit-status { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
.hours-head .visit-status span:not(.status-dot) { display: inline; }

.find-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 5vw, 4.5rem); align-items: center; }
.find-grid .map-box { aspect-ratio: 16 / 10; }
.map-pin { position: absolute; left: 50%; top: 42%; width: 9rem; translate: -50% -50%; opacity: 0.9; pointer-events: none; }
.map-pin .cog path { fill: rgba(218, 26, 28, 0.1); stroke: rgba(218, 26, 28, 0.7); }
.map-box > div { position: relative; z-index: 1; }
.address-big { margin: 1.25rem 0 0; font-family: var(--font-display); font-weight: 800; font-stretch: 110%; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -0.01em; }

/* =====================================================================
   Bootcamp
   ===================================================================== */
.camp-next { cursor: default; }
.camp-clock { position: relative; flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 2px solid var(--red-bright); box-shadow: 0 0 0.8rem rgba(218, 26, 28, 0.5); }
.camp-clock::before, .camp-clock::after { content: ""; position: absolute; left: 50%; bottom: 50%; width: 2px; margin-left: -1px; background: #fff; border-radius: 2px; transform-origin: 50% 100%; }
.camp-clock::before { height: 0.55rem; }               /* the hour hand on 6 */
.camp-clock::after { height: 0.7rem; transform: rotate(180deg); }
.camp-clock::before { transform: rotate(180deg); }
.camp-clock::after { transform: rotate(0deg); }        /* the minute hand on 12 */
.motion .camp-clock::after { animation: tick 6s steps(60) infinite; }
@keyframes tick { to { transform: rotate(360deg); } }

.camp-week { position: relative; z-index: 2; margin-top: calc(-1 * clamp(5rem, 10vw, 7.5rem)); padding: clamp(1rem, 2.5vw, 1.75rem); background-color: rgba(12, 12, 14, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.camp-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.6rem; }
.camp-days li { display: grid; justify-items: center; gap: 0.35rem; padding: clamp(0.8rem, 2vw, 1.4rem) 0.25rem; border: 1px solid var(--line); border-radius: 1.1rem; background: rgba(255, 255, 255, 0.03); color: var(--muted); }
.camp-days b { font-family: var(--font-display); font-weight: 800; font-stretch: 110%; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.camp-days span { font-size: 0.875rem; }
.camp-days li.on { border-color: rgba(218, 26, 28, 0.6); background: linear-gradient(180deg, rgba(218, 26, 28, 0.35), rgba(165, 18, 20, 0.12)); color: var(--text); }
.camp-days li.on span { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: clamp(1.4rem, 3vw, 2.4rem); line-height: 1; text-transform: uppercase; color: #fff; }
.camp-days li.is-next { border-color: var(--red-bright); box-shadow: 0 0 0 2px var(--red-bright), 0 0 1.75rem rgba(218, 26, 28, 0.55); }
.camp-days li.is-today b::after { content: " · today"; color: var(--red-bright); }
.camp-week-note { margin: 1rem 0 0; max-width: none; text-align: center; color: var(--muted); }

.camp-price { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 0.75rem; justify-items: start; padding: clamp(1.75rem, 4vw, 3rem); }
.camp-price .ghost { right: -0.06em; bottom: -0.2em; font-size: clamp(9rem, 18vw, 15rem); -webkit-text-stroke-color: rgba(255, 255, 255, 0.1); }
.camp-figure { margin: 0.25rem 0 0; display: flex; align-items: baseline; gap: 0.75rem; }
.camp-figure .price { font-size: clamp(4rem, 9vw, 6.5rem); font-weight: 900; font-stretch: 125%; line-height: 0.9; }
.camp-figure .per { font-size: 1.1rem; }
.camp-sum { margin: 0 0 0.75rem; color: var(--silver); }

/* your coaches: each coach's cartoon in a lit panel, cropped at the waist like the trainers page panels,
   with their first name and a link to their bio. The whole card is the link. --hx is where the head sits across the picture (0 to 1). */
.camp-coaches { padding-bottom: 0; }
.coach-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.6rem, 2.2vw, 1.75rem); }
.coach { overflow: hidden; display: grid; justify-items: center; align-content: start; gap: 0.35rem; padding-bottom: clamp(1rem, 2.6vw, 1.75rem); text-align: center; border-color: rgba(255, 69, 72, 0.28); background: #0B0B0D; transition: border-color 0.25s; }
.coach-fig { container-type: inline-size; position: relative; isolation: isolate; overflow: hidden; width: 100%; height: clamp(10.5rem, 30vw, 21rem); margin-bottom: 0.65rem;
  background: radial-gradient(70% 62% at 50% 100%, rgba(218, 26, 28, 0.6), transparent 72%), conic-gradient(from 180deg at 50% -10%, transparent 160deg, rgba(255, 255, 255, 0.09) 175deg, rgba(255, 255, 255, 0.13) 180deg, rgba(255, 255, 255, 0.09) 185deg, transparent 200deg); }
.coach-fig::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 2; background: linear-gradient(90deg, transparent, #FF4548 30%, #FF4548 70%, transparent); box-shadow: 0 0 18px rgba(255, 69, 72, 0.8); }
.coach-fig .ghost { z-index: -1; left: 50%; top: 0.4em; transform: translateX(-50%); font-size: 19cqi; text-transform: uppercase; -webkit-text-stroke: 1.5px rgba(255, 90, 93, 0.5); color: rgba(255, 69, 72, 0.06); }
.coach-fig img { position: absolute; left: 50%; top: 9%; width: auto; height: 165%; max-width: none; translate: calc(var(--hx, 0.5) * -100%) 0; filter: drop-shadow(0 0.9rem 1.2rem rgba(0, 0, 0, 0.7)); transition: transform 0.9s var(--ease);
  -webkit-mask-image: linear-gradient(180deg, #000 47%, transparent 55%); mask-image: linear-gradient(180deg, #000 47%, transparent 55%); }
.coach-mark { --hx: 0.567; }
.coach-abbey { --hx: 0.555; }
.coach-alan { --hx: 0.531; }
.coach h3 { padding-inline: 0.4rem; font-size: clamp(1.05rem, 2.6vw, 2rem); font-weight: 900; font-stretch: 125%; line-height: 1; text-transform: uppercase; }
.coach-link { padding-inline: 0.4rem; font-size: clamp(0.8125rem, 1.4vw, 0.9375rem); font-weight: 700; line-height: 1.3; color: var(--red-bright); text-decoration: underline; text-decoration-color: rgba(255, 69, 72, 0.5); text-underline-offset: 0.25em; }
.coach-link::before { content: ""; position: absolute; inset: 0; z-index: 3; }
/* the focus ring goes round the whole card; a browser without :has() keeps the link's own ring */
@supports selector(:has(*)) {
  .coach-link:focus-visible { outline: none; }
  .coach:has(.coach-link:focus-visible) { outline: 2px solid var(--text); outline-offset: 3px; }
}
@media (hover: hover) {
  .coach:hover { border-color: rgba(255, 69, 72, 0.6); }
  .coach:hover .coach-fig img { transform: translateY(-0.35rem); }
  .coach-link:hover { color: var(--text); text-decoration-color: var(--red-bright); }
}
.no-motion .coach:hover .coach-fig img { transform: none; }

@media (max-width: 48rem) {
  .camp-week { margin-top: -3rem; }
  .camp-days { gap: 0.3rem; }
  .camp-days li { border-radius: 0.8rem; padding-inline: 0; }
  .camp-days b { font-size: 0.7rem; letter-spacing: 0.04em; }
  .camp-days span { font-size: 0.7rem; }
  .camp-days li.on span { font-size: 1rem; }
  .camp-days li.is-today b::after { content: ""; }
  /* coach cards: a smaller corner, so the outline name clears it, and each link fits on one line */
  .coach { border-radius: var(--radius); }
  .coach-link { padding-inline: 0; font-size: clamp(0.6875rem, 3.4vw, 0.8125rem); }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 70rem) and (min-width: 48.0625rem) {
  .plan-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
  .plan-col { padding: 1.25rem; }
  .plan-col h3 .tag { white-space: normal; }
}

@media (max-width: 60rem) {
  .ticket { grid-template-columns: minmax(0, 1fr); }
  .ticket-price { justify-items: start; text-align: left; }
  .ticket-price .ghost { right: auto; left: -0.04em; }
  .plan-cols, .passes { grid-template-columns: minmax(0, 1fr); }
  .plan-col .btn { align-self: stretch; }
  .week-chart { --dw: 10.5rem; --tw: 10.25rem; --gap: 0.85rem; }
  .find-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 48rem) {
  /* phones: the hero is mostly as tall as its words, so the headline no longer sinks on taller screens */
  .hero-page { min-height: min(72svh, 40rem); padding-bottom: clamp(3rem, 10vw, 4rem); }
  /* the red light fades out at its foot, so its edge never shows as a line behind the words */
  .hero-page .hero-light { -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent); mask-image: linear-gradient(180deg, #000 50%, transparent); }
  /* the smoke's red glow moves up with the headline */
  .hero-page:not(.hero-team)::before { background: var(--smoke) center / cover, radial-gradient(34rem 17rem at 30% 21.5rem, rgba(165, 18, 20, 0.42), transparent 72%), radial-gradient(22rem 12rem at 100% 30.5rem, rgba(120, 10, 14, 0.36), transparent 75%); }
  .hero-page.hero-lift { padding-bottom: 7.5rem; }
  .hero.hero-team { padding: calc(var(--header-h) + 2rem) 0 0; }
  .hero-team .hero-ghost { top: auto; bottom: 8rem; }

  /* the line-up fits the screen; on phones each trainer shows a first name */
  .busts { --u: 10vw; }
  .busts li { width: calc(2.6 * var(--u)); margin-inline: calc(-0.38 * var(--u)); }
  .busts a { height: calc(var(--neck) + 1.45 * var(--u) + 2.4rem); }
  .busts .bust-fig { bottom: 2.4rem; }
  .bust-name { font-size: 0.875rem; }
  .bust-name small, .bust-name .surname { display: none; }
  /* the three results sit one under another, below Nathan */
  .honour-row { grid-template-columns: minmax(0, 1fr); }
  .trainer, .chapter { grid-template-columns: minmax(0, 1fr); }
  .trainer:nth-child(even) .trainer-fig, .chapter:nth-child(even) .chapter-media { order: 0; }
  .trainer-fig { height: 19rem; --u: 5rem; }

  .band-photo .band-bg::after { background: linear-gradient(180deg, rgba(5, 5, 6, 0.7), rgba(5, 5, 6, 0.94) 70%); }

  /* opening times: one line per day (short name, a slim bar, the hours). The rows share the card's grid so every bar
     lines up; --dw and --tw are only used where that shared grid isn't supported. No now line on phones. */
  .week-chart { --pad: 0.75rem; --rx: 0.6rem; --gap: 0.65rem; --dw: 2.4rem; --tw: 7.4rem; display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; column-gap: var(--gap); }
  .wc-axis, .wc-days, .wc-days li { grid-column: 1 / -1; grid-template-columns: subgrid; }
  .wc-axis { padding: 0 var(--rx); margin-bottom: 0.15rem; font-size: 0.6875rem; }
  .wc-axis-ticks { height: 1rem; }
  .wc-axis-ticks span:nth-child(even) { display: none; }
  .wc-days { gap: 0.15rem var(--gap); }
  .wc-days li { min-height: 0; padding: 0.5rem var(--rx); border-radius: 0.75rem; }
  .wc-days li:nth-child(6) { margin-top: 0.4rem; }
  .wc-day { padding-left: 0; font-family: var(--font-display); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
  .wc-full { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; text-transform: none; }
  .wc-short { display: inline; }
  .wc-track { height: 0.5rem; background: rgba(255, 255, 255, 0.07); }
  .wc-time { padding-right: 0; font-size: 0.875rem; line-height: 1.4; }
  /* today: the pill sits on the row's top edge, so the row stays on one line */
  .wc-days li.is-today { margin-top: 0.5rem; }
  .wc-days li.is-today .wc-day::after { position: absolute; z-index: 1; top: 0; left: var(--rx); translate: 0 -55%; margin: 0; padding: 0.1rem 0.45rem; font-family: var(--font-body); font-size: 0.625rem; letter-spacing: 0.12em; }
  .wc-now { display: none; }
  /* the live status stays on one line */
  .hours-head { margin-bottom: 1.25rem; }
  .hours-head .visit-status { font-size: min(1.6rem, 6.2vw); }
}

@media (max-width: 30rem) {
  .honour-fig { font-size: 2.4rem; white-space: nowrap; }
  .months li { font-size: 0.8rem; }
  /* opening times: the bars get too short for an hour scale, and the times beside them say it all */
  .wc-axis { display: none; }
}

/* small phones: tighter opening times, so each day's bar keeps a useful length */
@media (max-width: 24rem) {
  .week-chart { --pad: 0.625rem; --rx: 0.5rem; --gap: 0.5rem; --dw: 2.2rem; --tw: 6.75rem; }
  .wc-day { font-size: 0.6875rem; letter-spacing: 0.04em; }
  .wc-time { font-size: 0.8125rem; }
}

/* print: the new pieces come out plain */
@media print {
  .busts, .compare-line, .compare input, .wc-now, .chapter-ghost, .band-bg, .map-pin { display: none !important; }
  .compare-before { clip-path: none; position: relative; }
  .wc-bar, .months li::before, .term-bar i { transform: none !important; opacity: 1 !important; }
  /* today's row prints in black, and the Today pill gets an outline, as the red behind it is usually left off paper */
  .wc-days li.is-today .wc-day, .wc-days li.is-today .wc-time { color: #000; }
  .wc-days li.is-today .wc-day::after { background: none; color: #000; border: 1px solid #000; }
}

/* Best value plan (12 months): the same gold as the home starter pack card */
.plan-col-best {
  --gold: #F2C14E; --gold-light: #FFE29A; --gold-deep: #B8862B;
  border-color: rgba(242, 193, 78, 0.65);
  background: radial-gradient(120% 95% at 0% 0%, rgba(242, 193, 78, 0.22), transparent 62%), linear-gradient(160deg, rgba(150, 105, 25, 0.18), rgba(14, 14, 16, 0.95) 58%);
  background-color: rgba(16, 14, 10, 0.94);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.8), 0 0 60px -12px rgba(242, 193, 78, 0.35);
}
.plan-col-best:hover { border-color: var(--gold); }
.plan-col-best .price { background: linear-gradient(180deg, var(--gold-light) 10%, var(--gold) 55%, var(--gold-deep) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 14px rgba(242, 193, 78, 0.3)); }
.plan-col-best .term-bar i.on { background: linear-gradient(180deg, var(--gold-light), var(--gold-deep)); }
.tag.tag-gold { background: linear-gradient(180deg, #FFE29A, #E0A93A); color: #1A1305; border-color: transparent; box-shadow: 0 0 18px rgba(242, 193, 78, 0.35); }
.plan-col-best .btn { border-color: rgba(242, 193, 78, 0.7); color: var(--gold-light); }
.plan-col-best .btn:hover { background: var(--gold); border-color: var(--gold); color: #1A1305; }
/* Best value pass (6 Pack): same gold treatment */
.pass-best {
  --gold: #F2C14E; --gold-light: #FFE29A; --gold-deep: #B8862B;
  border-color: rgba(242, 193, 78, 0.65);
  background: radial-gradient(120% 95% at 0% 0%, rgba(242, 193, 78, 0.22), transparent 62%), linear-gradient(160deg, rgba(150, 105, 25, 0.18), rgba(14, 14, 16, 0.95) 58%);
  background-color: rgba(16, 14, 10, 0.94);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.8), 0 0 60px -12px rgba(242, 193, 78, 0.35);
}
.pass-best h3 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; }
.pass-best .price { background: linear-gradient(180deg, var(--gold-light) 10%, var(--gold) 55%, var(--gold-deep) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 14px rgba(242, 193, 78, 0.3)); justify-self: start; }
.pass-best .ghost { -webkit-text-stroke-color: rgba(242, 193, 78, 0.2); }
/* When a link jumps to a best value card, its highlight is gold rather than red */
.plan-col-best:target, .pass-best:target { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 60px -12px rgba(242, 193, 78, 0.45); }

/* Starter pack ticket in green, matching the home £99 card and the sticky button */
.ticket.plan-featured { border-color: rgba(52, 210, 127, 0.5); background: radial-gradient(90% 150% at 0% 0%, rgba(25, 150, 85, 0.32), rgba(25, 150, 85, 0.09) 46%, transparent 74%) padding-box, linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)) padding-box; box-shadow: 0 0 70px -20px rgba(52, 210, 127, 0.3); }
.ticket.plan-featured:hover { border-color: var(--sp); }
.ticket.plan-featured::before { background: linear-gradient(135deg, #A6F7C8 0%, rgba(52, 210, 127, 0.85) 9%, rgba(255, 255, 255, 0.12) 38%, rgba(255, 255, 255, 0.08) 70%, rgba(52, 210, 127, 0.55) 100%); }
.motion .ticket.plan-featured::after { background: radial-gradient(22rem circle at var(--gx, 50%) var(--gy, 0%), rgba(52, 210, 127, 0.12), transparent 62%); }
.ticket .cog-red path { fill: rgba(52, 210, 127, 0.08); stroke: rgba(52, 210, 127, 0.5); }
.ticket .tag { border-color: rgba(52, 210, 127, 0.4); background: #052414; color: var(--sp); }
.ticket .months li::before { background: linear-gradient(90deg, var(--sp-deep), var(--sp)); box-shadow: 0 0 0.9rem rgba(52, 210, 127, 0.45); }
.ticket-price .price { background: linear-gradient(180deg, var(--sp-light) 10%, var(--sp) 55%, var(--sp-deep) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 16px rgba(52, 210, 127, 0.3)); }
.ticket-price .ghost { -webkit-text-stroke-color: rgba(52, 210, 127, 0.16); }
.ticket .btn-red { background: linear-gradient(180deg, #45E08E 0%, #22B868 100%); color: var(--sp-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0.75rem 1.75rem -0.75rem rgba(52, 210, 127, 0.75); }
.ticket .btn-red:hover { background: linear-gradient(180deg, #5BEA9E 0%, #2AC873 100%); color: var(--sp-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 1rem 2.25rem -0.75rem rgba(52, 210, 127, 0.9); }
.ticket .btn-red::after { background-color: rgba(4, 21, 12, 0.55); }
.ticket:target { box-shadow: 0 0 0 2px var(--sp); }

/* Silver and bronze: the other plans and passes take the next two metals, so gold (best value) still leads.
   Plans: 12 months gold, 6 months silver, rolling bronze. Passes: 6 Pack gold, week pass silver, day pass bronze. */
.tier-silver { --metal-light: #FFFFFF; --metal: #C9CCD2; --metal-deep: #80848C; --metal-rgb: 201, 204, 210; }
.tier-bronze { --metal-light: #F6C9A0; --metal: #CD7F45; --metal-deep: #8C4A22; --metal-rgb: 205, 127, 69; }
.tier-silver, .tier-bronze {
  border-color: rgba(var(--metal-rgb), 0.45);
  background: radial-gradient(120% 95% at 0% 0%, rgba(var(--metal-rgb), 0.13), transparent 62%), linear-gradient(160deg, rgba(var(--metal-rgb), 0.07), rgba(14, 14, 16, 0.95) 58%);
  background-color: rgba(14, 14, 16, 0.94);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.8), 0 0 50px -16px rgba(var(--metal-rgb), 0.25);
}
.tier-silver:hover, .tier-bronze:hover { border-color: var(--metal); }
.tier-silver .price, .tier-bronze .price { background: linear-gradient(180deg, var(--metal-light) 10%, var(--metal) 55%, var(--metal-deep) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 12px rgba(var(--metal-rgb), 0.22)); justify-self: start; }
.tier-silver .term-bar i.on, .tier-bronze .term-bar i.on { background: linear-gradient(180deg, var(--metal-light), var(--metal-deep)); }
.tier-silver .ghost, .tier-bronze .ghost { -webkit-text-stroke-color: rgba(var(--metal-rgb), 0.18); }
.tier-silver .btn, .tier-bronze .btn { border-color: rgba(var(--metal-rgb), 0.6); color: var(--metal-light); }
.tier-silver .btn:hover, .tier-bronze .btn:hover { background: var(--metal); border-color: var(--metal); color: #111; }
.tier-silver:target, .tier-bronze:target { border-color: var(--metal); box-shadow: 0 0 0 1px var(--metal), 0 0 50px -12px rgba(var(--metal-rgb), 0.4); }

/* ---------- Book a free visit (book.html) ---------- */
.book-head { --gold: #F2C14E; --gold-light: #FFE29A; }
.book-title { font-size: clamp(2.4rem, 8.4vw, 5.6rem); margin-top: 0; }

.book-section { --gold: #F2C14E; --gold-light: #FFE29A; --gold-ink: #1A1305; padding-top: clamp(2rem, 5vw, 3.5rem); }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 21rem); gap: clamp(1.25rem, 4vw, 2.5rem); align-items: start; }
.book-main { min-width: 0; }
.book-step { min-width: 0; margin: 0 0 2.1rem; padding: 0; border: 0; }
.book-step legend { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; padding: 0; font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 800; font-stretch: 110%; }
.book-num { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-light); font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; font-stretch: 100%; }
.book-step .hint { margin: -0.4rem 0 0.9rem; }

/* days: a row of tiles, swipeable on a phone */
.book-days { display: flex; gap: 0.6rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; margin: -0.3rem; padding: 0.3rem 0.3rem 0.6rem; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.2) transparent; }
.book-day { position: relative; flex: none; display: grid; justify-items: center; gap: 0.15rem; width: 4.6rem; padding: 0.7rem 0.4rem 0.75rem; border: 1px solid var(--line-strong); border-radius: 1rem; background: rgba(255, 255, 255, 0.03); cursor: pointer; scroll-snap-align: start; transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease); }
.book-day:hover { border-color: rgba(242, 193, 78, 0.6); transform: translateY(-2px); }
.book-day input, .book-time input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.bd-dow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.bd-num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 900; font-stretch: 120%; line-height: 1; }
.bd-mon { font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.book-day:has(input:checked) { border-color: var(--gold); background: linear-gradient(180deg, #FFE29A 0%, #F2C14E 50%, #D59E36 100%); color: var(--gold-ink); box-shadow: 0 0.6rem 1.4rem -0.7rem rgba(242, 193, 78, 0.8); }
.book-day:has(input:checked) .bd-dow, .book-day:has(input:checked) .bd-mon { color: rgba(26, 19, 5, 0.8); }
.book-day:has(input:focus-visible), .book-time:has(input:focus-visible) { outline: 2px solid var(--gold-light); outline-offset: 3px; }

/* times: grouped pills */
.book-times { display: grid; gap: 1rem; }
.book-time-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.book-time { position: relative; display: inline-grid; place-items: center; min-width: 5.4rem; min-height: 2.75rem; padding: 0 0.9rem; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 700; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.book-time:hover { border-color: rgba(242, 193, 78, 0.6); }
.book-time:has(input:checked) { border-color: var(--gold); background: linear-gradient(180deg, #FFE29A 0%, #F2C14E 50%, #D59E36 100%); color: var(--gold-ink); }
.book-days.has-error, .book-times.has-error { border-radius: 1rem; box-shadow: 0 0 0 1px var(--red-bright); }

.book-form > .btn { margin-top: 0.4rem; }

/* summary: stays in view beside the form */
.book-summary { position: sticky; top: calc(var(--header-h) + 1rem); display: grid; gap: 1rem; padding: clamp(1.25rem, 2.5vw, 1.75rem); border-color: rgba(242, 193, 78, 0.5); background: radial-gradient(120% 95% at 0% 0%, rgba(242, 193, 78, 0.16), transparent 62%), linear-gradient(160deg, rgba(150, 105, 25, 0.12), rgba(14, 14, 16, 0.95) 58%); background-color: rgba(16, 14, 10, 0.94); }
.book-summary-label { margin: 0; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); }
.book-summary-when { margin: 0; display: grid; gap: 0.2rem; font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; font-stretch: 110%; line-height: 1.2; color: var(--muted); }
.book-summary-when b { color: var(--text); font-weight: 800; }
.book-summary-when span { font-size: 1.05rem; color: var(--muted); }
.book-summary-when.is-set span { color: var(--gold-light); }
.book-facts { display: grid; gap: 0.7rem; margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.book-facts div { display: grid; grid-template-columns: 6rem 1fr; gap: 0.75rem; }
.book-facts dt { font-size: 0.875rem; color: var(--muted); }
.book-facts dd { margin: 0; font-weight: 600; }
.book-bring { margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--silver); }
.book-bring b { color: var(--text); }

.book-done { scroll-margin-top: calc(var(--header-h) + 1rem); border-color: rgba(242, 193, 78, 0.6); }
.book-done:focus { outline: none; }
.book-done h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.book-done-when { margin: 0.6rem 0 1rem; font-family: var(--font-display); font-size: clamp(1.2rem, 2.4vw, 1.5rem); font-weight: 800; font-stretch: 110%; color: var(--gold-light); }

@media (max-width: 60rem) {
  .book-grid { grid-template-columns: minmax(0, 1fr); }
  .book-summary { position: static; order: -1; }
  .book-facts { display: none; }
}
@media (max-width: 30rem) {
  .book-day { width: 4.1rem; }
  .book-time { min-width: calc((100% - 1rem) / 3); padding: 0 0.4rem; }
}
.book-days { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent); padding-right: 2.5rem; }
/* 20 minute blocks: morning, afternoon and evening as tabs, one row of times at a time */
.book-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 0.4rem; padding: 0.3rem; border: 1px solid var(--line-strong); border-radius: 1rem; background: rgba(255, 255, 255, 0.03); }
.book-tab { display: grid; gap: 0.1rem; padding: 0.55rem 0.5rem; border: 0; border-radius: 0.75rem; background: none; color: var(--text); font: inherit; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.book-tab span { font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.book-tab:hover { background: rgba(255, 255, 255, 0.06); }
.book-tab[aria-pressed="true"] { background: rgba(242, 193, 78, 0.16); box-shadow: inset 0 0 0 1px rgba(242, 193, 78, 0.6); color: var(--gold-light); }
.book-tab[aria-pressed="true"] span { color: var(--silver); }
.book-tab:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.book-times .book-time-row { margin-top: 0.4rem; }
.book-time-row[hidden] { display: none; }
@media (min-width: 30.0625rem) { .book-time { min-width: 5.6rem; } }
/* starter pack extras: their own row under the month bars, so they never squeeze into the Month 1 column */
.ticket-extras { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 1.1rem 0 0; max-width: none; }
.ticket-extras-label { flex-basis: 100%; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ticket-extra { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.85rem 0.4rem 0.7rem; border: 1px solid rgba(52, 210, 127, 0.45); border-radius: 999px; background: rgba(52, 210, 127, 0.1); color: var(--sp-light); font-weight: 700; font-size: 0.9375rem; white-space: nowrap; }
.ticket-extra::before { content: ""; width: 0.75rem; height: 0.38rem; margin-top: -0.2rem; border-left: 2px solid var(--sp); border-bottom: 2px solid var(--sp); transform: rotate(-45deg); }

/* ---------- Trainers: "Are you a personal trainer?" as a slim strip at the foot of the page, after the trainers ---------- */
.pt-strip-wrap { position: relative; z-index: 2; padding: 0 0 calc(var(--section) * 0.6); }
.band.pt-strip { flex-wrap: nowrap; gap: 1rem 2rem; padding: clamp(1rem, 2vw, 1.25rem) clamp(1.25rem, 3vw, 2rem); }
.pt-strip-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem; min-width: 0; }
.band.pt-strip h2 { max-width: none; font-size: clamp(1.15rem, 2vw, 1.45rem); white-space: nowrap; }
.band.pt-strip p { margin: 0; font-size: 0.9375rem; }
.band.pt-strip .actions { flex: none; flex-wrap: nowrap; gap: 0.6rem; }
.band.pt-strip .cog { right: -3rem; bottom: -6rem; width: 11rem; opacity: 0.7; }
@media (max-width: 60rem) {
  .band.pt-strip { flex-wrap: wrap; }
}
@media (max-width: 48rem) {
  .band.pt-strip { gap: 0.8rem; padding: 1rem 1.1rem; }
  .band.pt-strip p { font-size: 0.875rem; line-height: 1.45; }
  .band.pt-strip .actions { display: flex; flex-wrap: nowrap; width: 100%; gap: 0.5rem; }
  .band.pt-strip .actions .btn { flex: 1 1 0; width: auto; min-width: 0; min-height: 2.6rem; padding: 0.4rem 0.6rem; font-size: 0.75rem; letter-spacing: 0.05em; }
  .band.pt-strip .actions .btn::after { display: none; }
}
/* phones: the two buttons stack, each full width on one line (this comes after the block above so it wins) */
@media (max-width: 30rem) {
  .band.pt-strip h2 { white-space: normal; }
  .band.pt-strip .actions { flex-wrap: wrap; }
  .band.pt-strip .actions .btn { flex: 1 1 100%; }
}

/* ---------- Bootcamp price card: the same build as the membership cards (wash, glow, metal-style price), in Core red ---------- */
.camp-price {
  --cr-light: #FF9A9C; --cr: #E4262A; --cr-deep: #9E1016; --cr-rgb: 228, 38, 42;
  gap: 1.1rem; justify-items: stretch;
  border-color: rgba(var(--cr-rgb), 0.55);
  background: radial-gradient(120% 95% at 0% 0%, rgba(var(--cr-rgb), 0.2), transparent 62%), linear-gradient(160deg, rgba(var(--cr-rgb), 0.08), rgba(14, 14, 16, 0.95) 58%);
  background-color: rgba(14, 12, 12, 0.94);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.8), 0 0 60px -16px rgba(var(--cr-rgb), 0.35);
  transition: border-color 0.25s, transform 0.4s var(--ease);
}
.camp-price:hover { border-color: var(--cr); transform: translateY(-4px); }
.camp-price h3 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; font-size: clamp(1.35rem, 2vw, 1.65rem); }
.camp-price .camp-figure { margin: 0; }
.camp-price .camp-figure .price { font-size: clamp(3.4rem, 7vw, 5rem); background: linear-gradient(180deg, var(--cr-light) 8%, var(--cr) 55%, var(--cr-deep) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 16px rgba(var(--cr-rgb), 0.35)); }
.camp-price .camp-figure .per { color: var(--silver); font-weight: 600; }
.camp-price .ghost { -webkit-text-stroke-color: rgba(var(--cr-rgb), 0.2); }
.camp-price .camp-sum { margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--silver); }
.camp-price .btn { justify-self: start; }

/* ---------- Booking: group size, a card per person, and the PAR-Q for anyone training ---------- */
.book-count { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-bottom: 1rem; padding: 0.85rem 1rem 0.85rem 1.25rem; border: 1px solid var(--line-strong); border-radius: 1rem; background: rgba(255, 255, 255, 0.03); }
.book-count-label { font-weight: 700; }
.book-stepper { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.25rem; border: 1px solid var(--line-strong); border-radius: 999px; }
.book-step-btn { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.06); color: var(--text); font-size: 1.35rem; font-weight: 700; line-height: 1; cursor: pointer; transition: background 0.2s, color 0.2s; }
.book-step-btn:hover:not(:disabled) { background: linear-gradient(180deg, #FFE29A 0%, #F2C14E 50%, #D59E36 100%); color: #1A1305; }
.book-step-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.book-step-btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.book-count-num { min-width: 2.4rem; text-align: center; font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; font-stretch: 120%; color: var(--gold-light); }

.book-people { display: grid; gap: 1rem; margin-bottom: 1.25rem; }
.book-person { padding: clamp(1rem, 2.5vw, 1.5rem); border: 1px solid var(--line-strong); border-radius: 1.25rem; background: rgba(255, 255, 255, 0.025); }
.book-person-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin-bottom: 1rem; }
.book-person-title { margin: 0; font-size: clamp(1.1rem, 1.8vw, 1.3rem); overflow-wrap: anywhere; }
.book-person .tag-line { border-color: rgba(242, 193, 78, 0.45); color: var(--gold-light); }
.book-remove { padding: 0.4rem 0.9rem; border: 1px solid var(--line-strong); border-radius: 999px; background: none; color: var(--silver); font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer; }
.book-remove:hover { border-color: var(--red-bright); color: #fff; }
.book-remove:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }

.book-q-label { margin: 0; font-weight: 600; font-size: 0.9688rem; }
.book-train { display: grid; gap: 0.6rem; }
.book-train.has-error .book-yn, .book-parq-list li.has-error .book-yn { box-shadow: 0 0 0 1px var(--red-bright); }
.book-yn { display: inline-flex; justify-self: start; gap: 0.25rem; padding: 0.25rem; border: 1px solid var(--line-strong); border-radius: 999px; }
.book-yn label { position: relative; display: grid; place-items: center; min-width: 4.4rem; min-height: 2.5rem; padding: 0 1rem; border-radius: 999px; font-weight: 700; cursor: pointer; transition: background 0.2s, color 0.2s; }
.book-yn input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.book-yn label:hover { background: rgba(255, 255, 255, 0.06); }
.book-yn label:has(input:checked) { background: linear-gradient(180deg, #FFE29A 0%, #F2C14E 50%, #D59E36 100%); color: #1A1305; }
.book-yn label:has(input:focus-visible) { outline: 2px solid var(--gold-light); outline-offset: 2px; }

.book-parq { display: grid; gap: 1rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.book-parq-title { margin: 0 0 0.25rem; font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; font-stretch: 110%; color: var(--gold-light); }
.book-parq-head .hint { margin: 0; }
.book-parq-list { list-style: none; counter-reset: parq; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.book-parq-list li { counter-increment: parq; display: grid; grid-template-columns: 1.75rem minmax(0, 1fr) auto; align-items: center; gap: 0.5rem 1rem; padding: 0.7rem 0.75rem 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: 0.9rem; background: rgba(255, 255, 255, 0.02); }
.book-parq-list li::before { content: counter(parq); display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid rgba(242, 193, 78, 0.5); color: var(--gold-light); font-size: 0.8125rem; font-weight: 700; }
.book-parq-list li:has(input[value="yes"]:checked) { border-color: rgba(255, 69, 72, 0.5); background: rgba(218, 26, 28, 0.08); }
.book-parq-list .book-q-label { font-weight: 500; font-size: 0.9375rem; color: var(--silver); }
.book-parq-flag { margin: 0; padding: 0.8rem 1rem; border: 1px solid rgba(255, 69, 72, 0.5); border-radius: 0.9rem; background: rgba(218, 26, 28, 0.12); color: var(--text); font-weight: 600; }
.book-agree { display: flex; align-items: flex-start; gap: 0.7rem; font-weight: 600; cursor: pointer; }
.book-agree input { flex: none; width: 1.3rem; height: 1.3rem; margin: 0.1rem 0 0; accent-color: #F2C14E; cursor: pointer; }
.book-note-field { margin-bottom: 0; }

.book-done-people { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 0.5rem; }
.book-done-people li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.75rem; padding: 0.7rem 1rem; border: 1px solid var(--line); border-radius: 0.9rem; }
.book-done-people b { overflow-wrap: anywhere; }
.book-done-people span { color: var(--silver); font-size: 0.9375rem; }
.book-done-people li.is-train { border-color: rgba(242, 193, 78, 0.45); }
.book-done-people li.is-flag { border-color: rgba(255, 69, 72, 0.5); }

@media (max-width: 40rem) {
  .book-parq-list li { grid-template-columns: 1.6rem minmax(0, 1fr); padding: 0.75rem; }
  .book-parq-list li .book-yn { grid-column: 2; }
  .book-person .form-grid { grid-template-columns: minmax(0, 1fr); }
}
/* bigger touch targets (44px) for the yes/no pills, Remove and the stepper */
.book-yn label { min-height: 2.75rem; }
.book-remove { min-height: 2.75rem; padding: 0.45rem 1rem; }
.book-step-btn { width: 2.75rem; height: 2.75rem; }

/* PAR-Q signature: typed full name, dated automatically */
.book-sign { margin: 0; padding-top: 1rem; border-top: 1px dashed rgba(242, 193, 78, 0.35); }
.book-sign-input { font-family: "Segoe Script", "Bradley Hand", "Brush Script MT", cursive; font-size: 1.25rem; letter-spacing: 0.01em; color: var(--gold-light); }
.book-sign-when { margin: 0; font-size: 0.875rem; color: var(--muted); }
.book-sign-when:empty { display: none; }
.book-done-people small { flex-basis: 100%; font-size: 0.8125rem; color: var(--muted); }

/* ---------- The gym page (redesign): five areas as photo tiles, the wall slogans, then people training ---------- */
.gx-areas { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.75rem; }
.gx-area { position: relative; isolation: isolate; overflow: hidden; grid-column: span 2; min-height: clamp(20rem, 32vw, 27rem); display: flex; align-items: flex-end; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); scroll-margin-top: calc(var(--header-h) + 1rem); }
.gx-area-wide { grid-column: span 4; }
.gx-area img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.gx-area::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 5, 6, 0) 30%, rgba(5, 5, 6, 0.55) 58%, rgba(5, 5, 6, 0.94) 100%), linear-gradient(90deg, rgba(120, 10, 12, 0.35), transparent 55%); }
.gx-area::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--red-bright), transparent 70%); transform: scaleX(0.25); transform-origin: left; transition: transform 0.6s var(--ease); }
.gx-area:hover img { transform: scale(1.04); }
.gx-area:hover::after { transform: scaleX(1); }
.gx-area-body { padding: clamp(1.1rem, 2.4vw, 1.75rem); max-width: 34rem; }
.gx-area h3 { margin: 0; font-size: clamp(1.45rem, 2.6vw, 2.1rem); font-stretch: 115%; line-height: 1.05; }
.gx-area p { margin: 0.45rem 0 0; color: var(--silver); }
.gx-kit { list-style: none; margin: 0.85rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.gx-kit li { padding: 0.25rem 0.7rem; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; background: rgba(5, 5, 6, 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 0.8125rem; font-weight: 600; color: var(--text); }

.gx-wall-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gx-wall { margin: 0; }
.gx-wall img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; border-radius: var(--radius); border: 1px solid var(--line); filter: saturate(1.05) contrast(1.05); }

/* one big photo, with the other two stacked beside it (side by side under it on phones) */
.gx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(9rem, 19vw, 17rem); gap: 0.6rem; }
.gx-grid li:first-child { grid-column: span 2; grid-row: span 2; }
.gx-grid a { position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--radius-sm); background: var(--bg-2); }
.gx-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), filter 0.4s; }
.gx-grid a:hover img, .gx-grid a:focus-visible img { transform: scale(1.05); }
.gx-grid a:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; }

@media (max-width: 60rem) {
  .gx-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gx-area { grid-column: span 1; }
  .gx-area-wide { grid-column: span 2; }
}
@media (max-width: 40rem) {
  .gx-areas { grid-template-columns: minmax(0, 1fr); }
  .gx-area, .gx-area-wide { grid-column: auto; min-height: 21rem; }
  .gx-wall-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.75rem; margin-inline: calc(-1 * var(--gutter, 1rem)); padding: 0 var(--gutter, 1rem) 0.5rem; scrollbar-width: none; }
  .gx-wall { flex: 0 0 78%; scroll-snap-align: start; }
  .gx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 9.5rem; }
}

/* Gym page: the supplement bar as bold product cards */
.gx-supp { scroll-margin-top: var(--header-h); padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.gx-sups { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gx-sup { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; border: 1px solid color-mix(in srgb, var(--a) 45%, transparent); border-radius: var(--radius); background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--a) 22%, transparent), transparent 62%), linear-gradient(180deg, rgba(20, 20, 23, 0.9), rgba(10, 10, 12, 0.98)); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.9), 0 0 50px -22px var(--a); transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.45s var(--ease); }
.gx-sup:hover { transform: translateY(-6px); border-color: var(--a); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.9), 0 0 70px -16px var(--a); }
.gx-sup-stage { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4; padding: 1.25rem 1rem 0; }
.gx-sup-stage::before { content: ""; position: absolute; left: 50%; top: 52%; width: 62%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, color-mix(in srgb, var(--a) 55%, transparent), transparent 68%); filter: blur(8px); z-index: -1; }
.gx-sup-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 255, 255, 0.025) 22px 23px); }
.gx-sup-body { padding: 0.25rem clamp(1.1rem, 2.2vw, 1.5rem) clamp(1.1rem, 2.2vw, 1.5rem); }
.gx-sup-group { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--a); }
.gx-sup h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0.3rem 0 0; font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-stretch: 115%; line-height: 1.1; }
.gx-sup-body > p:last-child { margin: 0.45rem 0 0; color: var(--silver); font-size: 0.9688rem; }
.gx-sup-hot { padding: 0.15rem 0.6rem; border-radius: 999px; background: linear-gradient(180deg, #FF6B6E, #C8141B); font-family: var(--font-body); font-size: 0.68rem; font-weight: 800; font-stretch: 100%; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; box-shadow: 0 0 18px rgba(255, 69, 72, 0.6); }
.gx-sup-hardcore { border-color: rgba(255, 74, 78, 0.75); }
.motion .gx-sup-hardcore .gx-sup-stage::before { animation: gx-heat 2.4s ease-in-out infinite; }
@keyframes gx-heat { 0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(0.95); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } }
@media (max-width: 60rem) { .gx-sups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* wide screens: the two shake cards share the first row, so the pre-workouts and the snacks each fill a row of three */
@media (min-width: 60.0625rem) {
  .gx-sups { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .gx-sup { grid-column: span 2; }
  .gx-sup-shake, .gx-sup-creatine { grid-column: span 3; }
}
@media (max-width: 40rem) {
  .gx-sups { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.75rem; margin-inline: calc(-1 * var(--gutter)); padding: 0.25rem var(--gutter) 1rem; scrollbar-width: none; }
  .gx-sups::-webkit-scrollbar { display: none; }
  .gx-sup { flex: 0 0 76%; scroll-snap-align: center; }
  .gx-sup:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .gx-sup { transition: none; } .gx-sup:hover { transform: none; } }

/* Supplement bar: real photos fill the top of each card, fading into the card */
.gx-sup-stage { aspect-ratio: 1 / 1; padding: 0; overflow: hidden; }
.gx-sup-stage::before { display: none; }
.gx-sup-stage::after { inset: auto 0 0 0; height: 55%; background: linear-gradient(180deg, transparent, rgba(12, 12, 14, 0.7) 60%, rgb(12, 12, 14)); z-index: 1; }
.gx-sup-stage img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 0.9s var(--ease), filter 0.5s; filter: saturate(1.12) contrast(1.06); }
.gx-sup:hover .gx-sup-stage img { transform: scale(1.08); }
.gx-sup-body { position: relative; z-index: 2; margin-top: -2.25rem; }
.gx-sup-shake .gx-sup-stage img { object-position: 50% 30%; }
.gx-sup-stim .gx-sup-stage img { object-position: 50% 40%; }
.gx-sup-hardcore .gx-sup-stage img { filter: saturate(1.1) contrast(1.15) brightness(0.8) sepia(0.35) hue-rotate(-28deg) saturate(2.2); }
.gx-sup-hardcore .gx-sup-stage { background: #2a0607; }
.gx-sup-hardcore .gx-sup-stage::after { background: linear-gradient(180deg, rgba(120, 8, 12, 0.15), rgba(12, 12, 14, 0.7) 60%, rgb(12, 12, 14)); }
@media (prefers-reduced-motion: reduce) { .gx-sup:hover .gx-sup-stage img { transform: scale(1.02); } }

/* Gym page: two tabs under the hero, the gym and the supplement bar */
.gx-switch-wrap { position: relative; z-index: 2; margin-top: clamp(-2.25rem, -3vw, -1.5rem); }
.gx-switch { margin: 0; background: rgba(8, 8, 10, 0.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.gx-panel > .section:first-child { padding-top: clamp(2rem, 4vw, 3rem); }
.gx-panel > .gx-supp:first-child { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 30rem) { .gx-switch .tab { white-space: nowrap; padding: 0 0.4rem; font-size: 0.78rem; letter-spacing: 0.03em; } }

/* Supplement bar: flavours and syrups on every card */
.gx-sup-stage { aspect-ratio: 5 / 4; }
.gx-sup-body { display: flex; flex-direction: column; flex: 1 1 auto; }
.gx-sup-body > p.gx-sup-desc { margin: 0.45rem 0 0; color: var(--silver); font-size: 0.9688rem; }
.gx-sup-flav { margin-top: auto; padding-top: 1rem; }
.gx-sup-flav-label { margin: 0 0 0.45rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; color: var(--text); }
.gx-sup-flav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.gx-sup-flav li { padding: 0.22rem 0.65rem; border: 1px solid color-mix(in srgb, var(--a) 55%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--a) 14%, rgba(8, 8, 10, 0.6)); font-size: 0.8125rem; font-weight: 600; color: var(--text); }

/* Supplement bar round 4: gym shaker for shakes; pre-workout tubs graded per strength */
.gx-sup-shake .gx-sup-stage img { object-position: 56% 80%; transform: scale(1.2); transform-origin: 55% 40%; }
.gx-sup-shake:hover .gx-sup-stage img { transform: scale(1.27); }
.gx-sup-nonstim .gx-sup-stage, .gx-sup-stim .gx-sup-stage, .gx-sup-hardcore .gx-sup-stage { background: #0c0c0e; }
.gx-sup-nonstim .gx-sup-stage img { object-position: 42% 40%; filter: sepia(1) hue-rotate(205deg) saturate(3.2) brightness(0.72) contrast(1.25); }
.gx-sup-stim .gx-sup-stage img { object-position: 48% 45%; filter: sepia(1) hue-rotate(-12deg) saturate(4) brightness(0.78) contrast(1.2); }
.gx-sup-hardcore .gx-sup-stage img { filter: grayscale(1) contrast(1.5) brightness(0.55) sepia(1) hue-rotate(-38deg) saturate(5); }
.gx-sup-hardcore .gx-sup-stage .gx-sup-smoke { position: absolute; inset: 0; z-index: 0; mix-blend-mode: screen; filter: saturate(1.3) brightness(1.15); transform: scaleX(-1) scale(1.15); object-position: 30% 40%; opacity: 0.9; }
.gx-sup-hardcore:hover .gx-sup-stage .gx-sup-smoke { transform: scaleX(-1) scale(1.22); }
.gx-sup-nonstim .gx-sup-stage::after, .gx-sup-stim .gx-sup-stage::after { background: radial-gradient(120% 90% at 50% 35%, transparent 40%, rgba(12, 12, 14, 0.55)), linear-gradient(180deg, transparent 45%, rgba(12, 12, 14, 0.75) 75%, rgb(12, 12, 14)); inset: 0; height: auto; }
.gx-sup-hardcore .gx-sup-stage::after { background: radial-gradient(110% 90% at 50% 35%, transparent 35%, rgba(8, 2, 3, 0.7)), linear-gradient(180deg, transparent 45%, rgba(12, 12, 14, 0.75) 75%, rgb(12, 12, 14)); inset: 0; height: auto; z-index: 1; }
/* photos always fill the card top exactly, whatever shape the photo is */
.gx-sup-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Supplement bar: snacks */
.gx-sup-flapjack .gx-sup-stage img { object-position: 50% 82%; }
.gx-sup-bar .gx-sup-stage img { object-position: 50% 40%; filter: saturate(1.15) contrast(1.12) brightness(0.92); }
.gx-sup-snacks .gx-sup-stage img { object-position: 30% 45%; filter: saturate(1.2) contrast(1.1) brightness(0.9); }

/* Trainer cards: less bare. A dark, red-graded gym behind each trainer, a light from above, the Core cog, and a stronger name */
.trainer-fig { border-color: rgba(255, 69, 72, 0.28); background: #0B0B0D; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 2rem 4rem -2rem rgba(0, 0, 0, 0.9); }
.trainer-fig::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(70% 62% at 50% 100%, rgba(218, 26, 28, 0.6), transparent 72%),
    conic-gradient(from 180deg at 50% -10%, transparent 160deg, rgba(255, 255, 255, 0.09) 175deg, rgba(255, 255, 255, 0.13) 180deg, rgba(255, 255, 255, 0.09) 185deg, transparent 200deg),
    linear-gradient(180deg, rgba(11, 11, 13, 0.35), rgba(11, 11, 13, 0.55) 55%, rgba(11, 11, 13, 0.9)); }
.trainer-fig::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 2; background: linear-gradient(90deg, transparent, #FF4548 30%, #FF4548 70%, transparent); box-shadow: 0 0 18px rgba(255, 69, 72, 0.8); }
.trainer-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.55) brightness(0.42) contrast(1.15) sepia(0.35) hue-rotate(-30deg) saturate(1.6) blur(1.5px); transform: scale(1.06); }
.trainer:nth-child(2) .trainer-bg { object-position: 20% 50%; }
.trainer:nth-child(3) .trainer-bg { object-position: 80% 50%; }
.trainer:nth-child(4) .trainer-bg { object-position: 35% 40%; }
.trainer:nth-child(5) .trainer-bg { object-position: 65% 60%; }
.trainer-fig .ghost { -webkit-text-stroke: 1.5px rgba(255, 90, 93, 0.55); color: rgba(255, 69, 72, 0.06); text-shadow: 0 0 2rem rgba(255, 69, 72, 0.25); }
.trainer-cog { position: absolute; z-index: 0; right: -3.5rem; top: -3.5rem; width: 11rem; opacity: 0.8; }
.motion .trainer-cog svg { animation: spin 40s linear infinite; }
.trainer:nth-child(even) .trainer-cog { right: auto; left: -3.5rem; }
.trainer:hover .trainer-bg { filter: grayscale(0.45) brightness(0.5) contrast(1.15) sepia(0.35) hue-rotate(-30deg) saturate(1.7) blur(1.5px); }

/* Bootcamp week strip on phones: 6AM fits inside its day */
@media (max-width: 30rem) {
  .camp-days b { font-size: 0.7rem; letter-spacing: 0.04em; }
  .camp-days span { font-size: 0.72rem; }
  .camp-days li.on span { font-size: clamp(0.78rem, 3.7vw, 0.95rem); font-stretch: 100%; letter-spacing: 0; }
}
/* Join Core (memberships) on phones: less photo, the words start sooner. The hero has no button and no tabs
   follow it, so it takes only the height its words need. The starter pack card starts just under the words:
   Kim, who sits on its top edge at the right, rises up beside the words (they keep to the left) */
@media (max-width: 48rem) {
  .hero-compact { min-height: 0; padding-top: calc(var(--header-h) + 2.5rem); }
  .hero-compact .hero-media, .hero-compact .hero-light { height: 13rem; }
  .hero-compact .hero-media img { object-position: 55% 45%; }
  .hero-page.hero-compact { padding-bottom: 1rem; }
  .hero-compact + .after-hero .plans-lift { margin-top: 0; }
  .hero-compact + .after-hero .cameo-host-ticket { margin-top: 0.75rem; }
  /* the hero is short now, so its red glow moves up behind the words, and the smoke and glow fade out at its foot
     instead of stopping in a line */
  .hero-page.hero-compact::before { background: var(--smoke) center / cover, radial-gradient(34rem 17rem at 30% 11.5rem, rgba(165, 18, 20, 0.42), transparent 72%), radial-gradient(22rem 12rem at 100% 14.5rem, rgba(120, 10, 14, 0.36), transparent 75%); }
  .hero-compact::before { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
  /* no room under the words for the faint outline JOIN, and the headline already has one */
  .hero-compact .hero-ghost { display: none; }
}
/* phones: the starter pack card is compact, so on most phones all of it, price and button too, fits on the first
   screen (on short screens, such as 360x640 or an iPhone SE in Safari, the button is still just below).
   The name takes one line, the month 1 extras sit side by side, and the "for 3 months" words sit beside the £99 */
@media (max-width: 30rem) {
  .ticket { gap: 0.75rem; padding: 1.25rem 1.25rem 1.1rem; }
  /* Kim keeps to the corner end of the edge: her feet stay clear of the one-line name and, as she swings them, inside the card */
  .cameo-host-ticket { --cx: 91%; }
  .ticket-title { margin-top: 0.7rem; font-size: min(1.8rem, 7vw); }
  .ticket .ticket-title + p { margin-top: 0.6rem; }
  .months { margin-top: 0.85rem; }
  .ticket .ticket-extras { margin-top: 0.85rem; gap: 0.4rem; }
  .ticket-extras-label { font-size: 0.75rem; }
  .ticket-extra { gap: 0.4rem; padding: 0.3rem 0.65rem 0.3rem 0.55rem; font-size: 0.8125rem; }
  .ticket-extra::before { width: 0.65rem; height: 0.32rem; }
  .ticket-price { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.9rem 0.85rem; }
  .ticket-price .price { font-size: 3rem; }
  .ticket-price .per { font-size: 0.875rem; line-height: 1.35; white-space: normal; text-wrap: balance; }
  .ticket-price .btn { grid-column: 1 / -1; justify-self: start; margin-top: 0; }
}
/* phones under 400px wide: a slightly smaller name, so Kim's feet stay clear of it */
@media (max-width: 24.9375rem) { .ticket-title { font-size: 6.5vw; } }
/* small Android phones (about 360 wide): a little less side padding and slimmer extras, so the description takes
   2 lines and both extras share a row */
@media (max-width: 23.4rem) {
  .ticket { padding-inline: 1rem; }
  .ticket-extra { gap: 0.3rem; padding: 0.3rem 0.5rem 0.3rem 0.45rem; }
}
/* the narrowest phones (320 and under) */
@media (max-width: 22rem) { .ticket-title { font-size: 6.2vw; } }

/* Bootcamp: the £50 price in gold, like the other prices */
.camp-price .camp-figure .price { background: linear-gradient(180deg, #FFE29A 10%, #F2C14E 55%, #B8862B 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 14px rgba(242, 193, 78, 0.35)); }

/* Liftpass booking: link box after booking, a send error under the button, the can't-reach card */
.book-done-link { margin: 1.25rem 0; padding: 1rem 1.1rem; border: 1px solid rgba(228, 38, 42, 0.55); border-radius: 0.9rem; background: rgba(228, 38, 42, 0.08); }
.book-done-link p { margin: 0 0 0.75rem; }
.book-send-error:not(:empty) { margin-top: 0.85rem; font-weight: 600; }
.book-unreachable p { margin: 0 0 1rem; }
.book-unreachable .btn { margin: 0 0.5rem 0.5rem 0; }
.book-about { margin-top: 1rem; }

/* Privacy notice */
.privacy-toc { margin: 0 0 2.5rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.privacy-toc ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.privacy-toc a { display: inline-block; padding-block: 0.4rem; color: var(--silver); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 0.3em; }
.privacy-toc a:hover { color: var(--text); }
.privacy .article-body h2 { margin: 2.75rem 0 0.9rem; font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); scroll-margin-top: calc(var(--header-h) + 1rem); }
.privacy .article-body h2:first-child { margin-top: 0; }
.privacy .article-body p + p { margin-top: 0.9rem; }
.privacy .article-body a { color: var(--text); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 0.2em; }
.form-privacy { margin-top: 0.85rem; font-size: 0.9375rem; color: var(--muted); }
.form-privacy a { color: var(--text); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 0.2em; }

/* Go-live: bigger footer tap targets on phones; sideways photo strips reachable by keyboard */
@media (max-width: 47.99rem) {
  .footer-base a, .footer-base .link-btn { display: inline-flex; align-items: center; min-height: 2.75rem; }
}
.gx-wall-row:focus-visible, .tp-rows:focus-visible, .tp-pal-row:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 4px; }

/* ---------- Trainers: each coach's cartoon stands beside their photo ----------
   Chris, Paul, Nathan, Mark and Kim show their photo with their cartoon on the outer side of the panel.
   Alan and Abbey show their cartoon on its own, centred. The cartoons are cropped by the panel at
   about mid-thigh, like the photos, rather than shown full length, and fade out just above the edge. */
.trainer-mascot { position: absolute; z-index: 2; top: 7%; left: 0; height: 138%; width: auto; max-width: none; filter: drop-shadow(0 0.9rem 1.2rem rgba(0, 0, 0, 0.7)); transform-origin: 50% 0; transition: transform 0.9s var(--ease); pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 56%, transparent 67%); mask-image: linear-gradient(180deg, #000 56%, transparent 67%); }
.trainer:nth-child(even) .trainer-mascot { left: auto; right: 0; }
.trainer-fig.has-mascot .bust-fig { translate: 14% 0; }
.trainer:nth-child(even) .trainer-fig.has-mascot .bust-fig { translate: -14% 0; }
.trainer:hover .trainer-mascot { transform: translateY(-0.35rem); }
/* desktop: the panels on the right (Paul, Nathan) are wider, so there the photo and cartoon stand together
   in the middle of the panel, a set distance apart, instead of at opposite sides */
@media (min-width: 48.0625rem) {
  .trainer:nth-child(even) .trainer-fig.has-mascot .trainer-mascot { left: calc(50% + 0.95 * var(--u)); right: auto; translate: -50% 0; }
  .trainer:nth-child(even) .trainer-fig.has-mascot .bust-fig { translate: calc(-1.15 * var(--u)) 0; }
}
.trainer .trainer-fig.mascot-only .trainer-mascot { top: 6%; left: 50%; right: auto; height: 150%; translate: -50% 0;
  -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 62%); mask-image: linear-gradient(180deg, #000 52%, transparent 62%); }
.trainer:nth-child(6) .trainer-bg { object-position: 50% 30%; }
.trainer:nth-child(7) .trainer-bg { object-position: 15% 60%; }
/* seven in the line-up: a little smaller, so all seven fit */
.busts:has(> li:nth-child(7)) { --u: clamp(3rem, 5.2vw, 5rem); }
@media (max-width: 48rem) {
  .busts:has(> li:nth-child(7)) { --u: 7.4vw; }
  .busts:has(> li:nth-child(7)) .bust-name { font-size: 0.8rem; }
  .trainer-mascot { height: 132%; }
  .trainer:nth-child(n) .trainer-mascot { left: auto; right: 0; }
  .trainer:nth-child(n) .trainer-fig.has-mascot .bust-fig { translate: -14% 0; }
}
@media (prefers-reduced-motion: reduce) { .trainer:hover .trainer-mascot { transform: none; } }

/* touch screens: these glass boxes lose their blur (styles.css, "Smooth scrolling"), so they are a little more solid */
@media (hover: none) and (pointer: coarse), (max-width: 48rem) {
  .compare-tag-before .tag { background: rgba(5, 5, 6, 0.88); }
  .gx-kit li { background: rgba(5, 5, 6, 0.7); }
  .gx-switch { background: rgba(8, 8, 10, 0.94); }
  .camp-week { background-color: rgba(12, 12, 14, 0.94); }
}
