/* ═══════════════════════════════════════════════════════════════
   LEGACY ATHLETIX, Medicine Hat, AB
   Palette sampled from the facility footage (red structural pillars)
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Brand, red sampled from the gym's structural pillars in the master footage */
  --red:        #D8202F;  /* fills and buttons, white on this = 5.0:1 */
  --red-text:   #E8323F;  /* small red text on black = 4.8:1 */
  --red-deep:   #9E182F;  /* pillar shadow tone, used for borders and hovers */

  /* Surfaces */
  --ink:        #050505;
  --ink-2:      #0B0B0C;
  --ink-3:      #121214;
  --ink-4:      #1A1A1D;
  --line:       rgba(255,255,255,.09);
  --line-2:     rgba(255,255,255,.16);

  /* Text */
  --paper:      #F4F3F0;
  --paper-2:    #C9C8C4;
  --paper-3:    #9A9A96;   /* 7.2:1 on --ink */

  /* Type */
  --display: 'Oswald', 'Arial Narrow', system-ui, sans-serif;
  --body:    'Sora', ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --gut:       clamp(1.25rem, 5vw, 4.5rem);
  --sec:       clamp(4.5rem, 9vw, 8.5rem);
  --maxw:      1400px;
  --ease:      cubic-bezier(.22,.61,.36,1);
  --radius:    2px;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(.975rem, .93rem + .22vw, 1.075rem);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

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

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

.skip-link {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -120%);
  z-index: 999; background: var(--red); color: #fff;
  padding: .75rem 1.5rem; font-weight: 500; text-decoration: none;
  transition: transform .18s var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

/* ─── Type scale ────────────────────────────────────────────── */
.h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 1.35rem + 2.8vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -.005em;
  text-wrap: balance;
  max-width: 18ch;
}

.eyebrow {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(.7rem, .67rem + .15vw, .78rem);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red-text);
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.1rem;
}
/* vertical bar, a rule here reads as a dash */
.eyebrow::before {
  content: ""; width: 2px; height: 1.05em;
  background: var(--red); flex: none;
}

.lede { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 44rem; }
.lede-sub { color: var(--paper-2); margin-top: 1.15rem; max-width: 52ch; }

/* ─── Layout ────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 60rem; }
.section { padding-block: var(--sec); }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  --btn-pad: .82rem 1.55rem;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem; padding: var(--btn-pad);
  font-family: var(--display); font-weight: 500;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; min-height: 44px;
  transition: background .22s var(--ease), border-color .22s var(--ease),
              color .22s var(--ease), transform .22s var(--ease);
}
.btn-lg { --btn-pad: 1.05rem 2.1rem; font-size: .86rem; }
.btn-block { width: 100%; }

.btn-solid { background: var(--red); color: #fff; border-color: var(--red); }
.btn-solid:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-1px); }

.btn-line { background: transparent; color: var(--paper); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--paper); transform: translateY(-1px); }

/* ═══════════════ HEADER ═══════════════ */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .32s var(--ease), border-color .32s var(--ease), backdrop-filter .32s;
}
.site-header.is-stuck {
  background: rgba(5,5,5,.86);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border-bottom-color: var(--line);
}

.header-inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: 1rem var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  text-decoration: none; flex: none;
}
.brand-mark {
  display: grid; place-items: center;
  width: 2rem; height: 2rem;
  background: var(--red); color: #fff;
  font-family: var(--display); font-weight: 600;
  font-size: .82rem; letter-spacing: .04em;
  border-radius: var(--radius); flex: none;
}
.brand-word {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(.95rem, .9rem + .3vw, 1.12rem);
  letter-spacing: .13em; text-transform: uppercase;
  white-space: nowrap;
}
.brand-logo { height: 2.1rem; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.4rem); }
.nav-list { display: flex; gap: clamp(1rem, 2vw, 2rem); list-style: none; padding: 0; }
.nav-list a {
  font-family: var(--display); font-weight: 400;
  font-size: .8rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--paper-2); text-decoration: none;
  padding: .35rem 0; position: relative; display: inline-block;
  transition: color .2s var(--ease);
}
.nav-list a::after {
  content: ""; position: absolute; inset: auto 0 0;
  height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .26s var(--ease);
}
.nav-list a:hover, .nav-list a[aria-current="true"] { color: var(--paper); }
.nav-list a:hover::after, .nav-list a[aria-current="true"]::after { transform: scaleX(1); }

