/* What every Arson page shares -- the site and the editor: the fonts and
 * the desktop editor's colours. */

@font-face { font-family: "Big Shoulders"; src: url("/fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Big Shoulders"; src: url("/fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Big Shoulders"; src: url("/fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("/fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("/fonts/atkinson-hyperlegible-next-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("/fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* `hidden` hides, whatever display a class gives the element: `.btn` is
   inline-flex, and that beat the browser's own [hidden] rule -- an owner was
   shown "Leave project", a button the code had hidden. */
[hidden] { display: none !important; }

:root {
  /* The desktop editor's theme. */
  --night: #141315;
  --panel: #2b2b2e;
  --panel-deep: #232325;
  --field: #1d1d1f;
  --hair: #3e3e42;
  --text: #ece7e1;
  --muted: #9a948d;
  /* The icons' copper and the lights' ember. */
  --copper-dark: #7e5242;
  --copper: #b48471;
  --copper-line: #cf8352;
  --ember: #ff9646;
  --ember-hot: #ffdca8;
  --ember-glow: rgba(255, 150, 70, 0.55);
  --danger: #ff6b4a;
  --ok: #9ed27a;

  --display: "Big Shoulders", "Arial Narrow", sans-serif;
  --body: "Atkinson Next", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
}


/* ── Loading: the Arson mark turns once about its upright axis, the right-
   hand way (its front swings to the right), glows up and down, and goes
   round again. One animation for every wait on the site. ── */
.arson-loader { display: block; transform-origin: 50% 50%; animation: arson-load 2.8s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes arson-load {
  0%   { transform: perspective(420px) rotateY(0deg); filter: drop-shadow(0 0 0 rgba(255, 90, 30, 0)) brightness(1); }
  40%  { transform: perspective(420px) rotateY(360deg); filter: drop-shadow(0 0 0 rgba(255, 90, 30, 0)) brightness(1); }
  58%  { transform: perspective(420px) rotateY(360deg); filter: drop-shadow(0 0 14px rgba(255, 90, 30, 0.95)) brightness(1.3); }
  80%  { transform: perspective(420px) rotateY(360deg); filter: drop-shadow(0 0 0 rgba(255, 90, 30, 0)) brightness(1); }
  100% { transform: perspective(420px) rotateY(360deg); filter: drop-shadow(0 0 0 rgba(255, 90, 30, 0)) brightness(1); }
}
