.tpm-home-hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: calc(100vh - var(--tpm-header-offset));
  min-height: calc(100svh - var(--tpm-header-offset));
  overflow: hidden;
  overflow-x: clip;
  background: #071b1d;
  color: var(--tpm-white);
  isolation: isolate;
  --tpm-hero-content-left: max(144px, calc((100% - 1180px) / 2 + 96px));
  --tpm-hero-nav-edge: max(34px, calc((100% - 1280px) / 2));
  --tpm-hero-nav-size: 52px;
}

.tpm-home-hero__slides,
.tpm-home-hero__slide,
.tpm-home-hero__shade {
  position: absolute;
  inset: 0;
}

.tpm-home-hero__slide {
  z-index: 0;
  overflow: hidden;
  background-position: center center;
  background-size: cover;
  opacity: 0;
  transform: none;
  transition: opacity 560ms ease;
}

.tpm-home-hero__slide:nth-child(2) {
  background-position: center center;
}

.tpm-home-hero__slide:nth-child(3) {
  background-position: center 44%;
}

.tpm-home-hero__slide.is-active {
  z-index: 1;
  opacity: 1;
}

.tpm-home-hero__slide.is-exiting {
  z-index: 2;
  opacity: 1;
}

.tpm-home-hero__shade {
  background:
    linear-gradient(90deg, rgba(3, 16, 18, 0.76) 0%, rgba(3, 16, 18, 0.42) 46%, rgba(3, 16, 18, 0.2) 100%),
    linear-gradient(0deg, rgba(3, 16, 18, 0.56) 0%, rgba(3, 16, 18, 0.1) 58%);
}

.tpm-home-hero__content {
  position: absolute;
  z-index: 2;
  left: var(--tpm-hero-content-left);
  bottom: 74px;
  width: min(760px, calc(100% - var(--tpm-hero-content-left) - 72px));
}

.tpm-home-hero__eyebrow {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  margin: 0 0 14px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  background: transparent !important;
  color: var(--tpm-white) !important;
  font-size: 10px !important;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: none;
  box-shadow: none;
}

.tpm-home-hero h1,
.tpm-home-hero__title,
.tpm-matriz .tpm-home-hero__title {
  max-width: 860px;
  margin: 0;
  color: var(--tpm-white) !important;
  font-family: var(--tpm-font-body);
  font-size: clamp(38px, 5vw, 66px) !important;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.07;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.36);
}

.tpm-home-hero h1 span {
  display: block;
  color: var(--tpm-white) !important;
}

.tpm-home-hero__copy {
  width: min(600px, 100%);
  margin: 20px 0 0;
  color: var(--tpm-white) !important;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.34);
}

