/* ============================================
   MIMINO — Design Tokens
   Single source of truth for the visual system.
   Loaded before style.css so site-wide CSS picks these up.
   ============================================ */

:root {
  /* --- Colors (warm Georgian-restaurant palette) ------------- */
  --bg-primary:   #FDFBF7;
  --bg-secondary: #F5F0E8;
  --bg-tertiary:  #EDE6DA;

  --text-primary:   #2D2926;
  --text-secondary: #5C5550;
  --text-muted:     #8B857D;

  --brand-gold:       #C9A456;
  --brand-gold-light: #E5D4A4;
  --brand-gold-dark:  #A68736;

  --accent-terracotta: #C67B5C;
  --accent-wine:       #8B3A3A;
  --accent-olive:      #6B7B5C;

  --success: #4A7C59;
  --error:   #B44444;
  --warning: #D4A54A;

  --shadow-soft:   rgba(45, 41, 38, 0.08);
  --shadow-medium: rgba(45, 41, 38, 0.15);
  --shadow-strong: rgba(45, 41, 38, 0.25);
  --overlay-light: rgba(253, 251, 247, 0.92);
  --overlay-dark:  rgba(45, 41, 38, 0.60);

  --gradient-gold:      linear-gradient(135deg, #C9A456, #A68736);
  --gradient-gold-soft: linear-gradient(135deg, #E5D4A4, #C9A456);
  --gradient-accent:    linear-gradient(90deg, #C9A456, #C67B5C);

  /* --- Typography -------------------------------------------- */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                  'Helvetica Neue', Arial, sans-serif;

  --fs-hero:    clamp(2.5rem, 5vw, 4rem);
  --fs-h1:      clamp(2rem,   4vw, 3rem);
  --fs-h2:      clamp(1.5rem, 3vw, 2rem);
  --fs-h3:      clamp(1.25rem, 2.5vw, 1.5rem);
  --fs-h4:      clamp(1.1rem, 2vw, 1.25rem);
  --fs-body:    clamp(1rem,   1.5vw, 1.125rem);
  --fs-small:   clamp(0.875rem, 1.25vw, 1rem);
  --fs-caption: clamp(0.75rem, 1vw, 0.875rem);

  /* --- Spacing, radii, motion -------------------------------- */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-card: 18px;
  --radius-full: 9999px;
  --radius-pill: 9999px;

  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* --- Z-index scale ----------------------------------------- */
  --z-base:           1;
  --z-dropdown:       100;
  --z-sticky:         102;
  --z-fixed:          104;
  --z-drawer:         150;
  --z-modal-backdrop: 200;
  --z-modal:          210;
  --z-toast:          300;
  --z-fab:            400;
  --z-overlay:        500;

  /* --- Safe areas (iOS notches, home indicator) -------------- */
  --safe-top:    env(safe-area-inset-top, 0px);
  --safe-right:  env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left:   env(safe-area-inset-left, 0px);

  /* --- Legacy layout aliases (kept for backward compat) ------ */
  --nav-height:          70px;
  --header-block-height: auto;
  --footer-height:       50px;
  --container-max-width: 1200px;
  --content-max-width:   800px;
}
