.artist {
  display: flex;
  background: var(--color-white);
  margin: calc(-1 * var(--padding));
  padding: var(--padding);
}

.artist > div {
  transition-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1);
  transition-duration: 0.5s;
  transition-property: all;
  transition-delay: 0.5s;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  will-change: width;
  background: var(--color-white);
}

.artist-left {
  width: 346px;
  height: calc(100vh - var(--padding) * 2);
  position: sticky;
  position: -webkit-sticky;
  position: -moz-sticky;
  position: -ms-sticky;
  position: -o-sticky;
  top: var(--padding);
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--color-white);
  z-index: 4;
  padding-top: max(30px, 6vh);
}

.artist-left h2 {
  font-size: var(--artist-font-profile);
  font-family: var(--head-serif-italic);
  margin-bottom: 5px;
}

.artist-left h3 {
  font-family: var(--sans);
  text-transform: uppercase;
  font-size: var(--small-font);
  letter-spacing: -0.1px;
  margin-bottom: 2px;
}

h3.artist-left-role {
  margin-bottom: 20px;
}

.artist-left span {
  font-size: var(--small-font);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}

.artist-left p {
  font-size: var(--content-font);
  font-family: var(--serif);
  line-height: 15px;
  margin-bottom: 44px;
  max-width: 80%;
}

.artist-close {
  position: fixed;
  top: var(--padding);
  left: var(--padding);
  z-index: 5;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.expand {
  width: 10px;
  height: 10px;
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  cursor: pointer;
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  transform-origin: center;
  display: inline-block;
  background-repeat: none;
  background-position: center;
  background-size: cover;
  transition: all 0.5s cubic-bezier(0.65, 0.05, 0.36, 1);
  -webkit-transition: all 0.5s cubic-bezier(0.65, 0.05, 0.36, 1);
}

.expand.rotated {
  right: 9px;
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
}

.artist-right {
  width: calc(100vw - 346px);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 26px;
  background: var(--color-white);
}

.bio-text {
  position: relative;
}

.bio-text:not(.no-video) {
  max-height: 40vh;
  overflow-y: auto;
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.artist-left .bio-text:not(.no-video) p {
  max-width: 84%;
}

.bio-text.no-video {
  max-height: 700px;
  overflow-y: auto;
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.has-read-more .bio-text {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.bio-full {
  display: none;
}

.artist-left .bio-short-p {
  margin-bottom: 20px;
}

.artist-left span.bio-full {
  display: inline;
  text-transform: none;
  font-size: inherit;
  font-family: inherit;
  margin-bottom: 0;
}

.artist-left p.bio-full {
  text-transform: none;
  margin-bottom: 24px;
}

.artist-left .bio-toggle {
  cursor: pointer;
  text-transform: none;
  font-family: var(--sans);
  font-size: var(--small-font);
  text-decoration: underline;
  margin-bottom: 44px;
}

.artist-left .contact-label + p {
  margin-bottom: 24px;
}

.artist-left .download-btn-wrap {
  margin-bottom: 0;
}

.bottom-text-container {
  margin-top: auto;
}

.bio-video-wrapper {
  position: relative;
  width: 100%;
  background: #f7f6f6;
  max-height: 50vh;
}

.bio-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.bio-video-container {
  position: relative;
  width: 100%;
  padding-right: 16%;
  margin-bottom: 20px;
}

.bio-video-controls {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: calc(16px + 16%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bio-video-controls-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bio-video-controls .bio-video-fullscreen {
  display: flex;
  align-items: center;
  width: 11px;
  height: 11px;
}

.bio-video-controls .bio-video-fullscreen svg {
  width: 100%;
  height: 100%;
}

.bio-video-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-sizing: border-box;
}

.bio-video-lightbox-inner {
  position: relative;
  height: 100%;
}

.bio-video-lightbox-inner video {
  height: 100%;
  object-fit: contain;
  display: block;
}

.bio-video-lightbox-inner .bio-video-controls {
  right: 10px;
}

.bio-video-lightbox-close {
  position: absolute;
  top: 30px;
  left: 30px;
  font-family: var(--serif-italic);
  font-size: var(--body-font);
  color: black;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .bio-video-container {
    padding-right: 0;
  }

  .bio-video-wrapper {
    max-height: none;
  }

  .bio-video {
    object-fit: cover;
  }

  .bio-video-controls {
    right: 10px;
  }

  .bio-video-lightbox {
    padding: 60px 0 100px 0;
  }

  .bio-video-lightbox-inner {
    position: relative;
    height: auto;
    aspect-ratio: 9 / 16;
    max-height: 100%;
  }

  .bio-video-lightbox-inner video {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .bio-video-lightbox-inner .bio-video-controls {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
  }
}

.expanded {
  width: 100%;
}

.hidded {
  width: 0px;
}

.collapsed-info {
  width: 100%;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  height: 26px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.65, 0.05, 0.36, 1);
  -webkit-transition: all 0.5s cubic-bezier(0.65, 0.05, 0.36, 1);
  display: none !important;
}

.collapsed-info.header-showed {
  opacity: 1;
  visibility: visible;
  height: 100%;
  transition: all 0.5s 2s cubic-bezier(0.65, 0.05, 0.36, 1);
  -webkit-transition: all 0.5s 2s cubic-bezier(0.65, 0.05, 0.36, 1);
}

.collapsed-info h2 {
  margin-bottom: 20px;
  font-size: var(--splash-font);
  font-family: var(--head-serif-italic);
}

.collapsed-info p {
  margin-bottom: 30px;
  font-size: var(--small-font);
  text-transform: uppercase;
}

.hidded *:not(.expand) {
  opacity: 0;
  transition-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1);
  transition-duration: 0.5s;
  transition-property: all;
  transition-delay: 0s;
}

.not-hidded *:not(.expand) {
  transition-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1);
  transition-duration: 0.5s;
  transition-property: all;
  transition-delay: 1s;
}

.artist-project {
  margin-bottom: 192px;
  font-size: var(--small-font);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.skeleton {
  background: #f7f6f6;
}

/* fade image in after load */
.lazyload,
.lazyloading {
  opacity: 0;
}

.lazyloaded {
  opacity: 1;
  transition: opacity 300ms ease;
  -webkit-transition: opacity 300ms ease;
}

.no-fade,
.no-fade {
  opacity: 1;
}

.no-fade {
  opacity: 1;
  transition: none;
  -webkit-transition: none;
}

.artist-project.standard img,
.artist-project.standard video {
  width: 100%;
  height: auto;
  display: block;
}

.artist-project.standard .skeleton {
  width: 94%;
  transition-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1);
  transition-duration: 0.5s;
  transition-property: all;
  transition-delay: 0.5s;
}

.artist-project.adapted {
  align-self: center;
}

.artist-project.adapted img,
.artist-project.adapted video {
  height: auto;
  max-height: calc(100vh - var(--padding) * 2);
  width: auto;
  max-width: 50vw;
  text-align: center;
  display: block;
}

.artist-project.fullscreen {
  width: calc(100% + var(--padding));
  height: auto;
  transition-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1);
  transition-duration: 0.5s;
  transition-property: all;
  transition-delay: 0.5s;
}

.artist-project.fullscreen video {
  width: calc(100vw - 346px + var(--padding));
  height: 100%;
  transition-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1);
  transition-duration: 0.5s;
  transition-property: all;
  display: block;
  transition-delay: 0.5s;
}

.artist-project.fullscreen img {
  display: block;
}

.artist-project p {
  font-size: var(--small-font);
  margin-top: 10px;
  text-align: center;
  width: 100%;
  transition-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1);
  transition-duration: 0.5s;
  transition-property: all;
  transition-delay: 0.5s;
}

