/* Hämpin Pizzeria: design tokens.
   The ONE place for colours, fonts, radii, shadows and motion. The website, the ordering
   overlay (order.css) and the kitchen dashboard all import this file, so nothing else should
   hardcode a colour or a font family.

   Palette is built from Hampin's own brand: the logo (black disc, gold ring, cream lettering)
   and the old WordPress theme (primary #B71C1C, secondary #E65100, accent #6D4C41,
   text #2E2E2E, bg #FFFBF5, header #FFF3E0), refined into a warmer late-night look.

   Fonts (Google Fonts, loaded in each page's <head>):
   Big Shoulders Display 700..900 · Instrument Serif italic · Manrope 400..800 */

:root {
  /* ---------- brand ---------- */
  --brand: #C8281C;            /* tomato red (refined #B71C1C): primary buttons, prices, focus */
  --brand-hover: #DD3527;      /* hover / pressed-in state on dark backgrounds */
  --brand-ink: #9C1A11;        /* darker red for text on light surfaces (AA on cream) */
  --brand-soft: #FBE3DC;       /* tinted backgrounds, badges on light */
  --on-brand: #FFF8F0;         /* text on --brand */

  --ember: #EE6A1A;            /* secondary orange (refined #E65100): glows, highlights */
  --ember-soft: #FDE7D6;
  --gold: #E3AC4F;             /* logo gold: accents, stars, rules, eyebrow text on dark */
  --gold-ink: #8A5E14;         /* gold-ish text on light surfaces (AA on cream) */
  --crust: #6D4C41;            /* old theme accent: subtle details */
  --basil: #3F8A4A;            /* veg / vegan marks */
  --basil-soft: #E2F0DF;

  /* ---------- surfaces ---------- */
  --night: #120E0B;            /* deepest background (hero, footer) */
  --night-2: #1B1511;          /* dark sections */
  --night-3: #271F19;          /* cards on dark */
  --night-line: rgba(246, 236, 222, 0.12);

  --surface: #FFF8EE;          /* page background on light sections (refined #FFFBF5) */
  --surface-2: #F7EBD9;        /* alternate light section (refined #FFF3E0) */
  --surface-3: #FFFFFF;        /* cards on light */
  --line: rgba(42, 30, 22, 0.12);
  --line-strong: rgba(42, 30, 22, 0.24);

  /* ---------- text ---------- */
  --ink: #2A1F18;              /* body text on light (refined #2E2E2E, warmer) */
  --ink-strong: #160F0B;       /* headings on light */
  --muted: #74645A;            /* secondary text on light (AA on --surface) */
  --on-dark: #F7EEE2;          /* text on dark */
  --on-dark-muted: rgba(247, 238, 226, 0.66);
  --on-dark-faint: rgba(247, 238, 226, 0.4);

  /* ---------- status ---------- */
  --ok: #3FB56E;               /* open now */
  --warn: #E8A23A;             /* paused / last orders */
  --bad: #E0483C;              /* closed / errors */

  /* ---------- typography ---------- */
  --font-display: 'Big Shoulders Display', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --font-serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;   /* italic accents only */
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  --fs-h2: clamp(2.6rem, 1.6rem + 4.4vw, 5.25rem);
  --fs-h1: clamp(3.4rem, 1.6rem + 8.4vw, 9.5rem);

  /* ---------- shape ---------- */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* ---------- depth ---------- */
  --shadow-sm: 0 1px 2px rgba(22, 15, 11, 0.08), 0 2px 8px rgba(22, 15, 11, 0.06);
  --shadow: 0 10px 30px -12px rgba(22, 15, 11, 0.28), 0 2px 6px rgba(22, 15, 11, 0.06);
  --shadow-lg: 0 30px 70px -24px rgba(22, 15, 11, 0.45);
  --glow: 0 0 0 1px rgba(238, 106, 26, 0.25), 0 18px 60px -12px rgba(238, 106, 26, 0.45);

  /* ---------- motion ---------- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur: 320ms;
  --dur-slow: 700ms;

  /* ---------- layout ---------- */
  --wrap: 1240px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --nav-h: 68px;
}