.nav-join { --btn-pad: .62rem 1.3rem; font-size: .76rem; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-2);
  border-radius: var(--radius); width: 44px; height: 44px;
  place-items: center; cursor: pointer;
}
.nav-toggle-bars { display: block; width: 18px; }
.nav-toggle-bars i {
  display: block; height: 1.5px; background: var(--paper);
  transition: transform .26s var(--ease), opacity .2s;
}
.nav-toggle-bars i:first-child { margin-bottom: 5px; }
.nav-toggle[aria-expanded="true"] i:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 8rem var(--gut) clamp(3rem, 7vh, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}

.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video, .hero-fallback, .hero-fallback img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-video { opacity: 0; transition: opacity 1.1s var(--ease); z-index: 1; }
.hero-video.is-ready { opacity: 1; }

.hero-scrim {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to top, var(--ink) 2%, rgba(5,5,5,.82) 26%, rgba(5,5,5,.34) 58%, rgba(5,5,5,.62) 100%),
    linear-gradient(to right, rgba(5,5,5,.66) 0%, rgba(5,5,5,.1) 55%, rgba(5,5,5,.35) 100%);
}

.hero-body { position: relative; z-index: 3; max-width: 46rem; }
.eyebrow-hero { margin-bottom: 1.35rem; }

.hero-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.9rem, 1.5rem + 5.4vw, 6rem);
  line-height: .98;
  letter-spacing: -.012em;
  text-transform: none;
}
.hero-title span { display: block; }
.hero-title .l2 { color: var(--paper-2); }

.hero-sub {
  margin-top: 1.5rem;
  max-width: 34rem;
  color: var(--paper-2);
  font-size: clamp(1rem, .95rem + .3vw, 1.14rem);
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: .8rem;
  margin-top: clamp(1.75rem, 3.5vw, 2.6rem);
}

.motion-toggle {
  position: absolute; z-index: 4;
  right: var(--gut); bottom: clamp(3rem, 7vh, 5.5rem);
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(5,5,5,.6); backdrop-filter: blur(8px);
  border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: .55rem .9rem; cursor: pointer;
  font-family: var(--display); font-size: .7rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--paper-2); min-height: 40px;
  transition: border-color .2s, color .2s;
}
.motion-toggle:hover { border-color: var(--paper-2); color: var(--paper); }
.motion-icon {
  width: 9px; height: 10px; flex: none;
  border-left: 3px solid currentColor; border-right: 3px solid currentColor;
}
.motion-toggle[aria-pressed="true"] .motion-icon {
  border: none; width: 0; height: 0;
  border-left: 9px solid currentColor;
  border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}

/* ═══════════════ PROOF STRIP ═══════════════ */
.proof { border-block: 1px solid var(--line); background: var(--ink-2); }
.proof-list {
  max-width: var(--maxw); margin-inline: auto;
  padding: 0 var(--gut); list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.proof-list li {
  padding: clamp(1.5rem, 3vw, 2.4rem) clamp(.75rem, 2vw, 1.75rem);
  border-left: 1px solid var(--line);
}
.proof-list li:first-child { border-left: 0; padding-left: 0; }
.proof-k {
  display: block; font-family: var(--display); font-weight: 500;
  font-size: clamp(1.1rem, .95rem + .65vw, 1.6rem);
  line-height: 1.1; letter-spacing: .01em;
}
.proof-v {
  display: block; margin-top: .3rem;
  font-size: .82rem; color: var(--paper-3); line-height: 1.5;
}

/* ═══════════════ SPLIT LAYOUTS ═══════════════ */
.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split-reverse .split-copy { order: 2; }
.split-reverse .split-media { order: 1; }
.split-copy > * + * { margin-top: 1.1rem; }
.split-copy p { color: var(--paper-2); max-width: 46ch; }
.split-copy .btn { margin-top: .75rem; }

.split-media {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  background: var(--ink-3);
}
.split-media video, .split-media picture, .split-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
}
.split-media video { z-index: 1; opacity: 0; transition: opacity .9s var(--ease); }
.split-media video.is-ready { opacity: 1; }
.split-media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--line);
}

