@import url('../fonts/fonts.css');

/* =====================================================
   OBSIDIAN GEOMETRIC — DESIGN TOKENS
   System v3.1 | JoaquinIT
===================================================== */
:root {
    /* Palette: Obsidian Base (60%) */
    --bg: #111111;
    --bg-deep: #0d0d0d;
    --surface: #141414;
    --surface-2: #1b1a1a;
    --surface-bright: #3a3939;

    /* Technical Structure & Outlines */
    --line: rgba(140, 134, 128, 0.16);
    --line-str: rgba(140, 134, 128, 0.32);

    /* Chromatic Accents (10%) */
    --garnet: #A31F2E;
    --garnet-dk: #7e1723;
    --garnet-glow: rgba(163, 31, 46, 0.35);
    --denim: #6A7D8D;
    --denim-glow: rgba(106, 125, 141, 0.25);

    /* Text & Legibility (30%) */
    --greige: #E0D4CB;
    --storm: #8f8a86;
    --faint: #5c5854;
    --white: #ffffff;

    /* Typography */
    --font-main: 'Montserrat', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Layout & Geometry */
    --container: 1180px;
    --gutter: 24px;
    --header-h: 72px;
    --radius: 0px;
    --transition: 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Base resets & typography primitives */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg);
}

body {
    background: var(--bg);
    color: var(--greige);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--garnet);
    color: var(--white);
}

img {
    max-width: 100%;
    display: block;
}

[hidden] {
    display: none !important;
}

/* Global utility classes */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    position: relative;
    z-index: 2;
}

.mono {
    font-family: var(--font-mono);
}

.text-garnet {
    color: var(--garnet);
}

.text-denim {
    color: var(--denim);
}

.text-greige {
    color: var(--greige);
}

.text-storm {
    color: var(--storm);
}

.label-caps {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--faint);
    margin-bottom: 1rem;
}
