.gp-hero {
  position: relative;
  width: 100vw;
  height: 900px;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: #1f2424;
  color: #fff;
}

.gp-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.gp-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.gp-hero__slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gp-hero__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 17, 17, .39);
}

.gp-hero__content {
  width: min(1040px, calc(100% - 170px));
  text-align: center;
  transform: translateY(30px);
}

.gp-hero__content h1 {
  margin: 0 0 22px;
  color: #fff;
  font: 300 clamp(54px, 4.3vw, 90px)/1.08 Raleway, sans-serif;
  letter-spacing: 0;
}

.gp-hero__content p {
  max-width: 1000px;
  margin: 0 auto 48px;
  color: #fff;
  font: 400 16px/2 "Open Sans", sans-serif;
}

.gp-hero__button {
  display: inline-flex;
  min-width: 172px;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  background: #fff;
  color: #252525;
  font: 700 13px/1 "Open Sans", sans-serif;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease;
}

.gp-hero__button:hover {
  background: #c7a66b;
  color: #fff;
}

.gp-hero__nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 60px;
  display: grid;
  gap: 22px;
  transform: translateY(-50%);
}

.gp-hero__nav button {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: 700 16px/1 Raleway, sans-serif;
  cursor: pointer;
}

.gp-hero__nav button::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 1px;
  margin-left: 12px;
  vertical-align: middle;
  background: #fff;
  transition: width .2s ease;
}

.gp-hero__nav button.is-active::after { width: 30px; }

@media (max-width: 767px) {
  .gp-hero { height: 660px; }
  .gp-hero__content { width: calc(100% - 44px); transform: translateY(45px); }
  .gp-hero__content h1 { margin-bottom: 18px; font-size: 44px; }
  .gp-hero__content p { margin-bottom: 32px; font-size: 14px; line-height: 1.7; }
  .gp-hero__nav { top: auto; bottom: 24px; left: 24px; display: flex; transform: none; }
  .gp-hero__nav button::after { display: none; }
  .gp-hero__nav button { opacity: .55; }
  .gp-hero__nav button.is-active { opacity: 1; }
}

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