/* ==========================================================================
   The Forge Gym — Candidate A, "Loadboard Community"
   Square corners, hard rules, one orange wayfinding line, real warehouse photography.
   ========================================================================== */

:root {
  /* Surfaces and ink, sampled from the gym's own photography. */
  --char: #0B0D0E;
  --char-2: #101314;
  --panel: #15191B;
  --chalk: #F2EFE8;
  --concrete: #B8B4AC;
  --steel: #747B7F;
  --steel-text: #99A1A5;
  --rule: #23282B;
  --rule-hi: #333A3E;
  --forge-orange: #F05A28;
  --forge-orange-dim: #C4441C;

  /* Calibrated-plate order (25 / 20 / 15 / 10). Load tallies only, never UI chrome. */
  --pl-r: #B23A32;
  --pl-b: #3F72B8;
  --pl-y: #C9A227;
  --pl-g: #3E9B6B;

  --display: 'Big Shoulders Display', 'Forge Display Fallback', 'Arial Narrow', sans-serif;
  --sans: 'IBM Plex Sans', 'Forge Sans Fallback', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', 'Forge Mono Fallback', ui-monospace, monospace;

  /* 8px scale */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 96px; --s7: 136px;

  --gutter: clamp(20px, 5vw, 48px);
  --rail-x: clamp(20px, 5vw, 48px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--char);
  color: var(--chalk);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--chalk); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 var(--s2); }

::selection { background: var(--forge-orange); color: var(--char); }

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

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

.skip {
  position: absolute; left: var(--s2); top: -200px; z-index: 200;
  background: var(--forge-orange); color: var(--char);
  font-family: var(--mono); font-size: 14px; font-weight: 500;
  padding: 14px 20px; text-decoration: none;
}
.skip:focus { top: var(--s2); }

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

/* --------------------------------------------------------------------------
   Sticky bar
   -------------------------------------------------------------------------- */

.bar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 13, 14, 0.94);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: saturate(1.2) blur(6px);
}

.bar__in {
  max-width: 1280px; margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: 68px;
  display: flex; align-items: center; gap: var(--s2);
}

.mark {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--chalk);
  padding: 10px 0; margin-right: auto; flex: none;
}
.mark img { width: 34px; height: 34px; }
.mark__txt {
  font-family: var(--display); font-weight: 800;
  font-size: 23px; letter-spacing: 0.01em; line-height: 1;
  text-transform: uppercase; white-space: nowrap;
}

.bar__list {
  list-style: none; display: flex; gap: 2px; margin: 0; padding: 0;
}
.bar__list a {
  display: block;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
  color: var(--concrete);
  padding: 14px 8px;
  border-bottom: 2px solid transparent;
}
.bar__list a:hover { color: var(--chalk); border-bottom-color: var(--rule-hi); }
.bar__list a.is-here { color: var(--chalk); border-bottom-color: var(--forge-orange); }

.bar__toggle { display: none; }

/* Merge deviation 1: the candidate comparison showed the bar has room for the number at desktop. */
.bar__tel {
  display: none;
  font-family: var(--mono); font-size: 14px; color: var(--chalk); text-decoration: none;
  min-height: 44px; min-width: 44px; align-items: center; padding: 10px 0; margin-left: var(--s3);
  border-bottom: 1px solid var(--forge-orange-dim); white-space: nowrap; flex: none;
}
.bar__tel:hover { color: var(--forge-orange); border-bottom-color: var(--forge-orange); }

.bar__cta { margin-left: var(--s2); white-space: nowrap; flex: none; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--mono); font-size: 14px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .16s linear, color .16s linear, border-color .16s linear;
}
.btn--go {
  background: var(--forge-orange); color: var(--char); border-color: var(--forge-orange);
}
.btn--go:hover { background: var(--chalk); border-color: var(--chalk); }
.btn--ghost {
  background: transparent; color: var(--chalk); border-color: var(--rule-hi);
}
.btn--ghost:hover { border-color: var(--forge-orange); color: var(--forge-orange); }

