.careers-page {
  background: #fff
}

.careers-page .site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  background: #1260ab;
  border-bottom-color: transparent
}

.careers-page .site-header.scrolled {
  position: fixed;
  background: rgba(18, 96, 171, .97);
  box-shadow: 0 12px 35px rgba(4, 20, 31, .16);
  backdrop-filter: blur(12px)
}

.careers-page .main-nav a {
  color: #fff
}

.careers-page .main-nav a:hover,
.careers-page .main-nav a.is-active {
  color: #eab800
}

.careers-page .menu-button span {
  background: #fff
}

.careers-hero {
  position: relative;
  display: flex;
  align-items: center;
  height: 380px;
  padding-top: 80px;
  overflow: hidden;
  background: #000;
  color: #fff;
  isolation: isolate
}

.careers-hero:before {
  position: absolute;
  z-index: -1;
  inset: 80px 0 0;
  background: url('../images/figma-assets/about-hero-gradient.webp') 50% 43%/cover no-repeat;
  content: ""
}

.careers-hero>.container {
  padding-top: 38px
}

.careers-hero h1 {
  margin: 0 0 24px;
  font-size: 48px;
  font-weight: 700;
  line-height: 58px
}

.careers-hero p {
  margin: 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 27px
}

.culture-section,
.positions-section {
  padding: 112px 0
}

.culture-section,
.culture-section .container,
.culture-section .culture-card {
  background: #fff
}

.positions-section {
  background: #f3f4f4
}

.careers-section-heading {
  margin-bottom: 56px
}

.careers-eyebrow {
  margin: 0 0 24px;
  color: #eab800;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: .09em;
  text-transform: uppercase
}

.careers-section-heading h2 {
  margin: 0;
  color: #353536;
  font-size: 48px;
  font-weight: 700;
  line-height: 58px;
  letter-spacing: -.02em
}

.careers-section-heading>p:last-child:not(.careers-eyebrow) {
  margin: 24px 0 0;
  color: #636566;
  font-size: 18px;
  font-weight: 300;
  line-height: 27px
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px
}

.culture-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 32px;
  border: 1px solid #b9bbbc;
  border-radius: 20px;
  background: #fff;
  transition: border-color .25s ease, background-color .25s ease
}

.culture-card h3 {
  margin: 0;
  color: #353536;
  font-size: 20px;
  font-weight: 600;
  line-height: 26px
}

.culture-card p {
  margin: auto 0 0;
  color: #636566;
  font-size: 15px;
  font-weight: 300;
  line-height: 24px
}

.culture-card:hover {
  border-color: #eab800;
  background: #fffdf5
}

.positions-section .careers-section-heading {
  margin-bottom: 48px
}

.positions-list {
  display: grid;
  gap: 32px
}

.position-card {
  display: grid;
  grid-template-columns: minmax(360px, 560px) 1fr;
  gap: 40px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(24, 37, 49, .11)
}

.position-image {
  height: 220px;
  overflow: hidden;
  border-radius: 16px;
  background: #d8d9da
}

.position-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(.22, 1, .36, 1)
}

.position-card-driver .position-image img {
  object-position: center 38%
}

.position-card-local-driver .position-image img {
  object-position: center 46%
}

.position-card-drivers .position-image img {
  object-position: center 68%
}

.position-card-admin .position-image img {
  object-position: center 58%
}

.position-content {
  padding: 12px 36px 12px 0
}

.position-content h3 {
  margin: 0 0 18px;
  color: #353536;
  font-size: 28px;
  font-weight: 600;
  line-height: 34px
}

.position-content p {
  max-width: 590px;
  margin: 0 0 24px;
  color: #636566;
  font-size: 15px;
  font-weight: 300;
  line-height: 24px
}

.apply-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 24px;
  border-radius: 999px;
  background: #eab800;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  transition: background-color .22s ease, transform .18s ease
}

