/* Public gym page (Pro Unlimited) — dark, glass, 3D. Works fully without JavaScript; GSAP only adds motion. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-ext-700.woff2') format('woff2'); unicode-range: U+0100-02BA, U+20A0-20AB, U+20AD-20C4; }

:root {
  --bg: #0B0B0F; --bg2: #121219; --ink: #F5F5F7; --ink2: rgba(235,235,245,.72); --ink3: rgba(235,235,245,.48);
  --line: rgba(255,255,255,.09); --glass: rgba(255,255,255,.06); --glass2: rgba(255,255,255,.1);
  --acc: #FF6A1A; --acc2: #FF9F66; --grad: linear-gradient(135deg, #FFB36B 0%, #FF7A2F 45%, #EC4A0A 100%);
  --r: 26px; --ease: cubic-bezier(.32,.72,0,1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); overflow-x: hidden;
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, 'SF Pro Text', Inter, 'Segoe UI', Roboto, sans-serif; letter-spacing: -.011em; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: #fff; color: #000; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--acc2); outline-offset: 3px; border-radius: 10px; }

/* background: glowing blobs + fine grid */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg i { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .55; }
.bg .b1 { width: 60vw; height: 60vw; right: -18vw; top: -22vw; background: #FF6A1A; opacity: .32; animation: drift 26s ease-in-out infinite alternate; }
.bg .b2 { width: 50vw; height: 50vw; left: -20vw; top: 40vh; background: #6E5BFF; opacity: .22; animation: drift 32s ease-in-out infinite alternate-reverse; }
.bg .b3 { width: 40vw; height: 40vw; right: 10vw; bottom: -20vw; background: #FF2D78; opacity: .16; animation: drift 38s ease-in-out infinite alternate; }
.bg .grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, transparent 70%); opacity: .5; }
@keyframes drift { to { transform: translate(6vw, -4vw) scale(1.12); } }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 16px; max-width: 1200px; margin: 0 auto; padding: 14px 20px;
  transition: background .4s var(--ease), box-shadow .4s; }
.nav.solid { background: rgba(11,11,15,.72); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); box-shadow: 0 1px 0 var(--line); max-width: none; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; min-width: 0; }
.brand b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo { width: 40px; height: 40px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--glass2); flex: none; box-shadow: inset 0 0 0 1px var(--line); }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.logo .mono { font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 20px; }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { padding: 8px 14px; border-radius: 999px; color: var(--ink2); font-size: 15px; transition: color .2s, background .2s; }
.links a:hover { color: var(--ink); background: var(--glass); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 15.5px/1 inherit; letter-spacing: -.01em; color: var(--ink); transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .3s, background .3s; white-space: nowrap; }
.btn:active { transform: scale(.96); }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(255,106,26,.8), inset 0 1px 0 rgba(255,255,255,.35); }
.btn.primary:hover { box-shadow: 0 16px 40px -12px rgba(255,106,26,.95), inset 0 1px 0 rgba(255,255,255,.35); transform: translateY(-1px); }
.btn.glass { background: var(--glass2); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn.glass:hover { background: rgba(255,255,255,.14); }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { background: var(--glass); }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn.lg { height: 56px; font-size: 17px; }
.btn.block { width: 100%; }

/* hero */
.hero { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; max-width: 1200px; margin: 0 auto; padding: 72px 20px 96px; min-height: min(92vh, 860px); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--glass2); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink2); font-size: 14px; font-weight: 600; }
.chip .ic { width: 16px; height: 16px; color: var(--acc2); }
.h1 { margin: 22px 0 18px; font-size: clamp(44px, 7.2vw, 92px); line-height: .98; letter-spacing: -.045em; font-weight: 700; }
.h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.h1 .w > span { display: inline-block; }
.h1 .w:nth-child(3n+2) > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 0 0 30px; max-width: 520px; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink2); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* 3D stage */
.stage { position: relative; height: min(560px, 62vh); perspective: 1200px; }
.scene { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.card { position: absolute; border-radius: var(--r); background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 30px 60px -20px rgba(0,0,0,.6); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; transform-style: preserve-3d; }
.card .ic { width: 22px; height: 22px; color: var(--acc2); }
.card small { display: block; font-size: 12.5px; color: var(--ink3); }
.card b { display: block; font-size: 16px; letter-spacing: -.02em; }
.card.main { left: 14%; top: 14%; width: 72%; height: 66%; flex-direction: column; justify-content: center; text-align: center; gap: 6px; padding: 28px; transform: translateZ(40px); overflow: hidden; }
.card.main b { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.035em; }
.card.main small { font-size: 15px; }
.logo.xl { width: 96px; height: 96px; border-radius: 28px; margin-bottom: 10px; box-shadow: 0 20px 40px -14px rgba(255,106,26,.6), inset 0 0 0 1px rgba(255,255,255,.2); }
.logo.xl .mono { font-size: 46px; }
.card .shine { position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.16) 50%, transparent 60%); transform: translateX(-60%); pointer-events: none; }
.card.f1 { left: -2%; top: 6%; transform: translateZ(110px); }
.card.f2 { right: -4%; top: 40%; transform: translateZ(150px); }
.card.f3 { left: 6%; bottom: 4%; transform: translateZ(90px); }
.ring { position: absolute; left: 50%; top: 48%; border-radius: 50%; border: 1px solid rgba(255,159,102,.28); transform: translate(-50%, -50%) rotateX(72deg); }
.ring.r1 { width: 115%; height: 115%; }
.ring.r2 { width: 88%; height: 88%; border-color: rgba(110,91,255,.3); }

