/* luking.de design tokens. Same names as the Figma file "luking-portfolio" (code syntax of each variable):
   colours: collections Primitives and Color | type, spacing, grid: collections Typography and Layout.
   Primitives never change; roles (--bg, --text, ...) are what a dark section redefines. */
:root{
  /* colour primitives */
  --color-ink-100:#111110; --color-ink-25:rgba(17,17,16,.25); --color-paper-100:#ecebe7; --color-paper-25:rgba(236,235,231,.25);
  --color-grey-300:#d3d1cb; --color-grey-500:#85837d; --color-grey-800:#2a2927; --color-black:#000;
  /* colour roles */
  --bg:var(--color-paper-100); --text:var(--color-ink-100); --bg-inverse:var(--color-ink-100); --text-inverse:var(--color-paper-100);
  --text-muted:var(--color-grey-500); --line:var(--color-grey-300); --line-inverse:var(--color-grey-800); --line-strong:var(--color-ink-25);
  --overlay:var(--color-black);
  /* font size, fluid: the value at 1440px is the Figma desktop size, the minimum is the mobile size */
  --t-label:14px; --t-body:16px; --t-button:18px; --t-body-l:clamp(18px,1.39vw,22px);
  --t-title-s:clamp(20px,1.94vw,28px); --t-title-m:clamp(28px,2.78vw,44px); --t-title-l:clamp(40px,5.56vw,96px); --t-display:clamp(56px,10vw,170px);
  /* line height, tighter as the text grows */
  --lh-text:1.4; --lh-ui:1.2; --lh-title-s:1.2; --lh-title-m:1.1; --lh-title-l:1; --lh-display:.9;
  /* letter spacing, tighter as the text grows (small texts at zero) */
  --ls-text:0; --ls-title-s:-.02em; --ls-title-m:-.025em; --ls-title-l:-.03em; --ls-display:-.065em;
  /* spacing: 4px grid, page padding, section head, vertical rhythm of the sections */
  --space-0:0px; --space-2xs:4px; --space-xs:8px; --space-sm:12px; --space-md:16px; --space-lg:24px; --space-xl:32px; --space-2xl:48px; --space-3xl:64px; --space-4xl:96px; --space-5xl:128px;
  --pad:clamp(16px,2.78vw,40px);
  --shead:var(--space-2xl);
  --space-section:18vh; --space-section-s:9vh;
  /* grid (reference for the project pages): 12 columns on desktop, 4 on mobile */
  --grid-cols:12; --grid-gutter:var(--space-lg); --grid-margin:var(--pad);
  --ease:cubic-bezier(.65,0,.15,1);
  /* a small text that changes in place (About cities, How I work steps, Screens zoom): in line by line from its mask, out back into it */
  --text-in:1.5s; --text-out:.6s; --text-stagger:.09s; --ease-text-in:cubic-bezier(.16,1,.3,1); --ease-text-out:cubic-bezier(.32,0,.67,0);
}
@media (max-width:760px){
  :root{--shead:var(--space-xl);--t-button:16px;--grid-cols:4;--grid-gutter:var(--space-md)}
}
