/**
 * Judo WA CMS — Design tokens
 * Brand: black / white / gold primary, blue for events
 */

:root {
  /* Brand palette */
  --color-brand-black: #0B0B0B;
  --color-brand-charcoal: #111827;
  --color-brand-gold: #F2C300;
  --color-brand-gold-dark: #D9A900;
  --color-brand-white: #FFFFFF;
  --color-brand-blue: #007DBA;
  --color-brand-blue-dark: #005F8F;

  /* Semantic colours (WCAG AA on white / charcoal backgrounds) */
  --color-text: var(--color-brand-black);
  --color-text-muted: #4B5563;
  --color-text-inverse: var(--color-brand-white);
  --color-text-on-gold: var(--color-brand-black);
  --color-text-on-blue: var(--color-brand-white);
  --color-background: var(--color-brand-white);
  --color-background-soft: #F5F5F5;
  --color-background-muted: #E5E7EB;
  --color-background-dark: var(--color-brand-charcoal);
  --color-border: #D1D5DB;
  --color-border-strong: #9CA3AF;
  --color-success: #15803D;
  --color-success-soft: #DCFCE7;
  --color-warning: #B45309;
  --color-warning-soft: #FEF3C7;
  --color-danger: #B91C1C;
  --color-danger-soft: #FEE2E2;
  --color-focus: var(--color-brand-blue);
  --color-link: var(--color-brand-blue-dark);
  --color-link-hover: var(--color-brand-blue);
  --color-news-accent: #D94E33;

  /* Typography */
  --font-family-base: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-family-heading: var(--font-family-base);
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 1.875rem;
  --font-size-3xl: 2.25rem;
  --font-size-4xl: 3rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.2;
  --line-height-snug: 1.375;
  --line-height-base: 1.6;
  --line-height-relaxed: 1.75;
  --letter-spacing-tight: -0.02em;
  --letter-spacing-wide: 0.05em;

  /* Spacing scale (4px base) */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max: 75rem;
  --container-narrow: 48rem;
  --container-wide: 90rem;
  --header-height: 6.25rem;
  --admin-sidebar-width: 16rem;
  --admin-sidebar-collapsed: 4.5rem;

  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(11, 11, 11, 0.05);
  --shadow-sm: 0 1px 3px rgba(11, 11, 11, 0.08), 0 1px 2px rgba(11, 11, 11, 0.04);
  --shadow-md: 0 4px 6px rgba(11, 11, 11, 0.07), 0 2px 4px rgba(11, 11, 11, 0.04);
  --shadow-lg: 0 10px 15px rgba(11, 11, 11, 0.08), 0 4px 6px rgba(11, 11, 11, 0.04);
  --shadow-xl: 0 20px 25px rgba(11, 11, 11, 0.1), 0 8px 10px rgba(11, 11, 11, 0.04);
  --shadow-gold: 0 4px 14px rgba(242, 195, 0, 0.35);

  /* Motion */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* Z-index layers */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}
