@font-face {
  font-family: "Tiempos Text";
  src: url("https://shikun.io/assets/fonts/Tiempos/TiemposText-Regular.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tiempos Text";
  src: url("https://shikun.io/assets/fonts/Tiempos/TiemposText-Italic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Athletics";
  src: url("https://shikun.io/assets/fonts/Athletics/Athletics-Regular.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Athletics";
  src: url("https://shikun.io/assets/fonts/Athletics/Athletics-Medium.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Athletics";
  src: url("https://shikun.io/assets/fonts/Athletics/Athletics-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --text: #353535;
  --muted: #666667;
  --soft: #ececec;
  --footer: #fafafa;
  --dot: #00539f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #fff;
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body,
button,
input,
textarea {
  font-family: "Athletics", sans-serif;
}

a,
p,
div,
li,
span {
  color: var(--text);
  font-weight: 300;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 1px;
}

a:hover {
  color: inherit;
}

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

svg {
  display: block;
}

em {
  font-style: italic;
}

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

main {
  flex: 1;
}

.container {
  flex: 1;
  padding-left: 6vw;
  padding-right: calc(6vw - (100vw - 100%));
}

.nav-bar {
  top: 0;
  width: 100%;
  position: absolute;
  z-index: 30;
  background: transparent;
}

.nav-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  column-gap: 25vw;
  padding: 1.5em 0;
}

.nav-menu,
.nav-social {
  display: flex;
  justify-content: space-between;
}

.nav-social .icon {
  display: flex;
  align-items: center;
}

.nav-menu {
  position: relative;
}

.nav-link {
  position: relative;
  display: block;
  text-align: center;
  padding-bottom: 0.5em;
  font-family: "Athletics", sans-serif;
  font-size: 24px;
  font-weight: 500;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.5em;
}

.social-link svg {
  width: 20px;
  height: 20px;
  color: var(--text);
}

.language-link svg {
  width: 22px;
  height: 16px;
  color: initial;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(53, 53, 53, 0.12);
}

.language-link.is-active {
  opacity: 0.65;
}

.nav-dot {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot);
  opacity: 0;
  pointer-events: none;
  transition: left 0.3s ease, opacity 0.3s ease, background-color 0.2s ease;
}

.mobile-trigger {
  display: none;
}

.menu-toggle {
  position: relative;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle span:nth-child(1) {
  top: 9px;
}

.menu-toggle span:nth-child(2) {
  top: 17px;
}

.menu-toggle span:nth-child(3) {
  top: 25px;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

#first-content {
  padding-top: 6em;
}

.page-title {
  padding-bottom: 1.5em;
}

.title {
  margin: 0;
  padding: 0 0 0.8em;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
}

.section-title {
  padding: 1em 0;
}

.section-title h2 {
  margin: 0;
  padding: 0;
  font-family: "Athletics", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.home-container {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 10vw;
  padding-bottom: 5vh;
}

.home-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.home-copy {
  display: grid;
  row-gap: 1.15rem;
}

.home-cta {
  margin-top: 0.5rem;
}

.home-intro p {
  margin: 0;
  padding: 1em 0;
}

.home-profile img,
.profile-placeholder {
  width: 100%;
}

.profile-placeholder {
  position: relative;
  aspect-ratio: 0.78;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.92), transparent 12%),
    linear-gradient(180deg, #efe9df 0%, #faf6f0 42%, #e7dfd1 100%);
}

.profile-placeholder::before {
  content: "";
  position: absolute;
  inset: auto 16% 0;
  height: 60%;
  border-radius: 14rem 14rem 0 0;
  background: linear-gradient(180deg, #2d3138 0%, #3c4048 100%);
}

.profile-placeholder::after {
  content: attr(data-label);
  position: absolute;
  left: 8%;
  bottom: 6%;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.75em 1em;
  border-radius: 10px;
  background: var(--soft);
  font-family: "Athletics", sans-serif;
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  user-select: none;
}

.button:hover {
  opacity: 0.8;
}

.button-icon svg {
  width: 14px;
  height: 14px;
}

.project-block {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 1em;
  padding: 1em 0 0.5vh;
}

.project-container .project-cover {
  display: block;
  width: 100%;
  aspect-ratio: 0.8;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s ease-in-out, box-shadow 0.6s ease-in-out;
}

.project-container .project-cover:hover {
  box-shadow: 0 0 40px 10px rgba(0, 0, 0, 0.15);
  transform: scale(1.01);
}

.project-info {
  padding: 10px 0 25px;
}

.project-title {
  margin: 0;
  padding: 0;
  font-size: 17px;
  font-weight: 700;
}

.project-title a {
  font-size: 17px;
  font-weight: 700;
}

.project-title a:hover {
  text-decoration: underline;
}

.project-info p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

#publication .section-title {
  padding-bottom: 0.5vh;
}

.paper-page {
  padding-bottom: 1.5em;
}

.paper-container {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 0.5vh 0;
}

.paper-conference p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.4;
}

.paper-info p {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
}

.paper-info p b {
  font-weight: 700;
}

.paper-links a {
  font-weight: 600;
}

.paper-links a:hover {
  opacity: 0.8;
}

.blog-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr;
}

.about-intro {
  padding: 1em 0;
}

.about-intro p {
  margin: 0;
  font-size: 0.85em;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.8;
  text-transform: uppercase;
}

.about-content {
  padding-bottom: 2.5vh;
}

.about-content p {
  margin: 0;
  padding-bottom: 0.5em;
  font-family: "Tiempos Text", serif;
}

.about-content p:last-child {
  padding-bottom: 0;
}

footer {
  margin-top: auto;
  padding: 1.5em 0;
  background: var(--footer);
}

footer p {
  margin: 0;
}

.footer-icon {
  display: inline-flex;
  vertical-align: -2px;
}

.footer-icon svg {
  width: 14px;
  height: 14px;
}

.footer-heart {
  color: #ec6863;
}

.container.blog#first-content .blog-title {
  display: grid;
  grid-template-columns: 1fr;
}

.container.blog#first-content .blog-title.no-cover .blog-intro {
  padding: 1.5em 0;
}

.container.blog#first-content .blog-title .blog-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25em;
}

