/* Hallmark · v2.0.0 · theme: Kiln (by request, ember) · genre: atmospheric · redesign: full · built: the project */
/* shape: Workbench · hero: Stage · nav: edge-aligned · footer: none, the page never had one · job: check in */
/* Hallmark · pre-emit critique: P5 H4 E5 S4 R5 V4 · weakest: R, the garden panel carried four tints; cut to one */
/* Hallmark · waive 65 · terracotta named by the user, on a near-black ground · the cream-and-clay page is not this */

/* Kiln, from the Hallmark theme library, ember colourway. */
:root {
    --color-paper: oklch(13% 0.012 40);
    --color-paper-2: oklch(17.5% 0.016 40);
    --color-paper-3: oklch(22% 0.018 40);
    --color-ink: oklch(94% 0.02 80);
    --color-ink-2: oklch(84% 0.025 70);
    --color-muted: oklch(72% 0.03 60);
    --color-rule: oklch(96% 0.01 80 / 0.14);
    --color-accent: oklch(70% 0.2 45);
    --color-accent-ink: oklch(14% 0.02 40);
    --color-focus: oklch(76% 0.19 56);

    --heat-0: oklch(12% 0.012 40);
    --heat-1: oklch(22% 0.07 22);
    --heat-2: oklch(40% 0.16 27);
    --heat-3: oklch(60% 0.21 36);
    --heat-4: oklch(76% 0.19 56);
    --heat-5: oklch(89% 0.14 78);
    --heat-6: oklch(98% 0.04 95);

    --font-display: "Boska", "Iowan Old Style", Georgia, serif;
    --font-body: "Geist", ui-sans-serif, system-ui, sans-serif;
    --font-outlier: "Geist Mono", ui-monospace, monospace;

    --radius-card: 28px;
    --radius-well: 16px;
    --radius-xs: 4px;
    --radius-pill: 999px;
    --color-scrim: oklch(8% 0.01 40 / 0.82);
    --color-scrim-strong: oklch(9% 0.012 40 / 0.96);
    --rule-hair: 1px;
    --shadow-card: 0 50px 90px -30px oklch(6% 0.01 40 / 0.6);
    --tracking-display: -0.02em;
    --display-weight: 500;

    --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: 6rem;
    --section-gap: clamp(4.5rem, 8vw, 7.5rem);

    --text-xs: 0.8125rem;
    --text-sm: 0.9375rem;
    --text-base: 1.0625rem;
    --text-lead: clamp(1.125rem, 1.1vw, 1.3125rem);
    --text-title: clamp(1.375rem, 1.9vw, 1.75rem);
    --text-section: clamp(1.875rem, 3vw, 2.5rem);
    --text-display: clamp(2.5rem, 5vw, 4.5rem);

    --dur-short: 140ms;
    --dur-long: 420ms;
    --ease-out: cubic-bezier(0.2, 0.7, 0.25, 1);
    --nav-h: 4.5rem;
}

/* Kiln, bisque colourway: the light side of the same studio, for the toggle. */
html:not(.dark) {
    color-scheme: light;
    --color-paper: oklch(96.5% 0.014 80);
    --color-paper-2: oklch(93% 0.02 80);
    --color-paper-3: oklch(88% 0.03 76);
    --color-ink: oklch(20% 0.02 40);
    --color-ink-2: oklch(31% 0.022 44);
    --color-muted: oklch(46% 0.024 50);
    --color-rule: oklch(20% 0.02 40 / 0.16);
    --color-accent: oklch(54% 0.17 62);
    --color-accent-ink: oklch(97% 0.014 80);
    --color-focus: oklch(54% 0.17 62);
    --heat-0: oklch(90% 0.035 75);
    --color-scrim: oklch(22% 0.02 40 / 0.7);
    --color-scrim-strong: oklch(20% 0.02 40 / 0.94);
    --shadow-card: 0 40px 70px -34px oklch(30% 0.03 40 / 0.28);
}

.dark {
    color-scheme: dark;
}
