/* Phoenix AI Solutions · spine.css
   Shared by the "how we work" read-mode pages (spine-a and spine-b). Loads after /site.css; uses only its tokens and classes.
   General parts only: the hero, the split section, the figure box, the diagram parts, numbered cards, before/after, the chain
   card, the closing call. Page-only parts live in spine-a.css (spine-b.css for the other lane).

    1  Hero and crumb              5  Numbered cards and dash list
    2  Split section and figure     6  Before and after
    3  Diagram parts (d-)           7  Chain card and closing call
    4  Mockup crop                  8  Phone (390: tap targets, 13px floor, phone drawings)
   Line drawings are ink on white with ONE solid-ink highlight (.is-hl); the category colour is only for product examples.
*/

/* ============================================================ 1. Hero and crumb */
.spine-hero .wrap > * { max-width: 680px; }
.spine-hero .wrap > .h1 { max-width: 820px; }
.spine-hero .eyebrow + .h1 { margin-top: var(--s-12); }
.spine-hero .h1 + .lead { margin-top: var(--s-16); }
.spine-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-8); }
.spine-crumb a { color: var(--ink-2); transition: color var(--d-hover) var(--ease); }
.spine-crumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.spine-crumb [aria-current] { color: var(--ink); }

/* ============================================================ 2. Split section and figure */
/* text on one side (head + a short reading column), ONE drawn thing on the other */
.spine-split { display: grid; gap: var(--s-48); align-items: center; }
.spine-split .section-head { margin-bottom: 0; }
.spine-split .prose { margin-top: var(--s-16); }
.spine-split .link-arrow { margin-top: var(--s-24); }
@media (min-width: 900px) {
  .spine-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-64); }
  .spine-split.is-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .spine-split.is-flip > :first-child { order: 2; }
  .spine-split.is-top { align-items: start; }
}
.spine-fig { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: var(--s-32); }
.spine-fig.is-grey { background: var(--grey); border-color: transparent; }
.spine-fig.is-bare { padding: 0; border: 0; border-radius: 0; background: none; }
.spine-cap {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-8) var(--s-12);
  margin-top: var(--s-16); color: var(--ink-2); font: 400 13px/16px var(--font-text);
}
.spine-fig > .spine-cap:first-child { margin: 0 0 var(--s-16); }

/* ============================================================ 3. Diagram parts */
.d-box {
  display: block; padding: var(--s-12) var(--s-16); background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: var(--r-14); font: 500 15px/20px var(--font-text);
  transition: background-color var(--d-hover) var(--ease), border-color var(--d-hover) var(--ease), color var(--d-hover) var(--ease);
}
.d-box.is-hl { background: var(--ink); color: var(--paper); }                      /* the one highlight */
.d-box.is-dash { border-style: dashed; border-color: var(--ink-2); color: var(--ink-2); }
.d-box.is-soft { background: var(--grey); border-color: var(--line-strong); font-weight: 400; }
.d-box.is-lit { background: var(--grey); }
.d-box.is-hl.is-lit { background: var(--ink); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4.5px var(--ink); }
.d-sub { display: block; margin-top: var(--s-4); font: 400 13px/16px var(--font-text); opacity: .72; }
.d-label { color: var(--ink-2); font: 500 13px/16px var(--font-text); }

/* numbered pin: sits on a drawing and in the note that explains it (spine.js lights both together) */
.d-pin {
  display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink); color: var(--paper); font: 500 12px/1 var(--mono);
  transition: box-shadow var(--d-hover) var(--ease);
}
.d-pin.is-lit, [data-pin].is-lit > .d-pin { box-shadow: 0 0 0 3px var(--paper), 0 0 0 4.5px var(--ink); }

/* an arrow between two boxes: a 1.5px line with a head, drawn in CSS so it can turn at any width */
.d-arrow { position: relative; display: block; flex: none; width: 32px; height: 1.5px; background: var(--ink); }
.d-arrow::after {
  content: ""; position: absolute; right: 1.5px; top: -3.75px; width: 9px; height: 9px;
  border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); transform: rotate(45deg);
}
.d-arrow.is-down { width: 1.5px; height: 32px; }
.d-arrow.is-down::after { right: auto; left: -3.75px; top: auto; bottom: 1.5px; transform: rotate(135deg); }

