/*
 * Contact Sheet: design tokens
 * An open-source desktop app look. A dusk landscape drawn behind a big lowercase rounded
 * wordmark and a six-blade color wheel, a flat pale-gray paper card laid over the hero, then
 * mid-gray app chrome: collapsible side panels, a grid of tiles with file-type tags, star
 * ratings and color-label dots. Square corners, 1px dark lines, classic blue underlined links.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600&family=Noto+Sans:wght@400;600&family=Noto+Sans+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Page and app chrome: four steps of neutral gray, darkest outside */
  --cs-page: #232323;        /* page background */
  --cs-chrome: #303030;      /* app window body, footer */
  --cs-chrome-2: #3d3d3d;    /* side panels, panel headers */
  --cs-chrome-3: #525252;    /* inputs and buttons on chrome, hover */
  --cs-tile: #6f6f6f;        /* a grid tile at rest */
  --cs-tile-hi: #a9a9a9;     /* the selected tile */
  --cs-line: #1b1b1b;        /* every line on chrome */

  /* Paper: the flat pale card laid over the hero, and article pages */
  --cs-paper: #e7e6e3;
  --cs-paper-2: #d8d7d3;
  --cs-paper-line: #c4c2bd;

  /* Dusk: the drawn landscape behind the hero */
  --cs-dusk-top: #2b2624;
  --cs-dusk-mid: #5e4d40;
  --cs-dusk-glow: #a07a55;
  --cs-hill: #1e1c1b;

  /* Specimen sheets drawn inside tiles: papers and inks */
  --cs-sheet-cream: #ece3cf;
  --cs-sheet-ash: #d1ccc2;
  --cs-sheet-kraft: #b8996f;
  --cs-sheet-cyan: #1e4c84;  /* cyanotype print */
  --cs-ink-leaf: #3f5c2d;
  --cs-ink-rust: #7a3e22;
  --cs-ink-white: #f1eee5;

  /* Text */
  --cs-ink: #2a2a2a;         /* on paper */
  --cs-ink-soft: #5a5a58;
  --cs-light: #ececec;       /* on chrome and dusk */
  --cs-dim: #a3a3a3;
  --cs-faint: #7c7c7c;

  /* Links and the primary action */
  --cs-link: #2c6bd0;
  --cs-link-dark: #1f55ab;
  --cs-link-on-dark: #8db6f2;

  /* Color labels: the six blades of the wheel. Used as dots, tags and the logo, never as fills for page sections */
  --cs-red: #cf4036;
  --cs-orange: #e27a1c;
  --cs-yellow: #e4b223;
  --cs-green: #3f9c49;
  --cs-blue: #2f72cf;
  --cs-purple: #9a3db3;
  --cs-wheel: conic-gradient(from -30deg, var(--cs-red) 0 60deg, var(--cs-orange) 60deg 120deg, var(--cs-yellow) 120deg 180deg, var(--cs-green) 180deg 240deg, var(--cs-blue) 240deg 300deg, var(--cs-purple) 300deg 360deg);

  /* Type */
  --cs-display: "Exo 2", "Trebuchet MS", sans-serif;
  --cs-sans: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cs-mono: "Noto Sans Mono", ui-monospace, Menlo, monospace;

  --cs-text-mark: clamp(56px, 10vw, 132px);   /* the lowercase wordmark */
  --cs-text-hero: clamp(36px, 5.2vw, 64px);
  --cs-text-h2: clamp(28px, 3.4vw, 40px);
  --cs-text-h3: 20px;
  --cs-text-lead: 19px;
  --cs-text-body: 16px;
  --cs-text-small: 14px;
  --cs-text-ui: 12px;        /* panel labels, tile tags */

  /* Shape: square and flat */
  --cs-radius: 2px;
  --cs-radius-0: 0;
  --cs-border: 1px solid var(--cs-line);
  --cs-border-paper: 1px solid var(--cs-paper-line);
  --cs-shadow-window: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .6);
  --cs-shadow-card: 0 18px 40px rgba(0, 0, 0, .35);

  /* Space */
  --cs-section: clamp(64px, 9vw, 112px);
  --cs-container: 1200px;
  --cs-narrow: 760px;
  --cs-gap: 24px;
  --cs-gap-ui: 6px;

  /* Motion */
  --cs-ease: cubic-bezier(.25, .8, .25, 1);
}
