/* Single-page site. Same palette and type as the old multi-page design. */

@font-face {
  font-family: 'Newsreader';
  src: url('newsreader.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --paper: #fbfaf7;
  --ink: #191713;
  --muted: #56514a;
  --faint: #736d63;
  --rule: #e4dfd4;
  --accent: #9c4221;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  max-width: 44rem;
  background: var(--paper);
  color: var(--ink);
  font-family: Newsreader, 'Iowan Old Style', Georgia, serif;
  font-optical-sizing: auto;
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- identity ------------------------------------------------------ */

header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

header img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

h1 {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* ---- sections ------------------------------------------------------ */

h2 {
  margin: 2.75rem 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  font-style: italic;
  color: var(--faint);
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 1.05rem;
  text-wrap: pretty;
}

.contact {
  color: var(--muted);
  font-size: 1rem;
}

/* ---- links --------------------------------------------------------- */

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: color 0.15s ease, border-color 0.15s ease;
}

a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---- lists --------------------------------------------------------- */

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  margin: 0 0 1.1rem;
}

li p { margin: 0; }

li strong {
  font-weight: 600;
}

.meta {
  color: var(--faint);
  font-size: 0.9375rem;
}

/* ---- footer -------------------------------------------------------- */

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 3rem 0 1.25rem;
}

footer {
  color: var(--faint);
  font-size: 0.9375rem;
}

@media (max-width: 480px) {
  body { padding: 3rem 1.25rem 3rem; }
}
