/* The grain comes from the Sugar Bit foldout. Keep it behind the art and controls. */
.md-owner,
.ba-publication {
  position: relative;
  isolation: isolate;
}
.md-owner::before,
.ba-publication::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: url('https://dcts99982ui0s.cloudfront.net/images/cab7800f-14ea-4d7c-bc15-9e324b937e4d.webp') left top / 860px auto repeat;
  mix-blend-mode: multiply;
  opacity: .44;
}

/* The native yarn detail is lifted from the shoulder in the owner's guide photograph. */
.md-owner {
  background-color: #ebe1e8;
  background-image:
    url('https://dcts99982ui0s.cloudfront.net/images/c920c3e2-c62a-48be-ae5f-d402ea1321c2.webp'),
    url('https://dcts99982ui0s.cloudfront.net/images/c920c3e2-c62a-48be-ae5f-d402ea1321c2.webp'),
    linear-gradient(151deg, #e1ccdd 0%, #eadce9 28%, #f5ebe8 54%, #e7e0e9 75%, #d8dee5 100%);
  background-size: clamp(285px, 38vw, 640px) auto, clamp(225px, 27vw, 475px) auto, 100% 100%;
  background-position: right -6vw top -3rem, left -8vw bottom -3rem, center;
  background-repeat: no-repeat;
}

.md-owner :is(.md-plate figcaption, .md-browser-note, .md-directory span),
.md-owner .md-instructions li::before {
  color: #3c3742;
}

/* From the blue leather belt, through brand-book stock, into the blue denim study. */
.ba-publication {
  --founder-ink: #3b3446;
  background: #e6e8eb linear-gradient(169deg, #dae4ee 0%, #e6e9ec 18%, #f3e9e2 34%,
    #f1e7de 52%, #dee5ed 72%, #e5e8eb 86%, #e0d8df 100%);
}
.ba-publication :is(.ba-hero, .ba-vision, .ba-collabs) {
  background: transparent;
}
.ba-publication .ba-founder {
  position: relative;
  isolation: isolate;
  background-color: var(--founder-ink);
  background-image: url('https://dcts99982ui0s.cloudfront.net/images/cab7800f-14ea-4d7c-bc15-9e324b937e4d.webp');
  background-blend-mode: multiply;
  background-size: 750px auto;
}
.ba-founder::before,
.ba-founder::after {
  position: absolute;
  z-index: -1;
  inset-inline: 0;
  height: clamp(20px, 2.7vw, 44px);
  pointer-events: none;
  content: '';
  background: #39303c;
  -webkit-mask: url('https://dcts99982ui0s.cloudfront.net/images/397b8a1f-5088-45d5-9382-c27923c2c689.webp') center / 100% 100% no-repeat;
  mask: url('https://dcts99982ui0s.cloudfront.net/images/397b8a1f-5088-45d5-9382-c27923c2c689.webp') center / 100% 100% no-repeat;
}
.ba-founder::before { bottom: calc(100% - 1px); transform: scaleY(-1); }
.ba-founder::after { top: calc(100% - 1px); }

.ba-hero { position: relative; isolation: isolate; }
.ba-hero::after,
.ba-publication.ba-brief::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inline-size: clamp(62px, 8vw, 135px);
  aspect-ratio: 1;
  inset-inline-end: var(--ba-pad);
  top: clamp(18px, 2.5vw, 48px);
  background: url('https://dcts99982ui0s.cloudfront.net/images/c1152756-fe63-47d0-b99d-68e78165c74d.webp') center / contain no-repeat;
  opacity: .15;
  transform: rotate(-9deg);
}

/* The brief is the back leaf of the brand book. */
.ba-publication.ba-brief {
  background: #f1e9e0 linear-gradient(136deg, #f7ede2 0%, #efe8e6 43%, #e2e4eb 81%, #d6dee8 100%);
}
.ba-publication.ba-brief::after {
  top: clamp(104px, 12vw, 224px);
  inline-size: clamp(74px, 13vw, 213px);
  opacity: .12;
  transform: rotate(12deg);
}
@media (max-width: 750px) {
  .md-owner {
    background-size: 255px auto, 195px auto, 100% 100%;
    background-position: right -84px top 0, left -90px bottom 10px, center;
  }
  .ba-hero::after { top: 12px; inset-inline-end: 12px; inline-size: 52px; opacity: .11; }
  .ba-publication.ba-brief::after { top: 80px; inset-inline-end: 12px; inline-size: 66px; }
}
@media (forced-colors: active) {
  .md-owner, .ba-publication, .ba-publication.ba-brief, .ba-publication .ba-founder {
    background: Canvas;
    color: CanvasText;
  }
  .md-owner::before, .ba-publication::before, .ba-hero::after, .ba-publication.ba-brief::after,
  .ba-founder::before, .ba-founder::after { display: none; }
}
