/*
  Chip Collage tokens

  Feel: a white page where huge, tightly packed black grotesk words each sit on
  their own flat highlighter block (periwinkle, orchid, mint), staggered into a
  collage with drawn material swatches that touch the blocks edge to edge.
  Square corners, hairline rules, no shadows. Loud headlines, quiet everything else.

  Fonts (free on Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Archivo:wght@500;800;900&family=Instrument+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces and text */
  --cc-paper: #FFFFFF;
  --cc-panel: #F3F3F0;
  --cc-line: #E2E2DD;
  --cc-ink: #141414;
  --cc-ink-2: #2B2B2B;
  --cc-soft: #5D5D58;
  --cc-mute: #8C8C86;

  /* Highlighter blocks: the only accents. One per word, never mixed inside a block. */
  --cc-peri: #8F9DFF;
  --cc-orchid: #F5A8EF;
  --cc-mint: #C8F5CA;
  --cc-peri-soft: #E6E9FF;
  --cc-orchid-soft: #FDE8FB;
  --cc-mint-soft: #ECFCEC;

  /* Material swatch colors (only inside drawn swatches) */
  --cc-clay: #C8784F;
  --cc-cream: #F2EADC;
  --cc-sage: #8DA68A;
  --cc-slate: #3F4B57;
  --cc-sand: #D9C3A3;
  --cc-moss: #4E6B4A;

  /* Status */
  --cc-error: #C9322B;

  /* Fonts */
  --cc-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --cc-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --cc-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Type scale */
  --cc-size-mega: clamp(3.4rem, 11vw, 9.5rem);
  --cc-size-hero: clamp(2.8rem, 8vw, 6.5rem);
  --cc-size-h2: clamp(2.1rem, 5vw, 4rem);
  --cc-size-h3: clamp(1.35rem, 2.2vw, 1.75rem);
  --cc-size-lead: clamp(1.05rem, 1.5vw, 1.25rem);
  --cc-size-body: 1rem;
  --cc-size-small: 0.875rem;
  --cc-size-tag: 0.72rem;

  --cc-weight-display: 900;
  --cc-weight-strong: 800;
  --cc-track-display: -0.055em;
  --cc-track-h2: -0.04em;
  --cc-leading-display: 0.86;
  --cc-leading-body: 1.55;

  /* Shape: everything is square */
  --cc-radius: 0;
  --cc-rule: 1px solid var(--cc-line);
  --cc-rule-ink: 1px solid var(--cc-ink);
  --cc-shadow: none;

  /* Space */
  --cc-space-1: 4px;
  --cc-space-2: 8px;
  --cc-space-3: 12px;
  --cc-space-4: 16px;
  --cc-space-5: 24px;
  --cc-space-6: 32px;
  --cc-space-7: 48px;
  --cc-space-8: 72px;
  --cc-space-9: 112px;
  --cc-gutter: clamp(16px, 3vw, 24px);
  --cc-container: 1280px;
  --cc-narrow: 720px;
  --cc-nav-h: 76px;
  --cc-control-h: 52px;

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