.careers-back {
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}
.careers-back:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.careers-hero,
.apply-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 100px);
  padding-block: clamp(42px, 5.5vw, 90px);
}
.careers-hero h1 {
  margin: 0;
  font: 800 clamp(68px, 7.6vw, 126px) / 0.87 var(--display);
  text-transform: uppercase;
  letter-spacing: -0.035em;
}
.careers-hero h1 em {
  color: var(--rust);
}
.careers-hero p:not(.eyebrow),
.roles-intro,
.apply-section p:not(.eyebrow) {
  max-width: 470px;
  color: #485450;
}
.careers-hero img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 270px;
  max-height: 405px;
  object-fit: cover;
}
.roles-section {
  background: #e9e1d2;
  padding-block: clamp(45px, 5vw, 84px);
  border-block: 1px solid var(--line);
}
.roles-intro {
  max-width: 620px;
  margin-bottom: 26px;
}
.role {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 8%;
  padding-block: 30px;
  border-top: 1px solid #b9ac96;
}
.role:last-child {
  padding-bottom: 0;
}
.role h3 {
  margin: 0;
}
.role .eyebrow {
  margin: 0 0 10px;
}
.role-meta {
  color: #56605c;
  font-size: 14px;
}
.role > div > p:first-child:not(.eyebrow) {
  margin-top: 0;
}
.role p {
  max-width: 650px;
}
.role .small-link {
  margin-top: 3px;
}
.apply-section {
  align-items: start;
}
.app-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
#application-form[hidden],
#application-status:empty {
  display: none;
}
#application-status {
  margin: 12px 0;
  overflow-wrap: anywhere;
}
#application-form .button {
  justify-self: start;
}
@media (max-width: 680px) {
  .careers-hero,
  .apply-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .careers-hero img {
    min-height: 0;
    height: auto;
    max-height: 290px;
  }
  .role {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-block: 24px;
  }
  .role-meta {
    margin-block: 7px 11px;
  }
  .app-pair {
    grid-template-columns: 1fr;
  }
}

.role-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
}
