:root {
  --paper: #f7f5ef;
  --ink: #292d27;
  --muted: #5e6257;
  --line: #d9dbd0;
  --green: #3e5544;
  --serif: 'Adobe Caslon Pro', 'Adobe Caslon', 'EB Garamond', Garamond, 'Times New Roman', serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--paper);
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--green);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

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

a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
  border-radius: 3px;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding: 36px 0;
  font-size: 18px;
}

header strong {
  font-weight: 500;
  font-size: 22px;
}

header a.name {
  color: var(--ink);
  text-decoration: none;
}

header a.name:hover {
  text-decoration: underline;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

nav a:hover {
  text-decoration: underline;
}

h1 {
  font-weight: 400;
  font-size: clamp(40px, 7vw, 56px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin: 56px 0 24px;
}

h2 {
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
}

h3 {
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 2px;
}

p {
  margin: 0 0 18px;
}

.lead {
  font-size: 24px;
  line-height: 1.4;
  max-width: 30em;
}

.meta {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 12px;
}

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

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

.project:first-of-type {
  border-top: 0;
  padding-top: 12px;
}

.project p,
.prose p {
  max-width: 34em;
}

.signature {
  display: block;
  width: 230px;
  max-width: 100%;
  height: auto;
  margin-top: 28px;
  mix-blend-mode: multiply;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 6px;
}

.contact-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 16px;
}

footer p {
  margin: 0 0 12px;
  max-width: 36em;
}

footer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 560px) {
  body {
    font-size: 19px;
  }

  header {
    padding: 24px 0;
  }

  nav {
    gap: 18px;
  }

  h1 {
    margin-top: 36px;
    font-size: clamp(36px, 10vw, 56px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.identity{display:block;font-size:24px;letter-spacing:0;margin-bottom:18px;color:var(--green)}
.error-art{display:block;width:min(100%,420px);height:auto;margin:24px auto}
.resume-text{white-space:pre-line;overflow-wrap:anywhere}
.skip-link{position:absolute;top:-100px;left:16px;background:var(--paper);padding:12px;z-index:10}.skip-link:focus{top:8px}
@media print{nav,.skip-link,footer{display:none}body{font-size:11pt;background:white;color:black}.page{max-width:none;padding:0}h1{font-size:24pt;margin:0 0 16px}h2{font-size:16pt}section{padding:16px 0}a{color:inherit}.project{break-inside:avoid}}
