/* Finishing polish for the homepage review. */
.hero-visual {
  margin-bottom: 1.8rem;
}

.hero-caption {
  bottom: -1.45rem;
  right: 1%;
}

.hero-note {
  min-width: 175px;
}

.hero-slider {
  background: #eaded1;
}

.hero-slider .hero-slide {
  inset: 0;
  opacity: 0;
  position: absolute;
  transform: scale(1.035);
  transition: opacity 650ms ease, transform 2.4s ease;
}

.hero-slider .hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slider .hero-slide img {
  height: 100%;
  object-position: center;
  width: 100%;
}

.hero-slider .hero-slide:nth-child(2) img {
  object-position: 68% center;
}

.hero-slider-dots {
  bottom: 1.2rem;
  display: flex;
  gap: .45rem;
  position: absolute;
  right: 1.2rem;
  z-index: 4;
}

.hero-slider-dots button {
  appearance: none;
  background: rgba(255, 253, 249, .58);
  border: 1px solid rgba(66, 22, 87, .22);
  border-radius: 100%;
  cursor: pointer;
  height: .62rem;
  padding: 0;
  transition: background .2s, transform .2s, width .2s;
  width: .62rem;
}

.hero-slider-dots button:hover,
.hero-slider-dots button:focus-visible {
  transform: scale(1.13);
}

.hero-slider-dots button.is-active {
  background: var(--plum);
  width: 1.45rem;
}

.hero-note .note-icon {
  align-items: center;
  color: var(--gold-deep);
  display: inline-flex;
  font-size: 1.35rem;
  justify-content: center;
  width: 1.35rem;
}

.hero-note--top {
  bottom: auto;
  left: auto;
  right: -10%;
  top: 8%;
  transform: rotate(3deg);
}

.hero-note--right {
  bottom: 31%;
  left: auto;
  right: -12%;
  transform: rotate(2deg);
}

.hero-note--left {
  bottom: auto;
  left: -8%;
  top: 37%;
  transform: rotate(-2deg);
}

.service-strip p {
  font-size: .9rem;
  line-height: 1.4;
}

.service-strip small {
  font-size: .8rem;
  line-height: 1.35;
  margin-top: .15rem;
}

.mini-icon {
  font-size: 1.7rem;
}

.experience-details p {
  font-size: .9rem;
  letter-spacing: .015em;
  line-height: 1.45;
}

/* Keep the decorative quotation mark separate from the message. */
.about-shape {
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 2.4rem;
}

.about-quote {
  font-size: clamp(4.3rem, 7vw, 6.2rem);
  left: auto;
  line-height: .5;
  margin: 0;
  position: relative;
  top: auto;
  z-index: 1;
}

.about-shape p {
  max-width: 18ch;
}

@media (max-width: 640px) {
  .hero-visual {
    margin-bottom: 1.55rem;
  }

  .hero-caption {
    bottom: -1.3rem;
    font-size: .52rem;
    right: 2%;
  }

  .hero-note {
    gap: .55rem;
    min-width: 0;
    padding: .68rem .72rem;
  }

  .hero-slider-dots {
    bottom: .9rem;
    right: .9rem;
  }

  .hero-note p {
    font-size: .68rem;
  }

  .hero-note .note-icon {
    font-size: 1.1rem;
    width: 1.1rem;
  }

  .hero-note--top {
    right: -2%;
    top: 5%;
  }

  .hero-note--right {
    bottom: 30%;
    right: -3%;
  }

  .hero-note--left {
    left: -2%;
    top: 32%;
  }

  .service-strip p {
    font-size: .98rem;
  }

  .service-strip small {
    font-size: .86rem;
  }

  .mini-icon {
    font-size: 1.85rem;
  }

  .experience-details p {
    font-size: .95rem;
    line-height: 1.45;
  }

  .about-shape {
    gap: .85rem;
    padding: 1.65rem 1.4rem;
  }

  .about-quote {
    font-size: 4.4rem;
  }

  .about-shape p {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    line-height: 1.08;
  }

  .service-card a {
    bottom: auto;
    display: inline-flex;
    margin-top: 1.45rem;
    position: static;
  }
}
