/* ==========================================================================
   IRON FORGE FITNESS — Core stylesheet
   Dark industrial / forged steel design system
   1. Tokens          5. Buttons          9.  Sections & layout
   2. Reset           6. Header / nav     10. Components
   3. Typography      7. Hero             11. Forms
   4. Utilities       8. Marquee          12. Footer / motion / responsive
   ========================================================================== */

/* 1. TOKENS ================================================================ */
:root {
  /* Surfaces — deep charcoal through blackened steel */
  --ink:        #08090a;
  --steel-950:  #0b0d0f;
  --steel-900:  #101316;
  --steel-850:  #14171b;
  --steel-800:  #191d22;
  --steel-700:  #23272e;
  --steel-600:  #31363f;

  /* Hairlines */
  --hair:       rgba(255, 255, 255, .085);
  --hair-2:     rgba(255, 255, 255, .16);
  --hair-3:     rgba(255, 255, 255, .28);

  /* Type colours — warm white, never pure #fff */
  --white:      #f5f2ec;
  --bone:       #ddd8ce;
  --muted:      #98a0aa;
  --muted-2:    #868e99;

  /* The single bold accent: forge red */
  --ember:      #cf202f;
  --ember-text: #ff737f;
  --ember-hot:  #eb4655;
  --ember-deep: #9e1925;
  --ember-tint: rgba(207, 32, 47, .14);
  --ember-glow: rgba(207, 32, 47, .38);

  /* Fonts */
  --f-display: 'Barlow Condensed', 'Oswald', 'Arial Narrow', sans-serif;
  --f-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Rhythm */
  --gut:      clamp(1.25rem, 4vw, 2.5rem);
  --section:  clamp(4.5rem, 10vw, 9rem);
  --maxw:     1280px;
  --maxw-tight: 940px;

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .55s;

  --nav-h: 72px;
}

/* The fifth equipment card closes the grid without an empty desktop cell. */
@media (min-width: 768px) {
  .gym-equipment > .panel:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .gym-equipment > .panel:last-child:nth-child(odd) > p { max-width: 64ch; }
}

/* 2. RESET ================================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  /* `clip` (not `hidden`) contains the off-canvas mobile nav without turning the
     root into a scroll container, which would break position: fixed/sticky. */
  overflow-x: clip;
}

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--ember); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ember); color: #fff; padding: .75rem 1.25rem;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.skip-link:focus { left: 0; }

/* 3. TYPOGRAPHY ============================================================ */
h1, h2, h3, h4, .display {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.005em;
  color: var(--white);
  text-wrap: balance;
}

.t-hero  { font-size: clamp(3rem, 10.5vw, 8.5rem); line-height: .86; }
.t-xl    { font-size: clamp(2.5rem, 6.5vw, 5rem); }
.t-lg    { font-size: clamp(2rem, 4.6vw, 3.5rem); }
.t-md    { font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
.t-sm    { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.lead {
  font-size: clamp(1.0625rem, 1rem + .5vw, 1.375rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}

p { text-wrap: pretty; }
p + p { margin-top: 1rem; }

.ember { color: var(--ember-text); }
.dim   { color: var(--muted); }
.dimmer{ color: var(--muted-2); }

/* Forged metal treatment — used sparingly, hero only */
.forged {
  background: linear-gradient(178deg, #fffefb 10%, var(--white) 44%, #bdb9b1 76%, #918d86 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .85rem;
  font-family: var(--f-body);
  font-size: .7rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--ember-text);
}
.eyebrow::before {
  content: ''; width: 2.75rem; height: 1px;
  background: currentColor; opacity: .7; flex: none;
}
.eyebrow--plain::before { display: none; }

/* 4. UTILITIES ============================================================= */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.wrap--tight { max-width: var(--maxw-tight); }

.section { padding-block: var(--section); position: relative; }
.section--flush-t { padding-top: 0; }
.section--flush-b { padding-bottom: 0; }

.bg-950 { background: var(--steel-950); }
.bg-900 { background: var(--steel-900); }
.bg-850 { background: var(--steel-850); }

.hr { height: 1px; background: var(--hair); border: 0; }

.stack > * + * { margin-top: 1.25rem; }
.stack-sm > * + * { margin-top: .625rem; }
.stack-lg > * + * { margin-top: 2rem; }

.center { text-align: center; }
.center .lead, .center .eyebrow { margin-inline: auto; }
.center .lead { text-align: center; }

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

/* Brushed-steel texture — restraint is the point: very low opacity */
.steel { position: relative; isolation: isolate; }
.steel::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    repeating-linear-gradient(96deg,
      rgba(255,255,255,.017) 0 2px, transparent 2px 5px),
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.045), transparent 62%);
}

