/**
 * Atlas design tokens.
 *
 * Shared by the events pages now and by the Journal later. Every name carries
 * the --atlas- prefix so nothing collides with the theme's own variables; the
 * Journal module's --hj-* tokens are separate and are not changed here.
 * Tokens only: no resets, no element rules. Loaded on events routes only, see
 * haven_theme_events_enqueue_atlas() in inc/haven-events-integration.php.
 */
:root {
	--atlas-paper: #f3eee4;
	--atlas-paper-2: #e9e2d4;
	--atlas-paper-3: #faf7f1;
	--atlas-ink: #16191d;
	--atlas-ink-2: #33373d;
	--atlas-ink-3: #5c5a55;
	--atlas-rule: #d6ccba;
	--atlas-rule-strong: #b9ad97;
	--atlas-night: #1b1a22;
	--atlas-night-2: #2a2433;
	--atlas-on-night: #f3ece2;
	--atlas-on-night-2: #cfc5b8;
	--atlas-scrim: rgba(14, 14, 18, 0.6);

	/* Event Companion gold. */
	--atlas-accent: #c49a3a;
	--atlas-accent-ink: #7f5f12;
	--atlas-accent-wash: #efe4c6;
	--atlas-accent-night: #e2c27a;

	/* Region keys, used as dots and calendar bars. */
	--atlas-desert: #c08a4d;
	--atlas-coast: #2c4a78;
	--atlas-lakes: #7d9478;
	--atlas-plains: #b65a3c;

	--atlas-serif: "Newsreader", "Iowan Old Style", Charter, Georgia, serif;
	--atlas-sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
	--atlas-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

	--atlas-maxw: 1680px;
	--atlas-pad: max(16px, 4vw);
	--atlas-gap: clamp(16px, 2vw, 36px);
	--atlas-fs-body: clamp(17px, 0.5vw + 12px, 19px);
	--atlas-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--atlas-shadow: 0 18px 40px -22px rgba(22, 25, 29, 0.45);
}

/* Warm night palette for the hub and region pages (owner 2026-11-11): the same Aurora-footer browns and soft gold the
   guide ending uses (atlas-guide-finish.css), so the image-led bands and the sign-up forms match the brand. */
body.haven-events--hub,
body.haven-events--landing {
	--atlas-night: #1e1a14;
	--atlas-night-2: #2a1f14;
	--atlas-on-night: #f2e8d8;
	--atlas-on-night-2: #d1c5b5;
	--atlas-accent-night: #d4b894;
	--atlas-scrim: rgba(30, 26, 20, 0.74);
}
