/*
 * Design tokens — ALIASES ONLY. Zero hardcoded colors or font families
 * (skill 00 §3): every value comes from the Elementor Global Kit, which
 * scripts/wp/kit-apply.php fills from design/kit.json.
 *
 * Declared on `body`, not :root: Elementor prints the kit variables on
 * body.elementor-kit-<id> (elementor/core/kits/documents/kit.php:77-78), so a
 * var() resolved on :root would be invalid.
 *
 * Kit variable names: --e-global-color-<_id>, --e-global-typography-<_id>-<prop>
 * (elementor/core/kits/documents/tabs/global-colors.php:65-67,
 *  global-typography.php:72-117). Custom kit entries use their slug as _id.
 */
body {
	/* Colors (system slots) */
	--ds-color-primary: var(--e-global-color-primary);
	--ds-color-secondary: var(--e-global-color-secondary);
	--ds-color-text: var(--e-global-color-text);
	--ds-color-accent: var(--e-global-color-accent);
	/* Add custom kit colors by slug, e.g.:  --ds-color-surface: var(--e-global-color-surface); */

	/* Typography */
	--ds-font-heading: var(--e-global-typography-primary-font-family);
	--ds-font-body: var(--e-global-typography-text-font-family);

	/* Fluid type scale: clamp(min, preferred, max) */
	--ds-text-sm: clamp(0.875rem, 0.84rem + 0.15vw, 0.9375rem);
	--ds-text-md: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
	--ds-text-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);

	/* 8px spacing grid (skill 00 §3): 8, 16, 24, 32, 48, 64, 80, 112 */
	--ds-space-1: 8px;
	--ds-space-2: 16px;
	--ds-space-3: 24px;
	--ds-space-4: 32px;
	--ds-space-6: 48px;
	--ds-space-8: 64px;
	--ds-space-10: 80px;
	--ds-space-14: 112px;

	--ds-radius: 8px;
	--ds-card-ratio: 4 / 3;
}
