/*
  CLIENT: FT60 — The Warehouse Gym
  TYPE: Premium functional fitness gym, Calicut Kerala
  ART DIRECTION: Industrial warehouse meets premium athletic — concrete, raw, brutal typography,
                 signature warehouse-red accent, white-hot energy. Hyrox × Nike × concrete underground.
  PALETTE: Near-black bg + signature FT60 red + concrete gray + bone white
  TYPOGRAPHY: Anton (athletic display), Archivo Black (italic accents), Inter (industrial body)
  DENSITY: Dense, layered, magazine-like
  MOOD: Raw, brutal, premium, athletic, no-bullshit, community
*/

:root {
  --bg: #0A0A0A;
  --bg-2: #0E0E0E;
  --surface: #141414;
  --surface-2: #1A1A1A;
  --concrete: #1F1F1F;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.18);

  --red: #E11827;
  --red-deep: #B81220;
  --red-glow: rgba(225, 24, 39, 0.35);

  --white: #FAFAFA;
  --bone: #EFECE5;
  --muted: #A0A0A0;
  --muted-2: #767676;

  --display: 'Anton', 'Bebas Neue', sans-serif;
  --display-2: 'Archivo Black', 'Anton', sans-serif;
  --body: 'Inter', system-ui, sans-serif;

  --max: 1440px;
  --pad: clamp(20px, 4vw, 80px);
  --radius: 4px;

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
ul { list-style: none; }

/* Concrete texture used everywhere */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(225,24,39,0.04), transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(225,24,39,0.03), transparent 50%);
  pointer-events: none;
}

/* ============ LOADER ============ */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.loader.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo { width: auto; height: 90px; display: block; margin: 0 auto; }
.loader-ft { font-family: var(--display); font-size: 80px; fill: var(--white); letter-spacing: -2px; }
.loader-60 { font-family: var(--display); font-size: 80px; fill: var(--red); letter-spacing: -2px; }
.loader-bar {
  width: 200px; height: 2px; background: rgba(255,255,255,0.1);
  margin: 24px auto 16px; overflow: hidden;
}
.loader-bar span {
  display: block; width: 100%; height: 100%; background: var(--red);
  transform: translateX(-100%);
  animation: load 1.4s var(--ease-out) forwards;
}
@keyframes load { to { transform: translateX(0); } }
.loader-tag {
  font-family: var(--body); font-size: 11px; font-weight: 700;
  letter-spacing: 4px; color: var(--muted);
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, padding 0.4s;
  padding: 18px 0;
}
.nav.scrolled {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}

.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.brand-logo {
  width: auto; height: 38px;
  flex-shrink: 0; display: block;
}
.brand-ft { font-family: var(--display); font-size: 64px; fill: var(--white); letter-spacing: -1px; }
.brand-60 { font-family: var(--display); font-size: 64px; fill: var(--red); letter-spacing: -1px; }
/* brand-tag is hidden in nav (kept only inside footer) */
.nav .brand-tag { display: none; }
.brand-tag {
  font-size: 9px; font-weight: 800; letter-spacing: 2px;
  color: var(--muted); line-height: 1.4;
}
.footer-logo-img { width: auto; height: 56px; display: block; }

.nav-links {
  display: flex; gap: 32px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
}
.nav-links a {
  position: relative; color: var(--bone); transition: color 0.3s;
}
.nav-links a:hover { color: var(--red); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--red);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: var(--white);
  padding: 14px 24px;
  font-size: 12px; font-weight: 800; letter-spacing: 1.8px;
  border-radius: 2px;
  position: relative; overflow: hidden;
  transition: background 0.3s var(--ease-out), letter-spacing 0.3s var(--ease-out);
}
.nav-cta::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 0;
  background: var(--red-deep);
  transition: height 0.3s var(--ease-out);
  z-index: 0;
}
.nav-cta span { position: relative; z-index: 1; }
.nav-cta:hover::after { height: 100%; }
.nav-cta:hover { letter-spacing: 2.2px; }

