/* Basic reset and variables */
:root{
  --red: #b4001a;
  --dark: #FFFFFF;
  --muted: #6b6b6b;
  --lightmuted: #D3D3D3;
  --bg: #f7f7f7;
  --container: 2200px;
  --radius: 8px;
  --body: #000000;
}
*{ 
box-sizing: border-box; 
margin:0;
}

html,body{ 
margin:0; 
padding:0; 
font-family: "Segoe UI", Roboto, Arial, sans-serif; 
background:var(--bg); 
color:var(--body); 
font-size: 16px;
}
/* Header */
.site-header{
background: black;
border-bottom: none;
position: sticky;
top:0;
z-index:1000;
}
.header-inner{
max-width: var(--container);
margin: 0 auto;
display:flex;
align-items:center;
justify-content:space-between;
padding: 12px 20px;
}
.logo{ 
height:44px; 
display:block; 
}
/* Navigation */
.main-nav ul{ 
list-style:none; 
margin:0; 
padding:0; 
display:flex; 
gap:50px; 
align-items:center; 
}
.main-nav a{ 
text-decoration:none; 
color:var(--dark); 
padding:8px 10px; 
display:inline-block; 
font-weight:600; 
transition: 0.3s ease;
border-radius: 6px;
}
.main-nav a:hover {
  background-color: var(--muted);
}
.main-nav a.cta-link{
background: var(--red);
color: white;
border-radius: 6px;
padding: 8px 12px;
transition: 0.3s ease;
}

.main-nav a.cta-link {
  background: var(--red);
  color: white;
}

.main-nav a.cta-link:hover {
  background-color: var(--muted);
  color: white;
}

.soonpopup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.soonpopup2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.soonpopup:target {
  opacity: 1;
  pointer-events: auto;
}

.soonpopup2:target {
  opacity: 1;
  pointer-events: auto;
}

.soonpopup-box {
  background: white;
  width: 250px;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  text-align: center;
}

.soonpopup2-box {
  background: white;
  width: 250px;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  text-align: center;
}

a {
  text-decoration: none;
}

/* Hero */
.hero {
  background-image: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url('https://i.imgur.com/miEMRi6.jpeg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;   /* vertical center */
  justify-content: center; /* horizontal center */
}

.hero-inner > h1 {
  font-size: clamp(2.5rem, 10vw, 5rem);
  line-height: 1;
  letter-spacing: 1px;
   margin-bottom: 8px;
}

.hero-inner > p {
  font-size: clamp(1rem, 3vw, 1.25rem);
  max-width: 40rem;
  margin: 0 auto 12px;
}

.hero .btn{ 
  margin:0 20px;
  cursor: pointer;
}

/* Buttons */
.btn{
display:inline-block;
padding: 10px 16px;
border-radius: 6px;
text-decoration: none;
font-weight:700;
cursor:pointer;
border: none;
width: 160px;
text-align: center;
}
.btn + .btn {
  margin-top: 10px;
}

.btn-primary{ 
background: var(--red); 
color: white; 
transition: 0.3s ease;
}
.btn-primary:hover{
background-color: var(--muted);
}
.btn-secondary{ 
background: rgba(255,255,255,0.12);      
color: white; 
border: 1px solid rgba(255,255,255,0.12);
transition: 0.3s ease; 
}
.btn-secondary:hover{
background-color: var(--muted);
}
/* Sections / container */
.container{ max-width: var(--container); margin: 42px auto; 
padding: 0 18px; 
}
.section-title{ 
font-size:1.6rem; 
margin:0 0 6px; 
}
.section-sub{ 
color:var(--muted); 
margin: 0 0 18px; 
}

.joinpopup {
  position: fixed !important; /* force it */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 9999; /* VERY IMPORTANT */
}

.joinpopup:target {
  opacity: 1;
  pointer-events: auto;
}


/* Default (for dark popup) */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  color: white;
}

.soonclose {
  position: absolute;
  top: 10px;
  right: 30px;
  font-size: 28px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  color: white;
  dispay: block !important;
}

.soonclose2 {
  position: absolute;
  top: 10px;
  right: 30px;
  font-size: 28px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  color: white;
  dispay: block !important;
}


/* Why We Exist */

.exist-grid-explore {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  min-height: 320px;
}

