:root {
  /* Theme */
  --bg: #DAD4C2EB;
  --card: oldlace;
  --text: #4f636a;
  --muted: #6c7f86;
  --heading: #073642;
  --line: #d5cbb5;
  --accent: #268bd2;
  --accent2: #6c71c4;

  /* Effects */
  --shadow: 0 10px 22px rgba(88, 110, 117, .15);
  --shadow-strong: 0 12px 28px rgba(88, 110, 117, .25);
  --shadow-photo: 0 10px 20px rgba(88, 110, 117, .25);

  /* Surfaces (translucent / interactive) */
  --topbar-bg: oldlace;
  --header-bg: oldlace;
  --pill-bg: rgba(88, 110, 117, .06);

  --hover-bg: rgba(38, 139, 210, .12);
  --hover-border: rgba(38, 139, 210, .45);
  --active-bg: rgba(38, 139, 210, .18);
  --active-border: rgba(38, 139, 210, .65);

  --item-border: rgba(147, 161, 161, .45);
  --item-border-dashed: rgba(147, 161, 161, .55);

  /* Background gradients */
  --bg-grad-1: rgba(38, 139, 210, .06);
  --bg-grad-2: rgba(108, 113, 196, .05);

  /* Media / images */
  --photo-bg: #e0dac5;

  /* Layout */
  --radius: 16px;
  --max: 980px;
  --wrap-x: 18px;

  /* Typography */
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";

  /* Header sizes */
  --header-max: 1100px;
  --header-pad-y: 12px;
  --header-pad-x: 12px;
  --header-gap: 15px;

  --photo-size: 200px;
  --photo-radius: 30px;

  --name-size: 30px;
  --role-size: 22px;
  --affil-size: 16px;

  /* Pills / icons */
  --pill-radius: 999px;
  --pill-pad-y: 8px;
  --pill-pad-x: 10px;
  --pill-gap: 8px;
  --pill-font: 13px;
  --icon-size: 22px;
}

:root {
  box-sizing: border-box
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1000px 600px at 20% 0%, var(--bg-grad-1), transparent 60%),
    radial-gradient(900px 600px at 80% 10%, var(--bg-grad-2), transparent 55%),
    var(--bg);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--wrap-x) 18px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 1000;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--topbar-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

html.js .topbar nav {
  visibility: hidden;
}

html.js .topbar nav.is-ready {
  visibility: visible;
}

.topbar nav a {
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: var(--pill-radius);
  background: var(--pill-bg);
  font-size: 13px;
  color: var(--text);
}

.topbar nav a:hover {
  text-decoration: none;
  background: var(--hover-bg);
  border-color: var(--hover-border);
  color: var(--accent);
}

.topbar nav a.active {
  border-color: var(--active-border);
  background: var(--active-bg);
  color: var(--text);
}

header {
  max-width: var(--header-max);
  margin: 18px auto 0;
  padding: var(--header-pad-y) var(--header-pad-x);
  border: 1px solid var(--line);
  background: var(--header-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.id {
  display: flex;
  gap: var(--header-gap);
  align-items: center;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.id-below {
  display: flex;
  justify-content: center;
}

.id-main,
.id-below {
  min-width: 0;
}

.photo {
  width: var(--photo-size);
  height: var(--photo-size);
  border-radius: var(--photo-radius);
  object-fit: cover;
  box-shadow: var(--shadow-photo);
  background: var(--photo-bg);
  flex: 0 0 auto;
  margin-top: 10px;
  margin-right: 10px;
}

.photo {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    outline 0.25s ease;
}

.photo:hover,
.photo:focus-visible {
  transform: translateY(-4px);
  box-shadow:
    var(--shadow-strong),
    0 0 0 6px rgba(38, 139, 210, .08);
}

.id-main .name {
  margin: 10px 0;
  font-size: var(--name-size);
  line-height: 1.15;
}

.id-main .role {
  margin: 0;
  font-size: var(--role-size);
  line-height: 1.2;
  font-weight: 600;
}

.id-main .affiliation {
  margin: 20px 0;
  font-size: var(--affil-size);
  line-height: 1.25;
  font-weight: 500;
  color: var(--muted);
}

main {
  margin-top: 18px;
}

.grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 16px;
}

section {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px 28px 14px;
  box-shadow: var(--shadow);
  margin: 18px 0;
}

section h2 {
  margin: 0 0 20px;
  font-weight: 600;
  padding-bottom: 10px;
  letter-spacing: .2px;
  text-transform: uppercase;
  position: relative;
}

section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -1%;
  width: 90%;
  border-bottom: 2px solid var(--line);
}

.item {
  padding: 12px 0;
  border-top: 1px dashed var(--item-border-dashed);
}

.item:first-of-type {
  border-top: none;
  padding-top: 0;
}

.item-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
}

.item-title strong {
  font-size: 15px;
}

