/* Triune MMA — single stylesheet */

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --border: #262626;
  --text: #f5f5f5;
  --text-muted: #a3a3a3;
  --text-dim: #8a8a8a;
  --accent: #e63946;
  --accent-hot: #ff4757;
  --accent-dim: #b8313e;
  --accent-text: #e0586a;
  --gold: #c8a35f;

  --font-display: "Anton", "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --container-narrow: 880px;
  --radius: 4px;
  --radius-lg: 8px;

  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 8px 32px rgba(230, 57, 70, 0.18);

  --header-h: 76px;
  --subnav-h: 90px;
}
@media (max-width: 480px) {
  :root { --header-h: 68px; --subnav-h: 110px; }
}
@media (min-width: 900px) {
  :root { --subnav-h: 68px; }
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgba(230, 57, 70, 0.35);
  scrollbar-width: thin;
  scrollbar-color: var(--accent-dim) #0d0d0d;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0d0d0d; }
::-webkit-scrollbar-thumb {
  background: var(--accent-dim);
  border: 2px solid #0d0d0d;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
::-webkit-scrollbar-corner { background: #0d0d0d; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.site-header, .nav-mobile summary, .btn, .nav-cta, .subnav, .prog-card {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; height: auto; }

a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-hot); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; letter-spacing: 0.08em; color: var(--text-muted); }

p { margin: 0 0 16px; max-width: 70ch; }

ul, ol { margin: 0 0 16px; padding-left: 24px; }
li { margin-bottom: 4px; }

hr { border: 0; border-top: 1px solid var(--border); margin: 48px 0; }

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

.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;
}

:focus-visible {
  outline: 2px solid var(--accent-hot);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -56px;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: top .15s;
}
.skip-link:focus {
  top: 8px;
  color: #fff;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ===== Layout ===== */

.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 16px; }
@media (min-width: 600px) {
  .container, .container-narrow { padding: 0 20px; }
}

section { padding: 48px 0; }
@media (min-width: 768px) { section { padding: 96px 0; } }

.section-alt { background: var(--surface); }
.section-dark { background: #050505; }

.section-head { margin-bottom: 48px; }
.section-head h2 { margin-bottom: 8px; }
.section-head .eyebrow { color: var(--accent-dim); font-family: var(--font-display); letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.85rem; font-weight: 600; }

.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.accent { color: var(--accent); }
.gold { color: var(--gold); }
.text-center { text-align: center; }

/* ===== Header / Nav ===== */

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
}
.brand:hover { color: var(--text); }
.brand__mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #000;
  display: block;
  flex-shrink: 0;
  transition: transform .2s;
}
.brand:hover .brand__mark { transform: rotate(-4deg); }
.brand__name {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.5rem;
  line-height: 0.9;
  display: flex;
  flex-direction: column;
}
.brand__name b { font-weight: 400; }
.brand__name em {
  font-style: normal;
  color: var(--accent-text);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  margin-top: 4px;
  font-family: var(--font-body);
  font-weight: 600;
}
@media (max-width: 480px) {
  .brand__mark { width: 44px; height: 44px; }
  .brand__name { font-size: 1.2rem; }
  .brand__name em { display: none; }
}

/* Footer brand uses the engraved wordmark image */
.brand-wordmark {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(0,0,0,0.4));
}
@media (min-width: 700px) {
  .brand-wordmark { width: 260px; }
}

/* Mobile nav uses <details> with hamburger icon */
.nav-mobile { position: relative; }
.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color .12s, background .12s;
  position: relative;
}
.nav-mobile summary:hover,
.nav-mobile[open] summary {
  border-color: var(--accent-dim);
  background: var(--surface);
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary::before,
.nav-mobile summary::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform .15s, box-shadow .15s;
}
.nav-mobile summary::before {
  transform: translate(-50%, -50%) translateY(-6px);
  box-shadow: 0 6px 0 currentColor;
}
.nav-mobile summary::after {
  transform: translate(-50%, -50%) translateY(6px);
}
.nav-mobile[open] summary::before {
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: none;
}
.nav-mobile[open] summary::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-mobile__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 240px;
  max-width: calc(100vw - 24px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow);
}
.nav-mobile__panel a {
  display: block;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border-left: 2px solid transparent;
  transition: color .12s, background .12s, border-color .12s;
}
.nav-mobile__panel a:hover,
.nav-mobile__panel a:focus { background: var(--bg); color: var(--accent); border-left-color: var(--accent-dim); }
.nav-mobile__panel a.is-active { color: var(--accent); border-left-color: var(--accent); }

