/**
 * ZYMARG OS — Tokens: Colors
 * -----------------------------------------------------------------------------
 * The ZYMARG colour palette as CSS custom properties. Single source of truth
 * for colour. Customizer values are injected at runtime (inc/dynamic-css.php)
 * and override these defaults.
 */

:root {
	/* ---- Primary ------------------------------------------------------ */
	--color-primary:               #C518C5;
	--color-primary-container:     #bd00d1;
	--color-primary-tint:          #a400b5;
	--color-primary-fixed:         #ffd6fb;
	--color-primary-inverse:       #fea9ff;
	--color-on-primary:            #ffffff;
	--color-on-primary-fixed:      #36003d;
	--color-on-primary-container:  #ffebfa;

	/* ---- Secondary ---------------------------------------------------- */
	--color-secondary:             #505f76;
	--color-secondary-container:   #d0e1fb;
	--color-on-secondary-container:#54647a;

	/* ---- Tertiary ----------------------------------------------------- */
	--color-tertiary:              #525658;
	--color-tertiary-container:    #6b6e70;

	/* ---- Text --------------------------------------------------------- */
	--color-text-body:             #131b2e;
	--color-text-muted:            #534152;

	/* ---- Lines / outlines --------------------------------------------- */
	--color-outline:               #857183;
	--color-outline-variant:       #d8bfd3;

	/* ---- Surfaces ----------------------------------------------------- */
	--color-surface-lowest:        #ffffff;
	--color-surface:               #ffffff;
	--color-surface-low:           #f2f3ff;
	--color-surface-container:     #eaedff;
	--color-surface-high:          #e2e7ff;
	--color-surface-highest:       #dae2fd;
	--color-surface-dim:           #d2d9f4;

	/* ---- Inverse ------------------------------------------------------ */
	--color-inverse-surface:       #283044;
	--color-inverse-on-surface:    #eef0ff;

	/* ---- Overlay scrim (used by modal/drawer overlays) ---------------- */
	--color-scrim:                 40, 48, 68; /* rgb parts, alpha applied via opacity token */

	/* ---- Background orbs (see layouts/section.css) -------------------- */
	/* Site-wide orbs are LIGHT-MODE-OFF by default (transparent) so the page
	   reads as flat white. tokens/dark.css overrides these with real purple
	   values, so dark mode keeps its atmospheric glow. */
	--zymarg-orb-1-color:   rgba(0, 0, 0, 0);
	--zymarg-orb-2-color:   rgba(0, 0, 0, 0);

	/* ---- Semantic aliases --------------------------------------------- *
	 * Friendly, intent-based names that map onto the token system above.
	 * Because they reference the --color-* tokens (which are overridden in
	 * tokens/dark.css), these automatically flip in dark mode — never use
	 * hardcoded colours in components; use these instead.
	 * ------------------------------------------------------------------- */
	--surface:          var(--color-surface);
	--surface-2:        var(--color-surface-container);
	--text-primary:     var(--color-text-body);
	--text-secondary:   var(--color-text-muted);

	/* Legacy gradient names intentionally remain as SOLID colour aliases.
	 * Preserves existing classes and plugin consumers without a gradient. */
	--zymarg-gradient:       var(--color-primary);
	--zymarg-gradient-hover: var(--color-primary);
}

/** ZYMARG 5.42.27: solid-brand compatibility for existing block content.
 * Legacy class/slugs remain intact; no universal image overrides.
 */
:root {
 --wp--preset--gradient--zymarg-primary-sweep: var(--color-primary, #C518C5);
 --wp--preset--gradient--zymarg-orb-primary: transparent;
 --wp--preset--gradient--zymarg-orb-secondary: transparent;
}
.has-zymarg-primary-sweep-gradient-background {
 background-image: none !important;
 background-color: var(--color-primary, #C518C5) !important;
}
.has-zymarg-orb-primary-gradient-background,
.has-zymarg-orb-secondary-gradient-background {
 background-image: none !important;
 background-color: transparent !important;
}
.zymarg-orbs, .zymarg-orbs__orb,
.is-style-zymarg-orbs::before, .is-style-zymarg-orbs::after {
 display: none;
}