.tick-list { list-style: none; padding: 0; margin-top: 1.4rem !important; }
.tick-list li {
  position: relative; padding-left: 1.5rem;
  color: var(--paper-2); font-size: .94rem; line-height: 1.55;
}
.tick-list li + li { margin-top: .6rem; }
.tick-list li::before {
  content: ""; position: absolute; left: 1px; top: .58em;
  width: 6px; height: 6px; background: var(--red);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* ═══════════════ TILES ═══════════════ */
.tiles {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(.75rem, 1.6vw, 1.35rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.tile { margin: 0; }
.tile picture {
  display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 16 / 10; position: relative;
}
.tile .media-layer { aspect-ratio: 16 / 10; }
/* contain so the full photo shows, tile keeps its size */
.tile img {
  width: 100%; height: 100%; object-fit: contain;
  transition: filter .5s var(--ease);
  filter: saturate(.94);
}
.tile:hover img { filter: saturate(1.04); }

/* ═══════════════ ATMOSPHERE BAND ═══════════════ */
.band {
  position: relative; isolation: isolate;
  min-height: clamp(22rem, 52vh, 34rem);
  display: grid; place-items: center;
  padding: var(--gut);
  overflow: hidden;
  border-block: 1px solid var(--line);
}
.band-video, .band-fallback, .band-fallback img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.band-video { opacity: 0; transition: opacity 1s var(--ease); z-index: -1; }
.band-video.is-ready { opacity: 1; }
.band-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(5,5,5,.6), rgba(5,5,5,.42) 45%, rgba(5,5,5,.78));
}
.band-copy { position: relative; z-index: 2; max-width: 30rem; text-align: center; }
.band-line {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.5rem, .95rem + 2.4vw, 2.9rem);
  line-height: 1.1; letter-spacing: -.005em; text-wrap: balance;
}

/* ═══════════════ MEMBERSHIP ═══════════════ */
.membership { background: var(--ink-2); }

.plans {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.2vw, 1.75rem);
}

.plan {
  background: var(--ink); border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3.4vw, 2.75rem);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: border-color .3s var(--ease);
}
.plan::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.plan:hover { border-color: var(--line-2); }
.plan:hover::before { transform: scaleX(1); }

.plan-name {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--paper);
}

.plan-price { margin-top: 1.4rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .55rem; }
.plan-cur {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.1rem, 1rem + .5vw, 1.5rem);
  color: var(--red-text); align-self: flex-start; margin-top: .35em;
}
.plan-num {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.9rem, 2rem + 3.4vw, 4.4rem);
  line-height: .9; letter-spacing: -.015em;
}
.plan-per {
  font-family: var(--body); font-size: .82rem; font-weight: 400;
  color: var(--paper-3); letter-spacing: .04em; width: 100%;
}

