/* The brand's faces and tokens, in one place. The homepage and the payment
   pages link this file, so a colour is changed here and nowhere else.
   Self-hosted, licensed: nothing is fetched from a third party. */
@font-face { font-family:"Signifier"; src:url("/fonts/signifier-light.woff2") format("woff2"); font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:"Signifier"; src:url("/fonts/signifier-light-italic.woff2") format("woff2"); font-weight:300; font-style:italic; font-display:swap; }
@font-face { font-family:"Söhne"; src:url("/fonts/soehne-buch.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Söhne"; src:url("/fonts/soehne-halbfett.woff2") format("woff2"); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:"Berkeley Mono"; src:url("/fonts/BerkeleyMono-Regular.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Berkeley Mono"; src:url("/fonts/BerkeleyMono-Bold.woff2") format("woff2"); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:"Berkeley Mono"; src:url("/fonts/BerkeleyMono-Oblique.woff2") format("woff2"); font-weight:400; font-style:italic; font-display:swap; }
@font-face { font-family:"Berkeley Mono"; src:url("/fonts/BerkeleyMono-Bold-Oblique.woff2") format("woff2"); font-weight:700; font-style:italic; font-display:swap; }

:root {
  /* paper */
  --paper:#F1EFE8;
  --paper-raised:#FBFAF6;
  /* Between paper and hairline. The mount has to be visible as a mount:
     paper-raised against paper is a difference you cannot see. */
  --mat:#E9E4D6;
  --ink:#1B1A16;
  --ink-quiet:#6B675C;
  --hairline:#CDC7B6;

  /* commitment and ceremony */
  --wax:#8A2D2B;
  --brass:#A9894B;
  --brass-ink:#7A6234;

  /* the board */
  --board:#0E1013;
  --flap:#16191E;
  --flap-lit:#1B1F25;
  --flap-face:#EFE8D8;
  --board-quiet:#8B958F;
  --phosphor:#2E9E5B;
  --phosphor-bright:#47D97F;

  --serif:"Signifier",Georgia,"Times New Roman",serif;
  --grot:"Söhne","Helvetica Neue",Helvetica,Arial,sans-serif;
  --mono:"Berkeley Mono",ui-monospace,"SF Mono",Menlo,monospace;

  --board-rule:rgba(239,232,216,.11);

  /* the half flip: one beat, its easing, and the angle a leaf arrives from */
  --flap-ms:300ms;
  --flap-ease:cubic-bezier(.2,.7,.3,1);
  --flap-from:-84deg;

  /* Capped by default. The full overhang is only safe once the wrap stops
     filling the viewport, which is what the media query below tests. */
  --logo-overhang:16px;
}
