﻿/* FILE: foundry-variables.css
    PROTOCOL: The Decoupled Ledger (Tranquil Neubrutalism)
    PURPOSE: Strictly isolated aesthetic values. No layout logic.
*/
:root {
    /* --- 🎨 The Chromatic Core --- */
    --brand-primary: #2F2F2F; /* Deep Slate Gray (Architect's Void) */
    --brand-primary-text: #FFFFFF; /* High contrast text for primary */
    --deep-slate: var(--brand-primary); /* Semantic alias */

    --brand-accent: #FF8C00; /* Electric Orange (Foundry Ignition) */
    --brand-accent-text: #FFFFFF; /* High contrast text for accent */
    --brutal-orange: var(--brand-accent); /* Semantic alias */

    --brand-accent-rgb: 255, 140, 0; /* RGB for dynamic effects */
    /* --- 🏛️ The Ledger Canvas --- */
    --paper-bg: #F5F5F5; /* Tranquil off-white backdrop */
    --brutal-bg: var(--paper-bg); /* Semantic alias */
    --paper-sheet: #FFFFFF; /* Pure white workspace */
    /* --- 🖋️ The Ink (Typography & Lines) --- */
    --ink-dark: #2F2F2F; /* High-contrast slate text */
    --ink-light: #A0A0A0; /* Muted cosmic dust for labels */
    --ink-border: #2F2F2F; /* Sharp, authoritative boundaries */
    /* --- 🚨 System Feedback Colors --- */
    --alert-error: #FF3333; /* Brutal Red */
    --alert-success: #00CC66; /* Brutal Green */
    --alert-warning: #FFCC00; /* Brutal Yellow */
    /* --- 📐 The Geometry Matrix (The Vibe) --- */
    --vibe-radius: 0px;
    --vibe-input-border: 2px solid var(--ink-border);
    --vibe-btn-shadow: 3px 3px 0px var(--ink-border);
    /* --- 🧱 Neubrutalist Structural Fallbacks --- */
    --brutal-border: 3px solid var(--ink-border);
    --brutal-shadow: 6px 6px 0px var(--ink-border);
    --brutal-shadow-hover: 2px 2px 0px var(--ink-border);
    /* --- ⚡ Kinetic Physics --- */
    --transition-snappy: 0.15s cubic-bezier(0.17, 0.67, 0.83, 0.67);
    /* -------------------------------------------------------------------------- */
    /* 🚀 THE TYPOGRAPHIC CORE                                                    */
    /* -------------------------------------------------------------------------- */
    --font-main: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

/* 🎯 THE DARK MODE OVERRIDE */
.theme-dark {
    --paper-bg: #121212; /* Deep void background */
    --brutal-bg: var(--paper-bg); /* Sync semantic alias */
    --paper-sheet: #1E1E1E; /* Slightly elevated card color */

    --ink-dark: #F5F5F5; /* Text becomes light for contrast */
    --ink-light: #888888; /* Muted text stays visible */

    --ink-border: #444444; /* Borders soften so they don't blind the user */
    /* Soften the brutalist shadows slightly for dark mode */
    --brutal-shadow: 6px 6px 0px rgba(0, 0, 0, 0.8);
}
