/* diamond* — site-wide base.
   The front page is a blank white page by design; only /404 draws anything.
   made by ereyc */

:root {
  color-scheme: light;

  --paper: #ffffff;
  --ink: #000000;
  --ink-soft: rgba(0, 0, 0, 0.55);
  --ink-faint: rgba(0, 0, 0, 0.28);
  --rule: rgba(0, 0, 0, 0.85);

  /* Arial, site-wide. Regular for body copy, bold for display. */
  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-mono: "Courier New", Courier, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  overflow: hidden;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
strong,
b {
  font-family: var(--font);
  font-weight: 700;
}

/* The front page paints nothing at all. */
body[data-page='home'] {
  color: var(--paper);
}

/* Present in the DOM for crawlers and screen readers, painted nowhere. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media print {
  body {
    background: #fff;
    color: #000;
    overflow: visible;
  }
}
