@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,700;1,900&display=swap");

:root {
  --black: #000;
  --paper: #f7f7f7;
  --ink: #f5f7fa;
  --muted: #d7e0e8;
  --teal-top: #0d2435;
  --teal-mid: #173a50;
  --teal-bottom: #3b84ad;
  --line: #9d626a;
  --max: 908px;
  --header-max: 920px;
}

* {
  box-sizing: border-box;
}

html {
  font-synthesis-weight: none;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--teal-top);
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.55;
}

a {
  color: inherit;
  text-underline-offset: 0.14em;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--black);
  color: #fff;
  min-height: 64px;
}

.header-inner {
  width: min(var(--header-max), calc(100% - 48px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

.mobile-menu-home {
  display: none;
}

.brand-link {
  display: inline-block;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  line-height: 1;
  margin: 5px 0 0 10px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 20px;
  margin-left: 10px;
  margin-top: 6px;
}

.main-nav a {
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.19em;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--muted);
}

.header-contact {
  display: flex;
  align-items: flex-start;
  flex: 0 0 332px;
  gap: 5px;
  margin-top: 25px;
  min-width: 0;
}

.email {
  font-family: "Lucida Console", Monaco, monospace;
  width: 220px;
  font-size: 18px;
  letter-spacing: -0.1em;
  line-height: 22px;
  padding: 7px 0 0 10px;
  white-space: nowrap;
}

.socials {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.socials a {
  display: block;
}

.socials img {
  width: 32px;
  height: 32px;
  object-fit: cover;
}

.socials a:last-child {
  margin-left: 1px;
}

.socials a:last-child img {
  width: 27px;
  height: 27px;
  margin-top: 2px;
}

.hero {
  width: 100%;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-home {
  height: 577px;
}

.hero-page {
  height: 442px;
}

.hero-home img {
  object-position: center center;
}

.hero-page img {
  object-position: center center;
}

.dark-band {
  background:
    linear-gradient(180deg, rgba(8, 24, 36, 0.84), rgba(22, 61, 85, 0.93) 52%, rgba(61, 132, 173, 0.96)),
    var(--teal-mid);
  color: var(--muted);
}

.content {
  width: min(749px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 24px;
}

.bio {
  font-size: 20px;
  line-height: 1.5;
  padding-top: 14px;
  padding-bottom: 28px;
}

.bio p {
  margin: 0 0 28px;
}

.bio p:last-child {
  margin-bottom: 0;
}

.bio p:first-child {
  font-style: italic;
}

.bio a,
.publication a,
.section-link {
  color: #fff;
  text-decoration: underline;
}

.section-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.28rem;
  font-style: italic;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: underline;
}

.cv-intro {
  width: min(var(--header-max), calc(100% - 32px));
  padding-top: 33px;
}

.pdf-actions {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: auto;
  margin: 10px 0 34px 7px;
}

.pdf-inline {
  display: block;
  width: auto;
  height: auto;
  color: #fff;
  font-size: 1.06rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.pdf-inline span {
  text-decoration: underline;
}

.pdf-icon-link {
  display: block;
  width: 20px;
  height: 20px;
  line-height: 0;
}

.pdf-icon-link img {
  width: 20px;
  height: 20px;
  object-fit: cover;
}

.cv-explorer {
  width: min(var(--header-max), calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 96px;
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.cv-focus {
  position: sticky;
  top: 92px;
  min-height: 430px;
  padding: 28px 30px 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    rgba(3, 18, 28, 0.43);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
}

.cv-focus.is-swapping {
  animation: cv-focus-swap 180ms ease;
}

.cv-focus-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.cv-focus-logo {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.cv-focus-logo img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.cv-focus-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cv-focus h2 {
  margin: 0;
  color: #fff;
  font-size: 2rem;
  font-style: italic;
  font-weight: 900;
  line-height: 1.06;
}

.cv-focus-org {
  margin: 9px 0 0;
  color: #fff;
  font-size: 1.22rem;
  font-weight: 900;
  line-height: 1.25;
}

.cv-focus-meta {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.38;
}

.cv-focus-summary {
  margin: 30px 0 0;
  color: #eef5fa;
  font-size: 1.08rem;
  line-height: 1.5;
}

.cv-rail {
  position: relative;
  display: grid;
  gap: 8px;
  padding-left: 27px;
}

.cv-rail::before {
  content: "";
  position: absolute;
  top: 33px;
  bottom: 33px;
  left: 55px;
  width: 2px;
  background: linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.08));
}

.cv-node {
  position: relative;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  min-height: 83px;
  padding: 10px 14px 10px 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.cv-node:hover,
.cv-node:focus-visible,
.cv-node.is-active {
  background: rgba(255, 255, 255, 0.07);
}

.cv-node:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.64);
  outline-offset: 2px;
}

.cv-node-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: #082132;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.cv-node-mark img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.cv-node.is-active .cv-node-mark,
.cv-node:hover .cv-node-mark {
  border-color: rgba(255, 255, 255, 0.62);
  transform: scale(1.04);
}

.cv-node-copy {
  min-width: 0;
}

.cv-node-year,
.cv-node-title,
.cv-node-subtitle {
  display: block;
}

.cv-node-year {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: italic;
  line-height: 1.2;
}

.cv-node-title {
  margin-top: 3px;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.2;
}

.cv-node-subtitle {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.25;
}

@keyframes cv-focus-swap {
  from {
    opacity: 0.72;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.publications {
  width: min(906px, calc(100% - 40px));
  margin: 0 auto;
  padding: 33px 0 0;
}

.publications .section-title {
  margin-bottom: 50px;
}

.publication {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 24px;
  min-height: var(--pub-row, 195px);
  margin: 0;
}

.publication:nth-of-type(1) {
  --pub-row: 195px;
  --pub-text: 157px;
  --pub-preview-lines: 2;
}

.publication:nth-of-type(2) {
  --pub-row: 196px;
  --pub-text: 157px;
  --pub-preview-lines: 2;
}

.publication:nth-of-type(3) {
  --pub-row: 202px;
  --pub-text: 157px;
  --pub-preview-lines: 2;
}

.publication:nth-of-type(4) {
  --pub-row: 230px;
  --pub-text: 189px;
  --pub-preview-lines: 3;
}

.publication:nth-of-type(5) {
  --pub-row: 201px;
  --pub-text: 162px;
  --pub-preview-lines: 2;
}

.publication:nth-of-type(6) {
  --pub-row: 283px;
  --pub-text: 216px;
  --pub-preview-lines: 4;
}

.pub-actions {
  padding-top: 0;
}

.publication:first-of-type .pub-actions {
  padding-left: 5px;
}

.pub-actions a {
  display: block;
  height: 25px;
  margin-bottom: 0;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 25px;
}

.publication details {
  width: auto;
  min-width: 0;
  color: #fbfbfb;
}

.publication summary {
  cursor: pointer;
  list-style: none;
  min-height: var(--pub-text, auto);
  overflow: hidden;
}

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

.pub-title {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: justify;
}

.pub-meta,
.pub-summary,
.pub-preview {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
  text-align: justify;
}

.pub-meta {
  color: #fbfbfb;
}

.pub-summary {
  max-width: none;
}

.pub-preview {
  max-height: calc(var(--pub-preview-lines, 2) * 1.2em);
  overflow: hidden;
  color: #fbfbfb;
}

.more-label {
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: underline;
}

details[open] .more-closed,
details:not([open]) .more-open {
  display: none;
}

.abstract {
  max-width: 760px;
  margin-top: 14px;
}

.abstract p {
  margin: 0 0 14px;
}

.blank-page {
  min-height: 499px;
  background: var(--paper);
}

.site-footer {
  background: #173d50;
  color: var(--muted);
  padding: 16px 0;
  text-align: center;
  font-size: 0.88rem;
}

@media (max-width: 979px) {
  .blank-page,
  .dark-band,
  .hero,
  .site-header {
    width: 980px;
  }

  .site-header {
    height: 64px;
  }

  .header-inner {
    width: var(--header-max);
    margin: 0 auto;
  }

  .site-footer {
    width: 980px;
  }
}

@media (max-width: 940px) {
  .hero-home {
    height: 44vw;
    min-height: 270px;
    max-height: 460px;
  }

  .hero-page {
    height: 42vw;
    min-height: 250px;
    max-height: 380px;
  }

  .cv-explorer {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 72px;
  }

  .cv-focus {
    position: static;
    min-height: 0;
  }

  .cv-rail {
    padding-left: 0;
  }

  .cv-rail::before {
    left: 29px;
  }

  .publications .section-title {
    margin-bottom: 36px;
  }
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .blank-page,
  .dark-band,
  .hero,
  .site-footer,
  .site-header {
    width: 100%;
  }

  .site-header {
    position: relative;
    height: 90px;
    min-height: 90px;
  }

  .header-inner {
    position: relative;
    display: block;
    width: 100%;
    min-height: 90px;
    margin: 0;
  }

  .mobile-menu-toggle {
    position: absolute;
    top: 21px;
    left: 19px;
    display: grid;
    width: 29px;
    height: 25px;
    padding: 0;
    border: 0;
    background: transparent;
    gap: 6px;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 29px;
    height: 3px;
    background: #9d626a;
    border-radius: 1px;
  }

  .header-brand-nav {
    min-height: 90px;
  }

  .brand-link {
    position: absolute;
    right: 0;
    bottom: 14px;
    left: 0;
    margin: 0;
    font-size: 1.16rem;
    letter-spacing: 0.3em;
    line-height: 1;
    text-align: center;
  }

  .main-nav {
    display: none;
  }

  .header-contact {
    position: absolute;
    top: 19px;
    right: 13px;
    left: 63px;
    display: flex;
    align-items: center;
    flex: none;
    gap: 0;
    margin: 0;
  }

  .socials {
    order: 1;
    gap: 7px;
  }

  .socials img {
    width: 27px;
    height: 27px;
  }

  .socials a:last-child {
    margin-left: 0;
  }

  .socials a:last-child img {
    width: 27px;
    height: 27px;
    margin-top: 0;
  }

  .email {
    order: 2;
    width: auto;
    margin-left: auto;
    padding: 0;
    font-size: 16px;
    letter-spacing: -0.1em;
    line-height: 27px;
  }

  .mobile-menu:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 45px;
    padding-top: 103px;
    background:
      linear-gradient(180deg, rgba(5, 31, 48, 0.98), rgba(10, 80, 106, 0.97) 55%, rgba(35, 139, 183, 0.97)),
      #0d2435;
  }

  .mobile-menu-close {
    position: absolute;
    top: 16px;
    left: 18px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: rgba(157, 98, 106, 0.88);
    cursor: pointer;
  }

  .mobile-menu-close::before,
  .mobile-menu-close::after {
    content: "";
    position: absolute;
    top: 18px;
    left: 7px;
    width: 27px;
    height: 3px;
    background: #0b3240;
    border-radius: 1px;
  }

  .mobile-menu-close::before {
    transform: rotate(45deg);
  }

  .mobile-menu-close::after {
    transform: rotate(-45deg);
  }

  .mobile-menu a {
    color: #fff;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1.18;
    text-decoration: none;
  }

  .mobile-menu a[aria-current="page"] {
    color: #9d626a;
  }

  .hero-home {
    height: 245px;
    min-height: 245px;
    max-height: 245px;
  }

  .hero-page {
    height: 230px;
    min-height: 230px;
    max-height: 230px;
  }

  .content,
  .cv-intro,
  .cv-explorer,
  .publications {
    width: calc(100vw - 48px);
    margin-left: 24px;
    margin-right: 0;
  }

  .content {
    padding: 31px 0 28px;
  }

  .bio {
    padding-top: 4px;
    font-size: 18px;
    line-height: 1.62;
  }

  .bio p {
    text-align: justify;
  }

  .bio p {
    margin-bottom: 34px;
  }

  .section-title {
    font-size: 1.16rem;
  }

  .cv-intro {
    padding-top: 26px;
  }

  .pdf-actions {
    margin: 8px 0 28px;
  }

  .cv-focus {
    padding: 22px 20px 24px;
  }

  .cv-focus-top {
    gap: 12px;
    margin-bottom: 18px;
  }

  .cv-focus-logo {
    width: 64px;
    height: 64px;
  }

  .cv-focus-logo img {
    width: 54px;
    height: 54px;
  }

  .cv-focus-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .cv-focus h2 {
    font-size: 1.56rem;
  }

  .cv-focus-org {
    font-size: 1.06rem;
  }

  .cv-focus-summary {
    margin-top: 22px;
    font-size: 1rem;
  }

  .cv-node {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 12px;
    min-height: 72px;
    padding: 9px 10px 9px 0;
  }

  .cv-node-mark {
    width: 48px;
    height: 48px;
  }

  .cv-node-mark img {
    width: 40px;
    height: 40px;
  }

  .cv-rail::before {
    top: 28px;
    bottom: 28px;
    left: 24px;
  }

  .cv-node-title {
    font-size: 0.96rem;
  }

  .cv-node-subtitle {
    font-size: 0.84rem;
  }

  .publication {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .publication:last-of-type {
    margin-bottom: 0;
    padding-bottom: 48px;
    border-bottom: 0;
  }

  .publication details {
    order: 1;
  }

  .pub-actions {
    order: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding-top: 0;
  }

  .publication:first-of-type .pub-actions {
    padding-left: 0;
  }

  .pub-actions a {
    height: auto;
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .publication summary {
    min-height: 0;
  }

  .pub-title,
  .pub-meta,
  .pub-summary,
  .pub-preview,
  .abstract p {
    text-align: left;
  }

  .pub-preview {
    max-height: none;
  }

  .abstract {
    max-width: none;
    margin-top: 12px;
  }

  .blank-page {
    min-height: 360px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

}

@media (max-width: 380px) {
  .content,
  .cv-intro,
  .cv-explorer,
  .publications {
    width: calc(100vw - 40px);
    margin-left: 20px;
  }

  .hero-home {
    height: 236px;
    min-height: 236px;
    max-height: 236px;
  }

  .hero-page {
    height: 210px;
    min-height: 210px;
    max-height: 210px;
  }

  .cv-focus {
    padding: 20px 16px 22px;
  }
}