.ext { font-size: 0.85em; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

/* overflow: clip guards the rail's 100vw full-bleed band from creating a horizontal scrollbar. */
.hero { position: relative; border-bottom: 1px solid var(--rule); overflow: clip; }

/* Explicit z-index on the photograph and the copy above it. Without a declared order, axe cannot
   prove which element paints on top and reports every hero string as a color-contrast "incomplete". */
.hero__media { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img {
  object-fit: cover; object-position: 58% 42%;
  filter: saturate(0.86) contrast(1.04) brightness(0.82);
  transform: scale(1.005);
  animation: forge-push 26s cubic-bezier(.22,.61,.36,1) forwards;
}
/* Ambient tour footage sits over the still; the flat scrim below still paints above both. */
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 45%;
  filter: saturate(0.88) contrast(1.03) brightness(0.62);
}
/* Flat scrim. The specification forbids gradients outright, so legibility is carried by a solid
   overlay plus the solid copy panel below, not by a ramp. */
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  /* Stronger than the still-hero era (was 0.62): the type now sits directly on the footage.
     0.78 over footage dimmed to 0.62 keeps chalk body text above 4.5:1 even against the
     brightest frame in the loop. */
  background: rgba(11, 13, 14, 0.78);
}

@keyframes forge-push { to { transform: scale(1.075); } }

.hero__body {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  padding: clamp(72px, 13vh, 148px) var(--gutter) clamp(48px, 8vh, 88px);
}

/* A solid stamped panel behind the headline: on-grammar with the specification plates elsewhere, and
   it gives the hero copy a fixed, computable contrast instead of one that depends on the photograph. */
.hero__panel {
  position: relative;
  /* No card, and no private border-rule either. Over the ambient footage an opaque panel read as a
     box floating mid-frame, and a panel-owned border ran 3px-bright ~30px away from the section
     spine — two orange verticals that never lined up. The hero now carries the same .sec__rule as
     every other section, so one continuous line threads the whole page; legibility comes from
     dimming the footage plus the strengthened flat scrim on .hero__media::after. No gradients. */
  padding: var(--s2) 0;
  max-width: 62ch;
}

.kick {
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--forge-orange);
  margin: 0 0 var(--s3);
  display: flex; align-items: center; gap: 10px;
}
.kick::before {
  content: ''; width: 26px; height: 3px; background: var(--forge-orange); flex: none;
}
/* A drawn hairline rather than a "·" text node. A single punctuation character is not classifiable as
   text content, so axe cannot evaluate its contrast and reports it as incomplete. */
.kick__sep { width: 1px; height: 11px; background: var(--steel); flex: none; display: inline-block; }

.hero h1 {
  font-size: clamp(3.2rem, 9.4vw, 7.6rem);
  max-width: 15ch;
  margin: 0 0 var(--s3);
  text-transform: none;
}
.hero h1 em { font-style: normal; color: var(--forge-orange); }

.hero__sub {
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  /* Chalk, not concrete: without the opaque panel this line sits on footage, and concrete's
     contrast margin over the brightest loop frames is too thin. */
  color: var(--chalk);
  max-width: 46ch;
  margin: 0 0 var(--s4);
}

.hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* Loadboard proof rail. The grid stays wrap-width, but the band behind it bleeds to the viewport
   edges: a centered box over footage read as a translucent floater, with dimmed video showing on
   both sides. The full-bleed layer is solid char, so the hero footage ends cleanly at the band. */
.rail {
  position: relative; z-index: 1;
  list-style: none; margin: 0; padding: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.rail::before {
  content: '';
  position: absolute; top: 0; bottom: 0;
  left: 50%; width: 100vw; transform: translateX(-50%);
  background: var(--char);
  border-top: 1px solid var(--rule);
  z-index: -1;
}
.rail li {
  padding: var(--s3) var(--s2) var(--s3) 0;
  border-right: 1px solid var(--rule);
}
.rail li:last-child { border-right: 0; }
.rail li + li { padding-left: var(--s3); }
.rail__n {
  display: block;
  font-family: var(--mono); font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.1; color: var(--chalk);
}
.rail__u { font-size: 0.55em; color: var(--steel-text); }
.rail__l {
  display: block; margin-top: 6px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--steel-text);
}

