/**
 * RIMISLASH STUDIO — DESIGN TOKENS
 * Dark-first, editorial, luxurious aesthetic.
 * All future animations and transitions strictly adhere to the single easing curve defined here.
 * Zero hard-coded colors outside this token set.
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Manrope:wght@300;400;500;600;700&family=Parisienne&display=swap');

:root {
  /* ==========================================================================
     1. COLOR PALETTE
     Strictly: ink #0A0A0A, soft black #161416, rose #E0457B, blush #F6D5DF, cream #FFF7F9
     ========================================================================== */
  --color-ink: #0A0A0A;
  --color-soft-black: #161416;
  --color-rose: #E0457B;
  --color-blush: #F6D5DF;
  --color-cream: #FFF7F9;

  /* Surfaces & Canvas */
  --color-bg-canvas: var(--color-ink);
  --color-bg-surface: var(--color-soft-black);
  --color-bg-surface-elevated: #201D20;
  --color-bg-surface-subtle: #1C191C;
  --color-bg-header: rgba(10, 10, 10, 0.88);
  --color-bg-header-scrolled: rgba(10, 10, 10, 0.96);
  --color-bg-backdrop: rgba(10, 10, 10, 0.75);
  --color-bg-rose-subtle: rgba(224, 69, 123, 0.08);
  --color-bg-rose-badge: rgba(224, 69, 123, 0.12);
  --color-bg-blush-subtle: rgba(246, 213, 223, 0.04);
  --color-bg-pill: rgba(246, 213, 223, 0.05);

  /* Typography Colors */
  --color-text-main: var(--color-cream);
  --color-text-muted: #B8ACB2;
  --color-text-faint: #7A6F75;
  --color-text-on-accent: var(--color-ink); /* 5.00:1 contrast ratio on Rose - WCAG AA pass */
  --color-text-selection: var(--color-cream);

  /* Borders */
  --color-border-subtle: #242024;
  --color-border-strong: #383137;
  --color-border-accent: rgba(224, 69, 123, 0.3);
  --color-border-rose-subtle: rgba(224, 69, 123, 0.24);
  --color-border-rose-badge: rgba(224, 69, 123, 0.35);
  --color-border-header: rgba(246, 213, 223, 0.07);
  --color-border-header-scrolled: rgba(246, 213, 223, 0.1);

  /* Accent & States */
  --color-accent-rose: var(--color-rose);
  --color-accent-blush: var(--color-blush);
  --color-accent-hover: #EB568A;

  /* ==========================================================================
     2. TYPOGRAPHY & FLUID TYPE SCALE
     Google Fonts: Cormorant Garamond (display), Manrope (body), Parisienne (wordmark)
     Robust fallback stacks
     Fluid scale using clamp()
     ========================================================================== */
  --font-display: 'Cormorant Garamond', Garamond, 'Didot', 'Bodoni MT', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-script: 'Parisienne', 'Cormorant Garamond', cursive;

  /* Fluid Type Scale (320px mobile -> 1280px desktop) */
  --text-xs: clamp(0.75rem, 0.72rem + 0.16vw, 0.8125rem);       /* 12px -> 13px */
  --text-sm: clamp(0.8438rem, 0.81rem + 0.2vw, 0.9375rem);     /* 13.5px -> 15px */
  --text-base: clamp(0.95rem, 0.92rem + 0.22vw, 1.0625rem);     /* 15.2px -> 17px */
  --text-md: clamp(1.0625rem, 1.01rem + 0.3vw, 1.2rem);        /* 17px -> 19.2px */
  --text-lg: clamp(1.2rem, 1.12rem + 0.45vw, 1.45rem);         /* 19.2px -> 23.2px */
  --text-xl: clamp(1.45rem, 1.32rem + 0.7vw, 1.85rem);         /* 23.2px -> 29.6px */
  --text-2xl: clamp(1.8rem, 1.58rem + 1.1vw, 2.45rem);         /* 28.8px -> 39.2px */
  --text-3xl: clamp(2.25rem, 1.95rem + 1.6vw, 3.25rem);        /* 36px -> 52px */
  --text-4xl: clamp(2.8rem, 2.35rem + 2.4vw, 4.25rem);         /* 44.8px -> 68px */
  --text-display: clamp(3.2rem, 2.7rem + 3.2vw, 5.5rem);       /* 51.2px -> 88px */

  /* Leading */
  --leading-none: 1;
  --leading-tight: 1.12;
  --leading-snug: 1.28;
  --leading-normal: 1.55;
  --leading-relaxed: 1.7;

  /* Tracking / Letter-spacing */
  --tracking-tighter: -0.03em;
  --tracking-tight: -0.015em;
  --tracking-normal: 0em;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.12em;
  --tracking-widest: 0.22em;

  /* Font Weights */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* ==========================================================================
     3. SPACING SCALE
     Consistent geometric rhythm
     ========================================================================== */
  --space-0-5: 0.125rem; /* 2px */
  --space-1: 0.25rem;    /* 4px */
  --space-2: 0.5rem;     /* 8px */
  --space-3: 0.75rem;    /* 12px */
  --space-4: 1rem;       /* 16px */
  --space-5: 1.25rem;    /* 20px */
  --space-6: 1.5rem;     /* 24px */
  --space-8: 2rem;       /* 32px */
  --space-10: 2.5rem;    /* 40px */
  --space-12: 3rem;      /* 48px */
  --space-16: 4rem;      /* 64px */
  --space-20: 5rem;      /* 80px */
  --space-24: 6rem;      /* 96px */
  --space-32: 8rem;      /* 128px */

  /* Layout Widths */
  --container-max: 1200px;
  --container-narrow: 840px;
  --header-height: 4.5rem;

  /* ==========================================================================
     4. RADII
     Refined, tailored curves
     ========================================================================== */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 9999px;

  /* ==========================================================================
     5. SHADOWS & ELEVATIONS
     Dark-mode focused depth & glow
     ========================================================================== */
  --shadow-subtle: 0 4px 20px -2px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 10px 30px -4px rgba(0, 0, 0, 0.65);
  --shadow-rose-glow: 0 0 25px -4px rgba(224, 69, 123, 0.28);
  --shadow-btn-primary: 0 4px 14px rgba(224, 69, 123, 0.25);
  --shadow-drawer: -8px 0 32px rgba(0, 0, 0, 0.7);
  --shadow-wordmark: 0 0 20px rgba(224, 69, 123, 0.25);
  --shadow-header: 0 1px 0 var(--color-border-header);

  /* ==========================================================================
     6. MOTION & EASING
     ONE standardized easing curve and duration set for all motion across the site
     ========================================================================== */
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);

  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-deliberate: 400ms;

  --transition-fast: var(--duration-fast) var(--ease-luxury);
  --transition-base: var(--duration-base) var(--ease-luxury);
  --transition-deliberate: var(--duration-deliberate) var(--ease-luxury);

  /* Z-Index Hierarchy */
  --z-base: 1;
  --z-header: 100;
  --z-overlay: 200;
  --z-drawer: 300;
}
