/* Design tokens — single source for every color/spacing/shadow/radius/type
   value used in the theme. Every rule in main.css must reference one of
   these via var(--token, fallback), never a literal — same discipline as
   themes-clanvas (docs/twig-design-system-requirements.md) and the never-
   converted Ideale Bari prototype this project's docs/REQUISITI-DESIGN-
   SYSTEM-TWIG.md was adapted from.

   Consolidated from the recurring literal values across all 16 .dc.html
   files in design-export/ (no tokens.css existed in that export — see
   docs/DESIGN-EXPORT-NOTES.md). Split brand (customization.xml-backed,
   printed into :root by include/head.tplp) vs engineering (fixed, defined
   here directly) tokens, same split as Clanvas's design-system.md §3. */

:root {
	/* ---- brand (defaults; overridden per-club by include/head.tplp from
	   options.color.*) ---- */
	--primary: #FF7200;
	--accent: #2E75B5;
	--dark: #1a1a2e;
	--paper: #ffffff;

	/* ---- engineering: type ---- */
	--font-display: 'DM Serif Display', serif;
	--font-body: 'Inter', system-ui, sans-serif;
	--text-3xl: clamp(2.4rem, 4vw, 3.9rem);   /* h1 hero, ~62px */
	--text-2xl: clamp(1.75rem, 2.6vw, 2.4rem); /* h1 article, ~48px */
	--text-xl: clamp(1.5rem, 2vw, 2.1rem);     /* h2 section, ~34px */
	--text-lg: clamp(1.25rem, 1.4vw, 1.5rem);  /* h3, ~24px */
	--text-md: 1.0625rem;                       /* lead body, ~17px */
	--text-base: 0.9375rem;                     /* body, ~15px */
	--text-sm: 0.8125rem;                       /* meta/label, ~13px */
	--text-xs: 0.75rem;                         /* fine print, ~12px */
	--tracking-label: 0.16em;

	/* ---- engineering: spacing (px scale, matches the 88px section rhythm
	   and Bootstrap's 12px gutter seen throughout the export) ---- */
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 40px;
	--space-8: 56px;
	--space-9: 72px;
	--space-10: 88px;
	--space-11: 120px;

	/* ---- engineering: surface, radius, shadow ---- */
	--card-bg: #ffffff;
	--surface-light: #f5f4f0;
	--surface-light-alt: #f9f9fb;
	--border-light: #e5e7eb;
	--text-muted: #6b7280;
	--text-faint: #9ca3af;
	--text-body: #374151;

	/* border-radius:0 is a deliberate, systemic design choice across the
	   whole export (squared language) — not an omission. Kept as a token
	   anyway per the tokens-only rule, not hardcoded. */
	--radius: 0;
	--radius-round: 50%;

	--shadow-sm: 0 2px 16px rgba(0, 0, 0, 0.10);
	--shadow-md: 0 10px 36px rgba(0, 0, 0, 0.16);
	--shadow-dropdown: 0 12px 40px rgba(26, 26, 46, 0.15);

	--dur-fast: 0.18s;
	--dur-base: 0.35s;
	--dur-slow: 0.6s;
}
