:root {
    /* Brutalist Color Palette */
    --concrete-light: #e8e8e8;
    --concrete-mid: #b8b8b8;
    --concrete-dark: #888888;
    --concrete-darker: #444444;
    --concrete-black: #1a1a1a;

    --void-black: #0a0a0a;
    --pure-white: #ffffff;

    /* Accent - Electric Orange (brutalist safety color) */
    --accent-primary: #ff6600;
    --accent-secondary: #ff8833;
    --accent-dark: #cc5200;

    /* Semantic Colors */
    --error: #ff0000;
    --warning: #ffaa00;
    --info: #00aaff;
    --success: #00ff88;

    /* Typography */
    --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 3rem;
    --font-size-4xl: 4rem;

    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-loose: 1.8;

    /* Spacing (based on 8px grid) */
    --space-1: 0.5rem;   /* 8px */
    --space-2: 1rem;     /* 16px */
    --space-3: 1.5rem;   /* 24px */
    --space-4: 2rem;     /* 32px */
    --space-6: 3rem;     /* 48px */
    --space-8: 4rem;     /* 64px */
    --space-12: 6rem;    /* 96px */
    --space-16: 8rem;    /* 128px */

    /* Layout */
    --container-max: 1400px;
    --section-padding: var(--space-8);
    --block-padding: var(--space-4);

    /* Brutalist Structural Elements */
    --border-thin: 2px;
    --border-medium: 4px;
    --border-thick: 8px;
    --border-chunky: 12px;

    --rivet-size: 16px;
    --beam-height: 8px;

    /* Effects */
    --shadow-harsh: 8px 8px 0 rgba(0, 0, 0, 0.25);
    --shadow-brutal: 12px 12px 0 rgba(0, 0, 0, 0.4);
    --shadow-mega: 16px 16px 0 rgba(0, 0, 0, 0.5);

    /* Transitions */
    --transition-snap: 0.1s ease-in-out;
    --transition-quick: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;

    /* Z-index layers */
    --z-base: 1;
    --z-elevated: 10;
    --z-overlay: 100;
    --z-terminal: 1000;

    /* Responsive breakpoints (for reference in media queries) */
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
}

/* Dark mode variables (automatically applied) */
@media (prefers-color-scheme: dark) {
    :root {
        --concrete-light: #2a2a2a;
        --concrete-mid: #3a3a3a;
        --concrete-dark: #4a4a4a;
        --concrete-darker: #666666;
        --concrete-black: #e8e8e8;

        --void-black: #0a0a0a;
        --pure-white: #ffffff;
    }
}

/* Texture patterns (CSS-based concrete effect) */
.concrete-texture {
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(0, 0, 0, 0.03) 10px,
            rgba(0, 0, 0, 0.03) 20px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 10px,
            rgba(0, 0, 0, 0.02) 10px,
            rgba(0, 0, 0, 0.02) 20px
        );
}

/* Utility: CSS custom property for cursor tracking */
:root {
    --cursor-x: 50%;
    --cursor-y: 50%;
}
