.beyhla-journey {
  background: var(--beyhla-black);
  color: var(--beyhla-dark);
  isolation: isolate;
  min-height: 1190px;
  overflow: clip;
  position: relative;
}

.beyhla-journey::before {
  background: radial-gradient(circle 771.5px, #5c2b0d 0%, rgb(92 43 13 / 0%) 72.5962%);
  border-radius: 50%;
  bottom: -984px;
  content: "";
  height: 1543px;
  left: calc(50% - 1935px);
  pointer-events: none;
  position: absolute;
  width: 1543px;
  z-index: 0;
}

.beyhla-journey__panel {
  background: #d9d9d9;
  margin-inline: auto;
  min-height: 1188px;
  padding-top: 109px;
  position: relative;
  width: 1370px;
  z-index: 1;
}

.beyhla-journey__header {
  margin-inline: auto;
  text-align: center;
  width: 1083px;
}

.beyhla-journey__eyebrow {
  align-items: center;
  display: flex;
  font-size: 18px;
  font-weight: 600;
  gap: 20px;
  justify-content: center;
  letter-spacing: 4px;
  line-height: 27px;
  margin: 0 auto 40px;
  max-width: 803px;
  text-transform: uppercase;
}

.beyhla-journey__eyebrow::before,
.beyhla-journey__eyebrow::after {
  background: var(--beyhla-dark);
  content: "";
  flex: 0 0 70px;
  height: 2px;
}

.beyhla-journey__heading {
  font-family: var(--beyhla-heading-font);
  font-size: 75px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 90px;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.beyhla-journey__heading > span {
  display: block;
}

.beyhla-journey__heading > span:first-child {
  transform: scaleX(0.93);
  transform-origin: center;
  white-space: nowrap;
}

.beyhla-journey__heading .is-accent {
  color: var(--beyhla-orange);
}

.beyhla-journey__intro {
  font-size: 18px;
  line-height: 27px;
  margin: 36px auto 0;
  max-width: 809px;
}

.beyhla-journey .beyhla-journey__intro,
.beyhla-journey .beyhla-journey__step-body {
  color: var(--beyhla-dark);
}

.beyhla-journey__intro > :first-child,
.beyhla-journey__step-body > :first-child {
  margin-top: 0;
}

.beyhla-journey__intro > :last-child,
.beyhla-journey__step-body > :last-child {
  margin-bottom: 0;
}

.beyhla-journey__steps {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 40px 0 0 -140px;
  padding: 0;
  width: 1650px;
}

.beyhla-journey__step {
  background: var(--beyhla-white);
  border: 1px solid var(--beyhla-orange);
  border-radius: 10px;
  min-height: 361px;
  padding: 9px 24px 24px;
  position: relative;
}

.beyhla-journey__step:nth-child(3) {
  justify-self: start;
  width: calc(100% - 3px);
}

.beyhla-journey__number {
  color: var(--beyhla-orange);
  display: block;
  font-size: 84px;
  font-weight: 700;
  height: 100px;
  line-height: 100px;
}

.beyhla-journey__step-title {
  font-family: var(--beyhla-body-font);
  font-size: 18px;
  font-weight: 700;
  left: 142px;
  line-height: 27px;
  margin: 0;
  position: absolute;
  top: 46px;
}

.beyhla-journey__step-body {
  font-size: 18px;
  line-height: 27px;
  margin-top: 10px;
}

.beyhla-journey__closing {
  color: var(--beyhla-black);
  font-family: var(--beyhla-script-font);
  -webkit-font-smoothing: antialiased;
  font-size: 48px;
  font-weight: 400;
  line-height: 60px;
  margin: 98px auto 0;
  text-align: center;
  text-rendering: geometricPrecision;
  transform: rotate(-4.659832deg);
  white-space: nowrap;
  width: 554px;
}

@media (min-width: 1700px) {
  .beyhla-journey__eyebrow span {
    letter-spacing: 4px;
    white-space: nowrap;
  }
}

@media (max-width: 1699px) {
  .beyhla-journey {
    min-height: 0;
    padding-block: clamp(48px, 7vw, 96px);
  }

  .beyhla-journey::before {
    background: radial-gradient(circle 680px, #5c2b0d 0%, rgb(92 43 13 / 0%) 72.5962%);
    bottom: -860px;
    height: 1360px;
    left: -880px;
    top: auto;
    width: 1360px;
  }

  .beyhla-journey__panel {
    min-height: 0;
    padding: clamp(56px, 7vw, 96px) clamp(24px, 5vw, 72px);
    width: calc(100% - 48px);
  }

  .beyhla-journey__header {
    max-width: 1083px;
    width: 100%;
  }

  .beyhla-journey__heading {
    font-size: clamp(48px, 6vw, 75px);
    line-height: 1.15;
  }

  .beyhla-journey__heading > span:first-child {
    transform: none;
    white-space: normal;
  }

  .beyhla-journey__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: clamp(40px, 5vw, 64px) 0 0;
    width: 100%;
  }

  .beyhla-journey__step,
  .beyhla-journey__step:nth-child(3) {
    align-content: start;
    display: grid;
    gap: 20px;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 0;
    padding: 24px;
    width: 100%;
  }

  .beyhla-journey__number {
    height: auto;
    line-height: 1;
  }

  .beyhla-journey__step-title {
    align-self: center;
    left: auto;
    position: static;
    top: auto;
  }

  .beyhla-journey__step-body {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .beyhla-journey__closing {
    margin-top: clamp(64px, 8vw, 98px);
    max-width: 100%;
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .beyhla-journey__eyebrow {
    letter-spacing: 2px;
  }

  .beyhla-journey__eyebrow::before,
  .beyhla-journey__eyebrow::after {
    flex-basis: 40px;
  }

  .beyhla-journey__steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .beyhla-journey {
    padding-block: 32px;
  }

  .beyhla-journey__panel {
    padding: 48px 20px 56px;
    width: calc(100% - 32px);
  }

  .beyhla-journey__eyebrow {
    font-size: 13px;
    gap: 12px;
    letter-spacing: 1.5px;
    line-height: 20px;
    margin-bottom: 28px;
  }

  .beyhla-journey__eyebrow::before,
  .beyhla-journey__eyebrow::after {
    flex-basis: 24px;
    height: 1px;
  }

  .beyhla-journey__heading {
    font-size: clamp(32px, 9vw, 48px);
    min-width: 0;
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  .beyhla-journey__intro {
    font-size: 16px;
    line-height: 24px;
    margin-top: 28px;
  }

  .beyhla-journey__steps {
    gap: 20px;
  }

  .beyhla-journey__step,
  .beyhla-journey__step:nth-child(3) {
    gap: 16px;
    padding: 20px;
  }

  .beyhla-journey__number {
    font-size: 60px;
  }

  .beyhla-journey__step-title,
  .beyhla-journey__step-body {
    font-size: 16px;
    line-height: 24px;
  }

  .beyhla-journey__closing {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1.2;
    transform: rotate(-3deg);
  }
}

@media (max-width: 340px) {
  .beyhla-journey__heading {
    font-size: 28px;
  }
}
