/*
 * Mat Board: tokens
 * A quiet gallery wall. The page is a dusty mauve wall, a white serif wordmark sits centered above a
 * hairline rule, and the nav is a row of tiny expanded capitals. Content hangs on the wall as matted
 * plates: a white mat around a flat colored plate (apricot, moss, butter, sky, clay) with a line drawing
 * and a serif title inside, and a two-line caption underneath. Corners are square, shadows are soft.
 *
 * Fonts (free on Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@125,600;125,700&family=DM+Serif+Display:ital@0;1&family=Literata:ital,opsz,wght@0,7..72,400;0,7..72,600;1,7..72,400&display=swap" rel="stylesheet">
 */
:root {
  /* The wall and the mat */
  --mb-wall: #E2D6D9;          /* the page: a dusty mauve wall */
  --mb-wall-deep: #D6C8CC;     /* footer, quiet bands, hover on the wall */
  --mb-mat: #FFFDFA;           /* the white mat around every plate, forms, plans */
  --mb-paper: #F8F3F1;         /* inputs and soft fills inside a mat */
  --mb-rule: #B4A3A9;          /* hairline rules on the wall */
  --mb-rule-soft: #E7DEE0;     /* hairlines inside a mat */

  /* Text */
  --mb-ink: #2A2125;           /* headlines, body, the main button */
  --mb-dusk: #6B5C62;          /* leads, captions, secondary text */
  --mb-faint: #958890;         /* meta, hints */

  /* Plate colors: flat fills that hang inside a mat, never on the wall itself */
  --mb-apricot: #F1BD86;
  --mb-moss: #2E4227;
  --mb-butter: #ECE29C;
  --mb-sky: #B9CAD3;
  --mb-clay: #C7714F;
  --mb-cream: #F6EED8;         /* text and drawings on moss and clay plates */

  /* Fonts */
  --mb-display: 'DM Serif Display', 'Didot', Georgia, serif;
  --mb-serif: 'Literata', Georgia, serif;
  --mb-caps: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mb-caps-stretch: 125%;     /* Archivo is always set expanded */

  /* Type scale */
  --mb-text-wordmark: clamp(56px, 9vw, 112px);
  --mb-text-hero: clamp(42px, 6vw, 80px);
  --mb-text-h2: clamp(32px, 4vw, 52px);
  --mb-text-h3: 25px;
  --mb-text-lead: clamp(18px, 1.6vw, 21px);
  --mb-text-body: 17px;
  --mb-text-small: 15px;
  --mb-text-caps: 11.5px;      /* nav, labels, buttons, dates: always expanded capitals */
  --mb-tracking-caps: .09em;

  /* Shape: square corners everywhere */
  --mb-radius: 0;
  --mb-mat-width: clamp(7px, .8vw, 10px);   /* the white border around a plate */
  --mb-hairline: 1px;

  /* Shadows: a framed print on a wall, soft and slightly warm */
  --mb-shadow-sm: 0 1px 2px rgba(60, 35, 45, .08), 0 6px 14px -6px rgba(60, 35, 45, .16);
  --mb-shadow: 0 2px 4px rgba(60, 35, 45, .07), 0 18px 36px -14px rgba(60, 35, 45, .28);
  --mb-shadow-lg: 0 3px 6px rgba(60, 35, 45, .07), 0 34px 60px -22px rgba(60, 35, 45, .36);

  /* Space */
  --mb-container: 1080px;
  --mb-narrow: 680px;
  --mb-gutter: clamp(20px, 3vw, 36px);      /* gap between plates */
  --mb-section: clamp(64px, 8vw, 112px);
}
