/* ══════════════════════════════════════════════════════════════════════════════
   PALETTE — Turn 2 Racing Communications                              loaded AFTER kit.css
   Copy this to the site as assets/css/palette.css and fill it in.

   THE ONE RULE: every colour below has to come from something that physically
   exists at the client's business. Their sign, their walls, their uniforms, their
   packaging, the light in their room. Not a palette generator, not a mood board,
   not "spa colours."

   Being able to name the fixture is the whole difference between a site that
   looks like theirs and a site that looks like a template with their logo on it.
   Write the source in the comment beside each value. If you cannot name it, you
   have not looked at their photos long enough.
   ══════════════════════════════════════════════════════════════════════════════ */
:root{
  /* ── the ground ─────────────────────────────────────────────────────────────
     Near-black, pulled from the client's own darkest brand colour. Not #000 and
     not a neutral grey: a very dark version of a colour they actually own. */
  --ground:#0F160E;        /* SOURCE: ...                                        */
  --panel:#182116;         /* one step up, for alternating bands                 */
  --panel-2:#1E2A1C;       /* two steps up                                       */
  --ink:#1B2419;           /* their darkest brand colour, for light-page bits    */
  --ink-2:#2E3B29;
  --ink-3:#4A5A42;

  /* ── the two light sources ──────────────────────────────────────────────────
     These are the "neon". One warm, one cool, both taken off real fixtures. They
     light every band, glow the small type, and ignite the card edges on hover. */
  --lume:#E2B87A;          /* WARM.  SOURCE: ...                                 */
  --lume-hot:#F0CE9A;      /* the same colour, brighter, for hover states        */
  --lume-2:#7FA6D6;        /* COOL.  SOURCE: ...                                 */

  /* ── accents on the light layer ─────────────────────────────────────────── */
  --accent:#B08D57;
  --accent-lt:#C9A96A;
  --accent-2:#8A9A7B;
  --mark:#6FA344;          /* logo mark only. never type, never UI               */

  /* ── paper and type ─────────────────────────────────────────────────────── */
  --paper:#F7F3EA;
  --paper-2:#FFFDF7;
  --line:#E2DACB;
  --body:#3D453A;
  --muted:#6E7768;
  --txt:rgba(242,240,231,.86);
  --txt-2:rgba(242,240,231,.66);   /* CHECK THIS ON THE REAL GROUND. beat 7:1 */

  /* ── edges ──────────────────────────────────────────────────────────────────
     Derived from --lume. If you change --lume, change these to match or the card
     borders will be the wrong colour and nothing will look wrong enough to spot. */
  --edge:rgba(226,184,122,.16);
  --edge-hot:rgba(226,184,122,.42);
  --hair:rgba(176,141,87,.22);
  --glow-a:rgba(176,141,87,.22);
  --glow-b:rgba(122,150,104,.17);

  /* ── type ───────────────────────────────────────────────────────────────────
     A display serif and a quiet sans is the default that reads expensive. Change
     the faces, never the sizes: the sizes are floors set for an older audience. */
  --serif:"Cormorant Garamond",'Iowan Old Style','Palatino Linotype',Palatino,Georgia,serif;
  --sans:"Jost",-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;

  --wrap:1180px;

  /* ── luxury grammar knobs (client-site-design skill, reference/luxury-grammar.md) ──
     --btn-r: 100px pills (Goldust, Blacklane camp) or 3px square (Aman, Dishoom, CRISP
     camp). Nothing in between: the 8 to 14px radius is the one the luxury set never
     puts on a button. --display: the hero line, luxury median 5.4vw at 1440. Leave it
     unless the client's sign demands wider or narrower. */
  --btn-r:100px;
  --display:clamp(2.6rem,5.4vw,5.5rem);
}

/* CONTRAST GATE — do not skip this.
   Dark grounds flatter text that is actually too dim, so eyeballing it does not work.
   Compute --txt and --txt-2 against --ground before shipping. Target 12:1 on body
   and 7:1 on secondary, not the 4.5:1 legal floor. This audience skews older. */

/* ── from the 08-shops-retail recipe (2026-11-19): the starting points, each to be re-sourced from THEIR fixtures ── */
:root{
  --paper:#F7F3EA;
  --btn-r:3px;          /* square camp on the measured sites */
  --display:clamp(2.6rem,4vw,5.8rem);
  --serif:"Saira Condensed","Saira Condensed Fallback",Arial,sans-serif;
  --sans:"Saira","Saira Fallback",Arial,sans-serif;
  /* --cond: a condensed label face if their brand has one; --accent-txt: the accent deepened to 6.5:1 on paper; --stone: one step warmer than paper */
}

/* ── TURN 2, re-sourced from HIS fixtures (2026-11-19). Light only: the site is paper; only photo scrims are dark. ── */
:root{
  --paper:#F5F4F0;         /* the white aluminum skin of the race trailers in his photos (row-2, row-3) */
  --paper-2:#FFFFFF;       /* the white field of his logo sheet */
  --stone:#ECEAE4;         /* the worn white of a ramp door in sun (row-4) */
  --ink:#131416;           /* the black 600D curtain material (door-44, row-5) */
  --ink-2:#2A2C30;
  --ink-3:#4B4E54;
  --body:#2E3034;
  --muted:#5E6167;         /* 5.9:1 on --paper */
  --line:#D9D6CE;          /* the seam line on a grey curtain */
  --accent:#CA0807;        /* the red of the 2 in his logo (b00.png, median 202,8,7) */
  --accent-lt:#E0201C;
  --accent-txt:#B00807;    /* the same red, deepened to 6.9:1 on --paper for small type */
  --accent-2:#8B9097;      /* diamond plate on the ramp (row-2) */
  --brass:#B58B3C;         /* the brass grommets along the top of the 58 curtain (haulertop.jpg) */
  --mark:#CA0807;
  --lume:#CA0807; --lume-hot:#E0201C; --lume-2:#8B9097;
  --ground:#131416; --panel:#1B1C1F; --panel-2:#232428;
  --edge:rgba(19,20,22,.14); --edge-hot:rgba(202,8,7,.5); --hair:rgba(19,20,22,.16);
  --glow-a:rgba(202,8,7,.14); --glow-b:rgba(139,144,151,.16);
  --btn-r:2px;
  --display:clamp(2.8rem,5.6vw,6rem);
  --serif:"Saira Condensed","Saira Condensed Fallback","Arial Narrow",Arial,sans-serif;
  --sans:"Saira","Saira Fallback",Arial,sans-serif;
  --chat-ink:#131416; --chat-accent:#CA0807; --chat-dot-a:#CA0807; --chat-dot-b:#131416;
}