/* --------------------------------------------------------------------------
   Section shell + the orange wayfinding line
   -------------------------------------------------------------------------- */

.sec { position: relative; padding: var(--s6) 0; }
.sec + .sec { border-top: 1px solid var(--rule); }

/* The wayfinding rule and the section tick are real elements, not pseudo-elements: axe cannot resolve
   a background behind text whose ancestor carries a ::before with a background, and reports every
   string in the section as a color-contrast "incomplete". */
.sec__rule { display: none; }
.sec .wrap { position: relative; z-index: 1; }

/* Mobile: the line is a horizontal rule above each section stamp. */
.load {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 var(--s3); padding-top: 18px;
}
.load__tick {
  position: absolute; top: 0; left: 0;
  width: 56px; height: 3px; background: var(--forge-orange);
}
.load__code {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; color: var(--forge-orange);
  border: 1px solid var(--forge-orange-dim);
  padding: 5px 9px;
}
.load__name {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--steel-text);
}

.head { margin-bottom: var(--s5); }
.head h2 {
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  max-width: 18ch;
}
.head__sub {
  margin-top: var(--s3); max-width: 58ch;
  color: var(--concrete); font-size: 1.06rem;
}

.lede {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.42; color: var(--chalk);
  font-weight: 600;
  margin-bottom: var(--s3);
}
.sec p { color: var(--concrete); }
.sec .lede { color: var(--chalk); }

/* --------------------------------------------------------------------------
   The gym
   -------------------------------------------------------------------------- */

.gym__grid { display: grid; gap: var(--s5); }

.spec { margin: 0; border-top: 2px solid var(--forge-orange); }
.spec > div {
  display: grid; grid-template-columns: 11ch 1fr; gap: var(--s2);
  padding: 14px 0; border-bottom: 1px solid var(--rule);
}
.spec dt {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--steel-text); padding-top: 3px;
}
.spec dd {
  margin: 0; font-family: var(--mono); font-size: 15px; color: var(--chalk);
}
.spec dd a {
  color: var(--chalk);
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px;
}

/* --------------------------------------------------------------------------
   Training lanes
   -------------------------------------------------------------------------- */

.lanes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }

.lane {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: var(--s3);
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--rule);
}
.lane__tag { margin: 0; grid-column: 1; }
.lane__body { grid-column: 2; min-width: 0; }
.lane__body p:last-child { margin-bottom: 0; }
.lane__go { grid-column: 2; margin: 12px 0 0; }
.lane__tag span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border: 2px solid var(--rule-hi);
  font-family: var(--mono); font-weight: 500; font-size: 15px;
  letter-spacing: 0.06em; color: var(--steel-text);
  background: var(--char-2);
}
.lane h3 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  margin-bottom: 10px;
}
.lane p { max-width: 60ch; }
.lane__link {
  display: inline-flex; align-items: center;
  min-height: 44px; min-width: 44px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none;
  color: var(--forge-orange);
  border-bottom: 1px solid var(--forge-orange-dim);
  padding: 10px 0;
}
.lane__link:hover { color: var(--chalk); border-bottom-color: var(--chalk); }
.lane:hover .lane__tag span { border-color: var(--forge-orange); color: var(--forge-orange); }

/* --------------------------------------------------------------------------
   Equipment
   -------------------------------------------------------------------------- */

.eq__lead { display: grid; gap: var(--s4); margin-bottom: var(--s5); }

.shot { margin: 0; }
.shot picture { display: block; border: 1px solid var(--rule); }
.shot img { width: 100%; height: auto; }
.shot figcaption {
  margin-top: 12px;
  font-family: var(--mono); font-size: 12px; line-height: 1.5;
  letter-spacing: 0.02em; color: var(--steel-text);
  border-left: 2px solid var(--forge-orange-dim); padding-left: 10px;
}

.eq__note {
  font-family: var(--mono); font-size: 13px; color: var(--steel-text);
  border-top: 1px solid var(--rule); padding-top: var(--s2);
}

.eq__groups { border-top: 2px solid var(--forge-orange); }

