/* Public gym page — the gym's print pieces translated for the web: a dark brand block (--device) with an
   energy slab on an angle, section titles on bars, a weekly grid with class names in their own colours,
   a burst badge for the free trial, a dark footer bar. Tokens only; the gym's brand arrives at runtime.
   Class colours come from data as --c; text in a class colour goes through --c-ink, which clamps its
   lightness (dark on light pages, light on dark ones) so every class name clears 4.5:1. */
:root {
  --gut: clamp(16px, 4vw, 48px);
  --mast-h: 64px;
  --cut: clamp(28px, 4.5vw, 72px);
  --bar: var(--device);
  --cl-lo: 0; --cl-hi: .5; --cl-c: .14; --bar-lo: 0;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bar: var(--surface-2); --cl-lo: .8; --cl-hi: 1; --cl-c: .13; --bar-lo: .62; } }
:root[data-theme="dark"] { --bar: var(--surface-2); --cl-lo: .8; --cl-hi: 1; --cl-c: .13; --bar-lo: .62; }
@media (max-width: 759px) { :root { --mast-h: 44px; } }

html { scroll-padding-top: calc(var(--mast-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { background: var(--bg); font-size: 16px; line-height: 1.5; }
#landing { min-height: 100vh; overflow-x: clip; }
#landing a.btn { text-decoration: none; }
#landing .btn { border-radius: 8px; }
#landing .btn.primary:hover { background: color-mix(in oklab, var(--primary) 88%, white); }
.wrap { width: min(1240px, 100% - 2 * var(--gut)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 60; background: var(--surface); color: var(--ink); padding: 12px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }
.noscript { max-width: 40ch; margin: 48px auto; padding: 0 16px; font-size: 18px; }

/* class colour as text and as stripes (ink and the raw colour where relative colour isn't supported) */
.slot, .day-row, .klass { --c-bar: var(--c); }
@supports (color: oklch(from red l c h)) {
  .slot, .day-row, .klass { --c-ink: oklch(from var(--c) clamp(var(--cl-lo), l, var(--cl-hi)) min(c, var(--cl-c)) h); --c-bar: oklch(from var(--c) max(l, var(--bar-lo)) c h); }
}
.c-ink { color: var(--c-ink, var(--ink)); }

/* ── masthead ── */
.mast { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent); }
.mast-in { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "mark nav cta"; align-items: center; gap: 0 20px; min-height: var(--mast-h); }
.mark { grid-area: mark; font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1; letter-spacing: -.01em; color: var(--ink); text-decoration: none; padding: 9px 0; }
.nav { grid-area: nav; display: flex; justify-content: flex-end; gap: 2px; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 3px; background: var(--energy); transform: scaleX(0) skewX(-20deg); transform-origin: left; transition: transform var(--t-pop) var(--ease-out); }
.nav a:hover::after, .nav a:focus-visible::after, .nav a[aria-current]::after { transform: scaleX(1) skewX(-20deg); }
.mast-cta { grid-area: cta; }
@media (max-width: 759px) {
  .mast { top: -57px; } /* the first row scrolls away; the section links stay */
  .mast-in { grid-template-columns: 1fr auto; grid-template-rows: 56px 44px; grid-template-areas: "mark cta" "nav nav"; }
  .nav { justify-content: space-between; border-top: 1px solid var(--line); margin-inline: -8px; }
  .nav a { padding: 0 8px; font-size: 14px; }
  .nav a::after { left: 8px; right: 8px; bottom: 6px; }
  .mast-cta { padding: 8px 16px; }
}

/* ── hero ── */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; background: var(--device); color: white; min-height: clamp(560px, calc(100svh - var(--mast-h) - 24px), 820px); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); }
.hero :focus-visible { outline-color: white; outline-offset: 3px; }
.hero-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--device); }
.hero-art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.04) 0 2px, transparent 2px 26px); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 35%; mix-blend-mode: luminosity; opacity: .82; animation: settle 1800ms var(--ease-out) both; }
.hero-logo { position: absolute; inset: 0 max(var(--gut), calc((100% - 1240px) / 2)) 0 auto; margin-block: auto; height: clamp(220px, 32vw, 400px); width: auto; max-width: 46%; object-fit: contain; animation: settle 1800ms var(--ease-out) both; }
.hero:has(.burst) .hero-logo { inset-block: auto calc(var(--cut) + 24px); margin: 0; height: clamp(180px, 24vw, 300px); }
.hero-art::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--device) 0%, color-mix(in srgb, var(--device) 86%, transparent) 34%, color-mix(in srgb, var(--device) 25%, transparent) 70%, transparent 100%),
  linear-gradient(0deg, color-mix(in srgb, var(--device) 75%, transparent) 0%, transparent 50%); }
