/* tokens.css */
:root {
    /* Typography */
    --font-display: 'Instrument Serif', serif;
    --font-text: 'IBM Plex Sans', sans-serif;

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

    /* Line Heights */
    --leading-tight: 1.1;
    --leading-snug: 1.3;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;

    /* Colors - Earthy, scientific, editorial */
    --color-bg-primary: #F7F5F0;     /* Warm off-white paper */
    --color-bg-secondary: #EBE7DD;   /* Slightly darker paper */
    --color-bg-tertiary: #DFD9CD;    /* Accent background */
    --color-bg-dark: #1C2321;        /* Very dark green-grey for contrast sections */

    --color-text-primary: #1F1F1F;   /* Off-black */
    --color-text-secondary: #4A4A4A; /* Medium grey */
    --color-text-muted: #6B6B6B;     /* Lighter grey */
    --color-text-inverse: #F7F5F0;   /* Light on dark */

    --color-accent-primary: #465E50;   /* Muted forest green */
    --color-accent-secondary: #8B5A4B; /* Terracotta / Rust */
    --color-accent-tertiary: #A79D8E;  /* Warm grey / taupe */

    --color-border-light: #DFD9CD;
    --color-border-dark: #3A403E;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Layout */
    --container-width: 1200px;
    --container-padding: var(--space-4);

    /* Radii */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;
    --radius-none: 0; /* Anti-rounded-everything */

    /* Shadows */
    --shadow-subtle: 0 1px 2px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
    :root {
        --container-padding: var(--space-8);
    }
}

@media (min-width: 1024px) {
    :root {
        --text-4xl: 2.5rem;
        --text-5xl: 3.5rem;
        --text-6xl: 4.5rem;
    }
}