.grp { border-bottom: 1px solid var(--rule); background: var(--char-2); }
.grp summary {
  list-style: none; cursor: pointer;
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 6px var(--s3);
  padding: 20px var(--s3);
  min-height: 56px;
}
.grp summary::-webkit-details-marker { display: none; }
.grp summary:hover { background: var(--panel); }
.grp__name {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.05; color: var(--chalk);
}
.grp__n {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--steel-text);
  grid-column: 1; grid-row: 2; justify-self: start;
}
.grp summary::after {
  content: '+';
  grid-column: 2; grid-row: 1 / span 3;
  font-family: var(--mono); font-size: 22px; color: var(--forge-orange);
  justify-self: end; align-self: center;
  width: 24px; text-align: center;
}
.grp[open] summary::after { content: '\2013'; }

/* Calibrated-plate tally: one real element per inventory item, in 25/20/15/10 plate order.
   Built from elements rather than stacked background images so the page stays gradient-free. */
.stack {
  grid-column: 1; grid-row: 3;
  display: flex; gap: 4px; margin-top: 2px;
}
.stack .t { display: block; width: 7px; height: 9px; flex: none; }
.stack .t--r { background: var(--pl-r); }
.stack .t--b { background: var(--pl-b); }
.stack .t--y { background: var(--pl-y); }
.stack .t--g { background: var(--pl-g); }

.grp__list {
  list-style: none; margin: 0;
  padding: 0 var(--s3) var(--s3);
  display: grid; gap: 0;
}
.grp__list li {
  font-family: var(--mono); font-size: 14.5px;
  color: var(--chalk);
  padding: 11px 0 11px 20px;
  border-top: 1px solid var(--rule);
  position: relative;
}
.grp__list li::before {
  content: ''; position: absolute; left: 0; top: 19px;
  width: 8px; height: 3px; background: var(--forge-orange-dim);
}

.eq__pair { display: grid; gap: var(--s4); margin-top: var(--s5); }

/* --------------------------------------------------------------------------
   Community
   -------------------------------------------------------------------------- */

.sec--com { background: var(--char-2); }
.com { display: grid; gap: var(--s4); }
.com__copy p:last-child { margin-bottom: 0; }
.com__acts { margin-top: var(--s3); }

/* Instagram reel tile: ambient loop that links out to the source post. */
.comreel__link { position: relative; display: block; border: 1px solid var(--rule); }
.comreel__link video { display: block; width: 100%; height: auto; background: var(--char-2); }
.comreel__chip {
  position: absolute; left: 0; bottom: 0;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em;
  background: var(--char); color: var(--chalk);
  border-top: 2px solid var(--forge-orange);
  padding: 9px 12px;
}
.comreel__link:hover .comreel__chip,
.comreel__link:focus-visible .comreel__chip { background: var(--forge-orange); color: var(--char); }
.comreel__link:focus-visible { outline: 2px solid var(--forge-orange); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   Membership
   -------------------------------------------------------------------------- */

.price { display: grid; gap: var(--s4); }

.price__plate {
  border: 2px solid var(--rule-hi);
  border-top: 4px solid var(--forge-orange);
  background: var(--char-2);
  padding: var(--s4) var(--s3) var(--s3);
}
.price__label {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--steel-text); margin: 0 0 var(--s2);
}
.price__big { margin: 0 0 var(--s3); display: flex; align-items: baseline; gap: 10px; }
.price__amt {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(4.2rem, 11vw, 7rem); line-height: 0.82; color: var(--chalk);
}
.price__per {
  font-family: var(--mono); font-size: 16px; color: var(--steel-text);
}
.price__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.price__list li {
  display: grid; grid-template-columns: 11ch 1fr; gap: var(--s2);
  padding: 13px 0; border-bottom: 1px solid var(--rule);
}
.price__k {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--steel-text); padding-top: 3px;
}
.price__v { font-family: var(--mono); font-size: 14.5px; color: var(--chalk); }
.price__side p { max-width: 42ch; }
.price__fine {
  font-family: var(--mono); font-size: 12.5px; color: var(--steel-text);
  border-left: 2px solid var(--rule-hi); padding-left: 12px; margin-top: var(--s3);
}