.artist-project.standard p {
  width: 94%;
}

.slider p {
  width: calc(100% + var(--padding));
}

.artist-project p span {
  font-family: var(--serif-italic);
  text-transform: capitalize;
  font-size: calc(var(--small-font) + 2px);
}

.expanded .artist-project.standard img,
.expanded .artist-project.standard video,
.expanded .artist-project.standard .skeleton {
  width: 100%;
  height: auto;
}

.expanded .artist-project p {
  width: 100%;
}

.expanded .artist-project.fullscreen {
  width: 100vw;
  margin-left: calc(-1 * var(--padding));
  height: auto;
}

.expanded .artist-project.fullscreen video {
  width: 100vw;
  height: 100%;
  display: block;
}

/* Slider */
.swiper-artist {
  display: block;
  width: calc(100% + var(--padding));
  height: 100%;
  overflow-x: hidden;
}

.swiper-artist .swiper-slide {
  width: auto;
  height: 100%;
}

.swiper-artist img,
.swiper-artist video {
  display: block;
  width: auto;
  height: calc(340px + 10vh);
  object-fit: cover;
}

/* Group */
.group-project h2,
.slider-title {
  text-align: center;
  display: block;
  letter-spacing: -0.3px;
  width: calc(100% + var(--padding));
  margin-bottom: 50px;
  font-size: var(--title-font);
  font-family: var(--head-serif);
  text-transform: none;
}

/* Large slider */
.swiper-artist.large img,
.swiper-artist.large video {
  display: block;
  width: auto;
  height: calc(580px + 5vh);
  object-fit: cover;
}

.overview-btn {
  font-family: var(--sans);
  font-size: var(--small-font);
  text-decoration: underline;
}

.overview-btn img {
  width: 13px;
  height: auto;
  display: inline-block;
  padding-left: 4px;
  position: relative;
  bottom: -1px;
}

.mobile-header {
  display: none;
}

.mobile-bio-btn {
  display: none;
}

/* .swiper-button-next, .swiper-button-prev {
  position: absolute;
  top: 49%!important;
  width: calc(var(--swiper-navigation-size)/ 44 * 27);
  height: var(--swiper-navigation-size);
  margin-top: calc(0px - (var(--swiper-navigation-size)/ 2));
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-button-prev {
    left: -20px!important;
    right: auto;
}

.swiper-button-next {
    left: auto;
    right: -20px!important;
} */

