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

:root {
  /* --- Colors (premium dark: charcoal + aged gold) ----------- */
  --bg-primary:   #131110;
  --bg-secondary: #1C1917;
  --bg-tertiary:  #272220;

  --text-primary:   #F1E8D8;
  --text-secondary: #C7BBA8;
  --text-muted:     #8E8374;

  --brand-gold:       #D2A857;
  --brand-gold-light: #E9D6A6;
  --brand-gold-dark:  #B08A3E;

  --accent-terracotta: #D08663;
  --accent-wine:       #A85252;
  --accent-olive:      #8A9B77;

  --success: #6FAF82;
  --error:   #D96A6A;
  --warning: #DDB45F;

  --shadow-soft:   rgba(0, 0, 0, 0.35);
  --shadow-medium: rgba(0, 0, 0, 0.50);
  --shadow-strong: rgba(0, 0, 0, 0.65);
  --overlay-light: rgba(19, 17, 16, 0.92);
  --overlay-dark:  rgba(0, 0, 0, 0.70);

  --gradient-gold:      linear-gradient(135deg, #D2A857, #B08A3E);
  --gradient-gold-soft: linear-gradient(135deg, #E9D6A6, #D2A857);
  --gradient-accent:    linear-gradient(90deg, #D2A857, #D08663);

  /* --- 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;
}
