/* Understated academic site. One column, one typeface, one accent colour.
   No framework, no JS, no web fonts -- reads like a document, not a landing page. */

:root {
  --text:  #1a1a1a;
  --muted: #606060;
  --link:  #14457a;
  --rule:  #e6e6e6;
  --measure: 42rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 3.5rem 1.25rem 5rem;
  color: var(--text);
  background: #fff;
  font: 18px/1.6 "Charter", "Georgia", "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
}

main { max-width: var(--measure); margin: 0 auto; }

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

h1 {
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.2rem;
}

.subtitle { color: var(--muted); margin: 0 0 1.1rem; }

.links { color: var(--muted); margin: 0 0 0.5rem; }

/* Headshot: small, beside the name; no hero. */
header::after { content: ""; display: block; clear: both; }
.photo {
  float: right;
  width: 7.5rem;
  height: auto;
  margin: 0 0 1rem 1.25rem;
}

h2 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 2.5rem 0 0.9rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--rule);
}

p { margin: 0 0 1rem; }
.intro { margin: 0 0 1rem; }

.label { font-weight: 600; }
.muted { color: var(--muted); }
.fields { margin: 0 0 1.5rem; }

.paper { margin: 0 0 1.6rem; }
.paper .title { font-weight: 600; }
.paper .meta  { color: var(--muted); font-size: 0.92rem; margin: 0.15rem 0 0.45rem; }
.paper p { margin: 0.45rem 0; }
.paper-links { font-size: 0.92rem; margin-top: 0.45rem; }

details { margin: 0.45rem 0; }
summary {
  cursor: pointer;
  color: var(--link);
  font-size: 0.95rem;
  width: max-content;
}
details[open] summary { margin-bottom: 0.4rem; }

.role { margin: 0 0 0.3rem; }
ul.plain { margin: 0 0 1rem; padding-left: 1.2rem; }
ul.plain li { margin: 0.1rem 0; }

.refs p { margin: 0 0 1rem; }
.refs .name { font-weight: 600; }
.placement { margin: 0 0 1rem; }

/* Glaring on purpose: any placeholder left in is impossible to miss in preview. */
.todo {
  background: #fff3cd;
  color: #8a6100;
  padding: 0 0.2em;
  border-radius: 2px;
}

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

@media (max-width: 480px) {
  body { padding-top: 2.25rem; font-size: 17px; }
  .photo { width: 5.5rem; margin-left: 1rem; }
}

@media print {
  body { padding: 0; font-size: 11pt; color: #000; }
  a { color: #000; text-decoration: none; }
  .todo { background: none; color: inherit; }
}
