.journey-section { background: #fff; padding-block: 95px 100px; }
.journey-heading h2 { color: #080d10; font-family: Fredoka,Jakarta,sans-serif; font-size: clamp(38px,4.7vw,64px); font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
.journey-heading h2 > span { position: relative; isolation: isolate; white-space: nowrap; }
.journey-heading h2 > span:before { content: ''; position: absolute; inset: 12% -8px -3px; z-index: -1; background: #b9e3fa; border-radius: 12px 8px 14px 9px; transform: rotate(-1.5deg); }
.journey-heading > p { font-size: 16px; line-height: 1.7; color: #455c72; margin-top: 18px; }
.journey-paths { display: flex; justify-content: center; gap: 14px; margin: 28px 0 38px; }
.journey-paths button { min-width: 120px; padding: 12px 24px; border: 1px solid #d7e2ed; border-radius: 50px; background: #fff; font-size: 15px; line-height: 1.5; font-weight: 600; transition: background .2s,color .2s,border-color .2s; }
.journey-paths button:hover { background: #edf7ff; }
.journey-paths button[aria-pressed=true] { background: #18252a; color: #fff; border-color: #18252a; }
.journey-stage { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 44px; }
.journey-steps { height: 400px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.journey-steps > button { flex: 0 0 104px; display: flex; align-items: center; gap: 20px; min-width: 0; min-height: 0; text-align: left; padding: 22px; border: 1px solid #e0e8ef; border-radius: 20px; background: #fff; transition: background .25s,border-color .25s; }
.journey-steps > button[aria-selected=true] { flex: 1 1 104px; background: #edf7ff; border-color: #8ac4fb; }
.journey-steps > button:hover { border-color: #8ac4fb; }
.journey-number { display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; background: #a0cbfc; color: #183b66; font-size: 22px; font-weight: 700; line-height: 1; }
.journey-steps > button:nth-child(2) .journey-number { background: #b7aef8; }
.journey-steps > button[aria-selected=true] .journey-number { background: #6cadf4; }
.journey-step-title { display: block; font-family: Fredoka,Jakarta,sans-serif; font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; color: #080d10; }
.journey-step-description { display: block; margin-top: 10px; font-size: 14px; line-height: 1.7; color: #455c72; }
.journey-preview { min-width: 0; height: 460px; border-radius: 30px; background: #e7f4ff; overflow: hidden; display: flex; flex-direction: column; }
.journey-preview[data-path=data] { background: #e7f4ff; }
.journey-preview[data-path=design] { background: #f2efff; }
.journey-art { position: relative; min-height: 0; flex: 1; display: grid; place-items: center; padding: 16px 35px 0; }
.journey-art img { width: 100%; height: 100%; min-height: 0; max-height: 330px; object-fit: contain; }
.journey-art[data-kind=book] img { scale: 1.45; }
.journey-art[data-kind=illustration] img { scale: 1.12; }
.journey-art[data-kind=course] img { width: min(100%,290px); height: min(100%,290px); border-radius: 24px; }
.journey-art-error { font-size: 14px; color: #455c72; }
.journey-preview-copy { flex: 0 0 112px; text-align: center; padding: 16px 25px 25px; }
.journey-preview-copy h3 { font-family: Fredoka,Jakarta,sans-serif; font-size: 26px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; color: #080d10; }
.journey-preview-copy > p { font-size: 14px; line-height: 1.7; color: #455c72; margin-top: 10px; }
.journey-bottom { text-align: center; margin-top: 32px; }
.journey-bottom .button { min-width: 240px; font-size: 15px; }
.journey-bottom > p { font-size: 12px; line-height: 1.7; color: #607389; margin: 18px auto 0; max-width: 800px; }
@media(max-width:1050px) {
  .journey-stage { gap: 24px; grid-template-columns: 1fr 1fr; }
  .journey-steps > button { padding: 18px; gap: 14px; }
  .journey-number { width: 42px; height: 42px; font-size: 19px; }
  .journey-step-title { font-size: 20px; }
  .journey-step-description { font-size: 12px; }
  .journey-preview-copy h3 { font-size: 23px; }
  .journey-preview-copy > p { font-size: 12px; }
  .journey-preview-copy { flex-basis: 132px; }
}
@media(max-width:760px) {
  .journey-section { padding-block: 65px; }
  .journey-heading h2 { font-size: 40px; max-width: 440px; margin-inline: auto; }
  .journey-heading > p { font-size: 14px; max-width: 400px; margin-inline: auto; }
  .journey-stage { grid-template-columns: 1fr; gap: 24px; max-width: 500px; margin-inline: auto; }
  .journey-paths { gap: 10px; margin: 25px 0 30px; }
  .journey-paths button { min-width: 0; flex: 1; max-width: 120px; padding: 11px 18px; font-size: 14px; }
  .journey-steps { height: 350px; gap: 12px; }
  .journey-steps > button { flex-basis: 88px; padding: 16px; }
  .journey-steps > button[aria-selected=true] { flex-basis: 88px; }
  .journey-step-title { font-size: 21px; }
  .journey-step-description { font-size: 13px; }
  .journey-preview { height: 430px; border-radius: 25px; }
  .journey-art { padding: 10px 24px 0; }
  .journey-art img { max-height: 270px; }
  .journey-art[data-kind=course] img { width: min(100%,240px); height: min(100%,240px); }
  .journey-preview-copy { flex-basis: 152px; padding: 14px 20px 20px; }
  .journey-preview-copy h3 { font-size: 25px; }
  .journey-preview-copy > p { font-size: 13px; }
  .journey-bottom > p { max-width: 360px; font-size: 11px; }
}
@media(max-width:380px) {
  .journey-heading h2 { font-size: 35px; }
  .journey-number { width: 36px; height: 36px; font-size: 17px; }
  .journey-steps > button { gap: 12px; padding-inline: 13px; }
  .journey-step-title { font-size: 19px; }
  .journey-step-description { font-size: 12px; }
  .journey-preview-copy h3 { font-size: 23px; }
}
@media(prefers-reduced-motion:reduce) { .journey-paths button,.journey-steps>button { transition: none; } }
