@font-face {
  font-family: 'RI Brand';
  src: url('../../assets/slow-life/anton-latin.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.frame .ri-wordmark {
  display: inline-block;
  padding: 10px 0 11px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #29251e;
  box-shadow: none;
  font-family: 'RI Brand', Impact, sans-serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.frame .frame__back,
.frame .frame__github,
.frame .frame__archive {
  align-self: center;
  color: #29251e;
  font-weight: 500;
}

.frame .frame__back:hover,
.frame .frame__github:hover,
.frame .frame__archive:hover {
  color: #000;
}

/* Promote only the currently visible scene, not all four full-screen layers. */
.hero.is-in-view picture,
.hero.is-in-view .radial-text-marquee > svg {
  will-change: transform;
}

.hero {
  contain: paint;
}

@media (max-width: 640px) {
  .frame .ri-wordmark {
    font-size: 20px;
    padding: 9px 0 10px;
  }
}
