/* house style, after morning.red */

:root {
  --ink: #adb2b0;      /* body text */
  --ink-dim: #626865;
  --ground: #303b40;   /* slate */
  --key: #e6002e;      /* the red . links, emblem */
  --key-dim: #8f3d48;
  --key-alt: #bd8010;  /* ochre */

  --measure: 24rem;
  --lead: 1.4;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ground);
  font-family: equity-text, serif;
  line-height: var(--lead);
}

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1rem;
}

h1, h2, h3, blockquote, figure { margin: 0; }
h1, h2, h3 { font-size: inherit; font-weight: inherit; }

h1 {
  font-size: 1.25rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
}

a {
  color: var(--key);
  text-decoration: none;
}

blockquote {
  border-left: 1px solid var(--ink);
  padding-left: 1ch;
}

/* typographic features */
.sc   { font-family: equity-caps; font-feature-settings: 'c2sc' 1; }
.onum { font-feature-settings: 'onum' 1; }
.tnum { font-feature-settings: 'tnum' 1; }
.fig  { font-feature-settings: 'onum' 1, 'tnum' 1; }
.hyphenated { hyphens: auto; }

.dim     { color: var(--ink-dim); }
.key     { color: var(--key); }
.key-dim { color: var(--key-dim); }
.key-alt { color: var(--key-alt); }
