/* Home page only. */

.hero { display: flex; flex-wrap: wrap; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 7vw, 4.5rem) var(--section); }
.hero__text { flex: 1 1 27.5rem; min-width: 0; }
.hero__text .lead { margin-bottom: 2.25rem; max-width: 29.5rem; }
.hero__accent { color: var(--color-accent); }
.hero__photo { flex: 1 1 26rem; min-width: 0; }
.hero__photo img { object-position: 28% 45%; }

/* The small "Hi, I'm Kimberly" card that overlaps the photo */
.hero__card {
  position: absolute;
  right: -0.75rem;
  bottom: 3.5rem;
  max-width: 16.5rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-rule);
}
.hero__card p { margin: 0; }
.hero__card-name { font-weight: 700; }
.hero__card-line { margin-top: 0.125rem; font-size: 0.875rem; color: var(--color-muted); }
/* On a phone the card sits under the photo, so it never covers her face. */
@media (max-width: 40rem) {
  .hero__card { position: relative; right: auto; bottom: auto; max-width: none; border-top: 0; }
}

.intro__photo img { object-position: 72% 40%; aspect-ratio: 4 / 5; }
.intro h2 { max-width: 16ch; }

.referrals { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.75rem; }
.referrals p { margin: 0; max-width: 44rem; color: var(--color-muted); }