.tag {
  color: var(--muted);
  font-size: 13px;
}

.item-title .paper-title {
  flex: 1 1 420px;
  min-width: 0;
}

.item-title .tag {
  flex: 1 1 auto;
  white-space: normal;
  max-width: 100%;
  overflow: visible;
  text-overflow: unset;
  overflow-wrap: anywhere;
}

ul {
  margin: 10px 0 0 18px;
  padding: 0;
}

.kvs {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px 14px;
  margin-top: 10px;
}

.kvs div {
  color: var(--muted);
  font-size: 13px;
}

.kvs a,
.kvs span {
  color: var(--text);
  font-size: 13px;
}

footer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
  margin-bottom: 0;
}

footer .last-updated {
  display: block;
  margin-top: 6px;
}

footer .credits {
  display: block;
  margin-top: 6px;
}

footer .credits .pill {
  margin: 0 0 0 8px;
  padding: 6px 10px;
  font-size: 12.5px;
}

footer .credits .credit-note {
  margin-left: 8px;
}

@media (max-width: 520px) {
  footer .credits .pill {
    display: inline-flex;
    margin: 6px 0 0 0;
  }

  footer .credits .credit-note {
    display: block;
    margin: 6px 0 0 0;
  }
}

.small {
  font-size: 13.5px;
  color: var(--muted);
}

.note {
  color: var(--muted);
  font-size: 13px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--pill-gap);
  border: 1px solid var(--line);
  background: var(--pill-bg);
  padding: var(--pill-pad-y) var(--pill-pad-x);
  border-radius: var(--pill-radius);
  font-size: var(--pill-font);
  margin: 8px 8px 0 0;
  text-align: center;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.pill:hover {
  border-color: var(--hover-border);
  background: var(--hover-bg);
}

.pill b {
  color: var(--text);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  min-width: 0;
  justify-content: center;
}

.pill-row .pill {
  margin: 0;
}

.highlights .pill-row {
  margin-bottom: 8px;
}

.pill-link {
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.pill-link:hover {
  background: var(--hover-bg);
  border-color: var(--hover-border);
  color: var(--accent);
  text-decoration: none;
}

.pill-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.highlights .pill-row:first-child {
  min-width: 0;
}

.highlights .pill-row:first-child .pill {
  flex: 0 1 auto;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.pill-row span.pill {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.pill-row span.pill b {
  white-space: nowrap;
}

.icon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--pill-pad-y) var(--pill-pad-x);
}

.icon-pill i {
  font-size: var(--icon-size);
  line-height: 1;
  display: block;
}

.icon-pill svg {
  width: var(--icon-size);
  height: var(--icon-size);
  fill: currentColor;
  display: block;
}

@supports not (gap: 1rem) {
  .id>*+* {
    margin-left: var(--header-gap);
  }

  .topbar nav a {
    margin: 0 10px 10px 0;
  }

  .pill-row>* {
    margin: 0 10px 10px 0;
  }
}

@media (max-width: 860px) {
  header {
    margin: 10px var(--wrap-x);
  }

  :root {
    --photo-size: 150px;
    --name-size: 28px;
    --role-size: 18px;
    --affil-size: 15px;
    --icon-size: 20px;
  }

  .id-main .name {
    margin-top: 0;
  }

  .id-main .affiliation {
    margin: 10px 0;
  }

  .id-main {
    text-align: center;
  }

  .pill-icon-row {
    margin: auto 41px;
  }

  section h2::after {
    width: 100%;
    left: 0;
  }
}

@media (hover: none) {
  .pill:hover {
    border-color: var(--line);
    background: var(--pill-bg);
  }
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;

  border: 1px solid var(--line);
  background: var(--topbar-bg);
  color: var(--text);

  padding: 10px 12px;
  border-radius: var(--pill-radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);

  cursor: pointer;

  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, background .15s ease, border-color .15s ease, color .15s ease;
}

.to-top:hover {
  background: var(--hover-bg);
  border-color: var(--hover-border);
  color: var(--accent);
}

.to-top:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (hover: none) {
  .to-top:hover {
    background: var(--topbar-bg);
    border-color: var(--line);
    color: var(--text);
  }
}

@media (max-width: 860px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.map-card {
  margin: 18px auto 0;
  max-width: 900px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--line);
}

.map-card iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.flag {
  display: inline-block;
  width: 18px;
  height: 12px;
  background-size: cover;
  background-repeat: no-repeat;
  vertical-align: -2px;
  margin-right: 4px;
}

.flag-fr {
  background-image: url("https://flagcdn.com/fr.svg");
}

.flag-nl {
  background-image: url("https://flagcdn.com/nl.svg");
}

.flag-gr {
  background-image: url("https://flagcdn.com/gr.svg");
}

.flag-gb {
  background-image: url("https://flagcdn.com/gb.svg");
}

.flag-eu {
  background-image: url("https://flagcdn.com/eu.svg");
}