/* Paul Bingley — academic website styles */
:root {
  --ink: #1f2933;
  --muted: #5a6672;
  --accent: #1d4e89;
  --accent-light: #eaf1f8;
  --rule: #d9dee3;
  --bg: #fdfdfc;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

header {
  border-bottom: 3px solid var(--accent);
  background: #fff;
}

.header-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.25rem 1rem;
}

.site-title {
  font-size: 1.9rem;
  font-weight: normal;
  letter-spacing: 0.02em;
}

.site-title a { color: var(--ink); text-decoration: none; }

.site-subtitle {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 0.2rem;
}

nav {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  gap: 1.5rem;
}

nav a {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
  padding: 0.7rem 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
}

nav a:hover { color: var(--accent); }
nav a.active { color: var(--accent); border-bottom-color: var(--accent); }

main {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

h1 { font-size: 1.6rem; font-weight: normal; margin-bottom: 1.25rem; color: var(--accent); }
h2 { font-size: 1.2rem; font-weight: normal; margin: 2rem 0 0.75rem; color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: 0.3rem; }

p { margin-bottom: 1rem; }
a { color: var(--accent); }

.lead { font-size: 1.05rem; }

.profile {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.profile-text { flex: 1 1 26rem; }

.profile-card {
  flex: 0 0 15rem;
  background: var(--accent-light);
  border: 1px solid var(--rule);
  padding: 1.25rem;
  font-size: 0.9rem;
}

.profile-card h3 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.profile-card p { margin-bottom: 0.5rem; }

ul.plain { list-style: none; }
ul.plain li { margin-bottom: 0.9rem; }

.pub-list li { margin-bottom: 1.1rem; }
.pub-title { font-style: italic; }
.pub-meta { color: var(--muted); font-size: 0.92rem; }

.project { margin-bottom: 1.4rem; }
.project-dates {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tag-row { margin: 1rem 0 0; }
.tag {
  display: inline-block;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid var(--rule);
  padding: 0.15rem 0.6rem;
  border-radius: 2px;
  margin: 0 0.35rem 0.4rem 0;
}

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

.footer-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.25rem;
}

@media (max-width: 600px) {
  nav { gap: 1rem; flex-wrap: wrap; }
  .profile-card { flex: 1 1 100%; }
}