/* --------------------------------------------------------------------------
   Coach
   -------------------------------------------------------------------------- */

.coach { display: grid; gap: var(--s4); }
.coach__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s3); }
.coach__photo { max-width: 760px; }

/* --------------------------------------------------------------------------
   Trial
   -------------------------------------------------------------------------- */

.sec--trial { background: var(--char-2); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--forge-orange); }
.step {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--s3);
  padding: var(--s4) 0; border-bottom: 1px solid var(--rule);
}
.step__body { grid-column: 2; min-width: 0; }
.step__body p:last-child { margin-bottom: 0; }
/* Selector must out-specify `.sec p`, which would otherwise repaint these plates in --concrete and
   drop them to 1.63:1 against the orange. */
.sec .step__n {
  margin: 0; grid-column: 1;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--forge-orange); color: var(--char);
  font-family: var(--mono); font-weight: 500; font-size: 17px;
}
.step h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.step p { max-width: 58ch; }

.steps__aside {
  margin: var(--s3) 0 0;
  font-family: var(--mono); font-size: 13.5px; color: var(--steel-text);
  border-left: 2px solid var(--rule-hi); padding-left: 12px;
}
.steps__aside a {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px;
  color: var(--chalk); border-bottom: 1px solid var(--forge-orange-dim); text-decoration: none;
}
.steps__aside a:hover { color: var(--forge-orange); border-bottom-color: var(--forge-orange); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact { display: grid; gap: var(--s4); border-top: 1px solid var(--rule); }
.contact__block { padding-top: var(--s3); }
.contact__k {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--forge-orange); margin: 0 0 12px;
}
.contact__big {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; margin: 0 0 12px;
  font-style: normal;
}
.contact__big a {
  text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px;
}
.contact__big a:hover { color: var(--forge-orange); }
.contact__note { font-family: var(--mono); font-size: 13px; color: var(--steel-text); margin: 0; }
.contact__social { list-style: none; margin: 0; padding: 0; }
.contact__social a {
  display: inline-flex; align-items: center;
  min-height: 44px; min-width: 44px; padding: 11px 0;
  font-family: var(--mono); font-size: 14px; color: var(--chalk); text-decoration: none;
  border-bottom: 1px solid var(--rule-hi);
}
.contact__social a:hover { color: var(--forge-orange); border-bottom-color: var(--forge-orange); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.foot { border-top: 1px solid var(--rule); padding: var(--s5) 0 var(--s4); }
.foot__in { display: grid; gap: var(--s4); }
.foot__mark { width: 74px; height: 73px; margin-bottom: var(--s2); }
.foot__name {
  font-family: var(--display); font-weight: 800; font-size: 2rem;
  text-transform: uppercase; line-height: 1; margin: 0 0 6px;
}
.foot__where { font-family: var(--mono); font-size: 12.5px; color: var(--steel-text); margin: 0; }
.foot__cols { display: grid; gap: var(--s3); }
.foot__cols p { font-family: var(--mono); font-size: 13.5px; color: var(--concrete); margin: 0 0 8px; }
.foot__cols a {
  color: var(--concrete); text-decoration: none; border-bottom: 1px solid var(--rule-hi);
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 6px 0;
}
.foot__cols a:hover { color: var(--forge-orange); border-bottom-color: var(--forge-orange); }
.foot__k {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--forge-orange) !important; margin-bottom: 12px !important;
}
.foot__note {
  font-family: var(--mono); font-size: 12px; color: var(--steel);
  border-top: 1px solid var(--rule); padding-top: var(--s3); margin: 0; max-width: 60ch;
}
.foot__credit { font-family: var(--mono); font-size: 12px; color: var(--steel-text); margin: var(--s2) 0 0; }
.foot__credit a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--steel-text); text-decoration: none; border-bottom: 1px solid var(--rule-hi); padding-bottom: 2px;
}
.foot__credit a span { color: var(--chalk); }
.foot__credit a:hover { color: var(--chalk); border-bottom-color: var(--forge-orange); }
.foot__wa { height: 18px; width: auto; display: block; }

