*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
:root {
  --black: #FAF8F6;
  --charcoal: #FFFFFF;
  --steel: #F3EDE6;
  --red: #E11D2A;
  --red-light: #FF4757;
  --red-dim: #9E0F1C;
  --white: #141414;
  --muted: #6B6862;
  --border: rgba(225,29,42,0.15);
  
  /* Tokens for dark background containers */
  --on-dark: #FFFFFF;
  --on-dark-muted: rgba(255,255,255,0.72);
  --on-dark-faint: rgba(255,255,255,0.45);
}
 
html { scroll-behavior: smooth; }
 
body {
  font-family: 'Inter', sans-serif;
  font-size: 16.5px;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}
 

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;width:100%; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 5%;
  background: rgba(250,248,246,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.35s ease, box-shadow 0.35s ease;
}
 
nav.nav-scrolled {
  padding: 0.75rem 5%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  background: rgba(250,248,246,0.98);
}
 
.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--white);
  text-decoration: none;
}
 
.logo span { color: var(--red); }

/* Inline flexing arm SVG — replaces 't' in Fitness branding */
.logo-arm {
  display: inline-block;
  width: 0.72em;
  height: 0.85em;
  vertical-align: -0.08em;
  margin: 0 0.01em;
  flex-shrink: 0;
}
 
nav ul { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
nav ul a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
nav ul a:hover, nav ul a.nav-active { color: var(--red); }
 
.nav-cta {
  background: var(--red);
  color: #000 !important;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red-light) !important; color: #000 !important; }
 
/* ══ HERO SECTION — OFF-WHITE THEME ═════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0 5%;
  padding-top: 100px;
  background: #F5F2EE;          /* warm off-white — matches "Why Us" section */
}
 
.hero-bg {
  position: absolute; inset: 0;
  /* Subtle warm radial — richer on the right where 3D sits, fading left */
  background: radial-gradient(ellipse at 72% 55%, #ecddd5 0%, #F5F2EE 65%);
}
 
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(225,29,42,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225,29,42,0.055) 1px, transparent 1px);
  background-size: 60px 60px;
}
 
.hero-split {
  width: 100%;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* Give more space to text */
  align-items: center;
  gap: 3rem;
}
 
.hero-content {
  max-width: 760px;
}
 
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
}
 
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--red);
}
 
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4.5rem, 8.5vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: 2px;
  color: #141414;               /* near-black on off-white */
  margin-bottom: 1.5rem;
}
 
.hero-red {
  color: #E11D2A;
  text-shadow: none;            /* no glow needed on light bg */
}
 
.hero-sub {
  font-size: 1.05rem;
  font-weight: 400;
  color: #5a5650;               /* warm mid-grey */
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.25rem;
}
 
/* ══ THREE.JS DUMBBELL CANVAS ══════════════════════════ */
#dumbbellCanvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 4;
  pointer-events: none; /* let mouse events pass through to the wrap */
  display: block;
}
 
/* Stage wrap needs to be the relative anchor */
.hero-stage-wrap {
  position: relative !important;
}
 
/* Re-send pointer events TO the wrap (canvas is pass-through) */
#heroStageWrap {
  pointer-events: all;
  cursor: grab;
}
#heroStageWrap:active { cursor: grabbing; }
 
/* Neon rings go behind canvas */
.ring-glow-floor { z-index: 1; }
 
/* Chips & orbs go above canvas */
.stat-chip  { z-index: 10; }
.orb-badge  { z-index: 10; }
 
/* ══ HERO CTA BUTTONS (light bg version) ══════════════ */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
 
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2.2rem;
  background: var(--red);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid var(--red);
  position: relative;
  overflow: hidden;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(225,29,42,0.28);
}
.hero-btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.16) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.45s ease;
}
.hero-btn-primary:hover::after { transform: translateX(100%); }
.hero-btn-primary:hover {
  background: var(--red-light);
  border-color: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(225,29,42,0.4);
}
 
/* Ghost button — dark outline on light background */
.hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2.2rem;
  background: transparent;
  color: #141414;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid rgba(20,20,20,0.25);
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}
.hero-btn-ghost:hover {
  border-color: #141414;
  background: rgba(20,20,20,0.06);
  transform: translateY(-2px);
}
 
/* ══ DUMBBELL IMAGE — 3D mouse-tracked ════════════════ */
.dumbbell-img {
  width: 340px;
  max-width: 100%;
  height: auto;
  display: block;
  /* remove checkerboard background — the PNG has transparency */
  mix-blend-mode: normal;
  filter: drop-shadow(0 20px 40px rgba(225,29,42,0.35)) drop-shadow(0 4px 12px rgba(0,0,0,0.7));
  will-change: transform;
  pointer-events: none;
  user-select: none;
}
 
/* Container holds the tilt transform */
.dumbbell-container {
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform;
  /* Default slow auto-rotation — overridden by JS on mouse move */
  animation: dumbSpin 12s linear infinite;
}
 
@keyframes dumbSpin {
  0%   { transform: rotateY(-15deg) rotateX(5deg); }
  50%  { transform: rotateY(15deg)  rotateX(-5deg); }
  100% { transform: rotateY(-15deg) rotateX(5deg); }
}
 
/* Pause animation when JS takes over via inline style */
.dumbbell-container.js-active {
  animation: none;
}
 
/* --- RIGHT: STAGE & PEDESTAL VISUAL --- */
.hero-stage-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Hero photo placeholder — swap for a real trainer/member photo.
   No border/box — the photo bleeds directly into the hero background. */
.hero-photo-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 682 / 643;
  border-radius: 20px;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  overflow: hidden;
}

.hero-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.hero-photo-placeholder-inner { font-size: 6rem; }

.hero-photo-placeholder-caption {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 0 2rem;
}
 
.hero-pedestal-stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
 
/* Floor Neon Rings */
.ring-glow-floor {
  position: absolute;
  left: 50%;
  bottom: 60px;
  width: 380px;
  height: 140px;

  transform: translateX(-50%) rotateX(72deg);

  display: flex;
  align-items: center;
  justify-content: center;
}
 
.neon-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(225,29,42,0.95);

  box-shadow:
    0 0 20px rgba(225,29,42,0.9),
    0 0 40px rgba(225,29,42,0.8),
    0 0 80px rgba(225,29,42,0.6),
    0 0 120px rgba(225,29,42,0.4);

  filter: blur(0.5px);
}
 
.ring-outer { width: 380px; height: 380px; opacity: 0.5; animation: ringPulse 3s ease-in-out infinite; }
.ring-mid   { width: 280px; height: 280px; opacity: 0.75; animation: ringPulse 3s ease-in-out infinite 0.5s; }
.ring-inner { width: 180px; height: 180px; opacity: 0.1; animation: ringPulse 3s ease-in-out infinite 1s; }
 
@keyframes ringPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
    box-shadow:
      0 0 20px rgba(225,29,42,0.8),
      0 0 40px rgba(225,29,42,0.6),
      0 0 80px rgba(225,29,42,0.4);
  }

  50% {
    transform: scale(1.06);
    opacity: 1;
    box-shadow:
      0 0 35px rgba(225,29,42,1),
      0 0 70px rgba(225,29,42,0.9),
      0 0 120px rgba(225,29,42,0.7),
      0 0 180px rgba(225,29,42,0.5);
  }
}
 
/* --- CENTRAL EQUIPMENT (image-based) --- */
.equipment-center {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 900px;
  cursor: grab;
}
.equipment-center:active { cursor: grabbing; }
 
/* Floor shadow */
.kb-shadow {
  width: 260px;
  height: 22px;
  background: rgba(0,0,0,0.65);
  border-radius: 50%;
  filter: blur(10px);
  margin-top: 25px;
  transition: transform 0.25s ease-out, opacity 0.25s ease;
}
 
/* spin360 removed — JS mouse-tracking handles 3D rotation */
 
/* Floating Glassmorphic Stat Badges — LIGHT BG VERSION */
.stat-chip {
  position: absolute;
  z-index: 10;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(225, 29, 42, 0.2);
  border-radius: 10px;
  padding: 0.65rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 0 0 1px rgba(255,255,255,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 
.stat-chip:hover {
  transform: scale(1.08) !important;
  border-color: var(--red);
  box-shadow: 0 8px 28px rgba(225, 29, 42, 0.18), 0 0 0 1px rgba(255,255,255,0.8);
}
 
.chip-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: #E11D2A;
  line-height: 1;
}
 
.chip-lbl {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #5a5650;
  margin-top: 2px;
}
 
.chip-top-left   { top: 60px;    left: 10px;   animation: chipFloat 5s ease-in-out infinite; }
.chip-top-right  { top: 90px;    right: 10px;  animation: chipFloat 5s ease-in-out infinite 1.5s; }
.chip-bottom-left{ bottom: 80px; left: 20px;   animation: chipFloat 5s ease-in-out infinite 3s; }
 
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
 
/* Orbital Floating Icons — LIGHT BG VERSION */
.orb-badge {
  position: absolute;
  z-index: 10;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(225, 29, 42, 0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  animation: orbPulse 4s ease-in-out infinite;
}
 
.orb-1 { top: 160px;    left: 70px;    animation-delay: 0.2s; }
.orb-2 { top: 50px;     right: 120px;  animation-delay: 1.2s; }
.orb-3 { bottom: 120px; right: 90px;   animation-delay: 2.2s; }
.orb-4 { bottom: 50px;  left: 140px;   animation-delay: 3.2s; }
 
@keyframes orbPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(0,0,0,0.1); }
  50%       { transform: scale(1.15); box-shadow: 0 6px 20px rgba(225,29,42,0.2); }
}
 
/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-eyebrow { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stage-wrap { margin-top: 2.5rem; }
  .hero-photo-placeholder { max-width: 480px; margin: 0 auto; border-radius: 16px; }
}

/* STATS TICKER — light hero version */
.stats-bar {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(20,20,20,0.1);
  margin-top: 4rem;
}
 
