/* Design tokens: every colour, size and spacing value lives here, once.
   Change a value here and the whole site follows. */
:root {
  /* Brand colours. --red is read from the logo file (#ed3324). */
  --red: #ed3324;          /* checkerboard, accents, large buttons text-free areas */
  --red-bar: #e02e1d;      /* ONLY the header bar and the phone menu: a little darker than the logo red so white text passes the 4.5:1 contrast rule (4.59:1) */
  --red-text: #c21e12;     /* small red text and buttons with white text (passes WCAG AA) */
  --red-dark: #9e170d;     /* hover state */
  --graphite: #151515;     /* text and dark footer */
  --muted: #4d4d4d;        /* secondary text */
  --cream: #ffffff;        /* page background: clean white (the owner does not like cream) */
  --paper: #f3f3f3;        /* light grey panels and photo tiles (neutral grey: black, white and red palette) */
  --line: #e3e3e3;         /* thin dividers */

  /* Type */
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-0: clamp(0.9375rem, 0.91rem + 0.15vw, 1rem);
  --step-1: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
  --step-3: clamp(2.25rem, 1.8rem + 2.6vw, 4.25rem);

  /* The text roles used on every page: title, subheading, body (the size of the menu descriptions) */
  --fs-title: var(--step-2);
  --fs-sub: var(--step-1);
  --fs-body: 0.875rem;
  --fs-page: 0.9375rem;     /* body text on the Home and About pages (a little larger than in the menu) */
  --fs-name: 1rem;          /* dish names */
  --fs-price: 0.9375rem;    /* dish prices */

  /* Spacing and shape */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --radius: 10px;          /* slightly rounded corners for tiles, photos, buttons (owner request) */
  --radius-lg: 14px;       /* bigger panels */
  --container: 72rem;
  --header-h: 4.5rem;
}
