/* ---------------------------------------------------------------------------
   Bastion Capital — shared design tokens
   CANONICAL SOURCE: the research wiki (research.bastioncapital.com) —
     quartz-wiki/quartz/styles/custom.scss
     quartz-wiki/quartz.config.yaml  (theme.colors.lightMode)
   The site and the wiki must read as one property. Change values in the wiki
   first, then mirror them here. Fonts are byte-identical copies of the wiki's
   quartz/static/ files so both properties render the same.
   --------------------------------------------------------------------------- */

@font-face {
  font-family: "Junicode";
  src: url("/fonts/junicode.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dmsans.ttf") format("truetype");
  font-weight: 100 1000; /* variable font */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Helvetica Neue Bold";
  src: url("/fonts/HelveticaNeueBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colour — brand + wiki light mode */
  --dusk: #252042;        /* brand primary / wiki dark + secondary */
  --dusk-deep: #1f1a38;   /* guideline p.28 secondary tint */
  --off-white: #f7f7f7;   /* brand */
  --paper: #faf9fb;       /* wiki light-mode page background */
  --hairline: #e6e3ec;    /* wiki lightgray — 1px rules */
  --gray: #9d90a0;        /* wiki gray */
  --ink-soft: #46415c;    /* wiki darkgray — body text */
  --scarlet: #ff3d17;     /* emphasis only — NEVER at body size (AA) */
  --mint: #d6f2e4;        /* quiet accent only */
  --sand: #c6bba9;        /* quiet accent only */

  /* Type — the wiki's @font-face trio */
  --font-serif: "Junicode", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-label: "Helvetica Neue Bold", "DM Sans", sans-serif;

  /* Details */
  --radius: 2px; /* sharp brand corners */
}
