/* ==========================================================================
   Red Globe Productions.

   Identity drawn from the two reference designs: Inter Tight for display on
   tight tracking, Outfit for UI, charcoal grounds, square corners, crimson.

   THE TWO REDS (D32). Brand crimson and the status red both exist here, and
   they are separated by LIGHTNESS rather than hue, because lightness is what
   the eye reads at a glance. Crimson #CF232C against oxblood #7F1D1D is 1.88:1
   apart, the widest separation available while both stay red. Do not close that
   gap. Coverage bars additionally carry a fill pattern and a text label, so
   colour is never the only channel — see console.css.

   THE FOCUS RING IS AMBER, NOT CRIMSON, in dark mode. Crimson on the dark
   ground is 3.40:1, which scrapes past the 3:1 required of a UI component;
   --own is 9.02:1. A focus indicator is the one affordance a keyboard or switch
   user navigates entirely by, so it does not get given to the brand.

   Implements static/themes/_contract.css.
   ========================================================================== */

[data-theme="red-globe"] {
  --face-display: "Inter Tight", system-ui, -apple-system, sans-serif;
  --face-text: "Outfit", system-ui, -apple-system, sans-serif;
  --face-data: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
}

[data-theme="red-globe"][data-mode="light"] {
  --ground: #f7f8fa;
  --ground-raised: #ffffff;
  --ground-sunk: #eef1f4;

  --ink: #1e2328;        /* 14.90:1 */
  --ink-soft: #6d6e71;   /*  4.80:1 */
  --ink-faint: #7e858c;  /*  3.52:1 — non-text only */

  --rule: #dfe3e8;
  --rule-strong: #82888f; /* 3.37:1 */

  --accent: #b32028;        /* 6.27:1 — link text */
  --accent-strong: #cf232c; /* 5.03:1 — fills, the mark, hover */
  --accent-wash: #f7dcde;
  --on-accent: #ffffff;     /* 6.66:1 on --accent */

  --go: #146b4a;
  --go-wash: #dceae3;
  --hold: #8a5d00;
  --hold-wash: #f0e3c6;
  --stop: #7f1d1d;
  --stop-wash: #edd7d5;

  /* No call band on a light surface today, so nothing renders these. Identical
     to --hold on purpose rather than invented: if a light surface ever grows a
     band, pull them apart before using it. */
  --own: #8a5d00;
  --own-wash: #f0e3c6;
  --on-own: #ffffff;
}

[data-theme="red-globe"][data-mode="dark"] {
  --ground: #12161a;
  --ground-raised: #1e2328;
  --ground-sunk: #0b0e11;

  --ink: #f7f8fa;        /* 17.10:1 */
  --ink-soft: #9aa0a6;   /*  6.88:1 */
  --ink-faint: #78848c;  /*  4.74:1 */

  --rule: #2b333a;
  --rule-strong: #5c666e; /* 3.10:1 */

  --accent: #cf232c;        /* 3.40:1 — A FILL, NEVER TEXT. See header. */
  --accent-strong: #e8434a; /* 4.62:1 */
  --accent-wash: #2a1315;
  --on-accent: #ffffff;     /* 5.34:1 on --accent */

  --go: #4dc08a;
  --go-wash: #10251c;
  --hold: #e3ba52;
  --hold-wash: #2a2314;
  --stop: #ff6b7c;
  --stop-wash: #2d1519;

  /* Worklight amber. The call band, and the focus ring. */
  --own: #f5a71b;    /* 9.02:1 */
  --own-wash: #2a2114;
  --on-own: #12161a; /* 9.02:1 */
}
