/* ==========================================================================
   LIV FITNESS — "Chalk & Iron"
   Chalk-white base, iron black, LIV red. Archivo (variable width) + Martian Mono.
   ========================================================================== */

:root {
  --chalk: #f2efe8;
  --chalk-2: #e8e3d8;
  --chalk-3: #dcd5c7;
  --paper: #fbfaf6;
  --iron: #141414;
  --iron-2: #262626;
  --iron-3: #3a3a3a;
  --steel: #66625b;
  --steel-2: #8d887f;
  --red: #e1251b;
  --red-deep: #b5140d;
  --red-ink: #c81d14;
  --go: #22c55e;
  --line: rgba(20, 20, 20, 0.14);
  --line-strong: rgba(20, 20, 20, 0.85);

  --f-sans: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: 4px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  overflow-x: clip;
}

body {
  margin: 0;
  background-color: var(--chalk);
  /* chalk dust */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.08 0 0 0 0 0.08 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--iron);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--iron); color: #fff; padding: 10px 14px;
  font-family: var(--f-mono); font-size: 12px; text-decoration: none;
}
.skip:focus { top: 12px; }

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

/* ---------- type ---------- */

.display {
  font-family: var(--f-sans);
  font-weight: 900;
  font-stretch: 62%;
  font-variation-settings: "wdth" 62;
  text-transform: uppercase;
  line-height: 0.84;
  letter-spacing: -0.005em;
  margin: 0;
}

.h-xxl { font-size: clamp(4.2rem, 15.5vw, 15rem); }
.h-xl  { font-size: clamp(3.4rem, 10vw, 9.5rem); }
.h-lg  { font-size: clamp(2.8rem, 7vw, 6.4rem); }
.h-md  { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.h-sm  { font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: .92; }

.red { color: var(--red); }
.outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--iron);
}

.mono, .label {
  font-family: var(--f-mono);
  font-variation-settings: "wdth" 88;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.5;
}
.label { color: var(--steel); display: inline-flex; align-items: center; gap: 10px; }
.label::before {
  content: ""; width: 10px; height: 10px; background: var(--red); flex: none;
}
.label.plain::before { display: none; }

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  max-width: 34em;
  color: var(--iron-2);
}

