/*
 * Peek Panel: design tokens
 * A cheeky, hand-made personal page. Plain white paper and one big rounded panel
 * outlined in a thick ink line, with a doodled mascot peeking over its top edge as if
 * it is about to talk. Text is a light, plain grotesque set large and friendly; section
 * heads are wide, heavy, letter-spaced capitals. One tomato-red pen for links (always
 * underlined) and a marigold for small doodle fills. Work is shown as ink title cards
 * with wide white capitals, each with a two-tone caption: the name in ink, the
 * description in grey. No shadows, no gradients, no photos.
 *
 * Fonts (free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,100..900&display=swap" rel="stylesheet">
 */
:root {
  /* Paper */
  --pk-paper: #ffffff;        /* the page and the panel */
  --pk-paper-2: #f5f4f1;      /* quiet fills: inputs, table heads, code */
  --pk-paper-3: #ebe9e4;      /* hover on quiet fills */

  /* Ink */
  --pk-ink: #252423;          /* text, the panel line, doodle strokes, title cards */
  --pk-ink-soft: #464442;     /* body copy */
  --pk-grey: #95928d;         /* caption descriptions, dates, hints */
  --pk-line: #dedbd5;         /* hairline dividers only */
  --pk-night: #1a1918;        /* title card ground */

  /* Two pens */
  --pk-red: #e4483a;          /* links, the primary button, glasses, hearts */
  --pk-red-deep: #bf3427;     /* hover, pressed, red text on wash */
  --pk-red-wash: #fde9e6;     /* highlighted plan, selected choice */
  --pk-marigold: #f4a436;     /* small doodle fills, stars, the "new" tag */
  --pk-marigold-wash: #fff2dc;

  /* Fonts (Archivo with its width axis) */
  --pk-font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --pk-wide: 125%;            /* font-stretch for section heads and title cards */
  --pk-narrow: 100%;

  /* Weights */
  --pk-light: 300;            /* body and leads */
  --pk-regular: 400;
  --pk-bold: 700;             /* the first words of a greeting, card names */
  --pk-black: 850;            /* wide section heads */

  /* Type scale */
  --pk-text-hello: clamp(26px, 3.4vw, 36px);   /* the greeting line */
  --pk-text-h1: clamp(30px, 4.4vw, 50px);      /* wide caps, inner page titles */
  --pk-text-h2: clamp(24px, 3.2vw, 38px);      /* wide caps, section heads */
  --pk-text-h3: 22px;                          /* card names */
  --pk-text-lead: clamp(19px, 2vw, 23px);
  --pk-text-body: 18px;
  --pk-text-small: 15px;
  --pk-text-tiny: 13px;
  --pk-track-wide: 0.08em;

  /* Shape */
  --pk-stroke: 3px;           /* the panel, cards, buttons, inputs */
  --pk-stroke-doodle: 4px;    /* doodle outlines */
  --pk-radius-panel: 30px;
  --pk-radius-card: 18px;
  --pk-radius-btn: 14px;
  --pk-radius-input: 10px;
  --pk-radius-pill: 999px;

  /* Space */
  --pk-space-1: 8px;
  --pk-space-2: 16px;
  --pk-space-3: 24px;
  --pk-space-4: 40px;
  --pk-space-5: 64px;
  --pk-space-6: 96px;
  --pk-panel-max: 900px;
  --pk-text-max: 660px;
  --pk-panel-pad: clamp(22px, 5vw, 56px);
}
