/* One style file for the whole site. No scripts. */
:root {
  --text: #1f2328;
  --muted: #5c6670;
  --link: #0b5cad;
  --rule: #e3e6ea;
  --bg: #ffffff;
  --soft: #f6f7f9;
}
* { box-sizing: border-box; }
html { font-size: 17px; }
body {
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  max-width: 44rem;
  color: var(--text);
  background: var(--bg);
  font-family: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.55;
}
a { color: var(--link); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

header { border-bottom: 1px solid var(--rule); padding-bottom: 0.9rem; margin-bottom: 2rem; }
.site-name { display: block; font-size: 1.25rem; font-weight: 600; color: var(--text); margin-bottom: 0.35rem; }
nav a { display: inline-block; margin-right: 1rem; color: var(--muted); }
nav a[aria-current="page"] { color: var(--text); font-weight: 600; }

h1 { font-size: 1.7rem; line-height: 1.25; margin: 0 0 0.8rem; }
h2 { font-size: 1.15rem; margin: 2.2rem 0 0.6rem; padding-bottom: 0.25rem; border-bottom: 1px solid var(--rule); }
h3 { font-size: 1rem; margin: 1.2rem 0 0.3rem; }
p, ul { margin: 0 0 0.9rem; }
ul { padding-left: 1.2rem; }
li { margin-bottom: 0.3rem; }
address { font-style: normal; margin-bottom: 0.9rem; }

.intro { display: flex; gap: 1.5rem; align-items: flex-start; }
.portrait { width: 180px; height: 180px; object-fit: cover; border-radius: 6px; flex: none; }
@media (max-width: 34rem) { .intro { flex-direction: column; } }
.icons { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.7rem; margin-top: 1rem; }
.icons a { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--muted); font-size: 0.92rem; }
.icons a:hover, .icons a:focus { color: var(--link); text-decoration: none; }
.icons strong { font-size: 1.15rem; line-height: 1; }
.icons svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.links a, .abs-toggle { display: inline-block; margin-right: 0.9rem; }
.with, .venue, .note { color: var(--muted); }

/* One paper. The abstract stays hidden until the reader points at "Abstract"
   (computer) or taps it (phone). Pure CSS, no script. */
.paper { padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
.paper:last-of-type { border-bottom: 0; }
.paper h3 { margin: 0 0 0.15rem; }
.paper p { margin: 0 0 0.25rem; }
.paper .note { font-size: 0.92rem; }
.abs-toggle { color: var(--link); cursor: help; border-bottom: 1px dotted var(--link); }
.abstract {
  display: none;
  margin-top: 0.5rem !important;
  padding: 0.7rem 0.9rem;
  background: var(--soft);
  border-left: 3px solid var(--rule);
  font-size: 0.93rem;
}
.abs-toggle:hover ~ .abstract,
.links:hover ~ .abstract,
.links:focus-within ~ .abstract,
.abstract:hover { display: block; }

.calendar { width: 100%; height: 34rem; border: 1px solid var(--rule); margin: 0.5rem 0; }
.button { display: inline-block; padding: 0.5rem 0.9rem; border: 1px solid var(--link); border-radius: 6px; }

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