/* LEGACY GYM, Wooster, Ohio
   Sub-direction: technical-brutalist-dark (Module 7 recipe), accent swapped to the
   red already on the gym's own rig and wall stripe, split into four contrast-correct
   jobs by derive-accent.js against #0c0c0c.
   Display is Archivo Black, not Chakra Petch: the squared weight echoes the logo,
   and Chakra Petch is Scroll Theory's own face, not a client's.

   WIDTH RULE (2026-09-01, after Chad met the first build on a 32" monitor): the page
   is not a 1200px column floating in the middle of a big screen. Three things fix
   that together and none of them alone: the root font size scales with the viewport
   so the type grows on a big monitor; text-led sections sit in --max while media
   grids sit in the wider --max-wide; and the hero photo, the facts bar and the
   gallery run edge to edge. Phones get the same page in one column. */

/* ---------- faces ---------- */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/archivoblack-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/barlow-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/barlow-700.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/plexmono-400.woff2') format('woff2');
}

/* ---------- tokens ---------- */
:root {
  --st-lime: #BFFF00;   /* the Scroll Theory credit underscore */
  --bg: #0c0c0c;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --text: #f0f2f4;
  --text-dim: #949aa3;
  --line: #2a2a2a;
  --border: 1px solid #2a2a2a;

  --accent: #e23b2e;
  --accent-ink: #1b0706;
  --accent-deep: #e44b3f;
  --accent-bright: #e75e54;

  --font-display: 'Archivo Black', system-ui, sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.563rem;
  --step-3: 1.953rem;
  --step-4: 2.441rem;
  --step-5: 3.052rem;

  --s-1: .5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2.5rem;
  --s-5: 4rem;
  --s-6: 6rem;

  --radius: 2px;
  --shadow: 4px 4px 0 rgba(0, 0, 0, .6);

  /* Two widths and a gutter. --max holds anything a person reads top to bottom;
     --max-wide holds grids of photos and cards, which can spread without the line
     length of a paragraph getting away from the reader. */
  --max: 1360px;
  --max-wide: 1720px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

/* 16px on a phone, 20px on a big monitor, and everything in rem follows it. This is
   the single biggest reason the page no longer looks small on a 32" screen. */
html {
  font-size: clamp(16px, 0.5vw + 12px, 20px);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-deep); }
a:focus-visible,
button:focus-visible,
summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; }

.wrap,
.wrap-wide {
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.wrap { max-width: var(--max); }
.wrap-wide { max-width: var(--max-wide); }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: var(--s-3);
  top: var(--s-3);
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: var(--s-1) var(--s-2);
}

/* The eyebrow mark is a short slanted rule, the same lean as the slash in the
   gym's own logo. It replaced a "//" prefix that had crept across several builds
   and stopped meaning anything. */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 1.4rem;
  height: 3px;
  background: var(--accent);
  transform: skewX(-24deg);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .9rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid var(--accent);
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, border-color .12s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--line); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 12, 12, .92);
  backdrop-filter: blur(6px);
  border-bottom: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-top: .75rem;
  padding-bottom: .75rem;
}
.site-header .logo img { width: clamp(120px, 9vw, 150px); height: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav a:not(.btn) { color: var(--text-dim); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--text); }
.nav .btn { padding: .65rem 1.1rem; }

/* Phone menu. A <details> so it works with no script: the summary is the button,
   the panel is the list. Under 860px the row of links hides and the menu shows. */
.menu { display: none; }
.menu summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--line);
  padding: .55rem .9rem;
  border-radius: var(--radius);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: " +"; color: var(--accent); }
.menu[open] summary::after { content: " \2013"; }
.menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bg);
  border-bottom: var(--border);
  display: flex;
  flex-direction: column;
  padding: var(--s-2) var(--gutter) var(--s-3);
}
/* :not(.btn) matters. Without it this rule (0,1,1) outranks .btn-primary (0,1,0) and the
   "Join now" button in the phone drawer keeps its gold background while its ink turns light:
   #f0f2f4 on #d4a63a measures 2.01:1, the worst contrast in the fleet, on every page at phone
   and tablet. The button's own pair is fine -- #161204 on gold is 8.30:1 -- it just never got
   to apply. The .nav rule above already learned this; .menu-panel .btn learned it for padding
   and not for colour. (2026-09-07) */
