/* Hero — staging .section-hero / .button-hero */

.hero {
  position: relative;
  display: flex;
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  /* Single viewport only — never grow with content */
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  min-height: 0;
  overflow: hidden;
  margin-top: -80px;
  padding-top: 0;
  color: #fff;
  background-image:
    linear-gradient(270deg, #0000 57%, #000c),
    image-set(
      url("../assets/clean/hero.webp") type("image/webp"),
      url("../assets/clean/hero.jpg") type("image/jpeg")
    );
  background-position: 0 0, 50%;
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
}

.hero__inner {
  width: 100%;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 80px 64px 52px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
}

.hero__title-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 720px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: 91px;
  font-weight: 400;
  line-height: 120%;
  margin: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.hero__lead {
  color: #fff;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 25px;
  font-weight: 400;
  margin: 0;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(27px);
  backdrop-filter: blur(27px);
  color: #e0bb7f;
  text-align: center;
  background-color: #e0bb7f1a;
  border: 1.5px solid #e0bb7f;
  border-radius: 9999px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 19.6px;
  transition: background-color 0.5s, color 0.5s, border-color 0.2s;
}

.hero__cta:hover,
.hero__cta:focus-visible,
.hero__cta:active {
  color: #121212;
  background-color: #e0bb7f;
  border-color: #e0bb7f;
}

/* Staging .button.scroll */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 3%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.hero__scroll img {
  width: 36px;
  height: 52px;
  display: block;
}

@media screen and (max-width: 991px) {
  .hero__inner {
    padding: 48px 32px;
  }
}

@media screen and (max-width: 767px) {
  .hero {
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    min-height: 0;
    align-items: center;
    justify-content: flex-start;
    background-image:
      linear-gradient(270deg, #0000 57%, #000c),
      image-set(
        url("../assets/clean/hero.webp") type("image/webp"),
        url("../assets/clean/hero.jpg") type("image/jpeg")
      );
    background-position: 0 0, 50%;
    background-repeat: repeat, no-repeat;
    background-size: auto, cover;
  }

  .hero__inner {
    height: 460px;
    padding: 32px 16px;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 32px;
    width: 100%;
    max-width: 100%;
  }

  .hero__title-block {
    gap: 24px;
    max-width: 100%;
    align-items: flex-start;
  }

  .hero__title {
    font-size: 52px;
    line-height: 120%;
  }

  .hero__lead {
    font-size: 20px;
    line-height: 25px;
    max-width: 22em;
  }

  .hero__cta {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
    box-sizing: border-box;
    font-size: 18px;
    padding: 13px 16px;
  }

  .hero__scroll {
    bottom: 3%;
  }

  .hero__scroll img {
    width: 36px;
    height: 52px;
  }
}

@media screen and (max-width: 479px) {
  .hero__inner {
    height: 544px;
  }
  .hero__title {
    font-size: 52px;
  }
  .hero__lead {
    white-space: nowrap;
  }
}