.hero-in { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding-block: clamp(28px, 5vw, 56px) calc(var(--cut) + clamp(36px, 5vw, 72px)); }
.slab { position: relative; margin: 0; max-width: 62%; background: var(--energy); color: var(--energy-ink); font-family: var(--font-display); font-weight: 800; font-style: var(--class-style, normal); text-transform: uppercase; letter-spacing: .05em; font-size: clamp(15px, 1.5vw, 20px); line-height: 1.1; padding: clamp(10px, 1.2vw, 14px) 44px clamp(10px, 1.2vw, 14px) 0; clip-path: polygon(-100vw 0, 100% 0, calc(100% - 24px) 100%, -100vw 100%); animation: slab-in 760ms var(--ease-out) 80ms both; }
.slab::before { content: ""; position: absolute; inset: 0 100% 0 auto; width: 100vw; background: inherit; }
.hero-copy { margin-top: auto; padding-top: clamp(48px, 8vw, 96px); display: grid; gap: clamp(16px, 2vw, 24px); justify-items: start; }
.hero-h { font-family: var(--font-display); font-weight: 900; font-style: var(--class-style, normal); text-transform: uppercase; font-size: clamp(44px, 6.7vw, 112px); line-height: .86; letter-spacing: -.005em; max-width: 100%; margin: 0; }
.hero-h .ln { display: block; overflow: hidden; padding: .05em .14em .02em 0; margin-bottom: -.05em; }
.hero-h .ln > span { display: inline-block; animation: line-up 900ms var(--ease-out) both; animation-delay: calc(160ms + var(--i, 0) * 110ms); }
.lede { margin: 0; max-width: 54ch; text-wrap: pretty; font-size: clamp(16px, 1.35vw, 19px); color: rgba(255,255,255,.86); animation: fadein 700ms var(--ease-out) 520ms both; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero .cta-row { animation: fadein 700ms var(--ease-out) 620ms both; }
#landing .btn.big { min-height: 54px; padding: 14px 24px; font-size: 16px; }
#landing .btn.on-dark { background: transparent; color: white; border-color: rgba(255,255,255,.45); }
#landing .btn.on-dark:hover { border-color: white; background: rgba(255,255,255,.08); }
.burst { position: absolute; z-index: 1; margin: 0; right: max(var(--gut), calc((100% - 1240px) / 2)); top: clamp(96px, 18%, 170px); width: clamp(124px, 14vw, 212px); aspect-ratio: 1; display: grid; place-items: center; color: var(--energy-ink); transform: rotate(-12deg); animation: burst-in 720ms var(--ease-out) 760ms both; }
.burst svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--energy); filter: drop-shadow(0 12px 22px rgba(0,0,0,.35)); }
.burst-t { position: relative; display: grid; justify-items: center; text-align: center; font-family: var(--font-display); font-style: var(--class-style, normal); text-transform: uppercase; line-height: .92; }
.burst-t b { font-size: clamp(27px, 3.1vw, 46px); font-weight: 900; }
.burst-t span { font-size: clamp(13px, 1.25vw, 19px); font-weight: 800; letter-spacing: .03em; }
@media (max-width: 759px) {
  .hero { min-height: 700px; }
  .hero-art::after { background: linear-gradient(0deg, var(--device) 40%, color-mix(in srgb, var(--device) 62%, transparent) 62%, color-mix(in srgb, var(--device) 10%, transparent) 100%); }
  .hero-img { object-position: 50% 20%; }
  .hero-logo, .hero:has(.burst) .hero-logo { inset: 88px var(--gut) auto auto; margin: 0; height: 168px; max-width: 56%; }
  .hero:has(.burst) .hero-logo { right: auto; left: var(--gut); }
  .burst { top: 76px; right: var(--gut); }
  .cta-row { width: 100%; }
  .cta-row .btn { flex: 1 1 100%; }
}