/* a branching list: a root box on the left, a rail with a stub into every item (the elbows are drawn per item so
   items of any height stay joined) */
.d-tree { list-style: none; display: grid; gap: var(--s-12); padding-left: var(--s-32); }
.d-tree > li { position: relative; }
.d-tree > li::before {                                          /* from the item's top to its middle, then the stub */
  content: ""; position: absolute; left: calc(-1 * var(--s-32)); top: 0; width: var(--s-32); height: 50%;
  border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
}
.d-tree > li:first-child::before { height: 0; top: 50%; border-left: 0; }
.d-tree > li:not(:last-child)::after {                          /* from the middle down to the next item */
  content: ""; position: absolute; left: calc(-1 * var(--s-32)); top: 50%; bottom: calc(-1 * var(--s-12)); border-left: 1.5px solid var(--ink);
}

/* ============================================================ 4. Mockup crop (a real app screen, cropped per PAGE-BRIEFS) */
/* --ar = the crop's aspect, --w = the screen's width as a share of the frame, --tx and --ty = how far the screen is pulled
   left and up, as shares of the screen's own size (so it works in a frame of any height). .is-fill lets the frame take the
   height its tile gives it (desktop). On a phone --par, --pw, --ptx and --pty replace --ar, --w, --tx and --ty, so a crop can use
   a phone screen instead. Screen text never renders below 11px at 1440. */
.spine-crop { position: relative; aspect-ratio: var(--ar, 4 / 3); overflow: hidden; background: var(--tile); }
.spine-crop img { position: absolute; left: 0; top: 0; width: var(--w, 100%); max-width: none; height: auto; transform: translate(var(--tx, 0%), var(--ty, 0%)); }
@media (min-width: 900px) { .spine-crop.is-fill { aspect-ratio: auto; flex: 1 1 auto; min-height: 240px; } }
/* A crop whose phone screen is a different screen from the desktop one carries both pictures, each with its own alt text: the desktop one
   hides on a phone and the phone one shows (the hidden one never loads). */
.spine-crop > img.is-phone { display: none; }
@media (max-width: 767px) { .spine-crop > img.is-desk { display: none; } .spine-crop > img.is-phone { display: block; } }
.spine-crop.is-stand-in { display: grid; place-items: center; color: var(--on-dark-2); font: 500 13px/16px var(--font-text); }
.spine-frame { border-radius: 14px; box-shadow: var(--shadow-float); }

/* ============================================================ 5. Numbered cards and dash list */
.spine-steps { list-style: none; display: grid; gap: var(--s-24); }
@media (min-width: 640px) { .spine-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .spine-steps.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .spine-steps.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.spine-step { display: flex; flex-direction: column; gap: var(--s-12); }
.spine-step .h4 { margin-top: var(--s-4); }
.spine-step > p { color: var(--ink-2); }
.spine-list { list-style: none; display: grid; gap: var(--s-8); }
.spine-list > li { position: relative; padding-left: var(--s-16); }
.spine-list > li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 1.5px; background: var(--ink-2); }

/* the notes that go with a pinned drawing: each line starts with the same pin the drawing carries */
.spine-notes { list-style: none; display: grid; gap: var(--s-4); }
.spine-notes > li { display: flex; align-items: flex-start; gap: var(--s-12); padding: var(--s-8) var(--s-12); margin-inline: calc(-1 * var(--s-12)); border-radius: var(--r-14); transition: background-color var(--d-hover) var(--ease); }
.spine-notes > li.is-lit { background: var(--grey); }

