/* =========================
          HOME PAGE
========================= */

.home-page {
  width: 100%;
}


/* =========================
          INTRO
========================= */

.home-intro {
  width: min(1280px, calc(100% - 80px));
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 0 36px;
  text-align: center;
}

.home-kicker {
  margin: 0 0 18px;
  font-size: var(--font-10);
  font-weight: 400;
  letter-spacing: 5px;
  color: var(--grey);
}

.home-title {
  margin: 0;
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--black);
}

.home-title-line {
  width: 130px;
  height: 2px;
  margin: 20px auto 24px;
  background: var(--accent);
}

.home-tagline {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 5px;
  color: var(--mid-grey);
}


/* =========================
       WELCOME IMAGE
========================= */

.welcome-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10%;
}

.welcome-image-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.welcome-image img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.26;
}


/* =========================
        EXPLORE WORK
========================= */

.explore-work-btn {
  position: absolute;
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%);

  display: inline-flex;
  align-items: center;
  gap: 18px;

  padding: 10px 0 8px;

  border-bottom: 1px solid var(--black);

  color: var(--black);
  text-decoration: none;

  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  white-space: nowrap;

  transition:
    color var(--motion-fast) ease,
    border-color var(--motion-fast) ease;
}

.explore-work-arrow {
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;

  transition:
    transform var(--motion-fast) ease;
}

.explore-work-btn:hover,
.explore-work-btn:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

.explore-work-btn:hover .explore-work-arrow,
.explore-work-btn:focus-visible .explore-work-arrow {
  transform: translateX(4px);
}

.explore-work-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 8px;
}


/* =========================
          RESPONSIVE
========================= */

@media (max-width: 1000px) {

  .home-intro {
    width: calc(100% - 50px);
  }

  .welcome-image {
    padding: 0 6%;
  }

}


@media (max-width: 760px) {

  .home-intro {
    width: calc(100% - 32px);
    padding: 44px 0 30px;
  }

  .home-kicker {
    font-size: var(--font-10);
    letter-spacing: 4px;
  }

  .home-title {
    font-size: clamp(44px, 11vw, 62px);
    letter-spacing: -1.5px;
  }

  .home-tagline {
    font-size: 11px;
    letter-spacing: 4px;
  }

  .welcome-image {
    padding: 0 24px;
  }

  .explore-work-btn {
    bottom: 6%;
    gap: 14px;
    font-size: 11px;
    letter-spacing: 3px;
  }

  .explore-work-arrow {
    font-size: 18px;
  }

}


@media (max-width: 520px) {

  .home-intro {
    padding: 38px 0 26px;
  }

  .home-kicker {
    margin-bottom: 14px;
    letter-spacing: 3px;
  }

  .home-title {
    font-size: clamp(40px, 12vw, 52px);
  }

  .home-title-line {
    width: 100px;
    margin: 16px auto 20px;
  }

  .home-tagline {
    font-size: 10px;
    letter-spacing: 3px;
  }

  .welcome-image {
    padding: 0 16px;
  }

  .welcome-image img {
    opacity: 0.30;
  }

  .explore-work-btn {
    position: static;
    transform: none;
    margin: 22px auto 0;
    width: fit-content;
  }

}


@media (prefers-reduced-motion: reduce) {

  .explore-work-btn,
  .explore-work-arrow {
    transition: none;
  }

}