/* Section number rule — recurring editorial motif */
.section-head {
  display: grid; gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head__meta {
  display: flex; align-items: center; gap: 1.25rem;
  font-family: var(--f-body); font-size: .7rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: var(--muted-2);
}
.section-head__meta .num { color: var(--ember-text); }
.section-head__meta .rule { flex: 1; height: 1px; background: var(--hair); }

/* 5. BUTTONS =============================================================== */
.btn {
  --btn-bg: var(--ember);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1.0625rem 2rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--f-display); font-size: 1.0625rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent; border-radius: 2px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease);
  will-change: transform;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 34px -10px var(--ember-glow);
  background: var(--ember-hot);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--white);
  border-color: var(--hair-2);
}
.btn--ghost:hover {
  --btn-bg: transparent;
  border-color: var(--white); box-shadow: none;
}

.btn--steel {
  --btn-bg: var(--steel-700); --btn-fg: var(--white);
  border-color: var(--hair);
}
.btn--steel:hover { --btn-bg: var(--steel-600); box-shadow: none; }

.btn--lg { padding: 1.25rem 2.5rem; font-size: 1.1875rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .875rem; }
.center .btn-row { justify-content: center; }

/* Inline text link with animated rule */
.link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--white);
  padding-bottom: .3rem;
  background-image: linear-gradient(var(--ember), var(--ember));
  background-size: 0% 2px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .4s var(--ease), color .3s var(--ease);
}
.link:hover { background-size: 100% 2px; color: var(--ember-text); }
.link::after { content: '→'; transition: transform .3s var(--ease); }
.link:hover::after { transform: translateX(4px); }

/* 6. HEADER / NAV ========================================================== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease),
              backdrop-filter .4s var(--ease);
}
.header--solid {
  background: rgba(8, 9, 10, .88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--hair);
}
.header__inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gut);
  display: flex; align-items: center; gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: .7rem; flex: none; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.header .brand__mark { width: 60px; height: 48px; object-fit: contain; }
.brand__name {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: 1.25rem; line-height: .95; letter-spacing: .02em; color: var(--white);
}
.brand__name span { display: block; font-size: .58rem; letter-spacing: .34em;
  color: var(--ember-text); font-family: var(--f-body); font-weight: 600; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; }
.nav__list { display: flex; align-items: center; gap: 1.5rem; list-style: none; padding: 0; }
.nav__link {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--bone);
  padding-block: .4rem; position: relative; transition: color .25s var(--ease);
  white-space: nowrap;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--ember); transition: width .3s var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
.nav__link[aria-current="page"] { color: var(--white); }

.nav__cta { display: flex; align-items: center; gap: .75rem; }
.nav__tel {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem;
  letter-spacing: .06em; color: var(--white); white-space: nowrap;
  transition: color .25s var(--ease);
}
.nav__tel:hover { color: var(--ember-text); }
.nav__tel svg { width: 15px; height: 15px; flex: none; color: var(--ember-text); }
.nav .btn { padding: .8rem 1.4rem; font-size: .9375rem; }

/* Mobile toggle */
.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; align-items: center; justify-content: center;
  border: 1px solid var(--hair-2); border-radius: 2px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--white);
  position: relative; transition: background-color .2s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--white); transition: transform .3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* 7. HERO ================================================================== */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex; align-items: flex-end;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
  filter: grayscale(.3) contrast(1.16) brightness(.48);
  transform: scale(1.04);
}
/* High-contrast lighting: the left third is pushed near-black so the headline
   always has clean ground to sit on, while the equipment stays readable right. */
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(70% 56% at 78% 20%, rgba(255,138,61,.15), transparent 62%),
    linear-gradient(100deg, rgba(8,9,10,.95) 0%, rgba(8,9,10,.86) 30%,
                            rgba(8,9,10,.55) 58%, rgba(8,9,10,.18) 82%),
    linear-gradient(to top, var(--ink) 3%, rgba(8,9,10,.82) 30%, rgba(8,9,10,.34) 66%, rgba(8,9,10,.7) 100%),
    radial-gradient(120% 90% at 50% 50%, transparent 30%, rgba(0,0,0,.75) 100%);
}
.hero__supplements {
  position: absolute; z-index: 1;
  top: 24%; right: max(2.5rem, calc((100vw - var(--maxw)) / 2));
  width: min(43vw, 590px); height: auto;
  box-shadow: 0 0 60px 28px rgba(8, 9, 10, .75);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__title { margin-block: 1.5rem 1.75rem; max-width: 15ch; }
.hero__copy { max-width: 54ch; font-size: clamp(1.0625rem, 1rem + .45vw, 1.3125rem); color: var(--bone); }
.hero__actions { margin-top: 2.25rem; }

.hero__tel {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: 1.75rem;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2.125rem); letter-spacing: .04em;
  color: var(--white); transition: color .25s var(--ease);
}
.hero__tel:hover { color: var(--ember-text); }
.hero__tel small {
  font-family: var(--f-body); font-size: .68rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: var(--ember-text);
  display: block; margin-bottom: .25rem;
}

