:root {
  --text: #222;
  --muted: #666;
  --accent: #1f4e79;
  --line: #e3e3e3;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

.site-header, main, footer {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.site-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--text);
  text-decoration: none;
}

nav a {
  margin-left: 1.1rem;
  font-family: Helvetica, Arial, sans-serif;
  font-size: .95rem;
  color: var(--muted);
  text-decoration: none;
}
nav a:first-child { margin-left: 0; }
nav a:hover, nav a.active { color: var(--accent); }

main { padding-top: 1.5rem; padding-bottom: 3rem; }

a { color: var(--accent); }

h1 { font-size: 1.7rem; margin-bottom: .5rem; }
h2 {
  font-size: 1.25rem;
  margin-top: 2.2rem;
  padding-bottom: .25rem;
  border-bottom: 1px solid var(--line);
}

/* Home */
.profile {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}
.profile img {
  width: 200px;
  border-radius: 6px;
  flex-shrink: 0;
}
.profile .contact {
  font-family: Helvetica, Arial, sans-serif;
  font-size: .9rem;
  color: var(--muted);
}
.jobmarket {
  margin: 1.5rem 0;
  padding: .9rem 1.1rem;
  border-left: 4px solid var(--accent);
  background: #f4f7fb;
}

/* Research */
.paper { margin-bottom: 1.4rem; }
.paper .title { font-style: italic; }
.paper .meta { color: var(--muted); font-size: .95rem; }
.paper .links a {
  font-family: Helvetica, Arial, sans-serif;
  font-size: .85rem;
  margin-right: .8rem;
}
details { margin-top: .3rem; }
summary {
  cursor: pointer;
  font-family: Helvetica, Arial, sans-serif;
  font-size: .85rem;
  color: var(--accent);
}
details p { font-size: .95rem; margin: .4rem 0 0; }

footer {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  padding-bottom: 2rem;
  font-family: Helvetica, Arial, sans-serif;
  font-size: .8rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  .profile { flex-direction: column; }
  .profile img { width: 160px; }
}

/* Name and section titles in dark navy */
.site-title,
h1,
h2 {
  color: var(--accent);
}

/* Add to center icons below image */
.photo-col {
  flex-shrink: 0;
  text-align: center;
}
.photo-col .icons {
  margin-top: .6rem;
}

/* Enlarge icons */
.icons a {
  font-size: 1.6rem;
  margin: 0 .35rem;
  text-decoration: none;
}