.menu-panel a:not(.btn) {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--step-2);
  padding: .55rem 0;
  border-bottom: var(--border);
}
.menu-panel a:last-child { border-bottom: 0; }
.menu-panel .btn { margin-top: var(--s-2); text-align: center; font-family: var(--font-mono); font-size: .85rem; padding: .9rem; }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu { display: block; }
}

/* ---------- hero ----------
   A full-bleed grid: the copy sits in a readable column and the photo runs from the
   middle of the page to the right edge of the screen, however wide the screen is.
   The media column is a window (overflow hidden, object-fit cover) so the gym's
   portrait photo fills it at any ratio instead of dictating the height. */
.hero {
  display: grid;
  grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, 58rem) minmax(0, 34rem) minmax(0, 1fr);
  column-gap: clamp(1.5rem, 4vw, 5rem);
  align-items: center;
  border-bottom: var(--border);
}
.hero-copy {
  grid-column: 2;
  padding-top: var(--s-4);
  padding-bottom: var(--s-5);
}
.hero h1 {
  font-size: clamp(2.6rem, 4.8vw, 4.6rem);
  line-height: .98;
  margin: var(--s-2) 0 0;
}
.hero h1 .hl { color: var(--accent); display: block; }
.hero-sub {
  font-size: var(--step-1);
  color: var(--text-dim);
  max-width: 32rem;
  margin-top: var(--s-3);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-4);
}
.hero-price {
  margin-top: var(--s-3);
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .06em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.hero-media {
  grid-column: 3 / 5;
  position: relative;
  align-self: center;
  height: clamp(28rem, 70vh, 42rem);
  overflow: hidden;
  border-left: var(--border);
  background: var(--surface);
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  left: 0;
  bottom: clamp(1.5rem, 5vh, 3.5rem);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1;
  padding: .55rem 1.1rem .55rem 1.4rem;
  transform: skewX(-8deg) translateX(-.5rem);
  box-shadow: var(--shadow);
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy { grid-column: 1; padding: var(--s-5) var(--gutter) var(--s-4); }
  .hero-media {
    grid-column: 1;
    border-left: 0;
    border-top: var(--border);
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 70vh;
  }
  .hero-badge { left: auto; right: var(--gutter); transform: skewX(-8deg); }
}

/* ---------- facts bar ---------- */
.facts {
  border-bottom: var(--border);
  background: var(--surface);
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
}
.fact {
  padding: var(--s-3) var(--s-3);
  border-right: var(--border);
}
.fact:last-child { border-right: 0; }
.fact dt {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 .35rem;
}
.fact dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  text-transform: uppercase;
  line-height: 1.15;
}
.fact dd a { color: inherit; text-decoration: none; }
.fact dd a:hover { color: var(--accent-deep); }
@media (max-width: 820px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact { padding: var(--s-2) var(--s-2); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(1), .fact:nth-child(2) { border-bottom: var(--border); }
}

/* ---------- the door counter (the signature moment, once GymMaster is wired) ----------
   Three numbers counted from the door: check-ins today, this month, this year. Every
   one is a real person who opened the building with the app. The section ships with
   the hidden attribute and script.js only removes it after a successful fetch, so a
   visitor never sees a zero that is not true: no feed, no strip. */
.pulse {
  border-bottom: var(--border);
  background: var(--surface);
}
.pulse-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-3) var(--s-5);
  padding-top: var(--s-4);
  padding-bottom: var(--s-4);
}
.pulse-head {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pulse-head .dot,
.pulse .dot {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.pulse-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: var(--s-2) clamp(1.5rem, 5vw, 5rem);
  margin: 0;
}
.pulse-grid > div { display: flex; flex-direction: column; }
.pulse-grid dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1;
  color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
}
.pulse-grid dt {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: .35rem;
}
.pulse-note { color: var(--text-dim); font-size: .95rem; max-width: 22rem; }
@media (max-width: 900px) {
  .pulse-inner { grid-template-columns: 1fr; gap: var(--s-2); }
  .pulse-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- section frame ---------- */
.section { padding-top: clamp(2.75rem, 6vw, 5rem); padding-bottom: clamp(2.75rem, 6vw, 5rem); }
.section + .section { border-top: var(--border); }
.section-head { max-width: 46rem; margin-bottom: var(--s-4); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); margin-top: var(--s-2); }
.section-head p { color: var(--text-dim); margin-top: var(--s-2); font-size: var(--step-1); }