.nav-burger {
  display: none;
  width: 40px; height: 40px; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px;
}
.nav-burger span {
  display: block; width: 24px; height: 2px; background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  padding: 100px var(--pad) 40px;
  display: flex; flex-direction: column; justify-content: flex-start;
  transform: translateY(-100%);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition: transform 0.55s var(--ease),
              opacity 0.4s var(--ease),
              visibility 0s 0.55s;
}
.mobile-menu.open {
  transform: translateY(0);
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: transform 0.55s var(--ease),
              opacity 0.4s var(--ease),
              visibility 0s 0s;
}
.mm-grid { display: flex; flex-direction: column; gap: 18px; }
.mm-grid a {
  font-family: var(--display); font-size: clamp(36px, 9vw, 64px);
  letter-spacing: -1px; color: var(--white);
  border-bottom: 1px solid var(--line); padding-bottom: 14px;
  transition: color 0.3s, padding-left 0.3s;
}
.mm-grid a:hover { color: var(--red); padding-left: 12px; }
.mm-foot { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.mm-cta {
  font-family: var(--display); font-size: 28px; color: var(--red);
}
.mm-foot p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 28px;
  font-size: 13px; font-weight: 800; letter-spacing: 1.5px;
  transition: all 0.3s var(--ease-out);
  position: relative; overflow: hidden;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s; }
.btn-primary {
  background: var(--red); color: var(--white);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.btn-primary:hover { background: var(--red-deep); }
.btn-primary:hover svg { transform: translateX(6px); }
.btn-ghost {
  background: transparent; color: var(--white);
  border: 2px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn.full { width: 100%; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--pad) 0;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img,
.hero-bg video {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 40%;
  filter: grayscale(20%) contrast(1.1) brightness(0.55);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.6) 60%, rgba(10,10,10,0.95) 100%),
    radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(10,10,10,0.5) 70%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
}

.hero-marquee {
  position: relative;
  z-index: 4;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.marquee-track {
  display: flex; gap: 32px;
  font-family: var(--display); font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: 2px; padding: 16px 0;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  width: max-content;
  will-change: transform;
}
.marquee-track > span { display: inline-block; }
.marquee-track > span:nth-child(odd) { color: var(--white); }
.marquee-track > span:nth-child(even) { color: var(--red); }
.red-track { animation-duration: 30s; background: var(--red); padding: 14px 0; }
.red-track span { color: var(--white) !important; }

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.hero-inner {
  position: relative; z-index: 3;
  max-width: var(--max); margin: 0 auto; width: 100%;
  padding-bottom: 60px;
}
.hero-meta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  color: var(--bone); margin-bottom: 32px;
}
.hero-meta .dot {
  width: 8px; height: 8px; background: var(--red);
  border-radius: 50%; animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--red-glow); }
  50% { box-shadow: 0 0 0 12px transparent; }
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(48px, 9vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin-bottom: 36px;
  text-transform: uppercase;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .word {
  display: inline-block;
}
.hero-title .word.red { color: var(--red); }
.hero-title .italic { font-style: italic; font-family: var(--display-2); font-size: 0.92em; letter-spacing: -0.04em; }

.hero-sub {
  max-width: 580px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6; color: var(--bone);
  margin-bottom: 40px;
}
.hero-sub b { color: var(--white); font-weight: 700; }

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-tile-stats {
  position: relative; z-index: 3;
  max-width: var(--max); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(8px);
}
.hero-tile-stats > div {
  padding: 24px var(--pad);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.hero-tile-stats > div:last-child { border-right: 0; }
.hero-tile-stats b {
  font-family: var(--display); font-size: clamp(28px, 3vw, 44px);
  letter-spacing: 0; font-weight: 400;
  color: var(--white);
}
.hero-tile-stats span {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted);
}

.hero-scroll {
  position: absolute; right: var(--pad); bottom: 200px;
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  color: var(--muted); writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 60px; background: var(--line-strong);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: -50%; left: 0;
  width: 1px; height: 50%; background: var(--red);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  to { top: 100%; }
}

/* ============ SECTION HEAD / TAGS ============ */
section { position: relative; padding: clamp(80px, 12vh, 160px) var(--pad); }
.section-head { max-width: var(--max); margin: 0 auto 60px; }

.about-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  color: var(--muted); margin-bottom: 24px;
  text-transform: uppercase;
}
.tag-num {
  font-family: var(--display); font-size: 16px;
  color: var(--red); letter-spacing: 0;
}
.about-tag::before {
  content: ''; width: 24px; height: 1px; background: var(--red);
}

