/* ==========================================================================
   Pabst Interference — PRIMITIVES
   --------------------------------------------------------------------------
   The nine values this identity is made of, and nothing else. No semantics
   live here: a primitive says WHAT A COLOUR IS, never what it means. Roles are
   bound in tokens.css, per property.

   THIS FILE IS SHARED. A byte-identical copy lives in the projections suite
   (ff-algo). The two properties bind these to different roles - red is the ink
   the badge is printed in here, and the data exception there - but they are
   printed with the same inks. If these two files ever diverge, the family is
   over; tests/test_primitives.py fails the build when they do.

   PROVENANCE. Every value except the two ambers is sampled from
   img/pabst-interference-logo.png (836x842, md5 5136bb34a4847a6aa7f04344a9a33e66),
   measured pixel by pixel at alpha >= 128 over 552,796 opaque pixels.
   See SITE_REDESIGN_PLAN.md 1.1-1.3.
   ========================================================================== */

:root {
  /* --- Navy. 44.21% of the mark. The rosette, the nameplate, the script. --- */
  --navy-900: #021562;   /* 0.916% modal. #001763 is the runner-up at 0.536%   */
                         /* and dRGB 3.0 away - visually identical, and this   */
                         /* value is the one already committed in ff-algo.     */

  /* --- Red. 9.93%. Two values because THE MARK IS LIT (plan 1.2): the   --- */
  /* --- ring's left arc is lighter than its right arc, same object.      --- */
  --red-500: #D43845;    /* 0.921% modal. The red where light strikes.         */
  --red-700: #AE040D;    /* 0.212%. The red in shadow. Also the only red that  */
                         /* passes 4.5:1 as text (5.91:1 on paper).            */

  /* --- White. 40.42%. Also a lit/shadowed pair, and NOT cream:          --- */
  /* --- mean(R-B) across the family is -0.3402 on 0-255. Neutral, and    --- */
  /* --- if it leans at all it leans cool.                                --- */
  --white-100: #F5F5F5;  /* 5.241%. The field in light.                        */
  --white-200: #E5E5E5;  /* 6.428%. The field in shadow. The most common       */
                         /* single colour in the entire mark.                  */

  /* --- Silver. 5.11%. The gadrooned rosette edge, "BEER", tail outlines. --- */
  --silver-500: #929196; /* 0.093% modal, exact.                               */

  /* --- Gold. NOT IN THE MARK: zero pixels at hue 35-60 with sat > 0.35. --- */
  /* --- Provenance is the PBR register, not this league's artifact. The  --- */
  /* --- projections suite uses it for one 2px rail hairline; the league  --- */
  /* --- site binds no role to it at all.                                 --- */
  --gold-500: #C9A227;

  /* --- Amber. NOT IN THE MARK. Semantic only, and it exists because a   --- */
  /* --- brief constraint requires a non-brand colour for negatives so    --- */
  /* --- red never has to mean "bad". Chosen at hue 30.5 deg: red (355)   --- */
  /* --- and gold (46) are its only near neighbours in hue, and both are  --- */
  /* --- zoned out of every region amber appears in.                      --- */
  --amber-700: #8A4A08;  /* light theme. 5.44:1 on --white-200.                */
  --amber-300: #F0A050;  /* dark theme.  7.66:1 on --navy-900.                 */
}
