/* =====================================================
   PROCESS PAGE – three steps along a pipe
   ===================================================== */

/* ---------- Opening ---------- */
.pr-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 64 * var(--s)) 0 calc(60 * var(--s)); background: linear-gradient(180deg, var(--bg) 0%, #dfe6f3 100%); }
.pr-hero .wrap { position: relative; z-index: 1; }
.pr-title { margin-top: calc(24 * var(--s)); font-weight: 400; font-size: max(calc(104 * var(--s)), 42px); line-height: .8; letter-spacing: -.035em; }
.pr-title .line { display: block; overflow: hidden; padding-block: .1em .06em; margin-block: -.1em -.06em; }
.pr-title .line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.1s var(--ease) forwards; }
.pr-lead { margin-top: calc(30 * var(--s)); font-size: max(calc(22 * var(--s)), 16px); line-height: 1.35; color: #3b4150; max-width: calc(1000 * var(--s)); }
.pr-lines { position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(31,46,184,.06) 0 1px, transparent 1px calc(80 * var(--s))),
    repeating-linear-gradient(0deg, rgba(31,46,184,.06) 0 1px, transparent 1px calc(80 * var(--s)));
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 60%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 30% 60%, #000 20%, transparent 75%); }

/* ---------- Steps ---------- */
.pr-steps-sec { padding-top: calc(110 * var(--s)); }
.pr-steps { position: relative; display: grid; gap: calc(150 * var(--s)); }

/* the pipe in the middle */
.pr-pipe {
  position: absolute; top: 20px; bottom: 20px; left: 50%; translate: -50% 0; width: 6px; border-radius: 999px;
  background: #d0d7e6;
}
.pr-fill { position: absolute; inset: 0 0 auto; height: var(--p, 0%); border-radius: inherit; overflow: hidden;
  background: var(--blue); transition: height .2s linear; }

.pr-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr); align-items: center; }
.pr-copy { grid-column: 1; }
.pr-art { grid-column: 3; }
.pr-alt .pr-copy { grid-column: 3; grid-row: 1; }
.pr-alt .pr-art { grid-column: 1; grid-row: 1; }

/* the junction on the pipe */
.pr-node {
  grid-column: 2; grid-row: 1; justify-self: center; position: relative; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); color: var(--blue); font-size: 15px; letter-spacing: .06em;
  border: 1.5px solid #c9d1e1;
  transition: background .4s, color .4s, transform .5s var(--ease);
}
.pr-step.on .pr-node { background: var(--blue); border-color: var(--blue); color: #fff; transform: scale(1.06); }

.pr-num { display: flex; align-items: center; gap: 14px; font-size: max(calc(18 * var(--s)), 13px); letter-spacing: .1em; color: var(--blue); }
.pr-num::after { content: ""; width: calc(25 * var(--s)); min-width: 18px; height: 3px; background: var(--blue); }
.pr-copy h2 { margin-top: calc(18 * var(--s)); font-weight: 400; font-size: max(calc(72 * var(--s)), 34px); line-height: .82; letter-spacing: -.03em; }
.pr-step:nth-child(2) .pr-copy h2 { color: var(--blue-3); }
.pr-step:nth-child(3) .pr-copy h2 { color: var(--blue-2); }
.pr-step:nth-child(4) .pr-copy h2 { color: var(--blue); }
.pr-copy > p:not(.pr-num) { margin-top: calc(24 * var(--s)); font-size: max(calc(20 * var(--s)), 16px); line-height: 1.4; color: #3b4150; }
.pr-points { margin-top: calc(26 * var(--s)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 20px; }
.pr-points li { display: flex; align-items: center; gap: 10px; font-size: max(calc(17 * var(--s)), 14px); line-height: 1.3; }
.pr-points .pi { flex: none; width: 19px; height: 19px; fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* the same 3D pipe language as the home model, one small piece per step */
.pr-art { margin: 0; justify-self: center; width: min(100%, calc(560 * var(--s))); aspect-ratio: 1; }
.pr-3d { width: 100%; height: 100%; }
.pr-3d canvas { display: block; width: 100% !important; height: 100% !important; }

.page-process .talk { padding-top: calc(300 * var(--s)); }

@media (max-width: 900px) {
  .pr-steps { gap: 70px; }
  .pr-pipe { left: auto; right: 24px; translate: 0 0; width: 5px; }
  .pr-step, .pr-alt { grid-template-columns: 54px minmax(0, 1fr); align-items: start; row-gap: 24px; }
  .pr-node { grid-column: 1; grid-row: 1 / span 2; justify-self: start; width: 52px; height: 52px; font-size: 14px; }
  .pr-copy, .pr-alt .pr-copy { grid-column: 2; grid-row: 1; padding-inline-start: 16px; }
  .pr-art, .pr-alt .pr-art { grid-column: 2; grid-row: 2; margin-inline-start: 16px; width: min(100%, 420px); aspect-ratio: 1; justify-self: start; }
  .pr-points { grid-template-columns: 1fr; }
  .page-process .talk { padding-top: 90px; }
}
