.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 30px;
  width: 100%;
  height: 85vh;
  padding: 0 56px 56px;
  overflow: hidden;
  background: #000;
  color: #e4e6f3;
  font-family: "Satoshi", sans-serif;
}

.hero__content {
  display: flex;
  grid-column: 3 / span 7;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  height: 100%;
  padding-top: clamp(72px, 10vh, 102px);
}

.hero__headline {
  width: 100%;
  margin: 0;
  color: inherit;
  font-size: clamp(3.25rem, 4.31vw, 4.75rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
  opacity: 0.9;
}

#hero-heading {
  max-width: 90%;
}

.hero__headline-line {
  display: block;
  will-change: transform, opacity;
}

.hero__headline-mask-line-mask {
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: max-content;
  max-width: 100%;
  padding-bottom: 10px;
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(#1e83f4, #1e83f4);
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: 0 5px, 100% 5px;
  color: inherit;
  font-size: clamp(2.5rem, 3.34vw, 3.625rem);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background-size 0.55s cubic-bezier(.22, 1, .36, 1);
}

.hero__cta:hover,
.hero__cta:focus-visible {
  background-size: 100% 5px, 100% 5px;
}

.hero__cta-label {
  display: block;
}

.hero__image-frame {
  grid-column: 10 / span 3;
  align-self: end;
  width: 100%;
  height: min(68vh, 720px);
  margin: 0;
  padding-top: 30%;
  overflow: hidden;
}

.hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
}

.hero__scroll-indicator {
  grid-column: 1 / span 2;
  grid-row: 1;
  align-self: end;
  justify-self: start;
  width: 108px;
  height: 108px;
  color: #1e83f4;
}

@media (min-width: 2100px) {
  .hero__image-frame {
    padding-top: 3rem;
  }
}

@media (max-width: 1439px) {
  .hero {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px 30px;
    height: auto;
    padding: 64px 40px 56px;
    overflow: visible;
  }

  .hero__content {
    grid-column: 1 / -1;
    height: auto;
    padding-top: 0;
  }

  .hero__headline {
    font-size: clamp(2.875rem, 5.4vw, 3.625rem);
  }

  .hero__cta {
    margin-top: 48px;
    font-size: clamp(2.375rem, 4.7vw, 3.125rem);
  }

  .hero__image-frame {
    grid-column: 1 / span 2;
    grid-row: 2;
    width: 100%;
    height: auto;
    padding-top: 0;
    aspect-ratio: 3 / 4;
  }

  .hero__scroll-indicator {
    grid-column: 3;
    grid-row: 2;
    align-self: end;
    justify-self: end;
  }
}

@media (max-width: 809px) {
  .hero {
    gap: 36px 10px;
    padding: 50px 20px 36px;
  }

  .hero__headline {
    font-size: 1.8rem;
  }

  .hero__cta {
    margin-top: 40px;
    padding-bottom: 9px;
    background-size: 0 4px, 100% 4px;
    font-size: var(--font-size-medium);
  }

  .hero__cta:hover,
  .hero__cta:focus-visible {
    background-size: 100% 4px, 100% 4px;
  }

  .hero__scroll-indicator {
    width: 64px;
    height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__cta {
    transition: none;
  }

  .hero__image {
    clip-path: none;
  }
}