#exist-h2 {
  padding: 0 18px;
  margin-bottom: 45px;
  font-size:1.6rem;
}

.exist-card h2,
.exist-card p {
  margin: 10px 12px 0;
}

.exist-grid{ 
display:grid; 
grid-template-columns: repeat(auto-fit, minmax(250px, 550px));
justify-content: center;
}
.exist-card{ 
padding:18px;
margin-top:20px;
height:100%; 
}

.exist-card img{ 
width:100%; 
height:60vh; 
object-fit:cover; 
border-radius: 6px; 
display:block; 
}
.exist-card h2{ 
margin:0 0 18px; 
font-size: clamp(26px, 3vw, 32px);
}
.exist-card p{ 
margin:0;
font-size: clamp(1rem, 2.5vw, 1.4rem);
text-align: justify;
}


/* Features and Training grid */

.section-sub{
  color:white;
}

.features{
background-image: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url('https://i.imgur.com/VxFLTpY.jpeg');
background-size: cover;
background-position: center;
min-height: 80vh;
}

#training {
  background-color:black;
  padding-top: 40px;
  padding-bottom: 20px;
}
#training > h2 {
  color: white;
  font-size: clamp(26px, 3vw, 32px);
  margin-top: -20px;
}

#training > p {
  color: white;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
}

.feature-grid{ 
display:grid; 
grid-template-columns: repeat(auto-fit, minmax(250px, 1050px));
gap:18px; 
margin-top:280px; 
justify-content: center;
}

.feature-card p {
  color: black;
  font-size: clamp(14px, 2vw, 18px);
}

.feature-card h3 {
  color: black;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
}

.feature-card{ 
background: white; 
padding:14px; 
border-radius: var(--radius); 
box-shadow: 0 6px 18px rgba(0,0,0,0.05);
transition: 0.3s ease; 
}
.feature-card:hover{
  background: rgba(255,255,255,0.9);
  cursor: pointer;
}

.feature-card img{ 
width:100%; 
height:140px; 
object-fit:cover; 
border-radius: 6px; 
display:block; 
margin-bottom:10px; 
}
.feature-card h3{ 
margin:0 0 8px; 
}

/* Explore */

.news-grid-explore {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  min-height: 320px;
}

#explore-h2 {
  padding: 0 18px;
  margin-bottom: 30px;
  font-size: clamp(26px, 3vw, 32px);
}

.explore-card h3,
.explore-card p {
  margin: 10px 12px 0;
}

.explore-card:hover{
  background: rgba(255,255,255,0.12);
  cursor: pointer;
}

.explore-card:hover img {
  filter: brightness(0.97);
}

.explore-grid{ 
display:grid; 
grid-template-columns: repeat(auto-fit, minmax(250px, 550px));
gap:18px; 
justify-content: center;
}
.explore-card{ 
background: white; 
padding:14px; 
border-radius: var(--radius); 
box-shadow: 0 6px 18px rgba(0,0,0,0.05);
transition: 0.3s ease; 
}
.explore-card:hover{
  background: rgba(255,255,255,0.9);
  cursor: pointer;
}

.explore-card img{ 
width:100%; 
height:60vh; 
object-fit:cover; 
border-radius: 6px; 
display:block; 
margin-bottom:10px; 
}
.explore-card h3{ 
margin:0 0 8px;
font-size: clamp(1rem, 2.5vw, 1.4rem);
}
.explore-card p{ 
margin:0;
}
/* news grid */
.news-grid{ 
display:grid; 
grid-template-columns: repeat(3, 1fr);;
gap:18px; 
justify-content: center;
padding: 0 20px;
}
.news{
min-height: 40vh;
}
.news-card{ 
flex:1; 
background:white; 
padding:20px; 
border-radius:8px; 
text-align:center; 
box-shadow: 0 6px 18px rgba(0,0,0,0.04); 
}

.news-card:hover{
  background: rgba(255,255,255,0.9);
  cursor: pointer;
}

.news-card:hover img {
  filter: brightness(0.97);
}

.news-card > h3{
font-size: clamp(1rem, 2.5vw, 1.4rem);
}


.container > h2 {
  font-size: clamp(26px, 3vw, 32px);
  margin-top: -10px;
}
.container > p {
  color: black;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
}

