:root {
  --text: #1a1a1a;
  --muted: #666;
  --bg: #fdfdfb;
  --accent: #1a1a1a;
  --max-width: 640px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
}

main, header.hero, footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

header.hero {
  padding-top: 96px;
  padding-bottom: 48px;
}

header.hero h1 {
  font-size: 2.2rem;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.portrait {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

header.hero-sub {
  padding-top: 64px;
  padding-bottom: 24px;
}

.back-link {
  margin: 0 0 24px;
  font-size: 0.9rem;
}

.back-link a {
  color: var(--muted);
}

.tagline {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  font-style: italic;
}

section {
  margin-bottom: 64px;
}

h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

p {
  margin: 0 0 16px;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: #ccc;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

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

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-card {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s;
}

.article-card:hover {
  border-color: #ccc;
}

.article-image {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.article-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.article-title {
  display: block;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 2px;
  text-decoration: underline;
  text-decoration-color: #ccc;
}

.article-card:hover .article-title {
  text-decoration-color: var(--accent);
}

.article-date {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.article-preview {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .article-image { width: 64px; height: 64px; }
}

.blog-links {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--muted);
}

.blog-links a {
  color: var(--muted);
}

.timeline-item {
  margin-bottom: 28px;
  padding-bottom: 4px;
  border-bottom: 1px solid #eee;
}

.timeline-item:last-child {
  border-bottom: none;
}

.role {
  font-weight: 600;
  display: block;
}

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

.dates {
  color: var(--muted);
  font-size: 0.9rem;
  float: right;
}

.desc {
  margin: 8px 0 0;
  color: var(--text);
}

.quote {
  margin: 8px 0 0;
  padding-left: 14px;
  border-left: 2px solid #ddd;
  color: var(--muted);
  font-style: italic;
  font-size: 0.95rem;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.project-item {
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.project-item:last-child {
  border-bottom: none;
}

.project-name {
  font-weight: 600;
  font-size: 1.05rem;
}

.project-desc {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.appearance-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

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

.event {
  font-weight: 500;
}

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

.contact-links {
  font-size: 1.05rem;
}

footer {
  padding: 32px 24px 64px;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  header.hero { padding-top: 64px; }
  .dates { float: none; display: block; margin-top: 4px; }
  .appearance-list li { flex-direction: column; }
}