.tpm-home-hero__cta {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
  padding: 0 28px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: var(--tpm-pink);
  color: var(--tpm-white) !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.tpm-home-hero__cta:hover,
.tpm-home-hero__cta:focus-visible,
.tpm-matriz .tpm-home-hero__cta:hover,
.tpm-matriz .tpm-home-hero__cta:focus-visible {
  border-color: rgba(255, 255, 255, 0.92);
  background: var(--tpm-teal);
  color: var(--tpm-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.tpm-home-hero__slide.is-active .tpm-home-hero__eyebrow,
.tpm-home-hero__slide.is-active h1,
.tpm-home-hero__slide.is-active .tpm-home-hero__copy,
.tpm-home-hero__slide.is-active .tpm-home-hero__cta {
  animation: tpm-hero-rise 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.tpm-home-hero__slide.is-active h1 {
  animation-delay: 120ms;
}

.tpm-home-hero__slide.is-active .tpm-home-hero__copy {
  animation-delay: 230ms;
}

.tpm-home-hero__slide.is-active .tpm-home-hero__cta {
  animation-delay: 330ms;
}

.tpm-home-hero__slide.is-exiting .tpm-home-hero__eyebrow,
.tpm-home-hero__slide.is-exiting h1,
.tpm-home-hero__slide.is-exiting .tpm-home-hero__copy,
.tpm-home-hero__slide.is-exiting .tpm-home-hero__cta {
  animation: tpm-hero-out 300ms ease both;
}

.tpm-home-hero__chrome {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.tpm-home-hero__nav {
  position: absolute;
  display: flex;
  top: 50%;
  right: var(--tpm-hero-nav-edge);
  left: var(--tpm-hero-nav-edge);
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.tpm-home-hero__nav button,
.tpm-matriz .tpm-home-hero__nav button,
.tpm-matriz button[data-tpm-hero-prev],
.tpm-matriz button[data-tpm-hero-next] {
  appearance: none !important;
  -webkit-appearance: none !important;
  box-sizing: border-box !important;
  display: grid !important;
  flex: 0 0 var(--tpm-hero-nav-size) !important;
  width: var(--tpm-hero-nav-size) !important;
  min-width: var(--tpm-hero-nav-size) !important;
  max-width: var(--tpm-hero-nav-size) !important;
  height: var(--tpm-hero-nav-size) !important;
  min-height: var(--tpm-hero-nav-size) !important;
  max-height: var(--tpm-hero-nav-size) !important;
  aspect-ratio: 1 / 1 !important;
  align-items: center;
  justify-content: center;
  place-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  border-radius: 50% !important;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--tpm-white) !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: none !important;
  cursor: pointer;
  pointer-events: auto;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.tpm-home-hero__nav button::before {
  display: block !important;
  color: inherit !important;
  font-family: Arial, sans-serif !important;
  font-size: 30px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  transform: translateY(-1px);
}

.tpm-home-hero__nav button::after {
  content: none !important;
}

.tpm-home-hero__nav button[data-tpm-hero-prev]::before {
  content: "\2039" !important;
}

.tpm-home-hero__nav button[data-tpm-hero-next]::before {
  content: "\203A" !important;
}

.tpm-home-hero__nav button i {
  display: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  color: inherit !important;
  font-size: 16px !important;
  line-height: 1 !important;
}

.tpm-home-hero__nav button:hover,
.tpm-home-hero__nav button:focus-visible,
.tpm-matriz .tpm-home-hero__nav button:hover,
.tpm-matriz .tpm-home-hero__nav button:focus-visible {
  border-color: var(--tpm-pink) !important;
  background: var(--tpm-pink) !important;
  background-color: var(--tpm-pink) !important;
  color: var(--tpm-white) !important;
  transform: translateY(-2px);
}

@media (max-width: 1060px) {
  .tpm-home-hero h1,
  .tpm-home-hero__title,
  .tpm-matriz .tpm-home-hero__title {
    max-width: min(700px, 100%);
    font-size: clamp(38px, 6vw, 58px) !important;
  }
}

@media (max-width: 860px) {
  .tpm-home-hero {
    min-height: calc(100svh - 108px);
    --tpm-hero-nav-size: 46px;
  }

  .tpm-home-hero__content {
    left: 30px;
    bottom: 132px;
    width: min(620px, calc(100% - 60px));
  }

  .tpm-home-hero__eyebrow {
    min-height: 24px;
    padding: 0 10px;
    font-size: 9px !important;
  }

  .tpm-home-hero h1,
  .tpm-home-hero__title,
  .tpm-matriz .tpm-home-hero__title {
    max-width: min(590px, 100%);
    font-size: clamp(36px, 8vw, 48px) !important;
    line-height: 1.12;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
  }

  .tpm-home-hero__copy {
    width: min(560px, 100%);
    font-size: 17px;
  }

  .tpm-home-hero__nav {
    inset: auto auto 62px 30px;
    justify-content: flex-start;
    gap: 10px;
    transform: none;
  }
}

@media (max-width: 560px) {
  .tpm-home-hero {
    min-height: calc(100svh - 100px);
    --tpm-hero-nav-size: 42px;
  }

  .tpm-home-hero__shade {
    background:
      linear-gradient(90deg, rgba(3, 16, 18, 0.78) 0%, rgba(3, 16, 18, 0.46) 70%, rgba(3, 16, 18, 0.24) 100%),
      linear-gradient(0deg, rgba(3, 16, 18, 0.68) 0%, rgba(3, 16, 18, 0.14) 62%);
  }

  .tpm-home-hero__content {
    bottom: 126px;
    left: 26px;
    width: calc(100% - 52px);
  }

  .tpm-home-hero__eyebrow {
    margin-bottom: 12px;
    max-width: 100%;
    white-space: normal;
  }

  .tpm-home-hero h1,
  .tpm-home-hero__title,
  .tpm-matriz .tpm-home-hero__title {
    max-width: 100%;
    font-size: clamp(30px, 9vw, 36px) !important;
    line-height: 1.14;
    letter-spacing: 0;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
  }

  .tpm-home-hero__copy {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.46;
  }

  .tpm-home-hero__cta {
    min-height: 48px;
    margin-top: 22px;
    padding-right: 18px;
    padding-left: 18px;
    font-size: 12px;
    white-space: normal;
  }

  .tpm-home-hero__nav {
    inset: auto auto 58px 26px;
    justify-content: flex-start;
    gap: 10px;
    transform: none;
  }
}

