/*
 * Market Day: design tokens
 * Warm, friendly and a little bold, like a good local shop. A paper-white page, a big solid
 * mustard field for the hero, chunky serif headlines with one italic word, plain Work Sans
 * text, and hand-drawn ink illustrations with flat fills (mustard, tomato, leaf). Ink pill
 * buttons, white cards with a firm ink outline, and small doodles (squiggles, sparkles,
 * scribbled stars) used like stickers.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Work+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: paper page, mustard for the hero and big moments, butter for quiet sections */
  --md-paper: #fffcf3;
  --md-white: #ffffff;
  --md-butter: #fcefb8;
  --md-mustard: #f4c537;
  --md-mustard-deep: #d9a714;
  --md-line: #e9e1cc;

  /* Ink: text, outlines, the primary button and the dark band */
  --md-ink: #211d18;
  --md-ink-soft: #5e564b;
  --md-ink-faint: #9a9081;
  --md-night: #2b2620;

  /* Illustration fills, also used for small accents */
  --md-tomato: #e2553d;
  --md-tomato-soft: #fbd9cf;
  --md-leaf: #3f7a4a;
  --md-leaf-soft: #d5e8d2;
  --md-sky: #b9dbe8;

  /* Type */
  --md-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --md-sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --md-text-hero: clamp(44px, 7vw, 92px);
  --md-text-h2: clamp(32px, 4.4vw, 56px);
  --md-text-h3: 26px;
  --md-text-lead: 19px;
  --md-text-body: 16px;
  --md-text-small: 14px;
  --md-text-micro: 12px;

  --md-tracking-hero: -.02em;
  --md-tracking-caps: .12em;

  /* Shape: pills for controls, rounded cards with a firm ink outline, a hard ink drop on hover */
  --md-radius-sm: 10px;
  --md-radius: 20px;
  --md-radius-lg: 32px;
  --md-radius-pill: 999px;
  --md-stroke: 2px;
  --md-outline: var(--md-stroke) solid var(--md-ink);
  --md-border: 1px solid var(--md-line);
  --md-drop: 4px 4px 0 var(--md-ink);
  --md-drop-lg: 6px 6px 0 var(--md-ink);
  --md-shadow-soft: 0 12px 30px rgba(33, 29, 24, .08);

  /* Space */
  --md-section: clamp(72px, 10vw, 128px);
  --md-container: 1200px;
  --md-narrow: 720px;

  /* Motion: a little bounce */
  --md-ease: cubic-bezier(.34, 1.4, .64, 1);
}