.stat-item {
  padding: 2rem 2.5rem;
  border-right: 1px solid rgba(20,20,20,0.1);
}
.stat-item:last-child { border-right: none; }
 
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.6rem;
  color: var(--red);            /* red on light bg — much stronger than red-light */
  line-height: 1;
  letter-spacing: 1px;
}
 
.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8a8480;               /* warm mid-grey on off-white */
  margin-top: 0.4rem;
}
 
/* SECTION COMMONS */
section { padding: 7rem 5%; }
 
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--red);
  display: block;
}
 
h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: 2px;
  line-height: 1;
  color: var(--white);
}
 
/* ABOUT THE GYM */
.about-gym { background: var(--black); }
 
.about-top {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
 
.about-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 1px;
  color: var(--white);
  margin-top: 0.5rem;
}
 
.about-trust {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
}
 
.about-para {
  margin-top: 1.1rem;
  font-size: 1.03rem;
  color: var(--muted);
  line-height: 1.8;
}
 
.about-learn-more { display: none !important; }
 
.about-image {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--steel) 0%, #fff 100%);
  border: 2px solid var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  overflow: hidden;
}
 
.about-image-inner { font-size: 4.5rem; }
 
.about-image-caption {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 0 1.5rem;
}
 
@media (max-width: 900px) {
  .about-top { grid-template-columns: 1fr; }
  .about-image { order: -1; max-width: 420px; margin: 0 auto; width: 100%; }
}
 
/* OUR JOURNEY */
.journey { background: var(--steel); }
 
.h-timeline {
  position: relative;
  max-width: 1100px;
  margin: 4.5rem auto 0;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}
 
.h-timeline::before {
  content: '';
  position: absolute;
  top: 54px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  opacity: 0.25;
}
 
.h-timeline-item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.75rem;
}
 
.h-timeline-year {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--red);
}
 
.h-timeline-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px var(--steel);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
 
.h-timeline-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  max-width: 170px;
}
 
@media (max-width: 800px) {
  .h-timeline { flex-direction: column; gap: 2rem; margin-top: 3rem; }
  .h-timeline::before { display: none; }
  .h-timeline-item { flex-direction: row; align-items: center; justify-content: flex-start; gap: 1.25rem; text-align: left; padding: 0; }
  .h-timeline-year { height: auto; margin-bottom: 0; width: 62px; flex-shrink: 0; justify-content: flex-start; }
  .h-timeline-dot { margin-bottom: 0; flex-shrink: 0; }
  .h-timeline-title { max-width: none; }
}
 
.journey-cards {
  max-width: 1200px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
 
.journey-card {
  background: var(--charcoal);
  border: 1px solid rgba(225,29,42,0.1);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 14px 30px rgba(20,20,20,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.journey-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(225,29,42,0.15); }
 
.jc-year {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 1px;
  color: #fff;
  background: var(--red);
  padding: 0.3rem 0.9rem;
  border-radius: 30px;
  margin-bottom: 0.85rem;
}
 
.journey-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 0.4rem;
}
 
.journey-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}
 
@media (max-width: 900px) {
  .journey-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .journey-cards { grid-template-columns: 1fr; }
}
 
/* WHY US */
.why-us {
  background: #FAF8F6;
  position: relative;
  z-index: 1;
}
 
.why-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}
 
.why-desc {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
  align-self: end;
}
 
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
 
.why-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: background-color 0.35s ease, border-color 0.35s ease, 
              transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}
 
.why-card-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: var(--red);
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  transition: color 0.35s ease;
}
 
.why-icon {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(225, 29, 42, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  background: rgba(225, 29, 42, 0.04);
  transition: background-color 0.35s ease, border-color 0.35s ease;
}
 
.why-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #141414;
  margin-bottom: 0.75rem;
  transition: color 0.35s ease;
}
 
.why-card p {
  font-size: 0.95rem;
  color: #6B6862;
  line-height: 1.65;
  transition: color 0.35s ease;
}
 
