/*
 * Coral Roster: design tokens
 * Plain-spoken and bold on a dark workshop floor. Charcoal pages, a dimmed backdrop of
 * machined parts drawn in CSS, a narrow left column of warm grey text, and one coral accent
 * used big: headlines and a giant roster of category words you can click. Copper is the
 * quiet second color for labels and rules. No cards, no glow, square-ish corners.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Figtree:ital,wght@0,400;0,500;0,600;1,400&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: one charcoal floor, a slightly lighter shelf for panels and inputs */
  --cr-coal: #1b1b1c;
  --cr-coal-2: #232324;
  --cr-shelf: #2c2b2b;
  --cr-rule: #3a3938;
  --cr-steel: #5c5a57;        /* the drawn machine parts */
  --cr-steel-2: #807c76;

  /* Text */
  --cr-chalk: #f1eee8;        /* headings that are not coral, values */
  --cr-smoke: #cfcac2;        /* body copy */
  --cr-ash: #8f8a83;          /* meta, captions, resting links */

  /* The accent. Headlines, the roster, the primary button, the wordmark box */
  --cr-coral: #f0533f;
  --cr-coral-dark: #cf3c2a;
  --cr-coral-soft: rgba(240, 83, 63, .14);
  --cr-on-coral: #1b1b1c;

  /* The quiet second color. Labels, small rules, counts, list bullets */
  --cr-copper: #c48a52;
  --cr-copper-dark: #8a5c33;

  /* Status, forms only */
  --cr-ok: #7fb37a;

  /* Type */
  --cr-display: "Outfit", "Avenir Next", system-ui, sans-serif;
  --cr-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --cr-text-roster: clamp(46px, 7.6vw, 108px);
  --cr-text-hero: clamp(34px, 4.4vw, 60px);
  --cr-text-h2: clamp(28px, 3.2vw, 42px);
  --cr-text-h3: 21px;
  --cr-text-lead: clamp(17px, 1.5vw, 20px);
  --cr-text-body: 17px;
  --cr-text-small: 14px;
  --cr-text-micro: 12px;

  --cr-tracking-big: -.025em;
  --cr-tracking-label: .16em;

  /* Shape: almost square, lines not boxes, no shadows */
  --cr-radius-sm: 2px;
  --cr-radius: 4px;
  --cr-line: 1px solid var(--cr-rule);
  --cr-underline: 2px solid var(--cr-smoke);

  /* Space */
  --cr-space-1: 4px;
  --cr-space-2: 8px;
  --cr-space-3: 12px;
  --cr-space-4: 16px;
  --cr-space-5: 24px;
  --cr-space-6: 40px;
  --cr-space-7: 64px;
  --cr-space-8: 112px;
  --cr-wrap: 1240px;
  --cr-column: 560px;
  --cr-gutter: clamp(20px, 5vw, 72px);

  /* Motion */
  --cr-ease: cubic-bezier(.2, .7, .2, 1);
  --cr-fast: 160ms;
}
