/* ==========================================================================
   KD THE SPORT SCHOOL — Design tokens
   Layer 0: raw values only. Nothing here selects elements except the reset.

   Design language: "Online Academy" — black canvas, white hairline borders,
   Mona Sans, gold accent, geometric radii and a tight motion vocabulary.

   Token groups follow the brand brief:
     font.family.*, font.size.*, color.*, space.*, radius.*, shadow.*, motion.*
   ========================================================================== */

:root {
  /* ---------- Typography ---------- */
  --font-primary: 'Mona Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-display: 'Mona Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-heading: 'Bebas Neue', 'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-anton: 'Anton', 'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif; /* KD The Sport School hero wordmark ONLY */

  /* Brief scale (dashboard-inferred) */
  --font-size-xs: 9px;
  --font-size-sm: 11px;
  --font-size-md: 13px;
  --font-size-lg: 14px;
  --font-size-xl: 16px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 32px;

  /* Marketing extension of the same scale — display sizes are tokens too,
     so the page never uses one-off sizes. */
  --font-size-display: clamp(40px, 6.6vw, 76px);
  --font-size-title: clamp(28px, 3.8vw, 44px);
  --font-size-subtitle: clamp(18px, 2.2vw, 22px);

  --font-weight-regular: 400;
  --font-weight-base: 600;
  --font-weight-bold: 700;
  --font-weight-black: 800;

  --line-height-tight: 1.05;
  --line-height-heading: 1.15;
  --line-height-base: 1.6;
  --line-height-relaxed: 1.75;

  /* ---------- Colour ---------- */
  --color-text-primary: #0d0c22;      /* on light surfaces */
  --color-text-secondary: #524b63;    /* on light surfaces */
  --color-text-inverse: #060318;
  --color-text-on-dark: #ffffff;      /* on black — 21:1 */
  --color-text-on-dark-muted: #b7b4c6;/* on black — ~9:1, passes AA */

  --color-surface-base: #000000;      /* page canvas */
  --color-surface-raised: #ecebf0;    /* light card */
  --color-surface-strong: #3a3546;    /* mid card */
  --color-surface-panel: rgba(255, 255, 255, .045);
  --color-surface-panel-hover: rgba(255, 255, 255, .085);
  --color-border-muted: #ffffff;      /* hairline on black */

  /* Brand accent */
  --color-accent: #f6bd00;
  --color-accent-soft: #ffd24a;
  --color-accent-deep: #cf9f00;
  --color-navy: #0d3b76;
  --color-danger: #ff6b6b;
  --color-success: #4ade80;

  /* ---------- Spacing ---------- */
  --space-1: 5px;
  --space-2: 8px;
  --space-3: 10px;
  --space-4: 12px;
  --space-5: 14px;
  --space-6: 15px;
  --space-7: 16px;
  --space-8: 18px;
  --space-9: 24px;
  --space-10: 32px;
  --space-11: 48px;
  --space-12: 64px;
  --space-13: 80px;

  /* ---------- Radius ---------- */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 50px;
  --radius-lg: 10000000px;

  /* ---------- Shadow ---------- */
  --shadow-1: rgba(0, 0, 0, .01) 0 2px 2px 0;
  --shadow-2: 0 18px 44px rgba(0, 0, 0, .55);
  --shadow-glow: 0 0 0 1px rgba(246, 189, 0, .35), 0 14px 34px rgba(246, 189, 0, .16);

  /* ---------- Motion ---------- */
  --motion-duration-instant: 50ms;
  --motion-duration-fast: 100ms;
  --motion-duration-normal: 200ms;
  --motion-ease: cubic-bezier(.22, .61, .36, 1);

  /* ---------- Layout ---------- */
  --layout-container: 1200px;
  --layout-gutter: 5vw;
  --layout-header-height: 72px;

  /* ---------- Gradients ---------- */
  --gradient-accent: linear-gradient(135deg, #ffd24a 0%, #f6bd00 55%, #cf9f00 100%);
  --gradient-panel: linear-gradient(140deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015));

  color-scheme: dark;
}

/* ---------- Minimal, modern reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--layout-header-height) + 16px);
}

body { min-height: 100vh; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

img, svg, video { display: block; max-width: 100%; }

button, input, textarea, select { font: inherit; color: inherit; }

button { cursor: pointer; }

a { color: inherit; text-decoration: none; }

ul[class] { list-style: none; padding: 0; }

/* Visible, high-contrast focus ring for every focusable element (WCAG 2.2 AA). */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

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

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