@media (hover: hover) {
  .why-card:hover {
    background: var(--red) !important;
    border-color: var(--red) !important;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(225, 29, 42, 0.35);
  }
 
  .why-card:hover .why-card-num,
  .why-card:hover h3 { color: #FFFFFF !important; }
 
  .why-card:hover p { color: rgba(255, 255, 255, 0.9) !important; }
 
  .why-card:hover .why-icon {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
  }
}
 
.why-card.active {
  background: var(--red) !important;
  border-color: var(--red) !important;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(225, 29, 42, 0.35);
}
 
.why-card.active .why-card-num,
.why-card.active h3 { color: #FFFFFF !important; }
.why-card.active p { color: rgba(255, 255, 255, 0.9) !important; }
.why-card.active .why-icon {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}
 
@media (max-width: 900px) {
  .why-header { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
  .why-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .why-card { padding: 1.75rem 1.5rem; }
  .why-card:active { transform: scale(0.98); }
}
 
/* ══ PROGRAMS SECTION (PC 3D ARCH + MOBILE SLIDER) ════════ */
.programs {
  background: var(--black);
  position: relative;
  overflow: hidden;
  padding: 6rem 5%;
}
 
.programs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}
 
/* --- PC Stage --- */
.poster-stage {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}
 
.poster-track {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
}
 
.poster-track:active { cursor: grabbing; }
 
/* Individual Card Structure */
.poster-card {
  position: absolute;
  width: 310px;
  height: 460px;
  border-radius: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease, filter 0.5s ease;
  will-change: transform, opacity, filter;
  opacity: 0;
  pointer-events: none;
}
 
.poster-inner {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
 
/* Top Poster Image Frame */
.poster-visual {
  height: 370px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
 
/* Cover Gradients */
.pv-weight    { background: linear-gradient(145deg, #2b1717 0%, #4f1a1d 100%); }
.pv-personal  { background: linear-gradient(145deg, #121c2b 0%, #1e334a 100%); }
.pv-yoga      { background: linear-gradient(145deg, #161630 0%, #282854 100%); }
.pv-cardio    { background: linear-gradient(145deg, #102b1c 0%, #1c5230 100%); }
.pv-strength  { background: linear-gradient(145deg, #302113 0%, #59391d 100%); }
.pv-muscle    { background: linear-gradient(145deg, #301712 0%, #57251a 100%); }
.pv-nutrition { background: linear-gradient(145deg, #122b12 0%, #205220 100%); }
.pv-celebrity { background: linear-gradient(145deg, #301224 0%, #591b3e 100%); }
 
.poster-icon {
  font-size: 4.5rem;
  transition: transform 0.35s ease;
}
 
.poster-badge {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--red);
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 5;
  box-shadow: 0 4px 14px rgba(225, 29, 42, 0.4);
}
 
/* Bottom Dark Metadata Bar */
.poster-meta {
  height: 90px;
  width: 100%;
  padding: 0 1.25rem;
  background: #181818;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
 
.poster-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: var(--red);
  line-height: 1;
}
 
.poster-meta h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1.5px;
  color: #FFFFFF;
  margin: 0;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
 
/* ── PC ARCH POSITIONS ── */
.poster-card.pos-left {
  opacity: 0.88;
  transform: translateX(-190px) translateZ(-80px) rotate(-6deg) scale(0.86);
  pointer-events: auto;
  z-index: 2;
  filter: brightness(0.85);
}
 
.poster-card.pos-center {
  opacity: 1;
  transform: translateX(0) translateZ(60px) rotate(0deg) scale(1.06);
  pointer-events: auto;
  z-index: 10;
}
 
.poster-card.pos-right {
  opacity: 0.88;
  transform: translateX(190px) translateZ(-80px) rotate(6deg) scale(0.86);
  pointer-events: auto;
  z-index: 2;
  filter: brightness(0.85);
}
 
/* Hover Lift Effect */
.poster-card.pos-center:hover .poster-inner {
  transform: translateY(-14px);
  border-color: var(--red);
  box-shadow: 0 35px 70px rgba(225, 29, 42, 0.3);
}
 
.poster-card:hover .poster-icon { transform: scale(1.15); }
 
/* Arrow Navigation Buttons */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(225, 29, 42, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(225, 29, 42, 0.35);
  color: var(--red);
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.25s ease;
}
 
.slider-arrow:hover {
  background: var(--red);
  color: #FFFFFF;
  border-color: var(--red);
  box-shadow: 0 8px 20px rgba(225, 29, 42, 0.4);
}
 
.arrow-left { left: 20px; }
.arrow-right { right: 20px; }
 
 
/* =====================================================
   PROGRAMS MOBILE ONLY
   ===================================================== */

.programs-mobile {
  display: none;
}


@media (max-width: 768px) {

  .programs-mobile {
    display: block;
    width: 100%;
    padding: 35px 18px 45px;
    background: #f8f7f5;
    overflow: hidden;
  }


  /* HEADER */

  .programs-mobile-header {
    margin-bottom: 25px;
  }

  .programs-mobile-label {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #e51b2a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;

    margin-bottom: 12px;
  }

  .programs-mobile-label span {
    width: 20px;
    height: 2px;
    background: #e51b2a;
  }

  .programs-mobile-header h2 {
    margin: 0;

    font-size: 30px;
    line-height: 1;

    font-weight: 900;
    letter-spacing: -1px;

    color: #171717;
  }


  /* SLIDER */

  .programs-mobile-slider {
    position: relative;
    width: 100%;
    min-height: 0;

    touch-action: pan-y;
  }


  /* CARD */

  .program-mobile-card {
    position: relative;
    width: 100%;

    background: #1c1c1c;
    border-radius: 14px;
    overflow: hidden;

    border: 1px solid rgba(229, 27, 42, .5);
    box-shadow: 0 15px 35px rgba(0,0,0,.18);

    display: none;
}

.program-mobile-card.active {
    display: block;
}


  /* IMAGE */

  /* =========================================
   PROGRAM MOBILE IMAGE - FIXED
   ========================================= */

.program-mobile-image {
    position: relative;
    width: 100%;
    
    /* Match the original program artwork ratio */
    aspect-ratio: 16 / 9;
    
    overflow: hidden;
    background: #111;
}

.program-mobile-image img {
    width: 100%;
    height: 100%;

    display: block;

    /* DON'T CROP THE PROGRAM ARTWORK */
    object-fit: contain;
    object-position: center;

    background: #111;

    transform: none;
    transition: opacity .4s ease;
}

.program-mobile-card.active
.program-mobile-image img {
    transform: none;
}


  /* IMAGE NUMBER */

  .program-mobile-image span {
    position: absolute;

    right: 14px;
    bottom: 10px;

    font-size: 55px;
    font-weight: 900;

    color: rgba(255,255,255,.12);

    line-height: 1;
  }


  /* TAG */

  .program-mobile-tag {
    position: absolute;

    top: 14px;
    left: 14px;

    z-index: 5;

    padding: 7px 13px;

    background: #ed1c2e;

    color: white;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.5px;

    border-radius: 3px;
  }

  .program-mobile-tag.blue {
    background: #2864bd;
  }

  .program-mobile-tag.green {
    background: #168247;
  }

  .program-mobile-tag.gold {
    background: #b38a25;
  }


  /* CONTENT */

  .program-mobile-content {
    padding: 20px 20px 22px;
  }

  .program-mobile-content h3 {
    margin: 0 0 10px;

    color: white;

    font-size: 22px;
    font-weight: 800;

    text-transform: uppercase;
  }

  .program-mobile-content p {
    margin: 0;

    color: #bdbdbd;

    font-size: 14px;
    line-height: 1.55;
  }


  /* CONTROLS */

  .programs-mobile-controls {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    margin-top: 25px;
  }


  .programs-mobile-controls button {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    border: 1px solid rgba(229,27,42,.3);

    background: white;

    color: #e51b2a;

    font-size: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: .2s ease;
  }

  .programs-mobile-controls button:active {
    transform: scale(.9);
  }


  /* DOTS */

  .programs-mobile-dots {
    display: flex;

    align-items: center;

    gap: 6px;
  }

  .programs-mobile-dots span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #e5b0b4;

    transition:
      width .25s ease,
      background .25s ease;
  }

  .programs-mobile-dots span.active {
    width: 20px;

    border-radius: 10px;

    background: #e51b2a;
  }


  /* SMALL PHONES */

  @media (max-width: 380px) {

    .programs-mobile {
      padding-left: 14px;
      padding-right: 14px;
    }

    .programs-mobile-header h2 {
      font-size: 27px;
    }

    .programs-mobile-slider {
      height: 455px;
    }

    .program-mobile-image {
      height: 230px;
    }

    .program-mobile-content h3 {
      font-size: 20px;
    }

    .program-mobile-content p {
      font-size: 13px;
    }

  }

}
 
/* ABOUT THE TRAINER */
.about-trainer {
  background: var(--charcoal);
}

.trainer-profile {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 3rem;
  background: #fff;
  border: 1px solid rgba(225,29,42,0.1);
  border-radius: 20px;
  padding: 3rem;
  align-items: center;
  box-shadow: 0 20px 50px rgba(20,20,20,0.06);
  box-sizing: border-box;
}

/* OWNER PHOTO */
.trainer-profile-avatar {
  width: 330px;
  height: 480px;
  overflow: hidden;
  border-radius: 16px;
  background: #111;
  border: 2px solid var(--red);
  box-sizing: border-box;
}

.trainer-profile-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
}


/* TRAINER CONTENT */
.trainer-profile-body h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 1.5px;
  color: #111;
  margin-bottom: 0.25rem;
}

.trainer-profile-role {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
}

.trainer-profile-body p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

.trainer-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.trainer-profile-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 5px 12px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}

.trainer-profile-tags span:hover {
  background: var(--red);
  color: #fff;
}


/* QUOTE */
.trainer-quote-card {
  max-width: 1200px;
  margin: 2rem auto 0;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dim) 100%);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  text-align: center;
  box-shadow: 0 20px 44px rgba(225,29,42,0.25);
}

.trainer-quote-card p {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: 0.5px;
  line-height: 1.3;
  color: #fff;
}

.trainer-quote-card span {
  display: block;
  margin-top: 0.85rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}


/* TABLET / MOBILE */
@media (max-width: 600px) {
  /* Increase photo height & change ratio to portrait on mobile */
  .trainer-profile-avatar {
    height: 380px !important;  /* Increases vertical height */
    aspect-ratio: 4 / 5;       /* Gives it a proper portrait frame */
    width: 100%;
  }

  .trainer-profile-avatar img {
    object-fit: cover;
    object-position: top center; /* Keeps face centered in view */
  }

  /* Reduce spacing below text */
  .trainer-profile-body p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
  }
}

/* ============================================================
   ACHIEVEMENTS SECTION
   ============================================================ */
.achievements {
  background: var(--steel);
  position: relative;
  overflow: hidden;
}

.achievements-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
  margin: 1rem auto 0;
  line-height: 1.7;
}

.achievements-grid {
  max-width: 1200px;
  margin: 3.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.achievement-card {
  background: var(--charcoal);
  border: 1px solid rgba(225, 29, 42, 0.12);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 35px rgba(20, 20, 20, 0.05);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.achievement-card:hover {
  transform: translateY(-8px);
  border-color: var(--red);
  box-shadow: 0 20px 45px rgba(225, 29, 42, 0.18);
}

.achievement-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  background: #111;
  overflow: hidden;
}

.achievement-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.achievement-card:hover .achievement-media img {
  transform: scale(1.05);
}

.achievement-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(225, 29, 42, 0.4);
}

.achievement-body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.achievement-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.35rem;
}

.achievement-body h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.achievement-body p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Responsiveness */
@media (max-width: 992px) {
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .achievements-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .achievements-sub {
    font-size: 0.95rem;
  }

  .achievement-body h3 {
    font-size: 1.35rem;
  }
}
 
/* OPERATING HOURS */
.hours-section {
  position: relative;
  overflow: hidden;
  background: var(--black);
  text-align: center;
}
.hours-section::before,
.hours-section::after {
  content: '';
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225,29,42,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hours-section::before { top: -220px; left: -140px; }
.hours-section::after { bottom: -220px; right: -140px; }
 
.hours-cards {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 3.5rem auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
 
.hours-card {
  flex: 1 1 320px;
  max-width: 380px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(225,29,42,0.22);
  border-radius: 20px;
  padding: 2.75rem 2rem;
  box-shadow: 0 20px 44px rgba(20,20,20,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
.hours-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(225,29,42,0.5);
  background: rgba(255,255,255,0.65);
  box-shadow: 0 30px 60px rgba(225,29,42,0.25);
}
 
.hours-card-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  display: inline-block;
  animation: clockPulse 2.4s ease-in-out infinite;
}
@keyframes clockPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(-4deg); }
}
 
.hours-card-day {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.hours-card-time { font-size: 1rem; font-weight: 600; color: var(--red); letter-spacing: 0.3px; }
.hours-card-sep {
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0.4rem 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}
 
.hours-status {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 1.1rem;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(20,20,20,0.05);
  color: var(--muted);
  transition: background 0.3s ease, color 0.3s ease;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
 
.hours-status.is-open { background: rgba(34,197,94,0.14); color: #15803d; }
.hours-status.is-open .status-dot { background: #22c55e; animation: statusPulse 1.6s infinite; }
 
.hours-status.is-closed { background: rgba(225,29,42,0.1); color: var(--red-dim); }
.hours-status.is-closed .status-dot { background: var(--red); }
 
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
 
/* TESTIMONIALS — 3D FLOATING CAROUSEL */
.testimonials { background: var(--charcoal); overflow: hidden; }

.testi-carousel { margin-top: 3.5rem; }

/* Stage: establishes the 3D perspective context for the slides */
.testi-stage {
  position: relative;
  max-width: 1100px;
  height: 520px;
  margin: 0 auto;
  perspective: 1400px;
}

/* Slide: controls each card's position in the carousel (center / left / right / hidden).
   This is the only layer that changes on rotation, so it owns the slow transition. */
.testi-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(560px, 86vw);
  opacity: 0;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease;
}
/* Fallback while JS loads (or if it fails): show only the first card, centered */
.testi-slide:first-of-type {
  opacity: 1;
  z-index: 3;
  transform: translate(-50%, -50%) scale(1) rotateY(0deg);
}

.testi-slide.is-active {
  transform: translate(-50%, -50%) scale(1) rotateY(0deg);
  opacity: 1;
  z-index: 3;
}
.testi-slide.is-left {
  transform: translate(-50%, -50%) translateX(-56%) scale(0.9) rotateY(15deg);
  opacity: 0.5;
  z-index: 2;
  pointer-events: none;
}
.testi-slide.is-right {
  transform: translate(-50%, -50%) translateX(56%) scale(0.9) rotateY(-15deg);
  opacity: 0.5;
  z-index: 2;
  pointer-events: none;
}
.testi-slide.is-hidden-left {
  transform: translate(-50%, -50%) translateX(-100%) scale(0.78) rotateY(22deg);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
.testi-slide.is-hidden-right {
  transform: translate(-50%, -50%) translateX(100%) scale(0.78) rotateY(-22deg);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

/* Tilt: cursor-driven rotateX/rotateY, independent of the slide's own transition
   so it can respond instantly instead of inheriting the 0.7s slide-change easing. */
.testi-tilt {
  transform-style: preserve-3d;
  transition: transform 0.25s ease;
  transform: rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg));
}

/* Float: continuous gentle idle motion, paused on hover so it doesn't fight the lift */
.testi-card-3d {
  animation: testiFloat 4.5s ease-in-out infinite;
}
@keyframes testiFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Card: the visible surface — background, shadow, hover lift/scale/glow */
.testi-card-3d {
  background: var(--steel);
  border: 1px solid rgba(225,29,42,0.08);
  border-radius: 20px;
  padding: 1.75rem 1.75rem 1.5rem;
  position: relative;
  box-shadow: 0 30px 60px rgba(20,20,20,0.18);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.testi-slide.is-active:hover .testi-card-3d {
  animation-play-state: paused;
  transform: translateY(-8px) scale(1.02);
  border-color: var(--red);
  box-shadow: 0 0 0 1px rgba(225,29,42,0.3), 0 34px 64px rgba(225,29,42,0.24);
}

.testi-quote {
  font-size: 2.4rem;
  color: var(--red);
  font-family: 'Bebas Neue', sans-serif;
  line-height: 0.7;
  margin-bottom: 0.75rem;
  opacity: 0.5;
}

.testi-text {
  font-size: 0.97rem;
  color: var(--white);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-style: italic;
  font-weight: 300;
  max-height: 180px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(225,29,42,0.3) transparent;
  padding-right: 4px;
}
.testi-text::-webkit-scrollbar { width: 3px; }
.testi-text::-webkit-scrollbar-track { background: transparent; }
.testi-text::-webkit-scrollbar-thumb { background: rgba(225,29,42,0.35); border-radius: 2px; }

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #000;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}
.testi-slide.is-active:hover .testi-avatar { transform: scale(1.05); }

.testi-name { font-size: 0.95rem; font-weight: 600; color: var(--white); }
.testi-meta { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }

.stars { color: var(--red); font-size: 0.92rem; letter-spacing: 2px; margin-bottom: 1rem; }
.stars .star { display: inline-block; }

/* Controls: prev/next + dots */
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.testi-nav {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(225,29,42,0.3);
  background: var(--charcoal);
  color: var(--red);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.testi-nav:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-2px); }

.testi-dots { display: flex; align-items: center; gap: 0.6rem; }
.testi-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(225,29,42,0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}
.testi-dot.active { background: var(--red); transform: scale(1.3); }
.testi-dot:hover { background: var(--red-light); }

@media (max-width: 700px) {
  .testi-stage { height: 600px; }
  .testi-slide.is-left,
  .testi-slide.is-right { opacity: 0; pointer-events: none; }
  .testi-slide.is-active { width: min(420px, 90vw); }
  .testi-text { max-height: 220px; font-size: 0.93rem; }
  .testi-card-3d { padding: 1.5rem 1.5rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .testi-card-3d { animation: none; }
  .testi-tilt { transition: none; }
  .testi-slide { transition: opacity 0.3s ease; }
}
 
/* CTA BANNER */
.cta-banner {
  background: var(--red);
  padding: 5rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
 
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: bannerSweep 3.5s ease-in-out infinite;
}
 
@keyframes bannerSweep {
  0% { transform: translateX(-100%); }
  60% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
 
.cta-banner h2 { color: #000; font-size: clamp(2.5rem, 5vw, 3.8rem); max-width: 550px; }
 
.btn-black {
  background: #000;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 1.1rem 2.5rem;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
  position: relative;
  z-index: 2;
}
.btn-black:hover { background: #1a1a1a; }
 
/* CONTACT */
.contact { background: var(--black); }
 
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  margin-top: 3.5rem;
}
 
.contact-info h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 1.5rem;
}
 
.contact-detail { display: flex; gap: 1rem; margin-bottom: 1.25rem; align-items: flex-start; }
.contact-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--red);
  flex-shrink: 0;
}
 
.contact-detail-text { font-size: 0.98rem; color: var(--muted); line-height: 1.6; }
.contact-detail-text strong { color: var(--white); font-size: 0.82rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; display: block; margin-bottom: 2px; }
.contact-detail-text a { color: inherit; text-decoration: none; }
 
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1.75rem;
  padding: 1.5rem;
  background: var(--steel);
  border: 1px solid var(--border);
  border-radius: 4px;
}
 
.hours-item { font-size: 0.88rem; color: var(--muted); padding: 0.35rem 0; display: flex; justify-content: space-between; }
.hours-item span { color: var(--red); font-weight: 500; }
 
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
 
.form-group label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
 
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--steel);
  border: 1px solid rgba(225,29,42,0.15);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
 
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225,29,42,0.12);
}
 
.form-group select option { background: var(--charcoal); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
 
.btn-submit {
  background: var(--red);
  color: #000;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}
.btn-submit:hover { background: var(--red-light); }
 
#successMsg {
  display: none;
  color: var(--red-dim);
  font-size: 0.88rem;
  margin-top: 0.5rem;
}
 
/* Footer logo override — force white text on dark bg */
footer .logo { color: #ffffff; }
footer .logo span { color: var(--red); }

/* Inline flexing arm SVG — replaces 't' in Fitness branding */
.logo-arm {
  display: inline-block;
  width: 0.72em;
  height: 0.85em;
  vertical-align: -0.08em;
  margin: 0 0.01em;
  flex-shrink: 0;
}

/* FOOTER */
footer {
  background: #060606;
  padding: 4rem 5% 2rem;
  border-top: 1px solid var(--border);
}
 
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
 
.footer-brand p {
  font-size: 0.92rem;
  color: var(--on-dark-muted);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 280px;
}
 
.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
}
 
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul a {
  font-size: 0.92rem;
  color: var(--on-dark-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--on-dark); }
 
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  color: var(--on-dark-muted);
  flex-wrap: wrap;
  gap: 1rem;
}
 
.social-links { display: flex; gap: 1rem; }
.social-links a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--on-dark-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
}
.social-links a:hover { border-color: var(--red); color: var(--red-light); }
 
/* LOADER & PROGRESS */
#pageLoader {
  position: fixed; inset: 0; z-index: 9999;
  background: #0a0a0a;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2rem;
}
 
.loader-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  letter-spacing: 6px;
  display: flex; gap: 0;
}
.loader-logo .lw { color: #fff; }
.loader-logo .lr { color: var(--red); }
 
.loader-bar {
  width: min(320px, 80vw); height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px; overflow: hidden;
}
.loader-bar-fill {
  height: 100%; width: 0%;
  background: var(--red);
  transition: width 0.1s linear;
  border-radius: 2px;
}
.loader-count-row {
  display: flex; align-items: baseline; gap: 4px;
  font-family: 'Bebas Neue', sans-serif;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem; letter-spacing: 3px;
}
.loader-count { color: var(--red); font-size: 1.5rem; }
 
#readProgress {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  pointer-events: none;
}
 
/* MARQUEE */
.marquee-strip {
  overflow: hidden;
  background: var(--red);
  padding: 0.9rem 0;
  display: flex;
  white-space: nowrap;
  position: relative;
}
.marquee-track { display: inline-flex; align-items: center; gap: 0; will-change: transform; }
.marquee-item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 3px;
  color: #000;
  padding: 0 2.5rem;
  display: inline-flex; align-items: center; gap: 1rem;
}
.marquee-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(0,0,0,0.35);
  flex-shrink: 0;
}
 
/* HERO CANVAS & 3D Visual */
#heroCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
 
.hero-split {
  width: 100%;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}
 
.hero-3d-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
  position: relative;
}
 
.h3d-scene {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
 
.h3d-orbit { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.h3d-ring {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(225,29,42,0.3);
  box-shadow: 0 0 20px rgba(225,29,42,0.1);
  animation: orbit-spin-outer 12s linear infinite;
  transform-style: preserve-3d;
  transform: rotateX(72deg);
}
.h3d-ring-inner {
  width: 190px; height: 190px;
  border-color: rgba(225,29,42,0.5);
  animation: orbit-spin-inner 8s linear infinite reverse;
  transform: rotateX(58deg) rotateZ(45deg);
}
 
@keyframes orbit-spin-outer { to { transform: rotateX(72deg) rotateZ(360deg); } }
@keyframes orbit-spin-inner { to { transform: rotateX(58deg) rotateZ(calc(45deg + 360deg)); } }
 
.h3d-planet {
  position: absolute;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(15,15,15,0.9);
  border: 1.5px solid rgba(225,29,42,0.6);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 14px rgba(225,29,42,0.4);
}
 
.h3d-orbit-outer .h3d-planet-1 { animation: planet-orbit-1 12s linear infinite; }
.h3d-orbit-outer .h3d-planet-2 { animation: planet-orbit-2 12s linear infinite; }
.h3d-orbit-outer .h3d-planet-3 { animation: planet-orbit-3 12s linear infinite; }
.h3d-orbit-inner .h3d-planet-4 { animation: planet-orbit-4 8s linear infinite reverse; }
.h3d-orbit-inner .h3d-planet-5 { animation: planet-orbit-5 8s linear infinite reverse; }
 
@keyframes planet-orbit-1 { from { transform: rotate(0deg) translateX(150px) rotate(0deg); } to { transform: rotate(360deg) translateX(150px) rotate(-360deg); } }
@keyframes planet-orbit-2 { from { transform: rotate(120deg) translateX(150px) rotate(-120deg); } to { transform: rotate(480deg) translateX(150px) rotate(-480deg); } }
@keyframes planet-orbit-3 { from { transform: rotate(240deg) translateX(150px) rotate(-240deg); } to { transform: rotate(600deg) translateX(150px) rotate(-600deg); } }
@keyframes planet-orbit-4 { from { transform: rotate(0deg) translateX(95px) rotate(0deg); } to { transform: rotate(-360deg) translateX(95px) rotate(360deg); } }
@keyframes planet-orbit-5 { from { transform: rotate(180deg) translateX(95px) rotate(-180deg); } to { transform: rotate(-180deg) translateX(95px) rotate(180deg); } }
 
.h3d-core {
  position: relative;
  width: 90px; height: 90px;
  transform-style: preserve-3d;
  animation: cube-spin 10s linear infinite;
  z-index: 2;
}
@keyframes cube-spin {
  0% { transform: rotateX(0deg) rotateY(0deg); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}
 
.h3d-core-face {
  position: absolute;
  width: 90px; height: 90px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 2px;
  border: 1.5px solid rgba(225,29,42,0.5);
  background: rgba(20,20,20,0.85);
  color: #fff;
}
.h3d-face-front { transform: translateZ(45px); color: var(--red-light); }
.h3d-face-back { transform: rotateY(180deg) translateZ(45px); }
.h3d-face-left { transform: rotateY(-90deg) translateZ(45px); color: var(--red-light); }
.h3d-face-right { transform: rotateY(90deg) translateZ(45px); font-size: 1rem; }
.h3d-face-top { transform: rotateX(90deg) translateZ(45px); }
.h3d-face-bottom { transform: rotateX(-90deg) translateZ(45px); color: var(--red-light); }
 
.h3d-chip {
  position: absolute;
  background: rgba(14,14,14,0.92);
  border: 1px solid rgba(225,29,42,0.4);
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 4px 16px rgba(225,29,42,0.18);
  z-index: 3;
}
.h3d-chip-num { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; color: var(--red-light); line-height: 1; }
.h3d-chip-lbl { font-size: 0.6rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 2px; }
.h3d-chip-1 { top: 10px; left: -30px; animation: chip-float 4s ease-in-out infinite; }
.h3d-chip-2 { bottom: 30px; right: -20px; animation: chip-float 4s ease-in-out infinite 1.3s; }
.h3d-chip-3 { bottom: -10px; left: 20px; animation: chip-float 4s ease-in-out infinite 2.6s; }
@keyframes chip-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
 
/* GALLERY PAGE STYLES */
.gallery-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0 5%;
  padding-top: 140px;
  padding-bottom: 3rem;
}
.gallery-hero .hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg,#141414 0%,#1E1E1E 50%,#1A0D0E 100%); }
.gallery-hero .hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(225,29,42,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(225,29,42,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.gallery-hero .hero-glow {
  position: absolute; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(225,29,42,0.14) 0%, transparent 70%);
  left: 50%; top: 40%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.gallery-hero-content { position: relative; z-index: 1; max-width: 760px; }
.gallery-hero h1 { font-size: clamp(3.2rem, 7vw, 5.5rem); margin-bottom: 1.25rem; }
.gallery-hero-sub { font-size: 1.15rem; color: var(--on-dark-muted); line-height: 1.7; max-width: 560px; }
 
.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 3rem; }
.filter-btn {
  background: var(--steel);
  border: 1.5px solid rgba(225,29,42,0.15);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.active { background: var(--red); border-color: var(--red); color: #000; }
 
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1.25rem;
}
 
.gallery-tile {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  transition: transform 0.35s, box-shadow 0.35s;
  cursor: default;
}
.gallery-tile:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(0,0,0,0.15); }
.gallery-tile.tall { grid-row: span 2; }
.gallery-tile.wide { grid-column: span 2; }
 
.gt-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; opacity: 0.9; }
 
.gt-1  { background: linear-gradient(145deg, #1a1208 0%, #2d1f0a 100%); }
.gt-2  { background: linear-gradient(145deg, #0d1a12 0%, #0f2a1a 100%); }
.gt-3  { background: linear-gradient(145deg, #0d0d1a 0%, #151528 100%); }
.gt-4  { background: linear-gradient(145deg, #1a0d0d 0%, #2a1010 100%); }
.gt-5  { background: linear-gradient(145deg, #1a1208 0%, #241908 100%); }
.gt-6  { background: linear-gradient(145deg, #0a1a0a 0%, #102010 100%); }
.gt-7  { background: linear-gradient(145deg, #100d1a 0%, #08060f 100%); }
.gt-8  { background: linear-gradient(145deg, #1a0d08 0%, #0d0604 100%); }
.gt-9  { background: linear-gradient(145deg, #141414 0%, #0a0a0a 100%); }
.gt-10 { background: linear-gradient(145deg, #1a1010 0%, #100808 100%); }
.gt-11 { background: linear-gradient(145deg, #0e1a16 0%, #081210 100%); }
.gt-12 { background: linear-gradient(145deg, #1a1608 0%, #241f0a 100%); }
 
.gt-caption {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1rem 1.1rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
  transform: translateY(6px);
  transition: transform 0.3s ease;
}
.gallery-tile:hover .gt-caption { transform: translateY(0); }
 
.gt-caption .gt-cat {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 0.2rem;
}
.gt-caption .gt-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.15rem; letter-spacing: 1px; color: var(--on-dark); }
.gallery-note { margin-top: 2.5rem; font-size: 0.85rem; color: var(--muted); text-align: center; }
 
/* FLOATING TRIAL BADGE */
.trial-badge {
  position: fixed;
  bottom: 2rem; right: 2rem;
  background: var(--red);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 1.4rem;
  border-radius: 4px;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(225,29,42,0.3);
  display: flex; align-items: center; gap: 8px;
  transition: transform 0.2s, background 0.2s;
}
.trial-badge:hover { transform: translateY(-2px); background: var(--red-light); }
.trial-dot { width: 8px; height: 8px; border-radius: 50%; background: #000; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
 
/* HAMBURGER MOBILE MENU */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; z-index: 101; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 1px; transition: all 0.3s ease; }
 
@media (max-width: 900px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #FFFFFF;
    padding: 2rem 5%;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }
  nav ul.open { display: flex; }
  .hamburger { display: flex; }
  .nav-cta { display: inline-block; text-align: center; width: 100%; }
  h1 { font-size: 4rem; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-3d-wrap { display: none; }
  .stats-bar { grid-template-columns: repeat(3, 1fr); }
  .why-header { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .about-gym-grid { grid-template-columns: 1fr; }
  .about-gym-photo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 160px 140px; }
  .agp-main { grid-row: span 1; grid-column: span 2; }
  .trainer-profile { grid-template-columns: 1fr; }
  .trainer-profile-avatar { height: 220px; }
  .testi-card { min-width: calc(85% - 0.75rem); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
 
@media (max-width: 560px) {
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery-tile.wide, .gallery-tile.tall { grid-column: span 1; grid-row: span 1; }
}

/* ══════════════════════════════════════════════════════════
   DRAG CAROUSEL — DESKTOP PROGRAMS
   ══════════════════════════════════════════════════════════ */

/* Drag stage — desktop AND mobile (same arc engine) */
.prog-drag-stage {
  position: relative;
  overflow-x: clip;    /* clips cards at left/right edges only */
  overflow-y: visible; /* lets the arc translateY breathe vertically */
  cursor: none;
  user-select: none;
  -webkit-user-select: none;
  /* JS sets paddingTop/Bottom for arc room */
}
@supports not (overflow-x: clip) {
  /* Fallback for older browsers */
  .prog-drag-stage { overflow: hidden; }
}

/* Mobile poster stage — hidden on desktop */
.poster-stage-mobile {
  display: none;
}

/* Track — no overflow clip, cards transform individually for arc */
.prog-drag-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  will-change: transform;
  overflow: visible;
}

/* ── PROGRAM CARDS ── */
.prog-drag-card {
  width: 300px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #1a1a1a;
  border: 1px solid rgba(225,29,42,0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  /* JS drives transform for arc — only transition box-shadow/border */
  transition: box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.25s ease;
  will-change: transform, opacity;
  pointer-events: none;
}

.prog-drag-stage:not(.is-dragging) .prog-drag-card {
  pointer-events: auto;
}

/* Centre card glow — JS sets high z-index on centre */
.prog-drag-card:hover {
  border-color: rgba(225,29,42,0.45);
  box-shadow: 0 16px 48px rgba(0,0,0,0.32), 0 0 0 1px rgba(225,29,42,0.25);
}

/* Header tag */
.pdc-tag {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  margin: 1rem 1rem 0;
  border-radius: 3px;
}
.pdc-tag-blue  { background: #1e4fa3; }
.pdc-tag-green { background: #166534; }
.pdc-tag-gold  { background: #92400e; }

/* Cover image area */
.pdc-cover {
  position: relative;
  width: 100%;
  height: 185px;
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* Program card images */
.pdc-cover .program-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
}

/* Program number stays above image */
.pdc-cover-num {
  z-index: 3;
}
.pdc-cover-num {
  position: absolute;
  bottom: 0.6rem;
  right: 0.9rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4.5rem;
  line-height: 1;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.06);
  pointer-events: none;
}

/* Cover gradient backgrounds — each card unique */
.pdc-cover-weight    { background: linear-gradient(135deg, #1a0d0d 0%, #3d1515 100%); }
.pdc-cover-personal  { background: linear-gradient(135deg, #0d1625 0%, #1a2e4a 100%); }
.pdc-cover-yoga      { background: linear-gradient(135deg, #0d1a0f 0%, #1a3320 100%); }
.pdc-cover-cardio    { background: linear-gradient(135deg, #1a100d 0%, #3a1f12 100%); }
.pdc-cover-strength  { background: linear-gradient(135deg, #1a0d12 0%, #330f1e 100%); }
.pdc-cover-muscle    { background: linear-gradient(135deg, #0d0d1a 0%, #1a1a35 100%); }
.pdc-cover-nutrition { background: linear-gradient(135deg, #0d1a14 0%, #16332a 100%); }
.pdc-cover-celebrity { background: linear-gradient(135deg, #1a1408 0%, #332b10 100%); }

/* Red accent bar under cover */
.pdc-cover::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0%, transparent 100%);
}

/* Card body */
.pdc-body {
  padding: 1.2rem 1.25rem 1.5rem;
}
.pdc-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 1.5px;
  color: #f0ede8;
  margin-bottom: 0.6rem;
  line-height: 1.1;
}
.pdc-desc {
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(240,237,232,0.6);
}

/* ── DRAG CURSOR OVERLAY ── */
.drag-cursor {
  position: absolute;
  top: 0; left: 0;
  width: 100px;
  height: 40px;
  pointer-events: none;
  z-index: 20;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.prog-drag-stage:hover .drag-cursor { opacity: 1; }
.prog-drag-stage.is-dragging .drag-cursor { opacity: 1; }

.drag-cursor-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #141414;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1.5px solid var(--red);
  box-shadow: 0 4px 20px rgba(225,29,42,0.35);
  white-space: nowrap;
  padding: 0 0.9rem;
  transition: background 0.2s, transform 0.15s;
}

.prog-drag-stage.is-dragging .drag-cursor-inner {
  background: var(--red);
  transform: scale(1.08);
}

/* Drag hint text below track */
.prog-drag-hint {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1.5rem;
  opacity: 0.7;
}
.prog-drag-hint::before,
.prog-drag-hint::after {
  content: '—';
  margin: 0 0.6rem;
  color: var(--red);
}

/* Mobile card sizing — JS reads this via CARD_W_MOBILE constant */
@media (max-width: 850px) {
  .prog-drag-card {
    width: 260px;
  }
  .pdc-cover { height: 160px; }
}

/* ── RESPONSIVE: mobile uses same drag stage, hide old poster ── */
.poster-stage-mobile { display: none !important; }

@media (max-width: 850px) {
  /* Keep prog-drag-stage visible on mobile — JS handles mode switch */
  .prog-drag-stage {
    cursor: default;
  }
  /* Hide desktop-only overlays on touch */
  .drag-cursor    { display: none !important; }
  .prog-drag-hint { display: none; }
}

/* ══════════════════════════════════════════════════════════
   MOBILE OPTIMISATIONS — all fixes ≤ 600px
   ══════════════════════════════════════════════════════════ */

/* ── Journey: desktop/mobile visibility toggles ── */
@media (min-width: 851px) {
  .journey-mobile-only { display: none !important; }
  .journey-desktop-only { display: flex; }
}
@media (max-width: 850px) {
  .journey-desktop-only { display: none !important; }
  .journey-mobile-only  { display: block; }
}

/* ── Mobile Journey Vertical Timeline ── */
.journey-mobile-wrap {
  position: relative;
  margin-top: 3rem;
  padding: 0 1.25rem;
}

.jm-timeline {
  position: relative;
  padding-left: 2.75rem;
}

/* Dim base track — always visible, no-JS fallback */
.jm-timeline-track {
  position: absolute;
  left: 15px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: rgba(225, 29, 42, 0.15);
}

/* Red fill — grows as the user scrolls past each milestone */
.jm-timeline-fill {
  position: absolute;
  left: 15px;
  top: 16px;
  width: 2px;
  height: 0%;
  background: linear-gradient(to bottom, var(--red), var(--red-light));
  box-shadow: 0 0 10px rgba(225, 29, 42, 0.45);
}

.jm-node {
  position: relative;
  padding-bottom: 3rem;
}
.jm-node:last-child { padding-bottom: 0; }

.jm-node-dot {
  position: absolute;
  left: -2.75rem;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--black);
  border: 2px solid rgba(225, 29, 42, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.jm-node-dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(225, 29, 42, 0.4);
  transition: background 0.4s ease, transform 0.4s ease;
}

.jm-node.is-active .jm-node-dot {
  border-color: var(--red);
  box-shadow: 0 0 0 6px rgba(225, 29, 42, 0.12), 0 0 18px rgba(225, 29, 42, 0.35);
}
.jm-node.is-active .jm-node-dot::after {
  background: var(--red);
  transform: scale(1.2);
}

.jm-node-content {
  padding-top: 0.15rem;
  opacity: 0.55;
  transform: translateX(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.jm-node.is-active .jm-node-content {
  opacity: 1;
  transform: translateX(0);
}

.jm-node-year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.jm-node-content h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.jm-node-content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 320px;
}

@media (prefers-reduced-motion: reduce) {
  .jm-node-content,
  .jm-node-dot,
  .jm-node-dot::after {
    transition: none;
  }
}

/* ── FIX 1: Hero mobile — font, layout, button clash ── */
@media (max-width: 600px) {
  /* Hero title — smaller on narrow screens */
  .hero-title {
    font-size: clamp(3rem, 12vw, 4.5rem);
    line-height: 0.92;
    margin-bottom: 1rem;
  }

  /* Hero subtext — tighter */
  .hero-sub {
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }

  /* Hero eyebrow — smaller */
  .hero-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 2px;
    margin-bottom: 0.85rem;
  }

  /* Hero photo — tighter spacing on narrow phones */
  .hero-stage-wrap { margin-top: 1.75rem; }
  .hero-photo-placeholder { max-width: 360px; border-radius: 14px; }

  /* Hero buttons — stack vertically, no clash */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .hero-btn-primary,
  .hero-btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.82rem;
  }

  /* Stats bar — horizontal compact row, not vertical stack */
  .stats-bar {
    grid-template-columns: repeat(3, 1fr) !important;
    margin-top: 2rem;
  }
  .stat-item {
    padding: 1.1rem 0.75rem;
  }
  .stat-num {
    font-size: 2rem;
    line-height: 1;
  }
  .stat-label {
    font-size: 0.6rem;
    letter-spacing: 1px;
    margin-top: 0.2rem;
  }

  /* Section padding — reduce on mobile */
  section { padding: 4rem 5%; }

  /* About section — tighter */
  .about-heading {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }
  .about-para {
    font-size: 0.93rem;
    line-height: 1.7;
  }
  .about-trust {
    font-size: 0.78rem;
    letter-spacing: 1px;
  }

  /* ── FIX 7: Trainer mobile — alignment + font size ── */
  .trainer-profile {
    padding: 1.5rem;
    gap: 1.5rem;
    border-radius: 14px;
  }
  .trainer-profile-avatar {
    height: 160px;
    font-size: 3.5rem;
    border-radius: 12px;
  }
  .trainer-profile-body h3 {
    font-size: 1.7rem;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
  }
  .trainer-profile-role {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    line-height: 1.5;
    margin-bottom: 1rem;
  }
  .trainer-profile-body p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 0.85rem;
  }
  .trainer-profile-tags {
    gap: 0.45rem;
    margin-top: 1rem;
  }
  .trainer-profile-tags span {
    font-size: 0.65rem;
    padding: 4px 10px;
  }
  .trainer-quote-card {
    padding: 1.5rem 1.25rem;
    border-radius: 14px;
  }
  .trainer-quote-card p {
    font-size: 1.1rem;
  }

  /* ── FIX 6: Programs mobile — no auto-drift, card always centred ── */
  /* (handled in JS — CSS just ensures correct sizing) */
  .prog-drag-card { width: 82vw; max-width: 300px; }
  .pdc-cover { height: 155px; }

  /* General h2 scaling */
  h2 { font-size: clamp(2.2rem, 10vw, 3.5rem); }
}


/* ══════════════════════════════════════════════════════════
   PROGRAMS SECTION — DESKTOP / MOBILE SPLIT
   ══════════════════════════════════════════════════════════ */

/* Desktop drag stage: visible on desktop, hidden on mobile */
.prog-desktop-only { display: block; }
.prog-mobile-only  { display: none; }

@media (max-width: 850px) {
  .prog-desktop-only { display: none !important; }
  .prog-mobile-only  { display: block !important; }
  /* Also hide hint label */
  .prog-drag-hint { display: none; }
}

/* ── MOBILE PROGRAMS CAROUSEL — mirrors testimonial structure exactly ── */
.pm-carousel {
  max-width: 100%;
  padding: 0 0 1rem;
}

/* Stage: same as .testi-stage */
.pm-stage {
  position: relative;
  height: 520px;
  perspective: 1200px;
  margin: 0 auto;
  max-width: 100%;
}

/* Slides: same as .testi-slide */
.pm-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(300px, 85vw);
  opacity: 0;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.65s ease;
  pointer-events: none;
}

/* First slide visible before JS loads */
.pm-slide:first-child {
  opacity: 1;
  z-index: 3;
  transform: translate(-50%, -50%) scale(1) rotateY(0deg);
}

/* Active: centre, full opacity */
.pm-slide.is-active {
  transform: translate(-50%, -50%) scale(1) rotateY(0deg);
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
}
/* Left neighbour */
.pm-slide.is-left {
  transform: translate(-50%, -50%) translateX(-54%) scale(0.88) rotateY(14deg);
  opacity: 0.4;
  z-index: 2;
}
/* Right neighbour */
.pm-slide.is-right {
  transform: translate(-50%, -50%) translateX(54%) scale(0.88) rotateY(-14deg);
  opacity: 0.4;
  z-index: 2;
}
/* Hidden far sides */
.pm-slide.is-hidden-left {
  transform: translate(-50%, -50%) translateX(-110%) scale(0.75) rotateY(22deg);
  opacity: 0;
  z-index: 1;
}
.pm-slide.is-hidden-right {
  transform: translate(-50%, -50%) translateX(110%) scale(0.75) rotateY(-22deg);
  opacity: 0;
  z-index: 1;
}

/* Card inner — same dark style as desktop */
.pm-card-wrap {
  background: #1a1a1a;
  border: 1px solid rgba(225,29,42,0.15);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  animation: pmFloat 4s ease-in-out infinite;
}
.pm-slide.is-active .pm-card-wrap {
  border-color: rgba(225,29,42,0.35);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(225,29,42,0.2);
}
@keyframes pmFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
/* Pause float on non-active slides */
.pm-slide:not(.is-active) .pm-card-wrap {
  animation-play-state: paused;
}

/* Controls: prev/next + dots — same as testimonials */
.pm-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.pm-nav {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(225,29,42,0.3);
  background: var(--charcoal);
  color: var(--red);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.pm-nav:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-2px); }

.pm-dots { display: flex; align-items: center; gap: 0.55rem; }
.pm-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(225,29,42,0.25);
  cursor: pointer;
  border: none; padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.pm-dot.active { background: var(--red); transform: scale(1.35); }
.pm-dot:hover  { background: rgba(225,29,42,0.6); }


/* ===== TOP CONTACT BAR ===== */

.top-bar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 35px;
    background: #111;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 9999;
}

.ticker{
    width:100%;
    white-space:nowrap;
}

.ticker span{
    display:inline-block;
    padding-left:100%;
    animation:ticker 20s linear infinite;
    color:#fff;
    font-size:14px;
    font-weight:600;
}

.ticker a{
    color:#FFD54F;
    text-decoration:none;
    font-weight:700;
}

@keyframes ticker{
    from{transform:translateX(0);}
    to{transform:translateX(-100%);}
}

.top-bar a {
    color: #FFD54F;
    text-decoration: none;
    font-weight: 700;
}

.top-bar a:hover {
    color: #ffffff;
}

/* Offset nav + hero below the ticker so it stops covering the logo/menu
   and the hero content. Scoped to pages that actually render .top-bar. */
body.has-ticker nav {
  top: 35px;
}
body.has-ticker .hero {
  padding-top: 135px;
}
@media (max-width: 600px) {
  body.has-ticker .hero {
    padding-top: 125px;
  }
}

/* Gallery-local tokens required by the original Gallery interactions.
   Kept local so they cannot alter the rest of the website. */
.intro,
.gallery {
  --transition-fast: 0.25s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 6px;
}

/* =========================================================
   GALLERY SECTION — MERGED FROM gallery.css
   Global/reset rules from gallery.css intentionally omitted
   to preserve the existing site-wide design system.
   ========================================================= */


/* --- Gallery reveal-on-scroll animation --- */
[data-reveal] {
  opacity: 1;
  transform: none;
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .gallery * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}



/* -----------------------------------------------------------------
   7. GALLERY INTRODUCTION
   ----------------------------------------------------------------- */
/* Gallery + intro share one balanced, responsive container: ~90% of the
   viewport on desktop (capped so it never gets excessively wide on very
   large screens), full-bleed with small edge padding on mobile. This is
   what keeps the eyebrow, heading, description, category header,
   divider, photo count and carousel all sharing the exact same
   left/right edges — without touching --container-pad used by the
   header/footer/CTA. */
.intro,
.gallery {
  --gap: 24px;
  --section-gap: 84px;
  --section-head-gap: 28px;
  --container-pad: 40px;
}

.intro .container,
.gallery .container {
  width: min(90%, 1500px);
  max-width: min(90%, 1500px);
  margin-inline: auto;
  padding-inline: 0;
}

@media (max-width: 1100px) {
  .intro,
  .gallery {
    --gap: 20px;
    --section-gap: 76px;
    --section-head-gap: 28px;
  }
}

@media (max-width: 640px) {
  .intro,
  .gallery {
    --gap: 14px;
    --section-gap: 56px;
    --section-head-gap: 22px;
  }
}

@media (max-width: 767px) {
  .intro .container,
  .gallery .container {
    width: 100%;
    padding-inline: clamp(16px, 4vw, 20px);
  }
}

/* Edge offset used only by the small decorative accent marks below —
   kept in sync with the container above so they still sit flush with
   its right edge. */
.intro,
.gallery {
  --container-pad: calc((100% - min(90%, 1500px)) / 2);
}

@media (max-width: 767px) {
  .intro,
  .gallery {
    --container-pad: clamp(16px, 4vw, 20px);
  }
}

/* Subtle vertical red grid — replaces the old AROMA watermark. Thin,
   low-opacity lines running the full height of the section, tiled so
   they continue seamlessly from .intro into .gallery. */
.intro,
.gallery {
  background-color: var(--black);
  background-image: repeating-linear-gradient(
    to right,
    rgba(227, 30, 36, 0.07) 0px,
    rgba(227, 30, 36, 0.07) 1px,
    transparent 1px,
    transparent 88px
  );
  background-position: center top;
}

/* Faint tiled AROMA watermark — sits behind the gallery content only,
   very low opacity so it reads as texture, not text. */
.gallery {
  position: relative;
}

.gallery::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='170' viewBox='0 0 340 170'%3E%3Ctext x='0' y='110' font-family='Arial, sans-serif' font-weight='700' font-size='54' letter-spacing='6' fill='white'%3EAROMA%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
  background-position: center top;
}

.gallery .container {
  position: relative;
  z-index: 1;
}

.intro {
  position: relative;
  padding: 84px 0 40px;
  overflow: hidden;
}

/* Small technical accent — a quiet red mark that echoes the site's
   grid/data motif without ever competing with the heading. */
.intro::before {
  content: '';
  position: absolute;
  top: 6px;
  right: var(--container-pad);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.55;
}

.intro::after {
  content: '';
  position: absolute;
  top: 0;
  right: calc(var(--container-pad) + 2px);
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, var(--red), transparent);
  opacity: 0.35;
}

.intro__copy {
  max-width: 760px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  opacity: 0.95;
}

.eyebrow__rule {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--red);
  opacity: 0.7;
}

.intro__heading {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  color: var(--white);
}

.intro__text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 560px;
  font-weight: 400;
}

@media (max-width: 760px) {
  .intro { padding: 56px 0 28px; }
  .intro::before,
  .intro::after { display: none; }
  .intro__heading { margin-bottom: 12px; }
}

@media (max-width: 480px) {
  .intro__text { font-size: 16px; line-height: 1.65; }
  .eyebrow { font-size: 0.7rem; margin-bottom: 14px; }
  .intro__heading { font-size: clamp(1.8rem, 4.5vw, 2.4rem); margin-bottom: 12px; }
}

/* -----------------------------------------------------------------
   8. GALLERY GRID — premium editorial mosaic, sectioned by theme
   ----------------------------------------------------------------- */
.gallery {
  padding: 0 0 var(--section-gap);
}

/* --- Category section: heading + its own asymmetric grid --- */
.gallery-section {
  margin-bottom: var(--section-gap);
}

.gallery-section:last-child {
  margin-bottom: 0;
}

.gallery-section__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: var(--section-head-gap);
}

.gallery-section__index {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--red);
}

.gallery-section__title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  letter-spacing: 0.03em;
  color: var(--white);
  white-space: nowrap;
}

.gallery-section__rule {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.gallery-section__count {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .gallery-section__head { gap: 12px; }
  .gallery-section__count { display: none; }
}

/* --- Carousel shell: one per category section --- */
.carousel {
  position: relative;
}

.carousel__viewport {
  overflow: hidden;
  /* small negative margin + matching padding lets the focus outline
     on the first/last card show without clipping */
  margin: 0 -4px;
  padding: 0 4px;
}

.carousel__track {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--gap);
  margin: 0;
  padding: 4px 0 6px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  will-change: scroll-position;
}

@media (max-width: 767px) {
  .carousel__track {
    perspective: 1000px;
  }
}

.carousel__track::-webkit-scrollbar {
  display: none;
  height: 0;
}

.carousel__slide {
  flex: 0 0 auto;
  width: 78%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Mobile 3D carousel effect */
@media (max-width: 767px) {
  .carousel__slide {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                filter 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
    opacity: 0.6;
    filter: blur(3px) brightness(0.85);
  }

  /* Active card when centered in viewport */
  .carousel__slide.is-active {
    transform: scale(1.08) translateZ(20px);
    opacity: 1;
    filter: blur(0) brightness(1);
    z-index: 10;
  }

  .carousel__slide.is-active .gallery-item {
    box-shadow: 0 20px 50px rgba(227, 30, 36, 0.22),
                0 0 40px rgba(227, 30, 36, 0.12);
  }
}

@media (max-width: 480px) {
  .carousel__slide.is-active {
    transform: scale(1.06) translateZ(15px);
  }
}

/* --- Arrows: sit on top of the viewport, vertically centred --- */
.carousel__arrow {
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--charcoal);
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(20, 20, 20, 0.12);
  transition: background-color var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast), opacity var(--transition-fast), transform var(--transition-fast);
}

.carousel__arrow:hover:not(:disabled) {
  background: var(--charcoal);
  color: var(--red);
  border-color: var(--red);
  box-shadow: 0 8px 22px rgba(227, 30, 36, 0.18);
}

.carousel__arrow:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.carousel__arrow--prev { left: -20px; }
.carousel__arrow--next { right: -20px; }

.carousel__arrow:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

.carousel__progress {
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: right;
}

@media (max-width: 767px) {
  .carousel__arrow { display: none; }
}

/* --- Editorial card: image on top, cream body below (always visible,
   no hover-reveal) — premium magazine layout per the reference. --- */
.gallery-item {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--charcoal);
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(20, 20, 20, 0.04);
  cursor: pointer;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.gallery-item:hover,
.gallery-item:focus-visible {
  border-color: rgba(227, 30, 36, 0.2);
}

.gallery-item__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: var(--steel);
}

.gallery-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.9s var(--ease);
}

.gallery-item:hover .gallery-item__media img,
.gallery-item:focus-visible .gallery-item__media img {
  transform: scale(1.025);
}

/* Frame counter — small, dark, translucent, bottom-left over the image */
.gallery-item__index {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.92);
  padding: 5px 10px;
  border-radius: 3px;
  background: rgba(10, 10, 10, 0.45);
  backdrop-filter: blur(3px);
  transition: background-color var(--transition-fast);
}

.gallery-item:hover .gallery-item__index,
.gallery-item:focus-visible .gallery-item__index {
  background: rgba(227, 30, 36, 0.75);
}

/* Card body — sits below the image, always visible */
.gallery-item__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}

.gallery-item__category {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red);
  text-transform: uppercase;
}

.gallery-item__title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 21px;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-top: 8px;
}

.gallery-item__desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 42ch;
}

.gallery-item:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

/* --- Carousel: how many cards (and how much of the next one) show ---
   Desktop  (>=1200px): 3 full cards + ~10-15% of a 4th
   Tablet   (768-1199px): 2 full cards + a partial 3rd
   Mobile   (<768px): 1 full card + a slight peek of the next */
@media (min-width: 1200px) {
  .carousel__slide { width: 30.5%; }  /* ~3 cards, sliver of the 4th */
}

@media (min-width: 768px) and (max-width: 1199px) {
  .carousel__slide { width: 45%; }    /* ~2 cards, partial 3rd */
}

@media (max-width: 767px) {
  .carousel__slide { width: 87%; }    /* 1 card, peek of the next — swipe-friendly */
  .gallery-item__body { padding: 16px 18px 18px; }
  .gallery-item__title { font-size: 19px; }
  .carousel__progress { text-align: center; }
  
  /* Adjust card for 3D mobile carousel */
  .gallery-item {
    transition: box-shadow 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
}

@media (max-width: 480px) {
  .carousel__slide { width: 90%; }    /* slightly less peek on very small phones */
  .gallery-item__body { padding: 14px 16px 16px; }
  .gallery-item__title { font-size: 18px; }
  .gallery-item__desc { font-size: 12.5px; }
}

/* =========================================================
   GALLERY NAVBAR ADJUSTMENTS
   The Gallery page now reuses the real site nav (nav, .logo,
   nav ul, .nav-cta, .hamburger) instead of the old unstyled
   .site-header/.topbar markup, so it inherits the Home page's
   nav styling automatically. These rules only add the small
   pieces that markup needs and didn't exist yet: an active-menu
   icon animation and a scroll shadow, both scoped so they can't
   change anything on pages that don't use them.
   ========================================================= */

/* Hamburger → "X" when the mobile menu is open */
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   GALLERY HERO RESPONSIVE ADJUSTMENTS
   The Home page's .hero is a 100vh flex hero built for a text
   column. The Gallery hero only holds one photo, so this
   variant keeps balanced left/right padding, a contained,
   premium aspect ratio and no excess height, without touching
   the base .hero rules the Home page relies on.
   ========================================================= */
.hero.hero--photo {
  min-height: 0;
  display: block;
  padding: 148px 6% 64px;
  background: var(--black);
}

.hero__frame {
  position: relative;
  width: min(100%, 1360px);
  margin-inline: auto;
  aspect-ratio: 21 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(20,20,20,0.18);
}

.hero__frame .hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 640px) {
  /* The source photo's natural ratio (~1.87:1) doesn't match the
     4/3 frame below it — matching the frame to the photo's own
     ratio means object-fit shows the complete image with zero
     letterboxing and zero cropping, top/bottom/left/right. */
  .hero__frame .hero__image {
    object-fit: contain;
    object-position: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);

    /* Premium entrance: a soft fade/scale-in on load, followed by
       a slow, continuous Ken-Burns drift for a cinematic feel. */
    animation:
      heroImageEnter 1.1s cubic-bezier(0.22, 1, 0.36, 1) both,
      heroImageDrift 14s ease-in-out 1.1s infinite alternate;
  }

  @keyframes heroImageEnter {
    from {
      opacity: 0;
      transform: scale(1.06);
      filter: blur(6px);
    }
    to {
      opacity: 1;
      transform: scale(1);
      filter: blur(0);
    }
  }

  @keyframes heroImageDrift {
    from { transform: scale(1); }
    to   { transform: scale(1.045); }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero__frame .hero__image { animation: none; }
  }
}

.hero__frame .hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,20,20,0.05) 0%, rgba(20,20,20,0.38) 100%);
  pointer-events: none;
}

@media (max-width: 1024px) {
  .hero.hero--photo { padding: 136px 4.5% 52px; }
  .hero__frame { aspect-ratio: 16 / 9; border-radius: 14px; }
}

@media (max-width: 640px) {
  .hero.hero--photo { padding: 122px 4% 40px; }
  /* Match the frame to the photo's own ~1.87:1 ratio (instead of a
     generic 4/3 box) so the full image sits flush in the frame with
     minimal letterboxing, rather than floating in a tall crop area. */
  .hero__frame { aspect-ratio: 1717 / 916; max-height: 62vh; border-radius: 12px; overflow: hidden; }
}

/* =========================================================
   GALLERY VIDEO SECTION
   Placeholder for a future gym promotional video, sitting
   directly above the footer. Structured so a real <video> or
   an iframe embed can drop straight into .gallery-video__wrapper
   later with no changes to this CSS.
   ========================================================= */
.gallery-video {
  background: #0c0c0c;
  padding: 88px 5% 104px;
}

.gallery-video .container {
  width: min(90%, 1300px);
  max-width: min(90%, 1300px);
  margin-inline: auto;
}

/* Desktop (>850px): text on LEFT, video on RIGHT, vertically centered, never overlaid */
.gallery-video__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.gallery-video__content {
  position: relative;
  z-index: 2;
  flex: 0 1 42%;
  max-width: 480px;
  text-align: left;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-video__media {
  flex: 0 1 56%;
  display: flex;
  justify-content: center;
}

.gallery-video__wrapper {
  position: relative;
  width: min(400px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.62) 100%),
    linear-gradient(135deg, #201a1a 0%, #0a0a0a 100%);
  border: 1px solid rgba(225,29,42,0.2);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.5s ease, border-color 0.5s ease;
}

.gallery-video__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.gallery-video__wrapper:focus-within {
  box-shadow: 0 40px 90px rgba(225,29,42,0.2);
  border-color: rgba(225,29,42,0.4);
}

.gallery-video__wrapper:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.gallery-video__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red-light);
}

.gallery-video__content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: 1px;
  color: var(--on-dark);
  line-height: 1.05;
}

.gallery-video__content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--on-dark-muted);
}

/* ===== Mobile / tablet (<=850px): single column layout ===== */
@media (max-width: 850px) {
  .gallery-video { padding: 64px 4% 76px; }
  .gallery-video .container { width: 100%; max-width: 100%; }

  .gallery-video__inner {
    display: block;
    position: relative;
  }

  .gallery-video__media { width: 100%; }

  .gallery-video__wrapper {
    width: min(100%, calc(100vw - 32px));
    margin-inline: auto;
  }

  /* Mobile intro text: overlays video, fades away on first play and stays hidden */
  .gallery-video__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    max-width: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    gap: 0.65rem;
    pointer-events: none;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  /* When video starts playing, text fades away with slight upward translate */
  .gallery-video__inner.intro-hidden .gallery-video__content {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
  }
}

@media (max-width: 480px) {
  .gallery-video__wrapper { border-radius: 10px; }
  .gallery-video__content { padding: 1.25rem; }
  .gallery-video__content p { font-size: 0.88rem; }
}
/* =========================================================
   LIGHTBOX — FULLSCREEN IMAGE VIEWER
   Restores centered zoom + blurred background effect
   ========================================================= */

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px;

  background: rgba(0, 0, 0, 0.78);

  /* Strong background blur */
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    backdrop-filter 0.35s ease,
    -webkit-backdrop-filter 0.35s ease;
}

#lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}


/* Image itself */
#lightboxImage {
  display: block;

  width: auto;
  height: auto;

  max-width: min(90vw, 1200px);
  max-height: 82vh;

  object-fit: contain;
  object-position: center;

  border-radius: 8px;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.08);

  transform: scale(0.82);
  opacity: 0;

  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
}


/* Image pops into the exact center */
#lightbox.is-open #lightboxImage {
  transform: scale(1);
  opacity: 1;
}


/* Prevent the image from being affected by surrounding styles */
#lightbox img {
  max-width: 100%;
}


/* Close button */
#lightboxClose {
  position: absolute;
  top: 24px;
  right: 28px;

  z-index: 10;

  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.45);
  color: #fff;

  font-size: 26px;
  line-height: 1;

  cursor: pointer;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

#lightboxClose:hover {
  background: rgba(227, 30, 36, 0.85);
  border-color: rgba(227, 30, 36, 0.9);
  transform: rotate(90deg) scale(1.05);
}


/* Previous / next buttons */
#lightboxPrev,
#lightboxNext {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  z-index: 10;

  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.45);
  color: #fff;

  font-size: 24px;

  cursor: pointer;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

#lightboxPrev {
  left: 28px;
}

#lightboxNext {
  right: 28px;
}

#lightboxPrev:hover,
#lightboxNext:hover {
  background: rgba(227, 30, 36, 0.85);
  border-color: rgba(227, 30, 36, 0.9);
}

#lightboxPrev:hover {
  transform: translateY(-50%) translateX(-3px);
}

#lightboxNext:hover {
  transform: translateY(-50%) translateX(3px);
}


/* Text information */
#lightboxTitle,
#lightboxDesc,
#lightboxCount {
  position: absolute;
  z-index: 5;
}

#lightboxTitle {
  left: 50%;
  bottom: 58px;

  transform: translateX(-50%);

  width: min(80vw, 800px);

  text-align: center;

  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);

  color: #fff;

  pointer-events: none;
}

#lightboxDesc {
  left: 50%;
  bottom: 25px;

  transform: translateX(-50%);

  width: min(80vw, 700px);

  text-align: center;

  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);

  pointer-events: none;
}

