/* One shared palette and section-heading scale for the Profile page. */
.page-home {
  --profile-section-heading: clamp(34px, 3.35vw, 46px);
}

.page-home .home-hero .hero-eyebrow {
  display: block;
  line-height: 1.65;
}

.page-home .hero-eyebrow > span {
  white-space: nowrap;
}
.hero-market-short { display: none; }
@media (max-width: 860px) {
  .hero-market-full { display: none; }
  .hero-market-short { display: inline; }
}

.page-home .profile-highlights {
  padding-bottom: 0;
  background: var(--bg);
}

/* The supplied contour, scaled across the full viewport without cropping. */
.profile-journey-wave {
  height: clamp(48px, 6.8vw, 130px);
  margin-top: 66px;
  margin-bottom: -1px;
  background: url('/assets/profile-journey-wave.svg') center bottom / 100% 100% no-repeat;
  pointer-events: none;
}

.page-home .profile-journey {
  background: #fff;
  color: #171d28;
}

.page-home .journey-heading h2 {
  color: #171d28;
}

.page-home .journey-heading .eyebrow {
  color: #315fcf;
}

.page-home :is(.journey-about, .journey-panel) h3 {
  color: #171d28;
}

.page-home .journey-about h3 {
  color: var(--blue);
}

.page-home .journey-prose p {
  color: #4b5563;
}

.page-home .journey-about .journey-lead {
  color: #303b4b;
}

.page-home .journey-cta {
  background: #315fcf;
  color: #fff;
}

.page-home .journey-cta:hover {
  background: #234baa;
}

.page-home .journey-cta:focus-visible {
  outline: 3px solid #315fcf;
  outline-offset: 4px;
}

.page-home .profile-certificates,
.page-home .directions {
  background: var(--panel);
}

.page-home .journey-panel {
  background: #fff;
  border-color: #dce2ec;
}

.page-home .certificate-card {
  background: #19191c;
  border-color: #303036;
}

.page-home :is(.profile-journey, .profile-certificates, .directions, .contact-section) h2 {
  font-size: var(--profile-section-heading);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.04em;
}

/* Remove the two rules bracketing the space before Let's connect. */
.page-home .directions .direction-row:last-child {
  border-bottom: 0;
}

.page-home .contact-banner {
  border-top: 0;
}

@media (max-width: 680px) {
  .page-home {
    --profile-section-heading: clamp(30px, 8.6vw, 40px);
  }

  .profile-journey-wave {
    margin-top: 48px;
  }
}
