/* ============================================================================
 * VALTIERI GROUP — SHARED DESIGN TOKENS v2.0
 * Premium European institutional design system
 * ============================================================================ */

:root {
    /* === BRAND: VALTIERI GROUP === */
    --vg-primary: #1A1A1A;
    --vg-accent: #A8935A;
    --vg-surface: #FAFAF8;
    --vg-white: #FFFFFF;

    /* === BRAND: PRESIDIO === */
    --pr-primary: #0E1A2B;
    --pr-surface: #E8E4DF;
    --pr-accent: #A8935A;
    --pr-navy-light: #1A2D47;
    --pr-navy-mid: #142236;

    /* === BRAND: VIGILIO === */
    --vi-primary: #1A1A1A;
    --vi-accent: #7A8B6F;
    --vi-surface: #F0EDE6;
    --vi-sage-light: #8A9B7F;
    --vi-sage-dark: #5A6B4F;

    /* === BRAND: VIBRATO === */
    --vb-primary: #1A1A1A;
    --vb-signature: #F5F2ED;
    --vb-accent: #A8935A;
    --vb-ivory-dark: #EAE6DF;

    /* === NEUTRAL SCALE === */
    --grey-950: #0D0D0D;
    --grey-900: #1A1A1A;
    --grey-800: #2D2D2D;
    --grey-700: #4A4A4A;
    --grey-600: #666666;
    --grey-500: #808080;
    --grey-400: #999999;
    --grey-300: #BFBFBF;
    --grey-200: #D9D9D9;
    --grey-100: #ECECEC;
    --grey-50: #F7F7F7;

    /* === SEMANTIC COLORS === */
    --color-success: #4A7B5A;
    --color-warning: #C4922A;
    --color-danger: #9B3B3B;
    --color-info: #3A5F8A;

    /* === TYPOGRAPHY === */
    --font-display: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-data: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

    /* Type scale — modular (1.25 ratio) */
    --text-xs: 0.75rem;     /* 12px */
    --text-sm: 0.875rem;    /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-md: 1.125rem;    /* 18px */
    --text-lg: 1.25rem;     /* 20px */
    --text-xl: 1.5rem;      /* 24px */
    --text-2xl: 2rem;       /* 32px */
    --text-3xl: 2.5rem;     /* 40px */
    --text-4xl: 3.25rem;    /* 52px */
    --text-5xl: 4rem;       /* 64px */

    /* Line heights */
    --leading-tight: 1.1;
    --leading-snug: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.7;
    --leading-loose: 1.9;

    /* Letter spacing */
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.12em;

    /* Font weights */
    --weight-light: 300;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;

    /* === SPACING === (8px base grid) */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.5rem;    /* 24px */
    --space-6: 2rem;      /* 32px */
    --space-8: 3rem;      /* 48px */
    --space-10: 4rem;     /* 64px */
    --space-12: 5rem;     /* 80px */
    --space-16: 6rem;     /* 96px */
    --space-20: 8rem;     /* 128px */
    --space-24: 10rem;    /* 160px */

    /* === LAYOUT === */
    --max-w-prose: 760px;
    --max-w-content: 1080px;
    --max-w-wide: 1280px;
    --max-w-full: 1440px;

    /* Grid */
    --grid-cols-8: repeat(8, 1fr);
    --grid-cols-12: repeat(12, 1fr);
    --grid-gap: var(--space-6);

    /* === BORDERS & RADIUS === */
    --border-subtle: 1px solid rgba(0, 0, 0, 0.06);
    --border-light: 1px solid rgba(0, 0, 0, 0.1);
    --border-medium: 1px solid rgba(0, 0, 0, 0.15);
    --border-gold: 1px solid var(--vg-accent);
    --radius-none: 0;
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;

    /* === SHADOWS === */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);

    /* === TRANSITIONS === */
    --ease-default: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 150ms;
    --duration-normal: 250ms;
    --duration-slow: 400ms;
    --duration-reveal: 600ms;

    /* === Z-INDEX SCALE === */
    --z-base: 0;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-toast: 500;

    /* === LUXURY PALETTE === */
    --luxury-ivory: #FAF9F6;
    --luxury-cream: #F5F3EE;
    --luxury-warm: #EDEAE4;
    --luxury-parchment: #E8E4DC;
    --luxury-gold: #A8935A;
    --luxury-gold-light: #C4B17A;
    --luxury-gold-dark: #8A7844;
    --luxury-charcoal: #2C2C2C;
    --luxury-ink: #1A1A1A;

    /* Gold gradient */
    --gradient-gold: linear-gradient(135deg, #C4B17A 0%, #A8935A 40%, #8A7844 100%);
    --gradient-gold-text: linear-gradient(90deg, #C4B17A, #A8935A, #8A7844);
    --gradient-dark: linear-gradient(180deg, #1A1A1A 0%, #2C2C2C 100%);
    --gradient-surface: linear-gradient(180deg, var(--luxury-ivory) 0%, var(--luxury-cream) 100%);

    /* === DISPLAY TYPE (luxury scale) === */
    --text-6xl: 5rem;       /* 80px */
    --text-7xl: 6rem;       /* 96px */

    /* === PREMIUM SHADOWS === */
    --shadow-luxury: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    --shadow-luxury-lg: 0 8px 48px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-luxury-hover: 0 12px 40px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-gold: 0 4px 24px rgba(168, 147, 90, 0.15);

    /* === BREAKPOINTS (for reference, use in media queries) === */
    /* --bp-sm: 480px;    Mobile */
    /* --bp-md: 768px;    Tablet */
    /* --bp-lg: 1024px;   Desktop */
    /* --bp-xl: 1280px;   Wide */
    /* --bp-2xl: 1440px;  Ultra-wide */
}

/* Dark mode tokens (applied via class or media query) */
.dark-mode,
[data-theme="dark"] {
    --grey-950: #F7F7F7;
    --grey-900: #ECECEC;
    --grey-800: #D9D9D9;
    --grey-700: #BFBFBF;
    --grey-600: #999999;
    --grey-500: #808080;
    --grey-400: #666666;
    --grey-300: #4A4A4A;
    --grey-200: #2D2D2D;
    --grey-100: #1A1A1A;
    --grey-50: #0D0D0D;
}
