/* =========================================================
   Horwich Boxing — main stylesheet
   Laravel: move to resources/css/app.css (Vite) or public/css
   ========================================================= */

:root {
  --red: #d6151d;
  --red-dark: #8f0b10;
  --black: #0b0b0b;
  --ink: #111;
  --panel: #171717;
  --line: rgba(255,255,255,.1);
  --text: #f2f2f2;
  --muted: #ffffff;
  --font-display: 'Archivo', 'Arial Black', sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;
  --font-motto: 'Cinzel', Georgia, serif;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;

  /* IMAGES — free Unsplash photos for now. For production, download them
     (or the client's own photos) into public/img and swap these URLs. */
  --hero-img: url('https://images.unsplash.com/photo-1549719386-74dfcbf7dbed?auto=format&fit=crop&w=2200&q=80');
  --hero-img-2: url('https://images.unsplash.com/photo-1716307043003-dbe6a5cc496e?auto=format&fit=crop&w=2200&q=80');
  --why-img: url('https://images.unsplash.com/photo-1716306886418-f84f6d4c2f3a?auto=format&fit=crop&w=2000&q=80');
  --vision-img: url('https://images.unsplash.com/photo-1575654402720-0af3480d1fad?auto=format&fit=crop&w=2000&q=80');
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html { background: var(--black); }
/* One continuous gradient behind the whole page — sections are transparent so they all flow together */
body {
  margin: 0;
  background:
    radial-gradient(ellipse 70% 3% at 50% 10%, rgba(214,21,29,.13), transparent),
    radial-gradient(ellipse 60% 3% at 50% 37%, rgba(214,21,29,.12), transparent),
    radial-gradient(ellipse 50% 4% at 15% 50%, rgba(214,21,29,.14), transparent),
    radial-gradient(ellipse 70% 4% at 50% 74%, rgba(214,21,29,.16), transparent),
    radial-gradient(ellipse 60% 3% at 50% 99%, rgba(214,21,29,.16), transparent),
    linear-gradient(180deg,
    #0b0b0b 0%, #0b0b0b 6%, #140808 12%, #0e0e0e 20%, #161616 28%, #0c0c0c 36%,
    #180909 44%, #0e0e0e 52%, #161616 60%, #0b0b0b 68%, #170909 76%, #121212 86%, #050505 100%); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* film grain over everything — keeps the grungy feel consistent */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .5em; }
p { margin: 0 0 1.1em; color: var(--muted); }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(90px, 11vw, 150px) 0; position: relative; }

.display {
  font-weight: 800; letter-spacing: -.035em; line-height: .95;
  font-size: clamp(2.6rem, 5.6vw, 5.2rem); color: #fff; margin-bottom: 34px;
}
.outline { color: var(--red); }
.lead { font-size: 1.22rem; color: #fff; line-height: 1.55; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.center-head { text-align: center; max-width: 900px; margin: 0 auto clamp(50px, 6vw, 80px); }
.center-head .eyebrow { justify-content: center; }
.center-head .lead { max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px; border: 2px solid transparent; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 700; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #fff; color: var(--black); }
.btn-ghost { clip-path: none; border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--black); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 26px 0; transition: background .35s, padding .35s, box-shadow .35s, transform .5s cubic-bezier(.2,.7,.2,1);
}
.site-header.is-hidden { transform: translateY(-130%); }
.site-header.is-scrolled { background: #0e0e0e; padding: 12px 0; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.header-inner { display: flex; align-items: center; gap: 40px; padding: 0 clamp(16px, 3.6vw, 72px); }
.brand { margin-right: auto; }
.brand img { width: clamp(160px, 14vw, 210px); transition: width .3s; }
.is-scrolled .brand img { width: clamp(140px, 12vw, 180px); }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1.02rem; color: #fff; position: relative; padding: 6px 0; letter-spacing: .01em; transition: color .2s; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.main-nav a::after { display: none; }
.main-nav a:hover, .main-nav a.is-active { color: var(--red); }
.header-icons { display: flex; align-items: center; gap: 22px; margin-left: 26px; }
.icon-btn { background: none; border: 0; padding: 0; color: #fff; cursor: pointer; width: 26px; height: 26px; display: grid; place-items: center; transition: color .2s, transform .2s; }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn svg.bars, .icon-btn svg.xmark { display: none; }
.icon-btn svg.dots { fill: currentColor; stroke: none; }
.icon-btn:hover { color: var(--red); transform: translateY(-1px); }

/* Side panel */
.panel-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.side-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(440px, 100%);
  background: #0d0d0d; padding: 34px 44px 44px;
  display: flex; flex-direction: column; overflow-y: auto;
  transform: translateX(100%); transition: transform .5s cubic-bezier(.7,0,.2,1);
}
.panel-open .panel-overlay { opacity: 1; visibility: visible; }
.panel-open .side-panel { transform: none; }
.panel-close { align-self: flex-end; background: none; border: 0; color: var(--muted); font: 700 .78rem 'Archivo', sans-serif; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.panel-close span { font-size: 1.6rem; line-height: 1; color: #fff; }
.panel-close:hover, .panel-close:hover span { color: var(--red); }
.panel-logo { width: 200px; margin: 30px 0 40px; }
.panel-nav { display: flex; flex-direction: column; gap: 4px; margin-bottom: 40px; }
.panel-nav a { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.9rem; letter-spacing: -.01em; color: #fff; transition: color .2s, padding .3s; }
.panel-nav a:hover { color: var(--red); padding-left: 8px; }
.panel-info { margin-top: auto; padding-top: 28px; }
.panel-info h6 { margin: 18px 0 2px; font: 600 .74rem 'Archivo', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.panel-info a { display: inline-block; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1.1rem; color: #fff; border-bottom: 1px solid var(--red); }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 640px;
  display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    var(--hero-img) 62% 30% / cover no-repeat,
    var(--hero-img-2) center / cover no-repeat,
    radial-gradient(ellipse at 65% 35%, #3a3a3a 0%, #141414 55%, #070707 100%);
  filter: grayscale(1) contrast(1.18) brightness(.8);
  transform: scale(1.06); animation: heroIn 2.4s cubic-bezier(.2,.7,.2,1) forwards;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
/* only enough shading to keep text legible — the photo stays the star */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  background:
    radial-gradient(ellipse at 85% 15%, rgba(214,21,29,.35), transparent 50%),
    linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 70%),
    linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 22%);
}
.hero-content { padding: 0 clamp(16px, 3.6vw, 72px) clamp(60px, 9vh, 96px); width: 100%; }
.hero-title {
  font-family: 'Archivo', sans-serif; font-weight: 800; letter-spacing: -.035em;
  font-size: clamp(3.6rem, 9.2vw, 9.4rem); line-height: .9; margin: 0; text-transform: none;
}
.ht-line { display: block; }
.ht-line { animation: lineUp 1.1s cubic-bezier(.2,.7,.2,1) both; }
.ht-line:nth-child(2) { animation-delay: .12s; }
.ht-line:nth-child(3) { animation-delay: .24s; }
.ht-outline { color: var(--red); padding-bottom: .08em; }

.hero-social {
  position: absolute; right: clamp(16px, 3.6vw, 72px); top: 50%; transform: translateY(-50%);
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.hero-social::before, .hero-social::after { content: ''; width: 2px; height: 56px; background: var(--red); }
.hero-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--red); transition: background .25s, color .25s, transform .25s; }
.hero-social svg { width: 18px; height: 18px; fill: currentColor; }
.hero-social a:hover { background: var(--red); color: #fff; transform: scale(1.08); }

.scroll-badge {
  position: absolute; right: clamp(16px, 3.6vw, 72px); bottom: clamp(40px, 7vh, 72px);
  width: 132px; height: 132px; display: grid; place-items: center;
}
.scroll-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.scroll-ring text { fill: #fff; font: 700 11.5px 'Archivo', sans-serif; letter-spacing: 3.2px; }
.scroll-btn { width: 64px; height: 64px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform .3s, background .3s; box-shadow: 0 8px 24px rgba(214,21,29,.45); }
.scroll-btn svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scroll-badge:hover .scroll-btn { transform: scale(1.1); background: #fff; }
.scroll-badge:hover .scroll-btn svg { stroke: var(--red); }
.panel-info span { display: block; font-family: var(--font-display); font-weight: 700; color: #fff; }
.btn { font-family: var(--font-display); }

/* ---------- Photo treatment (black / white / red) ---------- */
.media { position: relative; margin: 0; overflow: hidden; background: radial-gradient(ellipse at 50% 40%, #2b2b2b, #0a0a0a); }
.media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.25) brightness(.82);
  transform: scale(1.02); transition: transform 1.4s cubic-bezier(.2,.7,.2,1);
}
.media.img-failed img { display: none; }
.media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(20deg, rgba(214,21,29,.9) 0%, rgba(214,21,29,0) 55%);
  mix-blend-mode: multiply;
}
.media:hover img { transform: scale(1.07); }

/* ---------- Intro / class cards ---------- */

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; isolation: isolate; }
.svc-media { position: absolute; inset: 0; z-index: -1; }
.svc-media::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(5,5,5,.95) 0%, rgba(5,5,5,.35) 50%, rgba(5,5,5,.1) 100%); transition: opacity .5s; }
.svc-num { position: absolute; top: 24px; left: 28px; font-family: var(--font-display); font-weight: 900; font-size: 3.4rem; letter-spacing: -.04em; line-height: 1; color: #fff; }
.svc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 28px 30px; }
.svc-meta { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; background: var(--red); padding: 6px 10px; margin-bottom: 16px; }
.svc h3 { font-weight: 800; font-size: clamp(1.7rem, 2.4vw, 2.3rem); letter-spacing: -.03em; line-height: 1; color: #fff; margin: 0 0 12px; }
.svc p { color: #fff; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s, opacity .5s, margin .5s; }
.svc-arrow { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; margin-top: 18px; transition: background .3s, border-color .3s, transform .3s; }
.svc-arrow svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc:hover p { max-height: 120px; opacity: 1; }
.svc:hover .svc-arrow { background: var(--red); border-color: var(--red); transform: rotate(-45deg); }
.svc:hover .media img { transform: scale(1.08); }
.facts { list-style: none; padding: 0; margin: clamp(60px, 7vw, 90px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 34px 20px; text-align: center; }
.facts li:first-child { border-left: 0; }
.facts strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -.03em; line-height: 1; color: #fff; margin-bottom: 10px; }
.facts li:nth-child(odd) strong { color: var(--red); }
.facts span { font-family: var(--font-display); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; }

/* ---------- Classes ---------- */
.class-row { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 660px; }
.class-row--flip { background: transparent; }
.class-row--flip .class-media { order: 2; }
.class-row--flip .class-num { left: auto; right: clamp(20px, 4vw, 60px); }
.class-media { min-height: 560px; height: 100%; background: none; }
.class-media {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(270deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(270deg, transparent 0%, #000 30%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.class-row--flip .class-media {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 30%);
}
.class-num {
  position: absolute; left: clamp(20px, 4vw, 60px); bottom: 10%; z-index: 2; line-height: 1;
  font-family: var(--font-display); font-weight: 900; font-size: clamp(8rem, 15vw, 14rem); letter-spacing: -.05em;
  color: #fff;
}
.class-copy { padding: clamp(56px, 7vw, 110px); align-self: center; max-width: 680px; }
.pills { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { font-family: var(--font-display); font-weight: 700; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; padding: 7px 14px; border: 1px solid rgba(255,255,255,.22); color: #fff; }
.pills li:first-child { background: var(--red); border-color: var(--red); }
.class-title { font-weight: 800; letter-spacing: -.035em; line-height: .95; font-size: clamp(2.6rem, 4.6vw, 4.4rem); color: #fff; margin-bottom: 28px; }
.class-title span { display: block; color: var(--red); }
.punch { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: #fff; border-left: 3px solid var(--red); padding-left: 16px; margin: 26px 0 34px; }
.price-tag { display: flex; align-items: baseline; gap: 12px; margin: -6px 0 22px; }
.price-tag strong { font-family: var(--font-display); font-weight: 900; font-size: 4.4rem; letter-spacing: -.04em; line-height: 1; color: var(--red); }
.price-tag span { font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.class-copy .btn { margin-top: 8px; }

/* ---------- Timetable ---------- */

.section-head .display { margin-bottom: 30px; }
.tt-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tt-filter {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.22); cursor: pointer;
  font: 700 .8rem var(--font-display); letter-spacing: .12em; text-transform: uppercase; padding: 13px 18px; transition: all .2s;
}
.tt-filter:hover { border-color: #fff; }
.tt-filter.is-active { background: var(--red); border-color: var(--red); }

.tt { display: grid; grid-template-columns: 96px repeat(5, 1fr); gap: 10px; }
.tt-axis, .tt-day { display: grid; grid-template-rows: 64px 168px 168px; gap: 10px; }
.tt-head {
  display: flex; align-items: center; justify-content: center; gap: 8px; position: relative;
  font-family: var(--font-display); font-weight: 800; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase;
  background: #151515; transition: background .3s;
}
.tt-axis .tt-head { background: transparent; border-color: transparent; color: var(--muted); font-size: .72rem; justify-content: flex-end; padding-right: 14px; }
.tt-head em { display: none; font-style: normal; font-size: .62rem; letter-spacing: .14em; background: #fff; color: var(--red); padding: 3px 7px; }
.tt-day.is-today .tt-head { background: var(--red); border-color: var(--red-dark); }
.tt-day.is-today .tt-head em { display: inline-block; }
.tt-time { display: flex; flex-direction: column; align-items: flex-end; padding: 14px 14px 0 0; }
.tt-time strong { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1; }
.tt-time span { font-family: var(--font-display); font-weight: 700; font-size: .7rem; letter-spacing: .16em; color: var(--muted); }

.tt-slot {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--panel); padding: 20px 20px 18px 24px;
  transition: background .25s, transform .25s, opacity .35s, border-color .25s;
}
.tt-slot::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.tt-slot.junior::before { background: #fff; }
.tt-slot.adult::before { background: var(--red); }
.tt-slot b { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; line-height: 1.15; color: #fff; }
.tt-slot span { display: block; font-family: var(--font-display); font-weight: 600; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.tt-slot time { font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--red); }
.tt-slot.junior time { color: #fff; }
.tt-slot:hover { background: #1e1e1e; transform: translateY(-3px); }
.tt-day.is-today .tt-slot { border-color: rgba(214,21,29,.55); }
.tt[data-filter="junior"] .tt-slot.adult,
.tt[data-filter="adult"] .tt-slot.junior { opacity: .12; transform: none; }
.tt-slot.is-live::after {
  content: 'On now'; position: absolute; bottom: 16px; right: 14px;
  font: 800 .62rem var(--font-display); letter-spacing: .16em; text-transform: uppercase;
  background: var(--red); color: #fff; padding: 4px 8px; animation: pulse 1.6s infinite;
}

.tt-private {
  margin-top: 10px; margin-left: 106px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 26px 30px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 12px, transparent 12px 24px);
}
.tt-private b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: #fff; }
.tt-private span { font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.tt-status { margin: 22px 0 0 106px; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--muted); }
.tt-status strong { color: #fff; }

/* ---------- Why train ---------- */

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 7vw, 110px); align-items: center; }
.why-media { position: relative; padding: 0 70px 90px 0; }
.why-big { aspect-ratio: 4 / 5; }
.why-small { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1 / 1; box-shadow: 0 24px 60px rgba(0,0,0,.65); }
.why-badge { position: absolute; left: -34px; top: 40px; width: 150px; height: 150px; border-radius: 50%; background: var(--red); display: grid; place-items: center; z-index: 2; box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.why-badge img { width: 54px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.badge-ring { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); animation: spin 16s linear infinite; }
.badge-ring text { fill: #fff; font: 700 11px var(--font-motto); letter-spacing: 3.4px; }
.why-copy p { max-width: 540px; }
.why-copy .display .outline { display: block; }
.why-kicker { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.15; letter-spacing: -.02em; color: #fff; margin: 30px 0 34px; }
.why-kicker span { color: var(--red); }
.values { list-style: none; padding: 0; margin: clamp(70px, 9vw, 110px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.values li {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 10px; text-align: center;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: 1;
  font-size: clamp(1.5rem, 2.6vw, 2.6rem);
  color: #fff; transition: color .35s;
}
.values li:first-child { border-left: 0; }
.values li span { font-size: .8rem; font-weight: 800; letter-spacing: .14em; color: var(--red); }
.values li:hover { color: var(--red); }
.values li:nth-child(4) { color: var(--red); }

/* ---------- Head coach ---------- */
.coach { background: transparent; }
.coach-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(50px, 7vw, 110px); align-items: start; }
.coach-side { position: sticky; top: 110px; }
.coach-media { aspect-ratio: 4 / 5; box-shadow: -22px 22px 0 var(--red); margin-left: 22px; }
.coach-media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 28px 30px;
  font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: -.02em; line-height: 1; color: #fff;
}
.coach-media figcaption span { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; }
.quals { list-style: none; padding: 0; margin: 0; }
.quals li { display: flex; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: #fff; line-height: 1.3; }
.quals li:first-child { }
.quals svg { width: 20px; height: 20px; flex: none; fill: var(--red); }
.coach-name { font-size: clamp(3.4rem, 7.4vw, 7rem); margin-bottom: 18px; }
.coach-name .outline { display: block; }
.coach-role { font-family: var(--font-display); font-weight: 700; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 40px; }
.coach-role i { font-style: normal; color: var(--red); margin: 0 8px; }
.coach-profile p:not(.lead) { color: #fff; }

.levels { list-style: none; padding: 0; margin: 50px 0 70px; display: grid; grid-template-columns: repeat(4, 1fr); }
.levels li {
  position: relative; padding: 26px 20px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; color: #fff;
}
.levels li:first-child { border-left: 0; color: var(--muted); }
.levels li:nth-child(2) { background: rgba(214,21,29,.18); }
.levels li:nth-child(3) { background: rgba(214,21,29,.45); }
.levels li:nth-child(4) { background: var(--red); }
.levels li:not(:last-child)::after {
  content: ''; position: absolute; right: -9px; top: 50%; z-index: 1; width: 16px; height: 16px;
  background: inherit; transform: translateY(-50%) rotate(45deg);
}
.levels li:first-child::after { background: #141414; }

.sub-head { font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; color: #fff; margin-bottom: 14px; }
.accordion details { }
.accordion details:first-child { }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 24px 0;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 1.8vw, 1.35rem); letter-spacing: -.01em; color: #fff; transition: color .2s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--red); }
.acc-num { font-size: .8rem; color: var(--red); letter-spacing: .1em; }
.accordion summary i { margin-left: auto; position: relative; width: 18px; height: 18px; flex: none; }
.accordion summary i::before, .accordion summary i::after { content: ''; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: currentColor; transition: transform .3s; }
.accordion summary i::after { transform: rotate(90deg); }
.accordion details[open] summary i::after { transform: rotate(0); }
.accordion details[open] summary { color: var(--red); }
.accordion ul { list-style: none; margin: 0; padding: 0 0 26px 40px; animation: fadeIn .4s; }
.accordion li { position: relative; padding: 7px 0 7px 24px; color: #fff; }
.accordion li::before { content: ''; position: absolute; left: 0; top: 1.05em; width: 8px; height: 8px; background: var(--red); }

/* ---------- Vision ---------- */
.vision { position: relative; isolation: isolate; overflow: hidden; padding: clamp(110px, 13vw, 170px) 0 0; }
.vision-bg { position: absolute; inset: 0; z-index: -2; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 70%, transparent 100%); background: var(--vision-img) center 30% / cover no-repeat, #0b0b0b; filter: grayscale(1) contrast(1.3) brightness(.38); }
.vision::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, transparent 0%, rgba(11,11,11,.35) 30%, rgba(11,11,11,.5) 65%, transparent 100%);
}
.vision-inner { max-width: 1060px; text-align: center; }
.vision-inner .eyebrow { justify-content: center; }
.vision-quote { margin: 0; }
.vision-quote::before { content: '“'; display: block; font-family: var(--font-display); font-weight: 900; font-size: 9rem; line-height: .7; color: var(--red); margin-bottom: 10px; }
.vision-quote p { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3.6vw, 3.1rem); line-height: 1.15; letter-spacing: -.025em; color: #fff; }
.vision-quote footer { font-family: var(--font-display); font-weight: 800; font-size: .95rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.vision-quote footer span { color: var(--muted); margin-left: 10px; }
.vision-text { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; text-align: left; margin-top: 60px; }
.vision-text p { color: #fff; }
.slogan { margin-top: clamp(80px, 10vw, 130px); padding: clamp(30px, 4vw, 50px) clamp(16px, 3.6vw, 72px); display: flex; flex-direction: column; }
.slogan span {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: -.04em; line-height: .92;
  font-size: clamp(2.2rem, 6vw, 7rem); color: #fff;
}
.slogan span:nth-child(2) { align-self: center; color: #fff; }
.slogan span:nth-child(3) { align-self: flex-end; color: var(--red); }

/* ---------- Contact ---------- */
.contact-inner { text-align: center; max-width: 820px; }
.contact-inner .eyebrow { justify-content: center; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.location { font-style: normal; font-size: 1.15rem; line-height: 1.7; color: #fff; margin-bottom: 22px; }
.location strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; color: var(--red); margin-bottom: 6px; }
.contact-email { margin-bottom: 30px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.contact-email a { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #fff; border-bottom: 2px solid var(--red); transition: color .2s; }
.contact-email a:hover { color: var(--red); }
.quals-head { margin: 46px 0 6px; }
.coach-main .sub-head { margin-top: 10px; }
.contact { background: transparent; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact-info dl { margin: 36px 0 0; display: grid; grid-template-columns: 90px 1fr; gap: 16px 20px; }
.contact-info dt { font-family: var(--font-display); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red); font-weight: 700; padding-top: 4px; }
.contact-info dd { margin: 0; color: #fff; }
.contact-info dd a:hover { color: var(--red); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: var(--panel); padding: clamp(24px, 4vw, 46px); border-top: 4px solid var(--red); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  background: #0d0d0d; border: 1px solid var(--line); color: #fff; padding: 15px 16px; font: inherit; font-size: 1rem; border-radius: 0; width: 100%; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field.has-error input { border-color: var(--red); }
.form-note { margin: 0; font-weight: 600; color: #fff; min-height: 1.4em; }

/* ---------- Footer (centred, white only) ---------- */
.site-footer { position: relative; overflow: hidden; padding: clamp(80px, 9vw, 120px) 0 36px; text-align: center; color: #fff; }
.site-footer::before { content: ''; position: absolute; left: 50%; bottom: -30%; width: 70%; height: 70%; transform: translateX(-50%); background: var(--red); filter: blur(170px); opacity: .14; pointer-events: none; }
.footer-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.footer-logo { width: clamp(220px, 24vw, 300px); margin-bottom: 36px; }
.footer-tag { margin: 0 0 44px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 3rem); letter-spacing: -.03em; line-height: 1; text-transform: uppercase; color: #fff; }
.footer-tag span { color: var(--red); }
.footer-social { list-style: none; margin: 0 0 44px; padding: 0; display: flex; align-items: center; gap: 14px; }
.footer-social::before, .footer-social::after { content: ''; width: 46px; height: 2px; background: var(--red); }
.footer-social a { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--red); transition: background .25s, color .25s, transform .25s; }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-social a:hover { background: var(--red); color: #fff; transform: translateY(-3px); }
.footer-bottom { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 8px; font-size: .9rem; color: #fff; }
.footer-motto { font-family: var(--font-motto); font-weight: 700; letter-spacing: .32em; color: #fff; }
.credit { color: #fff; font-weight: 700; border-bottom: 1px solid var(--red); transition: color .2s; }
.credit:hover { color: var(--red); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1), filter 1s cubic-bezier(.2,.7,.2,1), clip-path 1.2s cubic-bezier(.7,0,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }

/* Headings: rise up from behind a mask */
.display.reveal, .class-title, .coach-name { clip-path: inset(-20% -5% 98% -5%); }
.display.reveal { filter: none; transform: translateY(60px); }
.display.reveal.is-visible, .is-visible .class-title, .coach-name.is-visible { clip-path: inset(-20% -5% -30% -5%); transform: none; }
.class-title { transition: clip-path 1.1s cubic-bezier(.7,0,.2,1) .15s; }

/* Photos: wipe in from the bottom, image settles from a zoom */
.media.reveal, .svc.reveal, .why-media.reveal { opacity: 1; filter: none; transform: none; clip-path: inset(0 0 99% 0); }
.media.reveal.is-visible, .svc.reveal.is-visible, .why-media.reveal.is-visible { clip-path: inset(-80px -80px -80px -80px); }
.media.reveal img, .svc.reveal img, .why-media.reveal img { transform: scale(1.25); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.media.reveal.is-visible img, .svc.reveal.is-visible img, .why-media.reveal.is-visible img { transform: scale(1.02); }
.media.reveal.is-visible:hover img, .svc.reveal.is-visible:hover img { transform: scale(1.07); }

/* Slogan lines slide in from the sides */
.slogan .reveal:nth-child(1) { transform: translateX(-12vw); }
.slogan .reveal:nth-child(3) { transform: translateX(12vw); }
.slogan .reveal.is-visible { transform: none; }

/* Timetable cells cascade in */
.tt.is-visible .tt-head, .tt.is-visible .tt-slot, .tt.is-visible .tt-time { animation: cellIn .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0s); }
@keyframes cellIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Keyframes ---------- */
@keyframes heroIn { to { transform: scale(1); } }
@keyframes lineUp { from { opacity: 0; transform: translateY(60%); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { opacity: .55; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { gap: 22px; }
  .main-nav a { font-size: .95rem; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-left: 0; }
  .tt { grid-template-columns: 80px repeat(5, 1fr); gap: 8px; }
  .tt-private, .tt-status { margin-left: 88px; }
  .tt-head { font-size: .8rem; letter-spacing: .06em; }
  .tt-slot { padding: 16px 14px 14px 18px; }
  .levels { grid-template-columns: repeat(2, 1fr); }
  .levels li:nth-child(3) { border-left: 0; }
  .levels li::after { display: none; }
  .svc-grid { gap: 14px; }
  .svc-body { padding: 24px 20px; }
}

/* Tablet + mobile: single column, everything centred */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-icons { margin-left: 0; gap: 20px; }
  .icon-btn { width: 22px; height: 22px; }
  .icon-btn svg { width: 19px; height: 19px; stroke-width: 1.4; }
  .icon-cal { display: none; }
  .icon-menu svg.dots { display: none; }
  .icon-menu svg.bars { display: block; width: 24px; height: 24px; stroke-width: 1.6; }

  /* hero centred — socials become a horizontal row above the scroll badge */
  .hero-content { text-align: center; padding: 0 16px 236px; }
  .hero-title { font-size: clamp(3.4rem, 15vw, 7rem); }
  .hero-social { top: auto; bottom: 152px; left: 50%; right: auto; transform: translateX(-50%); flex-direction: row; gap: 10px; }
  .hero-social::before, .hero-social::after { width: 34px; height: 2px; }
  .hero-social a { width: 32px; height: 32px; }
  .hero-social svg { width: 15px; height: 15px; }
  .footer-social a { width: 42px; height: 42px; }
  .footer-social svg { width: 17px; height: 17px; }
  .scroll-badge { width: 104px; height: 104px; right: auto; left: 50%; bottom: 30px; transform: translateX(-50%); }
  .scroll-btn { width: 50px; height: 50px; }

  .why-grid, .coach-grid, .contact-grid, .vision-text { grid-template-columns: 1fr; }
  .vision-text { gap: 0; }
  .svc-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .svc { aspect-ratio: 4 / 5; text-align: center; }
  .svc-num { left: 50%; transform: translateX(-50%); }
  .svc p { max-height: none; opacity: 1; }
  .svc-arrow { margin: 18px auto 0; }

  .class-row { grid-template-columns: 1fr; min-height: 0; }
  .class-row--flip .class-media { order: 0; }
  .class-media, .class-row--flip .class-media { min-height: 0; aspect-ratio: 4 / 3;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 15%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 15%, #000 80%, transparent 100%); }
  .class-num, .class-row--flip .class-num { left: 50%; right: auto; bottom: 14%; transform: translateX(-50%); }
  .class-copy { padding: 50px var(--gutter) 70px; max-width: 640px; margin: 0 auto; text-align: center; }
  .pills { justify-content: center; }
  .punch { border-left: 0; padding-left: 0; }
  .punch::before { content: ''; display: block; width: 40px; height: 3px; background: var(--red); margin: 0 auto 14px; }
  .price-tag { justify-content: center; }

  .eyebrow { justify-content: center; }
  .why-copy, .coach-main, .contact-info, .vision-text { text-align: center; }
  .why-copy p { margin-left: auto; margin-right: auto; }
  .why-media { max-width: 520px; margin: 0 auto; padding: 0 50px 70px 0; }
  .why-badge { left: -10px; width: 120px; height: 120px; }
  .why-badge img { width: 44px; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .values li:nth-child(3) { border-left: 0; }

  .coach-side { position: static; text-align: center; }
  .coach-media { max-width: 460px; aspect-ratio: 1 / 1; margin: 0 auto; box-shadow: 0 16px 0 var(--red); }
  .quals { max-width: 460px; margin-left: auto; margin-right: auto; }
  .quals li { justify-content: center; text-align: center; flex-direction: column; gap: 8px; }
  .levels li { text-align: center; }
  .sub-head { text-align: center; }
  .accordion summary { justify-content: center; text-align: center; gap: 14px; padding: 22px 8px; }
  .acc-num { display: none; }
  .accordion summary i { margin-left: 0; }
  .accordion ul { padding: 0 0 26px; }
  .accordion li { padding: 8px 0; }
  .accordion li::before { position: static; display: block; margin: 0 auto 8px; }

  .tt { grid-template-columns: 1fr; gap: 10px; }
  .tt-axis { display: none; }
  .tt-day { grid-template-columns: 130px 1fr 1fr; grid-template-rows: auto; }
  .tt-head { flex-direction: column; justify-content: center; padding: 0 16px; }
  .tt-slot { min-height: 130px; align-items: center; text-align: center; padding: 18px 14px 18px 18px; }
  .tt-private { margin-left: 0; flex-direction: column; text-align: center; }
  .tt-status { margin-left: 0; text-align: center; }

  .slogan { text-align: center; }
  .slogan span, .slogan span:nth-child(2), .slogan span:nth-child(3) { align-self: center; }

  .contact-info dl { grid-template-columns: 1fr; gap: 4px; }
  .contact-info dt { padding: 0; }
  .contact-info dd { margin-bottom: 14px; }
  .field label { text-align: center; }

}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .facts strong { font-size: 2rem; }
  .facts li { padding: 24px 10px; }
  .tt-day { grid-template-columns: 1fr 1fr; }
  .tt-head { grid-column: 1 / -1; flex-direction: row; justify-content: center; align-items: center; padding: 14px 16px; }
  .tt-slot b { font-size: 1rem; }
  .contact-form { grid-template-columns: 1fr; }
  .levels li { padding: 20px 10px; font-size: .9rem; }
  .vision-quote::before { font-size: 6rem; }
  .values li { font-size: 1.5rem; padding: 26px 6px; }
}
/* ---------- Mobile: floating rounded bar + drop-down menu ---------- */
@media (max-width: 900px) {
  .site-header, .site-header.is-scrolled { padding: 10px 10px 0; background: none; backdrop-filter: none; box-shadow: none; }
  .header-inner {
    padding: 12px 18px; border-radius: 20px;
    transition: background .35s, border-radius .35s, box-shadow .35s;
  }
  .brand img, .is-scrolled .brand img { width: 128px; }
  .site-header.is-scrolled .header-inner, .panel-open .site-header .header-inner {
    background: #0e0e0e; box-shadow: 0 12px 34px rgba(0,0,0,.55);
  }
  .panel-open .site-header .header-inner { border-radius: 20px 20px 0 0; box-shadow: none; }
  .panel-open .site-header { transform: none; }

  .icon-menu svg.bars { transition: transform .3s; }
  .panel-open .icon-menu svg.bars { display: none; }
  .panel-open .icon-menu svg.xmark { display: block; width: 22px; height: 22px; stroke-width: 1.6; animation: spinIn .35s cubic-bezier(.2,.7,.2,1); }
  @keyframes spinIn { from { transform: rotate(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }

  .panel-overlay { z-index: 40; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); }
  .side-panel {
    z-index: 45; top: var(--panel-top, 78px); left: 10px; right: 10px; bottom: auto; width: auto;
    max-height: calc(100svh - var(--panel-top, 78px) - 16px);
    padding: 6px 24px 28px; border-radius: 0 0 20px 20px; background: #0e0e0e;
    box-shadow: 0 24px 40px rgba(0,0,0,.6);
    transform: translateY(-14px); opacity: 0; visibility: hidden; text-align: center;
    clip-path: inset(0 0 100% 0 round 0 0 20px 20px);
    transition: opacity .3s, transform .5s cubic-bezier(.2,.7,.2,1), clip-path .5s cubic-bezier(.2,.7,.2,1), visibility .5s;
  }
  .panel-open .side-panel { transform: none; opacity: 1; visibility: visible; clip-path: inset(0 0 0 0 round 0 0 20px 20px); }
  .panel-close, .panel-logo { display: none; }
  .panel-nav { margin: 8px 0 18px; gap: 2px; }
  .panel-nav a { font-size: 1.55rem; padding: 6px 0; opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .5s cubic-bezier(.2,.7,.2,1), color .2s; }
  .panel-nav a:hover { padding-left: 0; }
  .panel-open .panel-nav a { opacity: 1; transform: none; }
  .panel-open .panel-nav a:nth-child(1) { transition-delay: .08s; }
  .panel-open .panel-nav a:nth-child(2) { transition-delay: .12s; }
  .panel-open .panel-nav a:nth-child(3) { transition-delay: .16s; }
  .panel-open .panel-nav a:nth-child(4) { transition-delay: .20s; }
  .panel-open .panel-nav a:nth-child(5) { transition-delay: .24s; }
  .panel-open .panel-nav a:nth-child(6) { transition-delay: .28s; }
  .panel-info { padding-top: 6px; }
  .panel-info h6 { margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .display.reveal, .media.reveal, .svc.reveal, .why-media.reveal, .class-title, .coach-name { opacity: 1; transform: none; filter: none; clip-path: none; }
}
