.project-link {
  font-family: 'Morion Trial', 'Times New Roman', Times, serif;
  font-feature-settings: normal;
  font-size: 2.4rem;
  font-size: clamp(2rem, calc(2rem + ((1vw - 12px) * 1.6666666667)), 2.4rem);
  line-height: 1.3;
  font-weight: 400;
  color: var(--themed-foreground);
  display: inline;
}

.project-link:not(:last-child) {
  margin-right: 5px;
}

.project-link {
  color: currentColor;
  text-decoration: none;
}

.project-link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.project-link em {
  font-family: 'Helvetica Now Text Medium', Helvetica, Arial, sans-serif;
  font-weight: 500;
}

.project-image {
  width: 100%;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  overflow: hidden;
  display: block;
  order: -1;
}

.project-link + .project-image img {
  transform-origin: 50% 50%;
  transition: transform 0.4s ease-out;
}

.project-link:hover + .project-image img {
  transform: scale(1.1);
}

.link-label {
  display: inline;
  vertical-align: middle;
}

.link-icon {
  height: 3rem;
  width: 4.8rem;
  margin-left: -0.7rem;
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  color: var(--themed-background);
  overflow: hidden;
}

.link-icon::before {
  content: "";
  height: 3rem;
  width: 3rem;
  background: var(--themed-foreground);
  border-radius: 50%;
}

.link-icon svg {
  pointer-events: none;
  height: 4.8rem;
  width: 4.8rem;
  display: block;
  position: absolute;
  top: calc(50% - 2.4rem);
  left: calc(50% - 2.4rem);
}

.project-link:hover .link-icon::before {
  animation: circle-bounce 1.5s cubic-bezier(0.280, 0.840, 0.420, 1) forwards;  
}

.project-link:hover .link-icon svg {
  animation: arrow-right 0.38s ease-out 2;
}

.tags {
  display: flex;
  white-space: nowrap;
  flex-wrap: nowrap;
  margin-top: 1em;
  padding-top: 1em;
  position: relative;
}

.tags::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 0.1rem;
  width: 100%;
  background: currentColor;
  opacity: 0.25;
}

.tags li {
  font-family: 'Helvetica Now Text', Helvetica, Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.3;
  font-weight: 400;
  margin-right: 0.5rem;
  opacity: 0.7;
}

.tags li:not(:first-child)::before {
  content: '•';
  display: inline;
  margin-right: 0.5rem;
}

@media (max-width: 1199px) {
  .project-image {
    height: 375px;
  }
}

@media (min-width: 1200px) {
  .project-link {
    font-size: 2.8rem;
    font-size: clamp(2.4rem, calc(2.4rem + .83333vw - 12px), 2.8rem);
    line-height: 1.1;
  }
  
  .tags {
    margin-top: 2rem;
  }

  .tags li {
    font-size: 1.4rem;
  }
}
