/* palette.css — the warm palette, one file, every page.
   ─────────────────────────────────────────────────────────────────────────────
   Split out of site.css deliberately. site.css is the COMPONENT layer for the
   inner editorial pages: it also sets main/.topbar/footer widths and a chrome
   band, and the door has its own layout. Linking site.css to the door would
   have changed the door. Tokens are the only thing both surfaces should share,
   so tokens live here and both link this.

   Neutrals derive from one warm dark (#2a2118) over cream. Terracotta is the
   wordmark rust darkened 4% (#ae5523 -> #a44e1f): cream on the exact rust is
   4.29:1 and misses AA; this clears at 4.76:1.

   Verdict colours (--pass/--green/--fail) are NOT here. They are semantic, they
   are declared per page, and warming them would be a claim, not a style.       */

:root {
  /* grounds */
  --bg:         #f3ead6;   /* cream page          — door: --paper      */
  --bg-alt:     #e9dcc4;   /* deeper band         — door: --paper-deep */
  --paper:      #f3ead6;
  --paper-lit:  #f9f2e2;
  --paper-deep: #e9dcc4;
  --card:       #fbf6ea;
  --surface:    rgba(255,255,255,0.15);  /* white at 85% transparent — panes sit back */

  /* inks */
  --ink:      #2a2118;
  --ink-900:  #2a2118;
  --ink-deep: #0e1113;
  --text:   rgba(42,33,24,0.86);
  --muted:  rgba(42,33,24,0.66);
  --faint:  rgba(42,33,24,0.50);

  /* rules */
  --hairline:  rgba(42,33,24,0.14);
  --divider:   rgba(42,33,24,0.22);
  --rule:      rgba(60,50,40,0.18);
  --rule-soft: rgba(60,50,40,0.10);
  --chip:      rgba(42,33,24,0.06);

  /* the wordmark family */
  --rust:   #ae5523;
  --amber:  #be8621;
  --teal:   #1f8f7e;
  --peri:   #868dd2;
  --accent: #ae5523;
  --link:   #ae5523;

  /* chrome */
  --terra:      #803c18;
  --terra-deep: #6f3211;
  --withdrawn:  #9c3d16;

  /* type */
  --serif: "Source Serif 4", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  --mono:  "Roboto Mono", ui-monospace, SFMono-Regular, monospace;
}
