/**
 * Reset some basic elements
 */
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0; }

/**
 * Basic styling
 */
body {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 300;
  color: #262522;
  background-color: #fdfdfd;
  -webkit-text-size-adjust: 100%; }

/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
.highlight {
  margin-bottom: 15px; }

/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle; }

/**
 * Figures
 */
figure > img {
  display: block; }

figcaption {
  font-size: 15.75px; }

/**
 * Lists
 */
ul, ol {
  margin-left: 30px; }

li > ul,
li > ol {
  margin-bottom: 0; }

/**
 * Headings
 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 300; }

/**
 * Links
 */
a {
  color: #58466c;
  text-decoration: none; }
  a:visited {
    color: #32283e; }
  a:hover {
    color: #262522;
    text-decoration: underline; }

/**
 * Blockquotes
 */
blockquote {
  color: #716d68;
  border-left: 4px solid #e3e0da;
  padding-left: 15px;
  font-size: 18px;
  letter-spacing: -1px;
  font-style: italic; }
  blockquote > :last-child {
    margin-bottom: 0; }

/**
 * Code formatting
 */
pre,
code {
  font-size: 15px;
  border: 1px solid #e3e0da;
  border-radius: 3px;
  background-color: #eef; }

code {
  padding: 1px 5px; }

pre {
  padding: 8px 12px;
  overflow-x: auto; }
  pre > code {
    border: 0;
    padding-right: 0;
    padding-left: 0; }

/**
 * Wrapper
 */
.wrapper {
  max-width: -webkit-calc(800px - (30px * 2));
  max-width: calc(800px - (30px * 2));
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px; }
  @media screen and (max-width: 800px) {
    .wrapper {
      max-width: -webkit-calc(800px - (30px));
      max-width: calc(800px - (30px));
      padding-right: 15px;
      padding-left: 15px; } }

/**
 * Clearfix
 */
.wrapper:after, .footer-col-wrapper:after {
  content: "";
  display: table;
  clear: both; }

/**
 * Icons
 */
.icon > svg {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle; }
  .icon > svg path {
    fill: #716d68; }

.site-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh; }

/**
 * Site header
 */
.site-header {
  border-top: 5px solid #42403d;
  border-bottom: 1px solid #e3e0da;
  min-height: 56px;
  position: relative; }

.site-title {
  font-size: 26px;
  line-height: 56px;
  letter-spacing: -1px;
  margin-bottom: 0;
  float: left; }
  .site-title, .site-title:visited {
    color: #42403d; }

.site-nav {
  float: right;
  line-height: 56px; }
  .site-nav .mobile-menu {
    display: none; }
  .site-nav .page-link {
    color: #262522;
    line-height: 1.25; }
    .site-nav .page-link[aria-current="page"] {
      text-decoration: underline;
      text-decoration-color: #58466c;
      text-decoration-thickness: 1px;
      text-underline-offset: 0.3em; }
    .site-nav .page-link:not(:first-child) {
      margin-left: 20px; }
  @media screen and (max-width: 600px) {
    .site-nav {
      position: absolute;
      top: 5px;
      right: 30px;
      z-index: 1;
      background-color: #fdfdfd;
      border: 1px solid #e3e0da;
      border-radius: 5px;
      text-align: right; }
      .site-nav .desktop-links {
        display: none; }
      .site-nav .mobile-menu {
        display: block; }
      .site-nav summary {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-left: auto;
        cursor: pointer;
        list-style: none; }
        .site-nav summary::-webkit-details-marker {
          display: none; }
        .site-nav summary > svg {
          width: 18px;
          height: 15px; }
          .site-nav summary > svg path {
            fill: #42403d; }
      .site-nav .mobile-menu[open] {
        padding-bottom: 5px; }
      .site-nav .page-link {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        box-sizing: border-box;
        min-height: 44px;
        padding: 5px 10px; }
        .site-nav .page-link:not(:first-child) {
          margin-left: 0; } }

/**
 * Site footer
 */
.site-footer {
  margin-top: auto;
  border-top: 1px solid #e3e0da;
  padding: 30px 0; }

.footer-heading {
  font-size: 18px;
  margin-bottom: 15px; }

.contact-list,
.social-media-list {
  list-style: none;
  margin-left: 0; }

.footer-col-wrapper {
  font-size: 15px;
  color: #716d68;
  margin-left: -15px; }

.footer-col {
  float: left;
  margin-bottom: 15px;
  padding-left: 15px; }

.footer-col-1 {
  width: -webkit-calc(35% - (30px / 2));
  width: calc(35% - (30px / 2)); }

.footer-col-2 {
  width: -webkit-calc(20% - (30px / 2));
  width: calc(20% - (30px / 2)); }

.footer-col-3 {
  width: -webkit-calc(45% - (30px / 2));
  width: calc(45% - (30px / 2)); }

@media screen and (max-width: 800px) {
  .footer-col-1,
  .footer-col-2 {
    width: -webkit-calc(50% - (30px / 2));
    width: calc(50% - (30px / 2)); }

  .footer-col-3 {
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - (30px / 2)); } }
@media screen and (max-width: 600px) {
  .footer-col {
    float: none;
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - (30px / 2)); } }
/**
 * Page content
 */
.page-content {
  padding: 30px 0; }

.page-heading {
  font-size: 20px; }

.post-list {
  margin-left: 0;
  list-style: none; }
  .post-list > li {
    margin-bottom: 30px; }

.post-meta {
  font-size: 15.75px;
  color: #716d68; }

.post-link {
  display: block;
  font-size: 24px; }

.listing-separator {
  font-size: 33.75px; }

/**
 * Posts
 */
.post-header {
  margin-bottom: 30px; }

.post-title {
  font-size: 42px;
  letter-spacing: -1px;
  line-height: 1; }
  @media screen and (max-width: 800px) {
    .post-title {
      font-size: 36px; } }

.post-content {
  margin-bottom: 30px; }
  .post-content h2 {
    font-size: 32px; }
    @media screen and (max-width: 800px) {
      .post-content h2 {
        font-size: 28px; } }
  .post-content h3 {
    font-size: 26px; }
    @media screen and (max-width: 800px) {
      .post-content h3 {
        font-size: 22px; } }
  .post-content h4 {
    font-size: 20px; }
    @media screen and (max-width: 800px) {
      .post-content h4 {
        font-size: 18px; } }

.research-page .post-header {
  margin-bottom: 18px; }
.research-page .post-content h2 {
  font-size: 24px; }

.translation-title {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 6px; }

.translation-description {
  line-height: 1.5;
  color: #454149; }
  .translation-description a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.15em; }
    .translation-description a:hover, .translation-description a:focus-visible {
      color: #58466c; }

.publication-list {
  margin-left: 0;
  padding-inline-start: 1.9em;
  line-height: 1.45; }
  .publication-list li::marker {
    content: "[" counter(list-item) "]  "; }
  .publication-list li + li {
    margin-top: 15px; }

.publication-list li[id], .dissertation {
  scroll-margin-top: 1rem; }
  .publication-list li[id]:target, .dissertation:target {
    background-color: rgba(88, 70, 108, 0.07); }

.paper-reader {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #f1f1ef; }

.paper-document {
  width: 100%;
  min-height: 0;
  flex: 1;
  border: 0; }
  .paper-document.is-loading {
    visibility: hidden; }

.paper-tools {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-between;
  pointer-events: none; }
  .paper-tools a, .paper-tools button {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    padding: 0;
    pointer-events: auto;
    cursor: pointer;
    color: #49464d;
    background: rgba(255, 255, 255, 0.83);
    border: 1px solid rgba(35, 30, 42, 0.18);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(30, 25, 35, 0.08); }
    .paper-tools a:hover, .paper-tools a:focus-visible, .paper-tools button:hover, .paper-tools button:focus-visible {
      background: white;
      color: #58466c; }
    .paper-tools a:focus-visible, .paper-tools button:focus-visible {
      outline: 2px solid #58466c;
      outline-offset: 2px; }
  .paper-tools svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round; }
  .paper-tools button[hidden], .paper-tools .copied-icon, .paper-tools .is-copied .link-icon {
    display: none; }
  .paper-tools .is-copied .copied-icon {
    display: block; }
  .paper-tools [role="status"] {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.5rem);
    font-size: 15px; }
  .paper-tools button:not(.is-copied) + [role="status"]:not(:empty) {
    padding: 0.4em 0.7em;
    border-radius: 5px;
    background: #262522;
    color: white; }
  .paper-tools .is-copied + [role="status"] {
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%); }

.footnotes {
  border-top: darkgray 1px solid;
  padding-top: 1em; }

.paper-page-number {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 4px 11px;
  border-radius: 1em;
  background: rgba(255, 255, 255, 0.92);
  color: #262522;
  box-shadow: 0 1px 4px rgba(30, 25, 35, 0.12);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden; }
  .paper-page-number.is-visible {
    opacity: 1;
    visibility: visible; }
  @media (prefers-reduced-motion: no-preference) {
    .paper-page-number {
      transition: opacity 150ms ease-out, visibility 0s linear 150ms; }
      .paper-page-number.is-visible {
        transition-delay: 0s; } }

.mobile-research-intro {
  display: none; }

.home-illustration {
  position: relative;
  float: right;
  width: 240px;
  max-width: 40%;
  height: auto;
  margin: 0 0 20px 28px; }
  .home-illustration img {
    display: block;
    width: 100%;
    height: auto; }
  .home-illustration .ink-model, .home-illustration .surface-toggle {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%; }
  .home-illustration .ink-model {
    opacity: 0; }
  .home-illustration .surface-toggle {
    cursor: pointer;
    padding: 0;
    border: 0;
    background: transparent;
    color: #58466c;
    font: inherit;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none; }
    .home-illustration .surface-toggle:focus-visible {
      outline: 2px solid #58466c;
      outline-offset: 3px; }
  .home-illustration .surface-hint {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap; }
  .home-illustration.show-model img {
    opacity: 0; }
  .home-illustration.show-model .ink-model {
    opacity: 1; }
  .home-illustration.show-model .surface-toggle {
    cursor: grab;
    touch-action: pinch-zoom; }
    .home-illustration.show-model .surface-toggle:active {
      cursor: grabbing; }
  @media (prefers-reduced-motion: no-preference) {
    .home-illustration img, .home-illustration .ink-model {
      transition: opacity 180ms ease-out; } }

@media screen and (max-width: 600px) {
  .mobile-research-intro {
    display: block; }

  .desktop-research-intro {
    display: none; }

  .home-illustration {
    float: none;
    display: block;
    width: 180px;
    max-width: 80%;
    margin: 0 auto 24px; } }
/**
 * Syntax highlighting styles
 */
.highlight {
  background: #fff; }
  .highlight .c {
    color: #998;
    font-style: italic; }
  .highlight .err {
    color: #a61717;
    background-color: #e3d2d2; }
  .highlight .k {
    font-weight: bold; }
  .highlight .o {
    font-weight: bold; }
  .highlight .cm {
    color: #998;
    font-style: italic; }
  .highlight .cp {
    color: #999;
    font-weight: bold; }
  .highlight .c1 {
    color: #998;
    font-style: italic; }
  .highlight .cs {
    color: #999;
    font-weight: bold;
    font-style: italic; }
  .highlight .gd {
    color: #000;
    background-color: #fdd; }
  .highlight .gd .x {
    color: #000;
    background-color: #faa; }
  .highlight .ge {
    font-style: italic; }
  .highlight .gr {
    color: #a00; }
  .highlight .gh {
    color: #999; }
  .highlight .gi {
    color: #000;
    background-color: #dfd; }
  .highlight .gi .x {
    color: #000;
    background-color: #afa; }
  .highlight .go {
    color: #888; }
  .highlight .gp {
    color: #555; }
  .highlight .gs {
    font-weight: bold; }
  .highlight .gu {
    color: #aaa; }
  .highlight .gt {
    color: #a00; }
  .highlight .kc {
    font-weight: bold; }
  .highlight .kd {
    font-weight: bold; }
  .highlight .kp {
    font-weight: bold; }
  .highlight .kr {
    font-weight: bold; }
  .highlight .kt {
    color: #458;
    font-weight: bold; }
  .highlight .m {
    color: #099; }
  .highlight .s {
    color: #d14; }
  .highlight .na {
    color: #008080; }
  .highlight .nb {
    color: #0086B3; }
  .highlight .nc {
    color: #458;
    font-weight: bold; }
  .highlight .no {
    color: #008080; }
  .highlight .ni {
    color: #800080; }
  .highlight .ne {
    color: #900;
    font-weight: bold; }
  .highlight .nf {
    color: #900;
    font-weight: bold; }
  .highlight .nn {
    color: #555; }
  .highlight .nt {
    color: #000080; }
  .highlight .nv {
    color: #008080; }
  .highlight .ow {
    font-weight: bold; }
  .highlight .w {
    color: #bbb; }
  .highlight .mf {
    color: #099; }
  .highlight .mh {
    color: #099; }
  .highlight .mi {
    color: #099; }
  .highlight .mo {
    color: #099; }
  .highlight .sb {
    color: #d14; }
  .highlight .sc {
    color: #d14; }
  .highlight .sd {
    color: #d14; }
  .highlight .s2 {
    color: #d14; }
  .highlight .se {
    color: #d14; }
  .highlight .sh {
    color: #d14; }
  .highlight .si {
    color: #d14; }
  .highlight .sx {
    color: #d14; }
  .highlight .sr {
    color: #009926; }
  .highlight .s1 {
    color: #d14; }
  .highlight .ss {
    color: #990073; }
  .highlight .bp {
    color: #999; }
  .highlight .vc {
    color: #008080; }
  .highlight .vg {
    color: #008080; }
  .highlight .vi {
    color: #008080; }
  .highlight .il {
    color: #099; }