/* ============================================================ 6. Before and after */
.spine-ba { display: grid; gap: var(--s-24); }
@media (min-width: 768px) { .spine-ba { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.spine-ba-side { display: flex; flex-direction: column; gap: var(--s-16); }
.spine-ba-tag { align-self: flex-start; }
.pill.is-ink { background: var(--ink); color: var(--paper); }

/* ============================================================ 7. Chain card and closing call */
/* "This is one aspect. Next: ..." and, beside it, the related links */
.spine-chain { display: grid; gap: var(--s-24); }
@media (min-width: 768px) { .spine-chain { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } }
.spine-chain-next {
  position: relative; display: flex; flex-direction: column; gap: var(--s-8); min-height: 176px;
  padding: var(--s-32) calc(var(--s-64) + var(--s-24)) var(--s-32) var(--s-32); background: var(--grey); border-color: transparent; border-radius: 24px;
}
.spine-chain-next .h3 { margin-top: var(--s-4); }
.spine-chain-next p { color: var(--ink-2); }
.spine-chain-go {
  position: absolute; right: var(--s-32); bottom: var(--s-32); display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--ink); color: var(--paper); transition: transform var(--d-hover) var(--ease);
}
.spine-chain-go svg { width: 18px; height: 18px; }
@media (hover: hover) { .spine-chain-next:hover .spine-chain-go { transform: translateX(var(--arrow-go)); } }
.spine-chain-side { display: flex; flex-direction: column; gap: var(--s-12); padding: var(--s-32); border-radius: 24px; }
.spine-chain-side .link-arrow { padding-block: var(--s-4); }

.spine-close {
  display: flex; flex-direction: column; align-items: center; gap: var(--s-24); padding: var(--s-64) var(--s-32);
  background: var(--grey); border-radius: 24px; text-align: center;
}
.spine-close > .lead { max-width: 720px; text-wrap: balance; }
.spine-close .cluster { justify-content: center; }
.spine-close > .small { max-width: 560px; color: var(--ink-2); }

/* ============================================================ 8. Phone */
@media (max-width: 767px) {
  .spine-crop { aspect-ratio: var(--par, var(--ar, 4 / 3)); }
  .spine-crop img { width: var(--pw, var(--w, 100%)); transform: translate(var(--ptx, var(--tx, 0%)), var(--pty, var(--ty, 0%))); }
  .spine-fig { padding: var(--s-16); border-radius: 20px; }
  .spine-chain-next { padding: var(--s-24) calc(var(--s-64) + var(--s-12)) var(--s-24) var(--s-24); min-height: 0; }
  .spine-chain-go { right: var(--s-24); bottom: var(--s-24); }
  .spine-chain-side { padding: var(--s-24); }
  .spine-close { padding: var(--s-48) var(--s-24); }

  /* a tap answers */
  .spine-chain-next:active { transform: scale(.99); }
  .spine-notes > li:active { background: var(--grey); }
}

/* thumbs (a phone, or any touch screen such as a tablet): text links get a 44px target, the pin figure stays 13px */
@media (max-width: 767px), (pointer: coarse) {
  a.link-arrow { min-height: 44px; }
  .spine-chain-side .link-arrow { padding-block: 0; }
  .spine-crumb a { padding-block: 14px; margin-block: -14px; }       /* the hit area grows, the line does not */
  .d-pin { font-size: 13px; }
}


/* ============================================================ 9. The eight spine sub-pages (the band carries .spine-sub)
   analysis, design, pilot, customer-facing, integration, custom-ui-ux, automation, latest-ai. Added by the spine sub-pages fix lane
   (13 Oct 2026). Everything below is scoped to .spine-sub, so the hub and the pages that only borrow this file do not change.
   Section rhythm is not set here (DEC-015, site.css): colour edge 64 + 64, same background one gap of 64; phone 48 + 48 and 48.
   First screen: one headline. The page source gives the first section's heading class="h3" (the 28/32 step; 24/28 on a phone). */

/* type: whole sizes from the scale. Mono figures, buttons and the widow rule come from site.css (the shell lane); the pins and the drawn sub-label are this file's */
.spine-sub .d-pin { font-size: 13px; }               /* pins were 12 on a desktop */
.spine-sub .d-sub { text-wrap: pretty; }                                    /* no one-word last lines */
.spine-sub .d-box.is-dash .d-sub { opacity: 1; }                           /* ink-2 on white is 4.9:1, the .72 version was 2.9:1 */

/* chain card: white with a hairline, so the grey closing band is the one grey box at the foot; its kicker is trimmed like the headings */
.spine-sub .spine-chain-next { background: var(--paper); border-color: var(--line); }
.spine-sub .spine-chain .eyebrow { text-box: trim-both cap alphabetic; }

/* a sample document's shadow stays inside its grey tile */
.spine-sub .ana-doc, .spine-sub .cf-doc { box-shadow: 0 16px 32px -20px rgba(0, 0, 0, .2); }

/* real app screens in a <picture>: the crop rule in spine-b.css (.spb-crop > img) never matched, so the whole 1440 screen showed at half size */
.spine-sub .spb-crop { background: #000; }
.spine-sub .spb-crop picture { display: contents; }
.spine-sub .spb-crop img { position: absolute; left: var(--x); top: var(--y); width: var(--w); max-width: none; height: auto; }
@media (max-width: 639px) { .spine-sub .spb-crop img { left: var(--m-x, var(--x)); top: var(--m-y, var(--y)); width: var(--m-w, var(--w)); } }
@media (min-width: 900px) { .spine-sub .spb-wide > .tile-text { flex-basis: 34%; justify-content: flex-start; } }   /* a wider screen: the amounts and the Quote ready pill end inside the frame */

/* numbered cards: titles of one or two lines still start their text on one line */
@media (min-width: 1000px) { .spine-sub .spine-steps .spine-step .h4 { min-height: 56px; } }
.spine-sub .spb-vs .is-after { border: 1px solid transparent; }              /* both cards carry a 1px border so their headings share a baseline */

/* custom-ui-ux bento: Reach 7, Post 5, Score full width, so each crop shows its screen at 1.1 or more (app text 13px or more at 1440) */
.spine-sub .spine-sample { margin-top: var(--s-24); }
@media (min-width: 900px) {
  .spine-sub .spb-shots > .spb-s7 { grid-column: span 7; }
  .spine-sub .spb-shots > .spb-s5 { grid-column: span 5; }
}
@media (min-width: 640px) and (max-width: 899px) { .spine-sub .spb-shots > .spb-s5 .frame-window { max-width: 460px; } }
@media (max-width: 767px) {                                                /* the screens run flush to the tile edges, so a phone shows them at 1 to 1 */
  .spine-sub .spb-shots .tile-media { padding-left: 0; }
  .spine-sub .spb-shots .frame-window { border-left: 0; border-radius: 0; }
}

/* customer-facing: Post and Reach on one row, Score wide beneath, so each crop shows its screen at 0.92 or more (app text 11px or more at 1440) */
@media (min-width: 900px) {
  .spine-sub .cf-shots > .cf-wide { flex-direction: row; }
  .spine-sub .cf-wide > .tile-text { flex: 0 0 38%; justify-content: flex-start; }
  .spine-sub .cf-wide > .tile-media { flex: 1; min-width: 0; margin-top: var(--s-32); padding-left: 0; }
}
/* the quote page in "Your brand, kept": three real line items (the same sample business as the screens) */
.spine-sub .cf-doc-rows > div { grid-template-columns: minmax(0, 1fr) 14% 30%; font: 400 13px/16px var(--font-text); }
.spine-sub .cf-doc-rows .num { text-align: right; }
@media (min-width: 640px) { .spine-sub .cf-shots .tile-media { padding-left: 0; } }   /* the Post and Reach screens run to the tile's left edge too, one more notch of scale */

/* a flow line that stands up on a desktop too (the phone rules of spine-b.css, under a class), so a split can hold it */
@media (min-width: 640px) {
  .spine-sub .spb-flow.is-stack { grid-template-columns: 1fr; gap: 0; }
  .spine-sub .spb-flow.is-stack > li { padding: 0 0 var(--s-32) calc(var(--node) + var(--s-16)); }
  .spine-sub .spb-flow.is-stack > li:last-child { padding-bottom: 0; }
  .spine-sub .spb-flow.is-stack > li::before { top: 2px; }
  .spine-sub .spb-flow.is-stack > li::after { top: calc(var(--node) + 6px); left: calc(var(--node) / 2 - .75px); right: auto; bottom: 0; width: 1.5px; height: auto; }
  .spine-sub .spb-flow.is-stack .spb-start { position: static; display: inline-flex; margin-bottom: var(--s-8); }
}

/* a sample comparison: two bars on a grey stage, the figure in mono at the h3 size, the second bar the one solid-ink highlight */
.spine-bars { display: grid; gap: var(--s-16); }
.spine-bar { display: grid; gap: var(--s-12); padding: var(--s-16) var(--s-24) var(--s-24); background: var(--paper); border-radius: var(--r-14); }
.spine-bar-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-4) var(--s-16); }
.spine-bar-name { color: var(--ink-2); font: 500 15px/20px var(--font-text); }
.spine-bar-fig { font: 500 28px/32px var(--mono); font-variant-numeric: tabular-nums; color: var(--ink); }
@media (max-width: 767px) { .spine-bar-fig { font-size: 24px; line-height: 28px; } }
.spine-bar-track { display: block; height: 16px; border-radius: var(--r-pill); background: var(--grey); overflow: hidden; }
.spine-bar-track i { display: block; width: var(--v); height: 100%; border-radius: var(--r-pill); background: var(--line-strong); }
.spine-bar.is-after .spine-bar-track i { background: var(--ink); }
.spine-bar.is-after .spine-bar-name { color: var(--ink); }
.spine-sub .spine-fig > .spine-cap:last-child:not(:first-child) { margin-top: var(--s-16); }