/* ---------- inside cards ----------
   Photo on top, a body underneath, and on hover the photo eases in, the title's red
   rule draws across, and the whole card lifts. Auto-fit: four across on a wide
   monitor, two on a tablet, one on a phone, with no breakpoint deciding it. */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  border: var(--border);
  border-right: 0;
  border-bottom: 0;
}
.card {
  position: relative;
  border-right: var(--border);
  border-bottom: var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.card-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
}
.card img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: var(--s-3); display: flex; flex-direction: column; gap: .55rem; }
.card h3 {
  font-size: var(--step-1);
  padding-bottom: .55rem;
  position: relative;
}
.card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2rem;
  height: 3px;
  background: var(--accent);
  transform-origin: left center;
}
.card p { color: var(--text-dim); font-size: .95rem; }

/* ---------- spec list ---------- */
.specs {
  list-style: none;
  padding: 0;
  margin: var(--s-4) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: var(--border);
  border-right: 0;
  border-bottom: 0;
}
.specs li {
  border-right: var(--border);
  border-bottom: var(--border);
  padding: var(--s-3);
  position: relative;
}
.specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
}
.specs strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.05rem;
  margin-bottom: .3rem;
}
.specs span { color: var(--text-dim); font-size: .95rem; }
/* six amenities: one row of six on a big monitor, two rows of three on a laptop,
   three rows of two on a phone. Never five and an orphan. */
@media (min-width: 1500px) { .specs { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 820px) { .specs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .specs { grid-template-columns: 1fr; } }

/* ---------- split ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}
.split img {
  border: var(--border);
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.split .body h2 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); margin-top: var(--s-2); }
.split .body p { color: var(--text-dim); margin-top: var(--s-2); font-size: var(--step-1); max-width: 34rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--s-4); } }

/* ---------- plans ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-4);
}
.plan {
  border: var(--border);
  background: var(--surface);
  padding: var(--s-4) var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.plan h3 { font-size: var(--step-1); }
.plan .price {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.4vw, 3.4rem);
  line-height: 1;
  color: var(--accent-deep);
}
.plan .period {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.plan p { color: var(--text-dim); }
.plan .btn { margin-top: auto; text-align: center; }
/* The plan Ian wants people to pick: outlined in the accent with a badge riding the top edge.
   position:relative on every card, so the badge is placed against its own card. */
.plan { position: relative; }
.plan.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 6px 6px 0 var(--accent);
}
.plan-badge {
  position: absolute;
  top: 0;
  left: var(--s-3);
  transform: translateY(-50%);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .32rem .6rem;
  line-height: 1;
}
/* three plans: three across, or one column. Two-and-one leaves the annual alone. */
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ---------- coaches ----------
   Spread, not stacked: three across when the screen allows, two on a tablet, one on
   a phone. Every card the same height, the button always on the same baseline. */
.coaches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-4);
}
.coach {
  border: var(--border);
  background: var(--surface);
  padding: var(--s-4) var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  position: relative;
}
.coach::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.coach-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: var(--border);
  border-radius: var(--radius);
}
.coach h3 { font-size: var(--step-2); }
.coach .role {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.coach p { color: var(--text-dim); }
.coach .btn { align-self: flex-start; margin-top: auto; }
/* three coaches: three across, or one column, for the same reason as the plans. */
@media (max-width: 960px) { .coaches { grid-template-columns: 1fr; } }

/* ---------- coach pages ----------
   One page per coach. Photo on the left when there is one, the person on the right; under it,
   the way to reach them: a lead form that lands in their own inbox, their own website, or a
   text button. The form is dark like the rest of the page, with inputs that read as inputs. */
.coach-hero { border-bottom: var(--border); padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.coach-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}
.coach-hero-grid > .coach-hero-copy:only-child { grid-column: 1 / -1; max-width: 46rem; }
.coach-hero-media { position: relative; }
.coach-hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.coach-hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); margin-top: var(--s-2); }
.coach-lede { font-size: var(--step-1); color: var(--text-dim); max-width: 36rem; margin-top: var(--s-3); }
.coach-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: var(--s-2) var(--s-3);
  margin: var(--s-4) 0 0;
  padding-top: var(--s-3);
  border-top: var(--border);
}
.coach-facts dt {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.coach-facts dd { margin: .25rem 0 0; font-weight: 700; }
.coach-facts dd a { color: var(--text); text-decoration: none; }
.coach-facts dd a:hover { color: var(--accent-deep); }
@media (max-width: 820px) {
  .coach-hero-grid { grid-template-columns: 1fr; }
  .coach-hero-photo { max-width: 24rem; }
}

.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}
.book-grid .section-head { margin-bottom: 0; }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } }

