/* Simple academic style */
:root {
  --text: #333;
  --muted: #666;
  --link: #0a4d8c;
  --accent: #003366;   /* FAU blue */
  --rule: #e5e5e5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

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

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

/* navigation */
.nav {
  display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 4px 22px;
  padding: 26px 0 0; border-bottom: 1px solid var(--rule);
}
.nav a {
  color: #444; font-size: 13px; text-transform: uppercase; letter-spacing: .3px;
  padding: 6px 2px 8px; border-bottom: 3px solid transparent;
}
.nav a:hover { color: var(--accent); text-decoration: none; }
.nav a.active { color: var(--accent); border-bottom-color: var(--accent); }

main { padding: 36px 0 40px; }

/* home intro */
.intro { display: flex; align-items: center; gap: 48px; margin-bottom: 28px; }
.headshot { width: 200px; height: 250px; object-fit: cover; flex-shrink: 0; }
.intro-text { flex: 1; text-align: center; }
.intro h1 { font-size: 32px; font-weight: 400; margin: 0 0 14px; color: #222; }
.role { font-size: 18px; line-height: 1.45; margin: 0 0 14px; color: #333; }
.links { font-size: 15px; margin: 0; }

/* headings */
h1 { font-size: 30px; font-weight: 400; color: #222; margin: 0 0 16px; }
h2 {
  font-size: 20px; font-weight: 600; color: var(--accent);
  margin: 34px 0 12px; padding-bottom: 4px; border-bottom: 1px solid var(--rule);
}

/* lists */
ul, ol { padding-left: 1.4em; }
li { margin-bottom: 8px; }
ol.pubs li { margin-bottom: 12px; padding-left: 4px; }
ul.news { list-style: none; padding-left: 0; }
ul.news .date { display: inline-block; width: 60px; color: var(--muted); }

/* CV tables */
table.cv { border-collapse: collapse; width: 100%; }
table.cv td { vertical-align: top; padding: 5px 0; }
table.cv td:first-child { width: 130px; color: var(--muted); white-space: nowrap; padding-right: 16px; }
.muted { color: var(--muted); font-size: 15px; }

.contact { color: var(--muted); font-size: 15px; margin-top: 28px; }

footer {
  border-top: 1px solid var(--rule); padding: 18px 0 30px;
  font-size: 13px; color: var(--muted); text-align: center;
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .nav { justify-content: center; gap: 4px 16px; }
  .intro { flex-direction: column; gap: 20px; }
  .headshot { width: 170px; height: 212px; }
  table.cv td:first-child { width: 95px; white-space: normal; }
}