.nav-desktop { display: none; }
.nav-desktop a {
  color: var(--text);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-desktop a:hover { color: var(--accent); }
.nav-desktop a.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.nav-desktop ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 9px 16px 9px 14px;
  border: 2px solid var(--accent-dim);
  border-radius: var(--radius);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
  white-space: nowrap;
}
.nav-cta svg {
  width: 15px;
  height: 15px;
  display: block;
  color: var(--accent-dim);
  transition: color .15s, transform .15s;
}
.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.nav-cta:hover svg { color: #fff; transform: rotate(-12deg); }
.nav-cta:active { transform: translateY(1px); }

@media (min-width: 900px) {
  .nav-mobile { display: none; }
  .nav-desktop { display: block; }
}

@media (max-width: 899px) {
  .site-header__inner { gap: 12px; }
  .nav-cta {
    margin-left: auto;
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
  }
  .nav-cta span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .nav-cta svg { width: 18px; height: 18px; }
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.45);
  transition: background .15s, color .15s, border-color .15s, transform .12s ease, box-shadow .12s ease;
  line-height: 1;
  position: relative;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.55); }
.btn:active { transform: translateY(0) scale(0.98); box-shadow: 0 1px 4px rgba(0,0,0,0.5); }

.btn--primary { background: var(--accent-dim); color: #fff; border-color: var(--accent-dim); }
.btn--primary:hover { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: var(--shadow-hover); }

.btn--ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,0.35); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(230,57,70,0.06); }

/* Plain credentials line — no chips */
.hero__meta {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 62ch;
  text-shadow: 0 1px 2px rgba(0,0,0,0.9), 0 0 12px rgba(0,0,0,0.6);
}
.hero__meta strong { color: var(--text); font-weight: 500; }

/* Kids gallery — two stacked photos in the discipline media slot */
.discipline__media.kids-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  aspect-ratio: auto;
  border: 0;
  background: transparent;
  overflow: visible;
}
.discipline__media.kids-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  filter: saturate(0.88) contrast(1.05) brightness(0.95);
}

/* Image placeholder for sections that need a real photo */
.media-placeholder {
  width: 100%;
  height: 100%;
  min-height: 240px;
  background: repeating-linear-gradient(45deg, #161616 0 12px, #1c1c1c 12px 24px);
  border: 1px dashed rgba(200, 163, 95, 0.45);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-family: var(--font-body);
}
.media-placeholder strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

/* Full-width photo band — real gym faces */
.photo-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
  background: #050505;
  padding: 6px;
}
.photo-band img {
  width: 100%;
  height: clamp(200px, 22vw, 260px);
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius);
  filter: saturate(0.9) contrast(1.05) brightness(0.96);
  transition: filter .25s, transform .4s;
}
.photo-band img:hover { filter: saturate(1) contrast(1.05) brightness(1); transform: scale(1.02); }
@media (max-width: 767px) {
  .photo-band { grid-template-columns: 1fr; }
  .photo-band img { aspect-ratio: 16 / 9; height: auto; }
}

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== Hero ===== */

