/*
 * Cell Sheet: design tokens
 * A specimen-sheet style on warm butter paper. The page is a grid of square cells drawn
 * with 1px hairlines, like a type catalogue or a timetable. The active nav cell is a solid
 * black block with a tiny count in its corner. Labels and meta are small and grey, so the
 * one giant grotesk headline in each cell does the talking. No radius, no shadows, one
 * small sun-yellow dot as the only color. Precise, minimal and quietly nerdy.
 *
 * Fonts (free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;500;700;800&family=Hanken+Grotesk:wght@400;500;600&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces */
  --cs-paper: #fcfbe7;
  --cs-paper-deep: #f5f3d6;
  --cs-white: #fffff6;
  --cs-ink: #151512;
  --cs-ink-soft: #33332d;

  /* Text and lines */
  --cs-mute: #9a9984;
  --cs-mute-strong: #6f6e5e;
  --cs-line: #e3e1c6;
  --cs-line-strong: #c8c6a6;

  /* The only color */
  --cs-sun: #f1d873;
  --cs-sun-deep: #c9a62a;
  --cs-signal: #d9502b;

  /* Type */
  --cs-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --cs-sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --cs-text-specimen: clamp(64px, 11vw, 168px);
  --cs-text-cell: clamp(52px, 5.6vw, 92px);
  --cs-text-hero: clamp(44px, 7vw, 104px);
  --cs-text-xl: clamp(36px, 4.6vw, 64px);
  --cs-text-l: clamp(26px, 2.8vw, 38px);
  --cs-text-m: clamp(19px, 1.6vw, 22px);
  --cs-text-body: 17px;
  --cs-text-ui: 15px;
  --cs-text-small: 13px;
  --cs-text-micro: 11px;

  --cs-leading-tight: .96;
  --cs-leading-head: 1.08;
  --cs-leading: 1.55;
  --cs-tracking-tight: -.035em;

  /* Shape: square cells, hairlines, nothing else */
  --cs-radius: 0;
  --cs-hair: 1px solid var(--cs-line);
  --cs-hair-strong: 1px solid var(--cs-line-strong);
  --cs-rule-ink: 2px solid var(--cs-ink);
  --cs-shadow: none;
  --cs-dot: 14px;

  /* Space: an 8px base, big empty air inside cells */
  --cs-s1: 4px;
  --cs-s2: 8px;
  --cs-s3: 16px;
  --cs-s4: 24px;
  --cs-s5: 40px;
  --cs-s6: 64px;
  --cs-s7: 96px;
  --cs-cell-pad: clamp(20px, 2.8vw, 40px);
  --cs-gutter: clamp(16px, 2.8vw, 40px);
  --cs-container: 1360px;
  --cs-measure: 660px;
  --cs-nav-h: 120px;
}
