.image-with-background {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  background-attachment: fixed;
}

.about-page-bleed-border {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 80px);
  height: calc(100% - 80px);
}

.image-with-background .detail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.image-with-background .detail .corner {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 1px solid #fff;
}
.image-with-background .detail div:nth-child(1) {
  border-width: 0 1px 1px 0;
}
.image-with-background .detail div:nth-child(2) {
  right: 0px;
  border-width: 0 0 1px 1px;
}
.image-with-background .detail div:nth-child(3) {
  bottom: 0px;
  right: 0px;
  border-width: 1px 0 0 1px;
}
.image-with-background .detail div:nth-child(4) {
  bottom: 0px;
  border-width: 1px 1px 0 0;
}
.image-with-background .detail div:nth-child(5) {
  left: 20px;
}
.image-with-background .detail div:nth-child(6) {
  right: 0px;
}
.image-with-background .cross {
  position: absolute;
  top: 50%;
  height: 8px;
  width: 8px;
  border: 0 solid #fff;
}
.image-with-background .cross div:first-child {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
}
.image-with-background .cross div:last-child {
  left: 50%;
  transform: translate(-50%, 0);
  top: 0;
  position: absolute;
  width: 1px;
  height: 100%;
  background-color: #fff;
}
.image-with-background .detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: absolute;
  left: 40px;
  top: 50%;
  transform-origin: center center;
  transform: translate(-50%, -50%) rotate(-90deg);
  font-family: bulk sans;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-size: 10px;
  color: #fff;
}
.image-with-background .highlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: auto 96%;
  background-image: url("/images/pro-detail-white.png");
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.7;
  z-index: 1;
}

.image-with-background.dark {
  background-color: var(--clr-black);
}
.image-with-background.dark .detail .corner {
  border-color: var(--clr-white);
}
.image-with-background.dark .detail .cross div:first-child, .image-with-background.dark .detail .cross div:last-child {
  border-color: var(--clr-white);
}
.image-with-background.dark .detail-copy {
  color: var(--clr-white);
}

.image-with-background.gray {
  background-color: #e7e7e7;
}
.image-with-background.gray .highlight {
  display: none;
}
.image-with-background.gray .detail .corner {
  border-color: #404040;
}
.image-with-background.gray .detail .cross div:first-child, .image-with-background.gray .detail .cross div:last-child {
  background-color: #404040;
}
.image-with-background.gray .detail-copy {
  color: #404040;
}

.about-page-bleed-image {
  z-index: 2;
  position: relative;
}
.about-page-bleed-image img {
  width: calc(100% - 150px);
  height: calc(100% - 150px);
  margin: 75px 75px;
}

@media (max-width: 768px) {
  .image-with-background .detail-copy {
    left: 15px;
    font-size: 6px;
    letter-spacing: 3px;
  }
  .about-page-bleed-image img {
    width: calc(100% - 50px);
    height: calc(100% - 50px);
    margin: 25px 25px;
  }
  .about-page-bleed-border {
    width: calc(100% - 10px);
    height: calc(100% - 10px);
  }
}