/*
 * Earth 219 design tokens.
 * Light is the main theme: paper-white surfaces with black contrast sections.
 * Dark swaps the two, so the 60/40 split flips.
 */
:root {
	--e219-bg: #f7f5f0;
	--e219-bg2: #eeebe4;
	--e219-ink: #121214;
	--e219-muted: #55524c;
	--e219-line: #e0dcd3;
	--e219-line-strong: #c9c4b9;
	--e219-card: #e6e2d9;
	--e219-peel: #d3cec3;

	--e219-inv-bg: #121214;
	--e219-inv-ink: #f2efe9;
	--e219-inv-muted: #aaa59c;
	--e219-inv-line: #3a3a40;

	--e219-accent: #f5472b;
	--e219-accent-ink: #c4361d;
	--e219-on-accent: #111113;

	--e219-font-display: "Barlow Condensed", "Roboto Condensed", sans-serif;
	--e219-font-body: "Barlow", "Roboto", sans-serif;

	--e219-wrap: 1320px;
	--e219-gutter: clamp(16px, 3vw, 40px);
	--e219-section-y: clamp(56px, 6vw, 88px);
	--e219-radius: 14px;

	/* The logo file is white: invert it on light surfaces. */
	--e219-logo-filter: invert(1);
	--e219-logo-filter-inv: none;

	color-scheme: light;
}

:root[data-e219-theme="dark"] {
	--e219-bg: #121214;
	--e219-bg2: #19191c;
	--e219-ink: #f2efe9;
	--e219-muted: #aaa59c;
	--e219-line: #26262b;
	--e219-line-strong: #3a3a40;
	--e219-card: #1f1f23;
	--e219-peel: #2e2e34;

	--e219-inv-bg: #f7f5f0;
	--e219-inv-ink: #121214;
	--e219-inv-muted: #55524c;
	--e219-inv-line: #c9c4b9;

	--e219-accent-ink: var(--e219-accent);

	--e219-logo-filter: none;
	--e219-logo-filter-inv: invert(1);

	color-scheme: dark;
}
