:root {
  --bg: #ffffff;
  --text: #1f2328;
  --muted: #5b6370;
  --rule: #e4e7eb;
  --accent: #1f5f8b;
  --placeholder: #f3f5f7;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

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

/* Banner */
.banner {
  width: 100%;
  height: 280px;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.banner video,
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.banner-still { display: none; }
@media (prefers-reduced-motion: reduce) {
  .banner video { display: none; }
  .banner-still { display: block; }
}

/* Main column */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header: photo and name */
.intro {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: -56px;
}
.intro img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid var(--bg);
  flex-shrink: 0;
}
.intro h1 {
  margin: 48px 0 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}
.intro h2 {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
}

/* Sections */
section { margin-top: 40px; }
section h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule);
}
p { margin: 0 0 16px; }

/* Icon links */
.links {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
}
.links svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Publications */
.pubs { list-style: none; padding: 0; margin: 0; }
.pubs li { margin-bottom: 18px; }
.pubs .title { font-weight: 500; }
.pubs .meta { display: block; color: var(--muted); font-size: 15px; }

footer {
  max-width: 720px;
  margin: 56px auto 32px;
  padding: 16px 16px 0;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 14px;
}

/* Phones */
@media (max-width: 560px) {
  .banner { height: 160px; }
  .intro { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: -48px; }
  .intro img { width: 112px; height: 112px; }
  .intro h1 { margin-top: 0; font-size: 26px; }
}

strong { font-weight: 600; }
