/* ==========================================================================
   Doncaster Personal Training
   ========================================================================== */

:root {
  --bg: #0b0c0d;
  --bg-2: #101214;
  --surface: #15171a;
  --surface-2: #1b1e22;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f3f1ec;
  --muted: #a4a7aa;
  --faint: #6f7377;
  --accent: #d4ff3a;
  --accent-hover: #e2ff74;
  --accent-soft: rgba(212, 255, 58, 0.1);
  --accent-line: rgba(212, 255, 58, 0.35);
  --accent-ink: #0b0c0d;

  --radius: 20px;
  --radius-sm: 12px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;

  --font-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: dark;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

/* Stop the page sliding sideways on phones. The html element owns the page scroll;
   the body uses clip (not hidden) so the sticky header and schedule headings keep working. */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  width: 100%;
  position: relative;
}

[hidden] { display: none !important; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */

.display {
  font-size: clamp(2.7rem, 7.4vw, 6rem);
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: -0.025em;
}

.h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  text-transform: uppercase;
  line-height: 0.98;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--muted);
  max-width: 58ch;
}

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

.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 0.76rem/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(212, 255, 58, 0.15);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-2);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, gap 0.2s;
}
.text-link:hover { border-color: var(--accent); gap: 12px; }
.text-link svg { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 0.98rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn-dark { background: var(--accent-ink); color: var(--text); }
.btn-dark:hover { background: #22262b; transform: translateY(-1px); }
.btn-sm { padding: 11px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 12, 13, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.brand-text span {
  margin-top: 3px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.site-nav a:not(.btn):hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--accent);
}
.site-nav .btn { margin-left: 10px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a:not(.btn) {
    padding: 16px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-stretch: 118%;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
  }
  .site-nav a:not(.btn):hover { background: none; }
  .site-nav a[aria-current="page"] { color: var(--accent); }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav .btn { margin: 20px 0 0; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(72px, 10vw, 128px); }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-tight { padding-block: clamp(28px, 4vw, 48px) clamp(48px, 7vw, 88px); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 20px 56px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head .h2 { margin-top: 18px; }
.section-head .lede { margin: 0; }

@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; }
}

.grid-bg { position: relative; isolation: isolate; overflow: hidden; }
.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 70% 20%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 70% at 70% 20%, #000 25%, transparent 75%);
}
.grid-bg::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -30%;
  right: -12%;
  width: min(780px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 255, 58, 0.16), transparent 62%);
  pointer-events: none;
}

/* ---------- Hero (home) ---------- */

.hero { padding-block: clamp(56px, 9vw, 120px) clamp(56px, 8vw, 104px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: end;
}

.hero h1 { margin: 24px 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.hero-meta strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-family: var(--font-display);
  font-stretch: 118%;
  font-size: 1.35rem;
  font-weight: 800;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Cards ---------- */

.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px);
}

.avail-card { box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.avail-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.avail-card-head h2 {
  font-size: 1.05rem;
  font-stretch: 115%;
  text-transform: uppercase;
  letter-spacing: 0;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}
.live::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 255, 58, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(212, 255, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 255, 58, 0); }
}

