/* 2026-10-08 21:50 IST - spartansunisexgym.com styles (black / Spartan yellow, matches the gym interior + fee chart) */
@font-face {
  font-family: "Anton";
  src: url("/fonts/Anton-Regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Bebas Neue";
  src: url("/fonts/BebasNeue.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #0b0b0b;
  --bg-2: #141414;
  --bg-3: #1c1c1c;
  --line: #2a2a2a;
  --text: #f4f4f2;
  --muted: #a9a9a4;
  --accent: #ffd200;
  --accent-ink: #111;
  --ok: #3ddc84;
  --err: #ff5a4f;
  --radius: 14px;
  --display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, sans-serif;
  --nav-h: 68px;
  --gutter: clamp(16px, 4.5vw, 96px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--body); overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .02em; line-height: 1; margin: 0; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font: 600 15px/1 var(--body); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: transform .2s, background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #ffe14d; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(0,0,0,.25); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  transition: background-color .3s, box-shadow .3s;
  padding-top: env(safe-area-inset-top);
}
.nav.solid { background: rgba(11,11,11,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav-in { height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; transition: opacity .35s ease, transform .35s ease; }
/* 2026-10-08 avoid a doubled logo: the header brand stays hidden while the hero logo is on screen */
.nav.brand-hidden .brand { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.brand img { width: 52px; height: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt strong { font: 400 26px/1 var(--display); letter-spacing: .06em; color: var(--accent); }
.brand-txt small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 15px; color: #e8e8e4; position: relative; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--accent); transition: right .25s; }
.menu a:not(.btn):hover::after { right: 0; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* hero: full viewport on every device */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate; display: flex; align-items: center; }
.hero-stage { position: absolute; inset: 0; z-index: -3; background: #000; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity var(--fade, 1.4s) ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); transform-origin: var(--focus, 50% 50%); will-change: transform; }
.slide.is-active img, .slide.was-active img { animation: var(--kb) var(--dur, 7.4s) ease-out both; }
.kb-0 { --kb: kb-in-left; }
.kb-1 { --kb: kb-out-right; }
.kb-2 { --kb: kb-in-up; }
.kb-3 { --kb: kb-in-right; }
@keyframes kb-in-left { from { transform: scale(1.04) translate3d(1.5%, 0, 0); } to { transform: scale(1.18) translate3d(-1.5%, -1%, 0); } }
@keyframes kb-out-right { from { transform: scale(1.2) translate3d(-1.5%, 1%, 0); } to { transform: scale(1.05) translate3d(1.5%, 0, 0); } }
@keyframes kb-in-up { from { transform: scale(1.06) translate3d(0, 2%, 0); } to { transform: scale(1.2) translate3d(0, -1.5%, 0); } }
@keyframes kb-in-right { from { transform: scale(1.05) translate3d(-1.5%, 0, 0); } to { transform: scale(1.18) translate3d(1.5%, 1%, 0); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.15) 30%, rgba(0,0,0,.2) 55%, rgba(0,0,0,.9) 100%),
    radial-gradient(120% 90% at 20% 50%, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 70%);
}
.hero-grain {
  position: absolute; inset: -50%; z-index: -1; opacity: .09; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

.hero-body { width: 100%; margin: 0 auto; padding: calc(var(--nav-h) + 12px) var(--gutter) 96px; }
.hero-logo { width: clamp(120px, 13vw, 260px); height: auto; margin-bottom: 14px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); animation: rise .9s .1s both; }
.eyebrow { margin: 0 0 8px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: clamp(11px, 1.4vw, 14px); color: var(--accent); animation: rise .9s .2s both; }
.hero h1 { display: flex; flex-direction: column; align-items: flex-start; text-shadow: 0 6px 40px rgba(0,0,0,.6); animation: rise .9s .3s both; }
/* 2026-10-08 fee-chart look: heavy yellow letters, clean top, dry-brush erosion toward a ragged bottom */
.h1-main {
  font-family: "Anton", var(--display); font-size: clamp(66px, 13.5vw, 250px); letter-spacing: .02em; line-height: 1.04;
  text-transform: uppercase; padding: 0 .02em; display: inline-block;
  transform: scaleX(1.12); transform-origin: left center;
  color: #ffd400;
  -webkit-mask: url("/img/title-grunge.png") center / 100% 100% no-repeat;
  mask: url("/img/title-grunge.png") center / 100% 100% no-repeat;
}
.hero h1 { filter: drop-shadow(0 8px 28px rgba(0,0,0,.55)); text-shadow: none; }
.h1-sub { font-size: clamp(24px, 4vw, 72px); color: #fff; letter-spacing: .14em; margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; animation: rise .9s .4s both; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px;
  background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px);
  font-size: 14px; text-decoration: none; color: #fff;
}
.chip b { color: var(--accent); }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.status[data-state="open"] i { background: var(--ok); box-shadow: 0 0 0 0 rgba(61,220,132,.7); animation: pulse 2s infinite; }
.status[data-state="closed"] i { background: var(--err); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.6); } 70% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.cta { display: flex; flex-wrap: wrap; gap: 12px; animation: rise .9s .5s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.stars { --pct: calc(var(--r) / 5 * 100%); display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 2px;
  background: linear-gradient(90deg, var(--accent) var(--pct), rgba(255,255,255,.3) var(--pct));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars::before { content: "★★★★★"; }
.stars.lg { font-size: 30px; }

.hero-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) calc(22px + env(safe-area-inset-bottom)); margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.hero-cap { margin: 0; font: 400 clamp(18px, 2.2vw, 26px)/1 var(--display); letter-spacing: .14em; color: rgba(255,255,255,.85); transition: opacity .5s; }
.hero-cap.swap { opacity: 0; }
.dots { display: flex; gap: 8px; }
.dots button { width: 44px; height: 24px; padding: 10px 0; border: 0; background: transparent; cursor: pointer; }
.dots i { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; position: relative; }
.dots i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.dots button.on i::after { animation: fill var(--slide, 6s) linear forwards; }
.dots button.done i::after { transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }
/* 2026-10-08 floating section navigator (mouse cue -> next section; yellow arrow -> back to top) */
.sec-nav {
  position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 45;
  display: grid; place-items: center; width: 52px; height: 64px; padding: 0; border: 0; background: none; cursor: pointer;
  transition: opacity .3s;
}
.cue-mouse { position: relative; width: 28px; height: 44px; border: 2px solid rgba(255,255,255,.75); border-radius: 15px; background: rgba(0,0,0,.45); backdrop-filter: blur(4px); transition: border-color .2s; }
.cue-mouse span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: cue 1.8s infinite; }
.sec-nav:hover .cue-mouse { border-color: var(--accent); }
.cue-up { display: none; width: 50px; height: 50px; border-radius: 50%; background: var(--accent); box-shadow: 0 8px 24px rgba(0,0,0,.5); position: relative; transition: transform .2s; }
.cue-up::before { content: ""; position: absolute; left: 50%; top: 54%; width: 14px; height: 14px; border-left: 3px solid var(--accent-ink); border-top: 3px solid var(--accent-ink); transform: translate(-50%, -50%) rotate(45deg); }
.sec-nav.top .cue-mouse { display: none; }
.sec-nav.top .cue-up { display: block; }
.sec-nav.top:hover .cue-up { transform: translateY(-3px); }
.sec-nav-label {
  position: absolute; left: calc(100% + 6px); top: 50%; transform: translate(-6px, -50%); white-space: nowrap;
  padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.8); color: #fff; font: 600 13px/1 var(--body); letter-spacing: .04em;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.sec-nav:hover .sec-nav-label, .sec-nav:focus-visible .sec-nav-label { opacity: 1; transform: translate(0, -50%); }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* sections */
.sec { padding: clamp(64px, 10vw, 120px) 0; }
.sec-alt { background: var(--bg-2); }
.wrap { width: 100%; margin: 0; padding: 0 var(--gutter); }
/* 2026-10-08 full-width layout: gallery runs edge to edge */
.wrap-bleed { padding: 0; }
.wrap-bleed .sec-head { padding: 0 var(--gutter); }
.sec-head { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head.left { text-align: left; margin-bottom: 24px; }
.kicker { margin: 0 0 8px; color: var(--accent); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: 13px; }
.sec h2 { font-size: clamp(44px, 7vw, 80px); }
.lead { max-width: 640px; margin: 14px auto 0; color: var(--muted); font-size: 17px; }
.lead b { color: var(--accent); }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plan {
  position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px 24px; display: flex; flex-direction: column; transition: transform .3s, border-color .3s;
}
.plan:hover { transform: translateY(-4px); border-color: rgba(255,210,0,.55); }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 50px -20px rgba(255,210,0,.35); }
.tag { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 40px; color: var(--accent); }
.plan-blurb { color: var(--muted); font-size: 15px; margin: 8px 0 18px; }
.rates { list-style: none; margin: auto 0 0; padding: 0; }
.rates li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px dashed var(--line); }
.term { font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.price b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.price s { color: var(--muted); font-size: 15px; text-decoration-thickness: 2px; text-decoration-color: rgba(255,255,255,.75); }
.yr .price b { color: var(--accent); }
.plan-chart { align-items: flex-start; }
.chart-thumb { border: 0; padding: 0; margin: 0 0 16px; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; width: 100%; aspect-ratio: 4 / 3; }
.chart-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .5s; }
.chart-thumb:hover img { transform: scale(1.04); }

/* exercises: photo cards, cues slide up on hover / always visible on touch */
.exercises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ex { position: relative; overflow: hidden; border-radius: var(--radius); min-height: clamp(360px, 30vw, 520px); background: #000; isolation: isolate; }
.ex img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s ease, filter .8s ease; filter: saturate(.85) brightness(.8); }
.ex::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.94) 100%); }
.ex:hover img { transform: scale(1.07); filter: saturate(1) brightness(.7); }
.ex-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.ex-n { font: 400 18px/1 var(--display); color: var(--accent); letter-spacing: .1em; }
.ex h3 { font-size: clamp(32px, 2.6vw, 44px); margin: 6px 0 10px; }
.tags { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(255,210,0,.16); color: var(--accent); border: 1px solid rgba(255,210,0,.35); }
.rx { margin: 0 0 6px; font-weight: 700; }
.rx span { color: var(--muted); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-right: 8px; }
.cues { margin: 0; padding-left: 20px; color: #ddd; font-size: 15px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s ease, opacity .4s ease, margin .4s; }
.cues li::marker { color: var(--accent); font-weight: 700; }
.ex:hover .cues, .ex:focus-within .cues { max-height: 200px; opacity: 1; margin-top: 10px; }
@media (hover: none) { .cues { max-height: none; opacity: 1; margin-top: 10px; } }

/* facilities */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat { background: var(--bg-3); border-radius: var(--radius); padding: 26px; border-left: 3px solid var(--accent); }
.feat h3 { font-size: 30px; margin: 14px 0 6px; }
.feat p { margin: 0; color: var(--muted); }
.ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(255,210,0,.12); }
.ico::before { content: ""; width: 26px; height: 26px; background: var(--accent); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ico-dumbbell { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M2 10h2V7h3v10H4v-3H2zm20 0h-2V7h-3v10h3v-3h2zM8 11h8v2H8z'/></svg>"); }
.ico-machine { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 2h3v20H5zm11 0h3v20h-3zM8 5h8v2H8zm0 6h8v2H8zm2 6h4v3h-4z'/></svg>"); }
.ico-heart { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 21s-8-5.2-8-11a4.5 4.5 0 0 1 8-2.8A4.5 4.5 0 0 1 20 10c0 5.8-8 11-8 11zm-4-9h2l1-2 2 4 1-2h2v-1.5h-1.2L13 13l-2-4-1.8 3H8z'/></svg>"); }
.ico-coach { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2a4 4 0 1 1 0 8 4 4 0 0 1 0-8zm-8 20v-2a6 6 0 0 1 6-6h4a6 6 0 0 1 6 6v2z'/></svg>"); }
.ico-locker { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 2h8v20H3zm10 0h8v20h-8zM8 10h1v4H8zm7 0h1v4h-1zM5 5h4v1H5zm10 0h4v1h-4z'/></svg>"); }
.ico-shield { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l8 3v6c0 5-3.4 9.4-8 11-4.6-1.6-8-6-8-11V5zm-1.2 13.6l6-6-1.4-1.4-4.6 4.6-2.2-2.2-1.4 1.4z'/></svg>"); }
.ico-car { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 11l1.6-4.6A2 2 0 0 1 8.5 5h7a2 2 0 0 1 1.9 1.4L19 11a2 2 0 0 1 2 2v5h-2v2h-3v-2H8v2H5v-2H3v-5a2 2 0 0 1 2-2zm2.2 0h9.6l-1.2-3.5H8.4zM6.5 16a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm11 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z'/></svg>"); }
.ico-pay { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 1h10a2 2 0 0 1 2 2v18a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2zm0 4v14h10V5zm3.5 5.2a3.5 3.5 0 0 1 0 3.6l-1-.6a2.3 2.3 0 0 0 0-2.4zm2.3-1.3a6 6 0 0 1 0 6.2l-1-.6a4.8 4.8 0 0 0 0-5z'/></svg>"); }
.ico-pin { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2a7 7 0 0 1 7 7c0 5-7 13-7 13S5 14 5 9a7 7 0 0 1 7-7zm0 4a3 3 0 1 0 0 6 3 3 0 0 0 0-6z'/></svg>"); }

/* services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.svc { background: var(--bg-2); padding: 28px 24px; position: relative; transition: background-color .3s; }
.svc:hover { background: var(--bg-3); }
.svc-n { font: 400 18px/1 var(--display); color: var(--accent); letter-spacing: .1em; }
.svc h3 { font-size: 32px; margin: 10px 0 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.svc p { margin: 0; color: var(--muted); font-size: 15px; }
.free { font: 700 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); padding: 4px 8px; border-radius: 999px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 19vw, 420px); grid-auto-flow: dense; gap: 6px; }
.g-item { position: relative; border: 0; padding: 0; margin: 0; overflow: hidden; border-radius: 0; cursor: zoom-in; background: var(--bg-3); }
.g-big { grid-column: span 2; grid-row: span 2; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .6s; filter: saturate(.92); }
.g-item:hover img { transform: scale(1.06); filter: saturate(1.08); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; text-align: left; font: 400 22px/1 var(--display); letter-spacing: .08em; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.8)); }

/* timings + rating */
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hours { width: 100%; border-collapse: collapse; font-size: 17px; }
.hours th, .hours td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours th { font-weight: 600; }
.hours tr.today { background: rgba(255,210,0,.1); }
.hours tr.today th, .hours tr.today td { color: var(--accent); font-weight: 700; }
.hours tr.closed td { color: var(--err); }
.review-card { background: var(--bg-3); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); text-align: center; border: 1px solid var(--line); }
.review-card .cta { justify-content: center; animation: none; }
.big-rating { display: flex; align-items: center; justify-content: center; gap: 16px; }
.big-rating b { font: 400 96px/1 var(--display); color: var(--accent); }

/* contact */
address { font-style: normal; font-size: 18px; line-height: 1.7; margin-bottom: 10px; }
.phone a { font: 400 40px/1 var(--display); letter-spacing: .06em; color: var(--accent); text-decoration: none; }
.contact .cta { animation: none; margin-top: 18px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--bg-3); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }

/* footer */
.foot { background: #050505; border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.foot-in img { width: 92px; height: auto; }
.foot p { margin: 2px 0; }
.foot a { text-decoration: none; }
.copy { margin-left: auto !important; font-size: 14px; }

/* quick bar (mobile) */
.quickbar { display: none; }

/* lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0,0,0,.94); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox::backdrop { background: rgba(0,0,0,.8); }
.lightbox figure { margin: 0; grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; max-height: 100vh; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 8px; }
.lightbox figcaption { font: 400 24px/1 var(--display); letter-spacing: .1em; color: var(--accent); }
.lb-close { position: absolute; top: 14px; right: 18px; width: 48px; height: 48px; font-size: 34px; line-height: 1; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.lb-nav { width: 48px; height: 64px; justify-self: center; font-size: 44px; border: 0; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.lightbox.single .lb-nav { visibility: hidden; }
.lb-close:hover, .lb-nav:hover { background: var(--accent); color: var(--accent-ink); }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* tablet / mobile */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .feats, .services, .exercises { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(150px, 30vw, 240px); }
  .burger { display: block; position: relative; z-index: 2; }
  .menu {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 22px;
    background: rgba(8,8,8,.97); transform: translateY(-100%); transition: transform .35s ease; visibility: hidden;
  }
  .menu.open { transform: none; visibility: visible; }
  .menu a:not(.btn) { font: 400 40px/1 var(--display); letter-spacing: .08em; }
  .brand-txt small { display: none; }
}
@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .brand img { width: 44px; }
  .hero-body { padding-bottom: 120px; }
  .cta .btn { flex: 1 1 100%; }
  .chips { margin: 16px 0 20px; }
  .sec-nav { left: auto; right: 12px; transform: none; bottom: calc(66px + env(safe-area-inset-bottom)); }
  .sec-nav-label { left: auto; right: calc(100% + 6px); transform: translate(6px, -50%); }
  .sec-nav:hover .sec-nav-label { transform: translate(0, -50%); }
  .hero-foot { bottom: 64px; }
  .dots button { width: 30px; }
  .quickbar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: rgba(11,11,11,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .quickbar a { display: grid; place-items: center; min-height: 56px; text-decoration: none; font-weight: 700; letter-spacing: .04em; }
  .quickbar a:first-child { background: var(--accent); color: var(--accent-ink); }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .copy { margin-left: 0 !important; }
  .plans, .feats, .services, .exercises { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .g-big, .g-wide { grid-column: auto; grid-row: auto; }
  .g-tall { grid-row: span 2; }
  .lightbox[open] { grid-template-columns: 1fr; }
  .lb-nav { position: absolute; bottom: 24px; }
  .lb-prev { left: 24px; }
  .lb-next { right: 24px; }
  .lightbox figure { grid-column: 1; padding: 0 8px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 520px; }
  .hero-logo { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide img, .hero-grain, .dots button.on i::after, .cue-mouse span { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* 2026-10-08 22:10 IST - one-screen sections: on desktop / laptop / tablet every section fills exactly the
   viewport below the fixed header; headings, padding and grids scale with the viewport height.
   Phones and very short screens keep natural scrolling (content cannot fit legibly there). */
@media (min-width: 768px) and (min-height: 600px) {
  :root { --vh-avail: calc(100svh - var(--nav-h)); --sec-pad: clamp(18px, 3.2vh, 44px); }
  .sec { height: var(--vh-avail); min-height: 0; padding: var(--sec-pad) 0; display: flex; flex-direction: column; overflow: hidden; }
  .sec > .wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
  .sec-head { margin-bottom: clamp(12px, 2.4vh, 32px); flex: none; }
  .sec-head.left { margin-bottom: clamp(10px, 2vh, 24px); }
  .kicker { margin-bottom: clamp(4px, .8vh, 8px); font-size: clamp(11px, 1.4vh, 13px); }
  .sec h2 { font-size: clamp(34px, min(6vw, 7.2vh), 80px); }
  .lead { margin-top: clamp(6px, 1.2vh, 14px); font-size: clamp(14px, 1.8vh, 17px); line-height: 1.5; }

  /* training services: 2 rows fill the rest */
  .services { flex: 1; min-height: 0; grid-template-rows: repeat(var(--svc-rows, 2), minmax(0, 1fr)); }
  .svc { padding: clamp(14px, 2.4vh, 28px) clamp(16px, 1.6vw, 24px); overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
  .svc h3 { font-size: clamp(22px, 3.2vh, 32px); margin: clamp(4px, .8vh, 10px) 0 clamp(4px, .8vh, 8px); }
  .svc p { font-size: clamp(13px, 1.65vh, 15px); line-height: 1.5; }

  /* exercises: 2 rows of photo cards */
  .exercises { flex: 1; min-height: 0; grid-template-rows: repeat(var(--ex-rows, 2), minmax(0, 1fr)); gap: clamp(10px, 1.6vh, 18px); }
  .ex { min-height: 0; }
  .ex-body { padding: clamp(14px, 2.2vh, 24px); }
  .ex h3 { font-size: clamp(24px, 3.6vh, 44px); margin: 4px 0 clamp(6px, 1vh, 10px); }
  .tags { margin-bottom: clamp(6px, 1.1vh, 12px); }
  .tags li { font-size: clamp(10px, 1.3vh, 12px); padding: 3px 9px; }
  .rx { font-size: clamp(13px, 1.7vh, 16px); }
  .cues { font-size: clamp(12px, 1.6vh, 15px); }

  /* facilities: 2 rows */
  .feats { flex: 1; min-height: 0; grid-template-rows: repeat(var(--feat-rows, 2), minmax(0, 1fr)); gap: clamp(10px, 1.6vh, 18px); }
  .feat { padding: clamp(14px, 2.4vh, 26px); overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
  .ico { width: clamp(36px, 5vh, 48px); height: clamp(36px, 5vh, 48px); }
  .feat h3 { font-size: clamp(22px, 3.2vh, 30px); margin: clamp(6px, 1.4vh, 14px) 0 clamp(4px, .6vh, 6px); }
  .feat p { font-size: clamp(13px, 1.65vh, 16px); line-height: 1.5; }

  /* gallery: mosaic rows share the remaining height */
  .gallery { flex: 1; min-height: 0; grid-auto-rows: auto; grid-template-rows: repeat(var(--g-rows, 3), minmax(0, 1fr)); }
  .g-cap { font-size: clamp(16px, 2.4vh, 22px); }

  /* timings + rating, contact + map */
  .sec > .wrap.two { display: grid; flex: 1; min-height: 0; align-content: center; align-items: center; }
  .hours { font-size: clamp(14px, 1.9vh, 17px); }
  .hours th, .hours td { padding: clamp(6px, 1.25vh, 13px) 14px; }
  .big-rating b { font-size: clamp(56px, 9vh, 96px); }
  address { font-size: clamp(15px, 2vh, 18px); line-height: 1.6; }
  .phone a { font-size: clamp(28px, 4.2vh, 40px); }
  .map { aspect-ratio: auto; height: min(calc(var(--vh-avail) - 2 * var(--sec-pad)), 62vh); }
  .map iframe { display: block; }
}
/* small laptop / tablet landscape: keep 2-row grids by using more columns */
@media (min-width: 901px) and (max-width: 1100px) and (min-height: 600px) {
  .services, .feats { grid-template-columns: repeat(4, 1fr); }
  .exercises { grid-template-columns: repeat(3, 1fr); }
}
/* tablet portrait: 2-column grids, more rows (tall screens); facility icon sits beside its title */
@media (min-width: 768px) and (max-width: 900px) and (min-height: 600px) {
  :root { --svc-rows: 4; --ex-rows: 3; --feat-rows: 4; }
  .feat { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-content: center; }
  .feat h3 { margin: 0; align-self: center; }
  .feat p { grid-column: 1 / -1; margin-top: 8px; }
}
@media (min-width: 768px) and (max-width: 900px) and (min-height: 600px) {
  :root { --g-rows: 6; }
  .two { grid-template-columns: 1fr; gap: clamp(16px, 2.5vh, 32px); }
  .map { height: 38vh; }
}
