/* Mise en place / Warm Workbench: the one source for space, size, shape, colour, type and motion. */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 200 800; font-display: block; src: url("assets/fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 300 900; font-display: block; src: url("assets/fonts/figtree-latin-wght-normal.woff2") format("woff2"); }
:root {
  color-scheme: dark;
  /* space */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px;
  --side-pad: var(--space-6);
  /* component sizes */
  --control-sm: 32px; --control: 40px; --control-lg: 48px; --touch: 44px;
  --row: 48px; --row-2: 60px; --row-ingredient: 40px;
  --thumb: 48px; --thumb-lg: 96px; --feature: 400px; --feature-home: 288px;
  --icon: 16px; --icon-nav: 20px; --icon-empty: 32px;
  --qty: 64px; --ring: 72px;
  --sidebar: 208px; --frame: 1320px; --cook-rail: 320px; --topbar: 56px; --measure: 720px;
  /* shape */
  --r-thumb: 8px; --r-control: 10px; --r-tile: 12px; --r-surface: 16px; --r-pill: 999px;
  /* warm dark */
  --ground: #14130F; --surface-1: #1C1B16; --surface-2: #25241D;
  --surface-3: #2F2E26; /* exception: the next tone up, for hover on surface-2 controls */
  --edge-color: rgba(237, 234, 217, 0.07); --edge-strong-color: rgba(237, 234, 217, 0.16);
  --edge-field-color: #77766A; /* exception: inputs and checkboxes need 3:1 */
  --edge: 1px solid var(--edge-color); --edge-strong: 1px solid var(--edge-strong-color); --edge-field: 1px solid var(--edge-field-color);
  --edge-top: inset 0 1px 0 rgba(237, 234, 217, 0.05);
  --lift: 0 12px 32px rgba(0, 0, 0, 0.45); /* only what floats, or is being dragged */
  --scrim: rgba(10, 9, 6, 0.66);
  --text-1: #EDEAD9; --text-2: #A9AA98; --text-3: #8E9184;
  --lime: #D4EE4F; --lime-press: #C8E33F; --lime-ink: #14130F; --focus: #D4EE4F;
  --soon: #E3B341; --error: #FF8F80;
  /* a dish with no photo: one faint warm tone for each course */
  --none-breakfast: #3B3019; --none-lunch: #2F301D; --none-dinner: #372B1D; --none-snack: #3B281D; --none-dessert: #372624;
  --none-line: #C9B48C; /* the faint course drawing on it */
  /* type */
  --heading: "Bricolage Grotesque", "Figtree", sans-serif; --ui: "Figtree", system-ui, sans-serif;
  --t-headline: 600 32px/38px var(--heading); --t-title: 600 24px/30px var(--heading); --t-item: 600 18px/24px var(--heading);
  --t-cook: 500 48px/56px var(--ui); /* 40/48 was compared; 48/56 stays within four lines */
  --t-section: 600 18px/24px var(--ui); --t-card: 600 15px/20px var(--ui); /* Home’s section and card headings */ --t-item-sm: 600 16px/22px var(--heading); /* dish names in Home’s four columns */
  --t-row: 500 15px/20px var(--ui); --t-body: 400 15px/22px var(--ui); --t-control: 500 14px/18px var(--ui);
  --t-meta: 400 13px/18px var(--ui); --t-meta-strong: 500 13px/18px var(--ui); --t-label: 600 12px/16px var(--ui); --t-timer: 500 24px/30px var(--ui);
  /* motion */
  --t-press: 80ms; --t-hover: 100ms; --t-state: 150ms; --t-overlay: 180ms; --t-exit: 120ms; --t-reflow: 200ms;
  --ease-out: cubic-bezier(0.2, 0, 0, 1);
}
:root[data-ground="green"] { --ground: #11140E; --surface-1: #191C15; --surface-2: #22261C; --surface-3: #2C3124; --lime-ink: #11140E; }
:root[data-font="figtree"] { --heading: var(--ui); }
@media (max-width: 899px) { :root { --side-pad: var(--space-4); --t-headline: 600 28px/34px var(--heading); --t-cook: 500 34px/42px var(--ui); } }
@media (min-width: 900px) and (max-width: 1399px) { :root { --t-cook: 500 40px/48px var(--ui); } }
