.cover-painting {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  width: min(100%, var(--painting-limit, 100%));
  aspect-ratio: 1512 / 1009;
  margin: 0;
  align-self: center;
  justify-self: center;
}

/* Warm paper beneath the original whites, with feathering on the combined image. */
.cover-painting__paper {
  position: absolute;
  inset: 0;
  isolation: isolate;
  --paper-edge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1512' height='1009' viewBox='0 0 1512 1009' preserveAspectRatio='none'%3E %3Cdefs%3E %3Cfilter id='paper' x='-15%25' y='-15%25' width='130%25' height='130%25'%3E %3CfeTurbulence type='fractalNoise' baseFrequency='.008 .012' numOctaves='3' seed='22' result='grain'/%3E %3CfeDisplacementMap in='SourceGraphic' in2='grain' scale='65' xChannelSelector='R' yChannelSelector='G'/%3E %3CfeGaussianBlur stdDeviation='45'/%3E %3C/filter%3E %3ClinearGradient id='sides'%3E %3Cstop stop-color='white' stop-opacity='0'/%3E %3Cstop offset='.035' stop-color='white'/%3E %3Cstop offset='.965' stop-color='white'/%3E %3Cstop offset='1' stop-color='white' stop-opacity='0'/%3E %3C/linearGradient%3E %3ClinearGradient id='ends' x2='0' y2='1'%3E %3Cstop stop-color='white' stop-opacity='0'/%3E %3Cstop offset='.052' stop-color='white'/%3E %3Cstop offset='.948' stop-color='white'/%3E %3Cstop offset='1' stop-color='white' stop-opacity='0'/%3E %3C/linearGradient%3E %3Cmask id='fade-x'%3E%3Crect width='1512' height='1009' fill='url(%23sides)'/%3E%3C/mask%3E %3Cmask id='fade-y'%3E%3Crect width='1512' height='1009' fill='url(%23ends)'/%3E%3C/mask%3E %3C/defs%3E %3Cg mask='url(%23fade-x)'%3E%3Cg mask='url(%23fade-y)'%3E %3Cpath fill='white' filter='url(%23paper)' d='M96 144Q140 74 270 63C420 47 465 62 620 57S823 64 987 47S1192 42 1330 78Q1443 106 1450 222C1457 343 1442 394 1456 500S1471 676 1441 807Q1410 932 1303 943C1156 964 1061 935 920 952S680 938 516 953S302 937 199 928Q65 912 62 804C66 695 43 592 61 470S43 234 96 144Z'/%3E %3C/g%3E%3C/g%3E %3C/svg%3E");
  background: radial-gradient(ellipse at center, #fffaf1 44%, #fbe9c9 76%, #ecc78a 100%);
  -webkit-mask: var(--paper-edge) center / 100% 100% no-repeat;
  mask: var(--paper-edge) center / 100% 100% no-repeat;
}
.cover-painting__paper img {
  display: block;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
}

.cover-painting__questions, .cover-painting__senses {
  position: absolute;
  inset: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  pointer-events: none;
}
.cover-painting__questions li, .cover-painting__senses li {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--body, Inter, "Segoe UI", sans-serif);
  font-size: clamp(10px, 2.45cqi, 18px);
  line-height: 1.1;
  letter-spacing: -.025em;
}
.cover-painting__questions li {
  gap: .32em;
  padding: .18em .57em .18em .22em;
  border-radius: 1em;
  background: #2c231b;
  color: #fff7e7;
  font-weight: 650;
}
.cover-painting__questions b {
  display: grid;
  place-items: center;
  width: 1.45em;
  height: 1.45em;
  border-radius: 50%;
  background: #f8eed8;
  color: #2c231b;
  font: inherit;
  font-variant-numeric: tabular-nums;
}
.cover-painting__senses li {
  padding: .26em .55em;
  border: 1px solid #443523;
  border-radius: .8em;
  background: #fff5df;
  color: #282016;
  font-weight: 500;
}
.cover-painting__properties { left: 59%; top: 55% }
.cover-painting__states { left: 27%; top: 20% }
.cover-painting__dynamics { left: 25.5%; top: 43.5% }
.cover-painting__events { left: 84%; top: 19% }
.cover-painting__prediction { left: 86%; top: 39% }
.cover-painting__vision { left: 25.5%; top: 56% }
.cover-painting__touch { left: 53.3%; top: 28% }
.cover-painting__sound { left: 78.4%; top: 61.5% }

@container (max-width: 330px) {
  .cover-painting__properties { left: 55.5%; top: 54% }
  .cover-painting__sound { left: 81.5%; top: 65% }
}