/* program marquee */
.marquee { overflow: hidden; padding: 6px 0 20px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 12px; width: max-content; animation: slide 34s linear infinite; }
@keyframes slide { to { transform: translateX(-50%); } }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 17px; white-space: nowrap; }
.pill i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); }

/* sections */
.sec { max-width: 1200px; margin: 0 auto; padding: 90px 20px; }
.sec-h { margin-bottom: 40px; }
.kicker { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--acc2); }
.h2 { margin: 0; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -.04em; }
.muted { color: var(--ink2); }
.about .big { margin: 0; font-size: clamp(22px, 2.8vw, 36px); line-height: 1.3; letter-spacing: -.025em; max-width: 920px; color: var(--ink); }

/* plans */
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; perspective: 1400px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--r); background: linear-gradient(170deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  box-shadow: inset 0 0 0 1px var(--line); transform-style: preserve-3d; transition: box-shadow .4s; }
.plan:hover { box-shadow: inset 0 0 0 1px rgba(255,159,102,.4), 0 30px 60px -30px rgba(255,106,26,.5); }
.plan.top { background: linear-gradient(170deg, rgba(255,122,47,.22), rgba(255,255,255,.04)); box-shadow: inset 0 0 0 1px rgba(255,159,102,.45), 0 30px 70px -30px rgba(255,106,26,.6); }
.plan h3 { margin: 0; font-size: 22px; letter-spacing: -.025em; }
.plan .dur { margin: 0; color: var(--ink3); font-size: 14.5px; }
.plan .price { margin: 14px 0 6px; display: flex; align-items: flex-start; gap: 4px; }
.plan .price .cur { font-size: 22px; font-weight: 600; color: var(--ink2); margin-top: 6px; }
.plan .price b { font-size: 50px; line-height: 1; letter-spacing: -.045em; }
.plan .desc { margin: 0 0 14px; color: var(--ink2); font-size: 14.5px; }
.plan .btn { margin-top: auto; }
.badge { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 700; }
.badge .ic { width: 14px; height: 14px; }
.num { font-variant-numeric: tabular-nums; }

/* timings */
.timeline { position: relative; display: flex; flex-direction: column; gap: 14px; padding-left: 34px; }
.timeline .line { position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.timeline .line i { position: absolute; inset: 0; background: var(--grad); transform-origin: top; }
.slot { position: relative; display: grid; grid-template-columns: 190px 1fr; gap: 18px; align-items: center; padding: 18px 22px; border-radius: 20px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
.slot .dot { position: absolute; left: -30px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px var(--bg), 0 0 16px var(--c); }
.slot .when { font-weight: 700; font-size: 18px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.slot .what b { display: block; font-size: 17px; }
.slot .what span { color: var(--ink3); font-size: 14.5px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.ph { position: relative; padding: 0; border: 0; border-radius: 22px; overflow: hidden; cursor: zoom-in; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.gallery.n5 .ph:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; }
.gallery.n1 { grid-template-columns: 1fr; grid-auto-rows: 420px; }
.gallery.n2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 340px; }
.gallery.n3 { grid-template-columns: 2fr 1fr; grid-auto-rows: 210px; } .gallery.n3 .ph:first-child { grid-row: span 2; }
.gallery.n4 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ph:hover img { transform: scale(1.06); }
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(0,0,0,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 18px; box-shadow: 0 40px 80px rgba(0,0,0,.6); }
.lbx { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--glass2); color: #fff; cursor: pointer; display: grid; place-items: center; }

/* visit */
.vgrid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.vcard, .stats { border-radius: var(--r); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); padding: 26px; }
.vcard .row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.vcard .row:last-of-type { border-bottom: 0; }
.vcard .row .ic { width: 22px; height: 22px; color: var(--acc2); margin-top: 2px; }
.vcard small { display: block; color: var(--ink3); font-size: 13px; }
.vcard b { display: block; font-size: 17px; font-weight: 600; }
.vbtns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: center; }
.stats div { display: flex; flex-direction: column; }
.stats b { font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--ink2); margin-top: 6px; }
.stats b.plus::after { content: '+'; }

