/* Design tokens: „Schwebende Werkstatt“ */

@font-face {
  font-family: 'Bricolage';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('../fonts/bricolage-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: 'Bricolage';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('../fonts/bricolage-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}
@font-face {
  font-family: 'Hanken';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/hanken-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: 'Hanken';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/hanken-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('../fonts/jetbrains-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: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('../fonts/jetbrains-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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 {
  color-scheme: dark;

  /* canvas */
  --ink-0: #0a0d18;
  --ink-1: #11152a;
  --ink-2: #171c36;
  --ink-3: #20264a;

  /* text */
  --text: #eeeae2;
  --text-2: #a7a9b8;
  --text-3: #8a8da0;

  /* accents */
  --ember: #ff7a45;
  --ember-hi: #ff9466;
  --ember-ink: #b5441a;
  --mint: #6fe3c8;
  --mint-dim: #3fa892;
  --violet: #8b7cff;

  /* paper section */
  --paper: #f3efe7;
  --paper-2: #e9e3d7;
  --paper-ink: #0e1120;
  --paper-ink-2: #4a4d5e;
  --paper-line: rgba(14, 17, 32, 0.14);

  /* glass */
  --glass: rgba(23, 28, 54, 0.58);
  --glass-strong: rgba(23, 28, 54, 0.82);
  --hairline: rgba(238, 234, 226, 0.11);
  --hairline-strong: rgba(238, 234, 226, 0.2);
  --inner-hi: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  --shadow-float: 0 30px 60px -20px rgba(2, 4, 12, 0.7), 0 12px 24px -12px rgba(2, 4, 12, 0.55);

  /* type */
  --font-display: 'Bricolage', 'Hanken', ui-sans-serif, sans-serif;
  --font-body: 'Hanken', ui-sans-serif, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.15rem, 1.07rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.4rem, 1.22rem + 0.8vw, 1.9rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
  --step-4: clamp(2.2rem, 1.6rem + 2.7vw, 4rem);
  --step-5: clamp(2.7rem, 1.6rem + 4.8vw, 6.4rem);
  --step-6: clamp(3rem, 1.4rem + 6.6vw, 8rem);

  /* space */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1320px;
  --section: clamp(4rem, 2.5rem + 5.5vw, 7.5rem);
  /* restrained radius scale: controls, cards, large surfaces */
  --radius-ctl: 6px;
  /* floor for text inside the UI illustrations: below ~10.5px it reads as noise */
  --fig-min: 10.5px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 14px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-float: cubic-bezier(0.45, 0.05, 0.55, 0.95);
}