.plan-list {
  list-style: none; padding: 0;
  margin: 1.75rem 0 2rem;
  border-top: 1px solid var(--line); padding-top: 1.4rem;
  flex: 1;
}
.plan-list li {
  position: relative; padding-left: 1.55rem;
  font-size: .92rem; color: var(--paper-2); line-height: 1.5;
}
.plan-list li + li { margin-top: .8rem; }
.plan-list li::before {
  content: ""; position: absolute; left: 1px; top: .54em;
  width: 6px; height: 6px; background: var(--red);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.plan-list strong { color: var(--paper); font-weight: 500; }

.plain-pricing {
  margin-top: clamp(2rem, 4vw, 3.25rem);
  border: 1px solid var(--line); border-left: 2px solid var(--red);
  background: var(--ink); border-radius: 0;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  max-width: 62rem;
}
.plain-title {
  font-family: var(--display); font-weight: 500; font-size: .82rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--red-text);
  margin-bottom: .8rem;
}
.plain-pricing p { color: var(--paper-2); font-size: .95rem; }
.plain-pricing strong { color: var(--paper); font-weight: 500; }
.plain-note { margin-top: .9rem; font-size: .84rem; color: var(--paper-3); }

/* ═══════════════ TEAM ═══════════════ */
.people {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  max-width: 62rem;
}
.person {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--ink-2);
}
/* 2:3 matches the stage photos so the full pose fits */
.person-portrait {
  aspect-ratio: 2 / 3; border-radius: var(--radius);
  background: var(--ink-4);
  margin-bottom: 1.25rem; overflow: hidden; position: relative;
  border: 1px solid var(--line);
}
.person-portrait picture { display: block; width: 100%; height: 100%; }
.person-portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.person-name {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.15rem, 1rem + .55vw, 1.5rem);
  letter-spacing: .06em; text-transform: uppercase;
}
.person-role {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red-text); margin-top: .3rem;
}
.person-bio { margin-top: .85rem; color: var(--paper-2); font-size: .92rem; }
.person-bio a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--red-deep); }
.person-bio a:hover { color: var(--red-text); border-bottom-color: var(--red); }

.team-wide { margin-top: clamp(2.5rem, 5vw, 4rem); }
.team-wide .media-layer { aspect-ratio: 3 / 2; }

/* ═══════════════ GALLERY ═══════════════ */
.gallery { background: var(--ink-2); }
.gal-grid {
  max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gut);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(.75rem, 1.6vw, 1.25rem);
}
.gal-item { margin: 0; position: relative; }
.gal-item picture {
  display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 16 / 10; position: relative;
}
.gal-tall picture { aspect-ratio: 4 / 5; }
.gal-tall { grid-row: span 2; }
/* portrait photo needs a portrait cell */
.gal-portrait picture { aspect-ratio: 4 / 5; }
/* contain, and no hover scale, it clipped the edges */
.gal-item img {
  width: 100%; height: 100%; object-fit: contain;
}

/* ═══════════════ CONTACT ═══════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.contact-list { list-style: none; padding: 0; margin-top: 2.25rem; }
.contact-list li {
  display: grid; grid-template-columns: 8.5rem 1fr;
  gap: 1rem; padding: .95rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.c-label {
  font-family: var(--display); font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--paper-3);
}
.c-value { color: var(--paper); text-decoration: none; font-size: .95rem; line-height: 1.5; }
a.c-value { border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
a.c-value:hover { color: var(--red-text); border-bottom-color: var(--red); }

.map-holder {
  margin-top: 2.25rem; position: relative;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--ink-3);
}
.map-holder iframe {
  width: 100%; aspect-ratio: 16 / 10; border: 0;
  filter: invert(.92) hue-rotate(180deg) saturate(.55) contrast(.92);
}
.map-link {
  display: block; padding: .8rem 1.1rem;
  border-top: 1px solid var(--line);
  font-family: var(--display); font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--paper-2); text-decoration: none;
  transition: color .2s, background .2s;
}
.map-link:hover { color: var(--paper); background: var(--ink-3); }

/* ─── Form ──────────────────────────────────────────────────── */
.form {
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.5rem, 3.4vw, 2.4rem);
}
.form-title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem);
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label {
  display: block; margin-bottom: .45rem;
  font-size: .82rem; font-weight: 400; color: var(--paper-2);
  letter-spacing: .02em;
}
.req { color: var(--red-text); }

