/*
 * Low Lamp: tokens
 * Feel: a personal page read by one low lamp. A warm graphite page, one
 * narrow column, and almost everything set at a single small size. Plain
 * sans for the facts, a serif italic for the voice: every paragraph opens
 * with a few italic words. Content is an index, not a layout: small grey
 * labels over three columns of linked titles with a grey line under each.
 * No pictures, no cards, no big headlines. Links keep a faint underline that
 * turns coral on hover; coral is also the one live dot. Keyboard keys are
 * the only "objects" on the page.
 *
 * Fonts (free, Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600&family=Source+Serif+4:ital,opsz,wght@1,8..60,400;1,8..60,500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: warm graphite, never pure black */
  --ll-ground: #161615;
  --ll-ground-2: #1e1e1c;
  --ll-ground-3: #262624;
  --ll-line: #2d2d2a;
  --ll-line-strong: #41413d;

  /* Text */
  --ll-text: #ecebe5;
  --ll-soft: #a5a49c;
  --ll-faint: #6f6e68;

  /* The one accent: lamp coral. Hover underlines, the live dot, focus */
  --ll-coral: #e9957c;
  --ll-coral-soft: rgba(233, 149, 124, 0.16);
  --ll-coral-ink: #1f1310;

  /* States */
  --ll-error: #ef9a8e;
  --ll-ok: #b7cfa4;

  /* Fonts */
  --ll-sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --ll-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  /* Type scale: one size does most of the work */
  --ll-text-body: 15px;
  --ll-text-prose: 16px;
  --ll-text-small: 13px;
  --ll-text-title: 22px;
  --ll-text-figure: 28px;
  --ll-line-height: 1.6;
  --ll-line-prose: 1.75;
  --ll-italic-scale: 1.08em;
  --ll-weight: 400;
  --ll-weight-strong: 500;

  /* Shape */
  --ll-radius: 6px;
  --ll-radius-key: 5px;
  --ll-radius-pill: 999px;
  --ll-underline: 1px;
  --ll-underline-offset: 3px;
  --ll-key-edge: inset 0 -1px 0 var(--ll-line-strong);
  --ll-focus: 0 0 0 2px var(--ll-ground), 0 0 0 3px var(--ll-coral);

  /* Space */
  --ll-column: 620px;
  --ll-column-narrow: 420px;
  --ll-gutter: 20px;
  --ll-space-1: 4px;
  --ll-space-2: 8px;
  --ll-space-3: 12px;
  --ll-space-4: 16px;
  --ll-space-5: 24px;
  --ll-space-6: 32px;
  --ll-space-7: 48px;
  --ll-space-8: 64px;
  --ll-space-9: 96px;

  /* Motion */
  --ll-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ll-fast: 160ms;
}