@media screen and (min-width: 2100px) {
  .artist-left h2,
  .artist-left h3 {
    line-height: 36px;
  }

  .artist-left p {
    line-height: 18px;
  }
}

@media screen and (max-width: 768px) {
  body {
    -webkit-text-size-adjust: none;
  }

  .mobile-arrow {
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    width: 12px;
    height: 12px;
    top: calc(50% + 50px - 30px);
    z-index: 999;
  }

  .mobile-prev {
    left: -16px;
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
  }

  .mobile-next {
    right: -16px;
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
  }

  .mobile-header {
    display: block;
    padding: 130px 0;
    text-align: center;
  }

  .mobile-bio-btn {
    position: fixed;
    top: 18px;
    right: var(--padding);
    font-family: var(--serif-italic);
    font-size: var(--body-font);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: inherit;
  }

  .mobile-bio-btn svg {
    width: 10px;
    height: 10px;
  }

  .artist {
    flex-direction: column;
  }

  .artist-left {
    width: 100%;
    height: 100%;
    position: static;
    top: auto;
    left: auto;
    transform: none;
    -webkit-transform: none;
    order: 1;
    padding: 87px 0;
  }

  .artist-left h2,
  .artist-left h3 {
    display: none;
  }

  .mobile-header h2 {
    font-family: var(--head-serif-italic);
    margin-bottom: 0;
    font-size: calc(var(--title-font) + 2px);
  }

  .mobile-header h3 {
    font-family: var(--sans);
    text-transform: uppercase;
    font-size: var(--small-font);
    letter-spacing: -0.1px;
    margin-bottom: 0;
  }

  .artist-left span {
    font-size: calc(var(--small-font) - 2px);
    margin-bottom: 14px;
  }

  .artist-left p {
    font-size: calc(var(--content-font) + 4px);
    line-height: 24px;
    max-width: 100%;
  }

  .artist-left .bio-text p,
  .artist-left span.bio-full {
    font-size: 18px;
    line-height: 23px;
  }

  .artist-left .contact-label + p {
    font-size: var(--content-font);
  }

  .artist-left .contact-label {
    margin-top: 44px;
    font-size: var(--small-font);
  }

  .artist-left .bio-toggle {
    display: none;
  }

  .artist-left .bio-text::before {
    content: "Bio";
    display: block;
    font-family: var(--sans);
    font-size: var(--small-font);
    text-transform: uppercase;
    margin-top: 36px;
    margin-bottom: 16px;
  }

  .bio-full {
    display: inline !important;
  }

  .artist-left p.bio-full {
    display: block !important;
  }

  .bio-text,
  .bio-text.no-video {
    max-height: none;
    overflow-y: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .artist-project.standard p {
    width: 100%;
  }

  .group-project h2,
  .slider-title {
    width: 100%;
  }

  .expand {
    display: none;
  }

  .artist-right {
    width: 100%;
    padding-top: 0;
    order: 0;
  }

  .artist-project {
    margin-bottom: 48px;
    position: relative;
  }

  .artist-project.standard img,
  .artist-project.standard .skeleton,
  .artist-project.standard video {
    width: 100%;
    height: 100%;
  }

  .artist-project.adapted img,
  .artist-project.adapted video {
    height: 100%;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
  }

  .artist-project.fullscreen {
    width: calc(100% + var(--padding) * 2);
    margin-left: calc(-1 * var(--padding));
    height: auto;
  }

  .artist-project.fullscreen video {
    width: calc(100vw);
  }

  /* Slider */
  .swiper-artist {
    width: calc(100%);
    overflow-y: hidden;
  }

  .swiper-artist .swiper-slide {
    width: 100%;
    height: auto;
    overflow-y: hidden;
  }

  .swiper-artist .swiper-slide img,
  .swiper-artist .swiper-slide video {
    width: 100%;
    height: auto;
  }

  /* Large slider */
  .swiper-artist.large img,
  .swiper-artist.large video {
    height: calc(340px + 10vh);
  }
}

.page-artist .artist-menu-btn {
  position: fixed;
  right: var(--padding);
  bottom: calc(var(--padding) - 8px);
  z-index: 6;
}

/* On artist pages, use top instead of transform for menu-open so
   position:fixed on .menu isn't broken by a transformed ancestor */
body.page-artist {
  position: relative;
  top: 0;
  transition: top 0.8s cubic-bezier(1, 0, 0.47, 1.01);
  -webkit-transition: top 0.8s cubic-bezier(1, 0, 0.47, 1.01);
}

body.page-artist.menu-open {
  transform: none;
  -webkit-transform: none;
  top: -20vh;
}

body.page-artist .menu.is-open {
  transform: translateY(0);
  -webkit-transform: translateY(0);
}

.bio-video-controls span {
  font-family: var(--serif-italic);
  font-size: 12px;
  color: white;
  cursor: pointer;
  text-transform: none;
  margin-bottom: 0;
}

.bio-video-lightbox .bio-video-controls span {
  font-size: 18px;
}

@media screen and (max-width: 768px) {
  .bio-video-controls span {
    font-size: 18px;
  }
}