.lead-form { display: flex; flex-direction: column; gap: var(--s-2); }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
@media (max-width: 520px) { .lead-row { grid-template-columns: 1fr; } }
.lead-field { display: flex; flex-direction: column; gap: .35rem; }
.lead-field label {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.lead-field input,
.lead-field textarea {
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius);
  padding: .8rem .9rem;
  width: 100%;
}
.lead-field input:focus,
.lead-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.lead-field textarea { resize: vertical; min-height: 6rem; }
.lead-form .btn { align-self: flex-start; }
.lead-form .btn[disabled] { opacity: .6; cursor: wait; }

/* Turnstile's widget is 300px wide and will not go narrower. .lead-form is a flex column, so the
   widget floors the whole panel at 300px and drags every field past the card edge on a narrow
   phone -- SOP v7.9, "the 300px floor". min-width:0 stops it forcing the column wider than its
   parent.

   .book-panel has no mobile padding override, so on a phone it keeps its desktop 1.5rem sides and
   starves the widget -- exactly the case Coral's stylesheet documents for .events-form. The sides
   come in on a phone and the widget bleeds back out over them.

   Do NOT add max-width here. It caps the widget at the track width and silently cancels the
   bleed, putting it back under the floor.

   VERIFY IN PRODUCTION AT 360px. The sitekey is domain-bound, so the widget does not exist on a
   local render and no local test can surface any of this. */
.cf-turnstile { min-width: 0; margin: .25rem 0 0; }
@media (max-width: 700px) {
  .book-panel { padding: var(--s-3) var(--s-2); }
  .cf-turnstile { margin-left: calc(var(--s-2) * -1); margin-right: calc(var(--s-2) * -1); }
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 700; min-height: 1.5em; }
.form-note { color: var(--text-dim); font-size: .9rem; }

.book-panel {
  border: var(--border);
  background: var(--surface);
  padding: var(--s-4) var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  align-items: flex-start;
}
.book-panel-lead { font-size: var(--step-1); }
.book-panel-note { color: var(--text-dim); font-size: .95rem; }
.book-panel-note a { color: var(--text); }
.coach-gym { background: var(--surface); }

/* ---------- gallery ----------
   Edge to edge. One row of eight on a big monitor, two rows of four on a laptop,
   pairs on a phone. */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: var(--s-4);
  border-top: var(--border);
  border-bottom: var(--border);
}
.gallery figure { margin: 0; overflow: hidden; background: var(--surface); }
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(.9);
}
@media (min-width: 1800px) { .gallery { grid-template-columns: repeat(8, 1fr); } }
@media (max-width: 820px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- reviews ----------
   The score is the fact: a big number, five stars, the count, and the two links to Google
   where a visitor can check it. The quotes are real reviews copied word for word. */
.rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-3);
  margin-top: var(--s-4);
  padding: var(--s-3) 0;
  border-top: var(--border);
  border-bottom: var(--border);
}
.rating-score {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1;
  color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
}
.rating-stars { color: var(--accent); font-size: var(--step-2); letter-spacing: .08em; line-height: 1; }
.rating-note { color: var(--text-dim); font-size: var(--step-1); }
.rating-links { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-left: auto; }
@media (max-width: 720px) { .rating-links { margin-left: 0; width: 100%; } }