#lightboxCount {
  top: 27px;
  left: 50%;

  transform: translateX(-50%);

  font-size: 11px;
  letter-spacing: 0.15em;

  color: rgba(255, 255, 255, 0.65);

  pointer-events: none;
}


/* =========================================================
   MOBILE LIGHTBOX
   ========================================================= */

@media (max-width: 767px) {

  #lightbox {
    padding: 16px;
  }

  #lightboxImage {
    max-width: 94vw;
    max-height: 72vh;

    border-radius: 6px;

    transform: scale(0.86);
  }

  #lightbox.is-open #lightboxImage {
    transform: scale(1);
  }

  #lightboxClose {
    top: 16px;
    right: 16px;

    width: 42px;
    height: 42px;

    font-size: 22px;
  }

  #lightboxPrev,
  #lightboxNext {
    width: 42px;
    height: 42px;

    font-size: 20px;
  }

  #lightboxPrev {
    left: 12px;
  }

  #lightboxNext {
    right: 12px;
  }

  #lightboxTitle {
    bottom: 54px;

    width: 78vw;

    font-size: 1.5rem;
  }

  #lightboxDesc {
    bottom: 24px;

    width: 82vw;

    font-size: 11px;
  }

  #lightboxCount {
    top: 20px;
  }
}


/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {

  #lightbox,
  #lightboxImage,
  #lightboxClose,
  #lightboxPrev,
  #lightboxNext {
    transition: none !important;
  }
}
/* =========================================================
   MOBILE — PREVENT UNWANTED PAGE HORIZONTAL SCROLL
   Keeps gallery carousel swipe working
   ========================================================= */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 767px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Keep all major sections inside the mobile viewport */
  .intro,
  .gallery,
  .hero,
  .gallery-video,
  footer {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Prevent containers from becoming wider than the screen */
  .intro .container,
  .gallery .container,
  .gallery-video .container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Keep carousel viewport inside the page */
  .carousel__viewport {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  /*
     IMPORTANT:
     Do NOT hide overflow on .carousel__track.
     It must remain horizontally scrollable for
     mobile swipe functionality.
  */
  .carousel__track {
    max-width: none;
  }
}