:root {
  --text: #1c1c1c;
  --muted: #5a5a5a;
  --accent: #0f5c56;
  --border: #e3e3e3;
  --bg: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  background: var(--bg);
}
.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.site-header .name {
  font-weight: 600;
  color: var(--text);
  font-size: 1.05rem;
}
.site-header nav a {
  margin-left: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}
.site-header nav a:first-child { margin-left: 0; }
.site-header nav a:hover { color: var(--accent); }

main {
  padding: 40px 24px 20px;
}

.hero {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.headshot {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  background: #eee;
  flex-shrink: 0;
}
.hero h1 {
  margin: 0 0 6px;
  font-size: 1.8rem;
}
.tagline {
  margin: 0 0 8px;
  color: var(--muted);
}
.links {
  margin: 0;
  font-size: 0.95rem;
}

section {
  margin-bottom: 44px;
  scroll-margin-top: 84px;
}
section h2 {
  font-size: 1.2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  margin-bottom: 14px;
}
section h3 {
  font-size: 1rem;
  margin: 18px 0 8px;
  color: var(--muted);
}

ul.plain {
  padding-left: 0;
  list-style: none;
  margin: 0;
}
ul.plain li {
  padding: 4px 0;
}

.entry {
  margin-bottom: 22px;
}
.entry-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.entry-title {
  font-weight: 600;
}
.entry-date {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}
.entry-org {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.entry ul {
  margin: 6px 0 0;
  padding-left: 20px;
}
.entry li {
  margin-bottom: 4px;
}
.entry p {
  margin: 0;
}
.muted {
  color: var(--muted);
  font-weight: 400;
}
.skills {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

footer {
  padding: 20px 24px 40px;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 480px) {
  .hero { flex-direction: column; align-items: flex-start; }
}
