/* Academic variant. Same mystyle.css underneath; these are the deliberate
   departures from it, each one aimed at "reads like a researcher's page"
   rather than "reads like a product site". */

body { margin: 0; }

/* ── Header ────────────────────────────────────────────────────────────────
   Not sticky, not a tab bar. The name is a heading, the nav is a quiet line
   of text under it. A sticky bar that follows you down the page is a product
   convention; on a page whose job is a list of papers it just takes space. */
.site-head {
  max-width: 600pt; width: 99%; margin: 0 auto;
  padding: 34px 12px 6px 12px;
  border-bottom: 1px solid #e3e3df;
}
.site-head h1 {
  font-size: 1.9em; margin: 0 0 2px 0; letter-spacing: 0.3px;
}
.sitenav { font-size: 0.82em; margin: 0 0 10px 0; }
.sitenav a { color: #555; }
.sitenav a:hover, .sitenav a.active { color: #780202; }
.sitenav a.active { font-weight: 600; }
.sitenav .sep { color: #bbb; margin: 0 7px; }

/* ── Bio block: photo floated, so the text wraps around it rather than
      sitting in a separate column. Shorter, denser, no hero. ───────────── */
.bio { margin: 20px 0 6px 0; font-size: 0.92em; line-height: 1.55; }
.bio p { margin: 0 0 0.7em 0; }
.bio-photo {
  float: right; width: 136px; margin: 2px 0 10px 22px; border-radius: 2px;
}
@media (max-width: 600px) {
  .bio-photo { float: none; width: 120px; display: block; margin: 0 0 14px 0; }
}

/* ── Entries: tighter. An academic list is read by scanning, so vertical
      air between items matters more than air inside them. ──────────────── */
h2 {
  font-size: 1.05em; letter-spacing: 0.06em; text-transform: uppercase;
  margin: 30px 0 10px 0; padding-bottom: 3px; border-bottom: 1px solid #e3e3df;
}
.onepaper { margin: 0 0 13px 0; line-height: 1.45em; }
.onepaper b { font-weight: 600; }

h4 { font-family: 'Lato', sans-serif; font-weight: 600; font-size: 1em;
     margin: 16px 0 4px 0; }
.projectlist li { line-height: 1.4em; margin-bottom: 4px; }
.list li { padding-bottom: 5px; }

/* Resources page images */
.viz { width: 100%; max-width: 600px; margin: 10px 0; }

/* Footer breathing room */
.level_3_body { padding-bottom: 60px; }

/* ── News ──────────────────────────────────────────────────────────────────
   Two items maximum, enforced in render_news(). Deliberately small and set
   off by space alone -- no rule, no box: it should read as a footnote to the
   bio, not as a feed. If it ever needs to be longer than two lines it is not
   news any more. */
.news {
  font-size: 0.86em; line-height: 1.5;
  margin: 16px 0 2px 0; padding: 0;
}
.news-label {
  font-family: 'Lato', sans-serif; font-size: 0.78em; letter-spacing: 0.1em;
  text-transform: uppercase; color: #999; margin-bottom: 5px;
}
.news-item { margin-bottom: 5px; }
.news-date { color: #777; }
.news-item:last-child { margin-bottom: 0; }