/* Hero status bar — the "always open" proof strip */
.hero__bar {
  position: relative; z-index: 2;
  border-top: 1px solid var(--hair);
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; align-items: center;
  font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}
.hero__bar b { color: var(--white); font-weight: 700; }

.pulse {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ember); margin-right: .6rem; flex: none;
  box-shadow: 0 0 0 0 var(--ember-glow);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--ember-glow); }
  70%  { box-shadow: 0 0 0 9px rgba(255,90,31,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,90,31,0); }
}

/* Embers — subtle forge atmosphere, hero only */
.embers { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.ember-dot {
  position: absolute; bottom: -10px;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--ember-hot);
  opacity: 0;
  filter: blur(.4px);
  animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translate3d(0, 0, 0) scale(.7); opacity: 0; }
  12%  { opacity: .75; }
  70%  { opacity: .5; }
  100% { transform: translate3d(var(--dx, 20px), -85vh, 0) scale(.2); opacity: 0; }
}

/* Scroll cue */
.scroll-cue {
  position: absolute; z-index: 2; left: 50%; bottom: 1.25rem;
  transform: translateX(-50%);
  width: 1px; height: 46px; background: var(--hair-2); overflow: hidden;
}
.scroll-cue::after {
  content: ''; position: absolute; inset: 0; background: var(--ember);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* Page hero (interior pages) */
.phero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(4rem, 9vw, 7rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--hair);
  background: var(--steel-950);
  overflow: hidden;
}
.phero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(80% 60% at 82% 0%, rgba(255,90,31,.10), transparent 62%),
    repeating-linear-gradient(94deg, rgba(255,255,255,.014) 0 2px, transparent 2px 6px);
}
.phero__inner { position: relative; }
.phero__title { margin-block: 1.25rem 1.25rem; }

.crumbs {
  font-size: .7rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted-2);
}
.crumbs a { display: inline-block; padding-block: .6rem; }
.crumbs a:hover { color: var(--ember-text); }
.crumbs span { color: var(--hair-3); margin-inline: .5rem; }

/* 8. MARQUEE =============================================================== */
.marquee {
  border-block: 1px solid var(--hair);
  background: var(--steel-950);
  padding-block: 1.375rem;
  overflow: hidden;
  --marquee-dur: 34s;
}
.marquee__track {
  display: flex; width: max-content;
  animation: slide var(--marquee-dur) linear infinite;
}
.marquee__group {
  display: flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem;
  flex: none;
}
.marquee__item {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.125rem, 2vw, 1.625rem);
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}
.marquee__item:nth-child(even) { color: var(--white); }
.marquee__dot { width: 5px; height: 5px; background: var(--ember); flex: none; transform: rotate(45deg); }
@keyframes slide { to { transform: translateX(-50%); } }

