/* FYRFID design tokens — the single source of truth for the whole site.
   Change a value here and every page follows. Never hard-code a colour,
   size or radius in a template; add a token instead. */

:root {
  /* ---- Brand palette -------------------------------------------------- */
  --ink: #0e1a12;          /* near-black green, headings on light           */
  --forest: #16281c;       /* dark section background                       */
  --forest-2: #213a28;     /* dark section, one step lighter                */
  --moss: #2d7a5a;         /* primary accent on light backgrounds           */
  --moss-deep: #226349;    /* pressed / active                              */
  --signal: #8de8b8;       /* bright accent, dark backgrounds only          */
  --mist: #f4f7f5;         /* page-level tinted background                  */
  --sage: #e6efe9;         /* card / fill on light                          */
  --paper: #ffffff;

  /* ---- Text ----------------------------------------------------------- */
  --text-strong: var(--ink);
  --text: #33443a;
  --text-muted: #6b7c6f;
  --text-on-dark: rgba(255, 255, 255, 0.92);
  --text-on-dark-muted: rgba(255, 255, 255, 0.62);

  /* ---- Lines & surfaces ----------------------------------------------- */
  --line: rgba(33, 58, 40, 0.14);
  --line-strong: rgba(33, 58, 40, 0.26);
  --line-on-dark: rgba(255, 255, 255, 0.14);
  --shadow-sm: 0 1px 2px rgba(14, 26, 18, 0.06);
  --shadow-md: 0 6px 24px -12px rgba(14, 26, 18, 0.28);
  --shadow-lg: 0 24px 60px -30px rgba(14, 26, 18, 0.45);

  /* ---- Radius --------------------------------------------------------- */
  /* Deliberately sharp. This is an industrial manufacturer, not a SaaS app. */
  --r-sm: 2px;
  --r: 3px;
  --r-pill: 999px;

  /* ---- Type ----------------------------------------------------------- */
  --font-sans: "Archivo", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  --font-display: "Archivo", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", "Cascadia Mono",
    Consolas, "Liberation Mono", monospace;

  --fs-display: clamp(38px, 5.4vw, 66px);
  --fs-h1: clamp(31px, 4.1vw, 50px);
  --fs-h2: clamp(25px, 2.9vw, 36px);
  --fs-h3: clamp(19px, 1.5vw, 22px);
  --fs-lede: clamp(17px, 1.35vw, 20px);
  --fs-body: 16px;
  --fs-sm: 14.5px;
  --fs-xs: 13px;
  --fs-micro: 11.5px;

  --lh-tight: 1.08;
  --lh-heading: 1.22;
  --lh-body: 1.65;
  --tracking-heading: -0.012em;

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

  /* ---- Layout --------------------------------------------------------- */
  --wrap: 1200px;
  --wrap-narrow: 760px;
  --header-h: 68px;

  /* ---- Motion --------------------------------------------------------- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 180ms;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur: 0ms;
  }
}