.revs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-4);
}
.rev {
  margin: 0;
  border: var(--border);
  background: var(--surface);
  padding: var(--s-4) var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  position: relative;
}
.rev::before {
  content: "\201C";
  position: absolute;
  top: .6rem;
  left: var(--s-3);
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: .5;
}
.rev blockquote { margin: 1.6rem 0 0; font-size: var(--step-1); line-height: 1.5; }
.rev figcaption { margin-top: auto; display: flex; flex-direction: column; gap: .15rem; }
.rev figcaption strong { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; }
.rev figcaption span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }
/* three reviews: three across, or one column. Same reason as the plans. */
@media (max-width: 900px) { .revs { grid-template-columns: 1fr; } }

/* ---------- inner pages ----------
   A compact top (no photo), a lede at reading width, numbered steps for anything that is a
   real sequence, and a full-width strip that hands the visitor to the day pass. */
.page-hero { border-bottom: var(--border); padding-top: clamp(2.5rem, 5.5vw, 4.5rem); padding-bottom: clamp(2.5rem, 5.5vw, 4.5rem); }
.page-hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); margin-top: var(--s-2); max-width: 22ch; }
.page-lede { font-size: var(--step-1); color: var(--text-dim); max-width: 40rem; margin-top: var(--s-3); }
.page-hero .hero-actions { margin-top: var(--s-4); }
.plans h2 { font-size: var(--step-1); }

.steps {
  list-style: none;
  counter-reset: step;
  margin: var(--s-4) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.steps li {
  counter-increment: step;
  border: var(--border);
  background: var(--surface);
  padding: var(--s-4) var(--s-3) var(--s-3);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.steps li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1;
  color: var(--accent);
  margin-bottom: var(--s-1);
}
.steps strong { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.05rem; }
.steps span { color: var(--text-dim); font-size: .95rem; }
.steps li:nth-child(4):last-child { grid-column: auto; }
@media (min-width: 901px) { .steps:has(li:nth-child(4)) { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.strip-cta { background: var(--surface); }
.strip-cta-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: var(--s-4); align-items: center; }
.strip-cta h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-top: var(--s-2); }
.strip-cta p { color: var(--text-dim); margin-top: var(--s-2); max-width: 40rem; }
.strip-cta p a { color: var(--text); }
.strip-cta .hero-actions { margin-top: 0; }
@media (max-width: 820px) { .strip-cta-inner { grid-template-columns: 1fr; } .strip-cta .hero-actions { margin-top: var(--s-2); } }

.split-flip .body { order: 2; }
.split-flip img { order: 1; }
@media (max-width: 900px) { .split-flip .body { order: 1; } .split-flip img { order: 2; } }

.area-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.area-body p { color: var(--text-dim); font-size: var(--step-1); max-width: 36rem; }
.area-body p + p { margin-top: var(--s-2); }
.area-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: var(--border); border-radius: var(--radius); max-height: 34rem; }
@media (max-width: 900px) { .area-grid { grid-template-columns: 1fr; } }

.footer-inner { flex-direction: column; align-items: flex-start; gap: var(--s-2); }
.footer-pages, .footer-areas { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: baseline; }
.footer-pages a { color: var(--text); text-decoration: none; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-pages a:hover, .footer-areas a:hover { color: var(--accent-deep); }
.footer-areas { font-size: .9rem; }
.footer-areas span { color: var(--text-dim); }
.footer-areas a { color: var(--text); text-decoration: none; }
.footer-contact { color: var(--text-dim); font-size: .9rem; }
.footer-contact a { color: var(--text); text-decoration: none; font-weight: 700; }
.footer-contact a:hover { color: var(--accent-deep); }
.footer-legal { margin-top: var(--s-2); }

/* ---------- faq ---------- */
.faq { margin-top: var(--s-4); border-top: var(--border); max-width: 56rem; }
.faq details { border-bottom: var(--border); }
.faq summary {
  cursor: pointer;
  padding: var(--s-3) 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--s-2);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--text-dim); padding-bottom: var(--s-3); max-width: 52rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); }
.contact-grid h2 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); margin-top: var(--s-2); }
.contact-list { list-style: none; margin: var(--s-2) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.contact-list li { display: flex; flex-direction: column; }
.contact-list .k {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.contact-list a { color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--accent-deep); }
.contact-list li > a,
.contact-list li > span:not(.k) { font-size: var(--step-1); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: var(--s-4); } }

