/* ==========================================================================
   IXLabsNL — depth-night.css
   The depth pages (the five labs, the network, join, news, agenda, privacy,
   accessibility) are written against the LIGHT sheet's tokens — --c-ink,
   --c-sheet, --c-paper — in site.css. tokens-night.css rebinds the night
   world's own names (--c-text, --c-ground) but not those, which is how join
   and network ended up with a dark ground under dark ink: 1.02:1, measured.

   This file puts the light sheet's RAW palette on the night values, so every
   component in site.css turns dark without a dark variant of its own.

   Load order: tokens.css, fonts-inline.css, tokens-night.css, THIS, site.css,
   chrome.css. Colour literals are allowed here for the same reason they are in
   the two token files: this is a palette file and nothing else.
   ========================================================================== */

:root {
  /* grounds: the sheet is the night ground, raised surfaces step up */
  --p-sheet:      #100C09;
  --p-sheet-down: #1C1712;
  --p-sheet-deep: #070504;
  --p-sheet-up:   #1C1712;
  --p-paper:      #2A211A;
  --p-water:      #0E1A1D;
  --p-water-deep: #070504;

  /* ink: the night text ramp, same ratios as tokens-night.css */
  --p-ink:   #FFF6EE;  /* 18.24 on ground */
  --p-ink-2: #EADCD0;  /* 14.51 */
  --p-ink-3: #BCA898;  /*  8.52 */
  --p-ink-4: #9B8A7B;  /*  5.86 */

  /* --p-rule is shared with tokens-night.css and already the night value.
     --p-rule-2 (visible borders) goes to the same meaningful rule. */
  --p-rule-2: #8A7565;

  /* lab signals: the night lab colours, which all pass on the night ground */
  --p-ix3-signal:   #FF5A2B;
  --p-mix-signal:   #FF8A1E;
  --p-prime-signal: #FFC27A;
  --p-brix-signal:  #D07D48;
  --p-shine-signal: #EFC04A;

  --p-focus-core: #FFF6EE;
  --p-focus-ring: #070504;
  --p-alert:      #FF6666;

  /* text on a lab-coloured fill: dark on the night lab colours (6.22–12.28) */
  --c-on-lab: #070504;
}

/* The light sheet's default lab accent is ink; on the night page the neutral is
   the site's own signal, so an un-themed link is still visibly a link. */
body { --c-lab: var(--c-text-2); --c-lab-signal: var(--c-signal); }
[data-lab="ix3"]   { --c-lab: var(--c-ix3);   --c-lab-signal: var(--c-ix3); }
[data-lab="mix"]   { --c-lab: var(--c-mix);   --c-lab-signal: var(--c-mix); }
[data-lab="prime"] { --c-lab: var(--c-prime); --c-lab-signal: var(--c-prime); }
[data-lab="brix"]  { --c-lab: var(--c-brix);  --c-lab-signal: var(--c-brix); }
[data-lab="shine"] { --c-lab: var(--c-shine); --c-lab-signal: var(--c-shine); }