.section-title {
  font-family: var(--display);
  font-size: clamp(38px, 5.5vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-weight: 400;
  text-transform: uppercase;
}
.section-title span { display: block; }
.section-title .red { color: var(--red); }
.section-title .italic { font-family: var(--display-2); font-style: italic; letter-spacing: -0.04em; font-size: 0.86em; }
.section-title em { color: var(--red); font-style: normal; }

.section-lead {
  max-width: 600px; font-size: 17px; color: var(--bone);
  margin-top: 24px; line-height: 1.6;
}

/* ============ ABOUT ============ */
.about {
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.about-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 80px; align-items: start;
}
.about-text .lead {
  font-size: 19px; color: var(--white); margin: 32px 0 20px;
  line-height: 1.55; font-weight: 500;
}
.about-text p {
  font-size: 16px; color: var(--bone); line-height: 1.7;
  margin-bottom: 16px;
}

.about-pillars {
  margin-top: 48px;
  display: grid; gap: 0;
}
.pillar {
  display: flex; align-items: flex-start; gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar > b {
  font-family: var(--display); font-size: 32px;
  color: var(--red); letter-spacing: 0; font-weight: 400;
  line-height: 1; flex-shrink: 0;
  min-width: 60px;
}
.pillar-text { flex: 1; min-width: 0; }
.pillar-text h4 {
  font-family: var(--display); font-size: 24px;
  letter-spacing: 1px; margin-bottom: 6px; font-weight: 400;
  line-height: 1.1;
}
.pillar-text p { font-size: 14px; color: var(--muted); line-height: 1.5; }

.about-visual {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; position: sticky; top: 100px;
}
.av-main {
  position: relative;
  grid-column: 1 / -1;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--surface);
}
.av-main img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.05);
}
.av-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: var(--red); color: var(--white);
  padding: 14px 20px;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.av-badge b {
  display: block;
  font-family: var(--display); font-size: 22px; letter-spacing: 1px;
  font-weight: 400;
}
.av-badge span { font-size: 10px; font-weight: 700; letter-spacing: 2px; opacity: 0.85; }

.av-side {
  grid-column: 1 / -1;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--surface);
}
.av-side img { width: 100%; height: 100%; object-fit: cover; }

