/* Four stages share one visible path; the narrow layout keeps reading order. */
.home .stage-home .home-service .service-promise { color: #254b61; font-size: 15px; font-weight: 600; margin-top: 12px; }
.portfolio-caption .portfolio-tags { margin: auto 0 0; padding-top: 16px; border-top: 1px solid #becdd4; color: #3e5b6b; font-size: 13px; line-height: 1.8; }
.portfolio-index { gap: 6px; }
.home .stage-home .home-process { background: #e9eeef; }
.home .stage-home .home-process-head { grid-template-columns: 1.2fr 1fr; gap: 6%; }
.home .stage-home .home-process-head h2 { font-size: clamp(28px, 2.6vw, 40px); }
.home .stage-home .home-process-grid { gap: 32px; }
.home .stage-home .home-process-step { position: relative; border: 0; padding-top: 0; gap: 18px 12px; }
.home .stage-home .home-process-step .step-no { position: relative; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: #214e66; font-family: var(--font); font-size: 15px; }
.home .stage-home .home-process-step h3 { align-self: center; font-size: 20px; }
.home .stage-home .home-process-step:not(:last-child)::after { display: block; content: '→'; position: absolute; top: 5px; right: -29px; color: #476b80; font-size: 24px; line-height: 1.3; }
.home .stage-home .home-process-step:not(:last-child)::before { display: block; content: ''; position: absolute; top: 21px; left: 42px; right: -20px; width: auto; height: 1px; background: #a8bdc7; z-index: 0; }
.home .stage-home .home-process-step h3 { position: relative; background: #e9eeef; padding-right: 10px; width: fit-content; }
.cp-flow-overview { width: min(1320px, calc(100% - 2 * var(--gutter))); margin: 0 auto 42px; }
.cp-flow-overview ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; padding: 0; margin: 0; list-style: none; }
.cp-flow-overview li { position: relative; }
.cp-flow-overview li:not(:last-child)::after { content: '→'; position: absolute; right: -28px; top: 45px; font-size: 25px; color: #58788a; }
.cp-flow-overview a { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 25px 16px; min-height: 170px; border: 1px solid #becdd4; background: #f8f7f3; color: #183d52; transition: border-color .2s, background .2s; }
.cp-flow-overview a:hover { background: #e8edef; border-color: #587c91; }
.cp-flow-overview a:focus-visible { outline: 3px solid #2c719a; outline-offset: 4px; }
.cp-flow-overview svg { width: 48px; height: 48px; margin-bottom: 18px; stroke: currentColor; stroke-width: 1.4; fill: none; }
.cp-flow-overview span { font-size: 14px; color: #536f7e; }
.cp-flow-overview strong { margin-top: 6px; font-size: 18px; font-weight: 500; }
.experience-approach .cp-journey > .cp-step { scroll-margin-top: 120px; background: #e9eeef; }
.experience-approach .cp-step .cp-step-detail:last-child { background: #dee7eb; }
@media (min-width: 781px) {
  .stage-copy--opening { font-size: clamp(54px, 6vw, 112px); }
  .stage-copy--focus { font-size: clamp(60px, 7vw, 126px); }
}
@media (max-width: 1000px) {
  .home .stage-home .home-process-grid { grid-template-columns: 1fr; gap: 26px; }
  .home .stage-home .home-process-step { grid-template-columns: 42px 1fr; column-gap: 18px; }
  .home .stage-home .home-process-step p:not(.step-no) { grid-column: 2; }
  .home .stage-home .home-process-step:not(:last-child)::before { left: 20px; right: auto; top: 42px; bottom: -26px; width: 1px; height: auto; }
  .home .stage-home .home-process-step:not(:last-child)::after { content: '↓'; left: 11px; right: auto; top: auto; bottom: -17px; font-size: 22px; }
  .home .stage-home .home-process-head { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 780px) {
  .stage-copy { font-size: clamp(32px, 10.6vw, 72px); }
  .stage-copy--focus { font-size: clamp(35px, 11vw, 78px); }
  .cp-flow-overview ol { grid-template-columns: 1fr; gap: 26px; }
  .cp-flow-overview a { flex-direction: row; text-align: left; justify-content: flex-start; gap: 15px; min-height: 90px; padding: 18px 20px; }
  .cp-flow-overview svg { width: 36px; height: 36px; margin: 0; flex-shrink: 0; }
  .cp-flow-overview strong { margin: 0; }
  .cp-flow-overview li:not(:last-child)::after { content: '↓'; top: auto; bottom: -26px; left: 35px; right: auto; font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .cp-flow-overview a { transition: none; } }
