/* Both programmes share the documented journey; the care plan remains individual. */
.jewel-journey{--journey-accent:#00877d;--journey-tint:#eaf5f1;padding-block:88px 72px;background:#fff9f4}
.jewel-journey[data-programme=stepping]{--journey-accent:#a33150;--journey-tint:#faedf0}
.journey-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:55px;margin-bottom:34px}
.journey-heading h2{font-size:clamp(34px,3.6vw,50px);line-height:1.15}
.journey-heading .eyebrow{margin-bottom:17px}
.journey-heading>p{max-width:330px;font-size:14px;line-height:1.8;padding-bottom:5px}
.journey-pathways{display:grid;grid-template-columns:1fr 1fr;gap:24px;position:relative;padding-bottom:36px}
.journey-pathways:after{content:'';position:absolute;bottom:11px;left:25%;right:25%;height:24px;border:1px solid #cbd6d0;border-top:0;border-radius:0 0 12px 12px;pointer-events:none}
.journey-pathway {
  --pathway-accent: #00877d;
  --pathway-tint: #f0f8f5;
  display: grid;
  grid-template-columns: 1fr 145px;
  position: relative;
  text-align: left;
  padding: 0;
  border: 1px solid #c5d8cd;
  border-radius: 18px;
  overflow: hidden;
  background: #fffdfb;
  transition: border-color .2s, background-color .2s;
}

.journey-pathway[data-pathway=stepping] {
  --pathway-accent: #a33150;
  --pathway-tint: #fcf2f4;
}

.journey-pathway[aria-pressed=true] {
  border-color: color-mix(in srgb, var(--pathway-accent) 45%, #c5d8cd);
  background-color: var(--pathway-tint);
}

.journey-pathway[aria-pressed=false]:hover {
  border-color: color-mix(in srgb, var(--pathway-accent) 25%, #c5d8cd);
}
.pathway-copy{padding:23px 25px;position:relative}
.pathway-age{font-size:10px;letter-spacing:.13em;font-weight:700;color:#5b6f69;display:block;margin-bottom:9px}
.journey-pathway .pathway-title{font-size:27px;line-height:1.2;letter-spacing:-.035em}
.pathway-description{display:block;font-size:13px;line-height:1.6;margin-top:7px;color:#62656b}
.pathway-action{display:inline-block;font-size:11px;font-weight:500;color:#69716e;margin-top:17px}
.journey-pathway[aria-pressed=true] .pathway-action{color:var(--journey-accent)}
.journey-pathway img{width:100%;height:100%;min-height:180px;object-position:50% 65%}
.journey-pathway[data-pathway=stepping] img{object-position:50% 55%}
.pathway-indicator{position:absolute;right:157px;top:16px;width:9px;height:9px;border-radius:50%;border:1px solid #c7d1cb;background:white}
.journey-pathway[aria-pressed=true] .pathway-indicator{border-color:var(--journey-accent);background:var(--journey-accent)}
.journey-flow-heading{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px;padding-top:11px}
.journey-flow-heading:before{content:'';position:absolute;left:50%;height:23px;width:1px;background:#cbd6d0;top:-25px}
.journey-flow-heading h3{color:var(--journey-accent);font-size:22px;line-height:1.4}
.journey-flow-heading p{font-size:11px;margin-top:2px}
.journey-instruction{font-size:11px;color:#746e73;text-align:right}
.journey-instruction span{display:block;font-size:10px;margin-top:3px;color:#777e80}
.journey-steps{display:grid;grid-template-columns:repeat(6,1fr);list-style:none;margin:0;padding:0;position:relative;gap:12px}
.journey-steps>li{position:relative;min-width:0}
.journey-steps>li:not(:last-child):after{
  content:'';
  position:absolute;
  left:calc(50% + 43px);
  top:32px;
  width:calc(100% - 86px);
  height:2px;
  border-radius:999px;
  background:#dbe3e0;
  z-index:1;
  pointer-events:none;
  font-size:0;
}
.journey-steps>li.is-complete:not(:last-child):after{
  background:var(--journey-accent);
  box-shadow:none;
}
.journey-step{display:flex;flex-direction:column;align-items:center;text-align:center;width:100%;padding:0 3px 16px;border-bottom:2px solid transparent;position:relative}
.journey-step[aria-pressed=true]{border-color:var(--journey-accent)}
.journey-icon{width:67px;height:67px;border:1px solid #d8dfd9;background:#fffdfb;display:grid;place-items:center;border-radius:50%;position:relative;margin-bottom:14px;transition:background .15s}
.journey-icon svg{width:29px;height:29px;fill:none;stroke:#568279;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
.journey-icon small{position:absolute;left:-5px;top:-3px;background:#fff9f4;border:1px solid #d9ded7;border-radius:50%;width:22px;height:22px;font-size:10px;display:grid;place-items:center;font-weight:500;color:#677a71}
.journey-step[aria-pressed=true] .journey-icon{background:var(--journey-accent);border-color:var(--journey-accent);box-shadow:none}
.journey-step[aria-pressed=true] svg{stroke:#fff}
.journey-step[aria-pressed=true] small{border-color:var(--journey-accent);color:var(--journey-accent)}
.journey-steps>li.is-complete .journey-icon{
  border:1px solid var(--journey-accent);
  background:#fffdfb;
  box-shadow:none;
}
.journey-steps>li.is-complete .journey-icon svg{
  stroke:var(--journey-accent);
}
.journey-steps>li.is-complete .journey-icon small{
  border-color:var(--journey-accent);
  color:var(--journey-accent);
}
.journey-step:hover .journey-icon{outline:3px solid var(--journey-tint)}
.journey-step strong{font-family:Jewel Heading,Quicksand,sans-serif;font-size:16px;line-height:1.3;letter-spacing:-.025em}
.journey-step>span:last-child{font-size:10px;line-height:1.5;color:#69726e;margin-top:5px;max-width:150px}
.journey-loop{display:flex;align-items:center;justify-content:flex-end;margin:5px 1% 16px;color:#697c75;font-size:10px;gap:8px}
.journey-loop span:first-child{font-size:17px;color:var(--journey-accent)}
.journey-detail{border:1px solid #dbe3dc;border-radius:18px;background:#fffdfb;overflow:hidden;display:grid;grid-template-columns:.85fr 1.15fr}
.journey-detail-intro{position:relative;padding:27px 30px;background:var(--journey-tint)}
.journey-detail-label{display:flex;gap:12px;align-items:center;margin-bottom:14px;color:var(--journey-accent);font-size:10px;letter-spacing:.11em;font-weight:500}
.journey-detail-label>span{font-family:Jewel Heading,Quicksand,sans-serif;font-size:23px;letter-spacing:-.03em}
.journey-detail h3{font-size:28px;line-height:1.2;max-width:360px;letter-spacing:-.035em}
.journey-detail-intro>p{font-size:13px;line-height:1.75;margin-top:14px;max-width:380px;color:#56635f}
.journey-team{margin-top:21px;padding-top:15px;border-top:1px solid #bdcfc46b}
.journey-team>span{display:block;font-size:9px;letter-spacing:.11em;color:#61746e;margin-bottom:5px}
.journey-team p{font-size:11px;line-height:1.7;color:#3f6058}
.journey-detail-points{list-style:none;margin:0;padding:27px 30px;counter-reset:journey-detail}
.journey-detail-points li{position:relative;padding-left:26px;padding-bottom:17px;counter-increment:journey-detail}
.journey-detail-points li:before{content:'';position:absolute;top:6px;left:2px;width:7px;height:7px;border:1px solid var(--journey-accent);border-radius:50%;background:var(--journey-tint)}
.journey-detail-points li:not(:last-child):after{content:'';position:absolute;top:15px;bottom:-4px;left:6px;width:1px;background:#dbe4de}
.journey-detail-points li:last-child{padding-bottom:0}
.journey-detail-points h4{font-size:15px;line-height:1.4;margin-bottom:4px;letter-spacing:-.02em}
.journey-detail-points p{font-size:12px;line-height:1.65}
.journey-detail-footer{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:25px;padding:13px 24px;border-top:1px solid #e2e6df}
.journey-detail-footer>p{font-size:11px;line-height:1.6;max-width:610px}
.journey-pagination{display:flex;align-items:center;gap:14px;white-space:nowrap}
.journey-pagination button{font-size:11px;color:var(--journey-accent);font-weight:500;padding:7px 2px}
.journey-pagination button:disabled{opacity:.3;cursor:default}
.journey-pagination>span{color:#7c807f;font-size:10px}
.journey-support{margin-top:25px;display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:28px;padding-top:21px;border-top:1px solid #e4dcd8}
.journey-support h4{font-size:13px;line-height:1.4;margin-bottom:7px}
.journey-support p{font-size:11px;line-height:1.7}
.journey-support article+article{border-left:1px solid #e4dcd8;padding-left:25px}
.care-next-stage{display:flex;justify-content:space-between;align-items:center;gap:30px;margin-top:28px;padding-top:25px;border-top:1px solid var(--line)}
.care-next-stage p{font-size:13px}
.care-next-stage .text-link{font-size:13px;white-space:nowrap}
@media(max-width:1150px){.journey-pathway{grid-template-columns:1fr 115px}.pathway-copy{padding:22px}.journey-pathway .pathway-title{font-size:24px}.pathway-indicator{right:128px}.journey-detail-intro{padding:25px}.journey-detail-points{padding:25px}.journey-detail-footer>p{max-width:470px}.journey-step strong{font-size:15px}}
@media(max-width:900px){.jewel-journey{padding-block:65px}.journey-heading{gap:30px}.journey-heading h2{font-size:38px}.journey-heading>p{max-width:260px;font-size:13px}.journey-pathway{grid-template-columns:1fr 90px}.pathway-copy{padding:20px 17px}.journey-pathway .pathway-title{font-size:22px}.pathway-indicator{right:100px;top:12px;width:7px;height:7px}.pathway-description{font-size:11px}.journey-pathway img{min-height:170px}.pathway-age{font-size:9px}.journey-step strong{font-size:13px}.journey-icon{width:57px;height:57px}.journey-icon svg{width:25px;height:25px}.journey-steps>li:not(:last-child):after{top:19px;right:-15px}.journey-detail h3{font-size:25px}.journey-detail-footer{align-items:flex-start}.journey-pagination{gap:10px}.journey-support{gap:18px}.journey-support article+article{padding-left:18px}}
@media(max-width:650px){.jewel-journey{padding-block:55px 45px}.journey-heading{display:block;margin-bottom:26px}.journey-heading h2{font-size:35px}.journey-heading>p{max-width:100%;font-size:13px;margin-top:19px;padding:0}.journey-heading .eyebrow{font-size:9px}.journey-pathways{gap:12px;padding-bottom:30px}.journey-pathway{display:flex;flex-direction:column-reverse;justify-content:flex-end;border-radius:13px}.journey-pathway img{height:105px;min-height:0;object-position:50% 65%}.journey-pathway[data-pathway=stepping] img{object-position:50% 58%}.pathway-copy{padding:15px 12px}.journey-pathway .pathway-title{font-size:21px;min-height:50px}.pathway-age{font-size:9px;letter-spacing:.05em;margin-bottom:7px}.pathway-description{font-size:11px;line-height:1.6;min-height:35px}.pathway-action{font-size:9px;margin-top:13px;line-height:1.6}.pathway-indicator{top:115px;right:12px;width:7px;height:7px}.journey-pathways:after{bottom:9px;height:20px}.journey-flow-heading{gap:10px;padding-top:8px;margin-bottom:24px;align-items:flex-start}.journey-flow-heading:before{height:19px;top:-22px}.journey-flow-heading h3{font-size:19px}.journey-flow-heading p{font-size:10px}.journey-instruction{font-size:9px;max-width:94px;padding-top:4px}.journey-instruction span{display:none}.journey-steps{grid-template-columns:repeat(3,1fr);gap:22px 12px}.journey-step{padding-bottom:11px}.journey-icon{height:50px;width:50px;margin-bottom:10px}.journey-icon svg{width:24px;height:24px}.journey-icon small{width:19px;height:19px;font-size:9px;left:-5px;top:-3px}.journey-step strong{font-size:13px}.journey-step>span:last-child{font-size:9px;margin-top:5px}.journey-steps>li:not(:last-child):after{top:15px;right:-16px;font-size:17px}.journey-steps>li:nth-child(3):after{content:'↓';top:auto;bottom:-26px;right:45%;font-size:18px}.journey-steps>li:nth-child(4){grid-column:3;grid-row:2}.journey-steps>li:nth-child(5){grid-column:2;grid-row:2}.journey-steps>li:nth-child(6){grid-column:1;grid-row:2}.journey-steps>li:nth-child(4):after,.journey-steps>li:nth-child(5):after{content:'←';right:auto;left:-16px}.journey-loop{justify-content:center;margin:8px 0 16px;font-size:9px}.journey-detail{grid-template-columns:1fr;border-radius:13px}.journey-detail-intro{padding:21px 22px}.journey-detail-label{margin-bottom:10px}.journey-detail-label>span{font-size:21px}.journey-detail h3{font-size:25px;max-width:none}.journey-detail-intro>p{font-size:12px;margin-top:12px}.journey-team{margin-top:16px;padding-top:12px}.journey-team p{font-size:10px}.journey-detail-points{padding:22px}.journey-detail-points h4{font-size:14px}.journey-detail-points p{font-size:12px}.journey-detail-points li{padding-bottom:18px}.journey-detail-footer{display:block;padding:17px 22px}.journey-detail-footer>p{font-size:10px;max-width:none}.journey-pagination{justify-content:space-between;margin-top:12px}.journey-pagination button{padding:8px 0;font-size:11px}.journey-support{grid-template-columns:1fr;gap:16px;margin-top:23px;padding-top:21px}.journey-support article+article{padding-left:0;border-left:0}.journey-support h4{font-size:13px;margin-bottom:4px}.journey-support p{font-size:11px}.care-next-stage{align-items:flex-start;flex-direction:column;gap:12px}.care-next-stage p{font-size:12px}}

.pathway-title{display:block;font-family:Jewel Heading,Quicksand,sans-serif;font-weight:700}

/* Neon connectors between the journey steps. */
.journey-steps>li:not(:last-child):after{
  content:'';
  left:calc(50% + 43px);
  top:32px;
  width:calc(100% - 74px);
  height:2px;
  border-radius:999px;
  background:#dbe3e0;
  font-size:0;
  z-index:1;
  pointer-events:none;
}
.journey-steps>li.is-complete:not(:last-child):after{
  background:var(--journey-accent);
  box-shadow:none;
}
.jewel-journey .journey-instruction{
  font-size:13px;
  color:#4f5557;
}
.jewel-journey .journey-instruction span{
  font-size:12px;
  color:#62676a;
}
@media(max-width:900px){
  .journey-steps>li:not(:last-child):after{
    left:calc(50% + 38px);
    top:28px;
    width:calc(100% - 76px);
  }
}
@media(max-width:650px){
  .journey-steps>li:not(:last-child):after{
    content:'';
    width:14px;
    height:1px;
    top:32px;
    left:calc(50% + 33px);
    right:auto;
    border-top:1px dashed currentColor;
    background:transparent;
    border-radius:0;
  }
  .journey-steps>li:nth-child(3):after{
    content:'';
    width:1px;
    height:14px;
    top:calc(50% + 31px);
    bottom:auto;
    right:auto;
    left:50%;
    border-top:0;
    border-left:1px dashed currentColor;
    background:transparent;
  }
  .journey-steps>li:nth-child(4):after,
  .journey-steps>li:nth-child(5):after{
    content:'';
    width:14px;
    height:1px;
    top:32px;
    right:auto;
    left:calc(50% - 47px);
    border-top:1px dashed currentColor;
    background:transparent;
  }
  .journey-steps{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px 20px;
  }
  .journey-steps>li,
  .journey-steps>li:nth-child(4),
  .journey-steps>li:nth-child(5),
  .journey-steps>li:nth-child(6){
    grid-column:auto;
    grid-row:auto;
  }
}
