@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/lora-latin-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/lora-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/lora-latin-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/lora-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --pico-font-family-sans-serif: 'Lora', Georgia, serif;
  --pico-font-family-serif: 'Lora', Georgia, serif;
  --pico-font-family: 'Lora', Georgia, serif;
  --pico-font-size: 100%;
  --site-width: 960px;
  --nav-height: 4.5rem;
  --site-text-color: #373c44;
  --band-background: color-mix(in srgb, var(--pico-muted-border-color) 35%, transparent);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --site-text-color: #c2c7d0;
  }
}

:root[data-theme="light"] {
  --site-text-color: #373c44;
}

:root[data-theme="dark"] {
  --site-text-color: #c2c7d0;
}

html {
  scroll-behavior: smooth;
  background: var(--pico-background-color);
  scrollbar-color: color-mix(in srgb, var(--pico-muted-color) 70%, transparent) var(--pico-background-color);
}

::-webkit-scrollbar {
  width: 0.9rem;
}

::-webkit-scrollbar-track {
  background: var(--pico-background-color);
}

::-webkit-scrollbar-thumb {
  border: 0.25rem solid var(--pico-background-color);
  border-radius: 999px;
  background: color-mix(in srgb, var(--pico-muted-color) 70%, transparent);
}

body {
  margin: 0;
  padding: 0;
}

a,
summary,
.links a {
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

body > main {
  padding: 0;
  max-width: none;
  width: 100%;
}

.container {
  width: min(var(--site-width), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--pico-muted-border-color);
  background: var(--pico-background-color);
  background-clip: border-box;
}

.site-nav {
  min-height: var(--nav-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding-block: 0.75rem;
  color: var(--site-text-color);
}

.site-header .site-nav > a.brand,
.site-header .site-nav > a.brand:any-link,
.site-header .site-nav > a.brand:visited,
.site-header .site-nav > a.brand:hover,
.site-header .site-nav > a.brand:focus {
  color: inherit !important;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
}

.nav-links a,
.nav-menu a {
  color: var(--pico-muted-color) !important;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a::after,
.site-nav a::before {
  content: none !important;
}

.nav-links a:hover,
.nav-menu a:hover {
  color: var(--pico-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 0.75rem;
}

.nav-menu {
  display: none;
  position: relative;
  width: max-content;
  margin: 0;
  padding: 0;
  border: 0;
}

.nav-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--pico-muted-border-color);
  border-radius: 999px;
  color: var(--pico-color);
  font-size: 0.9rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.nav-menu[open],
.nav-menu[open] summary {
  margin-bottom: 0;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu summary::after {
  display: none;
}

.nav-menu[open] .nav-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.75rem);
  z-index: 20;
  display: grid;
  min-width: 13rem;
  gap: 0.65rem;
  padding: 0.9rem;
  border: 1px solid var(--pico-muted-border-color);
  border-radius: 0.5rem;
  background: var(--pico-background-color);
  box-shadow: 0 1rem 2rem rgb(0 0 0 / 12%);
}


.hero,
.content-band {
  padding-block: 2.75rem;
}

.hero {
  padding-top: 2.25rem;
}

.content-band:nth-of-type(even) {
  background: var(--band-background);
}

.profile {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
}

.profile img {
  width: 150px;
  height: 150px;
  border: 1px solid var(--pico-muted-border-color);
  border-radius: 50%;
  object-fit: cover;
}

.profile-text h1 {
  margin: 0 0 0.25rem;
  font-size: 2rem;
}

.profile-text .role {
  margin: 0 0 1rem;
  color: var(--pico-muted-color);
  font-size: 1rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.links li,
.links li::marker {
  margin: 0;
  list-style: none;
  content: '';
}

.links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--pico-muted-border-color);
  border-radius: 999px;
  color: var(--pico-color);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.links a:hover {
  border-color: var(--pico-primary);
  color: var(--pico-primary);
}

.icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.8;
}

section {
  margin: 0;
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

h2 {
  margin-bottom: 1.4rem;
  color: var(--pico-color);
  font-size: 1.55rem;
  line-height: 1.2;
}

h3 {
  margin-top: 1.75rem;
  font-size: 1.2rem;
}

li {
  margin-bottom: 0.55rem;
}

ul.pubs {
  padding-left: 1.2rem;
}

ul.pubs li {
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.dissertation-page main {
  padding-block: 3.25rem;
}

.dissertation-page article {
  width: min(var(--site-width), calc(100% - 2rem));
  margin-inline: auto;
}

.dissertation-page article > section {
  padding-block: 1.25rem;
}

footer {
  padding-block: 1.5rem;
  border-top: 1px solid var(--pico-muted-border-color);
  color: var(--pico-muted-color);
  font-size: 0.88rem;
  text-align: center;
}

footer p {
  margin: 0;
}

@media (max-width: 780px) {
  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .nav-menu {
    display: block;
  }

  .nav-actions {
    gap: 0.5rem;
  }
}

@media (max-width: 560px) {
  :root {
    --nav-height: 4rem;
  }

  .site-nav {
    gap: 0.75rem;
  }

  .brand {
    max-width: 11rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero,
  .content-band {
    padding-block: 2rem;
  }

  .profile {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .links {
    justify-content: center;
  }
}