.news-card img{ 
width:100%; 
height:20vh; 
object-fit:cover; 
border-radius: 6px; 
display:block; 
margin-bottom:10px; 
}

/* Footer */
.site-footer{ 
margin-top:40px; 
background:#111; 
color:#eee; 
padding: 30px 0 14px; 
}
.footer-inner{
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* spreads them */
  padding: 0 20px;
}

.footer-col{
  flex: 1;
}

.footer-col:nth-child(2){
  text-align: center;
}

.footer-col:nth-child(3){
  text-align: right;
}

.footer-col h4{ 
margin:0 0 8px; 
color:#fff; 
}
.footer-col ul{ 
list-style:none; 
margin:0; 
padding:0; 
color:#ccc; 
}
.footer-col a{ 
color:#ccc; 
text-decoration:none; 
display:block; 
margin-bottom:6px; 
font-size:0.95rem; 
}
.copyright{ 
text-align:center; 
color:#999; 
margin-top:18px; 
font-size:0.9rem; 
}

/* Responsive */
@media (max-width: 900px){
  .feature-grid { 
    grid-template-columns: repeat(3, 1fr); /* keep desktop layout */
    gap: 12px; /* smaller spacing */
  }

  .news-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 550px));
  }

  .feature-card {
    padding: 10px; /* tighter cards */
  }

  .feature-card img {
    height: 120px; /* slightly smaller image */
  }

  .main-nav {
    font-size: 1.1rem;
  }

  .main-nav ul{
    gap: 14px;
  }
}

@media (max-width: 600px){
  .feature-grid { grid-template-columns: 1fr; }
  .main-nav ul{ display:none; 
  }

  .feature-grid {
    margin-top: 85px;
    align-items: center; 
    justify-content: center; 
  }

  .exist-grid h2 {
    margin-top: 0; /* 👈 added fix here */
    padding-top: 0;
  }

  .feature-card h3 {
  color: black;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

  .exist-grid{ 
  margin-top:2px; 
  height: 60vh
}
.exist-grid p{
  font-size: clamp(0.8rem, 2.5vw, 1rem);
}

  .news-grid{ 
padding: 0;
}

  .hero h1{ font-size: 2.6rem; }
  .news-grid{ flex-direction:column; }

  .site-header {
    display:none;
  }

  .footer-inner{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-col{
    width: 100%;
    text-align: center !important;
  }

.social-icons svg {
  transform: translateY(5px);
}

.form-frame {
  width: 100%;
  height: 80vh; /* responsive height */
  border: none;
}

}

@media (min-width: 601px) {
.feature-grid {
  pointer-events: none;
}

}

/* COACHING PAGE */

  .coaching-inner {
    position: relative;
    display: block;
    padding: 20px 14px 30px;
  }

  .coaching-visual {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .coach-front {
    position: absolute;
    left: -10%;
    top: 40px;
    width: 80%;
    height: auto;
    opacity: 0.60;
    z-index: 1;
  }

  .coach-back {
    position: absolute;
    right: -10%;
    top: 20px;

    width: 70%;
    height: auto;

    opacity: 0.35;

    z-index: 0;
  }

  .coaching-content {
    position: relative;
    z-index: 3;
    margin-top: -320px; /* moves content upward */
  }

  .coaching-content h1 {
    text-align: center;
    font-size: clamp(3rem, 12vw, 5rem);
    line-height: 0.9;
    margin-bottom: 20px;
  }

  .coaching-text {
    text-align: left;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 30px;
  }

  .coaching-list {
    position: relative;
    z-index: 3;
  }

.coaching-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.coaching-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.75)),
    url("https://i.imgur.com/A239xom.png") center/cover no-repeat;
  z-index: 0;
}

