/* Collectible covers. Each print is drawn inside its own clipped coordinate space. */
.cover {
  --paper: #c1ddbc;
  --ink: #163d34;
  position: relative;
  display: block;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.85;
  color: var(--ink);
  background-color: var(--paper);
}

.cover .art-shape,
.cover .art-shape::before,
.cover .art-shape::after,
.cover::before,
.cover::after {
  position: absolute;
  pointer-events: none;
}

.cover .art-shape { display: block; }
.cover .art-shape::before, .cover .art-shape::after,
.cover::before, .cover::after { content: ""; }

.cover .edition, .cover .cover-title {
  position: absolute;
  left: 6%;
  z-index: 2;
  font-family: "IBM Plex Mono", Consolas, "Courier New", monospace;
  line-height: 1.15;
  color: var(--ink);
  text-transform: uppercase;
}

.cover .edition {
  text-transform: none;
  top: 11%;
  max-width: 58%;
  font-size: clamp(9px, .68vw, 12px);
  font-weight: 650;
  letter-spacing: .11em;
}

.cover .cover-title {
  bottom: 10%;
  font-size: clamp(12px, 1.1vw, 17px);
  font-weight: 650;
  letter-spacing: -.035em;
}

/* A bent field of green contours appears to emerge from the sheet. */
.cover.mint {
  background-image:
    linear-gradient(90deg, transparent 20.8%, #47735535 21%, transparent 21.2%),
    linear-gradient(0deg, transparent 65.6%, #47735535 65.8%, transparent 66%),
    linear-gradient(118deg, #dce5ca, #b6d9b2 64%, #b1cba4);
}

.cover.mint .art-shape {
  width: 75%;
  height: 124%;
  right: -3%;
  top: -11%;
  border-radius: 53% 47% 42% 58% / 58% 46% 54% 42%;
  transform: rotate(-23deg) skewX(-9deg);
  background:
    repeating-radial-gradient(ellipse at 54% 49%, transparent 0 3px, #214c39 3.8px 4.9px, transparent 5.7px 8px);
}

.cover.mint .art-shape::before {
  left: 22%;
  top: 27%;
  width: 58%;
  height: 49%;
  border-radius: 58% 39% 52% 48%;
  transform: rotate(13deg);
  background: radial-gradient(ellipse at 46% 42%, #cee5c3 13%, #a0c597 65%, #518463);
  box-shadow: inset -4px -5px 0 #204b37, inset -8px -9px 0 #aecda1;
}

.cover.mint .art-shape::after {
  left: 33%;
  top: 35%;
  width: 45%;
  height: 42%;
  border-radius: 50%;
  transform: rotate(-9deg);
  background: repeating-radial-gradient(ellipse at 64% 62%, #c3dcaf 0 2px, #1d4835 2.8px 4px, #bdd6a8 4.8px 7px);
}

.cover.mint::after {
  width: 7px; height: 7px;
  left: calc(21% - 3px); top: calc(34.2% - 3px);
  background: linear-gradient(var(--ink),var(--ink)) center / 1px 100% no-repeat,
              linear-gradient(var(--ink),var(--ink)) center / 100% 1px no-repeat;
}

/* Two planes of a folded blue printing plate over a drafting grid. */
.cover.blue {
  --paper: #bbcadf;
  --ink: #203d62;
  background-image:
    linear-gradient(90deg, #3b618021 1px, transparent 1px),
    linear-gradient(#3b618021 1px, transparent 1px),
    linear-gradient(130deg, #d6e2e8, #acbfd7);
  background-size: 15px 15px, 15px 15px, 100% 100%;
}

.cover.blue .art-shape {
  inset: 0 -5% 0 30%;
  background: linear-gradient(124deg, #8fa7c0, #29476a);
  clip-path: polygon(6% 74%, 38% 17%, 72% 5%, 100% 30%, 68% 88%, 32% 101%);
}

.cover.blue .art-shape::before {
  inset: 0;
  clip-path: polygon(6% 74%, 38% 17%, 72% 5%, 40% 63%);
  background: repeating-linear-gradient(119deg, #476e99 0 3px, #d3e1ee 3.4px 5.4px, #84a3bf 6px 10px);
}

.cover.blue .art-shape::after {
  inset: 0;
  clip-path: polygon(40% 63%, 72% 5%, 100% 30%, 68% 88%);
  background: repeating-linear-gradient(119deg, #193958 0 3px, #6688b0 3px 5px, #96afcd 5.5px 8.5px);
}

.cover.blue::after {
  inset: 0 -5% 0 30%;
  clip-path: polygon(6% 74%, 40% 63%, 68% 88%, 32% 101%);
  background: repeating-linear-gradient(42deg, #416388 0 3px, #9ab1c9 3.2px 4.8px, #7592b2 5px 8px);
}

/* Offset quarter-discs and screen-printed stripes, on warm stock. */
.cover.peach {
  --paper: #f0c2a3;
  --ink: #642f28;
  background: linear-gradient(105deg, #f5d5b7, #edb598);
}

.cover.peach .art-shape {
  top: -6%;
  right: -4%;
  width: 67%;
  height: 114%;
  transform: rotate(-9deg);
  background:
    radial-gradient(ellipse 99% 99% at 100% 100%, #a54c3d 0 54%, transparent 55%) left top / 50% 50%,
    radial-gradient(ellipse 99% 99% at 0 100%, #d88d6f 0 98%, transparent 99%) right top / 50% 50%,
    radial-gradient(ellipse 99% 99% at 100% 0, #f2ceb0 0 45%, #bf6b53 46% 75%, #8a483d 76% 98%, transparent 99%) left bottom / 50% 50%,
    linear-gradient(45deg, #7f4339 0 49.5%, transparent 50%) right bottom / 50% 50%;
  background-repeat: no-repeat;
}

.cover.peach .art-shape::before {
  left: 0; top: 0;
  width: 50%; height: 50%;
  border-radius: 100% 0 0 0;
  background: repeating-linear-gradient(91deg, #753f32 0 1.2px, transparent 1.7px 4.8px);
}

.cover.peach .art-shape::after {
  top: 50%; right: 0;
  width: 50%; height: 50%;
  border-radius: 0 0 100% 0;
  background: repeating-linear-gradient(0deg, #7d4637 0 1px, transparent 1.8px 5px);
}

/* A compact monochrome panda, sized with the surrounding brand lockup. */
.brand-mark {
  --fur: #f6f7ee;
  --patch: #192b26;
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 34px;
  height: 32px;
  vertical-align: middle;
  background:
    radial-gradient(ellipse 21% 22% at 21% 23%, var(--patch) 94%, transparent 100%),
    radial-gradient(ellipse 21% 22% at 79% 23%, var(--patch) 94%, transparent 100%);
}

.brand-mark i {
  position: absolute;
  inset: 15% 7% 5%;
  border: 1.6px solid var(--patch);
  border-radius: 48% 48% 44% 44% / 48% 48% 52% 52%;
  background: radial-gradient(ellipse 13% 9% at 50% 69%, var(--patch) 84%, transparent 100%), var(--fur);
}

.brand-mark i::before, .brand-mark i::after {
  content: "";
  position: absolute;
  top: 26%;
  width: 27%;
  height: 35%;
  border-radius: 57% 46% 54% 44%;
  background: radial-gradient(circle at 58% 38%, var(--fur) 0 12%, transparent 15%), var(--patch);
}

.brand-mark i::before { left: 12%; transform: rotate(37deg); }
.brand-mark i::after { right: 12%; transform: scaleX(-1) rotate(37deg); }
