/* The three first-step stories form one composition, rather than three screens. */
body.home .home-intro-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1600px, calc(100% - 36px));
  margin: 20px auto 34px;
  align-items: stretch;
}

body.home .home-intro-row > * {
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 440px !important;
  margin: 0 !important;
  padding: clamp(26px, 2.7vw, 44px) !important;
  overflow: hidden;
  border: 1px solid rgba(35, 82, 66, .12);
  border-radius: 26px;
  isolation: isolate;
}

body.home .home-intro-row .help-overview,
body.home .home-intro-row .approach-section {
  background: #eeeae0 !important;
}

body.home .home-intro-row .help-overview::before,
body.home .home-intro-row .approach-section::before {
  position: absolute;
  inset: 0 !important;
  z-index: -1;
  background-repeat: no-repeat !important;
  background-position: center, center bottom !important;
  background-size: cover, 122% auto !important;
  opacity: 1 !important;
  pointer-events: none;
}

body.home .home-intro-row .help-overview::before {
  background-image: linear-gradient(180deg, #f5f2e9 0%, rgba(245, 242, 233, .97) 49%, rgba(245, 242, 233, .14) 100%), var(--anterus-photo-04c8df7e77ba8e81, url('assets/cinematic/help-without-diagnosis.png')) !important;
  transform: scaleX(-1);
}

body.home .home-intro-row .approach-section::before {
  background-image: linear-gradient(180deg, #f5f2e9 0%, rgba(245, 242, 233, .97) 49%, rgba(245, 242, 233, .14) 100%), var(--anterus-photo-984a25e6b8db1dce, url('assets/cinematic/approach-around-you.png')) !important;
  transform: none;
}

body.home .home-intro-row .help-overview .split,
body.home .home-intro-row .approach-stage {
  display: flex !important;
  flex: 1;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 !important;
}

body.home .home-intro-row .help-overview__intro,
body.home .home-intro-row .approach-heading {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  max-width: none;
  margin: 0;
}

body.home .home-intro-row .eyebrow {
  margin: 0 0 22px;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .12em;
}

body.home .home-intro-row h2 {
  margin: 0 0 18px !important;
  color: #18392f;
  font-size: clamp(28px, 2.5vw, 42px) !important;
  font-weight: 500;
  line-height: 1.04 !important;
  letter-spacing: -.035em !important;
}

body.home .home-intro-row h2 br { display: none; }
body.home .home-intro-row h2 em { font-style: normal; }

body.home .home-intro-row p:not(.eyebrow) {
  max-width: 38ch;
  margin: 0;
  color: #344f45;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.5;
}

body.home .home-intro-row a {
  align-self: flex-start;
  margin-top: auto !important;
  padding-top: 24px;
  color: #b65334;
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 5px;
}

body.home .home-intro-row .path-card--dark {
  background: #205445 !important;
  color: #fff;
}

body.home .home-intro-row .path-card--dark h2,
body.home .home-intro-row .path-card--dark p:not(.eyebrow),
body.home .home-intro-row .path-card--dark a { color: #fff !important; }

body.home .home-intro-row .path-card--dark h2 { max-width: 13ch; }
body.home .home-intro-row .path-card--dark a { margin-top: auto !important; }

body.home .home-intro-row a:focus-visible {
  outline: 3px solid #b65334;
  outline-offset: 5px;
  border-radius: 3px;
}

@media (max-width: 900px) {
  body.home .home-intro-row { grid-template-columns: 1fr; width: min(720px, calc(100% - 32px)); gap: 12px; }
  body.home .home-intro-row > * { min-height: 300px !important; }
  body.home .home-intro-row .help-overview::before,
  body.home .home-intro-row .approach-section::before { background-size: cover, 80% auto !important; background-position: center, right bottom !important; }
}

@media (max-width: 600px) {
  body.home .home-intro-row { margin-block: 12px 26px; }
  body.home .home-intro-row > * { min-height: 330px !important; padding: 26px !important; border-radius: 20px; }
  body.home .home-intro-row h2 { font-size: clamp(29px, 8vw, 36px) !important; }
  body.home .home-intro-row p:not(.eyebrow) { font-size: 14px; }
  body.home .home-intro-row .help-overview::before,
  body.home .home-intro-row .approach-section::before { background-size: cover, 118% auto !important; background-position: center, center bottom !important; }
}

@media (prefers-reduced-motion: reduce) {
  body.home .home-intro-row > *,
  body.home .home-intro-row .help-overview::before,
  body.home .home-intro-row .approach-section::before { transition: none !important; }
}
