/* ==========================================================================
   ITLawyers — design tokens
   ========================================================================== */

@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-greek.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF, U+2000-206F, U+20AC, U+2122, U+2212;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-greek.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF, U+2000-206F, U+20AC, U+2122, U+2212;
}

:root {
  /* Colour */
  --ink: #241f1a;
  --ink-soft: #4a423a;
  --muted: #6b6157;
  --paper: #faf6ef;
  --paper-2: #f3ede2;
  --paper-3: #ede5d7;
  --surface: #ffffff;
  --line: #dcd3c5;
  --line-strong: #c3b7a5;
  --taupe: #918b82;
  --brass: #a68b5b;
  --brass-soft: #c9b893;
  --brown: #3b2c21;
  --brown-dark: #2a1f17;
  --success: #2f5d43;
  --success-bg: #eaf1eb;
  --error: #8c2f24;
  --error-bg: #f7e9e5;
  --focus: #241f1a;

  /* Type */
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-xl: clamp(1.375rem, 1.2rem + 0.8vw, 1.625rem);
  --fs-2xl: clamp(1.625rem, 1.3rem + 1.5vw, 2.125rem);
  --fs-3xl: clamp(2rem, 1.4rem + 3vw, 3.25rem);
  --fs-hero: clamp(2.25rem, 1.5rem + 4.2vw, 4rem);

  /* Space */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(48px, 8vw, 96px);
  --radius: 2px;
  --transition: 180ms cubic-bezier(0.2, 0.6, 0.2, 1);
  --shadow-sm: 0 1px 0 rgba(36, 31, 26, 0.06);
  --shadow-panel: 0 10px 30px rgba(36, 31, 26, 0.07);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition: 0ms;
  }
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