.hero {
  position: relative;
  min-height: clamp(560px, 70vh, 720px);
  display: flex;
  align-items: center;
  padding: 64px 0;
  background: #000 60% top/cover no-repeat;
  overflow: hidden;
}
@media (orientation: landscape) and (max-height: 560px) {
  .hero { min-height: auto; padding: 48px 0; }
}
@media (min-width: 768px) {
  .hero { background-position: center 15%; }
}
@media (min-width: 1400px) {
  .hero { background-size: 1600px auto; background-position: center 15%; }
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.45) 42%, rgba(10,10,10,0.15) 70%, rgba(10,10,10,0.55) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.30) 0%, rgba(10,10,10,0.10) 35%, rgba(10,10,10,0.65) 80%, rgba(10,10,10,0.96) 100%);
}
.hero__inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 0 20px; width: 100%; }
.hero__eyebrow { color: var(--accent-dim); font-family: var(--font-display); letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; }
.hero h1 {
  font-size: clamp(2.5rem, 9vw, 5.5rem);
  margin-bottom: 20px;
  line-height: 0.92;
}
.hero h1 span { display: block; }
.hero h1 span + span { margin-top: 0.04em; }
.hero h1 span.accent { color: var(--accent); }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--text-muted); margin-bottom: 32px; max-width: 58ch; text-shadow: 0 1px 2px rgba(0,0,0,0.9), 0 0 12px rgba(0,0,0,0.6); }

/* Compact page banner (non-home pages) */
.page-banner {
  position: relative;
  padding: 96px 0 56px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-banner h1 { margin-bottom: 8px; }
.page-banner p { margin: 0 auto; color: var(--text-muted); }

/* ===== Programme grid ===== */

.prog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 600px) {
  .prog-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
  }
}
@media (min-width: 768px) { .prog-grid { gap: 24px; } }

.prog-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
@media (min-width: 600px) {
  .prog-card { aspect-ratio: 4 / 3; }
}
.prog-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-hover); color: var(--text); }
.prog-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.78;
  filter: saturate(0.9) contrast(1.05) brightness(0.96);
  transition: opacity .25s, transform .4s, filter .25s;
}
.prog-card:hover img { opacity: 0.92; filter: saturate(1) contrast(1.05) brightness(1); transform: scale(1.04); }
.prog-card__body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(180deg, rgba(10,10,10,0) 50%, rgba(10,10,10,0.95) 100%);
}
.prog-card h3 { margin: 0; font-size: 1.05rem; line-height: 1.05; }
@media (min-width: 600px) { .prog-card h3 { font-size: 1.35rem; } }
.prog-card__more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--accent);
}

/* ===== Programmes page (deep sections) ===== */

.subnav {
  position: -webkit-sticky;
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid var(--border);
}
.subnav ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: 18px;
  row-gap: 4px;
  list-style: none;
  margin: 0 auto;
  padding: 10px 16px;
  max-width: var(--container);
}
.subnav a {
  display: inline-block;
  padding: 11px 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: color .12s, border-color .12s;
  -webkit-tap-highlight-color: transparent;
}
.subnav a:hover,
.subnav a:focus,
.subnav a:active {
  color: var(--text);
  border-bottom-color: var(--accent);
}
@media (min-width: 768px) {
  .subnav ul { padding: 12px 20px; column-gap: 28px; }
  .subnav a { font-size: 0.9rem; padding: 6px 0; }
}

/* Mobile + tablet: image full-width above title, text below — bigger, readable */
.discipline {
  display: block;
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + var(--subnav-h) + 16px);
}
.discipline:last-child { border-bottom: 0; }
.discipline__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.discipline h2 {
  font-size: 1.6rem;
  margin: 0 0 12px;
  line-height: 1.05;
  letter-spacing: 0.04em;
}
.discipline p {
  font-size: 1rem;
  margin: 0 0 12px;
  line-height: 1.55;
}
.discipline p:last-child { margin-bottom: 0; }
.discipline ul {
  font-size: 1rem;
  margin: 12px 0;
  padding-left: 20px;
  line-height: 1.55;
}
.discipline ul li { margin-bottom: 6px; }
.discipline .btn--ghost {
  font-size: 0.85rem;
  padding: 10px 18px;
  margin-top: 12px;
}

/* Kids gallery section — full width, dual photos */
.discipline:has(.kids-gallery) .discipline__media {
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}