.wide-caps {
  font-weight: 700;
  font-variation-settings: "wdth" 125;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

p { margin: 0 0 1em; }

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

.btn {
  --bg: var(--red);
  --fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 26px 17px;
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--bg);
  border-radius: var(--radius);
  font-family: var(--f-sans);
  font-weight: 800;
  font-variation-settings: "wdth" 115;
  font-stretch: 115%;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background .2s, color .2s, box-shadow .25s var(--ease);
  box-shadow: 0 0 0 0 var(--iron);
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 0 var(--iron); }
.btn:active { transform: translate(0, 0); box-shadow: 0 0 0 0 var(--iron); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.ghost { --bg: transparent; --fg: var(--iron); border-color: var(--iron); }
.btn.ghost:hover { --bg: var(--iron); --fg: #fff; box-shadow: 5px 5px 0 0 var(--red); }
.btn.iron { --bg: var(--iron); --fg: #fff; }
.btn.iron:hover { box-shadow: 5px 5px 0 0 var(--red); }
.btn.on-dark:hover { box-shadow: 5px 5px 0 0 #fff; }
.btn.small { padding: 11px 16px 10px; font-size: 12.5px; gap: 10px; }

.link-u {
  text-decoration: none;
  background: linear-gradient(var(--red), var(--red)) 0 100% / 100% 2px no-repeat;
  padding-bottom: 2px;
  transition: background-size .3s var(--ease), color .2s;
  font-weight: 600;
}
.link-u:hover { color: var(--red-ink); background-size: 100% 100%; color: #fff; }

/* ---------- barbell scroll meter ---------- */

.barbell {
  position: fixed; left: 0; right: 0; top: 0; z-index: 101;
  height: 5px;
  pointer-events: none;
}
.barbell .bar {
  position: absolute; left: 0; top: 2px; height: 1px;
  width: 100%; background: rgba(20,20,20,.18);
}
.barbell .fill {
  position: absolute; left: 0; top: 0; height: 5px; width: 0;
  background: var(--red);
}
.barbell .plates {
  position: absolute; right: -14px; top: -5px;
  display: flex; gap: 1px; align-items: center;
  opacity: 0; transition: opacity .3s;
}
.barbell.show .plates { opacity: 1; }
.barbell .plate {
  width: 4px; border-radius: 1px; background: var(--iron);
  transform: scaleY(0); transform-origin: center;
  transition: transform .35s var(--ease);
}
.barbell .plate:nth-child(1) { height: 15px; background: var(--red); }
.barbell .plate:nth-child(2) { height: 12px; }
.barbell .plate:nth-child(3) { height: 9px; }
.barbell .plate:nth-child(4) { height: 7px; background: var(--steel); }
.barbell .plate.on { transform: scaleY(1); }

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

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(242, 239, 232, 0.9);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 28px;
  height: var(--header-h);
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; flex: none;
}
.brand-mark {
  display: grid; place-items: center;
  width: 54px; height: 44px;
  background: var(--red); color: #fff;
  font-weight: 900; font-variation-settings: "wdth" 70; font-stretch: 70%;
  font-size: 30px; line-height: 1; letter-spacing: -0.01em;
  box-shadow: 3px 3px 0 var(--iron);
  transform: rotate(-3deg);
  transition: transform .3s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(0deg); }
.brand-word {
  font-weight: 800; font-size: 15px; letter-spacing: 0.22em;
  font-variation-settings: "wdth" 125; font-stretch: 125%;
  color: var(--steel);
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 700; font-size: 14px;
  font-variation-settings: "wdth" 112; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.status-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .05em;
  text-transform: uppercase; text-decoration: none;
  white-space: nowrap;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--steel-2); flex: none;
}
.is-open .status-dot { background: var(--go); box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: ping 2s infinite; }
.is-closed .status-dot { background: var(--red); }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  80%, 100% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

.menu-btn {
  display: none;
  margin-left: auto;
  width: 48px; height: 48px;
  background: var(--iron); color: #fff; border: 0; border-radius: var(--radius);
  cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto;
  position: relative; transition: transform .3s var(--ease), opacity .2s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .header-status { display: none; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--iron); color: #fff;
    padding: 24px var(--gutter) 40px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
    overflow-y: auto;
  }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; transition: opacity .25s, transform .3s var(--ease); }
  .nav a {
    font-size: clamp(2.6rem, 12vw, 4rem); font-weight: 900;
    font-variation-settings: "wdth" 62; font-stretch: 62%;
    line-height: 1; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14);
    letter-spacing: 0;
  }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--red); }
  .nav .btn { margin-top: 28px; justify-content: center; font-size: 16px; font-variation-settings: "wdth" 115; font-stretch: 115%; border-bottom: 2px solid var(--red); padding: 18px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- ticker ---------- */

.ticker {
  background: var(--iron); color: #fff;
  overflow: hidden; white-space: nowrap;
  border-bottom: 1px solid var(--iron);
}
.ticker-track {
  display: inline-flex; gap: 0;
  animation: tick 38s linear infinite;
  padding: 11px 0;
}
.ticker span {
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  display: inline-flex; align-items: center;
}
.ticker span::after {
  content: ""; width: 7px; height: 7px; background: var(--red); margin: 0 26px; transform: rotate(45deg);
}
@keyframes tick { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- sections ---------- */

.section { padding: clamp(72px, 10vw, 150px) 0; position: relative; }
.section.tight { padding: clamp(56px, 7vw, 96px) 0; }
.section.dark { background: var(--iron); color: #f2efe8; }
.section.dark .label { color: #a8a39a; }
.section.dark .lede { color: #d6d1c7; }
.section.dark .outline { -webkit-text-stroke-color: #f2efe8; }
.section.red-bg { background: var(--red); color: #fff; }
.section.paper { background: var(--paper); }

.sec-head {
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px 48px; align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.sec-head .label { margin-bottom: 18px; }
.sec-head .aside { max-width: 30em; color: var(--steel); }
.section.dark .sec-head .aside { color: #bdb7ac; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

.rule {
  height: 0; border: 0; border-top: 1px solid var(--line); margin: 0;
}

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

.split-line { display: block; overflow: hidden; }
.split-line > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); }
.in .split-line > span, .split-line.in > span { transform: none; }
.split-line:nth-child(2) > span { transition-delay: .09s; }
.split-line:nth-child(3) > span { transition-delay: .18s; }
.split-line:nth-child(4) > span { transition-delay: .27s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .split-line > span { transform: none; }
}

/* ==========================================================================
   HOME — hero
   ========================================================================== */

.hero { position: relative; padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.hero-kicker { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: clamp(20px, 3vw, 34px); }
.hero h1 { font-size: clamp(4.4rem, 13.2vw, 13.5rem); }
.hero h1 .l2 { color: var(--red); }
.hero-sub {
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start;
  margin-top: clamp(26px, 3.4vw, 44px);
  max-width: 720px;
}
.hero-sub .num {
  font-family: var(--f-mono); font-size: 11px; color: var(--steel);
  border-top: 2px solid var(--iron); padding-top: 8px; min-width: 64px;
}
.hero-sub p { font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.4; margin: 0 0 22px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-sub .hero-note { margin: 20px 0 0; color: var(--steel); font-size: 13.5px; max-width: 34em; }

/* ---------- door reader ---------- */

.reader-wrap { position: relative; padding-top: 8px; }
.reader {
  position: relative;
  background: linear-gradient(160deg, #2b2b2b, #111 60%);
  color: #eee;
  border-radius: 22px;
  padding: 22px 22px 26px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -2px 0 rgba(0,0,0,.6),
    0 30px 60px -20px rgba(0,0,0,.45),
    8px 8px 0 var(--red);
}
.reader-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.reader-top .mono { color: #8a8a8a; font-size: 10px; }
.reader-screws { display: flex; gap: 6px; }
.reader-screws i { width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #666, #222); }

.reader-screen {
  background: #0a0f0b;
  border-radius: 10px;
  padding: 16px 16px 14px;
  border: 1px solid #000;
  box-shadow: inset 0 0 24px rgba(0,0,0,.9);
  font-family: var(--f-mono);
  font-variation-settings: "wdth" 80;
  min-height: 150px;
  position: relative; overflow: hidden;
}
.reader-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.025) 0 1px, transparent 1px 3px);
}
.screen-time { font-size: 38px; font-weight: 600; letter-spacing: -.02em; color: #f5f5f5; line-height: 1; }
.screen-time small { font-size: 12px; color: #7c7c7c; margin-left: 6px; letter-spacing: .06em; }
.screen-day { font-size: 10.5px; color: #7c7c7c; letter-spacing: .1em; text-transform: uppercase; margin: 6px 0 14px; }
.screen-msg { font-size: 12px; line-height: 1.55; letter-spacing: .03em; text-transform: uppercase; color: #cfcfcf; }
.screen-msg b { font-weight: 700; }
.screen-msg .g { color: var(--go); }
.screen-msg .r { color: #ff5a4f; }
.screen-msg .y { color: #f5c542; }

.reader-pad {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  margin-top: 22px;
}
.reader-ring {
  width: 108px; height: 108px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle, #1b1b1b 55%, #0c0c0c 56%);
  box-shadow: inset 0 0 0 2px #333, inset 0 0 0 6px #111;
  position: relative;
}
.reader-ring::before {
  content: ""; position: absolute; inset: 7px; border-radius: 50%;
  border: 3px solid #3a3a3a;
  transition: border-color .25s, box-shadow .25s;
}
.reader.granted .reader-ring::before { border-color: var(--go); box-shadow: 0 0 22px var(--go), inset 0 0 14px rgba(34,197,94,.6); }
.reader.denied .reader-ring::before { border-color: #ff3b30; box-shadow: 0 0 22px #ff3b30, inset 0 0 14px rgba(255,59,48,.6); }
.reader.reading .reader-ring::before { border-color: #f5c542; box-shadow: 0 0 14px rgba(245,197,66,.8); animation: blink .35s infinite alternate; }
@keyframes blink { to { opacity: .35; } }
.reader-ring svg { width: 34px; height: 34px; color: #5a5a5a; }

.fob {
  width: 70px; height: 108px;
  border: 0; padding: 0; background: none; cursor: grab;
  position: relative; touch-action: none;
  transition: transform .45s var(--ease);
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.45));
}
.fob:active { cursor: grabbing; }
.fob svg { width: 100%; height: 100%; }
.fob.tapping { transform: translateX(-92px) rotate(-12deg) scale(.96); }
.fob.dragging { transition: none; }
.reader-hint {
  text-align: center; margin-top: 16px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #8a8a8a;
}
.reader-hint b { color: #fff; }

.reader-caption {
  display: flex; justify-content: space-between; gap: 12px; margin-top: 18px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel);
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .reader-wrap { max-width: 440px; }
}

/* ---------- filmstrip ---------- */

.film {
  position: relative;
  padding: 22px 0 18px;
  background: var(--iron);
}
.film::before, .film::after {
  content: ""; position: absolute; left: 0; right: 0; height: 12px;
  background: radial-gradient(circle at 10px 6px, var(--chalk) 3.2px, transparent 3.8px) 0 0 / 22px 12px repeat-x;
  opacity: .9;
}
.film::before { top: 5px; }
.film::after { bottom: 3px; }
.film-track {
  display: flex; gap: 10px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding: 10px var(--gutter);
  cursor: grab;
  scrollbar-width: none;
}
.film-track::-webkit-scrollbar { display: none; }
.film-track.drag { cursor: grabbing; scroll-snap-type: none; }
.film figure {
  margin: 0; flex: none; scroll-snap-align: start;
  width: clamp(220px, 26vw, 360px);
  position: relative;
}
.film figure.tall { width: clamp(180px, 19vw, 270px); }
.film img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  transition: filter .5s var(--ease);
  user-select: none; -webkit-user-drag: none;
}
.film figure.tall img { aspect-ratio: 3 / 4; height: 100%; }
.film figure:hover img { filter: none; }
.film figcaption {
  position: absolute; left: 8px; bottom: 8px;
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase;
  background: var(--iron); color: #fff; padding: 4px 7px;
}
.film figcaption b { color: var(--red); font-weight: 600; }
.film-meta {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 6px var(--gutter) 10px; color: #8d887f;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
}

/* ---------- the program (principles) ---------- */

.program {
  border-top: 3px solid var(--iron);
}
.prog-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1.1fr) minmax(0, 1fr) 110px;
  gap: clamp(16px, 3vw, 44px);
  align-items: start;
  padding: clamp(24px, 3vw, 38px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .3s;
}
.prog-row:hover { background: rgba(255,255,255,.4); }
.prog-code {
  font-family: var(--f-mono); font-size: 13px; font-weight: 600; color: var(--red);
  padding-top: 8px;
}
.prog-row h3 { margin: 0; font-size: clamp(1.9rem, 3.4vw, 3rem); }
.prog-row p { margin: 4px 0 0; color: var(--iron-3); max-width: 36em; }
.prog-row p a { font-weight: 600; }
.prog-sets {
  font-family: var(--f-mono); font-size: 11px; color: var(--steel); text-align: right; padding-top: 8px;
}
.prog-sets .tally { display: flex; justify-content: flex-end; gap: 4px; margin-top: 10px; }
.prog-sets .tally i {
  width: 14px; height: 14px; border: 2px solid var(--iron); border-radius: 2px; position: relative;
}
.prog-sets .tally i::after {
  content: ""; position: absolute; inset: 1px; background: var(--red);
  transform: scale(0); transition: transform .35s var(--ease);
}
.prog-row.in .tally i::after { transform: scale(1); }
.prog-row.in .tally i:nth-child(2)::after { transition-delay: .15s; }
.prog-row.in .tally i:nth-child(3)::after { transition-delay: .3s; }

@media (max-width: 860px) {
  .prog-row { grid-template-columns: 56px 1fr; }
  .prog-row p { grid-column: 2; }
  .prog-sets { display: none; }
}

/* ---------- scoreboard ---------- */

.scoreboard {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255,255,255,.2);
  border-left: 1px solid rgba(255,255,255,.2);
}
.score {
  padding: clamp(20px, 2.4vw, 32px);
  border-right: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
  min-height: 210px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.score .val { font-size: clamp(3rem, 6.2vw, 5.8rem); }
.score .val sup { font-size: .4em; vertical-align: top; position: relative; top: .25em; margin-left: 2px; color: var(--red); }
.score .cap { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #a8a39a; }
.score .cap b { color: #fff; font-weight: 600; display: block; margin-bottom: 4px; }
@media (max-width: 1000px) { .scoreboard { grid-template-columns: repeat(2, 1fr); } .score:last-child { grid-column: span 2; } }
@media (max-width: 480px) { .score { min-height: 170px; } }

/* ---------- the week grid ---------- */

.week {
  --cols: 18;
  display: grid;
  grid-template-columns: 56px repeat(var(--cols), minmax(0, 1fr));
  gap: 3px;
  position: relative;
}
.week .hlab {
  font-family: var(--f-mono); font-size: 9.5px; color: var(--steel); text-align: left;
  padding-bottom: 6px; white-space: nowrap;
}
.week .dlab {
  font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .06em;
  display: flex; align-items: center;
}
.week .dlab.today { color: var(--red); }
.week .cell {
  height: 34px; border-radius: 2px;
  background: var(--chalk-3);
  position: relative;
  transition: transform .2s var(--ease);
}
.week .cell.staff { background: var(--red); }
.week .cell.half-a { background: linear-gradient(90deg, var(--red) 50%, var(--chalk-3) 50%); }
.week .cell.half-b { background: linear-gradient(90deg, var(--chalk-3) 50%, var(--red) 50%); }
.week .cell.q-a { background: linear-gradient(90deg, var(--red) 75%, var(--chalk-3) 75%); }
.week .cell.q-b { background: linear-gradient(90deg, var(--chalk-3) 50%, var(--red) 50%); }
.week .cell:hover { transform: scaleY(1.18); z-index: 2; }
.week .row-today .cell { box-shadow: inset 0 0 0 1px rgba(20,20,20,.35); }
.week-now {
  position: absolute; top: -5px; bottom: -5px; width: 3px; margin-left: -1px; background: var(--iron); z-index: 3;
  pointer-events: none;
}
.week-now::before {
  content: "NOW"; position: absolute; top: -15px; left: -12px;
  font-family: var(--f-mono); font-size: 9px; font-weight: 700; background: var(--iron); color: #fff; padding: 2px 4px;
}
.week-legend { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--steel); }
.week-legend i { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 8px; border-radius: 2px; }
.week-tip {
  position: fixed; z-index: 150; pointer-events: none;
  background: var(--iron); color: #fff; padding: 8px 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em;
  opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s;
  white-space: nowrap;
}
.week-tip.show { opacity: 1; transform: none; }
.week-scroll { overflow-x: auto; padding-top: 6px; }
.week-scroll .week { min-width: 640px; }

.hours-split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: clamp(32px, 5vw, 80px); align-items: start;
}
@media (max-width: 960px) { .hours-split { grid-template-columns: 1fr; } }

.bigclock { border-top: 3px solid var(--iron); padding-top: 18px; }
.bigclock .t { font-size: clamp(3.6rem, 8vw, 7rem); }
.bigclock .t .dash { color: var(--red); }

/* ---------- receipt ---------- */

.price-split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 470px); gap: clamp(36px, 6vw, 100px); align-items: center;
}
@media (max-width: 960px) { .price-split { grid-template-columns: 1fr; } }

.bigprice { display: flex; align-items: flex-start; gap: 6px; line-height: .8; }
.bigprice .cur { font-size: clamp(2rem, 4vw, 3.5rem); margin-top: .12em; }
.bigprice .amt { font-size: clamp(8rem, 22vw, 17rem); }
.bigprice .per { font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; align-self: flex-end; margin: 0 0 1.4em 6px; color: var(--steel); }
.section.dark .bigprice .per { color: #a8a39a; }

.toggle {
  display: inline-grid; grid-template-columns: 1fr 1fr;
  border: 2px solid currentColor; border-radius: 99px; padding: 3px;
  position: relative; margin: 8px 0 26px;
}
.toggle button {
  position: relative; z-index: 1;
  background: none; border: 0; cursor: pointer;
  padding: 10px 18px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  transition: color .25s;
}
.toggle .knob {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px);
  background: var(--red); border-radius: 99px;
  transition: transform .35s var(--ease);
}
.toggle[data-v="1"] .knob { transform: translateX(100%); }
.toggle button[aria-pressed="true"] { color: #fff; }

.receipt {
  --zz: 10px;
  position: relative;
  background: var(--paper);
  color: var(--iron);
  padding: 34px 30px 36px;
  font-family: var(--f-mono);
  font-variation-settings: "wdth" 82;
  font-size: 12.5px;
  line-height: 1.7;
  box-shadow: 0 30px 50px -24px rgba(0,0,0,.5);
  transform: rotate(1.4deg);
  transition: transform .5s var(--ease);
  -webkit-mask:
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--zz) * 2) 100%,
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--zz) * 2) 100%;
  -webkit-mask-composite: source-in;
          mask:
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--zz) * 2) 100% intersect,
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--zz) * 2) 100%;
}
.receipt:hover { transform: rotate(0deg); }
.receipt .rc-head { text-align: center; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.receipt .rc-head b { display: block; font-family: var(--f-sans); font-weight: 900; font-size: 34px; letter-spacing: -0.01em; font-variation-settings: "wdth" 62; font-stretch: 62%; line-height: 1; margin-bottom: 6px; }
.receipt .rc-row { display: flex; gap: 8px; text-transform: uppercase; }
.receipt .rc-row .k { flex: none; }
.receipt .rc-row .dots { flex: 1; border-bottom: 1.5px dotted rgba(20,20,20,.4); transform: translateY(-5px); min-width: 12px; }
.receipt .rc-row .v { flex: none; font-weight: 700; }
.receipt .rc-row .v.zero { color: var(--red-ink); }
.receipt .rc-row .v.strike { text-decoration: line-through; opacity: .45; font-weight: 400; margin-right: 6px; }
.receipt .rc-cut { border-top: 1.5px dashed rgba(20,20,20,.5); margin: 14px 0; }
.receipt .rc-total { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; text-transform: uppercase; }
.receipt .rc-foot { text-align: center; margin-top: 20px; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; color: var(--steel); }
.barcode {
  height: 44px; margin: 16px auto 8px; width: 78%;
  background: repeating-linear-gradient(90deg, var(--iron) 0 2px, transparent 2px 4px, var(--iron) 4px 5px, transparent 5px 8px, var(--iron) 8px 11px, transparent 11px 12px, var(--iron) 12px 13px, transparent 13px 16px);
}
.flash { animation: flash .6s var(--ease); }
@keyframes flash { 0% { background: rgba(225,37,27,.25); } 100% { background: transparent; } }

/* ---------- trainer teaser / cards ---------- */

.roster {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px;
}
.card {
  position: relative; display: block; text-align: left; width: 100%;
  background: var(--paper); border: 2px solid var(--iron); border-radius: 10px; padding: 10px;
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  box-shadow: 0 0 0 var(--red);
}
.card:hover { transform: translate(-4px, -6px) rotate(-1deg); box-shadow: 8px 10px 0 var(--red); }
.card .ph {
  position: relative; overflow: hidden; border-radius: 5px; aspect-ratio: 4 / 5; background: var(--chalk-3);
}
.card .ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s, transform .8s var(--ease); }
.card:hover .ph img { filter: none; transform: scale(1.04); }
.card .no {
  position: absolute; top: 8px; left: 8px;
  background: var(--red); color: #fff; font-family: var(--f-mono); font-size: 11px; font-weight: 700; padding: 4px 7px; border-radius: 3px;
}
.card .spec-strip {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  padding: 30px 10px 10px; color: #fff;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
}
.card .nm { display: flex; justify-content: space-between; align-items: end; gap: 10px; padding: 12px 4px 4px; }
.card .nm h3 { margin: 0; font-size: 2.3rem; }
.card .nm .mono { font-size: 10px; color: var(--steel); text-align: right; }
.card .tags { display: flex; flex-wrap: wrap; gap: 5px; padding: 8px 4px 4px; }
.tag {
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase;
  border: 1px solid var(--line-strong); border-radius: 99px; padding: 3px 8px;
}
.card.hide { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip {
  border: 2px solid var(--iron); background: transparent; border-radius: 99px;
  padding: 9px 15px; cursor: pointer;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.chip:hover { background: var(--chalk-2); }
.chip[aria-pressed="true"] { background: var(--iron); color: #fff; }
.chip .ct { color: var(--red); margin-left: 6px; }

/* trainer dialog */
.tdialog {
  border: 0; padding: 0; background: transparent; max-width: min(980px, calc(100vw - 32px)); width: 100%;
  max-height: calc(100vh - 40px);
}
.tdialog::backdrop { background: rgba(10,10,10,.72); backdrop-filter: blur(4px); }
.tdialog[open] { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.tcard {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  background: var(--paper); border: 3px solid var(--iron); border-radius: 14px; overflow: hidden;
  max-height: calc(100vh - 40px);
}
.tcard .ph { position: relative; background: var(--iron); }
.tcard .ph img { width: 100%; height: 100%; object-fit: cover; min-height: 100%; }
.tcard .ph .no { position: absolute; top: 14px; left: 14px; background: var(--red); color: #fff; font-family: var(--f-mono); font-weight: 700; font-size: 13px; padding: 6px 9px; border-radius: 3px; }
.tcard .body { padding: clamp(24px, 3.4vw, 42px); overflow-y: auto; }
.tcard h2 { margin: 6px 0 14px; font-size: clamp(3rem, 6vw, 5rem); }
.tcard .creds { font-family: var(--f-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--steel); border-top: 2px solid var(--iron); border-bottom: 1px solid var(--line); padding: 10px 0; margin-bottom: 18px; }
.tcard .bio p { color: var(--iron-2); }
.tcard .bio ul { padding-left: 18px; margin: 0 0 1em; }
.tcard .bio li { margin: 4px 0; }
.tcard .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 24px; }
.tclose {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--iron); background: var(--paper);
  cursor: pointer; font-size: 20px; line-height: 1; display: grid; place-items: center;
}
.tclose:hover { background: var(--red); color: #fff; border-color: var(--red); }
@media (max-width: 760px) {
  .tcard { grid-template-columns: 1fr; overflow-y: auto; }
  .tcard .ph { aspect-ratio: 4 / 3; }
  .tcard .body { overflow: visible; }
}

/* ---------- reviews ---------- */

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--iron); }
.review {
  padding: clamp(24px, 3vw, 40px) clamp(18px, 2.4vw, 34px) 10px 0;
  display: flex; flex-direction: column; gap: 18px;
}
.review + .review { border-left: 1px solid var(--line); padding-left: clamp(18px, 2.4vw, 34px); }
.stars { display: flex; gap: 3px; }
.stars i { width: 16px; height: 16px; background: var(--red); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.review blockquote { margin: 0; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.4; font-weight: 500; }
.review blockquote::before { content: "“"; display: block; font-size: 5rem; line-height: .6; font-weight: 900; color: var(--red); margin-bottom: 4px; }
.review cite { font-style: normal; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-top: auto; }
.review cite span { color: var(--steel); display: block; }
@media (max-width: 900px) {
  .reviews { grid-template-columns: 1fr; }
  .review + .review { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
}

/* ---------- curious CTA ---------- */

.curious {
  position: relative; overflow: hidden;
}
.curious .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.curious h2 { font-size: clamp(4rem, 13vw, 12.5rem); }
.curious .doorbell {
  display: flex; align-items: center; gap: 18px; margin: 22px 0 28px;
}
.bell {
  width: 76px; height: 76px; border-radius: 50%; flex: none; cursor: pointer;
  background: radial-gradient(circle at 40% 35%, #fff, #e8e3d8 60%, #bdb6a8);
  border: 6px solid var(--iron);
  box-shadow: 0 6px 0 var(--red-deep), 0 10px 20px rgba(0,0,0,.25);
  transition: transform .1s, box-shadow .1s;
}
.bell:active, .bell.ding { transform: translateY(5px); box-shadow: 0 1px 0 var(--red-deep), 0 4px 8px rgba(0,0,0,.25); }
.curious .note { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; opacity: .85; line-height: 1.6; }
.ring-wave { position: absolute; pointer-events: none; border: 3px solid #fff; border-radius: 50%; animation: wave 1s var(--ease) forwards; }
@keyframes wave { from { opacity: .9; transform: scale(.4); } to { opacity: 0; transform: scale(3.2); } }
@media (max-width: 860px) { .curious .wrap { grid-template-columns: 1fr; } }

/* ---------- page hero (inner pages) ---------- */

.phero { padding: clamp(46px, 7vw, 110px) 0 clamp(40px, 5vw, 70px); border-bottom: 3px solid var(--iron); position: relative; overflow: hidden; }
.phero .label { margin-bottom: 24px; }
.phero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.phero-grid .lede { margin: 0; }
@media (max-width: 900px) { .phero-grid { grid-template-columns: 1fr; } }
.phero .bgnum {
  position: absolute; right: -0.04em; top: -0.12em; z-index: -1;
  font-size: clamp(14rem, 36vw, 34rem); color: transparent; -webkit-text-stroke: 2px rgba(20,20,20,.08);
  pointer-events: none; user-select: none;
}

/* ---------- generic layout bits ---------- */

.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 80px); }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
@media (max-width: 900px) { .two, .three { grid-template-columns: 1fr; } }

.steps { counter-reset: s; display: grid; gap: 0; border-top: 3px solid var(--iron); }
.step { counter-increment: s; display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.step::before { content: counter(s, decimal-leading-zero); font-weight: 900; font-variation-settings: "wdth" 62; font-stretch: 62%; font-size: 4.2rem; line-height: .8; color: var(--red); }
.section.dark .step { border-color: rgba(255,255,255,.18); }
.section.dark .steps { border-top-color: #fff; }
.step h3 { margin: 0 0 6px; font-size: 1.9rem; }
.step p { margin: 0; color: var(--iron-3); }
.section.dark .step p { color: #cfc9be; }
.step.opt::before { content: "+"; color: var(--steel-2); }
@media (max-width: 560px) { .step { grid-template-columns: 64px 1fr; } .step::before { font-size: 3rem; } }

.checklist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; background: var(--red); clip-path: polygon(14% 44%, 0 58%, 38% 96%, 100% 22%, 86% 8%, 38% 68%); }
.section.dark .checklist, .section.dark .checklist li { border-color: rgba(255,255,255,.18); }

.panel { background: var(--paper); border: 2px solid var(--iron); border-radius: 10px; padding: clamp(22px, 3vw, 36px); }
.panel.red { background: var(--red); color: #fff; border-color: var(--red); }
.panel.iron { background: var(--iron); color: #f2efe8; border-color: var(--iron); }

.notice {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  border: 2px dashed var(--iron); border-radius: 8px; padding: 16px 18px; font-size: 15px;
  background: rgba(255,255,255,.35);
}
.notice .ic { width: 26px; height: 26px; background: var(--iron); color: #fff; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-family: var(--f-mono); font-size: 13px; }

/* rate board */
.rateboard { border: 3px solid var(--iron); border-radius: 10px; overflow: hidden; background: var(--iron); display: grid; gap: 3px; grid-template-columns: 1fr 1fr; }
.rate { background: var(--paper); padding: 22px 22px 18px; }
.rate .d { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.rate .p { font-size: clamp(3.2rem, 6vw, 5rem); margin-top: 10px; }
.rate .p small { font-size: .4em; color: var(--steel); }

/* forms */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px;
  padding: 14px 14px; border: 2px solid var(--iron); border-radius: 6px; background: var(--paper); color: var(--iron);
  width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 4px 4px 0 var(--red); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form .fine { font-size: 13px; color: var(--steel); margin: 0; }
.panel.iron .field input, .panel.iron .field select, .panel.iron .field textarea { background: #1f1f1f; color: #fff; border-color: #555; }
.panel.iron .form .fine { color: #a8a39a; }

.preview-mail {
  font-family: var(--f-mono); font-size: 12px; line-height: 1.6;
  background: #0d0d0d; color: #d9d9d9; border-radius: 8px; padding: 16px; white-space: pre-wrap; word-break: break-word;
}
.preview-mail b { color: var(--go); font-weight: 600; }

/* FAQ */
.faq { border-top: 3px solid var(--iron); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 50px 22px 0; position: relative;
  font-weight: 800; font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-variation-settings: "wdth" 90;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background:
    linear-gradient(var(--iron), var(--iron)) center / 100% 3px no-repeat,
    linear-gradient(var(--iron), var(--iron)) center / 3px 100% no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: transparent; }
.faq details[open] summary { color: var(--red-ink); }
.faq .a { padding: 0 0 24px; max-width: 46em; color: var(--iron-3); }

/* rules */
.rules { counter-reset: r; }
.rule-block { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(20px, 4vw, 60px); padding: clamp(28px, 4vw, 52px) 0; border-top: 1px solid var(--line); }
.rule-block:first-child { border-top: 3px solid var(--iron); }
.rule-block h3 { margin: 0; font-size: clamp(2.4rem, 4.8vw, 4.4rem); }
.rule-block h3::before { counter-increment: r; content: "RULE " counter(r, decimal-leading-zero); display: block; font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--red); margin-bottom: 12px; }
.rule-block ul { list-style: none; margin: 0; padding: 0; }
.rule-block li { padding: 10px 0 10px 26px; position: relative; border-bottom: 1px dashed var(--line); color: var(--iron-2); }
.rule-block li:last-child { border-bottom: 0; }
.rule-block li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 3px; background: var(--red); }
@media (max-width: 860px) { .rule-block { grid-template-columns: 1fr; } }

/* member desk tiles */
.desk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: var(--iron); border: 3px solid var(--iron); border-radius: 12px; overflow: hidden; }
.desk a {
  background: var(--paper); padding: 26px 24px 22px; text-decoration: none; min-height: 170px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  transition: background .25s, color .25s;
  position: relative;
}
.desk a:hover { background: var(--red); color: #fff; }
.desk a .mono { color: var(--steel); transition: color .25s; }
.desk a:hover .mono { color: rgba(255,255,255,.8); }
.desk a .t { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.desk a .go { position: absolute; top: 22px; right: 22px; font-size: 22px; transition: transform .3s var(--ease); }
.desk a:hover .go { transform: translate(4px, -4px); }
@media (max-width: 900px) { .desk { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .desk { grid-template-columns: 1fr; } .desk a { min-height: 120px; } }

/* hours table */
.htable { width: 100%; border-collapse: collapse; border-top: 3px solid var(--iron); }
.htable th, .htable td { text-align: left; padding: 15px 8px 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.htable th { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; width: 34%; }
.htable td { font-weight: 700; font-variation-settings: "wdth" 90; font-size: 1.15rem; }
.htable tr.today th, .htable tr.today td { color: var(--red-ink); }
.htable tr.today th::after { content: " ← today"; font-weight: 400; }

.map { border: 3px solid var(--iron); border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--chalk-3); filter: grayscale(.9) contrast(1.05); transition: filter .5s; }
.map:hover { filter: none; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* photo pair */
.photo-stack { position: relative; }
.photo-stack img { width: 100%; object-fit: cover; border-radius: 8px; filter: grayscale(1) contrast(1.05); }
.photo-stack .a { aspect-ratio: 4 / 5; }
.photo-stack .b { position: absolute; width: 52%; right: -6%; bottom: -10%; aspect-ratio: 1; border: 8px solid var(--chalk); filter: none; }
.section.dark .photo-stack .b { border-color: var(--iron); }
@media (max-width: 900px) { .photo-stack .b { right: 0; } }

/* healcode button */
.join-widget { display: inline-block; }
.join-widget a.healcode-contract-image-link,
.join-widget .healcode-contract-image-link {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 22px 32px 21px; background: var(--red); color: #fff !important; border: 2px solid var(--red); border-radius: var(--radius);
  font-family: var(--f-sans); font-weight: 900; font-size: 18px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none !important;
  font-variation-settings: "wdth" 115; font-stretch: 115%;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  cursor: pointer;
}
.join-widget a.healcode-contract-image-link:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 #fff; }
.join-fallback { display: block; margin-top: 12px; font-size: 13px; }
.join-widget.ready + .join-fallback { display: none; }

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

.site-footer { background: var(--iron); color: #d9d4ca; padding: clamp(56px, 8vw, 110px) 0 28px; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: clamp(40px, 6vw, 80px); }
.footer-top h4 { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8d887f; margin: 0 0 16px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-top a { text-decoration: none; color: #f2efe8; }
.footer-top a:hover { color: var(--red); }
.footer-top .big { font-size: 1.35rem; font-weight: 700; line-height: 1.3; color: #fff; }
.footer-top .fine { font-size: 13px; color: #8d887f; margin-top: 6px; }
.footer-badge { width: 116px; border-radius: 50%; margin-bottom: 22px; }
.footer-word {
  font-size: clamp(5rem, 24vw, 24rem); line-height: .78;
  color: transparent; -webkit-text-stroke: 2px #3a3a3a; white-space: nowrap;
  margin: 0 0 20px -0.03em; user-select: none;
  transition: -webkit-text-stroke-color .5s;
}
.site-footer:hover .footer-word { -webkit-text-stroke-color: var(--red); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #2f2f2f; padding-top: 22px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #77726a; }
.footer-bottom a { color: inherit; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border: 1px solid #3a3a3a; border-radius: 50%; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.socials svg { width: 17px; height: 17px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* mobile sticky join */
.mobile-join {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  display: none; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--iron); color: #fff; border-radius: 10px; padding: 10px 10px 10px 16px;
  box-shadow: 0 16px 30px rgba(0,0,0,.35);
  transform: translateY(140%); transition: transform .4s var(--ease);
}
.mobile-join.show { transform: none; }
.mobile-join .mono { font-size: 10.5px; color: #cfc9be; }
.mobile-join .mono b { color: #fff; font-size: 13px; display: block; font-family: var(--f-sans); letter-spacing: .02em; }
@media (max-width: 700px) { .mobile-join { display: flex; } .site-footer { padding-bottom: 96px; } }

.roster[data-pick] { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* inner-page hero: headline gets the full width, intro sits under it on the right */
.phero-grid { grid-template-columns: 1fr; gap: clamp(24px, 3vw, 40px); }
.phero-grid > :last-child { justify-self: end; max-width: 560px; }
.phero h1 { font-size: clamp(3.6rem, 11vw, 11rem); }
@media (max-width: 900px) { .phero-grid > :last-child { justify-self: start; } }

/* page-top headlines animate on load (no scroll observer needed) */
.hero .split-line > span, .phero .split-line > span { transform: none; animation: rise 1s var(--ease) both; }
.hero .split-line:nth-child(2) > span, .phero .split-line:nth-child(2) > span { animation-delay: .1s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }

.bigclock .t { font-size: clamp(3rem, 5.6vw, 5.8rem); white-space: nowrap; }

/* above-the-fold blocks also animate on load */
.hero .reveal, .phero .reveal { opacity: 1; transform: none; animation: fadeup .9s var(--ease) .25s both; }
.hero .reveal.d3 { animation-delay: .4s; }
@keyframes fadeup { from { opacity: 0; transform: translateY(28px); } }

@media (max-width: 560px) {
  .hero-sub { grid-template-columns: 1fr; gap: 14px; }
  .hero-sub .num { display: none; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
  .receipt { padding: 30px 20px 32px; font-size: 11.5px; }
  .bigprice .amt { font-size: clamp(7rem, 38vw, 10rem); }
}

/* backdrop-filter makes the header a containing block for the fixed mobile menu — drop it on small screens */
@media (max-width: 900px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--chalk); }
}
.hours-split > *, .two > *, .price-split > * { min-width: 0; }
