

.work-page .site-header__nav a {
  color: var(--color-content-subdued-dark);
}

.work-page .site-header__nav a.is-active {
  color: var(--color-white);
}

.work-page {
  --about-subhero-stacked-gap: var(--spacing-2xl);
}

.work-page .subhero__line-1,
.subhero--work .subhero__line-1 {
  margin-top: 5px;
  width: 242px;
}

.work-page .subhero__arrow,
.subhero--work .subhero__arrow {
  margin-left: 210px;
  margin-top: 50px;
}

.work-page .subhero__heading-word,
.subhero--work .subhero__heading-word {
  display: inline-block;
  white-space: nowrap;
}

.work-page .subhero__line-2 > .subhero__heading-word:nth-of-type(1),
.subhero--work .subhero__line-2 > .subhero__heading-word:nth-of-type(1) {
  transform: translateY(4px);
}

.work-page .subhero__line-2 > .subhero__heading-word:nth-of-type(2),
.subhero--work .subhero__line-2 > .subhero__heading-word:nth-of-type(2) {
  padding-top: 9px;
}

.work-page .subhero__line-2,
.subhero--work .subhero__line-2 {
  margin-left: 128px;
  margin-top: 0;
  width: 334px;
}

.work-subtitle {
  display: none;
}

.work-page .cases__grid {
  grid-template-rows: auto;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .work-page .subhero,
  .subhero--work {
    height: 420px;
  }

  .work-page .subhero__stripes,
  .subhero--work .subhero__stripes {
    left: var(--pad-section-x);
    right: var(--pad-section-x);
    top: 0;
    height: 300px;
  }

  .work-page .subhero__content,
  .subhero--work .subhero__content {
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0;
  }

  .work-page .subhero__arrow,
  .subhero--work .subhero__arrow {
    margin-top: 50.25px;
  }

  .work-page .subhero .subhero__subtitle,
  .subhero--work .subhero__subtitle {
    display: none;
  }

  .work-page .work-subtitle {
    display: block;
    background-color: var(--color-black);
    padding: var(--section-padding-y) var(--pad-section-x) 0;
    font-family: var(--type-h5g-family);
    font-size: var(--type-h5g-size);
    font-weight: var(--type-h5g-weight);
    line-height: var(--type-h5g-line-height);
    letter-spacing: var(--type-h5g-letter-spacing);
    color: var(--color-white);
  }

  .work-page .work-subtitle > p {
    margin: 0;
    width: min(563px, 100%);
  }

  .work-page .cases {
    padding-top: 56px;
  }
}
