:root {
  --paper: #c0c0c0;
  --ink: #161616;
  --muted: #454545;
  --line: #808080;
  --accent: #000066;
  --pale: #eeeeee;
  --pink: #800000;
  --cyan: #000080;
  --link: #0000cc;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Verdana, Geneva, sans-serif;
}
html { background: var(--paper); }
body {
  background-color: #c0c0c0;
  background-image: radial-gradient(#888888 0.8px, transparent 0.8px);
  background-size: 8px 8px;
  font: 14px/1.8 var(--sans);
  color: var(--ink);
  padding: 32px 0;
}
.wrap { width: min(980px, calc(100% - 48px)); }
.retro-caption {
  margin-top: 0;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #ffffff;
  font: 11px/1.6 'Courier New', monospace;
  text-align: left;
  text-shadow: none;
  letter-spacing: .14em;
  padding: 11px 32px;
}
.retro-caption span { color: #c8a59b; padding: 0 10px; }
.header {
  background: #eeeeee;
  border: 1px solid var(--line);
  border-top: none;
  border-bottom: 3px double #8b929b;
  padding: 14px 32px;
  min-height: 62px;
}
.wordmark { font: bold 25px Georgia, serif; }
.wordmark-dot { color: var(--pink); }
.header nav { font: 12px/1.7 Verdana, sans-serif; gap: 22px; }
.retro-toggle {
  border: 1px solid #a9afb7;
  background: #eeeee8;
  box-shadow: inset 1px 1px #fff;
  color: var(--link);
  font: 11px/1.8 Verdana, sans-serif;
  padding: 4px 10px;
}
.retro-marquee {
  display: block;
  margin-top: 12px;
  border: 2px inset #b0b0b0;
  background: #ffffcc;
  color: #800000;
  font: bold 13px/1.8 'Courier New', monospace;
  padding: 5px 0;
}
.retro-marquee span { animation: retro-scroll 28s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .retro-marquee { white-space: normal; padding: 7px 12px; }
  .retro-marquee span { animation: none; padding-left: 0; }
}
.hero {
  margin-top: 0;
  background: #eeeeee;
  border: 1px solid var(--line);
  border-top: 0;
  text-align: left;
  padding: 44px 40px 38px;
}
.hero-copy { animation: none; }
.hero .eyebrow {
  justify-content: start;
  font: 11px/1.7 'Courier New', monospace;
  color: var(--pink);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero h1 {
  font: normal clamp(38px, 5vw, 58px)/1.2 Georgia, 'Times New Roman', serif;
  color: var(--accent);
  text-shadow: none;
  letter-spacing: -.035em;
  margin: 12px 0 18px;
}
.hero h1 em { font-style: normal; }
.hero .credential { font: normal 24px/1.3 Georgia, serif; color: var(--muted); letter-spacing: 0; }
.role { font-weight: bold; font-size: 14px; }
.affiliation { font-size: 13px; margin-top: 2px; }
.intro { max-width: 680px; margin: 22px 0 0; font: 17px/1.65 Georgia, serif; }
.hero-actions { justify-content: flex-start; margin-top: 23px; }
.button {
  background: #d4d0c8;
  border: 1px solid #777777;
  box-shadow: inset 1px 1px #ffffff, 1px 1px #a0a0a0;
  padding: 8px 13px;
  color: var(--link);
  font: bold 12px/1.5 Verdana, sans-serif;
  text-decoration: none;
}
.button:hover { background: #ffffff; color: var(--link); text-decoration: none; }
.section {
  background: #eeeeee;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-top: 3px double #8b929b;
  padding: 30px 40px;
}
.eyebrow { letter-spacing: .12em; font-size: 10px; }
h2, .contact h2 {
  font: normal 32px/1.25 Georgia, serif;
  color: var(--accent);
  letter-spacing: -.02em;
  margin-top: 10px;
}
h2 em, .contact h2 em { font-style: italic; }
.section-intro { max-width: 750px; font: 13px/1.9 Verdana, sans-serif; }
.research-grid { gap: 26px; }
.research-grid article {
  background: transparent;
  border: 0;
  border-top: 1px solid #aab0b7;
  padding: 18px 0 0;
}
.topic-number { color: var(--muted); font-size: 10px; }
.research-grid h3 { font: normal 24px/1.3 Georgia, serif; margin: 9px 0 12px; }
.research-grid h3 br { display: none; }
.research-grid p { font: 12px/1.9 Verdana, sans-serif; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #777777;
  box-shadow: inset 1px 1px #ffffff, 1px 1px #a0a0a0;
  background: #d4d0c8;
  color: var(--link);
  padding: 3px 8px;
  font: bold 11px/1.6 Verdana, sans-serif;
  text-decoration: none;
}
a span[aria-hidden="true"] { display: none; }
.retro-toggle { position: relative; }
.text-link:hover { background: #ffffff; text-decoration: underline; }
.notes-cursor, .notes-label { display: none; }
.notes-intro { margin-top: 15px; }
.note-card, .notes-section .note-compact {
  display: block;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  margin: 0;
}
.note-card:hover { border-color: #000080; background: #ffffff; text-decoration: none; }
.note-art { display: none; }
.note-content { padding: 22px 0; }
.note-meta { font-size: 10px; }
.note-content h3, .note-compact .note-content h3 { font: normal 23px/1.35 Georgia, serif; max-width: none; margin: 10px 0; }
.note-content h3 br { display: none; }
.note-content p, .note-compact .note-content p { font-size: 12px; max-width: 750px; margin-bottom: 12px; }
.publications-section { background: transparent; border: 0; }
.filters { gap: 8px; }
.filters button { border: 1px solid #adb4ba; font: 10px/1.7 Verdana, sans-serif; padding: 4px 9px; }
.filters button[aria-pressed=true] { border: 1px solid var(--accent); background: #e4e8eb; color: var(--accent); }
.paper { border-top: 1px solid var(--line); grid-template-columns: 110px minmax(0,1fr); padding: 24px 0; }
.paper h3 { font: normal 17px/1.55 Georgia, serif; }
.paper-meta { font-size: 11px; color: var(--muted); }
.badge, .badge.published { color: var(--pink); border: 1px solid #b6b9b8; background: #f1f0e8; letter-spacing: .04em; }
.authors { font-size: 11px; }
.venue { font-size: 11px; }
.contact { background: #eeeeee; border: 1px solid var(--line); border-top: 3px double #808080; padding: 30px 40px; }
.contact-links a {
  border: 1px solid #777777;
  background: #d4d0c8;
  color: var(--link);
  padding: 8px 10px;
  margin-top: 8px;
  font-size: 12px;
}
.contact-links a:hover { background: #ffffff; }
.contact-links .email { font: normal 21px Georgia, serif; overflow-wrap: anywhere; }
.contact-links .email { font: normal 17px Georgia, serif; }
.footer { border: 2px outset #dddddd; background: #d4d0c8; padding: 16px 24px; margin-top: 18px; font-family: Verdana, sans-serif; }
.footer > span { font: normal 17px Georgia, serif; }
.footer p { font-size: 10px; }
.footer a { font-size: 10px; }
@media (max-width: 700px) {
  body { padding: 16px 0; }
  .wrap { width: calc(100% - 24px); }
  .retro-caption { padding: 10px 20px; font-size: 9px; letter-spacing: .06em; }
  .header { padding: 12px 20px; gap: 13px; }
  .header nav { order: 3; width: 100%; gap: 20px; }
  .hero { padding: 30px 22px; }
  .section, .contact { padding: 25px 22px; }
  .hero h1 { font-size: 39px; }
  .hero .credential { font-size: 21px; }
  h2, .contact h2 { font-size: 28px; }
  .research-grid article { display: block; }
  .paper { grid-template-columns: 1fr; gap: 12px; }
  .paper-meta { flex-direction: row; align-items: center; }
  .note-content h3, .note-compact .note-content h3 { font-size: 22px; }
  .note-meta { font-size: 9px; }
}
.article-page {
  background: #eeeeee;
  border: 1px solid var(--line);
  border-top: 3px double #808080;
  margin-top: 18px;
}
.article-page h1 {
  color: var(--accent);
  font: normal clamp(32px, 4.5vw, 46px)/1.2 Georgia, 'Times New Roman', serif;
  letter-spacing: -.025em;
  margin: 20px 0 18px;
  text-shadow: none;
}
.article-deck { font: 17px/1.65 Georgia, 'Times New Roman', serif; max-width: 760px; }
.article-byline { color: var(--muted); border-bottom: 1px dashed var(--line); }
.article-body { max-width: 790px; font: 14px/1.9 Verdana, Geneva, sans-serif; }
.article-body h2 {
  color: var(--accent);
  font: normal 25px/1.3 Georgia, 'Times New Roman', serif;
  letter-spacing: -.01em;
}
.article-equation, .gp-figure { background: #ffffff; border-color: var(--line); color: var(--ink); }
.article-equation { border-left: 3px solid var(--accent); }
.article-takeaway { background: #d4d0c8; border: 1px solid #777777; color: var(--ink); }
.article-takeaway > strong { color: var(--accent); font: bold 18px/1.4 Georgia, 'Times New Roman', serif; }
.article-references { border-top: 1px dashed var(--line); }
@media (max-width: 700px) {
  .article-page { margin-top: 12px; }
  .article-page h1 { font-size: 34px; }
  .article-deck { font-size: 16px; }
}