.coaching-inner {
  position: relative;
  z-index: 1;
  width: min(1400px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 30px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 30px;
}

.coaching-visual {
  position: relative;
  min-height: 820px;
}

.coach-front,
.coach-back {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  object-fit: contain;
}

.coach-front {
  z-index: 2;
  transform: translateX(48px) scale(1.2);
  bottom: 80px;
}

.coach-back {
  z-index: 1;
  opacity: 0.35;
  filter: hue-rotate(-20deg) saturate(180%) brightness(0.9);
  transform: translate(150px, -40px);
}

.coaching-content {
  padding: 20px 10px 20px 0;
}

.coaching-content h1 {
  font-size: clamp(3rem, 5vw, 7rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.coaching-content h1 span {
  display: block;
  color: #f3f3f3;
  font-weight: 900;
}

.coaching-content h1 strong {
  display: block;
  color: #e30613;
  font-weight: 900;
}

.coaching-text {
  max-width: 680px;
  font-size: 1.15rem;
  line-height: 1.5;
  text-align: justify;
  text-align-last: left;
  margin-bottom: 40px;
}

.coaching-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 700px;
}

.coaching-pill {
  position: relative;
  background: #d7d7d7;
  color: #000;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  padding: 18px 28px;
  text-align: center;
  clip-path: polygon(3% 0, 97% 0, 100% 50%, 97% 100%, 3% 100%, 0 50%);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.25);
}


@media (min-width: 601px) {
.feature-grid {
  pointer-events: none;
}
}


/* COACHING PAGE */


.coaching-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.coaching-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.75)),
    url("https://i.imgur.com/A239xom.png") center/cover no-repeat;
  z-index: 0;
}

.coaching-inner {
  position: relative;
  z-index: 1;
  width: min(1400px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 30px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 30px;
}

.coaching-visual {
  position: relative;
  min-height: 820px;
}

.coach-front,
.coach-back {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  object-fit: contain;
}

.coach-front {
  z-index: 2;
  transform: translateX(48px) scale(1.2);
  bottom: 80px;
}

.coach-back {
  z-index: 1;
  opacity: 0.35;
  filter: hue-rotate(-20deg) saturate(180%) brightness(0.9);
  transform: translate(150px, -40px);
}

.coaching-content {
  padding: 400px 10px 20px 0;
}

.coaching-content h1 {
  font-size: clamp(3rem, 5vw, 7rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.coaching-content h1 span {
  display: block;
  color: #f3f3f3;
  font-weight: 900;
}

.coaching-content h1 strong {
  display: block;
  color: #e30613;
  font-weight: 900;
}

.coaching-text {
  max-width: 680px;
  font-size: 1.15rem;
  line-height: 1.5;
  text-align: justify;
  margin-bottom: 40px;
}

.coaching-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 700px;
}

.coaching-pill {
  position: relative;
  background: #d7d7d7;
  color: #000;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  padding: 18px 28px;
  text-align: center;
  clip-path: polygon(3% 0, 97% 0, 100% 50%, 97% 100%, 3% 100%, 0 50%);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.25);
}

/* Responsive */
@media (max-width: 1024px) {
  .coaching-inner {
    grid-template-columns: 1fr;
    padding-top: 20px;
  }

  .coaching-visual {
    min-height: 620px;
  }

  .coaching-content {
    padding: 0;
  }

  .coaching-text {
    text-align: left;
  }
}

/* EQUIPMENT / CARDIO PAGE */

.equipment-page,
.equipment-page * {
  box-sizing: border-box;
}

/* This prevents your global * background from making this page white */
.equipment-page * {
  background: transparent;
}

.equipment-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  justify-content: center;
  background: #000;
  color: white;
}

/* 1. Background gym machines */
.equipment-bg {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(to right, rgba(0,0,0,0.25), rgba(0,0,0,0.75)),
    url("https://i.imgur.com/WwP4hR9.png") center center / cover no-repeat;

  z-index: 0;
}

/* 2. Equipment image behind the subject */
.equipment-behind-subject {
  position: absolute;
  bottom: 6%;
  right: 20%;
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  opacity: 0.65;
  z-index: 1;
}

/* 3. Main subject/person */
.equipment-subject {
  position: absolute;
  left: 100px;
  bottom: 0;
  width: 80%;
  object-fit: contain;
  opacity: 1;
  z-index: 5;
}

/* 4. Equipment image below / behind the text */
.equipment-below-text {
  right: 4%;
  bottom: 4%;
  max-height: 38vh;
  object-fit: contain;
  opacity: 0.8;
}

