/* Three equally visible choices share the StudyCat illustrated learning space. */
.studio-hero {
  --hero-inset: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  grid-template-areas: "copy art" "products products";
  align-items: center;
  gap: 24px;
  width: min(1320px, calc(100% - 80px));
  margin: 24px auto 0;
  padding: var(--hero-inset);
  border-radius: 32px;
  color: var(--st-paper, #fff);
  background: var(--st-violet, #671ff6);
  font-family: "Manrope", sans-serif;
}

.studio-hero *,
.studio-hero *::before,
.studio-hero *::after {
  box-sizing: border-box;
}

.studio-hero ::selection {
  color: var(--st-ink, #272439);
  background: var(--st-lemon, #bfff64);
}

.studio-hero__copy {
  grid-area: copy;
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-left: 12px;
}

.studio-hero__title {
  margin: 0;
  color: var(--st-paper, #fff);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(44px, 4.1vw, 56px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.studio-hero__title > span {
  display: block;
}

.studio-hero__intro {
  max-width: 380px;
  margin: 24px 0 0;
  color: var(--st-on-violet, #f1eaff);
  font-size: 19px;
  line-height: 1.55;
  text-wrap: pretty;
}

.studio-hero__art {
  grid-area: art;
  justify-self: end;
  position: relative;
  width: min(100%, 540px);
  min-width: 0;
  margin: 0;
}

.studio-hero__art > img,
.studio-hero__art > svg {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  overflow: visible;
}

.studio-hero__products {
  grid-area: products;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

.studio-hero__product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 188px;
  padding: 24px;
  border-radius: 18px;
  color: var(--st-ink, #272439);
  background: var(--st-paper, #fff);
}

.studio-hero__product h2 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.studio-hero__product p {
  margin: 10px 0 20px;
  color: var(--st-quiet, #625f70);
  font-size: 15px;
  line-height: 1.5;
  text-wrap: pretty;
}

.studio-hero__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: auto;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--st-ink, #272439);
  background: var(--st-lemon, #bfff64);
  font: 600 15px/1.4 "Manrope", sans-serif;
  text-align: center;
  text-decoration: none;
  text-underline-offset: 0.2em;
  transition: background-color 150ms ease-out;
}

.studio-hero__action:hover {
  background: var(--st-lemon-hover, #d2ff93);
}

.studio-hero__action:active {
  background: #a9ed4f;
}

.studio-hero .studio-hero__action:focus-visible {
  outline: 3px solid var(--st-violet, #671ff6);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .studio-hero {
    --hero-inset: 28px;
    width: calc(100% - 64px);
    gap: 20px;
  }

  .studio-hero__copy {
    padding-left: 4px;
  }

  .studio-hero__title {
    font-size: 44px;
  }

  .studio-hero__intro {
    max-width: 340px;
    margin-top: 20px;
    font-size: 17px;
  }

  .studio-hero__products {
    gap: 12px;
  }

  .studio-hero__product {
    min-height: 180px;
    padding: 20px;
  }

  .studio-hero__product h2 {
    font-size: 18px;
  }

  .studio-hero__product p {
    font-size: 14px;
  }

  .studio-hero__action {
    padding-inline: 16px;
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .studio-hero {
    --hero-inset: 28px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "products" "art";
    gap: 24px;
    width: calc(100% - 40px);
    margin-top: 16px;
    border-radius: 26px;
  }

  .studio-hero__copy {
    padding: 0;
  }

  .studio-hero__title {
    font-size: clamp(32px, 6vw, 46px);
  }

  .studio-hero__intro {
    max-width: 440px;
    margin-top: 16px;
    font-size: 16px;
  }

  .studio-hero__products {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .studio-hero__product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 24px;
    min-height: 108px;
  }

  .studio-hero__product h2 {
    grid-column: 1;
    font-size: 20px;
  }

  .studio-hero__product p {
    grid-column: 1;
    margin: 0;
    font-size: 14px;
  }

  .studio-hero__action {
    grid-column: 2;
    grid-row: 1 / 3;
    min-width: 152px;
    margin: 0;
  }

  .studio-hero__art {
    justify-self: center;
    width: min(100%, 430px);
    margin-top: -4px;
  }
}

@media (max-width: 600px) {
  .studio-hero {
    --hero-inset: 20px;
    gap: 20px;
    width: calc(100% - 32px);
    border-radius: 22px;
  }

  .studio-hero__title {
    font-size: clamp(27px, 7.9vw, 42px);
    line-height: 1.18;
    letter-spacing: -0.035em;
  }

  .studio-hero__intro {
    max-width: 32ch;
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.5;
  }

  .studio-hero__products {
    gap: 10px;
  }

  .studio-hero__product {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding: 16px;
    border-radius: 14px;
  }

  .studio-hero__product h2 {
    font-size: 18px;
    line-height: 1.3;
  }

  .studio-hero__product p {
    margin: 7px 0 12px;
    font-size: 13px;
    line-height: 1.45;
  }

  .studio-hero__action {
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 14px;
  }

  .studio-hero__art {
    width: calc(100% + 16px);
    max-width: 430px;
    margin: 0 -8px -4px;
  }
}

@media (max-width: 359px) {
  .studio-hero {
    --hero-inset: 16px;
    width: calc(100% - 24px);
  }

  .studio-hero__product {
    padding: 14px;
  }

  .studio-hero__product h2 {
    font-size: 17px;
  }
}