/* ============ BAND (rolling text strip) ============ */
.band {
  padding: 0;
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band-track {
  display: flex; gap: 32px; align-items: center;
  font-family: var(--display); font-size: clamp(38px, 6.5vw, 90px);
  letter-spacing: -0.02em; font-weight: 400;
  white-space: nowrap; padding: 24px 0;
  width: max-content;
  animation: marquee 50s linear infinite;
  text-transform: uppercase;
  will-change: transform;
}
.band-track .ghost { -webkit-text-stroke: 1px var(--white); color: transparent; }
.band-track em { font-style: normal; color: var(--red); font-size: 0.6em; }

/* ============ PROGRAMS ============ */
.programs { background: var(--bg-2); border-top: 1px solid var(--line); }
.programs-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.program {
  background: var(--bg-2);
  padding: 40px 32px;
  position: relative;
  grid-column: span 2;
  display: flex; flex-direction: column; gap: 24px;
  min-height: 360px;
  transition: background 0.4s var(--ease);
  overflow: hidden;
}
.program::after {
  content: ''; position: absolute; inset: 0;
  background: var(--red);
  z-index: 0;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
}
.program > * { position: relative; z-index: 1; }
.program:hover::after { transform: translateY(0); }
.program:hover .program-num,
.program:hover h3,
.program:hover h3 span,
.program:hover p,
.program:hover ul,
.program:hover .program-pill { color: var(--white) !important; }
.program:hover .program-num { -webkit-text-stroke-color: var(--white); }

.program-lg { grid-column: span 4; }
.program-red { background: var(--red); }
.program-red .program-num { -webkit-text-stroke-color: var(--white); color: transparent; }
.program-red h3, .program-red h3 span, .program-red p, .program-red ul li { color: var(--white) !important; }
.program-red::after { background: var(--bg-2); }
.program-red:hover .program-num { -webkit-text-stroke-color: var(--red); color: transparent; }
.program-red:hover h3, .program-red:hover h3 span, .program-red:hover p, .program-red:hover ul li { color: var(--white) !important; }
.program-dark { background: var(--bg); }

.program-num {
  font-family: var(--display); font-size: 80px; line-height: 1;
  -webkit-text-stroke: 1px var(--line-strong);
  color: transparent; letter-spacing: 0; font-weight: 400;
  transition: -webkit-text-stroke-color 0.4s, color 0.4s;
}
.program-body { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.program h3 {
  font-family: var(--display); font-size: clamp(28px, 3vw, 44px);
  line-height: 0.95; letter-spacing: -0.01em; font-weight: 400;
  text-transform: uppercase;
  transition: color 0.4s;
}
.program h3 span { display: block; color: var(--red); transition: color 0.4s; }
.program p { font-size: 15px; color: var(--bone); line-height: 1.6; transition: color 0.4s; }
.program ul { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.program ul li {
  font-size: 13px; color: var(--muted);
  padding-left: 18px; position: relative;
  transition: color 0.4s;
}
.program ul li::before {
  content: '+'; position: absolute; left: 0;
  color: var(--red); font-weight: 700;
}
.program-pill {
  display: inline-block; align-self: flex-start;
  background: var(--red); color: var(--white);
  font-size: 10px; font-weight: 800; letter-spacing: 2px;
  padding: 6px 12px;
}
.program-aside { position: absolute; top: 32px; right: 32px; }

/* ============ TRAINERS ============ */
.trainers { background: var(--bg); border-top: 1px solid var(--line); }
.trainers-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.trainer {
  background: var(--surface); position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out);
}
.trainer:hover { transform: translateY(-8px); }
.trainer-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--surface-2);
  position: relative;
}
.trainer-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(225,24,39,0.0) 80%, var(--surface) 100%);
  pointer-events: none;
}
.trainer-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  filter: grayscale(10%) contrast(1.05);
  transition: transform 0.6s var(--ease-out), filter 0.4s;
}
.trainer:hover .trainer-img img { transform: scale(1.05); filter: grayscale(0%) contrast(1.1); }
.trainer-info {
  padding: 22px 20px;
  border-top: 1px solid var(--line);
}
.trainer-info h3 {
  font-family: var(--display); font-size: 26px;
  letter-spacing: 0.5px; font-weight: 400;
  margin-bottom: 4px;
}
.trainer-role {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 14px;
}
.trainer-info ul { display: flex; flex-direction: column; gap: 5px; }
.trainer-info li {
  font-size: 12px; color: var(--bone); line-height: 1.5;
  padding-left: 14px; position: relative;
}
.trainer-info li::before {
  content: '—'; position: absolute; left: 0; color: var(--muted);
}

/* ============ HYROX ============ */
.hyrox {
  padding: 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  position: relative;
}
.hyrox-marquee {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hyrox-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 100px var(--pad);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px;
  align-items: center;
}
.hyrox-text p {
  font-size: 16px; color: var(--bone); line-height: 1.7;
  margin: 24px 0;
}
.hyrox-text p b { color: var(--red); font-weight: 700; }
.hyrox-quote {
  border-left: 3px solid var(--red);
  padding-left: 20px;
  margin: 32px 0 !important;
}
.hyrox-quote em {
  font-family: var(--display-2); font-style: italic;
  font-size: 22px; color: var(--white); line-height: 1.3;
}
.hyrox-quote span {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: var(--muted); display: inline-block; margin-top: 10px;
}

.hyrox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 12px;
}
.hg-card {
  overflow: hidden; background: var(--surface);
  position: relative;
}
.hg-card img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(8%) contrast(1.05);
  transition: transform 0.5s var(--ease-out);
}
.hg-card:hover img { transform: scale(1.06); }
/* Per-image object-position so faces and activity stay in frame */
.hg-1 img { object-position: center 35%; }   /* SkiErg standing */
.hg-2 img { object-position: center 38%; }   /* Bench press */
.hg-3 img { object-position: center 55%; }   /* Hyrox bent rowing */
.hg-4 img { object-position: center 50%; }   /* Spin bike rider */
.hg-5 img { object-position: center 60%; }   /* Press machine sitting */
.hg-6 img { object-position: center 30%; }   /* Back muscle pose */