.container.blog#first-content .blog-title .blog-intro .info p {
  padding: 0;
  color: var(--text);
  font-size: 0.95em;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.container.blog#first-content .blog-title .blog-intro p {
  margin: 0;
  font-weight: 500;
}

.container.blog#first-content .blog-title .blog-intro p.author {
  padding: 0.35em 0 0.85em;
  font-style: italic;
  line-height: 1.2;
}

.container.blog#first-content .blog-title .blog-intro p.author-meta {
  padding: 0 0 0.65em;
  color: var(--muted);
  font-size: 0.95em;
}

.container.blog.main,
.container.blog.large {
  padding-top: 0.8em;
  padding-bottom: 0.8em;
}

.container.blog.main.first {
  margin-top: 1em;
}

.container.blog.main.last {
  margin-bottom: 1em;
}

.content-body {
  width: 100%;
}

.container.blog p.text {
  margin: 0;
  padding: 1em 0;
  font-family: "Tiempos Text", serif;
}

.container.blog p.text:last-child {
  padding-bottom: 0;
}

.figure-simple {
  margin: 0;
}

.figure-simple-art {
  display: grid;
  place-items: end start;
  min-height: 18rem;
  padding: 1em;
}

.figure-simple-art span {
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.figure-simple figcaption {
  padding-top: 0.65em;
  color: var(--muted);
  font-size: 0.92em;
  line-height: 1.5;
}

.reference-list p.text {
  padding: 0.45em 0;
}

.article-endcap {
  padding-top: 0.5em;
}

.reference-list + .section-title {
  padding-top: 2em;
}

@media screen and (max-width: 768px) {
  .home-intro p {
    padding: 0 0 0.5em;
  }

  .home-intro p:last-child {
    padding-bottom: 0;
  }

  .home-cta {
    margin-top: 0.85rem;
  }

  .nav-bar {
    position: fixed;
    background: #fff;
  }

  .nav-inner {
    position: fixed;
    inset: 0;
    display: grid;
    grid-template-rows: 4fr 1fr;
    grid-template-columns: 1fr;
    align-items: center;
    padding-left: inherit;
    padding-right: inherit;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
  }

  .nav-inner.is-open {
    transform: translateX(0);
  }

  .nav-menu {
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
  }

  .nav-link {
    padding: 4vh 0;
    font-size: 24px;
  }

  .nav-link.is-active {
    text-decoration: underline;
  }

  .nav-dot {
    display: none;
  }

  .nav-social {
    justify-content: space-around;
  }

  .social-link {
    padding: 1vh;
  }

  .social-link svg {
    width: 24px;
    height: 24px;
  }

  .mobile-trigger {
    display: block;
    position: relative;
    z-index: 35;
    padding: 1.5em 0;
  }
}

@media screen and (min-width: 769px) {
  .container {
    padding-left: 8.5vw;
    padding-right: calc(8.5vw - (100vw - 100%));
  }

  #first-content {
    padding-top: 8em;
  }

  .nav-inner {
    padding: 3em 0;
  }

  .nav-link {
    font-size: 17px;
  }

  .social-link svg {
    width: 17px;
    height: 17px;
  }

  .language-link svg {
    width: 20px;
    height: 14px;
  }

  .home-container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 5vw;
    padding: 10vh 0;
  }

  .home-intro p {
    padding: 0;
    font-size: 16px;
  }

  .home-cta {
    margin-top: 1.5rem;
  }

  .project-block {
    grid-template-columns: 1fr 1fr;
    column-gap: 5vw;
    row-gap: 1.5em;
    padding-bottom: 1em;
  }

  .paper-page {
    padding-bottom: 4vh;
  }

  .paper-conference p {
    font-size: 15px;
    line-height: 1.6;
  }

  .paper-info p {
    font-size: 16px;
  }

  .about-container {
    grid-template-columns: 1fr 3fr;
    column-gap: 5vw;
  }

  .about-intro {
    padding-top: 0;
    padding-bottom: 2.5vh;
  }

  .container.blog#first-content .blog-title {
    grid-template-columns: 1.2fr 1fr;
    column-gap: 5vw;
  }

  .container.blog#first-content .blog-title.no-cover {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .container.blog.main.first {
    margin-top: 1.5em;
  }

  .container.blog.main.last {
    margin-bottom: 1.5em;
  }

}

