:root {
  --bg: #fbfbf8;
  --surface: #ffffff;
  --text: #202522;
  --muted: #66716a;
  --line: #dfe5df;
  --accent: #2f684f;
  --accent-strong: #204b39;
  --gold: #b8922f;
  --max-width: 814px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold);
}

.site-header,
.site-footer,
.page-shell {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 18px;
  border-bottom: 1px solid var(--line);
}

.site-title {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.page-shell {
  padding: 54px 0 56px;
}

.hero {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 34px;
}

.profile-art {
  width: 112px;
  aspect-ratio: 1;
}

.profile-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 52px;
  letter-spacing: 0;
}

.name-note {
  color: var(--muted);
  font-size: 0.68em;
}

h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.intro-section {
  max-width: 100%;
  margin: 0 0 36px;
}

.lead,
.bio-line {
  max-width: 900px;
  margin: 0;
  color: #343b36;
  font-size: 16px;
  line-height: 1.7;
}

.bio-line {
  margin: 14px 0 0;
}

.contact-line {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.link-row a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 12px;
  background: var(--surface);
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.link-row a:hover {
  border-color: #c8d4cb;
  color: var(--gold);
}

.link-row a[aria-disabled="true"] {
  color: var(--muted);
  cursor: default;
}

.section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.section > p {
  max-width: 760px;
  margin: 0 0 14px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
}

.section-heading a {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 650;
}

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

.news-list li {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 16px;
  padding: 8px 0;
}

time {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.writing-list {
  display: grid;
  gap: 18px;
}

.writing-list article,
.publication-list article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.writing-list h2,
.writing-list h3,
.publication-list h2,
.publication-list h3 {
  margin-top: 5px;
}

.writing-list p,
.publication-list p {
  margin: 8px 0 0;
  color: #3f4842;
}

.pub-note {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 0 8px 0 0;
  border-radius: 6px;
  padding: 2px 8px;
  background: #f2ead0;
  color: #705614;
  font-size: 13px;
  font-weight: 700;
}

.writing-list-large article {
  padding: 24px;
}

.page-title {
  max-width: 720px;
  margin-bottom: 34px;
}

.page-title h1,
.post-header h1 {
  font-size: 44px;
}

.page-title p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.publication-list {
  display: grid;
  gap: 16px;
}

.post {
  max-width: 760px;
}

.post-header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.back-link {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.post-content {
  font-size: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 740px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .page-shell {
    padding-top: 34px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .profile-art {
    width: 96px;
  }

  .intro-section {
    margin-left: 0;
  }

  h1 {
    font-size: 40px;
  }

  .lead,
  .bio-line {
    font-size: 15px;
  }

  .news-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .site-footer {
    flex-direction: column;
  }
}