.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem;
  background: var(--ink); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--paper);
  font-family: var(--body); font-size: .95rem; font-weight: 300;
  min-height: 46px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none; cursor: pointer; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%239A9A96' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.field input::placeholder, .field textarea::placeholder { color: #6C6C68; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--red); outline: none;
  box-shadow: 0 0 0 3px rgba(216,32,47,.16);
}
.field :is(input,select,textarea)[aria-invalid="true"] { border-color: var(--red-text); }

.err {
  margin-top: .4rem; font-size: .82rem; color: var(--red-text);
  display: flex; align-items: flex-start; gap: .35rem;
}
.err[hidden] { display: none; }
.err::before { content: "!"; font-weight: 500; }

.checkline {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .88rem; color: var(--paper-2); cursor: pointer; line-height: 1.5;
}
.checkline input {
  width: 18px; height: 18px; margin-top: .18rem; flex: none;
  accent-color: var(--red); cursor: pointer;
}
.consent { margin: 1.35rem 0 .35rem; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-submit { margin-top: 1.1rem; position: relative; }
.btn-spin { display: none; width: 15px; height: 15px; flex: none;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  border-radius: 50%; animation: spin .7s linear infinite; }
.btn-submit.is-busy .btn-spin { display: block; }
.btn-submit[disabled] { opacity: .72; cursor: not-allowed; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  margin-top: 1rem; font-size: .9rem; padding: 0;
  min-height: 0; transition: min-height .2s;
}
.form-status:not(:empty) {
  padding: .85rem 1rem; border: 1px solid var(--line);
  border-left: 2px solid var(--red); background: var(--ink);
}
.form-status.is-ok { border-left-color: #3FA45B; color: var(--paper); }
.form-status.is-err { border-left-color: var(--red-text); color: var(--paper-2); }

.form-foot {
  margin-top: 1.2rem; font-size: .82rem; color: var(--paper-3); line-height: 1.6;
}
.form-foot a { color: var(--paper-2); text-decoration: underline; text-underline-offset: 3px; }
.form-foot a:hover { color: var(--red-text); }

/* ═══════════════ FAQ ═══════════════ */
.faq { background: var(--ink-2); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; text-align: left;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(.98rem, .93rem + .3vw, 1.15rem);
  letter-spacing: .015em; color: var(--paper);
  transition: color .2s var(--ease);
}
.faq-q:hover { color: var(--red-text); }
.faq-ico {
  position: relative; width: 13px; height: 13px; flex: none;
}
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute; background: var(--red);
  transition: transform .3s var(--ease), opacity .3s;
}
.faq-ico::before { inset: 6px 0 auto; height: 1.5px; }
.faq-ico::after  { inset: 0 6px auto; width: 1.5px; height: 13px; }
.faq-q[aria-expanded="true"] .faq-ico::after { transform: scaleY(0); opacity: 0; }

.faq-a {
  margin: 0; overflow: hidden; height: auto;
  transition: height .34s var(--ease);
}
.faq-a p { padding-bottom: 1.35rem; color: var(--paper-2); max-width: 62ch; font-size: .95rem; }

/* answers render open, JS collapses them (sets an */
:root:not(.js) .faq-ico { display: none; }
:root:not(.js) .faq-q { cursor: default; }

/* ═══════════════ FINAL CTA ═══════════════ */
.final-cta {
  position: relative; isolation: isolate;
  min-height: clamp(24rem, 62vh, 38rem);
  display: grid; place-items: center; text-align: center;
  padding: var(--sec) var(--gut);
  overflow: hidden;
}
.cta-bg, .cta-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1;
}
.cta-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(5,5,5,.8), rgba(5,5,5,.68) 50%, rgba(5,5,5,.92));
}
.cta-body { position: relative; z-index: 2; max-width: 40rem; }
.cta-body .h2 { max-width: none; margin-inline: auto; }
.cta-body p { margin-top: 1.1rem; color: var(--paper-2); }
.cta-body .hero-actions { justify-content: center; }