/* Desktop: magazine layout, alternating image-left / image-right */
@media (min-width: 900px) {
  .discipline {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 56px;
    align-items: center;
    padding: 56px 0;
    overflow: visible;
  }
  .discipline.reverse > .discipline__media { order: 2; }
  .discipline__media {
    float: none;
    width: auto;
    max-width: none;
    aspect-ratio: 4 / 3;
    margin: 0;
  }
  .discipline h2 { font-size: 2.5rem; line-height: 1.05; margin-bottom: 16px; letter-spacing: 0.04em; }
  .discipline p { font-size: 1rem; margin: 0 0 16px; line-height: 1.6; }
  .discipline ul { font-size: 1rem; line-height: 1.6; }
  .discipline ul li { margin-bottom: 6px; }
  .discipline .btn--ghost { font-size: 0.95rem; padding: 14px 28px; margin-top: 16px; }
  .discipline:has(.kids-gallery) { padding: 56px 0; }
  .discipline:has(.kids-gallery) h2 { font-size: 2.5rem; }
  .discipline:has(.kids-gallery) p,
  .discipline:has(.kids-gallery) ul { font-size: 1rem; }
}
.discipline__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.05) brightness(0.95);
}

/* Full-bleed photo band variant for a discipline */
.discipline--bleed {
  display: block;
  padding: 0;
  margin: 56px 0;
  min-height: 460px;
  position: relative;
  background: #000 center/cover no-repeat;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + var(--subnav-h) + 16px);
}
.discipline--bleed::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.15) 100%);
}
.discipline--bleed > div {
  position: relative;
  max-width: 560px;
  padding: 64px 24px;
  color: #fff;
}
.discipline--bleed h2 { color: #fff; }
@media (min-width: 768px) {
  .discipline--bleed { min-height: 540px; }
  .discipline--bleed > div { padding: 96px 48px; }
}
.discipline h2 { margin-bottom: 8px; }
.discipline .eyebrow { color: var(--accent-dim); font-family: var(--font-display); letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.8rem; font-weight: 600; margin-bottom: 12px; display: block; }

/* ===== Tables ===== */

/* Desktop timetable */
.timetable-desktop { display: none; }
@media (min-width: 768px) {
  .timetable-desktop {
    display: table;
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    font-size: 0.95rem;
  }
  .timetable-desktop th, .timetable-desktop td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    vertical-align: top;
  }
  .timetable-desktop th:last-child, .timetable-desktop td:last-child { border-right: 0; }
  .timetable-desktop tr:last-child td { border-bottom: 0; }
  .timetable-desktop thead th {
    background: #000;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    color: var(--accent-text);
  }
  .timetable-desktop tbody th {
    background: #0d0d0d;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
  }
  .timetable-desktop td.empty { color: var(--text-dim); text-align: center; }
  .timetable-desktop td.closed { color: var(--text-dim); font-style: italic; }
  .timetable-desktop .session-name { display: block; font-weight: 500; }
  .timetable-desktop .session-age { display: block; color: var(--text-muted); font-size: 0.8rem; margin-top: 2px; }
}

/* Mobile timetable — compact day-rows, whole week visible on one screen */
.timetable-mobile {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.day-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.day-row:last-child { border-bottom: 0; }
.day-row__name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--accent-text);
  text-transform: uppercase;
  padding-top: 2px;
}
.day-row__sessions { display: grid; gap: 4px; }
.session-line {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: baseline;
  font-size: 0.9rem;
  line-height: 1.35;
}
.session-line b {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.day-row--empty .session-line {
  color: var(--text-dim);
  font-style: italic;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .timetable-mobile { display: none; } }
/* Hide the old day-card markup if any remains */
.timetable-mobile .day-card { display: none; }

.day-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.day-card__head {
  background: #000;
  padding: 10px 14px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dim);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
}
.day-card__body { padding: 4px 0; }
.day-card__empty { padding: 14px; color: var(--text-dim); font-style: italic; font-size: 0.85rem; }
.session {
  display: block;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
}
.session:last-child { border-bottom: 0; }
.session__time {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 0;
  margin-bottom: 2px;
}
.session__name { font-weight: 500; line-height: 1.25; font-size: 0.88rem; }
.session__age { display: block; color: var(--text-muted); font-size: 0.74rem; margin-top: 2px; }
.session .pill {
  display: none; /* deprecated, kept off in case any markup still uses it */
  padding: 2px 8px;
  background: rgba(230,57,70,0.12);
  border: 1px solid rgba(230,57,70,0.4);
  color: var(--accent-dim);
  border-radius: 999px;
  font-size: 0.65rem;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 6px;
  vertical-align: middle;
}

