/* Fonts ship with the template (SIL OFL, see assets/fonts/OFL-*.txt): no request to Google Fonts. */
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/familjen-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: "Familjen Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/familjen-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/instrument-sans-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: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/instrument-sans-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; }
/* Slabline design tokens. Change --brand to recolor the whole template:
 * every accent, button and dark band derives from it. Neutrals are a cool honed-stone grey on purpose. */
:root {
  /* color */
  --brand:      oklch(55% 0.145 25);
  --brand-deep: oklch(45% 0.135 25);   
  --dark:       oklch(22% 0.012 250);   
  --dark-2:     oklch(27% 0.014 250);   
  --dark-3:     oklch(36% 0.014 250);   
  --tint:       oklch(82% 0.055 25);   
  --paper:      oklch(97.2% 0.004 250);
  --wash:       oklch(93% 0.006 250);
  --ink:        oklch(21% 0.012 250);
  --ink-2:      oklch(38% 0.012 250);
  --muted:      oklch(49% 0.012 250);
  --rule:       oklch(86% 0.008 250);
  --on-dark:    oklch(96% 0.004 250);
  --on-dark-2:  oklch(78% 0.01 250);
  --focus:      oklch(60% 0.19 25);
  --laser:      oklch(78% 0.16 78);   /* the templating laser line: only the 3D stage uses it */
  --error:      oklch(52% 0.18 27);
  --ok:         oklch(50% 0.12 152);
  /* gradients: every dark surface comes from here */
  --grad-dark: linear-gradient(160deg, oklch(17% 0.01 250) 0%, oklch(22% 0.012 250) 60%, oklch(27% 0.03 25) 100%);
  --grad-bar:  linear-gradient(96deg, oklch(45% 0.135 25), oklch(55% 0.145 25));
  --grad-veil: linear-gradient(180deg, transparent 0%, color-mix(in oklch, var(--dark) 82%, transparent) 100%);
  /* type */
  --font-display: "Familjen Grotesk", -apple-system, "Helvetica Neue", sans-serif;
  --font-body: "Instrument Sans", -apple-system, system-ui, sans-serif;
  --text-sm: 0.85rem; --text-base: 1.0625rem; --text-md: 1.3rem; --text-lg: 1.65rem; --text-xl: 2.1rem; --text-2xl: 2.7rem;
  --text-display: clamp(2.6rem, 4.6vw + 1rem, 4.9rem); --text-display-s: clamp(2rem, 3.2vw + 0.9rem, 3.4rem);
  /* space */
  --space-2xs: .25rem; --space-xs: .5rem; --space-sm: .75rem; --space-md: 1rem; --space-lg: 1.5rem; --space-xl: 2.5rem; --space-2xl: 4rem; --space-3xl: 6.5rem; --space-4xl: 10rem;
  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-spring: cubic-bezier(0.2, 0.7, 0.2, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --dur-micro: 140ms; --dur-short: 260ms; --dur-long: 600ms;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-modal: 400;
  --radius: 6px; --radius-s: 3px; --radius-pill: 999px;
}
@media (prefers-reduced-motion: reduce) { :root { --dur-micro: 1ms; --dur-short: 1ms; --dur-long: 1ms; } }
