/* ============================================
   DESIGN TOKENS — gromovaasya Wedding Invitations
   Style: MINIMALIST HITECH
   ============================================ */

:root {
  /* ---- Colors — Monochrome + Sharp Accent ---- */
  --color-primary: #0A0A0A;
  --color-primary-light: #1A1A1A;
  --color-primary-dark: #000000;
  
  --color-secondary: #F5F5F5;
  --color-secondary-dark: #E8E8E8;
  
  --color-accent: #0A0A0A;
  --color-accent-light: #333333;
  
  --color-text: #0A0A0A;
  --color-text-secondary: #6B6B6B;
  --color-text-light: #999999;
  --color-text-inverse: #FFFFFF;
  
  --color-bg: #FFFFFF;
  --color-bg-alt: #F5F5F5;
  --color-surface: #FFFFFF;
  
  --color-border: #E0E0E0;
  --color-border-light: #F0F0F0;
  
  --color-success: #0A0A0A;
  --color-error: #CC3333;
  --color-warning: #CC9933;
  
  /* ---- Typography (MINIMALIST HITECH) ---- */
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-decorative: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Font sizes — tighter hitech scale */
  --fs-xs: 0.6875rem;  /* 11px — overline/caption */
  --fs-sm: 0.8125rem;  /* 13px — small text */
  --fs-base: 0.9375rem;/* 15px — body */
  --fs-md: 1.0625rem;  /* 17px — body L */
  --fs-lg: 1.3125rem;  /* 21px — H4 */
  --fs-xl: 1.625rem;   /* 26px — H3 */
  --fs-2xl: 2.125rem;  /* 34px — H2 */
  --fs-3xl: 2.75rem;   /* 44px — H1 */
  --fs-4xl: 3.5rem;    /* 56px — display */
  
  /* Line heights — compressed for hitech feel */
  --lh-tight: 1.1;
  --lh-normal: 1.5;
  --lh-relaxed: 1.65;
  
  /* Letter spacing — tight headings, neutral body */
  --ls-tight: -0.03em;
  --ls-normal: 0;
  --ls-wide: 0.06em;
  --ls-wider: 0.12em;
  
  /* ---- Spacing — MORE AIR for hitech ---- */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 2rem;      /* 32px */
  --space-xl: 3rem;      /* 48px */
  --space-2xl: 5rem;     /* 80px */
  --space-3xl: 7.5rem;   /* 120px */
  --space-4xl: 10rem;    /* 160px */
  
  /* ---- Layout — wider grid ---- */
  --container-max: 1200px;
  --container-padding: var(--space-md);
  --container-padding-lg: var(--space-2xl);
  
  /* ---- Border Radius — SHARP hitech ---- */
  --radius-sm: 0px;
  --radius-md: 1px;
  --radius-lg: 2px;
  --radius-xl: 2px;
  --radius-full: 0px;
  
  /* ---- Shadows — hairline only, no soft shadows ---- */
  --shadow-sm: none;
  --shadow-md: 0 0 0 1px rgba(0,0,0,0.06);
  --shadow-lg: 0 0 0 1px rgba(0,0,0,0.08);
  --shadow-xl: 0 0 0 1px rgba(0,0,0,0.1);
  
  /* ---- Transitions ---- */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;

  /* ---- Easing Curves (minimalist hightech) ---- */
  --ease-precision: cubic-bezier(0.4, 0, 0.2, 1);       /* standard UI */
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);      /* gentle entry */
  --ease-snap: cubic-bezier(0.22, 1, 0.36, 1);           /* snappy exit */
  --ease-subtle: cubic-bezier(0.33, 0.1, 0.33, 1);       /* barely-there micro */

  /* ---- Glow Tokens (for subtle micro-interactions) ---- */
  --glow-primary: 0 0 0 3px rgba(126,205,192,0.15);
  --glow-primary-strong: 0 0 0 4px rgba(126,205,192,0.2), 0 0 20px rgba(126,205,192,0.1);
  --glow-surface: 0 0 0 1px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.04);
  
  /* ---- Z-index ---- */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-fab: 500;
}

/* ---- Desktop overrides ---- */
@media (min-width: 768px) {
  :root {
    --fs-xl: 1.875rem;   /* 30px */
    --fs-2xl: 2.5rem;    /* 40px */
    --fs-3xl: 3.25rem;   /* 52px */
    --fs-4xl: 4.25rem;   /* 68px */
    --container-padding: var(--space-xl);
    --container-padding-lg: var(--space-2xl);
  }
}
