/* Careers page — dark statement hero over a light call-to-action band. */

/* The site-wide exclusion blend turns the navbar grey against a mid-tone
   photo, so this page keeps it plain white with a scrim behind it. */
.navbar {
  mix-blend-mode: normal;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
}

.navbar_link,
.navbar .secondary-button_text {
  color: var(--secondary-color);
}

.navbar_button {
  border-color: rgba(255, 255, 255, .6);
}

.career_hero {
  background-color: var(--black-color);
  align-items: flex-end;
  width: 100%;
  height: 80vh;
  max-height: 80vh;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  position: relative;
  overflow: hidden;
}

.career_hero-bg {
  z-index: 0;
  position: absolute;
  inset: 0;
}

.career_hero-image {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  display: block;
}

/* A restrained lower scrim keeps the title legible without hiding the banner. */
.career_hero-overlay {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .16) 48%, rgba(0, 0, 0, .08) 100%);
  position: absolute;
  inset: 0;
}

.career_eyebrow {
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: .35em;
  margin-bottom: 1.6rem;
  font-family: "Century Gothic", sans-serif;
  font-size: .8rem;
  font-weight: 600;
}

.career_title {
  margin: 0;
  color: var(--secondary-color);
  opacity: 1 !important;
  visibility: visible !important;
  font-family: "Century Gothic", sans-serif;
  font-size: 4.4rem;
  font-weight: 900;
  line-height: 1.05;
}

.career_title-overlay {
  z-index: 10;
  position: absolute;
  right: auto;
  bottom: 4rem;
  left: max(5%, calc((100% - 80rem) / 2));
  display: block !important;
  transform: none !important;
}

.career_intro {
  padding-top: 5rem;
  padding-bottom: 0;
}

.career_subtext {
  color: rgba(44, 44, 44, .82);
  max-width: 52rem;
  font-family: "Century Gothic", sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
}

.career_subtext p {
  margin: 0;
}

.career_subtext p + p {
  margin-top: 1rem;
}

.career_subtext a {
  color: inherit;
  font: inherit;
  text-underline-offset: .2em;
}

/* SplitType line masks — the words rise out of these, as the hero does. */
.career_eyebrow .line,
.career_subtext .line {
  padding-bottom: .1rem;
  overflow: hidden;
}

.career_title .line {
  padding-bottom: .4rem;
  overflow: hidden;
}

.career_actions {
  padding-top: 3rem;
  padding-bottom: 6rem;
}

.career_buttons {
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  display: flex;
}

.career_button {
  border: 1px solid var(--primary-color);
  border-radius: .4rem;
  padding: .95rem 1.9rem;
  width: 12.5rem;
  min-height: 3.5rem;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  display: inline-flex;
  font-family: "Century Gothic", sans-serif;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .4s, color .4s, transform .4s, box-shadow .4s;
}

.career_button.is-primary {
  color: var(--secondary-color);
  background-color: var(--primary-color);
  box-shadow: 0 .8rem 1.6rem rgba(0, 0, 0, .18);
}

.career_button.is-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 1.1rem 2.2rem rgba(0, 0, 0, .24);
}

.career_button.is-secondary {
  color: var(--primary-color);
  background-color: rgba(0, 0, 0, 0);
  border-color: rgba(44, 44, 44, .35);
}

.career_button.is-secondary:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Compact footer: the homepage footer reveals itself over 200vh of scroll,
   which this page does not need. */
.footer.is-simple {
  min-height: auto;
  margin-top: 0;
}

.footer.is-simple .footer_wrapper {
  min-height: auto;
  position: static;
}

@media screen and (max-width: 991px) {
  .career_title {
    font-size: 3.4rem;
  }

  .career_hero {
    padding-top: 0;
    padding-bottom: 0;
  }

  .career_title-overlay {
    bottom: 3.5rem;
  }
}

@media screen and (max-width: 767px) {
  .career_title {
    font-size: 2.8rem;
  }

  .career_hero {
    padding-top: 0;
    padding-bottom: 0;
  }

  .career_title-overlay {
    bottom: 3rem;
  }

  .career_intro {
    padding-top: 4rem;
  }

  .career_actions {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media screen and (max-width: 479px) {
  .career_title {
    font-size: 2.3rem;
  }

  .career_buttons {
    flex-direction: column;
  }

  .career_button {
    width: 100%;
    text-align: center;
  }
}
