/* The brand, shared by both products: the CUT-OPEN FIG (Round 5, Kit 01 - ~/crush-brand-kits/r5/k01/, Eduardo's
   approved identity, confirmed 2026-10-18). A fig cut through the heart, drawn like a herbarium plate; "Crush" in
   Cormorant Garamond with EATS / WEBSITE tracked beneath in Jost. One family, two names: CrushEats and Crush Website
   differ only in the word under "Crush".

   Colours: the brand colours are exactly the kit's (damson, black mission, fig flesh, seed, fig leaf). The surfaces
   are lighter and less yellow than the kit's paper (Eduardo 2026-10-18: "way too yellow"): fig milk, pith, a plum
   hairline. Light only: never dark, never neon. Every text pair is checked by scripts/brand/contrast.py.

   Type: Cormorant Garamond (display, 400-700 + italic) and Jost (UI, 100-900), self-hosted, OFL (static/brand/fonts).

   This file holds only the fonts and the colour tokens. Each product maps them onto its own names:
     Crush Website  static/brand/crush.css - the one design system (owner back office, fronts, sign-in, errors)
     CrushEats      static/community/tokens.css (the app), static/community/console.css (/team/) */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin-full.ec4225ec161b.woff2") format("woff2-variations"), url("fonts/cormorant-garamond-latin-full.ec4225ec161b.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin-full-italic.b0fa095eb2a6.woff2") format("woff2-variations"), url("fonts/cormorant-garamond-latin-full-italic.b0fa095eb2a6.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/jost-latin-wght.41a72a3a0ae3.woff2") format("woff2-variations"), url("fonts/jost-latin-wght.41a72a3a0ae3.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched stand-ins while the two fonts load: a local Georgia / Arial scaled to Cormorant Garamond's and
   Jost's average character width and line box, so text barely moves when the real fonts swap in. */
@font-face {
  font-family: "Cormorant Fallback";
  src: local("Georgia"), local("Gelasio"), local("Times New Roman");
  size-adjust: 89.86%;
  ascent-override: 102.83%;
  descent-override: 31.94%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Jost Fallback";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica");
  size-adjust: 96.13%;
  ascent-override: 111.31%;
  descent-override: 39.01%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light;

  /* the fig, as drawn (Kit 01, Plate III) */
  --damson: #34202A;        /* the ink: warm plum-black, for type */
  --mission: #5B2B3B;       /* black mission skin: the one primary action */
  --mission-deep: #482632;  /* pressed / hover */
  --flesh: #DC8F88;         /* fig flesh, the heart: accents only, never text */
  --seed: #C9974A;          /* seed gold: dots, stars, engraver's rules - never a large fill */
  --leaf: #5F6B45;          /* fig leaf: the EATS / WEBSITE word, trust and "done" marks */
  --creme: #F4ECDD;         /* creme fraiche: type on mission and fig leaf (the kit's reversed lockups) */

  /* the surfaces: lighter, less yellow (Eduardo 2026-10-18) */
  --milk: #FAF7F5;          /* "fig milk": the page */
  --card: #FFFFFF;          /* cards, sheets */
  --pith: #F2EBE8;          /* the pale pith: one tinted band or quiet panel */
  --hair: #E5DBD8;          /* hairlines */
  --edge: #968486;          /* input and control borders (3:1 on milk and on white) */

  /* text */
  --ink: #34202A;           /* damson */
  --ink-2: #6E5A5E;         /* secondary text and captions */

  /* soft washes and their inks (status) */
  --flesh-wash: #F8E7E4;    /* chips, the active nav, "needs you" (mission text on it) */
  --leaf-wash: #ECEFE4;     /* "live" / OK */
  --leaf-ink: #4C5637;      /* green small text */
  --seed-wash: #F7EFE3;     /* warning fill */
  --seed-ink: #7A5410;      /* warning text */

  /* functional, kept apart from the brand */
  --bad: #B42318;
  --bad-wash: #FDECEA;
  --focus: #5B2B3B;         /* the focus ring: black mission (owner test 2026-10-25: the blue read as a browser default, off-brand); 9:1 on milk */

  /* older names, kept so every product file reads the same palette */
  --fig: var(--mission);
  --fig-deep: var(--mission-deep);
  --cream: var(--milk);
  --line: var(--hair);
  --line-strong: var(--edge);

  /* type */
  --font-display: "Cormorant Garamond", "Cormorant Fallback", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Jost Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