.hyrox-stations {
  border-top: 1px solid var(--line);
  padding: 80px var(--pad);
  background: var(--bg);
  max-width: 100%;
}
.hyrox-stations > h3 {
  max-width: var(--max); margin: 0 auto 48px;
  font-family: var(--display); font-size: clamp(28px, 3vw, 40px);
  letter-spacing: 0.5px; font-weight: 400;
  text-transform: uppercase;
}
.stations-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
.stations-grid > div {
  background: var(--bg);
  padding: 28px 24px;
  display: flex; align-items: baseline; gap: 16px;
  flex-wrap: wrap;
  transition: background 0.3s;
}
.stations-grid > div:hover { background: var(--red); }
.stations-grid > div:hover b { color: var(--white); -webkit-text-stroke-color: var(--white); }
.stations-grid > div:hover span { color: var(--white); }
.stations-grid b {
  font-family: var(--display); font-size: 32px; letter-spacing: 0; font-weight: 400;
  -webkit-text-stroke: 1px var(--red); color: transparent;
  transition: color 0.3s, -webkit-text-stroke-color 0.3s;
}
.stations-grid > div { font-family: var(--display); font-size: 22px; letter-spacing: 0.5px; font-weight: 400; text-transform: uppercase; }
.stations-grid span {
  margin-left: auto; font-family: var(--body);
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--muted); text-transform: uppercase;
}

/* ============ COMMUNITY ============ */
.community { background: var(--bg); border-top: 1px solid var(--line); }
.community-mosaic {
  max-width: var(--max); margin: 0 auto 80px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}
.cm-large { grid-column: span 2; grid-row: span 2; }
.cm-1 { grid-column: span 1; }
.cm-2 { grid-column: span 1; }
.cm-3 { grid-column: span 1; }
.cm-4 { grid-column: span 1; }
.cm-5 { grid-column: span 2; }
.cm-6 { grid-column: span 2; }
.community-mosaic > div {
  overflow: hidden; background: var(--surface);
  position: relative;
}
.community-mosaic img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.4s;
  filter: grayscale(12%);
}
.community-mosaic > div:hover img { transform: scale(1.05); filter: grayscale(0); }
/* Per-tile object-position to keep faces/action in frame */
.cm-large img { object-position: center 55%; }   /* Group photo - people in lower 2/3 */
.cm-1 img { object-position: center 30%; }
.cm-2 img { object-position: center 30%; }
.cm-3 img { object-position: center 30%; }
.cm-4 img { object-position: center 30%; }
.cm-5 img { object-position: center 35%; }
.cm-6 img { object-position: center 50%; }

