/* ─── Design Tokens — Everstrengthpro ────────────────────────────────────────
   Colors are NEVER hardcoded here: every value is a Customizer-controlled
   variable (printed by wps_inline_styles(), includes/customizer/
   customizer.php) or derived from one with color-mix(). The base block
   below is only the pre-inline fallback and matches the seeded defaults.
   ────────────────────────────────────────────────────────────────────────── */

:root {
  /* ─── Base colors — sourced from Customizer ─── */
  --primary-color: #e2522b;   /* forge orange accent */
  --secondary-color: #5f8b96; /* steel teal alt block */
  --text-color: #0b0b0b;      /* ink */
  --text-muted: #55554f;
  --bg-light: #ffffff;
  --bg-color: #dcdcda;        /* light-gray page base */
  --surface-color: #eeeeec;   /* off-white blocks */
  --border-color: #bfbfbd;
  --positive-color: #3f7a5c;
  --negative-color: #a3341a;

  /* Pure neutral (not a brand color) — only for the difference-blend cursor. */
  --white: #ffffff;

  /* ─── Derived roles (no literals) ─── */
  --ink: var(--text-color);
  --ink-2: color-mix(in srgb, var(--text-color) 70%, var(--text-muted));      /* body secondary */
  --ink-faint: color-mix(in srgb, var(--text-color) 12%, transparent);        /* hairlines */
  --ink-soft: color-mix(in srgb, var(--text-color) 20%, transparent);
  --base: var(--bg-color);
  --block: var(--surface-color);
  --bright: var(--bg-light);
  --stage: color-mix(in srgb, var(--text-color) 45%, black);                  /* #050505 black stage */
  --stage-2: color-mix(in srgb, var(--text-color) 82%, var(--text-muted));    /* dark tiles/cells */
  --accent: var(--primary-color);
  --accent-text: color-mix(in srgb, var(--primary-color) 70%, black);         /* small accent text, ≥4.5:1 */
  --alt: var(--secondary-color);
  --on-dark: var(--surface-color);
  --on-dark-85: color-mix(in srgb, var(--surface-color) 85%, transparent);
  --on-dark-70: color-mix(in srgb, var(--surface-color) 70%, transparent);
  --on-dark-50: color-mix(in srgb, var(--surface-color) 50%, transparent);
  --on-dark-30: color-mix(in srgb, var(--surface-color) 30%, transparent);
  --on-dark-15: color-mix(in srgb, var(--surface-color) 16%, transparent);
  --line: var(--border-color);
  --scrim-1: color-mix(in srgb, var(--stage) 45%, transparent);
  --scrim-2: color-mix(in srgb, var(--stage) 85%, transparent);

  /* ─── Fonts (overridden by wps_inline_styles from the Customizer) ─── */
  --font-display: 'Doto', ui-monospace, monospace;
  --font-text: 'Geist', system-ui, sans-serif;

  /* ─── Type scale (design: display 160/104/88/72/56/32, text 32…10) ─── */
  --d-xxl: clamp(72px, 11.5vw, 168px);
  --d-xl: clamp(56px, 8vw, 128px);
  --d-lg: clamp(48px, 6.2vw, 88px);
  --d-md: clamp(40px, 5.2vw, 80px);
  --d-sm: clamp(32px, 3.2vw, 48px);
  --d-xs: clamp(26px, 2.6vw, 40px);
  --t-xl: clamp(26px, 2.8vw, 42px);
  --t-lg: 20px;
  --t-md: 16px;
  --t-sm: 14px;
  --t-xs: 12px;

  /* ─── Layout & shape ─── */
  --gutter: clamp(16px, 2.2vw, 32px);
  --section-y: clamp(80px, 10vw, 160px);
  --container: 1440px;
  --radius-card: 24px;
  --radius-row: 16px;
  --radius-pill: 999px;
  --header-h: 72px;

  /* ─── Motion — ease-out only, nothing bounces ─── */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --hover-duration: 0.3s;
  --duration: 0.6s;
}
