/* Hallmark · tokens · theme: custom (brand anchor from Helmuth's portfolio PDF)
 * paper oklch(99% 0.003 240) · brand oklch(46% 0.112 244) = #005d91 · Source Sans 3 (free stand-in for Myriad in the PDF v2)
 */
/* Source Sans 3, selbst gehostet (SIL OFL, siehe assets/fonts/OFL.txt), variable 300–700 */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-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 {
  /* colour */
  --color-brand: oklch(46% 0.112 244);
  --color-brand-deep: oklch(33% 0.085 248);
  --color-brand-soft: oklch(56% 0.105 242);
  --color-brand-tint: oklch(95.5% 0.018 240);
  --color-paper: oklch(99.2% 0.003 240);
  --color-ink: oklch(23% 0.03 252);
  --color-ink-muted: oklch(44% 0.03 250);
  --color-line: oklch(85% 0.025 240);
  --color-line-strong: oklch(76% 0.04 242);
  --color-line-on-dark: oklch(48% 0.07 246);
  --color-step-1: oklch(51% 0.11 243);
  --color-step-3: oklch(39% 0.1 246);
  --color-on-brand: oklch(100% 0 0);
  --color-on-brand-muted: oklch(88% 0.035 240);
  --color-sun: oklch(85% 0.16 88);
  --color-focus: oklch(85% 0.16 88);

  /* type */
  --font-body: "Source Sans 3", "Myriad Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-sm: 0.9375rem;
  --text-base: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
  --text-2xl: clamp(1.875rem, 1.35rem + 1.9vw, 2.875rem);
  --text-display-s: clamp(2.125rem, 1.4rem + 3vw, 3.75rem);
  --text-hero: clamp(2rem, 1.35rem + 2vw, 3rem);
  --text-numeral: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --text-sec-num: clamp(3.75rem, 2.6rem + 4.5vw, 6.5rem);
  --stroke-num: 2px;

  /* space, 4pt scale */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: clamp(4.5rem, 3rem + 6vw, 8rem);
  --gutter: clamp(1rem, 0.5rem + 3vw, 3rem);
  --measure: 62ch;
  --page-max: 72rem;

  /* shape */
  --radius-sm: 6px;
  --radius-pill: 999px;
  --rule: 1px solid var(--color-line);

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 140ms;
  --dur-base: 240ms;
}
