/* Shared process surface; preserve the existing grid, spacing and motion. */
.process-overview {
  --process-accent-divider: color-mix(in srgb, var(--warm-surface) 22%, transparent);
  background: var(--warm-surface);
  color: var(--ink);
}
.process-overview .section-heading > div { flex: 1; min-width: 0; }
.process-overview .section-heading { align-items: start; flex-direction: column; gap: 26px; margin-bottom: 40px; }
.process-overview h2 { max-width: 800px; text-wrap: balance; }
.process-intro { max-width: 610px; font-size: 18px; }
.process-overview .process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--warm-surface);
}
.process-overview .process li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  /* Share number, heading and description tracks across each visual row. */
  grid-template-rows: subgrid;
  grid-row: span 3;
  min-width: 0;
  min-height: 320px;
  gap: 0;
  padding: 32px;
  border: 0;
  border-radius: 0;
  position: relative;
  background: var(--bg);

}
.process-overview .process li:nth-child(3) { background: var(--ink); color: var(--warm-surface); }
.process-overview .process li:nth-child(3) p { color: var(--line); }
.process-overview .process li:nth-child(3) .number { border-color: var(--process-accent-divider); }
/* Paint dividers in the existing 4px gutters without changing track sizes. */
.process-overview .process li:not(:last-child)::after {
  content: '';
  position: absolute;
  inset: 0 -2px 0 auto;
  width: 1px;
  background: var(--line);
  pointer-events: none;
}
.process-overview .process .number {
  display: block;
  align-self: start;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  transition: border-color .25s var(--ease);
}
.process-copy { display: contents; }
.process-overview .process h3 { align-self: end; margin-top: 40px; font-size: 28px; line-height: 1.16; text-wrap: balance; }
.process-overview .process p { grid-column: 1; align-self: start; margin-top: 18px; font-size: 17px; transition: color .25s var(--ease); }

@media (max-width: 1279px) {
  .process-overview .process li { padding: 26px; }
}
@media (max-width: 1023px) {
  .process-overview .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-overview .process li { min-height: 360px; padding: 32px; }
  .process-overview .process li:nth-child(2)::after { inset: auto 0 -2px; width: auto; height: 1px; }
  .process-overview .process li:first-child::before { content: ''; position: absolute; inset: auto 0 -2px; height: 1px; background: var(--line); pointer-events: none; }
}
@media (max-width: 560px) {
  .process-overview .section-heading { gap: 20px; margin-bottom: 32px; }
  .process-intro { font-size: 17px; }
  .process-overview .process { grid-template-columns: minmax(0, 1fr); }
  .process-overview .process li { min-height: 0; padding: 26px; }
  .process-overview .process li:not(:last-child)::after { inset: auto 0 -2px; width: auto; height: 1px; }
  .process-overview .process li:first-child::before { content: none; }
  .process-overview .process h3 { margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .process-overview .process li,
  .process-overview .process p,
  .process-overview .process .number { transition: none; }
}