/* ═══════════════ FOOTER ═══════════════ */
.site-footer { border-top: 1px solid var(--line); background: var(--ink); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.brand-foot { margin-bottom: 1rem; }
.foot-blurb { color: var(--paper-3); font-size: .88rem; max-width: 26ch; }

.socials { display: flex; gap: .6rem; list-style: none; padding: 0; margin-top: 1.4rem; }
.socials a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--paper-3); transition: color .2s, border-color .2s;
}
.socials a:hover { color: var(--red-text); border-color: var(--red-deep); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

.foot-h {
  font-family: var(--display); font-weight: 500; font-size: .74rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--paper-3); margin-bottom: 1.1rem;
}
.foot-col ul { list-style: none; padding: 0; }
.foot-col li { font-size: .88rem; color: var(--paper-2); line-height: 1.6; }
.foot-col li + li { margin-top: .65rem; }
.foot-col a { text-decoration: none; transition: color .2s; }
.foot-col a:hover { color: var(--red-text); }

.foot-base {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  padding-block: 1.35rem; border-top: 1px solid var(--line);
  font-size: .8rem; color: var(--paper-3);
}
.foot-legal { display: flex; gap: 1.4rem; list-style: none; padding: 0; }
.foot-legal a { text-decoration: none; }
.foot-legal a:hover { color: var(--paper-2); }

/* ═══════════════ SCROLL REVEAL ═══════════════ */
.rv { opacity: 0; transform: translateY(18px); }
.js .rv { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .07s; }
.rv-d2 { transition-delay: .14s; }
.rv-d3 { transition-delay: .21s; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1080px) {
  .nav-list { gap: 1rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: 0 0 auto; top: 0;
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 5.25rem var(--gut) 2rem;
    background: rgba(5,5,5,.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-101%);
    transition: transform .38s var(--ease);
    visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-top: 1px solid var(--line); }
  .nav-list a { display: block; padding: 1.05rem 0; font-size: .95rem; }
  .nav-list a::after { display: none; }
  .nav-join { display: flex; margin-top: 1.5rem; --btn-pad: .9rem 1.3rem; font-size: .82rem; }

  .split, .contact-grid { grid-template-columns: 1fr; }
  .split-reverse .split-copy, .split-reverse .split-media { order: initial; }
  .proof-list { grid-template-columns: 1fr 1fr; }
  .proof-list li:nth-child(1), .proof-list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof-list li:nth-child(3), .proof-list li:nth-child(4) { border-top: 1px solid var(--line); }
  .gal-grid { grid-template-columns: 1fr 1fr; }
  .gal-tall { grid-row: span 1; }
}

@media (max-width: 720px) {
  .hero { min-height: 92svh; padding-top: 7rem; }
  .hero-title { font-size: clamp(2.6rem, 1.1rem + 9vw, 4rem); }
  .plans, .people, .tiles, .field-row { grid-template-columns: 1fr; }
  .tiles { gap: 1.25rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: .3rem; }
  .motion-toggle { left: var(--gut); right: auto; bottom: auto; top: 5.5rem; }
  .band { min-height: 20rem; }
}

@media (max-width: 460px) {
  .proof-list { grid-template-columns: 1fr; }
  .proof-list li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .proof-list li:first-child { border-top: 0; }
  .gal-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-body .btn { width: 100%; }
  .brand-word { font-size: .88rem; letter-spacing: .1em; }
}

/* Ultrawide */
@media (min-width: 1800px) {
  :root { --maxw: 1560px; }
  .hero-body { max-width: 46rem; }
}

/* ═══════════════ REDUCED MOTION ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .rv { opacity: 1 !important; transform: none !important; }
  .tile:hover img, .gal-item:hover img { transform: none; }
  .hero-video, .band-video, .split-media video, .upgrade-video { display: none !important; }
}

/* ═══════════════ PRINT ═══════════════ */
@media print {
  .site-header, .hero-media, .band, .final-cta, .map-holder, .form, .motion-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ═══════════════ LEGAL PAGES ═══════════════ */
.legal-body { margin-top: 2rem; max-width: 46rem; }
.legal-body h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.05rem, .95rem + .45vw, 1.35rem);
  letter-spacing: .05em; text-transform: uppercase;
  margin-top: 2.5rem; margin-bottom: .75rem;
}
.legal-body p { color: var(--paper-2); }
.legal-body p + p { margin-top: .9rem; }
.legal-body a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: var(--red-text); }
.legal-body strong { color: var(--paper); font-weight: 500; }

