.hero__image-wrap {
  background: linear-gradient(105deg, #f8f5f0 15%, #eee8de 58%, #e6ded3);
}
.hero__image {
  inset: 0 0 auto auto;
  width: 45%;
  height: 100%;
  content: url("../images/portrait-clean.svg");
  background: transparent;
  object-fit: contain;
  object-position: center bottom;

}
@media (max-width: 767px) {
  .hero__image {
    width: 62%;
    object-position: center bottom;
  }
}

.hero__text { width: 360px; max-width: 42%; }
.hero__logo { max-width: 360px; }

@media (max-width: 768px) {
  .hero__image {
    inset: auto 0 0 auto;
    width: 59%;
    height: 90%;


  }
  .hero__logo { max-width: 208px; }
}
@media (max-width: 480px) {
  .hero__logo { max-width: 150px; }
}
/* Wide composition based on the original desktop design. */
@media (min-width: 769px) {
  .hero__image-wrap {
    aspect-ratio: auto;
    height: clamp(420px, min(49vw, 68svh), 750px);
    container-type: size;
    background: linear-gradient(110deg, #f8f5f0, #eee7df 76%, #f2ece5);
  }
  .hero__image {
    inset: auto auto 0 65%;
    transform: translateX(-50%);
    height: 100%;
    width: min(45%, 85cqh);
    object-position: center bottom;

  }
  .hero__text {
    left: max(9%, calc(50% - 545px));
    top: 40%;
    width: min(33vw, 63cqh, 460px);
    transform: translateY(-50%);
  }
  .hero__logo { max-width: 100%; }
  .hero__tagline { margin-left: calc(21% - 14px); font-size: clamp(18px, 1.55vw, 26px); }
  .hero__badge {
    right: 0;
    top: 24px;
    bottom: auto;
    width: clamp(195px, 16vw, 245px);
    border-radius: var(--radius-m) 0 0 var(--radius-m);
  }
  .hero__wave { height: 14%; pointer-events: none; }
  .hero__wave path { fill: #eee7e1; }
  .profile { padding-top: clamp(42px, 5svh, 64px); }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .hero__badge {

    width: clamp(145px, 17vw, 180px);
    padding-inline: 12px;
  }
}
@media (max-width: 768px) {
  .hero__badge {
    top: 12px;
    bottom: auto;
    left: auto;
    right: 0;
    border-radius: var(--radius-m) 0 0 var(--radius-m);
  }
}

.hero .hero__image-wrap {
  background: #f1faf7 url("../images/mint-daylight.webp") center / cover no-repeat;
}
.hero .hero__wave { display: none; }
@media (max-width: 768px) {
  .hero .hero__image-wrap {
    background-size: auto 100%;
    background-position: 20% center;
  }
}
/* The visible Studio lettering starts 21% into the square logo artwork. */
@media (max-width: 768px) {
  .hero__text { top: 12%; }
  .hero__tagline { margin-left: calc(min(21%, 43.68px) - 6px); }
}
@media (max-width: 480px) {
  .hero__text { top: 8%; }
  .hero__tagline { margin-left: calc(min(21%, 31.5px) - 4px); }
}

.hero__tagline { translate: -12px -10px; }
@media (max-width: 768px) {
  .hero__tagline { translate: -6px 0; white-space: nowrap; }
}


.service-card__icon {
  width: 128px;
  height: 128px;
}