/* --------------------------------------------------------------------------
   Reveal enhancement (only armed by app.js when IntersectionObserver exists)
   -------------------------------------------------------------------------- */

.reveal-ready .reveal { opacity: 0; transform: translateY(16px); }
.reveal-ready .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .5s ease-out, transform .5s ease-out;
}

/* --------------------------------------------------------------------------
   Tablet — 4 column flow
   -------------------------------------------------------------------------- */

@media (min-width: 700px) {
  .eq__lead { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .eq__pair { grid-template-columns: 1fr 1fr; }
  .price { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; gap: var(--s5); }
  .coach { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s5); align-items: start; }
  .gym__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s5); }
  .contact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
  .foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
  .grp__list { grid-template-columns: 1fr 1fr; column-gap: var(--s4); }
  .com { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
  .com__a { grid-column: 1; grid-row: 1 / span 2; }
  .com__copy { grid-column: 2; grid-row: 1; }
  .com__b { grid-column: 2; grid-row: 2; }
}

/* --------------------------------------------------------------------------
   Desktop — asymmetric 12 column, and the orange line becomes vertical
   -------------------------------------------------------------------------- */

@media (min-width: 1024px) {
  body { font-size: 17.5px; }

  /* Merge deviation 3: the candidate comparison showed ~2,000px of padding carrying no information. */
  .sec { padding: var(--s5) 0; }
  .head { margin-bottom: var(--s4); }

  .sec .wrap { padding-left: calc(var(--gutter) + 96px); }

  /* One continuous orange rule threading every section — the hero included. z-index 2 keeps the
     line drawing across the proof-rail band rather than breaking behind it. */
  .hero > .sec__rule { z-index: 2; }
  .hero__panel { padding-left: 62px; }
  .sec__rule {
    display: block;
    position: absolute;
    top: 0; bottom: 0;
    left: calc(50% - 640px + var(--gutter) + 30px);
    width: 2px;
    background: var(--forge-orange-dim);
    z-index: 0;
  }
  @supports (width: min(1px, 1px)) {
    .sec__rule { left: max(var(--gutter), calc(50% - 640px + var(--gutter))); margin-left: 30px; }
  }

  .load { padding-top: 0; margin-left: -96px; width: calc(100% + 96px); }
  .load__tick {
    top: 50%; left: 30px; width: 34px; height: 2px; transform: translateY(-50%);
    background: var(--forge-orange);
  }
  .load__code { margin-left: 78px; }

  .head h2 { font-size: clamp(3rem, 4.6vw, 4.8rem); }

  .hero__body { padding-left: calc(var(--gutter) + 96px); }
  .rail { padding-left: calc(var(--gutter) + 96px); }

  .lane { grid-template-columns: 96px minmax(0, 8fr) minmax(0, 3fr); align-items: start; }
  .lane__go { grid-column: 3; margin-top: 0; align-self: center; }

  .step { grid-template-columns: 96px minmax(0, 1fr); }

  .eq__lead { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s5); }
  .shot--tall img { max-height: 620px; object-fit: cover; }
}

@media (min-width: 1280px) {
  /* The number costs ~140px; it only fits beside seven nav items from 1280px (was 1100px). */
  .bar__tel { display: inline-flex; }
}

/* Merge deviation 2: Candidate B proved 31 rows read comfortably in three columns at this width. */
@media (min-width: 1200px) {
  .grp__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1400px) {
  .sec__rule { left: calc(50% - 640px + var(--gutter)); margin-left: 30px; }
}

/* --------------------------------------------------------------------------
   Mobile bar
   -------------------------------------------------------------------------- */