/* 9. LAYOUT ================================================================ */
.split {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
.split > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-l { grid-template-columns: 1.15fr .85fr; }
  .split--wide-r { grid-template-columns: .85fr 1.15fr; }
  .split--flip > :first-child { order: 2; }
}

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 640px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) {
  .home-equipment > .panel:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1080px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px)  { .grid--4 { grid-template-columns: repeat(2, 1fr); } }

/* Media frame — forged plate look, works with or without a photo */
.media {
  position: relative; overflow: hidden; border-radius: 2px;
  background: var(--steel-850);
  border: 1px solid var(--hair);
  aspect-ratio: 4 / 3;
}
.media--tall { aspect-ratio: 3 / 4; }
.media--wide { aspect-ratio: 16 / 9; }
.media--square { aspect-ratio: 1; }
.media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.16) contrast(1.06) brightness(.92);
  transition: transform .8s var(--ease), filter .6s var(--ease);
}
.media:hover img { transform: scale(1.045); filter: grayscale(0) contrast(1.08) brightness(1); }
/* Placeholder shown when no photo has been supplied yet */
.media--placeholder::before {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.026) 0 3px, transparent 3px 8px),
    radial-gradient(90% 70% at 30% 10%, rgba(255,138,61,.10), transparent 60%),
    linear-gradient(160deg, var(--steel-700), var(--steel-900) 70%);
}
.media--placeholder::after {
  content: attr(data-label);
  position: absolute; inset: auto 0 0 0; padding: 1rem 1.125rem;
  font-size: .64rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted-2);
}
.media__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.75rem 1.25rem 1.125rem;
  background: linear-gradient(to top, rgba(8,9,10,.94), transparent);
  font-size: .72rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--white);
}

/* Big numbered editorial list — replaces card grids */
.numbered { list-style: none; padding: 0; border-top: 1px solid var(--hair); }
.numbered > li {
  border-bottom: 1px solid var(--hair);
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  display: grid; gap: .5rem 2rem;
  grid-template-columns: auto 1fr;
  align-items: start;
  transition: background-color .35s var(--ease), padding-inline .35s var(--ease);
}
.numbered > li:hover { background: rgba(255,255,255,.018); }
.numbered__n {
  font-family: var(--f-display); font-weight: 800; font-size: .9375rem;
  letter-spacing: .1em; color: var(--ember-text); padding-top: .35rem;
  font-variant-numeric: tabular-nums;
}
.numbered__body h3 { margin-bottom: .5rem; }
.numbered__body p { color: var(--muted); max-width: 68ch; }

/* Panel — used instead of repeating identical cards */
.panel {
  background: var(--steel-900);
  border: 1px solid var(--hair);
  border-radius: 2px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative; overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease),
              background-color .35s var(--ease);
}
.panel:hover { border-color: var(--hair-2); }
.panel--accent { border-color: var(--ember-tint); }
.panel--accent::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 2px; background: var(--ember);
}
.panel__k {
  font-size: .68rem; font-weight: 600; letter-spacing: .26em;
  text-transform: uppercase; color: var(--ember-text); margin-bottom: .875rem; display: block;
}

/* Stat strip */
.stats {
  display: grid; gap: 1px; background: var(--hair);
  border-block: 1px solid var(--hair);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--ink); padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem); }
.stat__v {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem); line-height: 1;
  color: var(--white); margin-bottom: .5rem;
}
.stat__v .ember { color: var(--ember-text); }
.stat__l { font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2); }

/* Tag / chip list */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.tag {
  border: 1px solid var(--hair); border-radius: 2px;
  padding: .5rem .875rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--bone); background: var(--steel-900);
}
.tag--ember { border-color: var(--ember-tint); color: var(--ember-text); }

/* 10. COMPONENTS =========================================================== */

/* Goal selector — WHAT ARE YOU TRAINING FOR? */
.goals { display: flex; flex-wrap: wrap; gap: .75rem; }
.goal {
  position: relative;
  display: inline-flex; align-items: center; gap: .75rem;
  padding: 1rem 1.5rem;
  background: var(--steel-900); border: 1px solid var(--hair); border-radius: 2px;
  font-family: var(--f-display); font-weight: 700; font-size: 1.125rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--bone);
  transition: border-color .3s var(--ease), color .3s var(--ease),
              background-color .3s var(--ease), transform .3s var(--ease);
}
.goal:hover { border-color: var(--hair-3); color: var(--white); transform: translateY(-2px); }
.goal[aria-pressed="true"] {
  border-color: var(--ember-text); color: #fff; background: var(--ember);
  box-shadow: 0 10px 30px -12px var(--ember-glow);
}
.goal__i { width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); flex: none; opacity: .55; }
.goal[aria-pressed="true"] .goal__i { opacity: 1; }

