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

html { background: var(--paper); color: var(--ink); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid-step) var(--grid-step);
}

a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); }
a:hover { border-bottom-color: var(--rust); color: var(--rust); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; }
h1 { font-size: 44px; font-style: italic; font-weight: 400; }
h2 { font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; }
h3 { font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; }

hr { border: none; border-top: 1px solid var(--rule); margin: 24px 0; }

.label {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }

.deck {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink-2);
  margin-top: 8px;
  line-height: 1.55;
}

/* Screen-reader-only utility — element is in DOM and tab order but not visible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