/* ---------- footer ---------- */
.site-footer {
  border-top: var(--border);
  padding: var(--s-4) 0;
  color: var(--text-dim);
  font-size: .85rem;
}
.footer-inner { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); justify-content: space-between; align-items: center; }
.site-footer a { color: inherit; }

/* Scroll Theory credit: a brand logotype, so it keeps its own lime underscore
   rather than the gym's red. The render gate exempts .st-credit from contrast
   for exactly this reason, but the text itself still has to be readable:
   opacity .6 measured 4.35:1 in Google's audit (2026-09-23); .7 is about 5.4:1. */
.st-credit { color: inherit; opacity: .7; text-decoration: none; transition: opacity .2s ease; }
.st-credit:hover { opacity: 1; }
.st-wm { font-family: var(--font-mono); text-transform: lowercase; letter-spacing: 0; }
.st-credit u { color: var(--st-lime); text-decoration: none; font-style: normal; }

/* ---------- motion ----------
   One vocabulary: rise and fade, one easing. The hero photo drifts very slowly so
   the top of the page is never a still frame; hovers ease the photo in and draw the
   red rule. Every rule sits inside no-preference, so a visitor who asks for less
   motion gets a completely static page rather than a shorter animation. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes lg-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  /* The hero copy rises WITHOUT fading: Google does not count text as shown
     until it is visible, so a fade on the main text cost seconds of LCP. */
  @keyframes lg-rise-solid { from { transform: translateY(16px); } to { transform: none; } }
  @keyframes lg-fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes lg-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.82); } }
  @keyframes lg-drift { from { transform: scale(1); } to { transform: scale(1.07); } }

  /* hero entrance, staged */
  .hero-copy > * { animation: lg-rise-solid .7s var(--ease) backwards; }
  .hero-copy > :nth-child(1) { animation-delay: .05s; }
  .hero-copy > :nth-child(2) { animation-delay: .12s; }
  .hero-copy > :nth-child(3) { animation-delay: .19s; }
  .hero-copy > :nth-child(4) { animation-delay: .26s; }
  .hero-copy > :nth-child(5) { animation-delay: .33s; }
  .hero-media { animation: lg-fade .9s ease .1s backwards; }
  .hero-media img { animation: lg-drift 26s ease-in-out infinite alternate; }
  .hero-badge { animation: lg-rise .6s var(--ease) .5s backwards; }

  .pulse .dot { animation: lg-pulse 2.4s ease-in-out infinite; }

  /* scroll reveal: armed by the head script so the page never flashes, and only
     when JS is actually running. .in is added by script.js. */
  .js-reveal .reveal { opacity: 0; transform: translateY(16px); }
  .js-reveal .reveal.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s var(--ease); }

  /* cards: photo eases in, rule draws, card lifts */
  .card { transition: transform .22s var(--ease), box-shadow .22s var(--ease), background-color .22s ease; }
  .card img { transition: transform .7s var(--ease), filter .4s ease; filter: saturate(.85); }
  .card h3::after { transition: width .35s var(--ease); }
  .card-body { transition: transform .3s var(--ease); }
  .card:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--accent); background: var(--surface-2); z-index: 1; }
  .card:hover img { transform: scale(1.06); filter: saturate(1.05); }
  .card:hover h3::after { width: 100%; }
  .card:hover .card-body { transform: translateY(-2px); }

  .specs li { transition: background-color .2s ease; }
  .specs li::before { transition: transform .3s var(--ease); }
  .specs li:hover { background: var(--surface); }
  .specs li:hover::before { transform: scaleY(1); }

  .plan, .coach, .rev { transition: border-color .2s ease, transform .22s var(--ease), box-shadow .22s var(--ease); }
  .plan:hover, .coach:hover, .rev:hover { border-color: var(--accent); transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--accent); }
  .coach::before { transition: transform .35s var(--ease); }
  .coach:hover::before { transform: scaleX(1); }

  .gallery img { transition: transform .8s var(--ease), filter .3s ease; }
  .gallery figure:hover img { transform: scale(1.05); filter: saturate(1.1); }
}