.goal-result {
  margin-top: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--hair); border-left: 2px solid var(--ember);
  background: var(--steel-900);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  border-radius: 2px;
}
.goal-result[hidden] { display: none; }
.goal-result__grid { display: grid; gap: 2rem; }
@media (min-width: 860px) { .goal-result__grid { grid-template-columns: 1.2fr .8fr; } }
.goal-result h3 { margin-bottom: .75rem; }
.goal-result ul { list-style: none; padding: 0; }
.goal-result li {
  padding-left: 1.5rem; position: relative; margin-bottom: .625rem; color: var(--bone);
}
.goal-result li::before {
  content: ''; position: absolute; left: 0; top: .6em;
  width: 6px; height: 6px; background: var(--ember); transform: rotate(45deg);
}

/* Accordion (FAQ) */
.acc { border-top: 1px solid var(--hair); }
.acc__item { border-bottom: 1px solid var(--hair); }
.acc__btn {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: clamp(1.125rem, 2.4vw, 1.625rem);
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.125rem, 2vw, 1.5rem); text-transform: uppercase;
  letter-spacing: .02em; color: var(--white);
  transition: color .25s var(--ease);
}
.acc__btn:hover { color: var(--ember-text); }
.acc__ico { position: relative; width: 16px; height: 16px; flex: none; }
.acc__ico::before, .acc__ico::after {
  content: ''; position: absolute; background: var(--ember); border-radius: 1px;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.acc__ico::before { inset: 7px 0; height: 2px; }
.acc__ico::after  { inset: 0 7px; width: 2px; }
.acc__btn[aria-expanded="true"] .acc__ico::after { transform: scaleY(0); opacity: 0; }
.acc__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
}
.acc__panel > div { overflow: hidden; }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel p { color: var(--muted); max-width: 72ch; padding-bottom: 1.5rem; }
.acc__panel p:first-child { padding-top: 0; }

/* Gallery */
.gallery { columns: 1; column-gap: clamp(.75rem, 1.6vw, 1.125rem); }
@media (min-width: 620px)  { .gallery { columns: 2; } }
@media (min-width: 1000px) { .gallery { columns: 3; } }
.gallery__item {
  break-inside: avoid; margin-bottom: clamp(.75rem, 1.6vw, 1.125rem);
  position: relative; overflow: hidden; border-radius: 2px;
  border: 1px solid var(--hair); background: var(--steel-850);
  display: block; width: 100%; padding: 0;
}
.gallery__item img {
  width: 100%; height: auto;
  filter: grayscale(.14) brightness(.94);
  transition: transform .8s var(--ease), filter .6s var(--ease);
}
.gallery__item:hover img { transform: scale(1.05); filter: grayscale(0) brightness(1.02); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5, 6, 7, .96);
  display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 84vh; object-fit: contain; border: 1px solid var(--hair); }
.lightbox__close {
  position: absolute; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem);
  width: 46px; height: 46px; border: 1px solid var(--hair-2); border-radius: 2px;
  color: var(--white); font-size: 1.5rem; line-height: 1;
  display: grid; place-items: center;
}
.lightbox__close:hover { border-color: var(--ember-text); color: var(--ember-text); }
.lightbox__cap {
  position: absolute; left: 0; right: 0; bottom: clamp(1rem, 3vw, 2rem);
  text-align: center; font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}

/* Notice / disclosure block */
.notice {
  border: 1px solid var(--hair);
  border-left: 2px solid var(--muted-2);
  background: var(--steel-900);
  padding: clamp(1.125rem, 2.4vw, 1.625rem);
  border-radius: 2px;
  font-size: .9375rem; color: var(--muted);
}
.notice--ember { border-left-color: var(--ember-text); }
.notice strong { color: var(--bone); }
.notice__k {
  display: block; font-family: var(--f-body); font-size: .66rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase; color: var(--muted-2);
  margin-bottom: .625rem;
}
.notice--ember .notice__k { color: var(--ember-text); }