.legal-updated { margin-top: 2.5rem; font-size: .84rem; color: var(--paper-3); }

.terms-table { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.terms-table th, .terms-table td {
  text-align: left; padding: .85rem 1rem;
  border-bottom: 1px solid var(--line); font-size: .93rem;
}
.terms-table thead th {
  font-family: var(--display); font-weight: 500; font-size: .74rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--paper-3);
  border-bottom-color: var(--line-2);
}
.terms-table tbody th { font-weight: 400; color: var(--paper); }
.terms-table tbody td { color: var(--paper-2); }

/* ═══════════════ TAP TARGETS (WCAG 2.2 · 2.5.8) ═══════════════ */
/* Non-inline links get at least 24x24 of hit area with real spacing. */
.contact-list a.c-value { display: inline-block; padding-block: .3rem; min-height: 24px; }
.foot-col a, .foot-legal a { display: inline-block; padding-block: .3rem; min-height: 24px; }
.foot-col li + li { margin-top: .45rem; }
.map-link { min-height: 44px; display: flex; align-items: center; }
.checkline input { width: 24px; height: 24px; margin-top: 0; }
.socials a { min-width: 44px; min-height: 44px; }
.form-foot { line-height: 1.85; }
.form-foot a { display: inline-block; padding-block: .18rem; }

/* reversed split, image stays in the wider column */
@media (min-width: 901px) {
  .split-reverse { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
}

/* ═══════════════ REVISION PASS ADDITIONS ═══════════════ */

/* Coaching contact block */
.coach-contact {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem;
  margin-top: 1.4rem !important; padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.coach-name {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1rem, .95rem + .3vw, 1.2rem);
  letter-spacing: .09em; text-transform: uppercase; color: var(--paper);
}
.coach-phone {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1rem, .95rem + .3vw, 1.2rem);
  letter-spacing: .06em; color: var(--red-text); text-decoration: none;
  border-bottom: 1px solid var(--red-deep);
  padding-block: .2rem; min-height: 24px; display: inline-block;
}
.coach-phone:hover { color: var(--paper); border-bottom-color: var(--paper); }

/* The coaching photograph is portrait, so its frame is too */
.split-media-portrait { aspect-ratio: 4 / 5; }
.split-media-portrait img { object-position: center 42%; }

/* Line that ties the stage photographs to the coaching section above */
.proof-note {
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  padding-left: 1.1rem; border-left: 2px solid var(--red);
  max-width: 46ch; color: var(--paper-2); font-size: .95rem;
}

/* What members can expect from the owners */
.values {
  list-style: none; padding: 0;
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.2vw, 1.75rem);
}
.values li {
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
}
.value-h {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(.95rem, .9rem + .35vw, 1.15rem);
  letter-spacing: .05em; margin-bottom: .55rem; color: var(--paper);
}
.values p { font-size: .89rem; color: var(--paper-3); line-height: 1.65; }

/* Secondary line inside a contact row, used for the hours clarification */
.c-note {
  display: inline-block; margin-top: .3rem;
  font-size: .82rem; color: var(--paper-3); line-height: 1.5;
}

@media (max-width: 900px) {
  .values { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .values { grid-template-columns: 1fr; gap: 1.25rem; }
  /* full width on phones so the native 2:3 fits */
  .person-portrait { aspect-ratio: 2 / 3; }
}

/* pad inline phone links to 24px, easier to tap */
.person-bio a,
.faq-a a {
  display: inline-block;
  padding-block: .2rem;
  min-height: 24px;
}

/* ═══════════════ EQUIPMENT UPGRADES ═══════════════ */
.upgrades { background: var(--ink-2); }

/* aspect-ratio locks the box so nothing shifts on load */
.upgrade-reel {
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border: 1px solid var(--line);
}
.upgrade-video,
.upgrade-reel-fallback,
.upgrade-reel-fallback img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
}
.upgrade-video { z-index: 1; }

