/* ============================================================
   MARSHALL & BENSON V2 — DESIGN TOKENS
   Palette: "Oxblood Heritage" — Deep oxblood + warm gold + stone gray
   Typography: Crimson Pro (serif) + DM Sans (modern geometric)
   Completely distinct from A&H, J&P, and the V1 M&B.
   ============================================================ */

:root {
    /* --- Color: Brand Primary (deep oxblood — old-library wine red) --- */
    --color-ox-900: #2A0F16;
    --color-ox-800: #3D1923; /* PRIMARY BRAND */
    --color-ox-700: #5A2531;
    --color-ox-600: #7A3441;
    --color-ox-500: #9B4756;
    --color-ox-200: #D9C0C5;
    --color-ox-100: #ECD8DC;

    /* --- Color: Brand Accent (warm gold — antique brass meets honey) --- */
    --color-gold-900: #5F4818;
    --color-gold-800: #7C5F22;
    --color-gold-700: #9B7B33; /* hover deep */
    --color-gold-600: #A88836;
    --color-gold-500: #B8923A; /* PRIMARY ACCENT */
    --color-gold-400: #CCAA60;
    --color-gold-300: #DDC489;
    --color-gold-200: #ECDCAF;
    --color-gold-100: #F5ECD2;

    /* --- Color: Neutrals (cool stone grays — NO cream, NO warm tints) --- */
    --color-ink-900: #14171C;
    --color-ink-800: #1F242C;
    --color-ink-700: #2E343E; /* body text */
    --color-ink-600: #495063;
    --color-ink-500: #6B7280;
    --color-ink-400: #94A0AE;
    --color-ink-300: #B6BFCB;
    --color-ink-200: #D4DBE3;
    --color-ink-100: #E7EBF0;

    /* --- Color: Paper (cool stone gray — DEFINITELY NOT cream) --- */
    --color-paper-50: #FFFFFF;
    --color-paper-100: #F4F5F8; /* DEFAULT bg — cool stone */
    --color-paper-200: #E9ECF1;
    --color-paper-300: #D8DCE3;

    /* --- Color: Lines / Borders --- */
    --color-line-soft: #DDE0E6;
    --color-line-mid: #BAC1CC;
    --color-line-strong: #8B94A2;

    /* --- Semantic aliases --- */
    --color-bg: var(--color-paper-100);
    --color-bg-alt: var(--color-paper-200);
    --color-bg-inverse: var(--color-ox-800);
    --color-surface: var(--color-paper-50);
    --color-text: var(--color-ink-700);
    --color-text-muted: var(--color-ink-500);
    --color-text-soft: var(--color-ink-400);
    --color-text-inverse: var(--color-paper-50);
    --color-link: var(--color-ox-800);
    --color-link-hover: var(--color-gold-700);
    --color-accent: var(--color-gold-500);
    --color-border: var(--color-line-mid);
    --color-border-soft: var(--color-line-soft);

    /* --- Typography (DIFFERENT from all 3 existing sites) --- */
    --font-display: 'Crimson Pro', 'EB Garamond', Georgia, serif;
    --font-serif: 'Crimson Pro', Georgia, serif;
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', Monaco, monospace;

    /* Type scale */
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 1.875rem;
    --fs-3xl: 2.25rem;
    --fs-4xl: 3rem;
    --fs-5xl: 3.75rem;
    --fs-6xl: 4.5rem;

    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;

    --lh-tight: 1.05;
    --lh-snug: 1.2;
    --lh-normal: 1.5;
    --lh-relaxed: 1.7;

    --ls-tight: -0.02em;
    --ls-snug: -0.005em;
    --ls-normal: 0;
    --ls-wide: 0.04em;
    --ls-wider: 0.08em;
    --ls-widest: 0.18em;

    /* --- Spacing --- */
    --space-0: 0;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 2.5rem;
    --space-8: 3rem;
    --space-9: 4rem;
    --space-10: 5rem;
    --space-12: 6rem;
    --space-14: 7.5rem;
    --space-16: 10rem;

    /* --- Layout --- */
    --container-max: 1280px;
    --container-narrow: 1024px;
    --container-prose: 760px;
    --container-pad: clamp(1.25rem, 3vw, 2rem);
    --section-pad-y: clamp(3.5rem, 6vw, 5.5rem);

    /* --- Radius (different from M&B sharp-edge — V2 uses subtle rounding) --- */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;
    --radius-pill: 999px;

    /* --- Shadows (oxblood-tinted) --- */
    --shadow-sm: 0 1px 2px rgba(20, 23, 28, 0.05);
    --shadow-md: 0 6px 18px rgba(20, 23, 28, 0.08), 0 2px 4px rgba(20, 23, 28, 0.04);
    --shadow-lg: 0 18px 42px rgba(20, 23, 28, 0.10), 0 6px 12px rgba(20, 23, 28, 0.05);
    --shadow-xl: 0 32px 72px rgba(20, 23, 28, 0.14), 0 12px 24px rgba(20, 23, 28, 0.08);

    /* --- Motion --- */
    --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 180ms;
    --duration-base: 280ms;
    --duration-slow: 500ms;

    --z-base: 1;
    --z-elevated: 10;
    --z-nav: 50;
    --z-overlay: 80;
    --z-modal: 100;
}