/* ===== Fees / pricing ===== */

.fees-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 560px) { .fees-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .fees-grid { gap: 32px; } }

.fees-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
}
@media (min-width: 600px) { .fees-card { padding: 24px; } }
@media (min-width: 768px) { .fees-card { padding: 28px; } }
.fees-card h3 {
  color: var(--text);
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
}
@media (min-width: 768px) { .fees-card h3 { font-size: 1.1rem; margin-bottom: 20px; } }
.fees-list { list-style: none; padding: 0; margin: 0; }
.fees-list li {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 600px) {
  .fees-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
  }
}
.fees-list li:last-child { border-bottom: 0; }
.fees-list .label { flex: 1; }
.fees-list .label strong { display: block; font-weight: 500; color: var(--text); font-size: 0.92rem; }
.fees-list .label small { color: var(--text-muted); font-size: 0.78rem; line-height: 1.4; display: block; }
.fees-list .price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: block;
  margin-top: 4px;
}
@media (min-width: 600px) {
  .fees-list .price { font-size: 1.25rem; margin-top: 0; }
  .fees-list .label small { display: inline; }
}

/* ===== About ===== */
.about-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
}
.about-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  grid-template-areas:
    "lead"
    "two"
    "three"
    "four";
}
.about-gallery > a:nth-child(1) { grid-area: lead; }
.about-gallery > a:nth-child(2) { grid-area: two; }
.about-gallery > a:nth-child(3) { grid-area: three; }
.about-gallery > a:nth-child(4) { grid-area: four; }
@media (min-width: 520px) {
  .about-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "lead lead"
      "two three"
      "four four";
    align-items: start;
  }
}
.about-gallery a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #000;
}
.about-gallery img {
  display: block;
  filter: saturate(0.88) contrast(1.05) brightness(0.95);
  transition: filter .25s, transform .4s;
}
.about-gallery a:hover img { filter: saturate(1) contrast(1.05); transform: scale(1.03); }

@media (hover: none) {
  .prog-card img,
  .photo-band img,
  .about-gallery img,
  .discipline__media img,
  .discipline__media.kids-gallery img {
    opacity: 1;
    filter: saturate(1.05) contrast(1.02) brightness(1.05);
  }
  .prog-card__body {
    background: linear-gradient(180deg, rgba(10,10,10,0) 60%, rgba(10,10,10,0.75) 100%);
  }
  html, body {
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
  }
  :root {
    --accent: #cc0000;
    --accent: color(display-p3 0.78 0.02 0.02);
    --accent-hot: #ee0000;
    --accent-hot: color(display-p3 0.90 0.04 0.04);
    --accent-dim: #6b1a10;
    --accent-dim: color(display-p3 0.40 0.10 0.06);
    --gold: #b8924f;
    --text: #ffffff;
  }
  .btn:hover,
  a.big[href^="tel:"]:hover { transform: none; box-shadow: 0 2px 8px rgba(0,0,0,0.45); }
}

/* Lead (KO plaque) and bottom (RNC win): fixed landscape slot, cropped to fill */
.about-gallery > a:nth-child(1),
.about-gallery > a:nth-child(4) { aspect-ratio: 3 / 2; }
.about-gallery > a:nth-child(1) img,
.about-gallery > a:nth-child(4) img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Middle pair: natural ratio, no crop — show the whole picture */
.about-gallery > a:nth-child(2) img,
.about-gallery > a:nth-child(3) img {
  width: 100%; height: auto;
}

.certificate-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  margin-top: 24px;
  border-top: 1px solid var(--border);
}
.certificate-card img {
  width: 100%;
  height: auto;
  border: 1px solid #333;
  background: #fff;
}
.certificate-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.certificate-card strong { color: var(--text); font-weight: 500; }

