/* Site decoration from the user-supplied 2026-11-04 reference pack.
   Local preview only: commercial rights for that pack require verification.
   The chemical lines are abstract decoration, not a named drug structure. */

/* The research platform's three explanatory blocks use different line art;
   the existing laboratory photographs and all certificates stay untouched. */
.research-info-grid article {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.research-info-grid article::before {
  content: "";
  position: absolute;
  inset: .35rem .1rem auto auto;
  width: 38%;
  height: 2rem;
  z-index: -1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .8;
  filter: drop-shadow(0 0 .6px rgba(20, 105, 145, .45));
}
.research-info-grid article:nth-child(1)::before { background-image: url("svg/molecule-network-card.svg"); }
.research-info-grid article:nth-child(2)::before { background-image: url("svg/spectrum-wave-card.svg"); }
.research-info-grid article:nth-child(3)::before { background-image: url("svg/cells-capsules-card.svg"); }

/* Source: reference pack bg/demo/demo.html, .fx .lvl and @keyframes lvl.
   Applied to only one abstract background layer, never to real product imagery. */
@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
  .research-info-grid article:nth-child(1)::before { animation: tm-pack-lvl 3.2s ease-in-out infinite alternate; }
  @keyframes tm-pack-lvl { from { transform: translateY(8px); } to { transform: translateY(-10px); } }
}

/* Product list: only the text panels have a quiet capsule-line pattern. */
.catalog .product-card .body {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.catalog .product-card .body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("svg/cells-capsules-light.svg") right center / 240% auto no-repeat;
  opacity: .48;
  -webkit-mask-image: linear-gradient(90deg, transparent 5%, rgba(0,0,0,.22) 45%, #000 85%);
  mask-image: linear-gradient(90deg, transparent 5%, rgba(0,0,0,.22) 45%, #000 85%);
}

/* Cooperation step panels use the pack's abstract scale pattern, not a factory image. */
.ed-cooperation .cj-item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.ed-cooperation .cj-item:nth-child(odd)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 60%;
  height: 30%;
  z-index: -1;
  pointer-events: none;
  background: url("svg/dragon-scale-hex-tile-light.svg") right top / 69.28px 120px repeat;
  opacity: .28;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
}

@media (max-width: 768px) {
  .research-info-grid article::before { width: 28%; opacity: .7; background-size: contain; }
  .catalog .product-card .body::before { opacity: .35; }
  .ed-cooperation .cj-item:nth-child(odd)::before { opacity: .2; }
}
@media (prefers-reduced-motion: reduce) {
  .research-info-grid article:nth-child(1)::before { animation: none; transform: none; }
}