/* ── offers strip (sits under the hero's angled edge) ── */
.offers { background: var(--energy-soft); color: var(--ink); margin-top: calc(-1 * var(--cut)); padding: calc(var(--cut) + 14px) 0 18px; }
.offers-in { display: flex; flex-wrap: wrap; gap: 10px 40px; }
.offer { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 16px; }
.offer b { font-weight: 700; margin-right: 4px; }
.mini-burst { flex: none; width: 26px; height: 26px; fill: var(--energy); }

/* ── sections + title bars ── */
.sect { padding-top: clamp(56px, 8vw, 112px); }
.bar-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 0; margin-bottom: clamp(20px, 3vw, 32px); }
.bar { margin: 0; background: var(--bar); color: white; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(22px, 2.3vw, 30px); line-height: 1; padding: 12px 46px 12px 20px; clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%); }
.bar-head::after { content: ""; order: 1; flex: 1 1 60px; height: 3px; margin-left: -18px; background: var(--bar); align-self: flex-end; }
.bar-sub { order: 2; flex: 0 0 100%; margin: 4px 0 0; color: var(--muted); font-size: 17px; }

/* ── this week: table on wide screens ── */
.week-table { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
table.week { width: 100%; border-collapse: collapse; table-layout: fixed; }
.week th, .week td { border-bottom: 1px solid var(--line); }
.week td + td { border-left: 1px solid color-mix(in srgb, var(--line) 55%, transparent); }
.week thead th { background: var(--bar); color: white; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 16px; padding: 14px 6px 12px; text-align: center; vertical-align: bottom; border-bottom: 0; }
.week thead th.today { background: var(--energy); color: var(--energy-ink); }
.today-tag { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .1em; margin-top: 3px; }
.week .t-col { width: 112px; padding: 0 18px 0 8px; text-align: right; white-space: nowrap; }
.week tbody .t-col { background: var(--surface-2); font-family: var(--font-display); font-weight: 800; font-style: var(--class-style, normal); font-size: 19px; color: var(--ink); font-variant-numeric: tabular-nums; }
.ap { font-size: .62em; letter-spacing: .06em; text-transform: uppercase; margin-left: 2px; }
.week td { padding: 6px; height: 60px; text-align: center; vertical-align: middle; }
.week td.today { background: color-mix(in oklab, var(--energy) 8%, var(--surface)); }
.week tbody tr:last-child > * { border-bottom: 0; }
.slot { display: grid; align-content: center; min-height: 46px; padding: 6px 8px; border-radius: 3px; background: color-mix(in oklab, var(--c) 11%, transparent); box-shadow: inset 3px 0 0 var(--c-bar); }
.slot + .slot { margin-top: 4px; }
.slot .cls { font-size: 18px; line-height: 1.05; }
.slot.open { background: transparent; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c-bar) 50%, transparent), inset 3px 0 0 var(--c-bar); }
.until { font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 2px; }

/* ── this week: day tabs on phones ── */
.week-tabs { display: none; }
@media (max-width: 759px) {
  .week-table { display: none; }
  .week-tabs { display: block; }
}
.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; padding: 4px; background: var(--bar); border-radius: 4px; }
.tab { position: relative; min-height: 48px; border: 0; border-radius: 3px; background: transparent; color: rgba(255,255,255,.86); font-family: var(--font-display); font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .04em; }
.tab[aria-selected="true"] { background: var(--energy); color: var(--energy-ink); }
.tabs .tab:focus-visible { outline-color: white; outline-offset: 1px; }
.tab-today { position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--energy); }
.tab[aria-selected="true"] .tab-today { background: currentColor; }
.day-panel { margin-top: 10px; border-radius: 4px; }
.day-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.day-row { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 60px; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--line); box-shadow: inset 4px 0 0 var(--c-bar); }
.day-row:last-child { border-bottom: 0; }
.dr-time { text-align: right; font-family: var(--font-display); font-weight: 800; font-style: var(--class-style, normal); font-size: 18px; font-variant-numeric: tabular-nums; }
.dr-name { font-size: 21px; line-height: 1; }
.dr-len { font-size: 13px; color: var(--muted); font-weight: 600; }

