/*
 * Brush Hamlet: tokens
 * A storybook village at golden hour. Pages open on a drawn diorama: a lavender sky with
 * puffy clouds, rolling meadow hills, a little stone cottage and two round sheep. Over it
 * sits a hand-brushed white wordmark with a soft glow, and short tall hand-lettered caps
 * act as buttons. Below the hills the page turns to warm parchment with plum ink, rounded
 * body type and cards whose corners wobble as if cut out with scissors.
 *
 * Fonts (free on Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Caveat+Brush&family=Amatic+SC:wght@700&family=Nunito:wght@400;600;700;800&display=swap" rel="stylesheet">
 */
:root {
  /* Sky */
  --bh-sky-top: #9790D6;
  --bh-sky: #C8C1EE;
  --bh-sky-low: #F1DCE8;
  --bh-cloud: #FFFDF8;
  --bh-cloud-shade: #E4DDF6;

  /* Meadow and village */
  --bh-meadow-light: #A9C77A;
  --bh-meadow: #7FA35A;
  --bh-meadow-deep: #4C7136;
  --bh-moss: #34502A;
  --bh-stone: #E2B877;
  --bh-stone-deep: #B98444;
  --bh-slate: #5B628F;
  --bh-heather: #A98BD6;
  --bh-heather-pale: #ECE4FA;
  --bh-blossom: #F2A7C3;

  /* Parchment surfaces below the hills */
  --bh-parchment: #FBF7EE;
  --bh-linen: #F4ECDB;
  --bh-line: #E3D8C0;

  /* Ink */
  --bh-ink: #2F2A44;
  --bh-ink-soft: #4A4462;
  --bh-soft: #6C6684;
  --bh-on-scene: #FFFDF8;
  --bh-alert: #B4473B;

  /* Fonts */
  --bh-brush: "Caveat Brush", "Comic Sans MS", cursive;
  --bh-caps: "Amatic SC", "Arial Narrow", sans-serif;
  --bh-sans: "Nunito", "Helvetica Neue", system-ui, sans-serif;

  /* Type scale */
  --bh-text-mark: clamp(76px, 14vw, 190px);
  --bh-text-hero: clamp(44px, 6vw, 84px);
  --bh-text-h2: clamp(38px, 4.6vw, 62px);
  --bh-text-h3: 30px;
  --bh-text-caps: 30px;
  --bh-text-lead: 20px;
  --bh-text-body: 17px;
  --bh-text-small: 14px;
  --bh-text-label: 24px;

  /* Shape: hand-cut corners, no hard shadows */
  --bh-wobble: 28px 34px 24px 38px / 34px 24px 36px 26px;
  --bh-wobble-sm: 14px 18px 12px 20px / 18px 12px 20px 14px;
  --bh-wobble-btn: 18px 26px 16px 28px / 26px 16px 28px 18px;
  --bh-pill: 999px;
  --bh-border: 2px solid var(--bh-line);
  --bh-border-ink: 2px solid var(--bh-ink);
  --bh-glow: 0 0 22px rgba(66, 50, 128, .75), 0 1px 4px rgba(47, 42, 68, .55);
  --bh-shadow-soft: 0 22px 40px -26px rgba(76, 60, 120, .55);
  --bh-focus: 0 0 0 3px var(--bh-parchment), 0 0 0 6px var(--bh-heather);

  /* Space */
  --bh-container: 1180px;
  --bh-narrow: 700px;
  --bh-gutter: clamp(18px, 3vw, 40px);
  --bh-section: clamp(72px, 9vw, 120px);
  --bh-gap: 26px;
}