.apply-button:hover {
  background: #d5a700;
  transform: translateY(-1px)
}

.careers-page .site-footer {
  display: block;
  min-height: 520px
}

.careers-page .footer-column {
  opacity: 1;
  transform: none
}
/* Careers-only entrance motion */
.motion-ready .careers-hero h1,
.motion-ready .careers-hero p {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(.23, 1, .32, 1), transform 800ms cubic-bezier(.23, 1, .32, 1)
}

.motion-ready .careers-hero p {
  transition-delay: 110ms
}

.motion-ready .careers-hero.hero-visible h1,
.motion-ready .careers-hero.hero-visible p {
  opacity: 1;
  transform: none
}

.motion-ready .careers-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms cubic-bezier(.23, 1, .32, 1), transform 760ms cubic-bezier(.23, 1, .32, 1)
}

.motion-ready .careers-reveal.is-visible {
  opacity: 1;
  transform: none
}

.motion-ready .culture-card:nth-child(2),
.motion-ready .position-card:nth-child(2) {
  transition-delay: 55ms
}

.motion-ready .culture-card:nth-child(3),
.motion-ready .position-card:nth-child(3) {
  transition-delay: 110ms
}

.motion-ready .culture-card:nth-child(4),
.motion-ready .position-card:nth-child(4) {
  transition-delay: 165ms
}

@media(hover:hover) and (pointer:fine) {
  .culture-card:hover {
    transform: translateY(-3px)
  }
  .position-card:hover .position-image img {
    transform: scale(1.03)
  }
  .apply-button:active {
    transform: scale(.97)
  }
}

@media(max-width:980px) {
  .culture-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
  .position-card {
    grid-template-columns: 42% 1fr
  }
  .position-content {
    padding-right: 18px
  }
}

@media(max-width:760px) {
  .careers-page .main-nav {
    background: #1260ab
  }
  .careers-hero {
    height: 330px;
    padding-top: 72px
  }
  .careers-hero:before {
    inset: 72px 0 0
  }
  .careers-hero>.container {
    padding-top: 24px
  }
  .careers-hero h1 {
    font-size: 40px;
    line-height: 48px
  }
  .careers-hero p {
    max-width: 560px;
    font-size: 15px;
    line-height: 24px
  }
  .culture-section,
  .positions-section {
    padding: 72px 0
  }
  .careers-section-heading {
    margin-bottom: 38px
  }
  .careers-section-heading h2 {
    font-size: 36px;
    line-height: 44px
  }
  .careers-section-heading>p:last-child:not(.careers-eyebrow) {
    font-size: 16px;
    line-height: 24px
  }
  .culture-grid {
    grid-template-columns: 1fr
  }
  .culture-card {
    min-height: 210px
  }
  .position-card {
    grid-template-columns: 1fr;
    gap: 24px
  }
  .position-image {
    height: 230px
  }
  .position-content {
    padding: 0 8px 12px
  }
  .position-content h3 {
    font-size: 24px;
    line-height: 30px
  }
  .careers-page .site-footer {
    min-height: 0
  }
}

@media(prefers-reduced-motion:reduce) {
  .motion-ready .careers-hero h1,
  .motion-ready .careers-hero p,
  .motion-ready .careers-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 180ms ease
  }
  .culture-card,
  .position-image img,
  .apply-button {
    transition: none
  }
}

@media(max-width:760px) {
  .culture-section,
  .positions-section {
    padding: 64px 0
  }
  .careers-section-heading,
  .positions-section .careers-section-heading {
    margin-bottom: 36px
  }
  .careers-section-heading h2 {
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -.03em
  }
  .careers-section-heading>p:last-child:not(.careers-eyebrow) {
    margin-top: 24px;
    font-size: 16px;
    line-height: 25px
  }
}

.positions-title-mobile-break {
  display: none
}

@media(max-width:760px) {
  .positions-title-mobile-break {
    display: initial
  }
}
