:root {
  --ink: #363636;
  --body: #4a4a4a;
  --link: #4b9ae8;
  --status: #b83a4b;
  --light: #f5f5f5;
}

html {
  box-sizing: border-box;
  min-width: 300px;
  overflow-x: hidden;
  overflow-y: scroll;
  background: #fff;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body,
h1,
h2,
p,
pre,
figure {
  margin: 0;
}

body {
  color: var(--body);
  font-family: "Noto Sans", sans-serif;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.5;
}

img,
video {
  height: auto;
  max-width: 100%;
}

a {
  color: #3273dc;
  cursor: pointer;
  text-decoration: none;
}

a:hover {
  color: var(--ink);
}

strong {
  color: var(--ink);
  font-weight: 700;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  padding: .5rem .75rem;
  border-radius: 4px;
  background: #fff;
  color: #111;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .2);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #3273dc;
  outline-offset: 3px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
}

.hero-body {
  flex-grow: 1;
  flex-shrink: 0;
  padding: 3rem 1.5rem;
}

.container {
  position: relative;
  width: auto;
  flex-grow: 1;
  margin: 0 auto;
}

.has-text-centered {
  text-align: center !important;
}

.title,
.subtitle {
  word-break: break-word;
}

.title {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.125;
}

.title:not(:last-child),
.subtitle:not(:last-child) {
  margin-bottom: 1.5rem;
}

.title.is-1 {
  font-size: 3rem;
}

.title.is-2 {
  font-size: 2.5rem;
}

.title.is-3 {
  font-size: 2rem;
}

.title.is-4 {
  font-size: 1.5rem;
}

.subtitle {
  color: var(--body);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
}

.is-size-5 {
  font-size: 1.25rem !important;
}

.section {
  padding: 3rem 1.5rem;
}

.content-column {
  width: 80%;
  margin: 0 auto;
}

.content p:not(:last-child) {
  margin-bottom: 1em;
}

.justify {
  text-align: justify;
}

.publication-title,
.publication-authors,
.teaser {
  font-family: "Google Sans", sans-serif;
}

.publication-title {
  letter-spacing: normal;
}

.publication-status {
  margin-top: .75rem;
  margin-bottom: 0 !important;
  color: var(--status);
}

.publication-authors a {
  color: var(--link) !important;
}

.publication-authors a:hover {
  text-decoration: underline;
}

.author-block,
.link-block {
  display: inline-block;
}

.publication-affiliations {
  margin-top: .15rem;
}

.affiliation-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: .85rem;
}

.affiliation-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.affiliation-logo-link img {
  display: block;
  object-position: center;
}

.wsu-logo-link {
  width: 420px;
  max-width: 100%;
  height: 90px;
  overflow: hidden;
}

.wsu-logo-link img {
  width: 100%;
  height: 90px;
  object-fit: cover;
}

.hackerearth-logo-link img {
  width: 280px;
  height: auto;
}

sup {
  position: relative;
  top: -.35em;
  font-size: .75em;
  line-height: 0;
}

.publication-links {
  margin-top: 1rem;
  text-align: center;
}

.link-block a {
  margin: 5px 2px;
}

.button {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  height: 2.5em;
  padding: calc(.5em - 1px) calc(.75em - 1px);
  border: 1px solid transparent;
  border-radius: 4px;
  box-shadow: none;
  font-size: 1rem;
  line-height: 1.5;
  vertical-align: top;
  white-space: nowrap;
}

.button.is-normal {
  font-size: 1rem;
}

.button.is-rounded {
  padding-right: calc(1em + .25em);
  padding-left: calc(1em + .25em);
  border-radius: 290486px;
}

.button.is-dark {
  border-color: transparent;
  background-color: var(--ink);
  color: #fff;
}

.button.is-dark:hover {
  border-color: transparent;
  background-color: #292929;
  color: #fff;
}

.button .icon {
  width: 1.5em;
  height: 1.5em;
}

.button .icon:first-child:not(:last-child) {
  margin-right: .25em;
  margin-left: calc(-.5em - 1px);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon svg,
.icon img {
  display: block;
  width: 1.25em;
  height: 1.25em;
}

.icon-pdf svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.youtube-body {
  fill: #ff0033;
}

.youtube-play {
  fill: #fff;
}

.github-mark {
  fill: #fff;
}

.teaser .hero-body {
  padding-top: 0;
}

.current-demo video {
  display: block;
  width: 60%;
  margin: 0 auto;
  object-fit: fill;
}

.media-caption {
  width: min(60%, 960px);
  margin: .75rem auto 0;
  color: #777;
  font-size: .8rem;
  line-height: 1.45;
  text-align: left;
}

.archival-prototype {
  margin-bottom: 1.5rem;
}

.archival-prototype img {
  display: block;
  width: min(100%, 960px);
  margin: 0 auto;
  object-fit: contain;
}

.teaser-copy {
  margin-top: 1.5rem;
  line-height: 1.5;
}

.project-name {
  font-variant: small-caps;
}

.publication-figure {
  margin-bottom: 1.5rem;
}

.publication-figure img {
  display: block;
  width: 100%;
  max-height: 540px;
  margin: 0 auto;
  object-fit: contain;
}

.method-copy {
  max-width: 960px;
  margin: 0 auto;
  text-align: justify;
}

.figure-takeaway {
  max-width: 960px;
  margin: .8rem auto 0;
  color: #666;
  font-size: .9rem;
  line-height: 1.5;
  text-align: left;
}

.evaluation-figures {
  display: grid;
  gap: 2.5rem;
  margin-top: 2rem;
}

.evidence-figure img {
  display: block;
  width: 100%;
  border: 1px solid #ddd;
  background: #fff;
}

.reproducibility-intro {
  max-width: 960px;
}

.reproducibility-intro code {
  padding: .1em .3em;
  border-radius: 3px;
  background: var(--light);
  color: var(--ink);
  font-family: monospace;
  font-size: .9em;
}

.reproducibility-list {
  margin: 2rem 0 0;
  border-top: 1px solid #d8d8d8;
}

.reproducibility-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 4fr);
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid #d8d8d8;
}

