/* ui · shape: Split Studio · theme: Emaille (custom) · nav: N3 · footer: F1 · tone: austere
   Design tokens for torschild.de. Every colour, font, space, duration and radius lives here.
   Fonts are served from this domain (SIL OFL 1.1); no third-party requests. */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/space-grotesk-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;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/space-grotesk-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Type: system serif for display, system sans for body, Space Grotesk only on the sign */
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --font-sign: "Space Grotesk", sans-serif;

  /* Colour: warm paper, ink tinted toward the enamel blue, one accent (the sign) */
  --color-paper:    oklch(97.6% 0.007 85);
  --color-paper-2:  oklch(94.4% 0.009 85);
  --color-ink:      oklch(23%   0.020 255);
  --color-ink-2:    oklch(45%   0.016 255);
  --color-rule:     oklch(87%   0.010 85);
  --color-enamel:   oklch(34%   0.100 255);
  --color-enamel-2: oklch(28%   0.090 255);
  --color-enamel-ink: oklch(97% 0.010 90);
  --color-focus:    oklch(48%   0.150 255);

  /* Space: 4pt scale */
  --space-3xs: 4px;  --space-2xs: 8px;  --space-xs: 12px;
  --space-sm: 16px;  --space-md: 24px;  --space-lg: 40px;
  --space-xl: 64px;  --space-2xl: 96px; --space-3xl: 144px;

  /* Type scale */
  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.625rem;
  --text-2xl: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);

  --measure: 62ch;
  --radius-sign: 10px;
  --radius-sm: 4px;
  --rule: 1px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --dur-fast: 120ms;
  --dur-base: 240ms;
  --dur-slow: 600ms;
}
