/* JeffCo Tech Co design tokens · "Green sign on cream"
 * Cream pages, interstate-green signs with white inset borders, marigold exit tabs.
 * Sister look to Shop JeffCo (shared Archivo body, marigold, white structural bars),
 * kept distinct by green instead of cobalt and Overpass instead of a slab.
 * Every colour, font, size and timing in site.css comes from here.
 */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Overpass";
  src: url("/assets/fonts/overpass-latin.woff2") format("woff2");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
  /* Overpass's middle dot has almost no right side-bearing; let Archivo draw "·" */
  unicode-range: U+0000-00B6, U+00B8-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212;
}

:root {
  /* Cream paper and dark green-black ink */
  --color-paper: #f7f2e6;
  --color-paper-2: #fffdf8;     /* cards and inputs, a step lighter than the page */
  --color-paper-3: #ece4d0;     /* wells, placeholders */
  --color-ink: #1d2420;
  --color-muted: #4a524d;       /* 7:1 on paper */
  --color-rule: #d8cfb9;
  --color-field: #6f766f;       /* input borders: 3:1+ against paper */

  /* The sign: interstate green with white lettering */
  --color-sign: #0f6b45;
  --color-sign-deep: #0a4a30;   /* the sign's shadow edge */
  --color-on-sign: #ffffff;
  --color-on-sign-muted: #d3e8dc;
  --color-post: #8b918d;

  /* Marigold, shared with Shop JeffCo. Surface only: ink text on it, never as text on cream. */
  --color-accent: #f2a900;
  --color-accent-ink: var(--color-ink);

  --color-link: var(--color-sign);
  --color-focus: var(--color-ink);

  /* Type: Overpass (highway-sign lettering) for display, Archivo for reading */
  --font-display: "Overpass", "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --display-weight: 900;
  --tracking-display: -0.015em;
  --tracking-label: 0.12em;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.375rem;
  --text-xl: clamp(1.5rem, 3vw, 2rem);
  --text-2xl: clamp(2rem, 4.5vw, 2.9rem);
  --text-display-s: clamp(2.4rem, 6vw, 4.25rem);
  --text-display: clamp(2.9rem, 7.5vw, 5.75rem);

  /* Space: 4 pt scale */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --gutter: clamp(1rem, 4vw, 4rem);
  --shell: 80rem;
  --band-pad: clamp(3rem, 7vw, 5.5rem);

  /* Rules, radius */
  --rule-hair: 1px;
  --rule-ink: 2px;
  --rule-bar: 6px;              /* the structural bar under the header, as on Shop JeffCo */
  --radius: 8px;
  --radius-lg: 12px;
  --radius-sign: 20px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 120ms;
  --dur-base: 190ms;
}
