/* Training photography and the service index */
.lab-cover { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(34rem, 44vw, 48rem); padding: clamp(3rem, 6vw, 6rem) 0; background: var(--deep); color: white; }
.lab-photo, .lab-photo img { position: absolute; inset: 0; height: 100%; width: 100%; }
.lab-photo { z-index: -1; overflow: hidden; }
.lab-photo img { object-fit: cover; object-position: 50% 48%; }
.lab-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(8,25,20,.92),rgba(8,25,20,.69) 31%,transparent 67%),linear-gradient(0deg,rgba(8,20,15,.32),transparent 28%); }
.lab-copy { width: min(calc(100% - 2 * var(--gutter)),92rem); margin-inline: auto; }
.lab-copy .lab-label { color: var(--accent); }
.lab-cover h1 { margin: .19em 0 .2em; font-size: clamp(4.3rem,8.3vw,9.7rem); line-height: .89; letter-spacing: -.025em; text-wrap: initial; }
.lab-cover h1 span, .lab-cover h1 i { display: block; }
.lab-cover h1 i { font-style: normal; color: var(--accent); }
.lab-copy > p:not(.lab-label) { max-width: 37ch; font-size: clamp(1.02rem,1.35vw,1.35rem); line-height: 1.4; }
.lab-actions { margin-top: 1.5rem; }
.lab-offer, .lab-feature, .section, .pt-section { padding-block: clamp(3rem, 5.5vw, 6rem); }
.lab-offer-head { display: flex; align-items: baseline; gap: 2rem; justify-content: space-between; margin-bottom: clamp(1rem,2vw,2rem); }
.lab-rows { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(.8rem,1.8vw,2rem); }
.lab-row { display: grid; position: relative; align-content: start; gap: .65rem; color: inherit; text-decoration: none; }
.lab-row figure { aspect-ratio: 1.65; overflow: hidden; background: var(--wash); }
.lab-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease-out; }
.lab-row h3 { margin-top: .2em; font-size: clamp(1.5rem,2.55vw,2.9rem); padding-right: .8em; }
.lab-row p { color: var(--muted); line-height: 1.42; }
.lab-row > span { position: absolute; top: 0; right: 0; padding: .12rem .55rem; background: var(--accent); font-size: 1.3rem; }
@media (hover:hover) {
  .lab-row:hover img { transform: scale(1.055); }
  .lab-row:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; }
}
@media (prefers-reduced-motion:no-preference) {
  .lab-photo img { animation: frame-entry .95s cubic-bezier(.18,.7,.2,1) both; }
  .lab-cover h1 span, .lab-cover h1 i { animation: line-entry .68s cubic-bezier(.2,.8,.2,1) both; }
  .lab-cover h1 i { animation-delay: .09s; }
  @keyframes frame-entry { from { transform: scale(1.055); clip-path: polygon(0 0,88% 0,78% 100%,0 100%); } to { clip-path: polygon(0 0,100% 0,100% 100%,0 100%); } }
  @keyframes line-entry { from { clip-path: inset(0 0 95% 0); transform: translateY(.15em); } to { clip-path: inset(-8% 0); } }
}
@media (max-width: 900px) { .lab-rows { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 1.8rem; } }
@media (max-width: 640px) {
  .lab-cover { min-height: 37rem; padding-block: 12rem 2rem; }
  .lab-photo img { object-position: 61% 20%; }
  .lab-photo::after { background: linear-gradient(0deg,#0b211a 0%,rgba(10,29,22,.83) 29%,rgba(10,29,22,.26) 56%,transparent 80%); }
  .lab-cover h1 { font-size: clamp(3.65rem,12.7vw,5rem); }
  .lab-copy > p:not(.lab-label) { max-width: 32ch; }
  .lab-offer-head { display: block; }
  .lab-offer-head p { margin-top: .45rem; }
  .lab-rows { gap: 1.6rem .85rem; }
  .lab-row p { font-size: .94rem; }
  .lab-row h3 { padding: 0; }
}

/* Story, route selection and contact */
.lab-feature { background: var(--deep); color: white; }
.lab-feature .lab-bound { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem,6vw,6rem); align-items: center; }
.lab-feature img { width: 100%; aspect-ratio: 1.85; object-fit: cover; }
.lab-feature h2 { margin: .24em 0; }
.lab-feature h2 i { color: var(--accent); font-style: normal; }
.lab-feature p:not(.lab-label) { max-width: 45ch; }
.lab-feature .lab-textlink { display: inline-block; margin: 1.1rem 1rem 0 0; }
.start-layout, .form-section-wrapper > .container { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(2rem,7vw,8rem); align-items: start; }
.start-layout h2, .section-heading h2 { margin: .25em 0; }
.start-index { border-bottom: 1px solid var(--line); }
.start-route { padding: 1.05rem 0; border-top: 1px solid var(--line); }
.start-route > a:first-child { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font: 700 clamp(1.6rem,2.55vw,2.7rem)/1.05 var(--display); text-decoration: none; }
.start-route > a:first-child::after { content: '↗'; font: 400 1.45rem var(--body); transition: transform .2s; }
.start-route p { color: var(--muted); max-width: 60ch; margin-top: .45rem; }
.start-secondary { display: inline-block; font-weight: 600; margin-top: .4rem; }
@media (hover:hover) {
  .start-route a:hover { color: #216240; text-decoration: underline; }
  .start-route a:hover::after { transform: translate(3px,-3px); }
}
.faq-section { background: var(--wash); }
.faq-section .container { max-width: 62rem; }
.faq-items { margin-top: 1.6rem; border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-question, .faq-summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; padding: 1rem 0; border: 0; background: transparent; color: inherit; text-align: left; font: 600 1.16rem/1.35 var(--body); }
.faq-icon { font-size: 0; border-right: 2px solid; border-bottom: 2px solid; width: .62rem; height: .62rem; margin-right: .4rem; transform: rotate(45deg); flex: none; }
.faq-item.active .faq-icon { transform: rotate(225deg); }
.faq-answer { padding-bottom: 1rem; max-width: 74ch; }
.js .faq-item:not(.active) .faq-answer { display: none; }
.form-section-wrapper { border-top: 1px solid var(--line); }
.contact-form-card { min-width: 0; }
.form-section-wrapper .contact-form-card { padding: clamp(1rem,2.5vw,2.5rem); background: var(--wash); border-top: .25rem solid var(--pine); }
.form-section-wrapper .form-group:first-of-type { margin-top: 0; }
.sticky-mobile-cta { display: none; }
/* Service covers: a single continuous dark field cuts across the photograph. */
.hero-subpage--premium, .survey-hero { position: relative; isolation: isolate; overflow: hidden; color: white; background: var(--deep); }
.hero-subpage-bg, .survey-hero-bg { position: absolute; inset: 0 0 0 36%; z-index: -1; }
.hero-subpage-bg img, .survey-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-subpage-bg::after, .survey-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,var(--deep),#0c2c23e8 4%,#0c2c2366 43%,transparent 67%); }
.hero-subpage-content, .survey-hero-content { width: min(calc(100% - 2 * var(--gutter)),92rem); margin: auto; padding-block: clamp(3rem,5vw,5.6rem); }
.hero-subpage-content h1 { max-width: 15ch; margin: .16em 0 .2em; line-height: .96; }
.hero-subpage-content > p:not(.hero-subpage__eyebrow), .survey-hero-content p { max-width: min(46ch,53%); }
.hero-subpage__eyebrow { color: var(--accent); }
.hero-ctas { margin-top: 1.3rem; gap: .6rem; max-width: 65%; }
.hero-ctas .btn:not(:first-child) { background: var(--deep); border: 1px solid #a3b9a9; color: white; }
.section--alt { background: var(--wash); }
.cards-grid, .process-steps, .team-highlight, .cert-grid { display: grid; gap: 1.4rem 2.2rem; grid-template-columns: repeat(auto-fit,minmax(min(100%,16.5rem),1fr)); margin-top: 1.6rem; }
.cards-grid.cols-2, .process-steps--2cols { grid-template-columns: repeat(2,minmax(0,1fr)); }
.glass-card, .process-step, .module-note { border-top: 1px solid var(--line); padding-top: 1rem; }
.glass-card h3, .process-step h3 { margin-bottom: .5rem; }
.card-bullets, .bullets-list { padding-left: 1.1rem; }
li + li { margin-top: .3rem; }
.bullets-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,24rem),1fr)); gap: 0 2rem; padding: 0; margin-top: 1.35rem; }
.bullet-item { display: flex; align-items: baseline; gap: .7rem; border-top: 1px solid var(--line); padding: .75rem 0; }
.bullet-item::before { content: ""; width: .55rem; height: .55rem; background: var(--pine); transform: skewX(-25deg); flex: none; }
.bullet-icon, .card-icon:empty { display: none; }
.step-number { display: inline-block; color: var(--pine); font: 700 2rem/1 var(--display); margin-bottom: .65rem; }
.section-subtitle, .text-secondary, .cert-meta { color: var(--muted); }
.section-kicker { color: var(--pine); }
.team-highlight__card { display: grid; grid-template-columns: .8fr 1fr; align-items: center; gap: 1.3rem; }
.team-highlight img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center 28%; }
.quality-panel__head, .icvc-featured-header, .quality-cert-head { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1rem; }
.quality-panel__logo img, .icvc-logo-wrap img, .quality-cert-logo { width: 6.5rem; }
.section .btn, .card-actions { margin-top: .75rem; }
.quiz-cta-section, .quality-section { background: var(--wash); }
.cert-hero, .lab-back { color: white; background: var(--pine); }
.cert-hero-panel h1 { margin: .15em 0; }
.cert-hero-panel p, .icvc-featured-desc, .about-story-card { max-width: 72ch; }
.cert-hero__actions { margin-top: 1.2rem; }
.cert-hero .cert-action-btn { background: var(--accent); color: var(--deep); }
.cert-icvc-section { background: var(--wash); }
.icvc-featured-title h2 { font-size: clamp(1.8rem,3.3vw,3.3rem); }
.icvc-featured-section > a { margin-top: 1rem; }
.icvc-badge-obtained { font-weight: 600; margin: 1rem 0 .25rem; }
.cert-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,20rem),1fr)); }
.cert-card { display: flex; flex-direction: column; align-items: start; border-top: 1px solid var(--line); padding-top: .8rem; gap: .8rem; }
.cert-card h3 { font-size: 1.7rem; }
.cert-card-head { flex: 1; }
.cert-preview { display: grid; place-items: center; width: 100%; aspect-ratio: 1.45; padding: .85rem; background: var(--wash); }
.cert-preview img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.cert-action-btn svg, .inline-icon { width: 1.25rem; height: 1.25rem; }
.survey-form-container { width: min(calc(100% - 2 * var(--gutter)),52rem); margin: auto; padding-block: 2.8rem; }
.survey-form-card h1, .survey-hero h1 { font-size: clamp(2.8rem,5vw,5.5rem); }
.survey-hero-content h1 { max-width: 15ch; margin-bottom: .2em; }
.survey-form-card h3 { margin-top: 1rem; }
.form-intro, .form-note { padding: .9rem 1.1rem; background: var(--wash); border-left: .22rem solid var(--pine); margin-block: 1rem; }
.lab-back { padding: .45rem var(--gutter); }
.rating-options, .checkbox-group { display: flex; align-items: stretch; flex-wrap: wrap; gap: .45rem; }
.rating-options label, .checkbox-group .checkbox-label { display: inline-flex; align-items: center; gap: .35rem; margin: 0; background: var(--wash); padding: .5rem .66rem; cursor: pointer; }
.checkbox-group.option-grid { display: grid; }
.rating-options input { margin: 0; }
.page-404, .thankyou-page { background: var(--pine); color: white; padding: clamp(3rem,8vw,8rem) var(--gutter); text-align: center; min-height: 58vh; align-content: center; }
.page-404 p, .thankyou-page p { max-width: 58ch; margin: 1rem auto; }
.page-404 .btn-primary, .thankyou-page .btn-primary { background: var(--accent); color: var(--deep); }
.page-404 > *, .thankyou-page > * { margin-inline: auto; }
.page-404 .flex-center-wrap, .thankyou-page .flex-center-wrap { justify-content: center; margin-top: 1.4rem; }
.logo-standalone { width: 6rem; margin: 0 auto 1.3rem; }
.error-code { color: var(--accent); font: 700 5rem/1 var(--display); }
.thankyou-icon { color: var(--accent); }
@media(max-width:760px) {
  .lab-feature .lab-bound, .start-layout, .form-section-wrapper > .container, .cards-grid.cols-2, .process-steps--2cols { grid-template-columns: 1fr; }
  .hero-subpage-bg, .survey-hero-bg { position: relative; inset: auto; height: clamp(12rem,48vw,19rem); }
  .hero-subpage-bg img, .survey-hero-bg img { object-position: 50% 36%; }
  .hero-subpage-bg::after, .survey-hero-bg::after { background: linear-gradient(0deg,var(--deep),transparent 33%); }
  .hero-subpage-content, .survey-hero-content { padding-block: .35rem 2rem; }
  .hero-subpage-content > p:not(.hero-subpage__eyebrow), .survey-hero-content p, .hero-ctas { max-width: none; }
  .hero-subpage-content h1 { font-size: clamp(2.9rem,10.5vw,4.6rem); }
  .team-highlight__card { grid-template-columns: 1fr; }
  .team-highlight img { max-height: 24rem; }
  .quality-panel__head, .icvc-featured-header { align-items: start; flex-direction: column; }
  .checkbox-group.option-grid { grid-template-columns: 1fr; }
}

