/* tokens.css — THE ROTI RESTAURANT design system
   Palette from the homepage design: forest green, cream, saffron and charcoal-brown;
   serif headings (Playfair Display) with clean sans body (Poppins). */

:root {
  /* ---- Colour ---- */
  --cream:      #FBF5EA;   /* page + light section background */
  --cream-2:    #F3E8D3;   /* alternate light band, card fills */
  --ink:        #2A1608;   /* footer, deepest surface */
  --forest:     #16392D;   /* "why us" band, nav, deep brand green */
  --forest-2:   #0D271D;   /* forest gradient end */
  --turmeric:   #F0922B;   /* primary accent — CTAs, headings, marks */
  --turmeric-2: #FFB45C;   /* accent highlight / hover */
  --brick:      #A9431C;   /* spice red — used sparingly (veg/spice marks) */
  --whatsapp:   #23A757;   /* WhatsApp CTA only */

  --text:       #2A1B10;   /* body text on cream (14.9:1) */
  --muted:      #6B5C4C;   /* secondary text on cream (5.3:1) */
  --on-dark:    #FBF3E4;   /* text on forest/ink */
  --on-dark-mu: #CDBFA9;   /* secondary text on forest/ink */

  --line:       rgba(20, 17, 13, 0.12);
  --line-dark:  rgba(251, 246, 236, 0.16);

  /* ---- Type ---- */
  --font-hand: 'Caveat', 'Bradley Hand', cursive;   /* hand-lettered scribbles */
  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;   /* headings */
  --font-ui:   'Poppins', -apple-system, 'Segoe UI', sans-serif;

  --fs-hero:   clamp(2.6rem, 6vw, 4.6rem);
  --fs-h2:     clamp(1.75rem, 3.4vw, 2.75rem);   /* Caveat runs small — sized up */
  --fs-h3:     clamp(1.05rem, 1vw + .7rem, 1.3rem);
  --fs-body:   1rem;
  --fs-small:  0.875rem;
  --fs-tiny:   0.75rem;

  /* ---- Spacing (8px base) ---- */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4.5rem;
  --sp-7: 6.5rem;

  /* ---- Layout ---- */
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --radius-pill: 999px;
  --container: 1220px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --shadow-card: 0 2px 10px rgba(20, 17, 13, 0.07);
  --shadow-lift: 0 10px 26px rgba(20, 17, 13, 0.14);

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur-med: 380ms;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