/* Table (memberships / hours) */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; min-width: 460px; }
.table th, .table td {
  text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid var(--hair);
  font-size: .9375rem;
}
.table th {
  font-family: var(--f-body); font-size: .68rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2);
}
.table td:first-child { color: var(--white); font-weight: 500; }

/* 11. FORMS ================================================================ */
.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .5rem; }
.field--full { grid-column: 1 / -1; }
@media (min-width: 700px) { .form--2col { grid-template-columns: 1fr 1fr; } }

.label {
  font-size: .68rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}
.label .req { color: var(--ember-text); }

.input, .select, .textarea {
  width: 100%;
  background: var(--steel-950);
  border: 1px solid var(--hair-2);
  border-radius: 2px;
  padding: .9375rem 1rem;
  color: var(--white);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--hair-3); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--ember-text); background: var(--steel-900);
  box-shadow: 0 0 0 3px var(--ember-tint);
}
.textarea { resize: vertical; min-height: 130px; }
.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ember) 50%),
                    linear-gradient(135deg, var(--ember) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.75rem;
}
.select option { background: var(--steel-900); color: var(--white); }

.checks { display: grid; gap: .625rem; }
@media (min-width: 560px) { .checks--2 { grid-template-columns: 1fr 1fr; } }
.check {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .75rem .875rem;
  border: 1px solid var(--hair); border-radius: 2px;
  background: var(--steel-950);
  font-size: .9375rem; cursor: pointer;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.check:hover { border-color: var(--hair-3); }
.check input {
  appearance: none; width: 18px; height: 18px; flex: none; margin-top: .18em;
  border: 1px solid var(--hair-3); border-radius: 2px; background: transparent;
  display: grid; place-content: center; cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.check input::before {
  content: ''; width: 9px; height: 9px; transform: scale(0) rotate(45deg);
  background: #fff; transition: transform .2s var(--ease);
}
.check input:checked { background: var(--ember); border-color: var(--ember-text); }
.check input:checked::before { transform: scale(1) rotate(45deg); }
.check:has(input:checked) { border-color: var(--ember-text); background: rgba(207,32,47,.06); }

.form__foot { display: grid; gap: 1rem; }
.form__note { font-size: .8125rem; color: var(--muted-2); }
.form__status {
  padding: 1rem 1.125rem; border-radius: 2px; font-size: .9375rem;
  border: 1px solid var(--hair); background: var(--steel-900);
}
.form__status[hidden] { display: none; }
.form__status--ok { border-color: var(--ember-text); color: var(--white); }

/* Honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* 12. FOOTER =============================================================== */
.footer {
  background: var(--steel-950);
  border-top: 1px solid var(--hair);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}
.footer__grid {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 760px)  { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }

.footer__h {
  font-family: var(--f-body); font-size: .68rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase; color: var(--muted-2);
  margin-bottom: 1.125rem;
}
.footer__list { list-style: none; padding: 0; display: grid; gap: .125rem; }
.footer__list a { display: inline-block; padding-block: .3rem; color: var(--bone); font-size: .9375rem; transition: color .25s var(--ease); }
.footer p a[href^="mailto:"], .footer p a[href^="tel:"], a[data-cfg="email"] { display: inline-block; padding-block: .2rem; }
.footer__list a:hover { color: var(--ember-text); }

.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.75rem;
  border-top: 1px solid var(--hair);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center;
  justify-content: space-between;
  font-size: .78rem; color: var(--muted-2);
}
.footer__bottom a:hover { color: var(--ember-text); }

.social { display: flex; gap: .625rem; }
.social a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--hair); border-radius: 2px; color: var(--bone);
  transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.social a:hover { border-color: var(--ember-text); color: var(--ember-text); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }

/* Sticky mobile call bar */
.callbar {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  display: none; gap: 1px; background: var(--hair);
  border-top: 1px solid var(--hair);
}
.callbar a {
  flex: 1; padding: 1rem .5rem; text-align: center;
  background: var(--steel-900); color: var(--white);
  font-family: var(--f-display); font-weight: 700; font-size: 1rem;
  letter-spacing: .12em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.callbar a.is-primary { background: var(--ember); color: #fff; }
.callbar svg { width: 15px; height: 15px; }

/* Map */
.map {
  border: 1px solid var(--hair); border-radius: 2px; overflow: hidden;
  background: var(--steel-850);
  /* width must be pinned first: aspect-ratio combined with min-height would
     otherwise resolve width from height and burst out of the grid column. */
  width: 100%; aspect-ratio: 4 / 3; min-height: 320px;
}
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) invert(.92) contrast(.85); }

