/**
 * Bento Grid Design Token Dictionary
 * Brand Identity: Warm Brown (Primary) + Bright Blue (Secondary)
 * Focus: Minimal Luxury with Soft Depth
 */

:root {
  /* === GRID SYSTEM TOKENS === */
  --bento-grid-gap: 16px;
  --bento-grid-gap-responsive: 24px;
  --bento-grid-gap-mobile: 12px;
  --bento-grid-gap-tablet: 18px;
  --bento-grid-gap-desktop: 24px;
  
  /* === BORDER RADIUS TOKENS === */
  --bento-radius-sm: 0;
  --bento-radius-md: 0;
  --bento-radius-lg: 0;
  --bento-radius-xl: 0;
  --bento-radius-card: var(--bento-radius-md);
  --bento-radius-large-card: var(--bento-radius-xl);
  
  /* === COLOR PALETTE - WARM BROWN PRIMARY === */
  --bento-brown-50: #fefdf8;
  --bento-brown-100: #fdf8f1;
  --bento-brown-200: #f8efe0;
  --bento-brown-300: #f1e2cb;
  --bento-brown-400: #e8d1b3;
  --bento-brown-500: #d4a574;
  --bento-brown-600: #c19660;
  --bento-brown-700: #a67c52;
  --bento-brown-800: #8b6344;
  --bento-brown-900: #705437;
  
  /* === COLOR PALETTE - BRIGHT BLUE SECONDARY === */
  --bento-blue-50: #f0f9ff;
  --bento-blue-100: #e0f2fe;
  --bento-blue-200: #bae6fd;
  --bento-blue-300: #7dd3fc;
  --bento-blue-400: #38bdf8;
  --bento-blue-500: #0ea5e9;
  --bento-blue-600: #0284c7;
  --bento-blue-700: #0369a1;
  --bento-blue-800: #075985;
  --bento-blue-900: #0c4a6e;
  
  /* === SEMANTIC COLOR TOKENS === */
  --bento-primary: var(--bento-brown-600);
  --bento-primary-hover: var(--bento-brown-700);
  --bento-primary-light: var(--bento-brown-100);
  --bento-secondary: var(--bento-blue-500);
  --bento-secondary-hover: var(--bento-blue-600);
  --bento-secondary-light: var(--bento-blue-100);
  
  /* === NEUTRAL PALETTE === */
  --bento-neutral-50: #fafafa;
  --bento-neutral-100: #f5f5f5;
  --bento-neutral-200: #e5e5e5;
  --bento-neutral-300: #d4d4d4;
  --bento-neutral-400: #a3a3a3;
  --bento-neutral-500: #737373;
  --bento-neutral-600: #525252;
  --bento-neutral-700: #404040;
  --bento-neutral-800: #262626;
  --bento-neutral-900: #171717;
  
  /* === SHADOW TOKENS - SOFT DEPTH === */
  --bento-shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --bento-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --bento-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --bento-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --bento-shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --bento-shadow-soft: 0 8px 16px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
  --bento-shadow-luxury: 0 20px 40px rgba(0, 0, 0, 0.06), 0 8px 16px rgba(0, 0, 0, 0.04);
  
  /* === TYPOGRAPHY TOKENS === */
  --bento-font-family-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --bento-font-family-display: 'Inter', system-ui, -apple-system, sans-serif;
  --bento-font-size-xs: 0.75rem;
  --bento-font-size-sm: 0.875rem;
  --bento-font-size-base: 1rem;
  --bento-font-size-lg: 1.125rem;
  --bento-font-size-xl: 1.25rem;
  --bento-font-size-2xl: 1.5rem;
  --bento-font-size-3xl: 1.875rem;
  --bento-font-size-4xl: 2.25rem;
  --bento-font-weight-light: 300;
  --bento-font-weight-normal: 400;
  --bento-font-weight-medium: 500;
  --bento-font-weight-semibold: 600;
  --bento-font-weight-bold: 700;
  --bento-font-weight-extrabold: 800;
  
  /* === SPACING TOKENS === */
  --bento-space-1: 0.25rem;
  --bento-space-2: 0.5rem;
  --bento-space-3: 0.75rem;
  --bento-space-4: 1rem;
  --bento-space-5: 1.25rem;
  --bento-space-6: 1.5rem;
  --bento-space-8: 2rem;
  --bento-space-10: 2.5rem;
  --bento-space-12: 3rem;
  --bento-space-16: 4rem;
  --bento-space-20: 5rem;
  --bento-space-24: 6rem;
  
  /* === ANIMATION TOKENS === */
  --bento-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --bento-transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --bento-transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --bento-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --bento-ease-spring: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* === GRID LAYOUT TOKENS === */
  --bento-grid-cols-1: repeat(1, minmax(0, 1fr));
  --bento-grid-cols-2: repeat(2, minmax(0, 1fr));
  --bento-grid-cols-3: repeat(3, minmax(0, 1fr));
  --bento-grid-cols-4: repeat(4, minmax(0, 1fr));
  --bento-grid-cols-auto: repeat(auto-fit, minmax(280px, 1fr));
  --bento-grid-cols-responsive: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
}

/* === RESPONSIVE TOKEN ADJUSTMENTS === */
@media (max-width: 640px) {
  :root {
    --bento-grid-gap: var(--bento-grid-gap-mobile);
    --bento-radius-card: var(--bento-radius-sm);
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  :root {
    --bento-grid-gap: var(--bento-grid-gap-tablet);
    --bento-radius-card: var(--bento-radius-md);
  }
}

@media (min-width: 1025px) {
  :root {
    --bento-grid-gap: var(--bento-grid-gap-desktop);
    --bento-radius-card: var(--bento-radius-lg);
  }
}
