/* ==========================================================================
   TOKENS
   Design tokens of branbergen.nl in two layers, plus the self-hosted font.
   Values come from the PitCanary design system; only the tokens this site
   uses are kept. Geist is a variable font (latin subset) that covers every
   weight from 400 to 700. Licence: assets/fonts/OFL.txt.
   ========================================================================== */

@font-face {
    font-family: 'Geist';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/geist-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* Layer 1: primitives. Raw values, never used directly in components. */

    /* Brand canary */
    --color-canary-100: #FFF8E8;
    --color-canary-500: #EBB638;

    /* Forest navy ink ramp */
    --color-ink-900: #171D2E;
    --color-ink-600: #515871;

    /* Typography */
    --font-geist: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

    /* Spacing scale, 4px base */
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 28px;

    /* Layer 2: semantic. Roles, built from primitives. Components use these. */

    /* Surfaces and ink */
    --surface: var(--color-canary-100);
    --ink: var(--color-ink-900);
    --ink-subtle: var(--color-ink-600);

    /* Links and focus */
    --link-color: var(--color-ink-900);
    --link-underline-color: var(--color-canary-500);
    --focus-ring: 0 0 0 2px var(--color-ink-900);

    /* Typography */
    --font-sans: var(--font-geist);
    --font-display: var(--font-geist);

    /* Spacing */
    --spacing-page-block: var(--space-6);
    --spacing-page-inline: var(--space-5);
    --spacing-stack: var(--space-7);
}
