/* About · This is where I start - the three steps, polished (Arun 2026-10-25: "bring back the previous
   version, it was clearer and neater - just make cosmetic changes"). Visitors read the white tiles and
   the boxed chevrons between them as buttons. Now each step carries its number, and each chevron box
   became a thin arrow running along the steps' foot from one step to the next (the sweep in
   js/about-process-sweep.js draws it). Nothing reacts to the pointer.
   (The 3D stairs that stood here for a while: _backups/2026-10-25-process-stairs/.) */

.process__step,
.process__arrow { cursor: default; }

/* the steps: the number at the top, the name at the foot */
.process__step {
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}
.process__num {
  position: relative;
  z-index: 1;
  font: 700 12px/1 var(--font-body);
  letter-spacing: 0.22em;
  color: var(--paper);
  opacity: 0.45;
}

/* between them: a line from the foot of one step to the foot of the next, and its arrowhead */
body.is-night-mode .process__arrow { background: transparent; }
.process__arrow { overflow: visible; }
.process__arrow .process__fill {
  inset: 0 0 auto 0;
  height: 2px;
  top: -1px;
  background: var(--ink);
}
.process__arrow img,
body.is-night-mode .process__arrow img {
  position: absolute;
  right: 0;
  top: 0;
  max-height: 22px;
  transform: translateY(-50%);
  filter: none;
}
/* (the boxes' row under the steps is now only the line along their foot: no height of its own) */
@media (min-width: 901px) {
  .process { grid-template-rows: repeat(3, var(--tile-h)) 0; }
}

/* phones: the steps in one row; the arrow sits between them, at their middle */
@media (max-width: 900px) {
  .process__arrow { width: 26px; }
  .process__arrow .process__fill { top: calc(50% - 1px); }
  .process__arrow img,
  body.is-night-mode .process__arrow img { top: 50%; max-height: 14px; }
  .process__num { font-size: 10px; letter-spacing: 0.16em; }
}
