/* =====================================================================
   CLASS COMPANY DESIGN TOKENS: the one palette every product shares.
   A Tarvis production, Class Company US Inc.

   Jakob's Law (owner directive, 2026-09-03): a person who has seen any one of
   our products must already know how the next one works. That is impossible
   while four surfaces run four palettes, which is what the audit found:

     canon (CLAUDE.md)       gold #C9A84C   gold2 #E8C96A   brown #8B5E3C
     the app (index.html)    gold #E8A33D   gold2 #F2BD62   "brown" #8FA0F0 (a blue)
     the site (studio)       no gold token at all; ink #171724 on cream #F7F5EF
     flyer pages (event.js)  six themes in navy, purple, teal, orange
     the prototype           gold #E8A33D   gold2 #F5C56B   espresso #2A1D12

   This file is the law from here on. Every surface imports it and stops
   declaring its own colors. When a value must change, it changes HERE, once.

   ON THE GOLD: the canon gold #C9A84C is the one written into CLAUDE.md, and
   the amber #E8A33D is the one every shipped surface drifted to and the owner
   has been grading for weeks. They are visibly different metals. Both are
   declared below; --gold is the canon and --amber is the drift, and the owner
   picks which one becomes --gold before the repaint. Nothing below assumes.
   ===================================================================== */

:root {
  /* Gold, the Tarvis mark. Gold means Tarvis and nothing else. */
  --gold:        #C9A84C;   /* canon, CLAUDE.md */
  --gold2:       #E8C96A;   /* canon highlight */
  --amber:       #E8A33D;   /* the drift every surface actually shipped */
  --amber2:      #F5C56B;   /* the drift highlight the prototype uses */
  --brown:       #8B5E3C;   /* secondary accent, canon. NOT #8FA0F0. */

  /* Espresso chamber: the app's dark ground. The prototype's, owner-approved. */
  --espresso:    #2A1D12;
  --espresso2:   #1D140C;
  --espresso3:   #16100B;
  --espresso-card: #241811;

  /* Cream: the light ground and every card. Never pure white. */
  --cream:       #FFF9EE;
  --cream2:      #F5EFE2;
  --site-bg:     #F7F5EF;   /* the marketing site's paper, kept: it is the same family */

  /* Ink */
  --ink:         #1C1C1E;   /* on cream */
  --ink-espresso:#2A1D12;   /* text on cream inside the app, warmer than pure black */
  --ink-light:   #F3E9D8;   /* on espresso */
  --ink-light2:  rgba(255,249,238,.72);
  --ink-site:    #171724;   /* the site's ink, kept */
  --ink2:        #6C6C70;
  --ink3:        #AEAEB2;

  /* Status: honest colors, used sparingly, never for urgency theatre */
  --green:       #30A46C;
  --red:         #FF3B30;
  --blue:        #0A84FF;

  /* Motion: one spring, everywhere. Sampled linear() with overshoot. */
  --spring: linear(0, 0.008 1.1%, 0.061 3.2%, 0.211 6.9%, 0.598 13.9%, 0.916 21.7%, 1.075 28.1%, 1.118 32.4%, 1.099 37.2%, 1.028 46%, 0.994 54.3%, 0.999 63.4%, 1);

  /* Radius and rhythm: the craft table's 4pt law */
  --r-card: 16px;
  --r-pill: 99px;
  --gap: 12px;
  --gutter: 20px;
}
