/* Shared by the public page and the admin: type, ink and paper. Two inks on one stock; no shadows, no rounding. */

@font-face { font-family: "Big Shoulders"; src: url("../fonts/bigshoulders.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url("../fonts/sourceserif.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url("../fonts/sourceserif-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/plexmono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/plexmono-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #efe8d8;
  --paper-2: #e4dbc6;
  --ink: #1b1814;
  --ink-2: #5d5548;
  --rule: rgba(27, 24, 20, 0.22);
  --spot: #c9301c;
  --display: "Big Shoulders", "Arial Narrow", "Haettenschweiler", Impact, sans-serif;
  --serif: "Source Serif", Georgia, "Times New Roman", serif;
  --mono: "Plex Mono", ui-monospace, Consolas, "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.45 var(--serif); }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--spot); }
cite { font-style: italic; }
code { font: 0.86em var(--mono); background: var(--paper-2); padding: 1px 4px; }
button, input, select, textarea { font: inherit; color: inherit; border-radius: 0; }
:focus-visible { outline: 2px solid var(--spot); outline-offset: 2px; }
::selection { background: var(--ink); color: var(--paper); }

.plainbtn, .linklike {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: 700 13px/1 var(--display); letter-spacing: 0.09em; text-transform: uppercase;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.plainbtn:hover, .linklike:hover { color: var(--spot); }
.approx { color: var(--spot); }
