/**
 * Wheels 2 Work Tees Valley — component + dark-mode stylesheet.
 *
 * Owned by w2w-core (enqueued, versioned), NOT theme.json. Enqueued with the
 * theme stylesheet ('rcvda-base-style') as a dependency so it loads AFTER
 * rcvda-base/style.css and W2W's dark palette overrides the base default (same
 * `html[data-theme="dark"] body` selector, so load order decides). See
 * _Standards_Theme/VARIANT-STANDARD.md.
 *
 * SCAFFOLD: these dark values are the base/RCVDA-default dark palette, copied so
 * W2W's dark looks identical to today. Replace with the Wheels 2 Work brand's
 * dark values once defined (keep the complete token set). Bump W2W_CORE_VERSION
 * on change.
 */

/* Dark-mode palette pivot — COMPLETE token set (seeded from the base). */
html[data-theme="dark"] body {
	--wp--preset--color--base: #0c1a33;
	--wp--preset--color--surface: #16284a;
	--wp--preset--color--contrast: #e8eef6;
	--wp--preset--color--muted: #aebfd6;
	--wp--preset--color--brand: #0a1730;
	--wp--preset--color--brand-light: #6f97c8;
	--wp--preset--color--brand-mid: #123a6b;
	--wp--preset--color--accent: #f29f05;
	--wp--preset--color--accent-dark: #c8850a;
	--wp--preset--color--interactive: #f29f05;
	--wp--preset--color--alert: #d91e0d;
	--wp--preset--color--divider: #2c3d5e;
	--wp--preset--color--on-dark: #ffffff;
}

/* Headings follow the (light) contrast token in dark so brand-coloured
   headings never render dark-on-dark. */
html[data-theme="dark"] body :where(h1, h2, h3, h4, h5, h6) {
	color: var(--wp--preset--color--contrast);
}
