:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #e1e1e1;
  --accent-dark: #c7c7c7;
  --line: #e6e6e6;
  --max-width: 760px;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-dark);
}

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px 96px;
}

header.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 16px;
}

header.site-header .name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

header.site-header .name a {
  border-bottom: none;
}

nav.site-nav {
  display: flex;
  gap: 24px;
}

nav.site-nav a {
  border-bottom: none;
  color: var(--muted);
  font-size: 0.95rem;
}

nav.site-nav a.active,
nav.site-nav a:hover {
  color: var(--fg);
}

h1 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.intro {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 8px;
}

.intro h1 {
  margin: 0 0 4px;
}

.intro .tagline {
  margin: 0;
}

.headshot {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

h3.subhead {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 28px 0 14px;
}

h3.subhead:first-of-type {
  margin-top: 20px;
}

p.tagline {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 32px;
}

.bio {
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.links a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 6px;
  background: var(--accent);
  font-size: 0.92rem;
  color: var(--fg);
}

.links a:hover {
  background: var(--accent-dark);
}

.entry {
  margin-bottom: 24px;
}

.entry-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: nowrap;
}

.entry-title {
  font-weight: 600;
  min-width: 0;
}

.entry-sub {
  color: var(--muted);
  font-size: 0.92rem;
}

.entry-date {
  color: var(--muted);
  font-size: 0.88rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.entry ul {
  margin: 8px 0 0;
  padding-left: 20px;
  color: #333;
}

.entry li {
  margin-bottom: 4px;
}

.edu-line {
  margin-bottom: 4px;
}

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

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

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

.contact-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-list li:first-child {
  border-top: 1px solid var(--line);
}

.contact-list .label {
  color: var(--muted);
  font-size: 0.9rem;
}

details.speech {
  margin-bottom: 24px;
  border-bottom: none;
}

details.speech summary {
  cursor: pointer;
  list-style: none;
}

details.speech summary::-webkit-details-marker {
  display: none;
}

details.speech summary .entry-title {
  border-bottom: 1px solid var(--accent-dark);
}

details.speech summary:hover .entry-title {
  border-bottom-color: var(--fg);
}

.speech-text {
  margin-top: 16px;
  padding: 20px 24px;
  background: var(--accent);
  border-radius: 6px;
  font-size: 0.95rem;
  color: #333;
  white-space: pre-line;
}

.speech-text p {
  margin: 0 0 14px;
}

.speech-text p:last-child {
  margin-bottom: 0;
}