/* MOTION =================================================================== */
[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .embers, .scroll-cue { display: none; }
}

/* RESPONSIVE =============================================================== */
@media (max-width: 1080px) {
  .nav__list { gap: 1.125rem; }
  .nav__link { font-size: .72rem; letter-spacing: .1em; }
  .nav__tel { display: none; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed; inset: var(--nav-h) 0 0 0;
    margin: 0; padding: clamp(1.5rem, 6vw, 3rem) var(--gut) 6rem;
    background: rgba(8, 9, 10, .985);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    /* Fade + lift rather than an off-canvas slide. A fixed element translated
       100% to the right still contributes to document scroll width in Chrome,
       which produced horizontal overflow on every page. */
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .32s var(--ease), transform .32s var(--ease), visibility .32s;
    visibility: hidden;
    pointer-events: none;
  }
  .nav.is-open {
    opacity: 1; transform: none; visibility: visible; pointer-events: auto;
  }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__list li { border-bottom: 1px solid var(--hair); }
  .nav__link {
    display: block; padding-block: 1.0625rem;
    font-family: var(--f-display); font-size: 1.5rem; font-weight: 700;
    letter-spacing: .06em; color: var(--white);
  }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--ember-text); }

  .nav__cta { flex-direction: column; align-items: stretch; gap: .875rem; margin-top: 2rem; }
  .nav__tel { display: inline-flex; justify-content: center; font-size: 1.5rem; padding: .5rem; }
  .nav .btn { padding: 1.0625rem 1.5rem; font-size: 1.0625rem; }

  body.nav-open { overflow: hidden; }

  .callbar { display: flex; }
  body { padding-bottom: 56px; }
  .footer { padding-bottom: 4.5rem; }
}

@media (max-width: 560px) {
  .hero { padding-top: 16.5rem; }
  .hero__supplements { top: 5.5rem; right: 5%; width: 90%; box-shadow: 0 0 28px 12px rgba(8, 9, 10, .8); }
  .header .brand__mark { width: 50px; height: 40px; }
  .numbered > li { grid-template-columns: 1fr; gap: .5rem; }
  .numbered__n { padding-top: 0; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .hero__bar { gap: .875rem 1.5rem; font-size: .66rem; }
}

/* PRICE LIST =============================================================== */
.prices { list-style: none; margin: 0 0 .5rem; padding: 0; }
.prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--hair); }
.prices li:first-child { border-top: 1px solid var(--hair); }
.prices__name { font-family: var(--f-display); font-weight: 700; font-size: 1.375rem; text-transform: uppercase; letter-spacing: .02em; color: var(--white); }
.prices__name small { display: block; font-family: var(--f-body); font-weight: 400; font-size: .875rem; text-transform: none; letter-spacing: 0; color: var(--muted); }
.prices__amt { font-family: var(--f-display); font-weight: 800; font-size: 2rem; color: var(--ember-text); white-space: nowrap; line-height: 1; }
.prices__amt small { font-size: .9rem; font-weight: 600; color: var(--muted); margin-left: .15rem; }

/* PRINT ==================================================================== */
@media print {
  .header, .callbar, .embers, .scroll-cue, .marquee, .footer__grid { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Membership checkout */
.membership-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.membership-card { min-width: 0; }
.membership-card > p { margin: .75rem 0 1.5rem; }
.membership-choice { border-top: 1px solid var(--hair); padding-top: 1.25rem; margin-top: 1.25rem; }
.membership-choice strong { display: block; font-size: 2rem; color: var(--ember-text); margin-bottom: .75rem; }
.membership-choice strong small { font-size: 1rem; color: var(--bone); }
.membership-choice p { margin-top: .75rem; font-size: .875rem; }
.membership-choice .btn { width: 100%; }
@media (max-width: 640px) { .membership-grid { grid-template-columns: 1fr; } }
