/* Small overrides that retain Barks while matching the Daigo Ito presentation. */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

.outer {
  position: static;
  display: block;
  min-height: 100vh;
}

.middle {
  display: block;
}

.inner {
  width: 80%;
  max-width: none;
  padding: 0;
}

header {
  margin-top: 20px;
}

header .title {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 36px;
  font-weight: 700;
}

nav {
  margin-top: 0.85em;
  margin-bottom: 0;
  padding-bottom: 17px;
  border-bottom: 1px solid #aebcad;
}

nav li {
  margin: 0 0.85em;
  font-size: 18px;
}

nav li + li::before {
  content: "";
  padding: 0;
}

nav a::after {
  height: 2px;
}

main {
  padding-top: 30px;
}

.landing-page-content {
  width: 64%;
}

.landing-page-image {
  width: 30%;
}

.landing-page-image img {
  border-radius: 3px;
  box-shadow: 0 4px 14px rgba(31, 54, 42, 0.18);
}

.academic-links {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1.4rem;
}

.academic-links a {
  color: #3f7656;
  font-size: 1.65rem;
  line-height: 1;
  text-decoration: none;
}

.paper-icons {
  display: inline-flex;
  gap: 0.35rem;
  margin-left: 0.25rem;
  vertical-align: -0.08em;
}

.paper-icons a {
  color: #3f7656;
  font-size: 1.08rem;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media only screen and (max-width: 600px) {
  .inner {
    width: calc(100% - 32px);
    max-width: 400px;
  }

  header {
    margin-top: 28px;
  }

  nav {
    padding: 0.75em 0;
    border-top: 1px solid #aebcad;
    border-bottom: 1px solid #aebcad;
  }

  nav li {
    display: block;
    margin: 0;
    padding: 4px 0;
  }

  .landing-page-content,
  .landing-page-image {
    width: 100%;
  }
}
