.be-editorial {
  --be-gutter: clamp(1rem, 5vw, 5.5rem);
}

.be-spread {
  width: min(calc(100% - var(--be-gutter) * 2), 88rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(.75rem, 2.15vw, 2.5rem);
  min-width: 0;
}

.be-spread .be-image {
  margin: 0;
  min-width: 0;
}

.be-image :is(img, picture, .be-screen, .be-crop) {
  display: block;
  width: 100%;
}
.be-image img { height: auto; }

.be-image :is(picture, .be-screen) { position: relative; }

.be-image figcaption {
  margin-top: .9rem;
}

.be-editorial :is(.be-text-link, figcaption a) {
  display: inline-block;
  padding-block: .35rem;
  text-underline-offset: .35em;
  text-decoration: underline;
}

.be-editorial a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.be-copy {
  min-width: 0;
  --portfolio-heading-size: clamp(2.4rem, 4.65vw, 4.4rem);
  --portfolio-heading-leading: .98;
}

.be-copy h2 {
  margin: .7rem 0 1.05rem;
}

.be-copy p:last-of-type {
  max-width: 37ch;
  margin: 0;
}

.be-copy .case-intro-kicker {
  margin: 0;
}

.be-opening {
  align-items: end;
  row-gap: clamp(2.25rem, 6vw, 5.75rem);
}

.be-opening-photo {
  grid-column: 1 / 11;
  grid-row: 1;
}
.be-opening-photo img {
  aspect-ratio: 1.87;
  height: auto;
  object-fit: cover;
  object-position: 50% 46%;
}

.be-opening-copy {
  grid-column: 8 / -1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  padding: clamp(1.2rem, 3.25vw, 3.5rem) 0 0 clamp(1.2rem, 3.25vw, 3.5rem);
  margin-bottom: clamp(-3rem, -2.3vw, -1rem);
  background: var(--portfolio-paper);
}

.be-opening-screen {
  grid-column: 2 / 9;
  grid-row: 2;
}
.be-opening-screen img {
  aspect-ratio: 1440 / 585;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--portfolio-line);
}

.be-mortgage {
  align-items: start;
  margin-top: clamp(5rem, 11vw, 11rem);
  margin-bottom: clamp(5rem, 11vw, 10rem);
}

.be-mortgage-copy {
  grid-column: 2 / 6;
  grid-row: 1;
  align-self: start;
  padding-top: clamp(.5rem, 4vw, 3.5rem);
}

.be-mortgage-photo {
  grid-column: 6 / -1;
  grid-row: 1;
}
.be-mortgage-photo img {
  aspect-ratio: 1.48;
  object-fit: cover;
  object-position: 38% 52%;
}

.be-spread .be-mortgage-screen {
  grid-column: 1 / 9;
  grid-row: 2;
  z-index: 1;
  margin-top: clamp(-7rem, -7vw, -3rem);
}
.be-mortgage-screen picture {
  background: var(--portfolio-paper);
  outline: 1px solid var(--portfolio-line);
  box-shadow: 1.9rem -1.5rem 0 var(--portfolio-paper);
}

.be-ref-focus,
.be-zus-focus {
  position: absolute;
  pointer-events: none;
  outline: 2px solid #c7a16b;
  outline-offset: 2px;
}

.be-ref-focus {
  inset: 85.6% auto auto 10.4%;
  width: 14.5%;
  height: 7.55%;
}

.be-workplace {
  background: var(--portfolio-paper);
  padding-block: clamp(3rem, 7.5vw, 8rem);
}

.be-workplace-grid {
  align-items: center;
  row-gap: 1.75rem;
}

.be-workplace-copy {
  grid-column: 1 / 5;
  grid-row: 1;
  position: relative;
  z-index: 1;
}

.be-workplace-copy .be-text-link {
  margin-top: 1.35rem;
}

.be-workplace-photo {
  grid-column: 5 / 12;
  grid-row: 1;
  outline: 1px solid var(--portfolio-line);
}
.be-workplace-photo img {
  aspect-ratio: 1.4;
  object-fit: cover;
  object-position: 50% 58%;
}

.be-workplace-screen {
  grid-column: 10 / -1;
  grid-row: 1;
  align-self: end;
  position: relative;
  z-index: 1;
  box-shadow: 0 1.25rem 2rem #1b191821;
}
.be-workplace-screen .be-screen { outline: 1px solid var(--portfolio-line); }
.be-workplace-screen figcaption {
  position: absolute;
  top: 100%;
  right: 0;
  text-align: right;
}
.be-zus-focus {
  inset: 69.5% auto auto 3.6%;
  width: 73.8%;
  height: 8.4%;
}

@media (max-width: 1060px) and (min-width: 701px) {
  .be-opening-copy { grid-column-start: 7; }
  .be-opening-screen { grid-column: 1 / 10; }
  .be-mortgage-copy { grid-column-start: 1; }
  .be-spread .be-mortgage-screen { grid-column-end: 10; }
  .be-workplace-copy { grid-column-end: 6; }
  .be-workplace-photo { grid-column-start: 6; }
  .be-workplace-screen { grid-column-start: 10; }
}

@media (max-width: 700px) {
  .be-editorial { --be-gutter: clamp(1rem, 4.6vw, 2rem); }

  .be-spread {
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(1.15rem, 5vw, 2rem);
  }

  .be-spread > * {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .be-copy { --portfolio-heading-size: clamp(2.3rem, 9vw, 3.4rem); }

  .be-opening-photo img {
    aspect-ratio: 4 / 4.7;
    object-position: 47% center;
  }

  .be-opening-copy {
    margin: -3.2rem 0 0 auto;
    padding: 1.25rem 0 0 1.25rem;
    width: min(95%, 26rem);
  }

  .be-opening-screen {
    width: min(84%, 22rem);
    justify-self: end;
  }
  .be-opening-screen img {
    aspect-ratio: 390 / 413;
  }

  .be-mortgage-copy {
    padding: 0;
    margin-left: .7rem;
  }

  .be-mortgage-photo {
    width: 93%;
  }
  .be-mortgage-photo img {
    aspect-ratio: 1.35;
    object-position: 32% 48%;
  }
  .be-spread .be-mortgage-screen {
    grid-column: 1 / -1;
    grid-row: auto;
    width: min(76%, 21rem);
    justify-self: end;
    margin-top: -2.7rem;
  }
  .be-mortgage-screen picture {
    box-shadow: -.7rem -.7rem 0 var(--portfolio-paper);
  }
  .be-ref-focus {
    inset: 75.1% auto auto 3.6%;
    width: 53%;
    height: 8.4%;
  }

  .be-workplace {
    padding-bottom: 4rem;
  }
  .be-workplace-copy {
    margin-inline: .7rem;
  }
  .be-workplace-photo img {
    aspect-ratio: 1.33;
    object-position: 58% 50%;
  }
  .be-workplace-screen {
    width: min(69%, 18rem);
    justify-self: end;
    margin-top: -3rem !important;
    margin-right: .65rem !important;
  }
}
