@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-side-in {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hero-tag-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-detail-in {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hero-line-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes hero-cursor-blink {
  0%, 45% {
    opacity: 1;
  }
  46%, 100% {
    opacity: 0;
  }
}

.hero-line {
  display: block;
}

.hero-copy > .eyebrow,
.hero-line,
.hero-proof,
.hero-copy > .button,
.hero-side,
.hero-side .label,
.hero-side li,
.keywords span {
  opacity: 0;
}

.hero-copy > .eyebrow {
  animation: hero-rise .58s cubic-bezier(.22,.8,.22,1) .04s both;
}

.hero-line-one {
  animation: hero-rise .7s cubic-bezier(.22,.8,.22,1) .14s both;
}

.hero-line-two {
  animation: hero-rise .7s cubic-bezier(.22,.8,.22,1) .25s both;
}

.hero-type-line {
  display: block;
  color: #fff;
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.02em;
  min-height: 1.5em;
  margin-top: 18px;
  max-width: 650px;
}

.hero-cursor {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 4px;
  background: var(--mint);
  vertical-align: -.12em;
  animation: hero-cursor-blink .76s steps(1,end) infinite;
}

.hero-proof {
  animation: hero-rise .68s cubic-bezier(.22,.8,.22,1) 1.9s both;
}

.hero-copy > .button {
  animation: hero-rise .65s cubic-bezier(.22,.8,.22,1) 2.04s both;
}

.hero-side {
  position: relative;
  border-top: 0;
  padding-top: 24px;
  animation: hero-side-in .78s cubic-bezier(.22,.8,.22,1) .34s both;
}

.hero-side::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #4d5c70;
  transform: scaleX(0);
  transform-origin: left center;
  animation: hero-line-grow .65s cubic-bezier(.22,.8,.22,1) .52s both;
}

.hero-side .label {
  animation: hero-detail-in .5s cubic-bezier(.22,.8,.22,1) .66s both;
}

.hero-side li {
  animation: hero-detail-in .48s cubic-bezier(.22,.8,.22,1) both;
}

.hero-side li:nth-child(1) {
  animation-delay: .78s;
}

.hero-side li:nth-child(2) {
  animation-delay: .89s;
}

.hero-side li:nth-child(3) {
  animation-delay: 1s;
}

.hero-side li:nth-child(4) {
  animation-delay: 1.11s;
}

.keywords span {
  display: inline-block;
  animation: hero-tag-in .48s cubic-bezier(.22,.8,.22,1) both;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.keywords a:nth-child(1) span {
  animation-delay: 1.22s;
}

.keywords a:nth-child(2) span {
  animation-delay: 1.31s;
}

.keywords a:nth-child(3) span {
  animation-delay: 1.4s;
}

.keywords a:hover span,
.keywords a:focus-visible span {
  transform: translateY(-3px);
  border-color: var(--mint);
  background: rgba(105,220,197,.08);
}

.hero {
  align-items: center;
}

#work,
#library,
#about {
  padding-top: 104px;
}

@media (min-width: 951px) {
  .hero {
    padding-block: 64px 72px;
  }

  .hero-side {
    margin-top: 36px;
    margin-bottom: 0;
  }
}

@media (min-width: 651px) {
  .about {
    align-items: center;
  }
}

@media (max-width: 950px) {
  .hero {
    align-items: stretch;
  }
}

@media (max-width: 650px) {
  #work,
  #library,
  #about {
    padding-top: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy > .eyebrow,
  .hero-line,
  .hero-proof,
  .hero-copy > .button,
  .hero-side,
  .hero-side .label,
  .hero-side li,
  .keywords span {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-cursor {
    display: none;
  }

  .hero-side::before {
    animation: none;
    transform: scaleX(1);
  }
}
