@charset "UTF-8";
/*-----------------------------------------------------------------------------------

	PeopleForward — Colour Scheme: Crimson
	assets/css/colors/crimson.css

	Crimson does the work; gold marks what is urgent or human.
	Navy, the greys and the status colours (mint, sun) are shared by every scheme.

	A colour scheme loads after style.css, from <link id="color-scheme"> in each
	page's <head>, and sets the brand tokens only: the primary colour (links,
	buttons, the hero stage, selected states) and the accent (urgent badges,
	hand-drawn strokes, glows). To recolour the theme, point that link at another
	file in this folder. Tokens that differ between the light and the dark theme
	hold both values in light-dark().

-----------------------------------------------------------------------------------*/

/* ----------------------------------------------------------------
	Brand Tokens
---------------------------------------------------------------- */

:root {
  /* Primary. --c-primary is the text and link colour, lighter in the dark theme;
     --c-primary-fill carries white text and stays the same in both. --c-tint is
     the pale version behind chips and selected items (dark in the dark theme);
     --c-tint-fill stays pale, for hovers on white buttons. */
  --c-primary: light-dark(#b20d43, #f48b93);
  --c-primary-fill: #b20d43;
  --c-primary-hover: #950035;
  --c-tint: light-dark(#feeaea, #49151c);
  --c-tint-fill: #feeaea;
  --c-map-edge: light-dark(#ee9d9f, #85363f);

  /* Accent. Its fills carry navy text (--c-deep). --c-accent-soft and
     --c-accent-ink are the background and text of accent badges;
     --c-accent-light is for small text and icons on navy, and for icons and
     large text on the primary fill. */
  --c-accent: #f8bd40;
  --c-accent-hover: #f5b400;
  --c-accent-soft: light-dark(#f9edd3, #342610);
  --c-accent-ink: light-dark(#896200, #e3b359);
  --c-accent-light: #f1c56e;

  /* Glows in the corner of the hero and page title backgrounds. */
  --c-glow: light-dark(rgb(249 237 211 / 0.7), rgb(248 189 64 / 0.1));
  --c-glow-soft: light-dark(rgb(249 237 211 / 0.55), rgb(248 189 64 / 0.08));

  /* Bootstrap's primary as numbers, for its .text-primary, .bg-primary and
     other utilities (style.css points --bs-primary at --c-primary-fill). */
  --bs-primary-rgb: 178, 13, 67;
}

/* ----------------------------------------------------------------
	Fallback Without light-dark()
---------------------------------------------------------------- */

/* Browsers without light-dark() stay in the light theme (see style.css): they
   get the first value of each light-dark() above. Keep the two in step. */
@supports not (color: light-dark(#000, #fff)) {
  :root {
    --c-primary: #b20d43;
    --c-tint: #feeaea;
    --c-map-edge: #ee9d9f;
    --c-accent-soft: #f9edd3;
    --c-accent-ink: #896200;
    --c-glow: rgb(249 237 211 / 0.7);
    --c-glow-soft: rgb(249 237 211 / 0.55);
  }
}
