/*
 * Tint Deck: design tokens
 * A catalogue that reads like a stack of colour cards. Full-bleed bands in saturated tints,
 * each one carrying a single giant word in its own display face, with the text tinted from the
 * band's own hue instead of black or white. Navigation is a row of small dark tag chips butted
 * together. Square corners everywhere; the only shadow is a short drop under the chips.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;900&family=Bricolage+Grotesque:opsz,wght@12..96,200..700&family=Figtree:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap" rel="stylesheet">
 */
:root {
  /* Paper: the quiet surface between bands, forms and articles */
  --td-paper: #f6f4ee;
  --td-paper-2: #ebe7dc;
  --td-white: #ffffff;
  --td-line: #d9d3c4;

  /* Ink: text on paper, and the chip colour */
  --td-ink: #17202a;
  --td-ink-2: #2b3440;
  --td-soft: #5f6670;
  --td-faint: #9a9ea4;
  --td-chip: #22262b;
  --td-chip-text: #f6f4ee;

  /* The deck. Each band is a pair: a fill and a tint of the same hue for its text */
  --td-mint: #8cf0d6;
  --td-mint-ink: #0d3a3a;
  --td-sky: #4aa3ef;
  --td-sky-ink: #e2f0ff;
  --td-plum: #640f4c;
  --td-plum-ink: #ffc6e6;
  --td-marigold: #f4b72f;
  --td-marigold-ink: #3b2306;
  --td-tomato: #e5452d;
  --td-tomato-ink: #ffe3d6;
  --td-fern: #1f5a3a;
  --td-fern-ink: #c9f2b4;

  /* Feedback, used only in forms */
  --td-error: #c2341f;
  --td-ok: #1f7a4a;

  /* Type: one body face, four display faces. A band uses exactly one display face */
  --td-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --td-face-tall: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --td-face-script: "Instrument Serif", Georgia, "Times New Roman", serif;
  --td-face-grot: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;

  --td-text-giant: clamp(84px, 17vw, 260px);   /* the one word in a band */
  --td-text-hero: clamp(44px, 7vw, 96px);
  --td-text-h2: clamp(32px, 4.4vw, 56px);
  --td-text-h3: 22px;
  --td-text-lead: 19px;
  --td-text-body: 16px;
  --td-text-small: 14px;
  --td-text-caption: 13px;

  --td-tracking-tall: -.01em;
  --td-tracking-grot: -.045em;
  --td-tracking-script: -.02em;

  /* Shape: square. Chips get a 1px corner so they read as tags, not buttons */
  --td-radius-0: 0;
  --td-radius-chip: 1px;
  --td-border: 1px solid var(--td-line);
  --td-border-ink: 2px solid var(--td-ink);
  --td-shadow-chip: 0 2px 3px rgba(10, 14, 20, .28);
  --td-focus: 0 0 0 3px var(--td-sky);

  /* Space */
  --td-band: clamp(220px, 34vw, 380px);  /* minimum height of a band */
  --td-section: clamp(64px, 9vw, 112px);
  --td-gutter: clamp(16px, 2vw, 24px);
  --td-container: 1180px;
  --td-narrow: 720px;
  --td-chip-gap: 2px;

  /* Motion */
  --td-ease: cubic-bezier(.2, .7, .2, 1);
}
