/* Process overview and detailed timeline. */
main:has(.process-title) > section.mhero { padding-block: 28px; }
main:has(.process-title) > section:not(.mhero) { padding-block: 32px; }
.process-overview { margin-top: 24px; }
main .steps .step .txt h2, main .steps .step .txt h3 { font-size: clamp(23px, 2.2vw, 30px); }
.mhero .pipe.mini .pnode ul { font-size: 12px; gap: 4px; }
.mhero .pipe.mini .pnode ul li { padding: 4px 8px; }
.mhero .copy { max-width: 920px; }
.mhero h1 { font-size: clamp(36px, 4.2vw, 58px); line-height: 1.12; }
main .mhero .process-title {
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.15;
  text-wrap: initial;
}
main .mhero .process-title + .lede {
  font-size: 15px;
  line-height: 1.6;
  max-width: 72ch;
}
@media (min-width: 880px) {
  .process-title > span { white-space: nowrap; }
}
.mhero .pipe.mini {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.mhero .pipe.mini::before {
  content: "";
  top: 34px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #123D2B 0 10px, transparent 10px 20px);
  animation: howFlowDash 1.4s linear infinite;
}
@keyframes howFlowDash {
  to { background-position: 20px 0; }
}
.mhero .pipe.mini .pnode {
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 12px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.mhero .pipe.mini .pnode .ic {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 2px solid #123D2B;
  border-radius: 50%;
  background: #EDF4E7;
  color: #123D2B;
  box-shadow: 0 0 0 8px #F8F7F1;
}
.mhero .pipe.mini .ic svg { width: 32px; height: 32px; }
.mhero .pipe.mini .pnode > div:not(.ic) {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mhero .pipe.mini .num {
  display: none;
  color: #55734D;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
}
.mhero .pipe.mini h2, .mhero .pipe.mini h3 { color: #123D2B; font-size: 20px; line-height: 1.25; }
.mhero .pipe.mini .pnode p {
  display: none;
  color: #53645A;
  font-size: 13px;
  line-height: 1.65;
  max-width: none;
}
@media (hover: hover) {
  .mhero .pipe.mini .pnode:hover {
    transform: translateY(-3px);
  }
}
@media (max-width: 980px) {
  .mhero .pipe.mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mhero .pipe.mini::before { content: none; }
}
@media (max-width: 560px) {
  .mhero .pipe.mini { grid-template-columns: 1fr; gap: 12px; }
  .mhero .pipe.mini .pnode { padding: 12px 0; gap: 16px; flex-direction: row; text-align: left; align-items: flex-start; }
  .mhero .pipe.mini .pnode .ic { flex-shrink: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mhero .pipe.mini .pnode { transition: none; transform: none; }
  .mhero .pipe.mini::before { animation: none; }
}

/* Alternating steps along a continuous center rail. */
.steps {
  position: relative;
  gap: 24px;
  max-width: 1160px;
  margin-inline: auto;
}
.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 40px;
  left: calc(50% - 1px);
  width: 2px;
  background: repeating-linear-gradient(180deg, #9CB593 0 10px, transparent 10px 20px);
  animation: timelineTravel 1.4s linear infinite;
}
@keyframes timelineTravel { to { background-position: 0 20px; } }
.steps .step {
  width: 100%;
  margin-left: 0;
  padding: 8px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  border: 0;
}
.steps .step .rail {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  padding-top: 0;
}
.steps .step .rail::before { content: none; }
.steps .step .rail .ic {
  width: 64px;
  height: 64px;
  border: 2px solid #B9D76A;
  background: #123D2B;
  color: #FFFFFF;
  box-shadow: 0 0 0 8px #F8F7F1;
}
.steps .step .rail .ic svg { width: 30px; height: 30px; }
.steps .step .txt {
  grid-column: 3;
  grid-row: 1;
  padding: 8px;
  border: 0;
  background: transparent;
  gap: 10px;
}
.steps .step .txt h2, .steps .step .txt h3 { font-size: clamp(30px, 3vw, 42px); color: #123D2B; letter-spacing: -.035em; }
.steps .step .txt p {
  font-size: 15px;
  line-height: 1.55;
  max-width: 40ch;
  color: #435C4C;
  padding-left: 16px;
  border-left: 2px solid #B6CDAA;
}
.steps .step .txt .num { font-size: 11px; font-weight: 700; color: #55734D; letter-spacing: .16em; }
.steps .step .txt ul { gap: 8px; margin-top: 8px; font-size: 13px; font-weight: 600; }
.steps .step .txt ul li {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid #D8E4D3;
  border-radius: 9px;
  background: linear-gradient(135deg, #EDF4E7, #FAFCF8);
  color: #365541;
  box-shadow: 0 4px 14px rgba(18, 61, 43, .04);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.steps .step .txt ul li::before { content: none; }
@media (hover: hover) {
  .steps .step .txt ul li:hover {
    transform: translateY(-3px);
    border-color: #92AF87;
    box-shadow: 0 10px 24px rgba(18, 61, 43, .09);
  }
}
.steps .step > div:last-child {
  grid-column: 1;
  grid-row: 1;
  padding: 0;
  min-width: 0;
}
.steps .step .pic {
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.steps .step .pic img { width: 100%; height: 230px; object-fit: contain; }
.steps .step .cap {
  max-width: 38ch;
  margin: 10px auto 0;
  padding: 0 8px;
  text-align: center;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.65;
  letter-spacing: .01em;
  color: #536B5B;
}
.steps .step:nth-child(even) {
  margin-left: 0;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
}
.steps .step:nth-child(even) .rail { grid-column: 2; }
.steps .step:nth-child(even) .txt { grid-column: 1; }
.steps .step:nth-child(even) > div:last-child { grid-column: 3; }
@media (max-width: 760px) {
  .steps { gap: 24px; }
  .steps::before { left: 27px; }
  .steps .step,
  .steps .step:nth-child(even) {
    width: 100%;
    margin-left: 0;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px 16px;
  }
  .steps .step .rail,
  .steps .step:nth-child(even) .rail { display: flex; grid-column: 1; grid-row: 1 / span 2; align-self: start; padding-top: 20px; }
  .steps .step .rail .ic { width: 56px; height: 56px; box-shadow: 0 0 0 4px #F8F7F1; }
  .steps .step .rail .ic svg { width: 28px; height: 28px; }
  .steps .step .txt,
  .steps .step:nth-child(even) .txt { grid-column: 2; grid-row: 1; padding: 12px 0; }
  .steps .step > div:last-child,
  .steps .step:nth-child(even) > div:last-child { grid-column: 2; grid-row: 2; padding: 0; }
  .steps .step .pic img { height: auto; max-height: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  .steps::before { animation: none; }
  .steps .step .txt ul li { transition: none; transform: none; }
}
