/* BL0CK+SW1TCH design tokens.
   Source of truth for colour, type and spacing values. tokens.json holds the same values for tools.
   Every value here is taken from an approved design: the business card (dark promo mode)
   or the Player Guide v3.2 (light document mode). Nothing is invented. */

@font-face { font-family: 'Syncopate'; font-weight: 700; font-style: normal; font-display: block;
  src: url('../fonts/syncopate/Syncopate-Bold.ttf') format('truetype'); }
@font-face { font-family: 'Syncopate'; font-weight: 400; font-style: normal; font-display: block;
  src: url('../fonts/syncopate/Syncopate-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Ubuntu'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('../fonts/ubuntu/Ubuntu-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Ubuntu'; font-weight: 400; font-style: italic; font-display: swap;
  src: url('../fonts/ubuntu/Ubuntu-Italic.ttf') format('truetype'); }
@font-face { font-family: 'Ubuntu'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('../fonts/ubuntu/Ubuntu-Bold.ttf') format('truetype'); }
@font-face { font-family: 'Ubuntu'; font-weight: 700; font-style: italic; font-display: swap;
  src: url('../fonts/ubuntu/Ubuntu-BoldItalic.ttf') format('truetype'); }

:root {
  /* Colour: dark promo mode (business card, listing image) */
  --bs-black: #0B0D0F;           /* deepest dark: photo edges, QR modules */
  --bs-surface: #131517;         /* flat background. Use this solid for print, never a gradient */
  --bs-surface-sunken: #0D0F11;  /* chip body, recessed panels */
  --bs-text: #EDEEF0;            /* primary text, also the light QR plate */
  --bs-text-soft: #D9DBDE;       /* tagline over photography */
  --bs-text-secondary: #C9CCD0;  /* action lines */
  --bs-text-muted: #9A9DA1;      /* labels, the + in the wordmark */
  --bs-accent: #2ABD6D;          /* bits, chevrons, chip outline and pads. Dark backgrounds only */

  /* Colour: light document mode (Player Guide, character sheet) */
  --bs-paper: #FFFFFF;
  --bs-print-ink: #000000;

  /* Type families */
  --bs-font-display: 'Syncopate', sans-serif;      /* 700 for almost everything, 400 for document subheads */
  --bs-font-body: 'Ubuntu', system-ui, sans-serif; /* running text in documents */

  /* Tracking (letter-spacing) by role, dark promo mode */
  --bs-track-wordmark: 0;
  --bs-track-headline: 0.01em;
  --bs-track-name: 0.04em;
  --bs-track-link: 0.06em;
  --bs-track-tagline: 0.1em;
  --bs-track-label: 0.14em;
  --bs-track-action: 0.18em;

  /* Size ratios, dark promo mode. Multiply by the wordmark or headline size */
  --bs-ratio-tagline: calc(23 / 62);  /* tagline : wordmark */
  --bs-ratio-lockup-gap: calc(18 / 62);
  --bs-ratio-name: calc(28 / 56);     /* name : headline */
  --bs-ratio-small: calc(20 / 56);    /* link, action, label : headline */

  /* Print floor: nothing in Syncopate smaller than this on paper */
  --bs-min-print-size: 5pt;

  /* Document mode sizes, measured from the Player Guide v3.2 */
  --bs-doc-title: 30pt;
  --bs-doc-subtitle: 20pt;
  --bs-doc-h1: 18pt;
  --bs-doc-group: 16pt;
  --bs-doc-h2: 11pt;
  --bs-doc-label: 9.8pt;
  --bs-doc-body: 9pt;
  --bs-doc-leading: 12.75pt;
  --bs-doc-margin: 1in;
}
