/* Work typography trial. The original atlas styles remain available underneath. */
.work-atlas,
.work-case,
.studio-public-project,
.fio-shop-installation {
  --work-typewriter-font: Helvetica, "Helvetica Neue", Arial, sans-serif;
  --work-leading: 1.15;
  --work-label-size: calc(clamp(14px, calc(var(--fio-caption-size) * .95), 32px) * var(--fio-label-scale));
}

/* One compact row rhythm for brand, discipline, year and Shop navigation. */
.work-atlas,
.fio-shop-installation {
  --work-category-leading: var(--work-leading);
  --work-category-row: calc(var(--work-label-size) * var(--work-category-leading));
}

.work-atlas .work-category,
.work-atlas .work-fragment-caption,
.fio-shop-installation .installation-index a,
.fio-shop-installation .installation-mobile-label {
  font-family: var(--work-typewriter-font);
  font-size: var(--work-label-size);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
}

.work-atlas .work-category,
.work-atlas .work-fragment-caption,
.fio-shop-installation .installation-index a {
  line-height: var(--work-category-leading);
}

.work-atlas .work-category[aria-pressed="true"],
.work-atlas .work-fragment-title,
.work-atlas .work-fragment-subtitle,
.work-atlas .work-fragment-keywords {
  font-weight: 400;
}

.work-atlas .work-fragment-caption {
  white-space: normal;
  overflow: visible;
  overflow-wrap: break-word;
  text-overflow: clip;
}

.work-case .work-case-meta,
.work-case .work-case-role,
.work-case .work-case-description,
.work-case .work-case-navigation-label {
  font-family: var(--work-typewriter-font);
  font-weight: 400;
  letter-spacing: 0;
}


.work-atlas,
.work-case--compact {
  --work-category-inset: clamp(60px, 4.8vw, 112px);
  --work-contact-inset: calc(var(--fio-menu-right) + var(--fio-menu-link-padding));
}

/* Match the Nike shoot's warmer frames to the neutral FIO 2171 reference. */
:is(.work-fragment-media, .work-case-figure) img:is(
  [src$="/nike-sahuquillo-1.jpg"],
  [src$="/nike-sahuquillo-3.jpg"],
  [src$="/nike-sahuquillo-4.jpg"]
) {
  filter: url("/nike-sahuquillo-grade.svg#neutral") saturate(.94);
}

:is(.work-fragment-media, .work-case-figure) img[src$="/nike-sahuquillo-fio-2219.jpg"] {
  filter: url("/nike-sahuquillo-grade.svg#neutral") contrast(1.09) saturate(.96);
}


