/* ACP Paint Protection — brand tokens.
   Every value here was MEASURED off the supplied logo artwork, not chosen.
   Contrast ratios are computed, not estimated. See BRAND-KIT.md for method.

   The one rule that governs everything below:
   ACP Gold is 11.02:1 on black and 1.91:1 on white. It is a DARK-GROUND
   colour. Build dark surfaces and the palette works with no substitutions;
   build light surfaces and every brand colour needs its deep counterpart. */

:root {
  /* ---- Core, measured off the artwork ---------------------------------- */
  --acp-gold:          #EEB21E; /* modal gold of 177,463 sampled pixels      */
  --acp-black:         #000000; /* the logo's native ground, 83% of the file */
  --acp-white:         #FFFFFF; /* the PAINT PROTECTION descriptor           */

  /* ---- The metal -------------------------------------------------------
     The P is a photographic brushed texture, not a colour. These are its
     measured light-to-dark run; --acp-silver is the FLAT stand-in that any
     single-colour process must use instead. See "the metal problem" in
     BRAND-KIT.md. */
  --acp-chrome-1:      #E8E9EC;
  --acp-chrome-2:      #C3C4C9;
  --acp-chrome-3:      #A9ABB1;
  --acp-chrome-4:      #CFD1D6;
  --acp-silver:        #B6B9BF; /* flat metal, DARK grounds.  10.68:1 on black */

  /* ---- Light-ground counterparts ---------------------------------------
     These exist because the brand colours fail on paper, and they NEVER
     appear in the logo. Both clear 4.5:1 on white and on --acp-paper. */
  --acp-gold-deep:     #8A660F; /* 5.27:1 on white, 4.79:1 on paper */
  --acp-steel:         #6E7278; /* 4.84:1 on white, 4.40:1 on paper */

  /* ---- Dark system (the default) ---------------------------------------- */
  --acp-ground:        #000000; /* page ground                              */
  --acp-surface:       #101114; /* raised panels, cards                     */
  --acp-surface-2:     #1A1C20; /* second level                             */
  --acp-hairline:      #2A2D33; /* dividers                                 */
  --acp-text:          #F4F4F5; /* 19.6:1 on ground                         */
  --acp-text-muted:    #9C9FA6; /* 7.6:1 on ground                          */

  /* ---- Light system (documents, invoices, email bodies) ------------------ */
  --acp-paper:         #F4F4F5;
  --acp-ink:           #0A0A0A; /* 18.0:1 on paper                          */
  --acp-ink-muted:     #4A4D53; /* 6.9:1 on paper                           */

  /* ---- Type -------------------------------------------------------------
     Both SIL OFL, verified from each font's own name-table licence URL.
     Both carry `tnum`, which matters: ACP publishes package prices, and a
     price table with proportional figures will not align. */
  --acp-font-display: "Saira", system-ui, sans-serif;
  --acp-font-body:    "Manrope", system-ui, sans-serif;
  --acp-tabular:      "tnum" 1;

  /* ---- Logo metrics, derived from the artwork ---------------------------
     X = the monogram cap height, measured at 311 source px. Clearspace is
     X/2 on all four sides. Minimum sizes are where each form was observed
     to stop reading, not round numbers. */
  --acp-lockup-ratio:    1.679;  /* full lockup, w/h */
  --acp-mark-ratio:      1.794;  /* frame + monogram */
  --acp-monogram-ratio:  2.676;  /* letters only     */
  --acp-clearspace:      0.212;  /* × lockup height, all four sides */
  --acp-min-lockup:      160px;
  --acp-min-mark:         64px;
  --acp-min-simple:       40px;  /* hairline accents dropped */
  --acp-min-monogram:     24px;
}