/* Service editorial spreads */
.visual-spread, .visual-split { margin-top: clamp(1.35rem, 3vw, 2.5rem); }
.visual-split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}
.visual-split > :is(.cards-grid, .bullets-list) { margin-top: 0; }
.visual-split > .bullets-list { grid-template-columns: 1fr; }
.visual-split--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, .88fr); }
.visual-split--reverse > figure { grid-column: 2; grid-row: 1; }
.visual-split--reverse > .cards-grid { grid-column: 1; grid-row: 1; }
.visual-art img { width: 100%; }
.visual-art--photo { overflow: hidden; position: relative; background: var(--deep); }
.visual-art--photo img { aspect-ratio: 1.55; object-fit: cover; object-position: 52% 57%; }
.visual-art--photo::after, .visual-art--meal::after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 16%;
  height: 22%;
  background: var(--accent);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.visual-art--meal { overflow: hidden; position: relative; background: var(--deep); }
.training-photo-pair {
  display: grid;
  grid-template: 1fr / repeat(12, minmax(0, 1fr));
  aspect-ratio: 3.15;
  overflow: hidden;
  background: var(--deep);
}
.training-photo-pair img { grid-row: 1; height: 100%; width: 100%; min-height: 0; object-fit: cover; }
.training-photo-pair img:first-child { grid-column: 1 / 8; object-position: 52% 50%; }
.training-photo-pair img:last-child {
  grid-column: 7 / -1;
  object-position: 51% 57%;
  clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
}
.visual-index { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; gap: 1.25rem clamp(2rem, 5vw, 5rem); }
.visual-index .bullets-list { grid-template-columns: 1fr; margin-top: 0; }
.visual-index .section-title { max-width: 14ch; }
.visual-lines > .glass-card { border-top-width: .25rem; border-top-color: var(--pine); }
.visual-lines > .glass-card:last-child { border-top-color: #739b69; }
.visual-topics, .visual-formats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.visual-topics > .glass-card { border-top-color: #799a84; }
.visual-formats { gap: 1.4rem 0; border-block: 1px solid var(--line); }
.visual-formats > .glass-card { border-top: 0; padding: 1.2rem clamp(.75rem, 2vw, 2rem); }
.visual-formats > .glass-card + .glass-card { border-left: 1px solid var(--line); }
.meal-notes {
  background: var(--wash);
  border-left: .35rem solid var(--pine);
  padding: clamp(1.15rem, 3vw, 2.1rem);
}
.meal-notes figcaption { font: 700 clamp(1.6rem, 2.5vw, 2.5rem)/1.04 var(--display); }
.meal-notes dl { margin: 1rem 0; }
.meal-notes dl > div { display: grid; grid-template-columns: 1fr 1.65fr; gap: .65rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.meal-notes dt { font-weight: 600; }
.meal-notes dd { margin: 0; }
.meal-notes > p { color: var(--muted); }
@media (max-width: 820px) {
  .visual-split, .visual-split--reverse, .visual-index { grid-template-columns: 1fr; }
  .visual-split--reverse > :is(figure, .cards-grid) { grid-area: auto; }
  .visual-split .visual-art img { max-height: 25rem; object-fit: cover; }
}
@media (max-width: 640px) {
  .training-photo-pair { aspect-ratio: 1.75; }
  .training-photo-pair img:first-child { object-position: 46% 50%; }
  .visual-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.05rem 1rem; }
  .visual-formats { grid-template-columns: 1fr; gap: 0; }
  .visual-formats > .glass-card { padding-inline: 0; }
  .visual-formats > .glass-card + .glass-card { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .visual-topics { grid-template-columns: 1fr; }
}
@supports (animation-timeline: view()) and (animation-range: entry 0% cover 50%) {
  @media (prefers-reduced-motion: no-preference) {
    .js .lab-feature img {
      animation: lab-photo-open linear both;
      animation-timeline: view();
      animation-range: entry 80% contain 55%;
    }
    @keyframes lab-photo-open {
      from { clip-path: inset(0 32%); }
      to { clip-path: inset(0 0); }
    }
    .js .training-photo-pair { view-timeline-name: --training-spread; }
    .js .training-photo-pair img:last-child {
      animation: training-photo-slide linear both;
      animation-timeline: --training-spread;
      animation-range: entry 30% cover 38%;
    }
    @keyframes training-photo-slide {
      from { clip-path: polygon(60% 0, 100% 0, 100% 100%, 48% 100%); }
      to { clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%); }
    }
    .js .visual-art--meal { view-timeline-name: --meal-art; }
    .js .visual-art--meal::after {
      animation: meal-fold linear both;
      animation-timeline: --meal-art;
      animation-range: entry 5% cover 32%;
      transform-origin: bottom right;
    }
    @keyframes meal-fold { from { transform: scale(.25); } }
  }
}

/* The sample and route styles also ship with the other ProgresLab site. */
.plan-sample {
  background: var(--deep);
  padding: clamp(1rem, 3.2vw, 3rem);
  isolation: isolate;
  position: relative;
}
.plan-sample::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  clip-path: polygon(0 100%, 0 70%, 27% 100%, 42% 100%, 100% 15%, 100% 48%, 66% 100%);
}
.plan-paper {
  border-top: .28rem solid var(--accent);
  background: var(--paper);
  box-shadow: .45rem .5rem 0 #061b1377;
  padding: clamp(.8rem, 2vw, 1.8rem);
}
.plan-paper figcaption, .plan-progression figcaption span { color: var(--muted); font-size: .9rem; font-weight: 600; }
.plan-paper-title { font: 700 clamp(2rem, 3.6vw, 3.65rem)/1 var(--display); margin: .35rem 0 .9rem; }
.plan-paper table { width: 100%; border-collapse: collapse; font-size: clamp(.79rem, 1.25vw, 1rem); line-height: 1.25; }
.plan-paper th { font-weight: 600; }
.plan-paper :is(th, td) { text-align: center; padding: .6em .34em; border-bottom: 1px solid var(--line); }
.plan-paper th:first-child { text-align: left; }
.plan-paper thead { background: var(--wash); }
.plan-paper-note { margin-top: .7rem; font-size: .9rem; color: var(--muted); }
.plan-progression { background: var(--deep); color: white; padding: clamp(1rem, 2.5vw, 2rem); }
.plan-progression figcaption strong { display: block; font: 700 clamp(1.75rem, 2.8vw, 2.7rem)/1 var(--display); }
.plan-progression figcaption span { color: #d3e4d6; }
.plan-progression > p { font-size: .9rem; margin-top: .8rem; color: #d3e4d6; }
.plan-stages { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.plan-stages li { --bar: 2.2rem; margin: 0; font-size: .9rem; align-self: end; }
.plan-stages li:nth-child(2) { --bar: 3.15rem; }
.plan-stages li:nth-child(3) { --bar: 4.1rem; }
.plan-stage-value { display: block; font: 700 1.8rem/1 var(--display); }
.plan-stage-value::after {
  content: "";
  height: var(--bar);
  display: block;
  background: var(--accent);
  clip-path: polygon(.75rem 0, 100% 0, 100% 100%, 0 100%, 0 .75rem);
  margin: .25rem 0 .5rem;
  transform-origin: bottom;
}
.motion-path {
  --node: 2.35rem;
  --track: #a5bcaa;
  --progress: #337353;
  --row-gap: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 0;
  list-style: none;
  margin: 1.6rem 0;
}
.motion-path .process-step {
  position: relative;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: .19rem 0 1.55rem calc(var(--node) + .85rem);
}
.motion-path .process-step:last-child { padding-bottom: 0; }
.motion-path .step-number {
  display: grid;
  place-items: center;
  position: absolute;
  z-index: 1;
  inset: 0 auto auto 0;
  width: var(--node);
  height: var(--node);
  color: var(--deep);
  background: var(--accent);
  border: 1px solid var(--progress);
  font: 700 1.4rem/1 var(--display);
  margin: 0;
}
.motion-path .process-step:not(:last-child)::before,
.motion-path .process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  inset: calc(var(--node) / 2) auto auto calc(var(--node) / 2 - 1px);
  height: 100%;
  width: 2px;
  background: var(--track);
}
.motion-path .process-step:not(:last-child)::after {
  background: var(--progress);
  transform-origin: top;
}
.motion-path .process-step h3 { font-size: clamp(1.45rem, 2vw, 2rem); text-wrap: pretty; }
.motion-path--nutrition { --progress: #316245; }
.motion-path--nutrition .step-number { border-radius: 50%; }
@media (min-width: 1020px) {
  .motion-path { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .motion-path--six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: var(--row-gap);
  }
  .motion-path--six .process-step:nth-child(4) { grid-column: 3; grid-row: 2; }
  .motion-path--six .process-step:nth-child(5) { grid-column: 2; grid-row: 2; }
  .motion-path--six .process-step:nth-child(6) { grid-column: 1; grid-row: 2; }
  .motion-path .process-step { padding: calc(var(--node) + 1rem) clamp(.75rem, 2vw, 2rem) 0 0; }
  .motion-path .process-step:not(:last-child)::before,
  .motion-path .process-step:not(:last-child)::after {
    inset: calc(var(--node) / 2 - 1px) auto auto calc(var(--node) / 2);
    height: 2px;
    width: 100%;
    transform-origin: left;
  }
  .motion-path--six .process-step:is(:nth-child(3), :nth-child(4)) { padding-right: calc(var(--node) + 1rem); }
  .motion-path--six .process-step:is(:nth-child(3), :nth-child(4)) .step-number { left: auto; right: 0; }
  .motion-path--six .process-step:nth-child(2)::before,
  .motion-path--six .process-step:nth-child(2)::after { width: calc(200% - var(--node)); }
  .motion-path--six .process-step:nth-child(3)::before,
  .motion-path--six .process-step:nth-child(3)::after {
    left: auto;
    right: calc(var(--node) / 2 - 1px);
    height: calc(100% + var(--row-gap));
    width: 2px;
    transform-origin: top;
  }
  .motion-path--six .process-step:is(:nth-child(4), :nth-child(5))::before,
  .motion-path--six .process-step:is(:nth-child(4), :nth-child(5))::after {
    left: auto;
    right: calc(100% - var(--node) / 2);
    transform-origin: right;
  }
  .motion-path--six .process-step:nth-child(4)::before,
  .motion-path--six .process-step:nth-child(4)::after {
    width: calc(200% - var(--node));
    right: calc(var(--node) / 2);
  }
}
@supports (animation-timeline: view()) and (animation-range: entry 0% cover 50%) {
  @media (prefers-reduced-motion: no-preference) {
    .js .plan-stages { view-timeline-name: --plan-stages; }
    .js .plan-stage-value::after {
      animation: plan-stage-rise ease-out both;
      animation-timeline: --plan-stages;
      animation-range: entry 25% cover 27%;
    }
    .js .plan-stages li:nth-child(2) .plan-stage-value::after { animation-range: entry 45% cover 34%; }
    .js .plan-stages li:nth-child(3) .plan-stage-value::after { animation-range: entry 65% cover 41%; }
    @keyframes plan-stage-rise { from { transform: scaleY(.14); } }
    .js .motion-path .process-step:not(:last-child)::after {
      animation: route-draw-vertical linear both;
      animation-timeline: view();
      animation-range: entry 40% cover 48%;
    }
    @keyframes route-draw-vertical { from { transform: scaleY(0); } }
    @keyframes route-draw-horizontal { from { transform: scaleX(0); } }
  }
  @media (prefers-reduced-motion: no-preference) and (min-width: 1020px) {
    .js .motion-path { view-timeline-name: --process; }
    .js .motion-path .process-step:not(:last-child)::after {
      animation-name: route-draw-horizontal;
      animation-timeline: --process;
      animation-range: var(--draw-from, entry 20%) var(--draw-to, entry 85%);
    }
    .motion-path .process-step:nth-child(2) { --draw-from: entry 85%; --draw-to: cover 28%; }
    .motion-path .process-step:nth-child(3) { --draw-from: cover 28%; --draw-to: cover 38%; }
    .motion-path .process-step:nth-child(4) { --draw-from: cover 38%; --draw-to: cover 47%; }
    .motion-path .process-step:nth-child(5) { --draw-from: cover 47%; --draw-to: cover 56%; }
    .js .motion-path--six .process-step:nth-child(3)::after { animation-name: route-draw-vertical; }
  }
}