.testimonials {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.testimonial {
  background: var(--surface);
  padding: 32px;
  border-top: 2px solid var(--red);
  display: flex; flex-direction: column; gap: 16px;
}
.t-rate { color: var(--red); font-size: 14px; letter-spacing: 4px; }
.testimonial p {
  font-size: 15px; line-height: 1.65; color: var(--bone);
  flex: 1;
}
.testimonial footer {
  border-top: 1px solid var(--line); padding-top: 16px;
  display: flex; flex-direction: column; gap: 2px;
}
.testimonial footer b {
  font-family: var(--display); font-size: 18px; letter-spacing: 0.5px; font-weight: 400;
}
.testimonial footer span { font-size: 11px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }

/* ============ MEMBERSHIP ============ */
.membership { background: var(--bg-2); border-top: 1px solid var(--line); }
.plans {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.plan {
  background: var(--bg); padding: 40px 32px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}
.plan:hover { border-color: var(--red); transform: translateY(-6px); }
.plan-featured {
  border-color: var(--red);
  background: linear-gradient(180deg, rgba(225,24,39,0.05), var(--bg) 80%);
}
.plan-tag {
  position: absolute; top: -1px; left: 32px;
  background: var(--red); color: var(--white);
  font-size: 10px; font-weight: 800; letter-spacing: 2px;
  padding: 6px 12px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.plan header h3 {
  font-family: var(--display); font-size: 32px;
  letter-spacing: 0.5px; font-weight: 400;
  margin-bottom: 4px;
}
.plan header p { font-size: 12px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }
.price {
  display: flex; align-items: baseline; gap: 4px;
  border-bottom: 1px solid var(--line); padding-bottom: 24px;
}
.cur { font-size: 22px; color: var(--red); font-weight: 700; }
.price b {
  font-family: var(--display); font-size: 64px; letter-spacing: -1px;
  font-weight: 400; line-height: 1;
}
.per { font-size: 13px; color: var(--muted); margin-left: 6px; }
.plan ul { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan ul li {
  font-size: 14px; color: var(--bone);
  padding-left: 22px; position: relative;
}
.plan ul li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 12px; height: 2px; background: var(--red);
}
.plans-note {
  max-width: 720px; margin: 80px auto 0;
  text-align: center; font-size: 13px; color: var(--muted);
  line-height: 1.7; padding: 28px 0 8px;
  border-top: 1px solid var(--line);
}
.plans-note b { color: var(--red); font-weight: 700; }

/* ============ VISIT ============ */
.visit {
  position: relative; padding: 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.visit-bg { position: absolute; inset: 0; z-index: 0; }
.visit-bg img,
.visit-bg video {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
  filter: grayscale(40%) contrast(1.1) brightness(0.45);
}
.visit-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.85) 100%),
    radial-gradient(ellipse at 70% 50%, rgba(225,24,39,0.18), transparent 60%);
}
.visit-inner {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
  padding: 120px var(--pad);
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 80px; align-items: center;
}
.visit-left p {
  font-size: 16px; color: var(--bone); line-height: 1.7;
  margin: 24px 0 32px;
}
.visit-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.visit-card {
  background: var(--surface);
  padding: 40px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
}
.visit-card h4 {
  font-family: var(--display); font-size: 22px;
  letter-spacing: 1px; font-weight: 400;
  padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.vc-row {
  display: grid; grid-template-columns: 90px 1fr;
  gap: 20px; padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.vc-label {
  font-size: 10px; font-weight: 800; letter-spacing: 2px;
  color: var(--red); padding-top: 4px;
}
.vc-row p { font-size: 14px; color: var(--bone); line-height: 1.6; }

.vc-map {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 24px;
  padding: 16px 20px;
  border: 2px solid var(--line-strong);
  font-size: 12px; font-weight: 800; letter-spacing: 1.5px;
  transition: all 0.3s;
}
.vc-map svg { width: 16px; height: 16px; transition: transform 0.3s; }
.vc-map:hover { border-color: var(--red); color: var(--red); }
.vc-map:hover svg { transform: translate(2px, -2px); }

/* ============ FOOTER ============ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 80px var(--pad) 0;
  position: relative;
  overflow: hidden;
}
.footer-top {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 60px; align-items: start;
  padding-bottom: 60px;
}
.brand-lg svg { width: 140px; height: 42px; }
.brand-lg .brand-tag {
  font-size: 11px; padding-top: 10px;
  border-left: 0; padding-left: 0;
  margin-top: 12px;
  display: block;
}

.footer-links {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.footer-links h5 {
  font-family: var(--display); font-size: 16px;
  letter-spacing: 1.5px; font-weight: 400;
  color: var(--red); margin-bottom: 16px;
}
.footer-links a {
  display: block; font-size: 13px;
  color: var(--bone); margin-bottom: 8px;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--red); }

.footer-massive {
  font-family: var(--display);
  font-size: clamp(140px, 28vw, 420px);
  line-height: 0.85;
  letter-spacing: -0.04em; font-weight: 400;
  text-align: center;
  -webkit-text-stroke: 1px var(--line-strong);
  color: transparent;
  margin: 40px 0 -40px;
  user-select: none;
}
.footer-massive .red { color: var(--red); -webkit-text-stroke: 0; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
  font-size: 11px; color: var(--muted); letter-spacing: 1px;
  max-width: var(--max); margin: 0 auto;
}
.footer-bottom .sep { margin: 0 8px; opacity: 0.5; }
.footer-credit a {
  color: var(--red); font-weight: 700; text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}
.footer-credit a:hover { color: var(--white); border-bottom-color: var(--red); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { position: static; }
  .programs-grid { grid-template-columns: repeat(4, 1fr); }
  .program { grid-column: span 2; }
  .program-lg { grid-column: span 4; }
  .trainers-grid { grid-template-columns: repeat(3, 1fr); }
  .hyrox-inner { grid-template-columns: 1fr; gap: 60px; }
  .visit-inner { grid-template-columns: 1fr; gap: 40px; padding: 80px var(--pad); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .nav-cta span { display: none; }
  .nav-cta { padding: 12px; }
  .hero-marquee { top: 80px; }
  .marquee-track { font-size: 20px; }
  .hero-tile-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-tile-stats > div { padding: 18px var(--pad); border-bottom: 1px solid var(--line); }
  .hero-tile-stats > div:nth-child(odd) { border-right: 1px solid var(--line); }
  .hero-tile-stats > div:nth-child(even) { border-right: 0; }
  .hero-tile-stats > div:nth-child(n+3) { border-bottom: 0; }
  .hero-tile-stats b { font-size: 28px; }
  .hero-scroll { display: none; }
  .programs-grid { grid-template-columns: 1fr; }
  .program, .program-lg { grid-column: span 1; }
  .trainers-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hyrox-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; gap: 8px; }
  .stations-grid { grid-template-columns: repeat(2, 1fr); }
  .stations-grid > div { padding: 18px 16px; font-size: 18px; }
  .stations-grid b { font-size: 26px; }
  .community-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .cm-large { grid-column: span 2; grid-row: span 2; }
  .cm-1, .cm-2, .cm-3, .cm-4 { grid-column: span 1; grid-row: span 1; }
  .cm-5, .cm-6 { grid-column: span 2; grid-row: span 1; }
  .testimonials { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .visit-card { padding: 28px 24px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .trainers-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .visit-actions .btn { width: 100%; }
}

/* ============ MOTION GUARD ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ===================================================================
   PREMIUM FX LAYER  —  grain · cursor · progress · spotlight · reveal
   All decorative, fail-open, disabled under prefers-reduced-motion.
   =================================================================== */

/* Film grain — sits above everything at very low opacity (overlay blend
   makes it invisible on text but adds tooth to images + dark fields). */
.fx-grain {
  position: fixed; inset: 0; z-index: 9990;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  will-change: background-position;
}

/* Scroll progress bar */
.scroll-prog {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--red), #ff4d5a);
  z-index: 10000;
  pointer-events: none;
  box-shadow: 0 0 12px var(--red-glow);
  transition: width 0.1s linear;
}

/* Custom cursor (only enabled by JS on fine-pointer desktops) */
.fx-cursor-dot,
.fx-cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 10001;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.fx-cursor-dot {
  width: 6px; height: 6px; background: var(--red);
}
.fx-cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(255,255,255,0.5);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out),
              border-color 0.25s, background 0.25s, opacity 0.3s ease;
}
body.has-cursor { cursor: none; }
body.has-cursor a,
body.has-cursor button,
body.has-cursor [role="button"],
body.has-cursor input,
body.has-cursor textarea,
body.has-cursor select,
body.has-cursor summary { cursor: none; }
.fx-cursor-ring.is-hover {
  width: 64px; height: 64px;
  border-color: var(--red);
  background: rgba(225,24,39,0.08);
}
.fx-cursor-ring.is-down { width: 30px; height: 30px; }

/* Spotlight-follow on cards (21st.dev style) — a soft highlight tracks the
   cursor across the card surface. --mx/--my set per-card by JS. */
.trainer, .program, .plan, .contact-card,
.track-card, .eq-card, .testimonial {
  position: relative;
}
.spotlight::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 0%),
    rgba(225,24,39,0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
  z-index: 2;
}
.spotlight.is-active::before { opacity: 1; }
/* keep program hover-fill above the spotlight so red sweep still reads */
.program::after { z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .fx-grain { display: none; }
  .scroll-prog { display: none; }
  .fx-cursor-dot, .fx-cursor-ring { display: none; }
  body.has-cursor, body.has-cursor * { cursor: auto !important; }
  .spotlight::before { display: none; }
}

/* Touch / coarse pointer — never hide the cursor or show ring */
@media (pointer: coarse) {
  .fx-cursor-dot, .fx-cursor-ring { display: none; }
  body.has-cursor, body.has-cursor * { cursor: auto !important; }
}
