@font-face {
  font-family: DM;
  src: url("dm-sans.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font:
    100%/1.5 DM,
    Arial,
    sans-serif;
  color: #242521;
  background: white;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
* {
  box-sizing: border-box;
}
body,
h1,
h2,
h3,
p,
ul {
  margin: 0;
}
a,
button,
summary {
  color: inherit;
  font: inherit;
}
a {
  text-underline-offset: 0.19em;
  text-decoration-thickness: 1px;
}
button,
summary {
  cursor: pointer;
}
button {
  background: transparent;
  border: 0;
}
a:hover,
summary:hover {
  text-decoration: underline;
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.skip,
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  width: auto;
  height: auto;
  clip-path: none;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 8px;
  background: white;
  color: black;
}
.index-design {
  color: #171718;
  background: #fff;
}
.index-page {
  width: min(90%, 1220px);
  margin-inline: auto;
}
.idx-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  padding: 1.7rem 0 0.75rem;
  border-bottom: 2px solid #161617;
}
.idx-brand {
  display: inline-flex;
  align-items: center;
}
.idx-brand img {
  display: block;
}
.idx-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.4rem);
}
.idx-head a {
  text-decoration: none;
}
.idx-head a:hover {
  text-decoration: underline;
}
.idx-name {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding: 3.8rem 0 3.5rem;
  gap: 1.5rem;
}
.idx-name h1 {
  font-weight: 540;
  font-size: clamp(3.7rem, 8.5vw, 8.2rem);
  line-height: 0.91;
  letter-spacing: -0.039em;
}
.idx-affiliation {
  font-size: 0.93rem;
  line-height: 1.4;
  padding-bottom: 0.27rem;
  color: #555;
}
.idx-row {
  display: grid;
  grid-template-columns: 7rem 1fr minmax(6rem, 16%);
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.2rem 0;
  border-bottom: 1px solid #d6d6d4;
}
.idx-date,
.idx-venue {
  font-size: 0.86rem;
  color: #555;
}
.idx-date {
  font-family: var(--mono);
  letter-spacing: -0.035em;
}
.idx-row h3 {
  font:
    500 clamp(1.15rem, 1.7vw, 1.52rem) / 1.19 DM,
    Arial,
    sans-serif;
  letter-spacing: -0.035em;
}
.idx-row a {
  text-decoration: none;
}
.idx-row a:hover {
  text-decoration: underline;
}
.idx-row p {
  color: #565656;
  font-size: 0.96rem;
  margin-top: 0.32rem;
}
@media (max-width: 760px) {
  .idx-head {
    padding-top: 1.35rem;
  }
  .idx-name {
    grid-template-columns: 1fr;
    padding: 2.2rem 0 1.65rem;
    gap: 1rem;
  }
  .idx-affiliation br {
    display: none;
  }
  .idx-affiliation br::after {
    content: " ";
  }
  .idx-affiliation {
    max-width: 29rem;
    line-height: 1.5;
  }
  .idx-row {
    grid-template-columns: 5rem 1fr;
    gap: 0.4rem 1rem;
    padding: 1rem 0;
  }
  .idx-venue {
    grid-column: 2;
  }
  .idx-name h1 {
    font-size: clamp(3.25rem, 10vw, 5.5rem);
  }
}
@media (max-width: 500px) {
  .idx-head {
    font-size: 0.83rem;
  }
  .idx-head a {
    font-size: 0.8rem;
  }
  .index-page {
    width: 90%;
  }
  .idx-row {
    grid-template-columns: 4.5rem 1fr;
    gap: 0.25rem 0.6rem;
  }
  .idx-date,
  .idx-venue {
    font-size: 0.78rem;
  }
}
.index-design .idx-name {
  padding-bottom: 1rem;
}
.idx-affiliation strong {
  color: #262623;
  font-weight: 600;
}
.cv-intro {
  font-size: clamp(1rem, 1.45vw, 1.24rem);
  line-height: 1.45;
  color: #44453f;
  margin-bottom: 2.1rem;
  letter-spacing: -0.018em;
}
.cv-latest {
  display: flex;
  align-items: baseline;
  gap: 1.15rem;
  border-block: 1px solid #dadbd5;
  padding: 0.78rem 0;
}
.cv-latest > span {
  color: #63645c;
  font: 0.84rem var(--mono);
}
.cv-latest p {
  flex: 1;
  font-size: 1rem;
}
.cv-latest p a {
  text-decoration: none;
}
.cv-latest p a:hover {
  text-decoration: underline;
}
.cv-latest > a {
  font-size: 0.89rem;
  color: #8e2e24;
}
.cv-nav {
  display: flex;
  gap: 1.45rem;
  flex-wrap: wrap;
  border-bottom: 1px solid #222;
  margin-top: 1.45rem;
}
.cv-nav a {
  padding: 0.4rem 0 0.65rem;
  color: #565751;
  border-bottom: 3px solid transparent;
  text-decoration: none;
}
.cv-nav a[aria-current] {
  color: #971e16;
  border-color: #ae3225;
}
.cv-nav a:hover {
  color: #971e16;
}
.cv-panel {
  scroll-margin-top: 4.6rem;
}
.panel-name {
  font-size: 1.35rem;
  margin-top: 1.15rem;
}
.cv-enhanced .panel-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  margin: 0;
}
.cv-panel .idx-row p {
  max-width: 64ch;
  line-height: 1.55;
}
.cv-panel .idx-row p + p {
  margin-top: 0.6rem;
}
.cv-panel .idx-date {
  line-height: 1.45;
}
.position-employer {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.4rem 0 0.6rem;
  color: #454540;
  font-size: 0.91rem;
  font-weight: 500;
  line-height: 1.4;
}
.position-employer img {
  flex: none;
  object-fit: contain;
}
.position-employer .qsl-mark {
  object-fit: cover;
  object-position: center 55%;
}
.cv-panel .idx-row p a,
.cv-panel .idx-venue a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bio-section {
  display: grid;
  grid-template-columns: minmax(8rem, 20%) minmax(0, 43rem);
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #d6d6d4;
  align-items: baseline;
}
.bio-section h3 {
  font-size: 1.16rem;
  font-weight: 550;
  letter-spacing: -0.025em;
}
.bio-section p {
  font-size: 1.06rem;
  line-height: 1.6;
}
.bio-section p + p {
  margin-top: 0.65rem;
}
.cv-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-top: 2px solid #171718;
  margin: 2.55rem 0 0;
  padding: 1.05rem 0 2rem;
}
.cv-footer h2 {
  font-size: 1rem;
  font-weight: 550;
}
.cv-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.3rem;
}
.cv-footer a {
  font-size: 0.93rem;
}
@media (max-width: 760px) {
  .cv-intro {
    margin-bottom: 1.3rem;
  }
  .idx-affiliation strong {
    display: block;
  }
  .cv-latest {
    flex-wrap: wrap;
    align-items: start;
    gap: 0.25rem 1rem;
  }
  .cv-latest p {
    flex-basis: 65%;
  }
  .cv-nav {
    margin-top: 0.85rem;
    gap: 1.1rem;
  }
  .bio-section {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.1rem 0;
  }
  .cv-footer {
    flex-direction: column;
    gap: 0.55rem;
  }
}
@media (max-width: 500px) {
  .cv-latest {
    display: grid;
    grid-template-columns: 1fr auto;
  }
  .cv-latest p {
    grid-row: 2;
    grid-column: 1/-1;
  }
  .cv-latest > a {
    grid-row: 1;
    grid-column: 2;
  }
  .cv-nav {
    justify-content: space-between;
    gap: 0.2rem 0.38rem;
  }
  .cv-nav a {
    font-size: 0.94rem;
  }
  #positions .idx-row {
    grid-template-columns: 1fr;
    gap: 0.32rem;
  }
  #positions .idx-venue {
    grid-column: 1;
  }
}
@media (max-width: 430px) {
  .cv-nav {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-items: start;
  }
}
@media print {
  .cv-nav,
  .cv-latest,
  .idx-head a {
    display: none;
  }
  .cv-panel[hidden] {
    display: block !important;
  }
  .cv-enhanced .panel-name {
    position: static;
    width: auto;
    height: auto;
    clip-path: none;
    margin: 1rem 0;
  }
  .idx-row,
  .bio-section {
    break-inside: avoid;
  }
}
.idx-affiliation > * {
  display: block;
}
@media (max-width: 760px) {
  .idx-affiliation span {
    display: inline;
  }
  .idx-affiliation span + span::before {
    content: "· ";
  }
}
.publication-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.35rem;
  align-items: baseline;
  padding: 0.65rem 0;
  color: #565651;
  font-size: 0.84rem;
  border-bottom: 1px solid #d6d6d4;
}
.publication-key b,
.credit-mark {
  color: #882e24;
  font-weight: 650;
}
.publication-key b {
  margin-right: 0.12rem;
}
.credit-mark {
  font-size: 0.72em;
  line-height: 0;
  margin-left: 0.08em;
}
#publications .paper-authors {
  color: #5b5b57;
  font-size: 0.91rem;
}
.paper-authors strong {
  font-weight: 750;
  color: #22231f;
}
#publications .paper-description {
  color: #343630;
  margin-top: 0.38rem;
}
.paper-abstract {
  margin-top: 0.35rem;
}
.paper-abstract summary {
  display: list-item;
  width: fit-content;
  padding: 0.18rem 0.2rem 0.18rem 0;
  font-size: 0.89rem;
  font-weight: 500;
  color: #782b24;
}
.paper-abstract summary::marker {
  font-size: 0.8em;
}
.paper-abstract summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.paper-abstract[open] summary {
  margin-bottom: 0.35rem;
}
.abstract-copy {
  max-width: 66ch;
  border-left: 2px solid #d6d6d0;
  padding: 0.1rem 0 0.2rem 0.9rem;
}
#publications .abstract-copy p {
  margin: 0;
  color: #383934;
  line-height: 1.62;
}
#publications .abstract-copy > a {
  display: inline-block;
  margin-top: 0.6rem;
  color: #782b24;
  text-decoration: underline;
  font-size: 0.87rem;
}
@media (max-width: 500px) {
  #publications .idx-row {
    grid-template-columns: 1fr;
    gap: 0.32rem;
  }
  #publications .idx-venue {
    grid-column: 1;
  }
  .publication-key {
    font-size: 0.79rem;
    gap: 0.15rem 0.85rem;
  }
}