.avail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.avail-list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}
.avail-list a:hover {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  transform: translateX(2px);
}
.avail-date {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  line-height: 1;
}
.avail-date small {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.avail-date b { font-family: var(--font-display); font-size: 1.15rem; }
.avail-time { display: block; font-weight: 600; }
.avail-who { display: block; font-size: 0.86rem; color: var(--muted); }
.avail-go { color: var(--accent); }
.avail-go svg { width: 20px; height: 20px; }
.avail-empty { color: var(--muted); font-size: 0.95rem; }

.avail-foot {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
}
.avail-foot-row { display: flex; justify-content: space-between; gap: 12px; }
.avail-foot-row b { color: var(--text); }

.meter {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.6s var(--ease);
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  padding-block: 18px;
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(1rem, 2vw, 1.35rem);
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-group i { font-style: normal; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.features-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1040px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .features-3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
}
.feature {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.feature:hover { border-color: var(--line-2); transform: translateY(-3px); }
.feature h3 { margin-bottom: 10px; font-size: 1.2rem; font-stretch: 110%; }
.feature p { color: var(--muted); font-size: 0.97rem; }
.feature-num {
  position: absolute;
  top: 26px; right: 26px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--faint);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  margin-bottom: 30px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}
.icon-box svg { width: 24px; height: 24px; }

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Split / goals ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.split .h2 { margin-top: 18px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  font-weight: 500;
  font-size: 0.97rem;
  transition: border-color 0.2s, background 0.2s;
}
.chip:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.chip svg { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Coaches ---------- */

.coaches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 20px;
}
.coach {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.25s;
}
.coach:hover { border-color: var(--line-2); }

.coach-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 15%, rgba(212, 255, 58, 0.16), transparent 55%),
    linear-gradient(140deg, #1f2328, #111316);
}
.coach-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 14px);
}
.coach-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.coach-initials {
  position: relative;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(5rem, 11vw, 7.5rem);
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(212, 255, 58, 0.6);
}
.coach-badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.coach-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 26px 28px 30px; }
.coach-role {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.coach h3 { font-size: 1.75rem; text-transform: uppercase; }
.coach p { color: var(--muted); }
.coach .text-link { margin-top: auto; }
.coach-body > p:last-of-type { margin-bottom: 14px; }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step {
  padding: 30px 28px 32px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--line-2);
  border-radius: 4px 4px var(--radius) var(--radius);
  background: var(--surface);
  transition: border-top-color 0.25s;
}
.step:hover { border-top-color: var(--accent); }
.step-num {
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
}
.step h3 { margin-bottom: 10px; font-size: 1.25rem; font-stretch: 110%; }
.step p { color: var(--muted); }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) auto;
  gap: 28px 40px;
  align-items: center;
  overflow: hidden;
  padding: clamp(36px, 6vw, 72px);
  border-radius: calc(var(--radius) + 8px);
  background: var(--accent);
  color: var(--accent-ink);
  isolation: isolate;
}
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  border: 40px solid rgba(11, 12, 13, 0.06);
}
.cta-band::before { width: 340px; height: 340px; right: -90px; bottom: -150px; }
.cta-band::after { width: 180px; height: 180px; right: 160px; top: -110px; border-width: 26px; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.8rem); text-transform: uppercase; line-height: 0.96; }
.cta-band p { margin-top: 16px; max-width: 52ch; font-size: 1.08rem; opacity: 0.78; }
@media (max-width: 760px) {
  .cta-band { grid-template-columns: 1fr; }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding-block: clamp(56px, 8vw, 108px) clamp(44px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin: 22px 0 22px; }
.page-hero .lede { margin: 0; }

.page-hero-compact { padding-block: clamp(28px, 4vw, 48px) clamp(24px, 3.5vw, 40px); }
.page-hero-compact .display { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.page-hero-compact h1 { margin: 14px 0 12px; }
.page-hero-compact .session-facts { margin-top: 18px; }
@media (max-width: 600px) {
  .page-hero-compact .lede { font-size: 0.98rem; }
  .page-hero-compact .session-facts { gap: 8px; margin-top: 14px; }
  .page-hero-compact .session-facts .chip { padding: 7px 12px; font-size: 0.8rem; gap: 7px; }
}

/* ---------- About ---------- */

.prose p { color: var(--muted); font-size: 1.07rem; }
.prose p.big { color: var(--text); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.stat { padding: 28px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-stretch: 122%;
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1;
  text-transform: uppercase;
}
.stat span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

.kit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.kit-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  font-weight: 500;
}
.kit-item .icon-box { width: 42px; height: 42px; margin: 0; flex: none; border-radius: 12px; }
.kit-item .icon-box svg { width: 20px; height: 20px; }
@media (max-width: 520px) {
  .kit { grid-template-columns: 1fr; }
}

.callout {
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 3px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: var(--accent-soft);
  color: var(--text);
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.info-list { display: grid; gap: 12px; }
.info-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.info-item > div { min-width: 0; overflow-wrap: anywhere; }
.info-item .icon-box { margin: 0; }
.info-item h2 {
  margin-bottom: 6px;
  font: 600 0.76rem/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.info-item address,
.info-item p { margin: 0; font-style: normal; font-size: 1.05rem; }
.info-item a:not(.text-link) { text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.info-item a:not(.text-link):hover { text-decoration-color: var(--accent); }
.info-item .text-link { margin-top: 12px; font-size: 0.92rem; }
.hours { display: grid; grid-template-columns: auto auto; gap: 4px 24px; width: fit-content; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; }

.form-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); text-transform: uppercase; }
.form-card > p { margin: 10px 0 26px; color: var(--muted); }

.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}
.field { display: grid; gap: 8px; }
.field label { font-size: 0.88rem; font-weight: 500; color: var(--muted); }
.field label .opt { color: var(--faint); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(212, 255, 58, 0.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a4a7aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.form-note { font-size: 0.85rem; color: var(--faint); }
.form-note a { color: var(--muted); }

.notice {
  display: none;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--accent-line);
  border-radius: 14px;
  background: var(--accent-soft);
}
.notice.is-shown { display: grid; }
.notice strong { color: var(--accent); }
.notice p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.notice a { color: var(--text); }

.map {
  position: relative;
  overflow: hidden;
  height: clamp(300px, 40vw, 440px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.88) brightness(0.95);
}
.map-pin {
  position: absolute;
  left: 16px; bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.map-pin svg { width: 20px; height: 20px; flex: none; }

/* ---------- Schedule ---------- */

.session-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.session-facts .chip { font-size: 0.9rem; padding: 10px 16px; }

.sched-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.seg {
  display: inline-flex;
  gap: 2px;
  max-width: 100%;
  padding: 4px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg button {
  flex: none;
  padding: 10px 16px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.seg button small { display: block; margin-top: 3px; font-size: 0.72rem; opacity: 0.7; }

.sched-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.stat-card {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.stat-card-label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.stat-card-value {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
}
.stat-card-value small {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; }
.legend .lg-free { background: var(--accent-soft); border: 1px solid var(--accent-line); }
.legend .lg-booked { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.legend .lg-pending { border: 1px dashed var(--accent); }

.day-tabs { display: none; margin-bottom: 12px; }
.day-tabs button { min-width: 64px; text-align: center; }

.sched-wrap {
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.sched-grid {
  display: grid;
  grid-template-columns: 72px repeat(var(--days, 6), minmax(0, 1fr));
  gap: 1px;
}
.sched-grid > * { background: var(--surface); }

.sched-corner,
.day-head {
  position: sticky;
  top: var(--header-h);
  z-index: 2;
  background: var(--surface-2);
}
.day-head { padding: 14px 8px 12px; text-align: center; line-height: 1.25; }
.day-head .dow {
  display: block;
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 800;
  text-transform: uppercase;
}
.day-head .date { display: block; font-size: 0.84rem; color: var(--muted); }
.day-head .free { display: block; margin-top: 4px; font-size: 0.74rem; font-weight: 600; color: var(--accent); }
.day-head .free.is-none { color: var(--faint); }

.time-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.slot-cell { display: flex; flex-direction: column; gap: 5px; padding: 5px; container-type: inline-size; }

.slot {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 38px;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.15;
  text-align: left;
}
.slot-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.slot-text b, .slot-text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot-text b { font-weight: 600; }
.slot-text span { font-size: 0.72rem; opacity: 0.85; }
.slot .avatar { --av: 26px; }
.slot.is-free .avatar { border-color: var(--accent-line); }
.slot.is-free:hover .avatar,
.slot.is-free:focus-visible .avatar { border-color: var(--accent-ink); }
.slot.is-booked .avatar { filter: grayscale(1); opacity: 0.45; }

.slot-status {
  flex: none;
  margin-left: auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
}
.slot.is-free .slot-status { background: var(--accent); color: var(--accent-ink); }
.slot.is-free:hover .slot-status,
.slot.is-free:focus-visible .slot-status { background: var(--accent-ink); color: var(--accent); }
.slot.is-pending .slot-status { background: transparent; border: 1px dashed var(--accent); color: var(--accent); }

.slot.is-free {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s var(--ease);
}
.slot.is-free:hover,
.slot.is-free:focus-visible { background: var(--accent); color: var(--accent-ink); transform: translateY(-1px); }
.slot.is-booked { background: rgba(255, 255, 255, 0.035); color: var(--faint); }
.slot.is-pending { border: 1px dashed var(--accent); background: transparent; color: var(--text); }
.slot.is-past { border-color: var(--line); background: transparent; color: var(--faint); opacity: 0.55; }
.slot.is-past .avatar { filter: grayscale(1); }

.day-head.is-today { box-shadow: inset 0 2px 0 var(--accent); }
.day-head.is-today .dow { color: var(--accent); }
.day-head .day-coaches { margin-top: 6px; }
.day-head .day-coaches .avatar { --av: 22px; box-shadow: 0 0 0 2px var(--surface-2); }

.sched-empty { grid-column: 1 / -1; margin: 0; padding: 40px 24px; text-align: center; color: var(--muted); }

/* Week view: the colour shows the status, so the status pill only appears in roomy cells. */
@container (max-width: 210px) {
  .slot-status { display: none; }
}
/* Narrower day columns: shrink the photo and text so name and position still fit. */
@container (max-width: 165px) {
  .slot { gap: 6px; padding-inline: 6px; }
  .slot .avatar { --av: 22px; }
  .slot-text span { font-size: 0.66rem; }
}
@container (max-width: 130px) {
  .slot .avatar { --av: 20px; }
  .slot-text b { font-size: 0.76rem; }
  .slot-text span { font-size: 0.62rem; }
}
@container (max-width: 116px) {
  .slot .avatar { display: none; }
}

.sched-note { margin-top: 16px; font-size: 0.88rem; color: var(--faint); }

@media (max-width: 600px) {
  .sched-controls .seg { display: grid; width: 100%; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .sched-controls [data-week-tabs] { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sched-controls .seg button { padding: 10px 8px; }
  .seg.day-tabs { grid-template-columns: repeat(var(--day-cols, 3), minmax(0, 1fr)); }
  .sched-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sched-summary .stat-card:first-child,
  .sched-summary .stat-card:last-child:nth-child(even) { grid-column: 1 / -1; }
  .stat-card { padding: 16px; }
  .sched-summary .stat-card-who { flex-direction: column; align-items: flex-start; gap: 8px; }
  .stat-card-value { font-size: 1.35rem; }
}

@media (max-width: 1100px) {
  .day-tabs { display: grid; width: 100%; grid-template-columns: repeat(var(--days, 6), minmax(0, 1fr)); }
  .sched-grid { grid-template-columns: 64px minmax(0, 1fr); }
  .sched-grid [data-day]:not(.is-active-day) { display: none; }
  .slot { min-height: 52px; gap: 12px; padding: 8px 14px; font-size: 0.9rem; }
  .slot .avatar { --av: 34px; }
  .slot-text span { font-size: 0.78rem; }
}

/* ---------- Coach avatars ---------- */

.avatar {
  --av: 28px;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: var(--av);
  height: var(--av);
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: linear-gradient(140deg, #262a30, #16181b);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-initials {
  color: var(--accent);
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: calc(var(--av) * 0.36);
  letter-spacing: 0.02em;
  line-height: 1;
}
.avatar-stack { display: inline-flex; }
.avatar-stack .avatar + .avatar { margin-left: -9px; }
.avatar-stack .avatar { box-shadow: 0 0 0 2px var(--surface); }

.coach-tab { display: inline-flex; align-items: center; gap: 9px; }
.coach-tab .avatar { --av: 26px; }
.seg button[aria-pressed="true"] .avatar-stack .avatar { box-shadow: 0 0 0 2px var(--text); }

.stat-card-who { display: flex; align-items: center; gap: 12px; line-height: 1.25; }
.stat-card-who .avatar { --av: 38px; }
.stat-card-who b { display: block; font-weight: 600; }
.stat-card-who small { display: block; font-size: 0.8rem; color: var(--muted); }
.stat-card-sub { margin-top: -4px; font-size: 0.82rem; color: var(--muted); }

.session-summary .session-coach { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--text); font-weight: 500; }
.session-coach .avatar { --av: 36px; }
.session-coach small { display: block; font-size: 0.82rem; font-weight: 400; color: var(--muted); }

@media (max-width: 600px) {
  .coach-tab { flex-direction: column; gap: 6px; font-size: 0.82rem; }
  .coach-tab .avatar { --av: 30px; }
}

/* ---------- Booking dialog ---------- */

.modal {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.modal::backdrop { background: rgba(5, 6, 7, 0.72); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in 0.25s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 26px 0;
}
.modal-head h2 { font-size: 1.6rem; text-transform: uppercase; }
.modal-body { padding: 20px 26px 26px; }

.close-btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: none;
  color: var(--text);
  cursor: pointer;
}
.close-btn:hover { border-color: var(--text); }
.close-btn svg { width: 18px; height: 18px; }

.session-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid var(--accent-line);
  border-radius: 16px;
  background: var(--accent-soft);
}
.session-summary .avail-date { width: 56px; height: 56px; }
.session-summary strong { display: block; font-size: 1.05rem; }
.session-summary div > span { display: block; font-size: 0.9rem; color: var(--muted); }

.success-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
}
.success-icon svg { width: 26px; height: 26px; stroke-width: 2.4; }
.modal-success h3 { margin-bottom: 10px; font-size: 1.4rem; text-transform: uppercase; }
.modal-success p { color: var(--muted); }
.modal-success .btn { margin-top: 10px; }

/* ---------- Footer ---------- */

.site-footer { padding-top: clamp(56px, 8vw, 88px); border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer-grid > div > p { max-width: 34ch; margin-top: 18px; color: var(--muted); }
.footer-grid h2 {
  margin-bottom: 16px;
  font: 600 0.76rem/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.footer-grid address,
.footer-grid dd,
.footer-grid dt { font-style: normal; color: var(--muted); margin: 0; }
.footer-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

.footer-word {
  width: 100%;
  margin-top: clamp(48px, 7vw, 80px);
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1;
}
.footer-word text {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 150px;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.88rem;
}
.footer-base a { color: var(--muted); text-decoration: none; }
.footer-base a:hover { color: var(--accent); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- 404 ---------- */

.not-found { min-height: 60vh; display: grid; align-content: center; }
.not-found .display { font-size: clamp(5rem, 20vw, 14rem); }

/* ---------- Motion ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .live::before { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .modal[open] { animation: none; }
}
