/*
 * Spot Frame: design tokens
 * A bright editorial style for things worth looking at. White pages, black extended headlines,
 * thin wide coral labels and one flat poster per screen: a big geometric spot illustration in a
 * dashed viewfinder frame with heavy corner brackets. Square corners, no shadows, a coral and mint pair.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,100..900&family=Martian+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: white first, blush for quiet blocks */
  --sf-paper: #ffffff;
  --sf-blush: #fcefe9;
  --sf-line: #e7e1dd;
  --sf-ink: #0f0e11;          /* headlines, body, the dark half of every poster */

  /* Text */
  --sf-soft: #67626b;
  --sf-faint: #a39ea6;

  /* The accent pair. Coral is the voice (labels, logo, links); mint is the poster ground */
  --sf-coral: #ee7564;
  --sf-coral-dark: #d65a49;
  --sf-mint: #1fc89c;
  --sf-mint-dark: #14a57f;

  /* Poster grounds, one per poster, never mixed inside one */
  --sf-butter: #ecee7e;
  --sf-cobalt: #2232a0;
  --sf-pink: #f6a6c4;

  /* Type */
  --sf-display: "Archivo", "Helvetica Neue", Arial, sans-serif;  /* always with font-stretch: 125% */
  --sf-sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sf-mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --sf-wide: 125%;            /* font-stretch for display text */
  --sf-text-hero: clamp(40px, 6.4vw, 84px);
  --sf-text-h2: clamp(30px, 3.8vw, 48px);
  --sf-text-h3: 21px;
  --sf-text-lead: 19px;
  --sf-text-body: 16px;
  --sf-text-small: 14px;
  --sf-text-label: 10px;      /* the mono category labels, uppercase */

  --sf-tracking-hero: -.035em;
  --sf-tracking-label: .12em;

  /* Shape: square and flat. Dashed frames and corner brackets do the work shadows would */
  --sf-radius: 0;
  --sf-radius-pill: 999px;    /* only for chips and the toggle */
  --sf-border: 1px solid var(--sf-line);
  --sf-frame: 2px dashed var(--sf-ink);
  --sf-bracket: 6px;          /* corner bracket thickness */
  --sf-bracket-size: 34px;    /* corner bracket arm length */

  /* Space */
  --sf-section: clamp(64px, 9vw, 120px);
  --sf-container: 1200px;
  --sf-narrow: 720px;
  --sf-gutter: clamp(20px, 3vw, 40px);

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