/* analysis: the sample document says what a result says (a line per block, the same sample business as the drawing above it) */
.spine-sub .ana-doc-line { color: var(--ink-2); font: 400 15px/20px var(--font-text); }
.spine-sub .ana-doc-sec.is-hl .ana-doc-line { color: var(--paper); }

/* design: Before and After panels share their rows (tag, panel, notes), so both grey panels end on one line; the After screen sits in the middle of its panel */
.spine-sub .des-fig { display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 768px) {
  .spine-sub .spine-ba { grid-template-rows: auto 1fr auto; column-gap: var(--s-24); row-gap: 0; }
  .spine-sub .spine-ba-side { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: var(--s-16); }
}
.spine-sub .des-val { display: block; padding: 0 var(--s-12); color: var(--ink); font: 400 15px/34px var(--font-text); white-space: nowrap; overflow: hidden; }
.spine-sub .des-val.num { font-family: var(--mono); }
.spine-sub .des-screen.is-after .des-btns .d-pin { position: static; align-self: center; margin: 0 0 0 var(--s-4); }   /* pin 3 sits 12px right of its button */
.spine-sub .spine-ba-tag { justify-self: start; }
.spine-sub .des-sample { justify-content: center; }

/* pilot: the demo split gives the screen the wider column (the app crop then renders at 1 or more), spreadsheet cells hold values */
@media (min-width: 900px) { .spine-sub .spine-split.is-wide-right { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.spine-sub .pil-c { display: block; padding: var(--s-12); font: 400 13px/16px var(--font-text); overflow-wrap: anywhere; }
.spine-sub .pil-c.num { font-family: var(--mono); }
@media (min-width: 768px) { .spine-sub .pil-time { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; } }   /* the third stage ends at the right edge of the figure */
.spine-sub .pil-decide { margin-top: var(--s-8); }                          /* the row padding above makes the other 16 */
@media (max-width: 639px) {
  .spine-sub .pil-grid { grid-template-columns: repeat(4, auto); }
  .spine-sub .pil-c, .spine-sub .pil-h { padding: var(--s-8) var(--s-8); overflow-wrap: normal; }
  .spine-sub .pil-stair { flex-direction: column; align-items: flex-start; gap: var(--s-8); }   /* three rows of growing width, a down arrow between */
  .spine-sub .pil-stair-col { flex: none; width: 100%; }
  .spine-sub .pil-stair > :nth-child(1) { width: 58%; }
  .spine-sub .pil-stair > :nth-child(3) { width: 80%; }
  .spine-sub .pil-s1, .spine-sub .pil-s2, .spine-sub .pil-s3 { min-height: 56px; align-items: center; }
  .spine-sub .pil-st-arrow { align-self: flex-start; width: 1.5px; height: var(--s-24); margin: 0 0 0 var(--s-24); }
  .spine-sub .pil-st-arrow::after { right: auto; left: -3.75px; top: auto; bottom: 1.5px; transform: rotate(135deg); }
}

/* customer-facing: the branch bar sits at the end of the stem; on a phone the two branches hang off a left rail (like .d-tree), not a down arrow */
.spine-sub .cf-branches::before { top: 0; }
@media (max-width: 639px) {
  .spine-sub .cf-flow { align-items: stretch; }
  .spine-sub .cf-flow > .cf-stem { align-self: flex-start; margin-left: var(--s-24); }
  .spine-sub .cf-sort::after { left: var(--s-24); }
  .spine-sub .cf-branches { margin: var(--s-16) 0 0 var(--s-24); padding-left: var(--s-32); width: auto; gap: var(--s-12); }
  .spine-sub .cf-branch { position: relative; }
  .spine-sub .cf-branch .d-arrow { display: none; }
  .spine-sub .cf-branch::before { content: ""; position: absolute; left: calc(-1 * var(--s-32)); top: 0; width: var(--s-32); height: 50%; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
  .spine-sub .cf-branch:not(:last-child)::after { content: ""; position: absolute; left: calc(-1 * var(--s-32)); top: 50%; bottom: calc(-1 * var(--s-12)); border-left: 1.5px solid var(--ink); }
}

/* automation: each drawing is trimmed to its nodes and kept at its natural size (drawn text lands on 15 px; narrow columns swap to the tall twin), captions sit 12 under */
.spine-sub .spb-tangle { gap: var(--s-48); container-type: inline-size; }
.spine-sub .spb-tangle svg { overflow: visible; }
.spine-sub .spb-tangle svg.d-phone { max-width: 300px; }
.spine-sub .spb-tangle .spine-cap { margin-top: var(--s-12); }
@container (max-width: 519px) {
  .spine-sub .spb-tangle svg.d-desk { display: none; }
  .spine-sub .spb-tangle svg.d-phone { display: block; }
  .spine-sub .spb-tangle .d-phone .tx { font-size: 15px; }
}
.spine-sub .spb-list5 p { margin-top: var(--s-8); max-width: 640px; }
@media (max-width: 639px) { .spine-sub .spb-n { font-size: 19px; } }

/* integration: the sample connector names are real tiles (a visible edge, a name at 17), five across, 2 + 2 + 1 on a phone */
.spine-sub .spb-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.spine-sub .spb-strip li { border-color: var(--line-strong); font: 500 17px/24px var(--font-text); }
@media (max-width: 767px) { .spine-sub .spb-hub-core b { font-size: 19px; line-height: 24px; } }   /* the black One list tile: the phone step of a 21 title */
@media (max-width: 767px) {
  .spine-sub .spb-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-12); }
  .spine-sub .spb-strip li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* analysis, phone: the flow stands up with the boxes on a left rail, the tool beside each box (not between the box and its arrow), and the dashed
   "Stock check" box branching off the Order step by a dashed stub, so it is no longer read as a step in series */
@media (max-width: 767px) {
  .spine-sub .ana-step { display: grid; grid-template-columns: 44% minmax(0, 1fr); column-gap: var(--s-16); align-items: center; }
  .spine-sub .ana-step > .d-box:first-child { grid-column: 1; }
  .spine-sub .ana-step > .ana-tool { grid-column: 2; text-align: left; }
  .spine-sub .ana-step > .ana-gap { grid-column: 1 / -1; grid-row: 2; margin: var(--s-16) 0 0 calc(22% + var(--s-24)); }
  .spine-sub .ana-step > .ana-gap::before { content: ""; position: absolute; right: 100%; top: 50%; width: var(--s-24); border-top: 1.5px dashed var(--ink); }
  .spine-sub .ana-step:has(> .ana-gap) { background: linear-gradient(var(--ink), var(--ink)) no-repeat calc(22% - .75px) 48px / 1.5px calc(100% - 48px); }
  .spine-sub .d-arrow.ana-line { left: calc(22% - .75px); }
  .spine-sub .ana-conn .d-pin { justify-self: start; margin-left: calc(22% - 12px); }
}

/* integration: white rows on the grey stage need no hairline (four nested outlines became three) */
.spine-sub .spine-fig.is-grey .spb-conn { border-color: transparent; }
