.avatar-anya {
  background-size: 3339.13043% 2226.08696%;
  background-position: 61.00671% 51.43149%;
}
.avatar-timur {
  background-size: 3200% 2133.33333%;
  background-position: 38.03763% 51.53689%;
}
.avatar-lena {
  background-size: 3200% 2133.33333%;
  background-position: 82.45968% 51.43443%;
}
.avatar-olya {
  background-size: 3200% 2133.33333%;
  background-position: 38.03763% 70.69672%;
}
.avatar-ilya {
  background-size: 3200% 2133.33333%;
  background-position: 61.08871% 70.69672%;
}
.avatar-kirill {
  background-size: 3200% 2133.33333%;
  background-position: 82.45968% 68.13525%;
}
.studio-story {
  padding-top: 0;
}
.kanban-canvas {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 1536 / 850;
  isolation: isolate;
  overflow: hidden;
  color: #211b37;
  background: #f8f6f0;
}

.studio-story .kanban-title {
  position: absolute;
  top: 8.8cqw;
  left: 5.2cqw;
  margin: 0;
  font-size: 6.1cqw;
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 600;
}
.kanban-title .serif-word {
  display: inline-block;
  margin-top: 0.4cqw;
  color: #6c50cf;
  font-size: 1.16em;
  letter-spacing: -0.055em;
}
.chat-scatter {
  position: absolute;
  left: 4.8cqw;
  top: 26.4cqw;
  width: 22cqw;
}
.chat-slip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.35cqw;
  height: 6.1cqw;
  padding: 1.2cqw 1.3cqw;
  border: 1px solid #29223208;
  border-radius: 1.5cqw;
  background: #fffefd;
  box-shadow: 0 1cqw 2.2cqw #31233e08;
  transform: rotate(-4deg);
}
.chat-slip + .chat-slip {
  margin-top: 1.45cqw;
}
.chat-slip:nth-of-type(2) {
  background: #eee7f8;
  transform: rotate(4deg) translateX(-0.25cqw);
}
.chat-slip:nth-of-type(3) {
  transform: rotate(-4deg) translateX(0.8cqw);
}
.chat-slip p {
  color: #453e61;
  font-size: 1.25cqw;
  line-height: 1.3;
  letter-spacing: -0.025em;
  white-space: nowrap;
  margin: 0 0 0.6cqw;
}
.chat-slip time {
  position: absolute;
  right: 1.4cqw;
  bottom: 0.7cqw;
  color: #79728d;
  font-size: 0.9cqw;
}
.board-avatar {
  display: block;
  width: 2.85cqw;
  height: 2.85cqw;
  flex: 0 0 2.85cqw;
  border-radius: 50%;
  background-image: url("../shared/assets/studio-kanban-reference.png");
  background-repeat: no-repeat;
}
.chat-slip .board-avatar {
  width: 3.3cqw;
  height: 3.3cqw;
  flex-basis: 3.3cqw;
}
.chat-spark {
  position: absolute;
  left: -3.1cqw;
  top: -1.7cqw;
  width: 3.3cqw;
  height: 4cqw;
}
.chat-spark path,
.chat-to-board path {
  fill: none;
  stroke: #7553dc;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chat-to-board {
  position: absolute;
  left: 27.5cqw;
  top: 30.5cqw;
  width: 6.5cqw;
  height: 4.2cqw;
}
.story-board {
  position: absolute;
  top: 24cqw;
  left: 35.55cqw;
  right: 2.35cqw;
  display: grid;
  grid-template-columns: 19fr 18fr 18.8fr;
  gap: 3.2cqw;
}
.board-column {
  position: relative;
  min-width: 0;
}
.board-column + .board-column::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: -2.3cqw;
  left: -1.6cqw;
  width: 1px;
  background: #e2dfe5;
}
.board-column h3 {
  font-size: 1.75cqw;
  color: #5c5571;
  line-height: 1.2;
  font-weight: 550;
  letter-spacing: -0.035em;
  margin: 0.4cqw 0 1.7cqw;
}
.board-task-list {
  display: grid;
  gap: 1.45cqw;
}
.board-task {
  min-height: 9cqw;
  padding: 1.4cqw 1.45cqw 1.15cqw;
  background: #fffefd;
  border: 1px solid #29223208;
  border-radius: 1.4cqw;
  box-shadow: 0 0.8cqw 2cqw #31233e04;
}
.board-task-lavender {
  background: #eee7f8;
}
.board-task h4 {
  font: 500 1.57cqw/1.25 var(--font-ui);
  letter-spacing: -0.04em;
  margin: 0 0 1.5cqw;
}
.board-column:last-child .board-task:last-child h4 {
  font-size: 1.43cqw;
  letter-spacing: -0.055em;
}
.board-task-meta {
  display: flex;
  align-items: center;
  gap: 0.7cqw;
  color: #777088;
  font-size: 1.02cqw;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.board-due {
  margin-left: auto;
  font-size: 0.98cqw;
  white-space: nowrap;
}
.story-followup {
  margin-top: 48px;
}
@media (max-width: 700px) {
  .kanban-canvas {
    aspect-ratio: auto;
    padding: 52px 22px 32px;
  }
  .studio-story .kanban-title {
    position: static;
    font-size: clamp(36px, 7.4vw, 52px);
  }
  .kanban-title .serif-word {
    margin-top: 2px;
  }
  .chat-scatter {
    position: relative;
    inset: auto;
    width: min(300px, 85%);
    margin: 42px auto 54px;
  }
  .chat-slip {
    height: 78px;
    gap: 15px;
    padding: 16px;
    border-radius: 18px;
  }
  .chat-slip + .chat-slip {
    margin-top: 14px;
  }
  .chat-slip p {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .chat-slip time {
    font-size: 11px;
    right: 18px;
    bottom: 8px;
  }
  .board-avatar,
  .chat-slip .board-avatar {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  .chat-spark {
    width: 34px;
    height: 42px;
    left: -24px;
    top: -24px;
  }
  .chat-to-board {
    position: relative;
    display: block;
    inset: auto;
    width: 72px;
    height: 48px;
    margin: -34px auto 24px;
    transform: rotate(65deg);
  }
  .story-board {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(3, 270px);
    gap: 18px;
    width: calc(100% + 44px);
    margin-inline: -22px;
    padding: 0 22px 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 22px;
    scrollbar-width: thin;
    scrollbar-color: #c7b6e5 transparent;
  }
  .board-column {
    scroll-snap-align: start;
  }
  .board-column + .board-column::before {
    display: none;
  }
  .board-column h3 {
    font-size: 21px;
    margin: 0 0 14px;
  }
  .board-task-list {
    gap: 12px;
  }
  .board-task {
    border-radius: 20px;
    min-height: 126px;
    padding: 22px;
  }
  .board-task h4 {
    font-size: 21px;
    margin-bottom: 20px;
  }
  .board-column:last-child .board-task:last-child h4 {
    font-size: 20px;
  }
  .board-task-meta {
    font-size: 14px;
    gap: 10px;
  }
  .board-due {
    font-size: 12px;
  }
}