/* ---------- missing-data markers (Module 5) ---------- */
.nd-frame, .nd-inline {
  border: 2px dashed var(--accent);
  background: repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(255, 255, 255, .03) 12px, rgba(255, 255, 255, .03) 24px);
  color: var(--accent-bright);
  font: 600 .8rem/1.4 var(--font-mono, monospace);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.nd-inline { display: inline-flex; align-items: center; padding: .15rem .5rem; }
.nd-frame { display: flex; align-items: center; justify-content: center; width: 100%; padding: 1rem; text-align: center; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* Consent row on the day-pass form: a real checkbox beside its wording, wording never above 14px
   equivalent so a reviewer can read it, box first so the tap target is obvious. */
.lead-consent { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; font-size: var(--step--1); color: var(--text-dim); line-height: 1.45; cursor: pointer; }
.lead-consent input { margin: .2rem 0 0; width: 1.05rem; height: 1.05rem; accent-color: var(--accent); }
/* The wording is a bare text node, not a <span>: carrier compliance checkers read the label's own
   text, and a wrapper element hid it from GHL's review on 2026-09-04. The width lives on the label. */
.lead-consent { max-width: calc(62ch + 1.65rem); }

/* --- Background: the floor and what is on it ---------------------------------------
   Interlocking foam mats, a faint checker with the puzzle nubs on every seam, and a whisper of
   film grain fixed over the whole page. Ian asked for just the tiles (2026-09-02) and for the
   old-school powerlifting feel; the grain is that feel at its quietest. Both layers are inline
   SVG, so nothing loads. The earlier equipment drawings are one variant away in
   scratchpad/bg-textures.js (variant D) if he ever wants them back. */
body{background-color:var(--bg);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 260' width='260' height='260'%3E%3Crect x='0' y='0' width='130' height='130' fill='%23ffffff' fill-opacity='0.016'/%3E%0A  %3Crect x='130' y='130' width='130' height='130' fill='%23ffffff' fill-opacity='0.016'/%3E%0A  %3Crect x='130' y='0' width='130' height='130' fill='%23ffffff' fill-opacity='0.005'/%3E%0A  %3Crect x='0' y='130' width='130' height='130' fill='%23ffffff' fill-opacity='0.005'/%3E%3Cpath d='M0 130 L26.5 130 A6 6 0 1 1 38.5 130 L59 130 A6 6 0 1 0 71 130 L91.5 130 A6 6 0 1 1 103.5 130 L130 130 M130 130 L156.5 130 A6 6 0 1 1 168.5 130 L189 130 A6 6 0 1 0 201 130 L221.5 130 A6 6 0 1 1 233.5 130 L260 130 M0 0 L26.5 0 A6 6 0 1 1 38.5 0 L59 0 A6 6 0 1 0 71 0 L91.5 0 A6 6 0 1 1 103.5 0 L130 0 M130 0 L156.5 0 A6 6 0 1 1 168.5 0 L189 0 A6 6 0 1 0 201 0 L221.5 0 A6 6 0 1 1 233.5 0 L260 0 M130 0 L130 26.5 A6 6 0 1 0 130 38.5 L130 59 A6 6 0 1 1 130 71 L130 91.5 A6 6 0 1 0 130 103.5 L130 130 M130 130 L130 156.5 A6 6 0 1 0 130 168.5 L130 189 A6 6 0 1 1 130 201 L130 221.5 A6 6 0 1 0 130 233.5 L130 260 M0 0 L0 26.5 A6 6 0 1 0 0 38.5 L0 59 A6 6 0 1 1 0 71 L0 91.5 A6 6 0 1 0 0 103.5 L0 130 M0 130 L0 156.5 A6 6 0 1 0 0 168.5 L0 189 A6 6 0 1 1 0 201 L0 221.5 A6 6 0 1 0 0 233.5 L0 260' fill='none' stroke='%23ffffff' stroke-opacity='0.045' stroke-width='1'/%3E%3C/svg%3E");background-size:260px 260px;background-position:0 0}
body::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:9998;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.055 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23g)'/%3E%3C/svg%3E");background-size:220px 220px;opacity:.7}
@media (max-width:700px){body{background-size:182px 182px}}
