/* Blanch Technologies — one stylesheet, no dependencies. */

:root {
  --bg:      #f6f1e3;  /* cream */
  --text:    #1c2b22;  /* deep forest, near-black */
  --muted:   #52665a;
  --rule:    #d8d2ba;
  --link:    #2d5a3d;  /* forest green */
  --measure: 680px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

p { margin: 0 0 1.35rem; }

.name {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
}

.lede {
  margin: 0 0 3rem;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

footer p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 40rem) {
  body { font-size: 18px; line-height: 1.6; }
  main { padding: 6rem 1.35rem 6rem; }
  .name { top: 1.25rem; left: 1.35rem; }
  @media print {
  body { background: #fff; font-size: 12pt; }
  main { padding: 0; max-width: none; }
}