blockquote.bio {
  margin: 16px 0;
  padding: 0;
  border: 0;
  color: var(--text);
}

/* About-page footer block — Sponsors + Find us side by side */
.about-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.about-footer h2 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.about-footer p { font-size: 0.9rem; line-height: 1.5; margin: 0 0 8px; }
.sponsors-stacked {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}
.sponsors-stacked a {
  color: var(--text);
  text-decoration: none;
  padding: 6px 0;
  font-weight: 500;
  display: inline-block;
  transition: color .15s;
  -webkit-tap-highlight-color: rgba(230, 57, 70, 0.35);
}
.sponsors-stacked a:hover,
.sponsors-stacked a:focus,
.sponsors-stacked a:active { color: var(--accent); }
@media (min-width: 768px) {
  .about-footer { gap: 56px; }
  .about-footer h2 { font-size: 1.75rem; margin-bottom: 16px; }
  .about-footer p { font-size: 1rem; line-height: 1.6; }
}

/* Plain inline list (sponsors, credentials, etc.) */
.inline-list {
  color: var(--text-muted);
  margin: 8px 0 16px;
}
.inline-list b { color: var(--text); font-weight: 500; }
.inline-list a {
  color: var(--text);
  text-decoration: none;
  padding: 2px 5px;
  margin: 0 -3px;
  transition: background .12s ease, color .12s ease;
}
.inline-list a:hover {
  background: var(--accent);
  color: #fff;
}
.inline-list a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== Contact ===== */

.contact-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 5fr 6fr; gap: 56px; align-items: start; }
}

.info-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.info-card + .info-card {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.info-card h3 { color: var(--accent-text); margin-bottom: 6px; font-size: 0.78rem; letter-spacing: 0.18em; }
.info-card .big {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}
a.big[href^="tel:"] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin-bottom: 8px;
  padding: 12px 20px;
  background: var(--accent-dim);
  color: #fff;
  border: 2px solid var(--accent-dim);
  border-radius: var(--radius);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.45);
  transition: background .15s, transform .12s ease, box-shadow .12s ease;
}
a.big[href^="tel:"]:hover { background: var(--accent); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
a.big[href^="tel:"]:active { color: #fff; transform: translateY(0) scale(0.98); box-shadow: 0 1px 4px rgba(0,0,0,0.5); }
@media (min-width: 600px) { a.big[href^="tel:"] { display: inline-flex; width: auto; } }
.info-card a { color: var(--text); }
.info-card a:hover { color: var(--accent); }

.form { display: grid; gap: 16px; }
.form label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form input, .form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color .15s, background .15s;
}
.form input:focus, .form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
  background: var(--surface);
}
.form textarea { min-height: 140px; resize: vertical; }
.form .honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notice {
  background: rgba(230,57,70,0.08);
  border: 1px solid rgba(230,57,70,0.5);
  color: var(--text);
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

/* ===== Footer ===== */

.site-footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "brand brand"
    "visit site";
  gap: 28px 16px;
  margin-bottom: 32px;
}
.footer-grid > :nth-child(1) { grid-area: brand; }
.footer-grid > :nth-child(2) { grid-area: visit; }
.footer-grid > :nth-child(3) { grid-area: site; }
@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-areas: "brand visit site";
    gap: 32px;
  }
}
.footer-grid h4 { color: var(--text); margin-bottom: 12px; font-size: 0.85rem; letter-spacing: 0.15em; }
.footer-grid a { color: var(--text-muted); display: inline-block; padding: 6px 0; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.site-footer .brand img { height: 32px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer-bottom a { color: var(--text-muted); transition: color .15s; }
.footer-bottom a:hover { color: var(--accent); }

/* ===== Utility ===== */

.flag {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(200, 163, 95, 0.12);
  border: 1px solid rgba(200, 163, 95, 0.5);
  color: var(--gold);
  border-radius: 999px;
  font-size: 0.7rem;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 6px;
}

/* Map embed */
.map-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
