/* MACHINA design tokens. Source: the first iteration (reference/fr-first-iteration). Do not add colours or fonts. */
@import url('./fonts.css');

:root {
  /* Colours */
  --paper: #F2EDE3;          /* main background */
  --paper-deep: #EAE2D3;     /* illustration plates */
  --paper-light: #FBF8F2;    /* document card (The Source posts) */
  --ink: #141210;            /* text, rules, dark bands */
  --ink-2: #3B3631;          /* standfirsts, secondary text */
  --muted: #5E574E;          /* captions, metadata */
  --rule-soft: #D6CDBD;      /* light separators */
  --on-dark-muted: #CFC7BA;  /* secondary text on ink */
  --vermilion: #C8341F;      /* main accent */
  --vermilion-light: #E0614D;/* accent on ink */
  --red-ground: #B3261E;     /* Life / Work post background */
  --jade: #2D6650;           /* video block, The Money box, plates */
  --ochre: #B98A3E;          /* gold details in plates */
  --highlight: #F2B8A8;      /* highlighted sentence in a document */
  --highlight-on-dark: rgba(224, 97, 77, 0.28);

  /* Typefaces */
  --font-display: 'Bodoni Moda', 'Bodoni 72', Didot, serif;
  --font-ui: 'Inter Tight', system-ui, sans-serif;
  --font-text: 'Newsreader', Georgia, serif;

  /* Type scale (px) */
  --masthead: clamp(72px, 15vw, 196px);
  --masthead-tracking: -0.035em;
  --h1-article: clamp(42px, 6vw, 80px);
  --h1-lead: clamp(38px, 5vw, 62px);
  --h2: 36px;
  --vertical-name: 30px;
  --headline-list: 21px;
  --headline-day: 20px;
  --body: 21px;
  --body-leading: 1.62;
  --label: 12.5px;
  --label-tracking: 0.16em;

  /* Layout */
  --container: 1280px;
  --gutter: 32px;
  --rule: 1px solid var(--ink);
  --rule-double: 3px double var(--ink);
  --radius: 0;
  --hard-shadow: 10px 10px 0 var(--ink);
}

/* Utility patterns seen in the reference pages */
.label { font-family: var(--font-ui); font-size: var(--label); letter-spacing: var(--label-tracking); text-transform: uppercase; font-weight: 600; }
.masthead { font-family: var(--font-display); font-weight: 600; font-size: var(--masthead); line-height: 0.86; letter-spacing: var(--masthead-tracking); }
.opinion { font-family: var(--font-display); font-style: italic; font-weight: 500; }
