/* ============================================================
   Willpower Fitness — modern redesign
   Bold & energetic dark theme
   ============================================================ */

:root {
  --bg: #0b0b0d;
  --bg-2: #111114;
  --surface: #16161a;
  --surface-2: #1d1d22;
  --border: #2a2a31;
  --text: #f5f5f6;
  --muted: #a0a0aa;
  --accent: #e8121d;        /* vivid red */
  --accent-press: #c20d17;
  --accent-2: #ff3b30;      /* energetic orange-red */
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1200px;
  --header-h: 76px;
  --shadow: 0 18px 40px -18px rgba(0,0,0,.7);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle full-page athletic texture (faint motion lines + warm corner glow) */
body::before {
  content:''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1000px 700px at 100% -5%, rgba(232,18,29,.06), transparent 58%),
    radial-gradient(900px 700px at -10% 100%, rgba(232,18,29,.05), transparent 55%),
    repeating-linear-gradient(118deg, rgba(255,255,255,.013) 0 1px, transparent 1px 72px);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, .display {
  font-family: 'Anton', 'Inter', sans-serif;
  font-weight: 400;
  line-height: .98;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.accent { color: var(--accent); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase;
  padding: 15px 26px; border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-press); }
.btn-outline { border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { color: var(--text); padding-left: 0; padding-right: 0; }
.btn-ghost:hover { color: var(--accent); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(11,11,13,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: 'Anton', sans-serif; font-size: 1.35rem; letter-spacing: 1px; text-transform: uppercase; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 1.1rem; flex: none;
}
.brand small { display: block; font-family: 'Inter'; font-weight: 600; letter-spacing: .32em; font-size: .52rem; color: var(--muted); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  padding: 9px 13px; border-radius: 8px; color: var(--muted);
  transition: color .18s, background .18s;
}
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); }
.nav a.active::after { content:''; display:block; height:2px; background:var(--accent); border-radius:2px; margin-top:5px; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { padding: 11px 20px; }

.nav-toggle { display: none; background: none; border: 1.5px solid var(--border); border-radius: 9px; width: 46px; height: 42px; cursor: pointer; }
.nav-toggle span { display:block; width:20px; height:2px; background:var(--text); margin:4px auto; transition:.25s; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .72rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content:''; width: 26px; height: 2px; background: var(--accent); }

.section-title { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.section-lead { color: var(--muted); max-width: 620px; margin-top: 18px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
  padding: 80px 0;
  background:
    radial-gradient(1100px 540px at 78% -8%, rgba(232,18,29,.13), transparent 60%),
    radial-gradient(800px 500px at 8% 108%, rgba(232,18,29,.10), transparent 55%),
    var(--bg);
  overflow: hidden;
}
/* diagonal "motion" energy lines instead of a tech grid */
.hero::after {
  content:''; position:absolute; inset:0; pointer-events:none; z-index:1;
  background-image: repeating-linear-gradient(118deg,
      rgba(255,255,255,.04) 0 2px, transparent 2px 9px,
      rgba(255,255,255,.018) 9px 10px, transparent 10px 64px);
  mask-image: linear-gradient(115deg, #000 0%, transparent 62%);
  -webkit-mask-image: linear-gradient(115deg, #000 0%, transparent 62%);
  opacity: .85;
}
/* big faint barbell watermark */
.hero::before {
  content:''; position:absolute; right:-70px; bottom:-40px; z-index:0; pointer-events:none;
  width: min(720px, 72%); height: 320px;
  background: url('../img/bg-barbell.svg') no-repeat center / contain;
  opacity: .055; transform: rotate(-7deg) translateY(var(--par, 0px));
  will-change: transform;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(3rem, 8.5vw, 7rem); }
.hero h1 .line2 { color: var(--accent); }
.hero p.lead { color: var(--muted); font-size: 1.15rem; max-width: 520px; margin: 26px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { display:flex; flex-wrap:wrap; gap:10px; margin-top:34px; }
.hero-tags span { font-size:.72rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); border:1px solid var(--border); border-radius:999px; padding:8px 14px; }

.hero-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: 20px; padding: 30px;
  box-shadow: var(--shadow);
}
.hero-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.stat { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; }
.stat .num { font-family: 'Anton', sans-serif; font-size: 2.1rem; color: var(--accent); line-height: 1; }
.stat .lab { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ---------- Marquee strip ---------- */
.strip { background: var(--accent); color: #fff; overflow: hidden; border-top: 1px solid #0b0b0d; border-bottom: 1px solid #0b0b0d; }
.strip .track { display: flex; gap: 40px; white-space: nowrap; padding: 14px 0; animation: marquee 26s linear infinite; }
.strip span { font-family:'Anton',sans-serif; font-size:1.05rem; letter-spacing:.08em; text-transform:uppercase; display:flex; align-items:center; gap:40px; }
.strip span::after { content:'●'; font-size:.6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(60px, 9vw, 110px) 0 clamp(40px, 6vw, 64px);
  background:
    radial-gradient(800px 380px at 85% -20%, rgba(232,18,29,.14), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.page-hero::after {
  content:''; position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image: repeating-linear-gradient(118deg,
      rgba(255,255,255,.035) 0 2px, transparent 2px 9px,
      rgba(255,255,255,.015) 9px 10px, transparent 10px 64px);
  mask-image: linear-gradient(115deg, #000 0%, transparent 58%);
  -webkit-mask-image: linear-gradient(115deg, #000 0%, transparent 58%);
}
.page-hero::before {
  content:''; position:absolute; right:-30px; top:-44px; z-index:0; pointer-events:none;
  width: 320px; height: 340px;
  background: url('../img/bg-kettlebell.svg') no-repeat center / contain;
  opacity: .06; transform: rotate(8deg);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
.crumbs { font-size:.8rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:20px; }
.crumbs a:hover { color: var(--accent); }

/* ---------- Grid helpers / cards ---------- */
.grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px;
  transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.card:hover { transform: translateY(-4px); border-color: #3a3a44; }

.disc-card { position: relative; overflow: hidden; }
.disc-card .icon {
  width: 58px; height: 58px; border-radius: 14px; background: var(--surface-2);
  border: 1px solid var(--border); display: grid; place-items: center; margin-bottom: 20px;
}
.disc-card .icon img { width: 30px; height: 30px; object-fit: contain; filter: invert(1) brightness(1.1); }
.disc-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.disc-card p { color: var(--muted); font-size: .96rem; }
.disc-card .tag { position:absolute; top:24px; right:26px; font-family:'Anton',sans-serif; font-size:2.4rem; color:rgba(255,255,255,.05); }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3; background: var(--surface-2); }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.feature-list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.feature-list .ck { flex: none; width: 24px; height: 24px; border-radius: 7px; background: rgba(232,18,29,.14); color: var(--accent); display: grid; place-items: center; font-size: .8rem; font-weight: 800; margin-top: 2px; }
.feature-list strong { color: var(--text); font-weight: 600; }

/* ---------- Equipment chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chips span { font-size: .8rem; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 9px 15px; background: var(--surface); }

/* ---------- Coaches ---------- */
.coach { overflow: hidden; padding: 0; }
.coach .photo { aspect-ratio: 3/4; overflow: hidden; background: var(--surface-2); }
.coach .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.coach:hover .photo img { transform: scale(1.05); }
.coach .body { padding: 24px 26px 28px; }
.coach .body h3 { font-size: 1.5rem; }
.coach .role { color: var(--accent); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 6px 0 14px; }
.coach .body p { color: var(--muted); font-size: .92rem; }

/* ---------- Pricing ---------- */
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(232,18,29,.07), var(--surface)); }
.price-card .badge { align-self: flex-start; font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.price-card h3 { font-size: 1.3rem; }
.price-card .price { font-family: 'Anton', sans-serif; font-size: 3rem; line-height: 1; margin: 14px 0 4px; }
.price-card .price small { font-family: 'Inter'; font-size: .9rem; color: var(--muted); font-weight: 500; letter-spacing: 0; text-transform: none; }
.price-card .sub { color: var(--muted); font-size: .9rem; min-height: 40px; }
.price-card .plist { list-style:none; margin: 20px 0 26px; display:grid; gap:11px; }
.price-card .plist li { display:flex; gap:11px; color: var(--muted); font-size:.92rem; }
.price-card .plist li::before { content:'✓'; color: var(--accent); font-weight: 800; }
.price-card .btn { margin-top: auto; justify-content: center; }

.price-rows { display: grid; gap: 0; }
.price-row { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:18px 0; border-bottom:1px solid var(--border); }
.price-row:last-child { border-bottom: none; }
.price-row .info strong { display:block; font-size:1.05rem; }
.price-row .info span { color: var(--muted); font-size:.86rem; }
.price-row .amt { font-family:'Anton',sans-serif; font-size:1.7rem; color: var(--accent); white-space:nowrap; }

/* ---------- Timetable ---------- */
.timetable-img { border:1px solid var(--border); border-radius: var(--radius); overflow:hidden; background:#fff; }
.timetable-img img { width:100%; }

/* ---------- Testimonials ---------- */
.testi-section { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.testi { display: flex; flex-direction: column; }
.testi .quote-mark { font-family: 'Anton', sans-serif; font-size: 3rem; color: var(--accent); line-height: .6; margin-bottom: 14px; }
.testi p { color: var(--text); font-size: 1rem; }
.testi .who { margin-top: 18px; font-weight: 700; letter-spacing: .04em; }
.testi .who span { color: var(--muted); font-weight: 500; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--text); cursor: pointer;
  padding: 22px 24px; font-size: 1.05rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.faq-q .ico { flex: none; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border); display: grid; place-items: center; transition: .25s; color: var(--accent); font-size: 1.2rem; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a .inner { padding: 0 24px 24px; color: var(--muted); }
.faq-a .inner p { margin-bottom: 10px; }
.faq-a strong { color: var(--text); }

/* ---------- Cafe gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery a, .gallery figure { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery .tall img { aspect-ratio: 3/4; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-item { display:flex; gap:16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-item .ic { flex:none; width:46px; height:46px; border-radius:12px; background:var(--surface-2); border:1px solid var(--border); display:grid; place-items:center; color:var(--accent); }
.contact-item h4 { font-family:'Inter'; font-weight:700; text-transform:none; letter-spacing:0; font-size:.78rem; color:var(--muted); margin-bottom:4px; }
.contact-item a, .contact-item p { font-size:1.05rem; }
.contact-item a:hover { color: var(--accent); }
.map-embed { border:1px solid var(--border); border-radius: var(--radius); overflow:hidden; min-height: 360px; }
.map-embed iframe { width:100%; height:100%; min-height:360px; border:0; filter: grayscale(.4) invert(.9) hue-rotate(180deg); }

/* ---------- Form ---------- */
.form-field { margin-bottom: 18px; }
.form-field label { display:block; font-size:.78rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.form-field input, .form-field textarea, .form-field select {
  width:100%; background: var(--surface); border:1px solid var(--border); border-radius:10px;
  color: var(--text); padding: 14px 16px; font-family: inherit; font-size: .98rem; transition:.2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline:none; border-color: var(--accent); }
.form-field textarea { min-height: 130px; resize: vertical; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--accent), #b00d16); color:#fff; border-radius: 22px; padding: clamp(40px,6vw,68px); text-align:center; box-shadow: var(--shadow); }
.cta-band::after {
  content:''; position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image: repeating-linear-gradient(118deg, rgba(255,255,255,.07) 0 2px, transparent 2px 26px);
  mask-image: linear-gradient(115deg, #000, transparent 75%);
  -webkit-mask-image: linear-gradient(115deg, #000, transparent 75%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cta-band p { max-width: 560px; margin: 16px auto 30px; font-weight: 500; font-size: 1.08rem; }
.cta-band .btn-primary { background:#10120a; color:var(--accent); }
.cta-band .btn-primary:hover { background:#000; }
.cta-band .btn-outline { border-color: rgba(255,255,255,.45); color:#fff; }
.cta-band .btn-outline:hover { border-color:#fff; color:#fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-grid h4 { font-family:'Inter'; font-weight:700; text-transform:uppercase; letter-spacing:.14em; font-size:.72rem; color:var(--muted); margin-bottom:18px; }
.footer-grid ul { list-style:none; display:grid; gap:11px; }
.footer-grid a { color: var(--muted); font-size:.92rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand p { color: var(--muted); font-size:.92rem; margin: 16px 0; max-width: 300px; }
.socials { display:flex; gap:10px; }
.socials a { width:40px; height:40px; border-radius:10px; border:1px solid var(--border); display:grid; place-items:center; color:var(--text); transition:.2s; }
.socials a:hover { background: var(--accent); color:#fff; border-color:var(--accent); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; color: var(--muted); font-size:.82rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  /* hero card sits below the headline on mobile (natural source order) */
  .hero-card { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav, .header-cta .btn-outline { display: none; }
  .nav-toggle { display: block; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    padding: 14px 24px 22px; gap: 2px;
  }
  .nav.open a { padding: 13px 8px; font-size: 1rem; border-bottom: 1px solid var(--border); }
  .nav.open a:last-child { border-bottom: none; }
}
@media (max-width: 680px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-row { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ============================================================
   Enhanced animations & interactions
   ============================================================ */

/* scroll progress bar (injected) */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(232,18,29,.6);
  transition: width .1s linear;
}

/* header shrink on scroll */
.site-header { transition: height .3s var(--ease), background .3s, box-shadow .3s; }
.site-header.scrolled { height: 62px; background: rgba(11,11,13,.94); box-shadow: 0 12px 30px -18px rgba(0,0,0,.85); }

/* hero load-in (runs once) */
@keyframes heroUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero .eyebrow, .hero h1, .hero p.lead, .hero-actions, .hero-tags, .hero-card {
  opacity: 0; animation: heroUp .85s var(--ease) forwards;
}
.hero .eyebrow   { animation-delay: .05s; }
.hero h1         { animation-delay: .16s; }
.hero p.lead     { animation-delay: .30s; }
.hero-actions    { animation-delay: .42s; }
.hero-tags       { animation-delay: .52s; }
.hero-card       { animation-delay: .30s; }

/* button shine sweep */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn-primary:hover::after { left: 135%; }

/* card spotlight (mouse-follow glow) */
.card { position: relative; }
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .3s; z-index: 0;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(232,18,29,.16), transparent 62%);
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }

/* back-to-top (injected) */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--accent); color: #fff; border: none; cursor: pointer;
  font-size: 1.3rem; display: grid; place-items: center;
  opacity: 0; transform: translateY(18px); pointer-events: none; transition: .3s var(--ease);
  box-shadow: 0 12px 26px -8px rgba(232,18,29,.7);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent-press); transform: translateY(-2px); }

/* lightbox (injected) */
.lightbox {
  position: fixed; inset: 0; z-index: 300; padding: 30px;
  background: rgba(5,5,7,.93); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 12px; border: 1px solid var(--border);
  box-shadow: var(--shadow); transform: scale(.95); transition: transform .3s var(--ease); }
.lightbox.open img { transform: scale(1); }
.lightbox button { position: absolute; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); cursor: pointer; display: grid; place-items: center; transition: .2s; }
.lightbox button:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.lightbox .lb-close { top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%; font-size: 1.2rem; }
.lightbox .lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; font-size: 1.7rem; }
.lightbox .lb-prev { left: 20px; } .lightbox .lb-next { right: 20px; }
.gallery figure { cursor: pointer; }

/* 1-rep-max calculator */
.calc { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.calc .controls { display: grid; gap: 22px; }
.range-row label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.range-row label span { color: var(--accent); font-family: 'Anton', sans-serif; font-size: 1.15rem; letter-spacing: .02em; }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px;
  background: var(--surface-2); outline: none; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px;
  border-radius: 50%; background: var(--accent); cursor: pointer; border: 3px solid #fff;
  box-shadow: 0 4px 10px -2px rgba(232,18,29,.7); }
.calc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--accent);
  cursor: pointer; border: 3px solid #fff; }
.calc .result { text-align: center; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 30px 26px; }
.calc .result .unit { color: var(--muted); letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }
.calc .result .big { font-family: 'Anton', sans-serif; font-size: clamp(3.2rem, 8vw, 4.6rem); color: var(--accent); line-height: 1; margin: 6px 0; }
.calc .pct-table { margin-top: 20px; display: grid; gap: 0; text-align: left; }
.calc .pct-row { display: flex; justify-content: space-between; font-size: .88rem; color: var(--muted);
  border-top: 1px solid var(--border); padding: 9px 2px; }
.calc .pct-row strong { color: var(--text); font-family: 'Anton', sans-serif; font-weight: 400; letter-spacing: .02em; }
@media (max-width: 680px) { .calc-grid { grid-template-columns: 1fr; } }

/* respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero .eyebrow, .hero h1, .hero p.lead, .hero-actions, .hero-tags, .hero-card { opacity: 1; }
  .strip .track { animation: none; }
}

/* ============================================================
   Premium polish
   ============================================================ */

/* text selection + scrollbar + focus rings */
::selection { background: var(--accent); color: #fff; }
html { scrollbar-color: #34343d var(--bg-2); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #30303a; border-radius: 999px; border: 3px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 5px; }

/* page-load fade (CSS-only, works without JS) */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageIn .55s var(--ease) both; }

/* subtle film-grain depth overlay */
body .grain {
  position: fixed; inset: 0; z-index: 9; pointer-events: none; opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

/* lazy image graceful fade-in (CSS-only, works without JS) */
@keyframes imgIn { from { opacity: 0; } to { opacity: 1; } }
img[loading="lazy"] { animation: imgIn .8s var(--ease) both; }

/* animated nav underline (replaces block underline) */
.nav a { position: relative; }
.nav a::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease); display: block; margin: 0;
}
.nav a:hover::after { transform: scaleX(1); }
.nav a.active::after { transform: scaleX(1); }

/* crafted icon sizing */
.icon-svg { width: 20px; height: 20px; display: block; }
.contact-item .ic .icon-svg { width: 22px; height: 22px; }
.socials a .icon-svg { width: 18px; height: 18px; }

/* coach portrait treatment */
.coach .photo { position: relative; }
.coach .photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease);
  background: linear-gradient(to top, rgba(11,11,13,.55), transparent 50%);
}
.coach:hover .photo::after { opacity: 1; }

/* accreditation strip */
.creds { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.creds .creds-label { font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.creds ul { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: center; }
.creds li { display: flex; align-items: center; gap: 30px; font-family: 'Anton', sans-serif; font-size: 1.05rem; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); transition: color .25s; }
.creds li::before { content: '✦'; color: var(--accent); font-size: .7rem; }
.creds li:hover { color: var(--text); }
@media (max-width: 680px) { .creds li { font-size: .95rem; } }

/* ============================================================
   Class timetable (built table, replaces image)
   ============================================================ */
.tt-legend { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 28px; }
.tt-legend span { display: inline-flex; align-items: center; gap: 9px; font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.tt-legend i { width: 13px; height: 13px; border-radius: 4px; display: block; flex: none; }

.timetable { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.tt-day { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; display: flex; flex-direction: column; }
.tt-day > .tt-head { font-family: 'Anton', sans-serif; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; text-align: center;
  padding: 13px 8px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.tt-day.is-weekend > .tt-head { color: var(--accent); }
.tt-slots { display: flex; flex-direction: column; gap: 8px; padding: 10px; flex: 1; }
.tt-slot { background: var(--bg); border: 1px solid var(--border); border-left: 3px solid var(--muted);
  border-radius: 8px; padding: 9px 11px; transition: transform .2s var(--ease), border-color .2s; }
.tt-slot:hover { transform: translateY(-2px); border-color: #3a3a44; }
.tt-time { font-family: 'Anton', sans-serif; font-size: .9rem; letter-spacing: .02em; color: var(--text); }
.tt-name { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }
.tt-rest { color: var(--muted); font-size: .8rem; text-align: center; padding: 18px 8px; }

.tt-slot.t-wpf    { border-left-color: var(--accent); }
.tt-slot.t-engine { border-left-color: #2f6bff; }
.tt-slot.t-team   { border-left-color: #5aa9ff; }
.tt-slot.t-kids   { border-left-color: #2ec27a; }
.tt-slot.t-open   { border-left-color: #8a8a96; }
.tt-slot.t-open .tt-time { font-size: .78rem; letter-spacing: .04em; }

@media (max-width: 920px) { .timetable { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .timetable { grid-template-columns: 1fr; } }

/* ============================================================
   Mobile optimization
   ============================================================ */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* tablet / large phone */
@media (max-width: 760px) {
  .section { padding: clamp(52px, 8vw, 80px) 0; }
  .section-sm { padding: clamp(40px, 6vw, 60px) 0; }
  .section-lead { font-size: 1rem; }
  .split { gap: 36px; }
  .hero p.lead { font-size: 1.05rem; }
  .map-embed iframe { min-height: 300px; }
}

/* phones */
@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .container { padding: 0 18px; }

  /* compact header */
  .brand { font-size: 1.15rem; gap: 10px; }
  .brand .mark { width: 34px; height: 34px; }
  .header-cta .btn { padding: 10px 15px; font-size: .76rem; letter-spacing: .1em; }

  /* hero fits the screen without forcing full height */
  .hero { min-height: auto; padding: 48px 0 56px; }
  .hero-grid { gap: 30px; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* full-width, thumb-friendly CTAs */
  .cta-band > div { flex-direction: column; }
  .cta-band .btn { width: 100%; justify-content: center; }

  /* cards & sections breathe a little less */
  .card { padding: 24px; }
  .section-title { font-size: clamp(1.9rem, 8vw, 2.6rem); }

  /* inputs at 16px stop iOS zoom-on-focus */
  .form-field input, .form-field textarea, .form-field select { font-size: 16px; }

  /* tap targets */
  .nav-toggle { height: 44px; }

  /* lightbox controls reachable by thumb */
  .lightbox { padding: 16px; }
  .lightbox .lb-nav { width: 46px; height: 46px; top: auto; bottom: 18px; transform: none; }
  .lightbox .lb-prev { left: 18px; }
  .lightbox .lb-next { right: 18px; }
  .lightbox .lb-close { top: 16px; right: 16px; }

  /* back-to-top sits above the action bar */
  .to-top { bottom: 86px; right: 16px; width: 44px; height: 44px; }

  /* room for the fixed action bar */
  body { padding-bottom: 74px; }
}

/* very small phones */
@media (max-width: 380px) {
  .brand small { display: none; }
  .hero-tags span { font-size: .66rem; padding: 7px 11px; }
}

/* fixed mobile action bar (injected) */
.mobile-cta { display: none; }
@media (max-width: 600px) {
  .mobile-cta {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 140;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(11,11,13,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--border);
  }
  .mobile-cta .btn { flex: 1; justify-content: center; padding: 14px 10px; }
}

/* ============================================================
   Community / Instagram-style mosaic
   ============================================================ */
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ig-tile { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface-2); aspect-ratio: 1; }
.ig-tile.span2 { grid-column: span 2; aspect-ratio: 2 / 1; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.ig-tile:hover img { transform: scale(1.07); }
.ig-tile .ig-ov { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 13px;
  opacity: 0; transition: opacity .3s var(--ease);
  background: linear-gradient(to top, rgba(11,11,13,.78), transparent 58%); }
.ig-tile:hover .ig-ov { opacity: 1; }
.ig-tile .ig-ov span { color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: 7px; }
.ig-tile .ig-ov svg { width: 15px; height: 15px; }
@media (max-width: 860px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } .ig-tile.span2 { grid-column: span 2; } }
