/* Shared definition/value notation for explanatory diagrams, not product UI. */
.cf-definition {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  padding: 3px 3px 3px 9px;
  border: 1px solid #d4d7c9;
  border-radius: 5px;
  color: #293029;
  background: #e6e5d9;
  font: 550 14px/1.25 var(--font-system);
  font-variation-settings: "CASL" .08, "CRSV" .5, "MONO" 1, "slnt" 0;
  vertical-align: middle;
}
.cf-definition:not(:has(.cf-value)) { padding: 7px 10px; }
.cf-value {
  padding: 6px 9px;
  border-radius: 3px;
  color: #eff2ed;
  background: #30372f;
  font: 700 13px/1.25 Arial, sans-serif;
  font-variation-settings: normal;
}
.cf-collage {
  --parallax: 0;
  --travel-scale: 1;
  position: relative;
  isolation: isolate;
  width: min(100%, 1000px);
  aspect-ratio: 1.35;
  margin: 40px auto 28px;
}
.cf-collage figure { margin: 0; }
.cf-collage img { display: block; width: 100%; height: auto; }
.cf-collage figure, .cf-collage-chip {
  position: absolute;
  transform: translateY(calc(var(--parallax) * var(--travel) * var(--travel-scale)));
}
.cf-collage-library { --travel: -16px; left: 6%; top: 23%; width: 67%; z-index: 2; }
.cf-library-crop { aspect-ratio: 1.8; overflow: hidden; border-radius: 4px; box-shadow: 0 12px 24px #0003; }
.cf-collage-parameter { --travel: -34px; left: 48%; top: 18%; width: 49%; z-index: 3; filter: drop-shadow(0 12px 18px #0005); }
.cf-collage-parameter img {
  clip-path: polygon(9.42% 8.4%, 90.58% 8.4%, 90.58% 56.35%, 81.17% 56.35%, 81.17% 91.73%, 11.67% 91.73%, 11.67% 56.35%, 9.42% 56.35%);
}
.cf-collage-chip {
  --depth: 0;
  --distance: max(var(--depth), calc(-1 * var(--depth)));
  --travel: calc(-24px - var(--depth) * 34px);
  width: max-content;
  max-width: 96%;
  z-index: calc(4 + var(--depth) * 2);
  transform: translateY(calc(var(--parallax) * var(--travel) * var(--travel-scale))) scale(calc(1 + var(--depth) * .14));
  transform-origin: left center;
  filter: blur(calc(var(--distance) * .65px));
  opacity: calc(1 - var(--distance) * .12);
}
.cf-collage-chip .cf-definition { font-size: 18px; }
.cf-collage-chip .cf-value { font-size: 16px; }
.cf-chip-cost { --depth: -2; left: 9%; top: 7%; }
.cf-chip-finish { --depth: -1; right: 4%; top: 12%; }
.cf-chip-zone { --depth: -1.5; right: 0; top: 59%; }
.cf-chip-equipment { --depth: 0; left: 28%; top: 19%; }
.cf-chip-material { --depth: 2; left: 14%; top: 70%; }
.cf-chip-discipline { --depth: 1; left: 1%; top: 51%; }
.cf-chip-system { --depth: 1.5; left: 39%; top: 87%; }
@media (max-width: 600px) {
  .cf-collage { --travel-scale: .45; aspect-ratio: .85; margin-top: 28px; }
  .cf-collage-library { left: 0; top: 25%; width: 85%; }
  .cf-collage-parameter { left: 33%; top: 30%; width: 69%; }
  .cf-chip-cost { left: 2%; top: 5%; }
  .cf-chip-finish { right: 0; top: 10%; }
  .cf-chip-equipment { left: 8%; top: 20%; }
  .cf-chip-zone { right: 0; top: 67%; }
  .cf-chip-discipline { left: 0; top: 58%; }
  .cf-chip-material { left: 1%; top: 82%; }
  .cf-chip-system { left: 28%; top: 96%; }
  .cf-collage-chip .cf-definition { font-size: 14px; }
  .cf-collage-chip .cf-value { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .cf-collage { --travel-scale: 0; }
}
