/*
 * Night Kiln: tokens
 * Feel: a quiet workroom after midnight. Deep plum pages lit by soft fans of
 * light from above, one narrow centered column, plain grotesk type, links that
 * are always underlined and pale lavender chip buttons. No cards: content sits
 * on the page and hairlines do the dividing. The one big picture is a dark
 * window with something glowing inside it. A teal and violet ribbon mark is
 * the only color besides the plum. Minimal, honest, dreamy, a little nerdy.
 *
 * Fonts (free, Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,400;0,500;0,700;1,400&family=Spline+Sans+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: plum at the top, deeper plum further down */
  --nk-plum-top: #2b1a3d;
  --nk-plum: #24162f;
  --nk-plum-deep: #1c1126;
  --nk-window: #121015;
  --nk-window-edge: #1d1a22;
  --nk-raise: #33224a;
  --nk-line: #43305a;
  --nk-line-soft: #34253f;

  /* Light beams behind the column */
  --nk-beam: rgba(186, 150, 236, 0.09);
  --nk-beam-strong: rgba(186, 150, 236, 0.15);

  /* Text */
  --nk-text: #f5f0fb;
  --nk-soft: #cfc3de;
  --nk-dim: #9a8bad;
  --nk-faint: #6f6283;

  /* The chip button */
  --nk-chip: #ebe4f6;
  --nk-chip-hover: #ffffff;
  --nk-chip-edge: #b9a9d4;
  --nk-ink: #1d1326;

  /* The ribbon mark and small markers */
  --nk-teal: #5ccfc3;
  --nk-violet: #9a7cf2;
  --nk-ribbon: linear-gradient(135deg, var(--nk-teal) 0%, var(--nk-violet) 100%);

  /* The glow inside the window (the only warm color, never on the page) */
  --nk-ember: #f39a58;
  --nk-ember-hot: #ffd09a;
  --nk-ember-deep: #a3402a;

  /* Status */
  --nk-ok: #7fd9a4;
  --nk-error: #ff8f9b;

  /* Fonts */
  --nk-sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --nk-mono: "Spline Sans Mono", ui-monospace, Menlo, monospace;

  /* Type scale */
  --nk-text-hero: clamp(26px, 3.4vw, 34px);
  --nk-text-h2: clamp(22px, 2.6vw, 26px);
  --nk-text-h3: 18px;
  --nk-text-lead: 17px;
  --nk-text-body: 15px;
  --nk-text-small: 13px;
  --nk-text-label: 12px;
  --nk-line-height: 1.6;

  /* Shape */
  --nk-radius-chip: 3px;
  --nk-radius-window: 4px;
  --nk-radius-input: 3px;
  --nk-hairline: 1px solid var(--nk-line);
  --nk-hairline-soft: 1px solid var(--nk-line-soft);
  --nk-shadow-chip: inset 0 -2px 0 var(--nk-chip-edge);
  --nk-shadow-window: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --nk-focus: 0 0 0 2px var(--nk-plum), 0 0 0 4px var(--nk-violet);

  /* Space */
  --nk-column: 680px;
  --nk-column-wide: 760px;
  --nk-gutter: 24px;
  --nk-space-1: 4px;
  --nk-space-2: 8px;
  --nk-space-3: 12px;
  --nk-space-4: 16px;
  --nk-space-5: 24px;
  --nk-space-6: 32px;
  --nk-space-7: 48px;
  --nk-space-8: 64px;
  --nk-space-9: 96px;
}
