.home-journey {
  display: grid;
  gap: 18px;
  padding-block: clamp(42px, 7vw, 86px) 12px;
}

.journey-intro {
  max-width: 640px;
  margin-bottom: 8px;
}

.journey-intro h2,
.journey-copy h3 {
  margin: 0;
  color: #174b3e;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.journey-intro h2 {
  font-size: clamp(27px, 4vw, 43px);
}

.journey-scene {
  --journey-depth: 0;
  --journey-bg: #e9eedf;
  --journey-accent: #d4e2c4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--journey-bg);
  border: 1px solid #dce2d3;
  border-radius: 24px;
  isolation: isolate;
}

.journey-speak {
  --journey-bg: #f3eadb;
  --journey-accent: #e9d7b5;
}

.journey-share {
  --journey-bg: #edf0e4;
  --journey-accent: #d7e4ca;
}

.journey-copy {
  padding: clamp(24px, 5vw, 62px);
}

.journey-copy h3 {
  font-size: clamp(23px, 3.1vw, 34px);
}

.journey-copy > p:not(.eyebrow) {
  max-width: 42ch;
  margin-block: 12px 0;
  line-height: 1.65;
}

.journey-copy .button {
  margin-top: 18px;
}

.journey-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 260px;
  padding: 20px 20px 38px;
  overflow: hidden;
  border-radius: inherit;
}

.journey-orb {
  position: absolute;
  width: min(64%, 242px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 26%, #faf8f2, var(--journey-accent) 78%);
  transform: translateY(calc(var(--journey-depth) * -13px));
}

.journey-visual > img,
.journey-dog {
  position: relative;
  width: min(72%, 230px);
  height: auto;
  transform: translateY(calc(var(--journey-depth) * 17px));
}

.journey-share img {
  width: min(90%, 330px);
  border-radius: 18px;
}

.journey-caption {
  position: absolute;
  bottom: 17px;
  max-width: calc(100% - 28px);
  padding: 8px 14px;
  border-radius: 999px;
  color: #174b3e;
  background: #faf8f2;
  box-shadow: 0 4px 16px #174b3e18;
  font-size: clamp(12px, 2.5vw, 15px);
  font-weight: 600;
  text-align: center;
  transform: translateY(calc(var(--journey-depth) * -6px));
}

@media (min-width: 701px) {
  .journey-speak .journey-visual {
    grid-column: 1;
    grid-row: 1;
  }

  .journey-speak .journey-copy {
    grid-column: 2;
  }
}

@media (max-width: 700px) {
  .journey-scene {
    grid-template-columns: 1fr;
  }

  .journey-copy {
    padding-bottom: 4px;
  }

  .journey-visual {
    min-height: 218px;
  }

  .journey-visual > img,
  .journey-dog {
    width: min(62%, 166px);
  }

  .journey-share img {
    width: min(84%, 246px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey-orb,
  .journey-visual > img,
  .journey-dog,
  .journey-caption {
    transform: none;
  }
}

.journey-dog {
  display: grid;
}

.journey-dog img {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: auto;
}

@media (prefers-reduced-motion: no-preference) {
  .journey-dog.is-nodding .journey-dog-body {
    clip-path: polygon(0 47%, 25% 47%, 35% 57%, 56% 58%, 73% 55%, 100% 55%, 100% 100%, 0 100%);
  }

  .journey-dog.is-nodding .journey-dog-head {
    clip-path: polygon(0 0, 100% 0, 100% 56%, 73% 56%, 56% 60%, 35% 59%, 25% 48%, 0 48%);
    transform-origin: 54% 58%;
    animation: journey-dog-nod 1.05s ease-in-out both;
  }

  @keyframes journey-dog-nod {
    0%, 100% { transform: none; }
    40%, 52% { transform: translateY(1px) rotate(3deg); }
  }
}
