:root {
  --ink: #1c1b19;
  --paper: #faf7f2;
  --rule: #d8d2c5;
  --accent: #6b3a2e;
  --muted: #6b675f;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Lora", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.25;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.site-header {
  border-bottom: 1px solid var(--rule);
  padding: 3rem 0 1.5rem;
}

.site-header h1 {
  margin: 0 0 0.35rem;
  font-size: 2.1rem;
}

.site-header h1 .suffix {
  font-weight: 400;
  font-style: italic;
  color: var(--muted);
  font-size: 1.4rem;
}

.tagline {
  margin: 0.2rem 0;
  font-size: 1.05rem;
}

.location {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  font-size: 0.95rem;
}

.section-nav {
  position: sticky;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  z-index: 1;
}

.section-nav .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.3rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  font-size: 0.9rem;
}

.section-nav a {
  color: var(--ink);
  text-decoration: none;
}

.section-nav a:hover {
  color: var(--accent);
}

main {
  padding: 2.5rem 1.5rem 1rem;
}

section {
  margin-bottom: 2.75rem;
  scroll-margin-top: 3.2rem;
}

section h2 {
  font-size: 1.4rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}

section h3 {
  font-size: 1.05rem;
  margin: 1.6rem 0 0.6rem;
  color: var(--accent);
}

.section-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  align-items: baseline;
  font-size: 0.95rem;
}

.metrics strong {
  font-family: "Lora", Georgia, serif;
  font-size: 1.2rem;
  margin-right: 0.3rem;
}

.metrics-source {
  color: var(--muted);
}

.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plain-list li {
  padding: 0.35rem 0;
  border-bottom: 1px dotted var(--rule);
}

.plain-list li:last-child {
  border-bottom: none;
}

.pub-list {
  padding-left: 1.3rem;
  margin: 0 0 1rem;
}

.pub-list li {
  margin-bottom: 0.8rem;
}

.press-table-wrap {
  overflow-x: auto;
}

.press-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.press-table th,
.press-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.press-table th {
  font-family: "Lora", Georgia, "Times New Roman", serif;
  font-weight: 600;
  color: var(--accent);
}

.press-table th:first-child,
.press-table td:first-child {
  padding-left: 0;
}

.press-table th:last-child,
.press-table td:last-child {
  padding-right: 0;
}

.press-table th:nth-child(2),
.press-table td:nth-child(2) {
  white-space: nowrap;
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 1.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--accent);
}
