/* The only file in the project allowed to contain a hex literal.
   THE SLAB's palette: the website's own, not the app's. Colours are rgb triplets so CSS and the
   canvas (js reads these custom properties at runtime) can apply each role's alpha to one value.
   Red is a state, used once, never an accent. */
:root {
  --bg:     #08090B;          /* ground, everywhere */
  --ink:    236 240 237;      /* #ECF0ED  text; its alpha is set by role, below */
  --accent: 155 240 184;      /* #9BF0B8  the accent lines and the contact mark */
  --alert:  242 139 130;      /* #F28B82  the one red: a terminal state, once (8.34:1 on --bg) */

  --a-body:      0.58;        /* body ink, top of the page: 6.10:1 on --bg (WCAG AA is 4.5:1) */
  --a-body-deep: 0.63;        /* body ink at the end of the depth ramp: 7.10:1 */
  --a-display:   0.93;        /* statements and accent lines: 14.9:1 ink, 12.8:1 accent */
  --screen: #000000;          /* the plate frames' interior: the captures' own black */
  --a-rail:      0.20;        /* the scroll rail's track: reads as a position on a long page, not as chrome */
  --a-hair:      0.16;        /* the plates' 1px hairline */
  --a-link:      0.80;        /* links and file-path citations, in the accent */

  /* spacing: four jobs, four values. em values resolve against the element they space, so they
     follow its type; the two large ones follow the screen, inside fixed bounds. */
  --space-flow:     1.3em;                          /* within a block: paragraph to paragraph, heading to text */
  --space-group:    3em;                            /* between related groups: a block's parts, the footer's tiers */
  --space-section:  clamp(4.5rem, 11svh, 8rem);     /* between major sections */
  --space-emphasis: clamp(7rem, 22svh, 13rem);      /* deliberate silence: once, before the closing statement */

  /* the hero's feed panel (js/hero.js) */
  --tell:      140 140 150;   /* #8C8C96  the app's stall tell, grey; the panel never shows the terminal red */
  --art-moss:  20 58 35;      /* #143A23  ground of the diagonal-band post */
  --art-pit:   5 16 10;       /* #05100A  its far end */
  --art-bands: 12 40 22;      /* #0C2816  ground of the horizontal-band post */
}
