A gas turbine engine component comprising: an outer diameter endwall; an inner diameter endwall spaced radially inward of the outer diameter endwall; and a plurality of bodies supported between the outer and inner diameter endwalls (70, 72), each of the plurality of bodies comprising a variable vane and being configured for rotation about a respective axis, and each body including an outer diameter surface spaced from the outer diameter endwall by a first gap and an inner diameter surface spaced from the inner diameter endwall by a second gap, wherein the outer and inner diameter surfaces (164, 168) and the outer and inner diameter endwalls (154, 156) are configured such that the first and second gaps (166, 170) remain generally constant in size as each body rotates about the axis, the outer diameter endwall includes a first contoured portion spaced radially outward from the outer diameter surface and the inner diameter endwall includes a second contoured portion spaced radially inward of the inner diameter surface, the first and second contoured portions (74, 76) have matching profiles, the matching profiles comprise spherical endwall surfaces, and the outer diameter surface and inner diameter surface comprise spherical surfaces that correspond to the spherical endwall surfaces, wherein the first and second contoured portions (74, 76) comprise localized spherical endwall surfaces for each body that are established by spherical geometry with a center point located at a point along the respective axis; wherein each body includes a first portion fixed to the outer and inner diameter endwalls (154, 156) and a second portion mounted for pivoting movement about the respective axis relative to the first portion, and the outer and inner diameter surfaces (164, 168) are formed as part of the second portion of the body. an outer diameter endwall; an inner diameter endwall spaced radially inward of the outer diameter endwall; and a plurality of bodies supported between the outer and inner diameter endwalls (70, 72), each of the plurality of bodies comprising a variable vane and being configured for rotation about a respective axis, and each body including an outer diameter surface spaced from the outer diameter endwall by a first gap and an inner diameter surface spaced from the inner diameter endwall by a second gap, wherein the outer and inner diameter surfaces (164, 168) and the outer and inner diameter endwalls (154, 156) are configured such that the first and second gaps (166, 170) remain generally constant in size as each body rotates about the axis, the outer diameter endwall includes a first contoured portion spaced radially outward from the outer diameter surface and the inner diameter endwall includes a second contoured portion spaced radially inward of the inner diameter surface, the first and second contoured portions (74, 76) have matching profiles, the matching profiles comprise spherical endwall surfaces, and the outer diameter surface and inner diameter surface comprise spherical surfaces that correspond to the spherical endwall surfaces, wherein the first and second contoured portions (74, 76) comprise localized spherical endwall surfaces for each body that are established by spherical geometry with a center point located at a point along the respective axis; wherein each body includes a first portion fixed to the outer and inner diameter endwalls (154, 156) and a second portion mounted for pivoting movement about the respective axis relative to the first portion, and the outer and inner diameter surfaces (164, 168) are formed as part of the second portion of the body.