.reproducibility-row dt {
  color: var(--ink);
  font-weight: 700;
}

.reproducibility-row dd {
  margin: 0;
}

.reproducibility-link {
  margin-top: 1rem;
}

.paper-heading {
  margin-bottom: 3rem;
}

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

.paper-thumbnail {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.paper-stack {
  position: relative;
  display: block;
  width: min(90%, 300px);
  aspect-ratio: 900 / 1165;
  margin: 0 25px 25px 0;
}

.paper-stack:hover .paper-sheet-front {
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.paper-sheet {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, .34);
  background: #fff;
  object-fit: cover;
}

.paper-sheet-4 {
  z-index: 1;
  transform: translate(20px, 20px);
}

.paper-sheet-3 {
  z-index: 2;
  transform: translate(15px, 15px);
}

.paper-sheet-2 {
  z-index: 3;
  transform: translate(10px, 10px);
}

.paper-sheet-1 {
  z-index: 4;
  transform: translate(5px, 5px);
}

.paper-sheet-front {
  z-index: 5;
  transition: box-shadow 140ms ease;
}

.paper-information,
.citation-box {
  min-width: 0;
}

.paper-metadata {
  margin-bottom: 1rem;
}

.paper-metadata .title {
  margin-bottom: .5rem;
}

.paper-authors {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.paper-authors a {
  color: var(--link);
}

.paper-authors a:hover {
  text-decoration: underline;
}

.paper-record {
  margin: 0;
  font-size: .9rem;
}

.citation-box {
  position: relative;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f9f9f9;
}

.citation-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
}

.citation-tabs {
  display: inline-flex;
  gap: 1rem;
}

.citation-tab {
  padding: .25rem 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #666;
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
}

.citation-tab:hover {
  color: var(--ink);
}

.citation-tab.is-active {
  border-bottom-color: var(--ink);
  color: var(--ink);
  font-weight: 700;
}

pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 1.25rem 1.5rem;
  background: var(--light);
  color: var(--body);
  font-family: monospace;
  font-size: .875em;
  line-height: 1.5;
  white-space: pre;
}

.citation-box pre {
  overflow-x: visible;
  padding: 5px 5px 5px 10px;
  border: 1px solid #808080;
  border-radius: 3px;
  background: #eee;
  line-height: 1.2;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.copy-button {
  padding: .35rem .65rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: .75rem;
  cursor: pointer;
}

.copy-button:hover {
  background: #eee;
}

.copy-status {
  min-height: 1.5em;
  margin-top: .4rem;
  color: #257a25;
  font-size: .85rem;
}

.footer {
  padding: 3rem 1.5rem 6rem;
  background-color: #fafafa;
}

.footer .container {
  max-width: 960px;
}

@media screen and (min-width: 1024px) {
  .container {
    max-width: 960px;
  }
}

@media screen and (max-width: 1407px) {
  .container.is-fullhd:not(.is-max-desktop):not(.is-max-widescreen) {
    max-width: 1344px;
  }
}

@media screen and (min-width: 1216px) {
  .container:not(.is-max-desktop) {
    max-width: 1152px;
  }
}

@media screen and (min-width: 1408px) {
  .container:not(.is-max-desktop):not(.is-max-widescreen) {
    max-width: 1344px;
  }
}

@media screen and (max-width: 768px) {
  .hero-body,
  .section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .title.is-1 {
    font-size: 2.25rem;
  }

  .title.is-3 {
    font-size: 1.75rem;
  }

  .title.is-2 {
    font-size: 2rem;
  }

  .publication-title br,
  .desktop-break {
    display: none;
  }

  .affiliation-logos {
    gap: .5rem;
  }

  .wsu-logo-link {
    width: min(100%, 380px);
    height: 78px;
  }

  .wsu-logo-link img {
    width: 100%;
    height: 78px;
  }

  .hackerearth-logo-link img {
    width: 240px;
  }

  .current-demo video,
  .media-caption {
    width: 100%;
  }

  .content-column {
    width: 100%;
  }

  .paper-columns {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .paper-heading {
    margin-bottom: 2.5rem;
  }

  .paper-stack {
    width: min(72vw, 260px);
  }

  .reproducibility-row {
    grid-template-columns: 1fr;
    gap: .35rem;
  }

  .justify,
  .method-copy {
    text-align: left;
  }

  .footer {
    padding-bottom: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