.empty-week { border: 1px dashed var(--line); border-radius: 4px; padding: clamp(32px, 6vw, 64px) 24px; text-align: center; display: grid; gap: 8px; justify-items: center; background: var(--surface); }
.empty-week h3 { font-size: 22px; }
.empty-week p { margin: 0; color: var(--muted); max-width: 48ch; }

/* ── classes ── */
.klasses { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
@media (max-width: 1099px) { .klasses { grid-template-columns: repeat(var(--cols-md, 2), minmax(0, 1fr)); } }
@media (max-width: 599px) { .klasses { grid-template-columns: minmax(0, 1fr); } }
.klass { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.k-art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: color-mix(in oklab, var(--c) 72%, var(--device)); }
.k-art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.07) 0 2px, transparent 2px 18px); }
.k-art::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 6px; background: var(--c-bar); }
.k-mono { position: absolute; left: 14px; bottom: 2px; font-size: clamp(64px, 8vw, 104px); line-height: .82; color: rgba(255,255,255,.2); white-space: nowrap; }
.k-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 600ms var(--ease-out); }
.k-art img.loaded { opacity: 1; }
.k-body { display: grid; gap: 12px; align-content: start; padding: 20px 20px 24px; }
.k-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.k-name { margin: 0; font-size: clamp(32px, 2.8vw, 40px); line-height: .9; }
.k-len { font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.k-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.meter { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.meter i { width: 6px; border-radius: 1px; background: var(--line); transform: skewX(-14deg); }
.meter i:nth-child(1) { height: 7px; }
.meter i:nth-child(2) { height: 11px; }
.meter i:nth-child(3) { height: 16px; }
.meter i.on { background: var(--ink); }
@supports (color: oklch(from red l c h)) { .meter i.on { background: var(--c-ink); } }
.k-tag { color: var(--ink); }
.k-desc { margin: 0; font-size: 15.5px; line-height: 1.55; max-width: 60ch; }
.k-times { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; }
.k-times li { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink); white-space: nowrap; }
.k-times b { font-weight: 700; margin-right: 2px; }
.klass.open { margin-top: clamp(16px, 2vw, 24px); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: none; }
.klass.open .k-art { aspect-ratio: auto; min-height: 280px; }
.klass.open .k-body { align-content: center; padding: clamp(20px, 3vw, 40px); }
.klass.open .k-head { justify-content: flex-start; gap: 16px; }
@media (max-width: 1099px) { .k-art { aspect-ratio: 16 / 9; } .k-mono { font-size: 72px; } }
@media (max-width: 759px) {
  .klass.open { grid-template-columns: minmax(0, 1fr); }
  .klass.open .k-art { aspect-ratio: 16 / 9; min-height: 0; }
}

/* ── memberships, like the price sheet ── */
.plans { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.plans.solo { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 899px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plans-side { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 900px) and (min-height: 820px) { .plans-side { position: sticky; top: calc(var(--mast-h) + 24px); } }
.feature { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 14px; justify-items: start; padding: clamp(28px, 3.4vw, 44px); background: var(--device); color: white; border-radius: 4px; }
.feature::before { content: ""; position: absolute; top: 0; right: 0; width: 42%; height: 12px; background: var(--energy); clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%); }
.feature :focus-visible { outline-color: white; outline-offset: 3px; }
.feature-name { margin: 0; font-family: var(--font-display); font-weight: 900; font-style: var(--class-style, normal); text-transform: uppercase; font-size: clamp(30px, 3.2vw, 44px); line-height: .92; }
.feature .price { font-size: clamp(72px, 8vw, 112px); color: var(--energy); }
.feature .price .per { color: rgba(255,255,255,.86); }
.feature-terms { margin: 0; font-size: 18px; font-weight: 600; max-width: 34ch; }
.feature .btn { margin-top: 10px; }
.price { display: inline-flex; align-items: baseline; font-family: var(--font-display); font-weight: 800; line-height: .9; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.price .cur { font-size: .52em; align-self: flex-start; margin: .1em .04em 0 0; }
.price .per { font-size: .36em; font-weight: 700; margin-left: .16em; letter-spacing: .02em; }
.trial-card { display: grid; gap: 14px; padding: clamp(20px, 2.4vw, 28px); background: var(--energy-soft); color: var(--ink); border-radius: 4px; }
.trial-h { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 23px; }
.trial-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.trial-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.trial-what { display: grid; gap: 2px; }
.trial-what b { font-size: 17px; }
.trial-what span { color: var(--muted); font-size: 14px; }
.trial-row .price { font-size: 34px; color: var(--energy-text); }
.trial-row .price.free { font-style: var(--class-style, normal); text-transform: uppercase; }
#landing .trial-btn { background: transparent; border: 2px solid var(--ink); color: var(--ink); font-weight: 700; }
#landing .trial-btn:hover { background: var(--ink); color: var(--surface); }
.sheet { display: grid; gap: clamp(28px, 3.4vw, 40px); }
.sheet-h { margin: 0 0 8px; font-family: var(--font-display); font-weight: 800; font-size: 23px; color: var(--energy-text); }
.sheet-rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.prow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 190px) minmax(96px, auto); align-items: baseline; gap: 6px 28px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.prow-main { display: grid; gap: 4px; justify-items: start; }
.prow-name { font-weight: 700; font-size: 17px; }
.prow-desc { color: var(--muted); font-size: 14px; max-width: 50ch; }
.elig { margin-top: 4px; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 3px; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.prow .price { font-size: 36px; justify-self: end; color: var(--ink); }
.prow .price .per { color: var(--muted); }
.prow .price.free { color: var(--energy-text); font-style: var(--class-style, normal); text-transform: uppercase; }
.prow-terms { color: var(--muted); font-size: 14px; }
.sheet-note { margin: 0; color: var(--muted); font-size: 15px; }
.sheet-note a { font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 599px) {
  .prow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main price" "terms terms"; gap: 4px 16px; }
  .prow-main { grid-area: main; }
  .prow .price { grid-area: price; font-size: 32px; }
  .prow-terms { grid-area: terms; }
  .prow-terms:empty { display: none; }
}

/* ── coaching packages: the coaching app's offer cards in the page's print language ── */
.pkgs { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
@media (max-width: 1099px) { .pkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .pkgs { grid-template-columns: minmax(0, 1fr); } }
.pkg { position: relative; display: grid; align-content: start; gap: 12px; padding: clamp(22px, 2.4vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.pkg::before { content: ""; position: absolute; top: 0; left: 0; width: 38%; height: 6px; background: var(--energy); clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.pkg-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; }
.pkg-kind { font-family: var(--font-display); font-weight: 800; font-style: var(--class-style, normal); text-transform: uppercase; letter-spacing: .06em; font-size: 14px; line-height: 1; padding: 6px 10px 5px; border-radius: 3px; background: var(--energy-soft); color: var(--energy-text); }
.pkg-per { font-size: 14px; font-weight: 600; color: var(--muted); text-align: right; }
.pkg-name { margin: 0; font-family: var(--font-display); font-weight: 900; font-style: var(--class-style, normal); text-transform: uppercase; font-size: clamp(26px, 2.4vw, 32px); line-height: .95; text-wrap: balance; }
.pkg .price { margin: 2px 0 0; font-size: clamp(52px, 5vw, 64px); color: var(--ink); }
.pkg .price .per { color: var(--muted); font-size: .3em; margin-left: .3em; }
.pkg .price.ask { font-size: 30px; }
.pkg-lines { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.pkg-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; }
.pkg-tag { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink); }
.pkg-note { margin-top: clamp(20px, 3vw, 28px); }

/* ── how it works (coaching gyms) ── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 759px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 3px solid var(--ink); }
.step-n { font-family: var(--font-display); font-weight: 900; font-style: var(--class-style, normal); font-size: clamp(56px, 6vw, 84px); line-height: .8; color: var(--energy-text); font-variant-numeric: lining-nums tabular-nums; }
.step-h { margin: 6px 0 0; font-family: var(--font-display); font-weight: 800; font-style: var(--class-style, normal); text-transform: uppercase; font-size: clamp(24px, 2.2vw, 30px); line-height: .95; }
.step p { margin: 0; color: var(--muted); font-size: 16px; max-width: 34ch; }

/* ── visit: the dark footer bar ── */
.visit { margin-top: clamp(80px, 11vw, 150px); background: var(--device); color: white; clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); padding: calc(var(--cut) + clamp(44px, 6vw, 88px)) 0 calc(24px + env(safe-area-inset-bottom, 0px)); }
.visit :focus-visible { outline-color: white; outline-offset: 3px; }
.visit a { color: white; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.visit a:hover { text-decoration-color: var(--energy); }
.visit-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.visit-h { margin: 0 0 24px; font-weight: 900; font-style: var(--class-style, normal); text-transform: uppercase; font-size: clamp(64px, 9vw, 132px); line-height: .82; }
.visit-addr { display: grid; font-style: normal; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.35; margin: 0; }
.visit-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 16px 0 0; padding: 0; font-size: 17px; }
.visit-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.visit-cta { justify-self: end; display: grid; gap: 18px; justify-items: start; max-width: 400px; }
.visit-pitch { margin: 0; font-family: var(--font-display); font-weight: 800; font-style: var(--class-style, normal); text-transform: uppercase; font-size: clamp(28px, 2.8vw, 40px); line-height: .95; text-wrap: balance; }
.visit-base { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-top: clamp(56px, 7vw, 96px); padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); font-size: 13px; color: rgba(255,255,255,.76); }
.visit-base .mark { display: inline-block; padding: 11px 0; line-height: 22px; color: white; font-size: 22px; text-decoration: none; }
.staff-links { list-style: none; display: flex; gap: 0 4px; margin: 0; padding: 0; }
.staff-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: rgba(255,255,255,.76); }
.powered { margin-left: auto; }
@media (max-width: 759px) {
  .visit-in { grid-template-columns: minmax(0, 1fr); }
  .visit-cta { justify-self: start; }
  .powered { margin-left: 0; }
}

/* ── whole-page states ── */
.state-page { min-height: 100vh; display: grid; align-items: center; background: var(--device); color: white; }
.state { display: grid; gap: 18px; justify-items: start; padding-block: 64px; }
.state-h { font-weight: 900; font-style: var(--class-style, normal); text-transform: uppercase; font-size: clamp(40px, 7vw, 96px); line-height: .88; max-width: 14ch; }
.state p { margin: 0; font-size: 18px; max-width: 46ch; color: rgba(255,255,255,.86); }
.state :focus-visible { outline-color: white; outline-offset: 3px; }

/* ── loading skeleton (index.html), the same frame as the page ── */
.sk-mark { width: 110px; height: 28px; }
.sk-cta { width: 92px; height: 44px; border-radius: 8px; grid-column: 3; }
.sk-slab { width: 180px; height: 44px; animation: none; }
.sk-dark { display: block; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.14), rgba(255,255,255,.06)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.sk-h { width: min(640px, 80vw); height: clamp(42px, 6.6vw, 104px); }
.sk-h.short { width: min(460px, 60vw); }
.sk-lede { width: min(420px, 70vw); height: 20px; }
.sk-btn { width: 220px; height: 54px; border-radius: 8px; }
.sk-bar { display: block; width: 220px; height: 54px; margin-bottom: 28px; }
.sk-week { display: block; height: 420px; border-radius: 4px; }
@media (max-width: 759px) { .sk-cta { grid-column: 2; } .sk-mast .mast-in { grid-template-rows: 56px; } .sk-mast { top: 0; } }

/* ── motion: one entrance, then sections ease in as they arrive ── */
@keyframes line-up { from { transform: translateY(108%); } }
@keyframes slab-in { from { clip-path: polygon(-100vw 0, -100vw 0, -100vw 100%, -100vw 100%); } }
@keyframes settle { from { transform: scale(1.07); } }
@keyframes burst-in { from { opacity: 0; transform: rotate(-48deg) scale(.55); } }
@media (prefers-reduced-motion: reduce) { .hero-h .ln > span, .slab, .hero-img, .hero-logo, .lede, .hero .cta-row, .burst, .k-art img { animation: none; transition: none; } }
@media (prefers-reduced-motion: no-preference) {
  .motion .rv { transition: opacity calc(var(--t-enter) * 2.2) var(--ease-out), transform calc(var(--t-enter) * 2.2) var(--ease-out); transition-delay: calc(var(--i, 0) * var(--stagger) * 2.5); }
  .motion .rv:not(.in) { opacity: 0; transform: translateY(18px); }
}
@media print {
  .rv { opacity: 1 !important; transform: none !important; }
  .mast { position: static; }
  .hero, .visit { clip-path: none; }
}