/* join */
.jcard { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; padding: 40px; border-radius: 34px; background: radial-gradient(120% 140% at 0% 0%, rgba(255,122,47,.22), rgba(255,255,255,.04) 55%); box-shadow: inset 0 0 0 1px rgba(255,159,102,.28), 0 40px 90px -40px rgba(255,106,26,.5); }
.jcopy .h2 { margin-bottom: 12px; }
.form { display: flex; flex-direction: column; gap: 12px; }
.f { display: flex; flex-direction: column; gap: 6px; }
.f span { font-size: 13.5px; color: var(--ink2); font-weight: 600; }
.f em { font-style: normal; color: var(--ink3); font-weight: 400; }
.f input, .f select, .f textarea { width: 100%; padding: 14px 16px; border-radius: 16px; border: 0; background: rgba(0,0,0,.35); color: var(--ink); font: inherit; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.f textarea { resize: vertical; min-height: 64px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--acc); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formmsg { margin: 0; min-height: 20px; font-size: 15px; font-weight: 600; }
.formmsg.ok { color: #4ADE80; } .formmsg.err { color: #FF8A80; }
.form.done .f, .form.done .btn { opacity: .4; pointer-events: none; }
.tiny { margin: 0; font-size: 12.5px; color: var(--ink3); } .tiny a { text-decoration: underline; }

/* footer + phone dock */
.foot { max-width: 1200px; margin: 0 auto; padding: 40px 20px 120px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; color: var(--ink2); border-top: 1px solid var(--line); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot nav a:hover { color: var(--ink); }
.foot .powered a { color: var(--ink3); font-size: 13px; }
.dock { display: none; }
section[id] { scroll-margin-top: 84px; }
#enq .btn { scroll-margin-bottom: 150px; }

/* content is always visible without JavaScript (Google, old phones); site.js only adds motion */

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; min-height: 0; text-align: left; }
  .stage { height: 380px; order: -1; margin: 0 -10px; }
  .links { display: none; }
  .nav .btn span { display: none; } .nav .btn { width: 40px; padding: 0; margin-left: auto; }
  .gallery, .gallery.n2, .gallery.n3, .gallery.n4, .gallery.n5 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery.n1 { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery.n3 .ph:first-child, .gallery.n5 .ph:nth-child(5n+1) { grid-column: span 2; grid-row: span 1; }
  .vgrid, .jcard { grid-template-columns: 1fr; }
  .jcard { padding: 26px; gap: 22px; }
  .slot { grid-template-columns: 1fr; gap: 4px; }
  .sec { padding: 64px 18px; }
  .dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: flex; justify-content: space-around; gap: 4px; padding: 8px;
    border-radius: 24px; background: rgba(18,18,25,.82); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -10px rgba(0,0,0,.6); }
  .dock a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; border-radius: 16px; font-size: 11.5px; font-weight: 600; color: var(--ink2); }
  .dock a .ic { width: 22px; height: 22px; }
  .dock a.hot { background: var(--grad); color: #fff; }
  .dock { transition: transform .45s var(--ease), opacity .3s; }
  .dock.away { transform: translateY(150%); opacity: 0; pointer-events: none; }
}
@media (max-width: 520px) {
  .stage { height: 340px; }
  .card { padding: 11px 13px; gap: 9px; border-radius: 20px; }
  .card b { font-size: 14px; } .card small { font-size: 11.5px; } .card .ic { width: 18px; height: 18px; }
  .card.main { left: 12%; width: 76%; top: 16%; height: 62%; }
  .card.f1 { left: 2%; top: 2%; max-width: 86%; }
  .card.f2 { right: 2%; top: 46%; max-width: 58%; }
  .card.f3 { left: 4%; bottom: 2%; }
  .logo.xl { width: 72px; height: 72px; border-radius: 22px; } .logo.xl .mono { font-size: 34px; }
  .cta .btn { flex: 1; padding: 0 14px; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .bg i, .track { animation: none; }
}
