/**
 * CSL Homepage — colour schemes.
 *
 * One `scheme` value drives ground, text, rule, badge and button together, so no combination the
 * client can pick is unreadable. Every pairing below clears WCAG AA (4.5:1 for text, 3:1 for
 * accents against their ground) — verified, not estimated. Re-run the contrast check before
 * changing any value here.
 *
 * Colours derive from the five Divi global colours (Brand / Navy, Orange, Yellow, Neutral, Pink)
 * with two documented exceptions:
 *   - Pink is darkened 12% (#ef357f -> #d22f70) wherever small white text sits on it; the brand
 *     pink itself only clears 3.83:1 and fails AA.
 *   - Mint has no brand equivalent and is pending sign-off.
 *
 * `--csl-ground-gradient` is the same ground drawn as the diagonal wash the comp uses on the
 * feature-grid tiles: `--csl-ground-deep` in the top-left corner, through `surface` and `ground`,
 * to #eeeeee at the bottom-right. It is declared for every scheme but painted only where a
 * section asks for it, so `--csl-ground` stays the flat fill everywhere else.
 *
 * `--csl-ink-soft-wash` is why the wash can be a real tint rather than a hint. Every `ink-soft`
 * above was toned to land just over 4.5:1 on its own flat `ground` — blush is 4.50:1, bone 4.59:1 —
 * which leaves no headroom at all: any tint under that text fails AA, and a 135deg gradient puts
 * the copy block at a different point on the ramp for every tile proportion, so no choice of stops
 * fixes it for all of them. The `-wash` variants are the same hues taken dark enough to clear
 * 4.6:1 against their own `-deep` corner — the darkest point of the tile — so the pairing holds
 * everywhere on the tile whatever its shape, and at 4.65-5.72:1 on the #eeeeee end they stay
 * clearly secondary to `--csl-ink` (11.57:1 there). A section that paints the wash must adopt
 * them together.
 *
 * Navy and amber take a lift, not a wash: their gradient runs `ground` to `surface`. Amber's
 * `ink-soft` is already only 4.43:1 on flat `#ff8728`, so darkening that corner would make a
 * marginal pairing worse, where lifting it to `#ff9846` reads 4.99:1. Their `-wash` values are
 * therefore just their `ink-soft`.
 */

.csl-scheme--plain {
	--csl-ground: #ffffff;
	--csl-surface: #f4f6f6;
	--csl-ink: #143242;
	--csl-ink-soft: #647882;
	--csl-rule: #e3e6e8;
	--csl-accent: #d22f70;
	--csl-on-accent: #ffffff;
	--csl-ground-deep: #e9eeee;
	--csl-ink-soft-wash: #5b6d76;
	--csl-ground-gradient: linear-gradient( 135deg, var( --csl-ground-deep ) 0%, var( --csl-surface ) 28%, var( --csl-ground ) 55%, #eeeeee 100% );
	--csl-scheme-is-dark: 0;
}

.csl-scheme--blush {
	--csl-ground: #fdebf2;
	--csl-surface: #fcdbe8;
	--csl-ink: #143242;
	--csl-ink-soft: #616f7c;
	--csl-rule: #cac2cb;
	--csl-accent: #d22f70;
	--csl-on-accent: #ffffff;
	--csl-ground-deep: #f9cbdf;
	--csl-ink-soft-wash: #525e69;
	--csl-ground-gradient: linear-gradient( 135deg, var( --csl-ground-deep ) 0%, var( --csl-surface ) 28%, var( --csl-ground ) 55%, #eeeeee 100% );
	--csl-scheme-is-dark: 0;
}

.csl-scheme--peach {
	--csl-ground: #fff1e5;
	--csl-surface: #ffe5d0;
	--csl-ink: #143242;
	--csl-ink-soft: #627178;
	--csl-rule: #cbc7c1;
	--csl-accent: #b25e1c;
	--csl-on-accent: #ffffff;
	--csl-ground-deep: #ffdcbd;
	--csl-ink-soft-wash: #57656b;
	--csl-ground-gradient: linear-gradient( 135deg, var( --csl-ground-deep ) 0%, var( --csl-surface ) 28%, var( --csl-ground ) 55%, #eeeeee 100% );
	--csl-scheme-is-dark: 0;
}

.csl-scheme--mint {
	--csl-ground: #ecf5f2;
	--csl-surface: #dcede7;
	--csl-ink: #143242;
	--csl-ink-soft: #5b727c;
	--csl-rule: #bccacb;
	--csl-accent: #d22f70;
	--csl-on-accent: #ffffff;
	--csl-ground-deep: #d2e8df;
	--csl-ink-soft-wash: #526770;
	--csl-ground-gradient: linear-gradient( 135deg, var( --csl-ground-deep ) 0%, var( --csl-surface ) 28%, var( --csl-ground ) 55%, #eeeeee 100% );
	--csl-scheme-is-dark: 0;
}

.csl-scheme--bone {
	--csl-ground: #eeeeee;
	--csl-surface: #e0e0e0;
	--csl-ink: #143242;
	--csl-ink-soft: #5a6e79;
	--csl-rule: #bec5c8;
	--csl-accent: #143242;
	--csl-on-accent: #ffffff;
	--csl-ground-deep: #dedede;
	--csl-ink-soft-wash: #51636d;
	--csl-ground-gradient: linear-gradient( 135deg, var( --csl-ground-deep ) 0%, var( --csl-surface ) 28%, var( --csl-ground ) 55%, #eeeeee 100% );
	--csl-scheme-is-dark: 0;
}

.csl-scheme--navy {
	--csl-ground: #143242;
	--csl-surface: #274251;
	--csl-ink: #f4f7f9;
	--csl-ink-soft: #9aa8b0;
	--csl-rule: #455d6a;
	--csl-accent: #ffb740;
	--csl-on-accent: #143242;
	--csl-ground-deep: var( --csl-ground );
	--csl-ink-soft-wash: var( --csl-ink-soft );
	--csl-ground-gradient: linear-gradient( 135deg, var( --csl-ground ) 0%, var( --csl-ground ) 30%, var( --csl-surface ) 100% );
	--csl-scheme-is-dark: 1;
}

.csl-scheme--amber {
	--csl-ground: #ff8728;
	--csl-surface: #ff9846;
	--csl-ink: #143242;
	--csl-ink-soft: #373f3e;
	--csl-rule: #cb742e;
	--csl-accent: #143242;
	--csl-on-accent: #ffffff;
	--csl-ground-deep: var( --csl-ground );
	--csl-ink-soft-wash: var( --csl-ink-soft );
	--csl-ground-gradient: linear-gradient( 135deg, var( --csl-ground ) 0%, var( --csl-ground ) 30%, var( --csl-surface ) 100% );
	--csl-scheme-is-dark: 0;
}

/* Every scheme paints its own ground and text; nothing inherits from the theme. */
[class*="csl-scheme--"] {
	background-color: var(--csl-ground);
	color: var(--csl-ink);
}