/* Text content */
.equipment-content {
  position: relative;
  z-index: 4;
  width: min(760px, 50%);
  min-height: 100vh;
  margin-left: auto;
  padding: 70px 5% 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Main title */
.equipment-content h1 {
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 45px;
  text-align: left;
}

.equipment-content h1 span {
  display: block;
  font-size: clamp(4rem, 7vw, 8rem);
  font-weight: 900;
  letter-spacing: 2px;
  color: white;
}

.equipment-content h1 strong {
  display: inline-block;
  font-size: clamp(2.5rem, 4.6vw, 5rem);
  font-weight: 900;
  color: white;
  background: #d80013;
  padding: 12px 28px;
  border-radius: 4px;
  box-shadow: 0 0 18px rgba(216, 0, 19, 0.5);
}

/* Red equipment list */
.equipment-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 5;
}

/* Equipment Buttons */

.equipment-pill:hover {
  filter: brightness(1.15);
  transform: scale(1.02);
}

.equipment-pill.active {
  filter: brightness(1.25);
  transform: scale(1.07);
}

.equipment-pill:focus-visible {
  outline: 3px solid white;
  outline-offset: 4px;
}

.equipment-pill {
  position: relative;
  background: linear-gradient(to right, #b90010, #e60016, #b90010);
  color: white;
  padding: 16px 32px;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  font-weight: 600;
  text-align: center;
  clip-path: polygon(
    5% 0,
    95% 0,
    100% 50%,
    95% 100%,
    5% 100%,
    0 50%
  );
  border: none;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.equipment-subject,
.equipment-behind-subject {
  transition: opacity 1s ease;
}

/* TABLET */
@media (min-width: 1025px) {
  .equipment-page {
    min-height: 100vh;
     position: relative !important;
    min-height: calc(100vh - 68px) !important;
    overflow: hidden !important;
    /* controls the whole poster layout */
    --poster-width: 1200px;
    --poster-left: calc((100vw - var(--poster-width)) / 2);
    justify-content: center;
  }

  .equipment-page[data-layout="weight"] .equipment-subject {
    left: -90px;
    bottom: 100px;
    width: 60% !important;
    transform: scale(0.95) !important;
  }

  .equipment-page[data-layout="weight"] .equipment-behind-subject {
    left: 0px;
    bottom: 200px !important;
    width: 650px !important;
    transform: scale(1.2) !important;
  }

    .equipment-page[data-layout="strength"] .equipment-subject {
    left: -155px;
    bottom: -100px;
    width: 60% !important;
    transform: scale(1.3) !important;
  }

  .equipment-page[data-layout="strength"] .equipment-behind-subject {
    left: -20px;
    bottom: 120px !important;
    width: 650px !important;
    transform: scale(1.3) !important;
  }

   .equipment-page[data-layout="functional"] .equipment-subject {
    left: -155px;
    bottom: -100px;
    width: 60% !important;
  }

  .equipment-page[data-layout="functional"] .equipment-behind-subject {
    left: -20px;
    bottom: 140px !important;
    width: 650px !important;
    transform: scale(1.3) !important;
  }

  .equipment-subject {
   position: absolute;
    /* Locked position */
    left: calc(var(--poster-left) + 50px);
    /* Fixed size so it does not keep growing */
    width: 1050px;
    max-width: none;
    height: auto;
    opacity: 1;
    z-index: 10;
    transform: scale(1.1);
    transform-origin: left bottom;
    object-fit: contain;
  }

  .equipment-behind-subject {
    position: absolute;
    /* Locked position behind subject */
    left: calc(var(--poster-left) - 230px);
    bottom: 20%;
    /* Fixed size so it stays consistent */
    width: 720px;
    max-width: none;
    height: auto;
    opacity: 0.95;
    z-index: 2;
    transform: scale(1.5);
    transform-origin: left bottom;
    object-fit: contain;
    bottom:-50px;
    padding-right: 50px;
  }

  .equipment-below-text {
    position: relative;
    width: 230%;
    max-width: none;
    height: auto;
    opacity: 0.95;
    left: 50%;
    transform: translateX(-50%) scale(1.5);
    transform-origin: center center;

}
  .equipment-content {
    width: min(1000px, 60%);
    padding: 60px 4% 40px 20px;
  }

  .equipment-content h1 span {
    font-size: clamp(3.5rem, 8vw, 6rem);
  }

  .equipment-content h1 strong {
    font-size: clamp(2.2rem, 5vw, 4rem);
  }
}

/* Fix: image below the text, not behind it */

.equipment-content {
  position: relative;
  z-index: 5;
  width: min(760px, 50%);
  min-height: 100vh;
  margin-left: auto;
  padding: 70px 5% 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Force equipment image below text to be bigger */
.equipment-content .equipment-below-text {
  position: relative !important;
  display: block;
  width: min(55vw, 700px) !important;
  max-width: none !important;
  height: auto !important;
  margin: 35px auto 0 !important;
  left: 50% !important;
  transform: translateX(-50%) scale(2.75) !important;
  transform-origin: center center !important;
}

/* CENTERED EQUIPMENT LAYOUT */

.equipment-page {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 68px);
  overflow: hidden;
  background: #000;
  color: white;
}


/* This centers the whole design */
.equipment-stage {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  min-height: calc(100vh - 68px);
  margin: 0 auto;
}

/* Subject image */
.equipment-subject {
  position: absolute;
  left: 0;
  width: 760px;
  max-width: 65%;
  height: auto;
  opacity: 1;
  z-index: 10;
  transform: scale(1.4);
  transform-origin: left bottom;
  object-fit: contain;
}

/* Equipment behind subject */
.equipment-behind-subject {
  position: absolute;
  left: -30px;
  bottom: 20%;
  width: 520px;
  max-width: 45%;
  height: auto;
  opacity: 0.95;
  z-index: 2;
  transform: scale(1.5);
  transform-origin: left bottom;
  object-fit: contain;
}

/* PHONE */
@media (max-width: 600px) {

  .equipment-page{
      min-height:100vh;
      overflow:hidden;
      padding:0;
  }

  .equipment-below-text {
    display: none !important;
  }

  /* Background */
  .equipment-bg{
      background-position:center;
      background-size:cover;
  }

  /* Background equipment */
  .equipment-behind-subject{
      position:absolute;
      left:30%;
      bottom:250px;
      transform:translateX(-50%) scale(1.4);
      width:95%;
      max-width:none;
      opacity:.75;
      z-index:1;
  }


  /* Main person */
  .equipment-subject{
      position:absolute;
      left:50%;
      bottom:300px;
      transform:translateX(-50%);
      width:115%;
      max-width:none;
      z-index:3;
  }

  /* Text */
  .equipment-content{
      position:relative;
      z-index:5;

      width:100%;
      min-height:100vh;

      padding:55vh 24px 40px;

      margin:0;

      display:flex;
      flex-direction:column;
      justify-content:flex-start;
      align-items:center;

      text-align:center;
  }

  /* Title */
  .equipment-content h1{
      margin-bottom:25px;
      line-height:.9;
  }

  .equipment-content h1 span{
      font-size:3rem;
  }

  .equipment-content h1 strong{
      font-size:2.2rem;
      padding:8px 20px;
  }

  /* Equipment list */
  .equipment-list{
      width:100%;
      gap:14px;
  }

  .equipment-pill{
      width:100%;
      font-size:1rem;
      padding:14px;
  }

  .equipment-page[data-layout="weight"] .equipment-subject {
    bottom: 300px;
  }

  .equipment-page[data-layout="weight"] .equipment-behind-subject {
    bottom: 300px;
  }

     .equipment-page[data-layout="functional"] .equipment-subject {
    left: 195px;
  }

}

/* FIX EQUIPMENT PILLS NOT CLICKING ON DESKTOP */

/* Decorative images must not block mouse clicks */
.equipment-bg,
.equipment-subject,
.equipment-behind-subject,
.equipment-below-text {
  pointer-events: none !important;
}

/* Keep the text and pills above the images */
.equipment-content {
  position: relative;
  z-index: 20 !important;
  pointer-events: auto !important;
}

.equipment-list {
  position: relative;
  z-index: 21;
  pointer-events: auto !important;
}

.equipment-pill {
  position: relative;
  z-index: 22;
  pointer-events: auto !important;
  cursor: pointer;
}

/* MEMBERSHIP PAGE */

.membership-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background:
    radial-gradient(circle at 25% 35%, rgba(255,255,255,0.13), transparent 28%),
    radial-gradient(circle at 70% 65%, rgba(255,255,255,0.08), transparent 30%),
    #000;
  color: white;
  overflow: hidden;
  padding: 70px 20px;
}

.membership-bg-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.membership-bg-lines::before {
  content: "";
  position: absolute;
  top: 0;
  right: -40px;
  width: 100%;
  height: 160px;
  background:
    linear-gradient(135deg, transparent 0 12%, rgba(180, 0, 26, 0.45) 12% 20%, transparent 20% 34%, rgba(180, 0, 26, 0.45) 34% 42%, transparent 42% 58%, rgba(180, 0, 26, 0.45) 58% 66%, transparent 66%);
  opacity: 0.55;
}

.membership-inner {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  margin: 0 auto;
  text-align: center;
}

.membership-header h1 {
  text-transform: uppercase;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  margin-bottom: 30px;
  font-weight: 900;
}

.membership-header h1 span {
  color: white;
}

.membership-header h1 strong {
  color: #e30613;
}

.membership-header p {
  max-width: 850px;
  margin: 0 auto 55px;
  font-size: clamp(1rem, 2vw, 1.45rem);
  line-height: 1.4;
  color: #f2f2f2;
}

.membership-rates {
  display: flex;
  flex-direction: column;
  gap: 45px;
  margin-bottom: 70px;
}

.membership-card {
  display: grid;
  grid-template-columns: 1.55fr 0.95fr 0.95fr;
  align-items: center;
  gap: 18px;

  padding: 14px;
  border: 2px solid #e30613;
  border-radius: 18px;

  background:
    linear-gradient(to right, rgba(255,255,255,0.08), rgba(0,0,0,0.85));
  box-shadow: 0 0 22px rgba(227, 6, 19, 0.25);
}

.membership-left {
  display: flex;
  align-items: center;
  gap: 25px;
  padding-right: 20px;
  border-right: 1px solid rgba(255,255,255,0.55);
}

.membership-icon {
  width: 105px;
  height: 105px;
  border: 3px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  flex-shrink: 0;
}

.membership-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.fire-icon {
  color: #e30613;
  font-size: 0; /* removes emoji sizing behavior */
}

.fire-icon img {
  width: 65%;
  height: 65%;
  object-fit: contain;
  display: block;
}

.membership-left h2 {
  text-align: left;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  font-weight: 900;
}

.membership-left h2 span {
  display: block;
}

.membership-price {
  min-height: 110px;
  border-radius: 16px;
  padding: 20px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.membership-price h3 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  font-weight: 900;
}

.membership-price h3 span {
  font-size: clamp(1rem, 2vw, 1.7rem);
  font-weight: 700;
}

.membership-price p {
  margin-top: 10px;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.95rem;
}

.membership-price.regular {
  border: 2px solid white;
  background: rgba(0,0,0,0.25);
}

.membership-price.student {
  background: #e30613;
  color: white;
}

.membership-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  background: #e30613;
  color: white;

  padding: 14px 28px;
  border-radius: 12px;

  text-transform: uppercase;
  text-decoration: none;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: 1px;

  box-shadow: 0 0 20px rgba(227, 6, 19, 0.35);
  transition: 0.25s ease;
}

.membership-cta span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #000;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.2rem;
}

.membership-cta:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

/* TABLET */
@media (max-width: 1024px) {
  .membership-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .membership-left {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.45);
    padding-right: 0;
    padding-bottom: 18px;
    justify-content: center;
  }

  .membership-price {
    align-items: center;
    text-align: center;
  }
}

/* PHONE */
@media (max-width: 600px) {
  .membership-page {
    padding: 50px 14px;
  }

  .membership-header h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .membership-header p {
    font-size: 1rem;
    margin-bottom: 35px;
  }

  .membership-rates {
    gap: 28px;
    margin-bottom: 45px;
  }

  .membership-card {
    padding: 14px;
    border-radius: 14px;
  }

  .membership-left {
    flex-direction: column;
    gap: 14px;
  }

  .membership-left h2 {
    text-align: center;
    font-size: 2.1rem;
  }

  .membership-icon {
    width: 90px;
    height: 90px;
  }

  .membership-price {
    min-height: 95px;
  }

  .membership-price h3 {
    font-size: 2.4rem;
  }

  .membership-cta {
    width: 100%;
    font-size: 1.3rem;
  }
}