@media (max-width: 1099px) {
  /* Seven nav items plus the mark and CTA need ~1100px on one line, so the collapsed menu
     runs up to 1099px (was 899px before the Coaching item, 2026-09-20). */
  /* No `order` anywhere: DOM order is mark, toggle, CTA, nav, which is exactly the visual order, so
     keyboard focus never jumps spatially. */
  .bar__in { flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .mark { margin-right: auto; }
  .mark__txt { font-size: 20px; }
  .bar__cta { margin-left: 0; min-height: 44px; padding: 10px 16px; font-size: 12.5px; flex: 1 0 100%; }

  .js .bar__toggle {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 8px 12px;
    background: transparent; color: var(--chalk);
    border: 1px solid var(--rule-hi);
    font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em;
    text-transform: uppercase; cursor: pointer;
  }
  .bar__toggle-bars {
    width: 16px; height: 2px; background: var(--chalk); position: relative; display: block;
  }
  .bar__toggle-bars::before, .bar__toggle-bars::after {
    content: ''; position: absolute; left: 0; width: 16px; height: 2px; background: var(--chalk);
  }
  .bar__toggle-bars::before { top: -5px; }
  .bar__toggle-bars::after { top: 5px; }

  .bar__nav { width: 100%; }
  .bar__list {
    flex-direction: column; gap: 0;
    border-top: 1px solid var(--rule);
  }
  .bar__list a { padding: 14px 2px; border-bottom: 1px solid var(--rule); border-left: 2px solid transparent; }
  .bar__list a.is-here { border-bottom-color: var(--rule); border-left-color: var(--forge-orange); }

  /* Collapsed only when JavaScript is available to reopen it. */
  .js .bar__nav { display: none; }
  .js .bar__nav.is-open { display: block; }
}

@media (max-width: 620px) {
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail li { border-bottom: 1px solid var(--rule); padding-left: 0 !important; padding-right: var(--s2); }
  .rail li:nth-child(2n) { border-right: 0; }
  .rail li:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .lane, .step { grid-template-columns: 52px minmax(0, 1fr); gap: var(--s2); }
  .grp summary { padding: 18px var(--s2); }
  .grp__list { padding: 0 var(--s2) var(--s2); }
  .hero h1 { font-size: clamp(2.9rem, 12vw, 4rem); }
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img { animation: none; transform: none; }
  /* Ambient video never plays under reduced motion: the hero falls back to its still, and
     app.js pauses any autoplaying tile so its poster frame holds. */
  .hero__video { display: none; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
  .reveal-ready .reveal.is-in { transition: none; }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}

@media print {
  .bar, .hero__media { display: none; }
  body { background: #fff; color: #000; }
}

/* ------------------------------------------------------------------
   Coaching packages (Will Power Fitness), added 2026-09-20 from the owner's flyer
   ------------------------------------------------------------------ */
.pkgs {
  margin-top: var(--s5); padding-top: var(--s4);
  border-top: 2px solid var(--forge-orange);
  display: grid; gap: var(--s4);
}
.pkgs__head { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: var(--s3); align-items: start; }
.pkgs__mark { width: 80px; height: 80px; display: block; }
.pkgs__brand {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--steel-text); margin: 0 0 6px;
}
.pkgs__head h3 { margin: 0 0 var(--s2); }
.pkgs__lede { max-width: 60ch; margin: 0; }
.pkgs__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.pkg {
  border: 2px solid var(--rule-hi); border-top: 4px solid var(--forge-orange);
  background: var(--char-2); padding: var(--s3);
}
.pkg__tier {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--steel-text); margin: 0 0 var(--s2);
}
.pkg__price { margin: 0 0 var(--s2); display: flex; align-items: baseline; gap: 8px; }
.pkg__amt {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 4rem); line-height: 0.85; color: var(--chalk);
}
.pkg__per { font-family: var(--mono); font-size: 14px; color: var(--steel-text); }
.pkg__what { font-family: var(--mono); font-size: 14px; color: var(--chalk); margin: 0 0 6px; }
.pkg__note { margin: 0; }
.pkgs__k {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--steel-text); margin: 0 0 var(--s2);
}
.incl { margin: 0; border-top: 1px solid var(--rule); max-width: 72ch; }
.incl > div { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.incl dt { font-family: var(--mono); font-size: 13.5px; color: var(--chalk); margin: 0 0 3px; }
.incl dd { margin: 0; }
.pkgs__acts { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.pkgs__fine {
  font-family: var(--mono); font-size: 12.5px; color: var(--steel-text);
  border-left: 2px solid var(--rule-hi); padding-left: 12px; margin: 0;
}
@media (min-width: 900px) {
  .pkgs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
