html,
body.studio-room {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body.studio-room {
  background: #070605;
  color: var(--color-text);
  font-family: var(--font-sans);
}

.studio-page {
  padding: 10vh 0 8vh;
}

.studio-intro {
  width: min(86vw, 980px);
  margin: 0 auto 3vh;
}

.studio-label {
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(245,243,238,.46);
}

.studio-desk {
    position: relative;

    width: min(96vw, 1700px);
    min-height: 980px;

    margin: 0 auto;

    overflow: visible;
}

.studio-artifact {
  position: absolute;
  display: block;
  overflow: visible;
  cursor: pointer;
  background: rgba(245,243,238,.04);
  box-shadow:
    0 18px 45px rgba(0,0,0,.32),
    0 1px 0 rgba(255,255,255,.06);
  transition:
    transform 850ms cubic-bezier(.18,.82,.18,1),
    filter 700ms var(--ease-gallery),
    box-shadow 850ms var(--ease-gallery),
    opacity 650ms var(--ease-gallery);
}

.studio-artifact::before {
  content: "";
  position: absolute;
  top: .7rem;
  left: 50%;
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: rgba(218,190,132,.72);
  box-shadow: 0 0 12px rgba(218,190,132,.22);
  transform: translateX(-50%);
  z-index: 5;
}

.studio-artifact img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.82) contrast(1.02) saturate(.86);
}

.studio-artifact:hover {
  filter: brightness(1.08);
  box-shadow:
    0 26px 65px rgba(0,0,0,.42),
    0 1px 0 rgba(255,255,255,.08);
}

.studio-desk.has-active .studio-artifact {
  opacity: .48;
}

.studio-desk.has-active .studio-artifact.is-active {
  opacity: 1;
  z-index: 40;
  transform:
    translate(var(--active-x, 0px), var(--active-y, -18px))
    scale(var(--active-scale, 1.35))
    rotate(0deg);
  box-shadow:
    0 45px 120px rgba(0,0,0,.58),
    0 1px 0 rgba(255,255,255,.12);
}

.artifact-note {
  position: absolute;
  left: 50%;
  top: calc(100% + .85rem);
  width: min(16rem, 90vw);
  transform: translate(-50%, -8px);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transition:
    opacity 450ms var(--ease-gallery),
    transform 550ms var(--ease-gallery);
}

.studio-artifact.is-active .artifact-note {
  opacity: 1;
  transform: translate(-50%, 0);
  transition-delay: 180ms;
}

.artifact-note h3 {
  margin: 0 0 .45rem;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(245,243,238,.48);
}

.artifact-note p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.65;
  letter-spacing: .025em;
  color: rgba(245,243,238,.72);
}

/* Hand-placed desk */

.artifact-palette {
  top: 0;
  left: 43%;
  width: 30%;
  height: 220px;
  transform: rotate(.2deg);
  --active-scale: 1.12;
  --active-x: 0px;
  --active-y: -10px;
}

.artifact-palette:hover {
  transform: translateY(-5px) rotate(0deg);
}

.artifact-brushes {
  top: 260px;
  left: 13%;
  width: 27%;
  height: 360px;
  transform: rotate(-1.4deg);
  transform-origin: left center;
  --active-scale: 1.28;
  --active-x: 46px;
  --active-y: -22px;
}

.artifact-brushes:hover {
  transform: translateY(-6px) rotate(-.5deg);
}

.artifact-paint {
  top: 430px;
  left: 43%;
  width: 23%;
  height: 315px;
  transform: rotate(.8deg);
  z-index: 3;
  --active-scale: 1.35;
  --active-x: 0px;
  --active-y: -20px;
}

.artifact-paint:hover {
  transform: translateY(-6px) rotate(.2deg);
}

.artifact-trucks {
  top: 245px;
  right: 10%;
  width: 24%;
  height: 275px;
  transform: rotate(-.5deg);
  --active-scale: 1.34;
  --active-x: -44px;
  --active-y: -18px;
}

.artifact-trucks:hover {
  transform: translateY(-6px) rotate(0deg);
}

.artifact-receipt {
  top: 590px;
  right: 11%;
  width: 21%;
  height: 285px;
  transform: rotate(.1deg);
  --active-scale: 1.58;
  --active-x: -70px;
  --active-y: -18px;
}

.artifact-receipt:hover {
  transform: translateY(-6px) rotate(0deg);
}

.artifact-pen {
  top: 780px;
  left: 42%;
  width: 20%;
  height: 160px;
  transform: rotate(1deg);
  --active-scale: 1.7;
  --active-x: 0px;
  --active-y: -28px;
}

.artifact-pen:hover {
  transform: translateY(-6px) rotate(.3deg);
}

.artifact-sketch {
  top: 640px;
  left: 14%;
  width: 19%;
  height: 210px;
  transform: rotate(-2deg);
  transform-origin: top left;
  z-index: 2;
  --active-scale: 1.5;
  --active-x: 60px;
  --active-y: -18px;
}

.artifact-sketch:hover {
  transform: translateY(-6px) rotate(-.8deg);
}

.artifact-desk {
  top: 900px;
  left: 58%;
  width: 20%;
  height: 230px;
  transform: rotate(1.2deg);

  --active-scale: 1.42;
  --active-x: -45px;
  --active-y: -24px;
}

.artifact-desk:hover {
  transform: translateY(-6px) rotate(.4deg);
}

.artifact-plant {
  top: 955px;
  left: 24%;
  width: 17%;
  height: 240px;
  transform: rotate(-1.6deg);

  --active-scale: 1.48;
  --active-x: 55px;
  --active-y: -24px;
}

.artifact-plant:hover {
  transform: translateY(-6px) rotate(-.5deg);
}

@media (max-width: 900px) {
  .studio-page {
    padding: 12vh 6vw;
  }

  .studio-intro {
    margin-bottom: 6vh;
  }

  .studio-desk {
    position: relative;
    width: min(96vw, 1700px);
    min-height: 1180px;
    margin: 0 auto;
    overflow: visible;
  }

  .studio-artifact {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    height: auto;
    transform: none;
  }

  .studio-artifact:hover,
  .studio-desk.has-active .studio-artifact.is-active {
    transform: none;
  }

  .studio-artifact img {
    height: auto;
  }

  .artifact-note {
    position: static;
    width: auto;
    margin-top: 1rem;
    transform: none;
  }

  .studio-artifact.is-active .artifact-note {
    transform: none;
  }
}