/*
  Walnut Faceplate: design tokens
  A dark, warm instrument-maker style. Pure black pages that feel like a studio at night,
  CSS-drawn objects framed by oiled walnut cheeks around brushed aluminium faceplates,
  engraved mono labels, knobs and a glowing amber pilot lamp. Headlines are wide and light,
  body text is small and quiet, and one amber accent does all the pointing.

  Fonts (free on Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@100,400;100,500;100,600;125,300;125,400&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces: black first, coal for cards, panel for raised things */
  --wf-black: #070706;        /* page background */
  --wf-coal: #121110;         /* cards, alternate sections */
  --wf-panel: #1c1a18;        /* raised panels, inputs */
  --wf-line: #2b2825;         /* every hairline */
  --wf-line-hi: #3d3935;      /* hover borders */

  /* Text */
  --wf-bone: #eeeae3;         /* headlines and body */
  --wf-ash: #8e8880;          /* leads, captions, secondary text */
  --wf-smoke: #5d5852;        /* fine print, disabled */

  /* The one accent: amber pilot lamp */
  --wf-amber: #d9952b;
  --wf-amber-hi: #eaa944;
  --wf-amber-soft: rgba(217, 149, 43, 0.14);
  --wf-amber-glow: 0 0 6px 1px rgba(234, 169, 68, 0.9), 0 0 22px 4px rgba(217, 149, 43, 0.45);

  /* Materials: only inside drawn objects and the wood band */
  --wf-walnut: #6b4329;
  --wf-walnut-dark: #3d2516;
  --wf-walnut-hi: #8a5a38;
  --wf-alu: #c9cbcc;
  --wf-alu-dark: #8f9294;
  --wf-alu-ink: #3a3c3e;      /* engraved labels on aluminium */
  --wf-knob: #161514;

  /* Status, only inside forms */
  --wf-error: #d0654f;
  --wf-ok: #8fae7d;

  /* Fonts */
  --wf-font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;  /* always with --wf-stretch-head */
  --wf-font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wf-font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --wf-stretch-head: 125%;
  --wf-weight-head: 300;

  /* Type scale */
  --wf-text-hero: clamp(34px, 5.2vw, 68px);
  --wf-text-h2: clamp(28px, 3.6vw, 46px);
  --wf-text-h3: 21px;
  --wf-text-lead: 17px;
  --wf-text-body: 15px;
  --wf-text-small: 13px;
  --wf-text-label: 11px;
  --wf-track-head: -0.01em;
  --wf-track-label: 0.16em;
  --wf-leading-head: 1.12;
  --wf-leading-body: 1.6;

  /* Shape */
  --wf-radius: 2px;           /* buttons, inputs, cards: nearly square */
  --wf-radius-knob: 50%;
  --wf-radius-plate: 6px;     /* the aluminium faceplate corners */
  --wf-border: 1px solid var(--wf-line);

  /* Shadows: only drawn objects cast them */
  --wf-shadow-object: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.6);
  --wf-shadow-knob: inset 0 2px 1px rgba(255, 255, 255, 0.12), 0 3px 4px rgba(0, 0, 0, 0.55);
  --wf-spot: radial-gradient(60% 55% at 50% 40%, rgba(238, 234, 227, 0.07), transparent 70%);

  /* Space */
  --wf-space-1: 4px;
  --wf-space-2: 8px;
  --wf-space-3: 16px;
  --wf-space-4: 24px;
  --wf-space-5: 40px;
  --wf-space-6: 64px;
  --wf-space-7: 104px;
  --wf-section: clamp(64px, 9vw, 128px);
  --wf-container: 1200px;
  --wf-text-width: 620px;
  --wf-gutter: clamp(16px, 4vw, 40px);

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