.assistant-section {
  padding: 58px 0 0 64px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  align-items: stretch;
  gap: 36px;
}

.assistant-copy {
  max-width: 720px;
  padding: 0 0 58px;
  align-self: center;
  position: relative;
  z-index: 1;
}

.assistant-copy .assistant-open {
  margin-top: 8px;
}

.assistant-portrait {
  order: 2;
  width: 100%;
  height: 100%;
  align-self: end;
  justify-self: end;
  justify-content: flex-end;
}

.assistant-portrait img {
  width: min(100%, 390px);
  max-height: 460px;
  object-fit: contain;
  object-position: right bottom;
  transform: scale(1.24);
  transform-origin: right bottom;
  filter: drop-shadow(0 18px 28px rgba(18, 7, 7, .3));
}

@media (max-width: 900px) {
  .assistant-section {
    padding: 48px 32px 0 48px;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    gap: 24px;
  }

  .assistant-copy {
    padding-bottom: 48px;
  }

  .assistant-portrait img {
    width: min(100%, 300px);
    transform: scale(1.12);
  }
}

@media (max-width: 620px) {
  .assistant-section {
    width: 100%;
    padding: 44px 24px 0;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .assistant-copy {
    max-width: none;
    padding-bottom: 0;
  }

  .assistant-copy .assistant-open {
    width: 100%;
    margin-top: 6px;
  }

  .assistant-portrait {
    order: 2;
    justify-content: flex-end;
  }

  .assistant-portrait img {
    width: min(78vw, 300px);
    max-height: none;
    transform: none;
  }
}
