/* Hallmark · tokens · KassleFlow "Architectural Ink" · design-system: design.md
 * Every colour, font, space, size, easing and radius the site uses. Pages
 * reference these by name; raw values live here and only here.
 */
:root {
    /* Colour — brand Architectural Ink, in OKLCH */
    --color-paper:       oklch(98.2% 0.004 263);   /* page */
    --color-paper-2:     oklch(96.4% 0.006 263);   /* recessed band */
    --color-surface:     oklch(99.4% 0.003 263);   /* raised: cards, nav, modal */
    --color-ink:         oklch(18.3% 0.031 263);   /* text, the dark band */
    --color-ink-2:       oklch(25.1% 0.050 265);   /* ink, one step lighter */
    --color-slate:       oklch(50.1% 0.025 259);   /* secondary text on paper */
    --color-muted:       oklch(63.3% 0.048 265);   /* tertiary text */
    --color-rule:        oklch(90.5% 0.015 85);    /* stone hairlines */
    --color-rule-ink:    oklch(32% 0.040 265);     /* hairlines on the ink band */
    --color-on-ink:      oklch(96.5% 0.006 263);   /* text on the ink band */
    --color-on-ink-2:    oklch(76% 0.025 263);     /* secondary text on ink */
    --color-accent:      oklch(50.8% 0.219 270);   /* indigo: links, primary action, focus */
    --color-accent-2:    oklch(44% 0.200 270);     /* accent, hovered/pressed */
    --color-accent-soft: oklch(95.7% 0.018 279);   /* accent wash for the founding band */
    --color-accent-on-ink: oklch(74% 0.120 272);   /* accent legible on the ink band */
    --color-accent-wash: oklch(91.5% 0.045 275);   /* deeper accent tint: hero screenshot backdrop */
    --color-on-accent:   oklch(99% 0.003 263);
    --color-amber:       oklch(61.7% 0.129 71);    /* status only */
    --color-rust:        oklch(54.1% 0.157 32);    /* errors only */
    --color-focus:       oklch(50.8% 0.219 270);
    --color-scrim:       oklch(18.3% 0.031 263 / 0.55);
    --shadow-float:      0 10px 30px -14px oklch(18.3% 0.031 263 / 0.28);
    --shadow-phone:      -18px 24px 48px -12px oklch(18.3% 0.031 263 / 0.38), -4px 6px 14px -4px oklch(18.3% 0.031 263 / 0.22);   /* lifts the phone shot off the console */
    --shadow-lift:       0 24px 48px -24px oklch(18.3% 0.031 263 / 0.30);

    /* Type — Inter for words, JetBrains Mono for numbers and labels */
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

    --text-2xs: 0.6875rem;
    --text-xs:  0.75rem;
    --text-sm:  0.875rem;
    --text-base: 1rem;
    --text-md:  1.125rem;
    --text-lg:  1.375rem;
    --text-xl:  1.75rem;
    --text-2xl: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
    --text-display-s: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem);
    --text-display:   clamp(2.5rem, 1.5rem + 4.4vw, 4.75rem);
    --track-display: -0.035em;
    --track-heading: -0.022em;
    --track-label: 0.06em;

    /* Space — 4 pt scale */
    --space-3xs: 0.25rem;
    --space-2xs: 0.5rem;
    --space-xs:  0.75rem;
    --space-sm:  1rem;
    --space-md:  1.5rem;
    --space-lg:  2rem;
    --space-xl:  3rem;
    --space-2xl: 4.5rem;
    --space-3xl: 7rem;
    --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
    --measure: 64ch;
    --page-max: 76rem;

    /* Shape */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-pill: 999px;
    --rule-hair: 1px;
    --rule-thick: 2px;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --dur-micro: 120ms;
    --dur-short: 220ms;
    --dur-medium: 320ms;
}
