.artwork-crop {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: var(--artwork-ratio);
}

.artwork-crop > img {
  position: absolute;
  top: calc(-100% * var(--crop-top, 0) / var(--crop-height, 1));
  left: calc(-100% * var(--crop-left, 0) / var(--crop-width, 1));
  width: calc(100% / var(--crop-width, 1));
  height: calc(100% / var(--crop-height, 1));
  max-width: none;
  object-fit: fill;
}

/* Crop coordinates are relative to the source photos. */

.crop-gallery-1 {
  --artwork-ratio: 0.99554;
  --crop-left: 0.014;
  --crop-top: 0.011;
  --crop-width: 0.971;
  --crop-height: 0.978;
}

.crop-gallery-2 {
  --artwork-ratio: 0.75252;
  --crop-left: 0.014;
  --crop-top: 0.012;
  --crop-width: 0.971;
  --crop-height: 0.977;
}

.crop-gallery-3 {
  --artwork-ratio: 0.75193;
  --crop-left: 0.016;
  --crop-width: 0.967;
}

.crop-gallery-8 {
  --artwork-ratio: 0.98456;
  --crop-left: 0.024;
  --crop-top: 0.024;
  --crop-width: 0.956;
  --crop-height: 0.955;
}

.crop-gallery-9 {
  --artwork-ratio: 0.75740;
  --crop-left: 0.030;
  --crop-top: 0.026;
  --crop-width: 0.935;
  --crop-height: 0.947;
}

.crop-gallery-10 {
  --artwork-ratio: 0.70664;
  --crop-left: 0.095;
  --crop-top: 0.084;
  --crop-width: 0.783;
  --crop-height: 0.823;
}

.crop-gallery-11 {
  --artwork-ratio: 0.49354;
  --crop-left: 0.074;
  --crop-top: 0.046;
  --crop-width: 0.835;
  --crop-height: 0.911;
}

.crop-gallery-13 {
  --artwork-ratio: 0.49022;
  --crop-left: 0.064;
  --crop-top: 0.036;
  --crop-width: 0.848;
  --crop-height: 0.921;
}

.crop-bleu-de-toi {
  --artwork-ratio: 1.00442;
  --crop-left: 0.24;
  --crop-top: 0.304;
  --crop-width: 0.511;
  --crop-height: 0.407;
}

.crop-motem {
  --artwork-ratio: 0.62893;
  --crop-left: 0.266;
  --crop-top: 0.156;
  --crop-width: 0.5;
  --crop-height: 0.636;
}

.crop-entre-ciel-et-terre {
  --artwork-ratio: 0.70224;
  --crop-left: 0.03;
  --crop-top: 0.02;
  --crop-width: 0.943;
  --crop-height: 0.961;
}

/* White photo margins on the artwork detail pages. */

.crop-autoportrait-4 {
  --artwork-ratio: 0.75562;
  --crop-left: 0.232;
  --crop-top: 0.145;
  --crop-width: 0.538;
  --crop-height: 0.712;
}

.crop-regards-partages-3 {
  --artwork-ratio: 0.85242;
  --crop-left: 0.116;
  --crop-top: 0.047;
  --crop-width: 0.774;
  --crop-height: 0.908;
}

.crop-regards-partages-4 {
  --artwork-ratio: 0.82694;
  --crop-left: 0.128;
  --crop-top: 0.042;
  --crop-width: 0.755;
  --crop-height: 0.913;
}

.crop-la-foule-2 {
  --artwork-ratio: 1.21453;
  --crop-left: 0.047;
  --crop-top: 0.077;
  --crop-width: 0.898;
  --crop-height: 0.842;
}

.crop-motem-4 {
  --artwork-ratio: 0.74200;
  --crop-left: 0.13;
  --crop-width: 0.742;
}

.crop-bleu-de-toi-3 {
  --artwork-ratio: 1.00791;
  --crop-left: 0.232;
  --crop-top: 0.283;
  --crop-width: 0.538;
  --crop-height: 0.435;
}

.crop-bleu-de-toi-5 {
  --artwork-ratio: 0.38949;
  --crop-left: 0.299;
  --crop-top: 0.09;
  --crop-width: 0.352;
  --crop-height: 0.723;
}

.crop-bleu-de-toi-6 {
  --artwork-ratio: 1.00488;
  --crop-left: 0.25;
  --crop-top: 0.306;
  --crop-width: 0.515;
  --crop-height: 0.410;
}

.crop-bleu-de-toi-7 {
  --artwork-ratio: 0.37269;
  --crop-left: 0.354;
  --crop-top: 0.132;
  --crop-width: 0.307;
  --crop-height: 0.659;
}

.crop-bleu-de-toi-8 {
  --artwork-ratio: 0.99501;
  --crop-left: 0.08;
  --crop-top: 0.128;
  --crop-width: 0.847;
  --crop-height: 0.681;
}

.crop-bleu-de-toi-9 {
  --artwork-ratio: 0.99564;
  --crop-left: 0.245;
  --crop-top: 0.228;
  --crop-width: 0.514;
  --crop-height: 0.413;
}