@media screen and (min-width: 992px) {
  .container {
    padding-left: 12vw;
    padding-right: calc(12vw - (100vw - 100%));
  }

  #first-content {
    padding-top: 10em;
  }

  .nav-inner {
    padding: 4em 0;
  }

  .home-container {
    column-gap: 10vw;
  }

  .project-block {
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 2.5vw;
  }

}

@media screen and (min-width: 1200px) {
  .container {
    padding-left: 15vw;
    padding-right: calc(15vw - (100vw - 100%));
  }

  #first-content {
    padding-top: 12em;
  }

  .nav-inner {
    padding: 5em 0;
  }

  .title {
    font-size: 36px;
  }

  .section-title h2 {
    font-size: 18px;
  }

  .nav-link {
    font-size: 18px;
  }

  .social-link svg {
    width: 18px;
    height: 18px;
  }

  .language-link svg {
    width: 22px;
    height: 16px;
  }

  .paper-info p {
    font-size: 17px;
  }

  footer {
    padding: 4vh 0;
  }
}

@media screen and (min-width: 1600px) {
  .container {
    padding-left: 18vw;
    padding-right: calc(18vw - (100vw - 100%));
  }

  a,
  p,
  div,
  li,
  span {
    font-size: 18px;
  }

  .title {
    font-size: 42px;
  }

  .paper-conference p,
  .paper-info p {
    font-size: 17px;
  }

}

@media screen and (min-width: 2000px) {
  .container {
    padding-left: 22vw;
    padding-right: calc(22vw - (100vw - 100%));
  }

  .home-container {
    column-gap: 14vw;
  }
}

@media screen and (min-width: 2400px) {
  .container {
    padding-left: 24vw;
    padding-right: calc(24vw - (100vw - 100%));
  }

  a,
  p,
  div,
  li,
  span {
    font-size: 20px;
  }

  #first-content {
    padding-top: 14em;
  }

  .nav-inner {
    padding: 6em 0;
  }

  .nav-link {
    font-size: 20px;
  }

  .social-link svg {
    width: 20px;
    height: 20px;
  }

  .language-link svg {
    width: 24px;
    height: 17px;
  }

  .paper-conference p {
    font-size: 18px;
  }

  .paper-info p {
    font-size: 20px;
  }
}

@media screen and (min-width: 3200px) {
  .container {
    padding-left: 28vw;
    padding-right: calc(32vw - (100vw - 100%));
  }
}
