/*
 * Day Panel: design tokens
 * Split and straightforward. A plain white reading column on the left and a sticky, full-height
 * vermilion panel on the right, stacked in two tones. The top half carries today's date as giant
 * faded numerals with one bold word laid over them; the bottom half holds a framed box whose thin
 * inset border has its label notched into the top edge. Lists are tidy: a small mono source line,
 * a bold title, one plain sentence and gray tag chips. Links in the chrome are mono capitals.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&family=DM+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: white column, one warm off-white for quiet blocks */
  --dp-paper: #ffffff;
  --dp-cream: #faf7f4;
  --dp-chip: #efece8;        /* tag chips, toggles, table heads */
  --dp-line: #e6e1dc;
  --dp-line-strong: #d3ccc5;

  /* Text */
  --dp-ink: #211e1c;
  --dp-ink-2: #3a3532;
  --dp-soft: #6c6661;
  --dp-faint: #a39d97;

  /* The panel: two tones of vermilion, plus a deep tone for text on cream */
  --dp-flame: #e8602d;       /* top half of the panel, main buttons, mono links */
  --dp-flame-deep: #b9461b;  /* hover, accent text on white */
  --dp-ember: #f08c63;       /* bottom half of the panel */
  --dp-blush: #fde9df;       /* selected rows, highlights */
  --dp-on-flame: #ffffff;
  --dp-ghost: rgba(255, 255, 255, .26);  /* giant faded numerals */
  --dp-frame: rgba(255, 255, 255, .78);  /* inset frame border on the panel */

  /* One quiet support color for "good" readouts only */
  --dp-sea: #2c7a78;
  --dp-sea-soft: #e1f0ef;

  /* Type */
  --dp-sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --dp-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --dp-text-numeral: clamp(96px, 13vw, 200px);
  --dp-text-numeral-xl: clamp(160px, 22vw, 340px);  /* for one or two characters */
  --dp-text-hero: clamp(36px, 4.6vw, 58px);
  --dp-text-h2: clamp(26px, 3vw, 36px);
  --dp-text-h3: 20px;
  --dp-text-lead: 19px;
  --dp-text-body: 16px;
  --dp-text-small: 14px;
  --dp-text-micro: 12px;

  --dp-tracking-hero: -.02em;
  --dp-tracking-mono: .08em;

  /* Shape: flat, nearly square, thin lines. No shadows on the column */
  --dp-radius-sm: 3px;
  --dp-radius: 4px;
  --dp-radius-lg: 6px;
  --dp-border: 1px solid var(--dp-line);
  --dp-border-strong: 1px solid var(--dp-line-strong);
  --dp-frame-border: 1px solid var(--dp-frame);
  --dp-shadow: 0 1px 0 rgba(33, 30, 28, .06);
  --dp-shadow-lift: 0 10px 24px -14px rgba(185, 70, 27, .45);

  /* Space and layout */
  --dp-space-1: 4px;
  --dp-space-2: 8px;
  --dp-space-3: 12px;
  --dp-space-4: 16px;
  --dp-space-5: 24px;
  --dp-space-6: 32px;
  --dp-space-7: 48px;
  --dp-space-8: 72px;
  --dp-column: 62%;          /* left column width on desktop; the panel takes the rest */
  --dp-measure: 680px;
  --dp-gutter: clamp(20px, 4vw, 56px);

  --dp-ease: .18s ease;
}
