/* ==========================================================================
   Design tokens. Every value the rest of the CSS uses is declared here.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600-normal.woff2") format("woff2");
}

:root {
  /* Colour ----------------------------------------------------------------
     Deep emerald on a warm bone paper. The neutrals are kept close to grey
     rather than tinted green: an olive cast across the whole page is what
     makes a green site read as "eco brochure" instead of expensive.
     Contrast against --paper: ink 16.3, ink-2 10.9, muted 5.2, accent 6.9.
     White on --accent is 7.8, so filled buttons pass too. */
  --paper: #f2f1ec;
  --paper-2: #e8e6df;
  --surface: #fbfaf8;
  --ink: #101513;
  --ink-2: #2f3634;
  --muted: #5f6762;
  --line: #dedcd3;
  --line-strong: #c7c4b8;
  --accent: #275c46;
  --accent-hover: #1c4534;
  --accent-soft: #dfe8e2;
  --dark: #0e1310;
  --dark-2: #161d19;
  --on-dark: #eceee9;
  --on-dark-muted: #98a29c;
  --accent-on-dark: #6bb894;

  /* Type ------------------------------------------------------------------ */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-mono: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif; /* the monospace face was retired; label tracking stays */

  --fs-display: clamp(2.5rem, 1.4rem + 5vw, 5.25rem);
  --fs-h2: clamp(1.875rem, 1.35rem + 2.4vw, 3.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-body: clamp(0.9375rem, 0.9rem + 0.18vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;

  --lh-tight: 1.04;
  --lh-snug: 1.2;
  --lh-body: 1.65;
  --tracking-tight: -0.022em;
  --tracking-label: 0.14em;

  /* Space ----------------------------------------------------------------- */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --section-y: clamp(4.5rem, 3rem + 7vw, 9rem);
  --gutter: clamp(1.25rem, 0.9rem + 1.8vw, 2.5rem);
  --container: 84rem;
  --measure: 62ch;

  /* Shape and motion ------------------------------------------------------ */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 700ms;
  --header-h: 4.25rem;
}
