/* ==========================================================================
   assets.css — image sources, one place.

   Every figure in styles.css reads its image from a variable defined here and
   falls back to a generated SVG if the variable is unset or the file 404s.

   RIGHT NOW these point at the Tilda CDN, so the page looks correct
   immediately. That is a temporary state: those URLs stop working when the
   Tilda subscription lapses, and hotlinking sends your visitors' IPs to a
   third party. Run this once on a connected machine and you are independent:

       python3 mirror_assets.py

   It downloads everything into assets/ and rewrites this file to local paths.
   ========================================================================== */

:root{
  /* Brand */
  --img-logo:        url('assets/logo.png');

  /* Hero specimens — cut out from the paper's supplementary movies.
     Regenerate with: python3 extract-hero-embryos.py */
  --img-spec-bmp:    url('assets/hero/embryo-bmp.png');
  --img-spec-ra:     url('assets/hero/embryo-ra.png');
  --img-spec-wnt:    url('assets/hero/embryo-wnt.png');

  /* Hero */
  --img-hero-heat:   url('https://thb.tildacdn.com/tild3230-6362-4461-b931-393037386465/-/resize/900x/noroot.png');
  --img-embryo:      url('https://thb.tildacdn.com/tild3137-3334-4363-a131-363031653464/-/resize/700x/Mask_group.png');

  /* Services */
  --img-svc-cluster: url('https://thb.tildacdn.com/tild3562-3165-4465-b933-653738653065/-/resize/1100x/image_15819_1.png');
  --img-untreated:   url('https://thb.tildacdn.com/tild6361-6133-4239-b032-653365343730/-/resize/900x/image_2.png');
  --img-lovastatin:  url('https://thb.tildacdn.com/tild3263-6166-4134-a136-343737326235/-/resize/900x/image_3.png');
  --img-perk:        url('https://thb.tildacdn.com/tild6464-6364-4239-b662-376338616364/-/resize/900x/Frame_47_1.png');
  --img-draq7:       url('https://thb.tildacdn.com/tild6335-3930-4365-a261-353061316431/-/resize/900x/3453453.png');
  --img-icon-bio:    url('https://thb.tildacdn.com/tild3061-6635-4262-b939-316662366535/-/resize/400x/biology.png');
  --img-icon-pharma: url('https://thb.tildacdn.com/tild3538-3763-4631-a438-373464376437/-/resize/400x/pharma.png');
  --img-icon-med:    url('https://thb.tildacdn.com/tild3661-3662-4462-b735-653233636131/-/resize/400x/medicine.png');

  /* About */
  --img-plate:       url('https://thb.tildacdn.com/tild3064-3364-4464-b438-663531366363/-/resize/1200x/Frame_49.png');

  /* News */
  --img-erc:         url('https://thb.tildacdn.com/tild3661-3036-4335-b230-663638323234/-/resize/800x/European_Research_Co.png');
  --img-nebius:      url('https://thb.tildacdn.com/tild3261-6138-4365-b134-613862653064/-/resize/800x/g10.png');

  /* Publications */
  --img-pub-1:       url('https://thb.tildacdn.com/tild6565-3833-4264-a235-396436303233/-/resize/700x/embryo-.png');
  --img-pub-2:       url('https://thb.tildacdn.com/tild6533-6230-4239-b662-346336306664/-/resize/700x/net_1.png');
  --img-pub-3:       url('https://thb.tildacdn.com/tild6537-6531-4734-a632-616331373030/-/resize/700x/defect.png');
  --img-pub-4:       url('https://thb.tildacdn.com/tild3233-3235-4165-a265-343237333035/-/resize/700x/laurel-wreath.png');
}

/* If the sourced cluster artwork already contains the blue -BMP label and the
   corner brackets, add class="svc-fig fig-cluster art-only" in index.html to
   hide the duplicate markup versions. */
.art-only .chip-blue{ display:none; }
.art-only .bracket::before,
.art-only .bracket::after{ display:none; }