.upgrade-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.6vw, 2.25rem);
}

/* sharp photo contained on top, blurred copy fills the box behind it */
.media-layer {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  border: 1px solid var(--line);
}
.media-layer .media-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  filter: blur(32px) brightness(.32) saturate(.85);
}
.media-layer .media-fg { position: absolute; inset: 0; display: block; }
.media-layer .media-fg img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
}

.upgrade-card { margin: 0; }
.upgrade-media { aspect-ratio: 1 / 1; margin-bottom: 1.1rem; }

/* facility items kept separate from the equipment */
.upgrade-subhead {
  font-family: var(--display); font-weight: 500;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--paper-3);
  margin: clamp(2.25rem, 4vw, 3.25rem) 0 1.5rem;
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line);
}
.facility-media { aspect-ratio: 16 / 10; margin-bottom: 1.1rem; }
.upgrade-h {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.1rem, 1rem + .5vw, 1.45rem);
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--paper); margin-bottom: .6rem;
}
.upgrade-card p {
  color: var(--paper-2); font-size: .93rem; max-width: 46ch;
}

@media (max-width: 720px) {
  .upgrade-grid { grid-template-columns: 1fr; }
  /* portrait box on phones, no filler needed */
  .team-wide .media-layer { aspect-ratio: 2160 / 2900; }
  .team-wide .media-bg { display: none; }
}

/* ═══════════════ EQUIPMENT AND FACILITY PAGES ═══════════════ */
.page-head { padding-bottom: 0; }
.page-head .lede { margin-bottom: 0; }

.showcase-list { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* one machine per row, photo and copy side by side, alternating */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  margin: 0 0 clamp(3rem, 6vw, 5.5rem);
}
.showcase-flip .media-layer { order: 2; }
.showcase-flip .showcase-copy { order: 1; }

/* box follows the photo so no machine gets clipped */
.showcase-media { aspect-ratio: 4 / 5; }

.showcase-h {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.35rem, 1.05rem + 1.1vw, 2.1rem);
  line-height: 1.05; letter-spacing: .04em; text-transform: uppercase;
  color: var(--paper); margin-bottom: .85rem;
}
.showcase-copy p { color: var(--paper-2); font-size: 1rem; max-width: 44ch; }

.page-foot-cta { background: var(--ink-2); text-align: center; }
.page-foot-cta .eyebrow { justify-content: center; }
.page-foot-cta .h2 { margin: .5rem auto 1.75rem; max-width: none; }
.page-foot-cta .hero-actions { justify-content: center; }

@media (max-width: 820px) {
  .showcase { grid-template-columns: 1fr; gap: 1.5rem; }
  .showcase-flip .media-layer { order: 0; }
  .showcase-flip .showcase-copy { order: 0; }
  /* Portrait source, portrait box, no filler needed on a phone */
  .showcase-media { aspect-ratio: 3 / 4; }
  .showcase-media .media-bg { display: none; }
}

/* floor intro is copy only, photos live on the facility page */
.split-single { max-width: 62rem; }
.split-single .split-copy p { max-width: 58ch; }

/* floor photo keeps its own aspect */
.floor-media { aspect-ratio: auto; }
.floor-media .media-layer { aspect-ratio: 2160 / 1550; position: relative; }
.floor-media .media-layer .media-fg img { object-fit: contain; }

/* community block */
.community {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line);
  max-width: 62rem;
}
.community p { color: var(--paper-2); font-size: 1rem; max-width: 62ch; }
.community .value-h { margin-bottom: .85rem; text-transform: none; letter-spacing: .01em; }
