/* Regibus: design tokens.
   Night palette. Photography carries the colour; the page stays black and
   white around it. One rule survives from the first build: redline marks
   deletion and nothing else. Never a button, a heading or a hover. */

:root {
  --night:   #0A0A0A;  /* the page */
  --coal:    #141414;  /* raised surfaces */
  --paper:   #F2F1EE;  /* type on night; a touch off white so it glows less */
  --ash:     #8C8C88;  /* secondary type, 5.9:1 on night */
  --smoke:   rgba(242, 241, 238, 0.14); /* hairlines */
  --redline: #E0232B;  /* deletion only; brightened from #C9161E to hold on black */

  /* Type. One family. Diatype when the licence lands; Inter stands in. */
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-num: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Inter metrics per em, used to put drawn rules on the cap-height midline. */
  --cap:  0.727;
  --asc:  0.969;
  --desc: 0.242;

  /* Type scale: a few sizes, far apart. The gap between them is the luxury. */
  --size-hero:    clamp(3rem, 10.5vw, 11rem);
  --size-panel:   clamp(3.5rem, 13vw, 13.5rem);
  --size-state:   clamp(2.25rem, 5.6vw, 5.75rem);
  --size-title:   clamp(2rem, 4.2vw, 4rem);
  --size-lede:    clamp(1.125rem, 1.5vw, 1.375rem);
  --size-body:    1.0625rem;
  --size-mono:    0.75rem;

  --track-hero: -0.045em;
  --track-big:  -0.035em;

  --gutter: clamp(1.25rem, 3.5vw, 3.5rem);
  --page:   100rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
