/* B6 (round 14, DIRECTION_3 + client review 2): the nine industry pages' two figure sections, one shared frame, each page's own words.
   A. "Workflows in your industry" (black), the page's one pinned scene (client note 211): the section's h2 above a timeline of the four
      workflows (names at the h3 role, never competing with the h2). As the visitor scrolls, a vermilion dot advances down the line, pinned
      in place; at each stop the workflow lights and its record changes at once: the record in the site's glass manner over a crop of the
      page's own painting - its steps, the sources it uses (chips) and the result that lands (a paper card, its mark in vermilion).
      Phone: no pin; a vertical timeline with each workflow's record under it, the dot following the scroll.
   B. "In your context" (paper): the illustrative workflow as a finished line diagram - one chip per stage carrying the stage's words,
      the industry's own term under each chip (note 212, terms listed in _research/TERMS.txt), the branch where the sentence says "or",
      a dashed branch for "if needed", a return line when the work ends where it began, and a result chip (ink, vermilion mark).
      It plays through in about two seconds when seen, then rests whole.
   Type: the site's roles only. Never set font-family. Vermilion only for the moving dot and where Atlas's work lands. */

/* ---------------- A: the pinned timeline ---------------- */
.iv-pin{position:relative;height:calc(100vh + 200vh)}
.iv-stick{position:sticky;top:var(--navh);height:calc(100vh - var(--navh));display:flex;flex-direction:column;justify-content:center;overflow:hidden}
.iv-hd{margin-bottom:clamp(28px,3.4vw,44px)}
.iv-tl{position:relative;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap);height:min(520px,calc(100vh - var(--navh) - 250px));min-height:400px}
.iv-stops{grid-column:1 / 6;list-style:none;margin:0;padding:0 0 0 40px;display:flex;flex-direction:column;justify-content:space-between}
.iv-stop{position:static}
.iv-sn{position:relative;font:var(--w-h3) var(--s-lede)/1.3 var(--f);letter-spacing:-.012em;color:rgba(255,255,255,.42);transition:color .25s var(--ease)}
.iv-sn::before{content:'';position:absolute;left:-36.5px;top:9px;width:9px;height:9px;border-radius:50%;background:var(--bg);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.45);transition:background-color .25s var(--ease),box-shadow .25s}
.iv-stop.past .iv-sn::before,.iv-stop.on .iv-sn::before{background:#f5f5f3;box-shadow:none}
.iv-sb{all:unset;cursor:pointer}
.iv-sb:focus-visible{outline:2px solid #fff;outline-offset:4px;border-radius:4px}
.iv-sl{font:400 var(--s-body)/1.55 var(--f);color:rgba(255,255,255,.34);margin-top:8px;max-width:27em;transition:color .25s var(--ease)}
.iv-stop.on .iv-sn{color:#fff}
.iv-stop.on .iv-sl{color:var(--fg2)}
.iv-rail{position:absolute;left:8px;top:0;width:1px;height:0;background:rgba(255,255,255,.16)}
.iv-fill{position:absolute;left:0;top:0;width:1px;height:var(--y,0px);background:rgba(255,255,255,.75)}
.iv-dot{position:absolute;left:-6px;top:-6px;width:13px;height:13px;border-radius:50%;background:var(--verm);box-shadow:0 0 0 5px rgba(226,70,42,.2);transform:translateY(var(--y,0px))}
/* the record of the active stop, in the right-hand columns */
.iv-board{position:absolute;top:0;bottom:0;right:0;left:calc((100% - 11 * var(--gap)) / 12 * 5 + 5 * var(--gap));display:grid;place-items:center;padding:40px;
  border-radius:22px;overflow:hidden;isolation:isolate;visibility:hidden}
.iv-stop.on .iv-board{visibility:visible}
.iv-ground{position:absolute;inset:-8px;z-index:-1;background:50% 50% / cover no-repeat;filter:blur(.8px) brightness(.6) saturate(.95)}
.iv-ground::after{content:'';position:absolute;inset:0;background:radial-gradient(120% 90% at 30% 20%,rgba(255,255,255,.06),transparent 60%),linear-gradient(180deg,rgba(10,10,10,0),rgba(10,10,10,.28))}
.iv-rec{position:relative;width:min(500px,100%);border-radius:18px;overflow:hidden;color:#fff;
  background:linear-gradient(150deg,rgba(255,255,255,.14),rgba(255,255,255,.05) 46%,rgba(255,255,255,.08)),rgba(12,12,12,.32);
  -webkit-backdrop-filter:blur(26px) saturate(1.5);backdrop-filter:blur(26px) saturate(1.5);box-shadow:var(--glass-edge),0 40px 90px rgba(0,0,0,.45)}
.iv-rec-h{display:flex;align-items:center;gap:10px;padding:15px 20px;border-bottom:1px solid rgba(255,255,255,.1);font:500 var(--s-small)/1.3 var(--f);color:rgba(255,255,255,.76)}
.iv-mark{width:18px;height:18px;flex:none;color:#fff}
.iv-steps{list-style:none;margin:0;padding:20px 20px 2px}
.iv-steps>li{position:relative;padding:0 0 20px 30px}
.iv-steps>li::before{content:'';position:absolute;left:3px;top:5px;width:10px;height:10px;border-radius:50%;background:#f5f5f3;box-shadow:0 0 0 4px rgba(255,255,255,.08)}
.iv-steps>li::after{content:'';position:absolute;left:7.5px;top:21px;bottom:0;width:1px;background:rgba(255,255,255,.26)}
.iv-steps>li.iv-only::before{background:transparent;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.7)}
.iv-st{display:block;font:540 var(--s-body)/1.4 var(--f);color:#fff}
.iv-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.iv-only .iv-chips{margin-top:0}
.iv-chip{display:inline-flex;align-items:center;gap:7px;padding:6px 11px 6px 8px;border-radius:9px;background:rgba(255,255,255,.09);box-shadow:inset 0 0 0 1px rgba(255,255,255,.15);
  font:500 var(--s-small)/1.25 var(--f);color:rgba(255,255,255,.92)}
.iv-chip svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;opacity:.8}
.iv-res{padding:0 20px 22px 20px}
.iv-out{display:flex;align-items:center;gap:14px;padding:13px 18px 13px 13px;border-radius:14px;background:#f5f5f3;color:var(--ink);
  font:560 var(--s-body)/1.35 var(--f);letter-spacing:-.005em;box-shadow:0 18px 40px rgba(0,0,0,.34)}
.iv-out i{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--verm)}
.iv-out i svg{width:17px;height:17px;fill:none;stroke:#fff;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.iv-or2{display:block;padding:9px 0 9px 26px;font:500 var(--s-small)/1 var(--f);color:rgba(255,255,255,.7)}
.iv-note{margin-top:24px}
/* the record assembles in under half a second when its stop lights; rest state complete */
@keyframes iv-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.iv-play .iv-a{animation:iv-rise .3s var(--spring) both;animation-delay:calc(var(--i,0) * 55ms)}

/* ---------------- B: the line diagram ---------------- */
.iv-flow .eyebrow{margin-bottom:22px}
.iv-dg{position:relative;margin:0;padding:clamp(40px,4.4vw,64px) clamp(32px,3.6vw,56px);border-radius:22px;
  background:radial-gradient(rgba(14,15,15,.13) 1px,transparent 1.4px) 0 0 / 22px 22px,rgba(14,15,15,.028);box-shadow:inset 0 0 0 1px rgba(14,15,15,.06)}
.iv-dg[data-shape="loop"]{padding-bottom:clamp(76px,6.4vw,96px)}
.iv-ch{list-style:none;margin:0;padding:0;position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:52px}
.iv-s{display:flex;flex-direction:column;flex:0 0 auto;max-width:272px}
.iv-c{position:relative;display:flex;align-items:center;gap:12px;min-height:60px;padding:11px 16px 11px 11px;border-radius:14px;background:#fff;color:var(--ink);
  box-shadow:inset 0 0 0 1px var(--iline),0 10px 26px rgba(14,15,15,.07);font:540 var(--s-body)/1.3 var(--f);letter-spacing:-.005em;box-sizing:border-box;
  transition:opacity .32s var(--ease),transform .42s var(--spring),box-shadow .3s var(--ease)}
.iv-c i{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:rgba(14,15,15,.055)}
.iv-c i svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
.iv-c--in{background:rgba(255,255,255,.55);box-shadow:inset 0 0 0 1px rgba(14,15,15,.26)}
.iv-c--res{background:var(--ink);color:#fff;box-shadow:0 16px 34px rgba(14,15,15,.24)}
.iv-c--res i{background:var(--verm)} .iv-c--res i svg{stroke:#fff}
.iv-c--if{background:rgba(255,255,255,.5);box-shadow:none;outline:1.5px dashed rgba(14,15,15,.42);outline-offset:-1.5px}
/* the industry's own term under its chip, aligned with the chip's words */
.iv-term{display:block;margin-top:8px;padding-left:57px;font:500 var(--s-small)/1.35 var(--f);color:var(--ink2);transition:opacity .32s var(--ease)}
.iv-br{display:grid;grid-template-columns:auto;justify-items:start;flex:0 0 auto}
.iv-br>.iv-c:nth-of-type(1){grid-row:1} .iv-br>.iv-ta{grid-row:2}
.iv-br>.iv-or{grid-row:3} .iv-br>.iv-c:nth-of-type(2){grid-row:4} .iv-br>.iv-tb{grid-row:5}
.iv-or{display:block;padding:12px 0 12px 18px;font:500 var(--s-small)/1 var(--f);color:var(--ink2)}
.iv-ln{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:0}
.iv-ln path{fill:none;stroke:rgba(14,15,15,.46);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.iv-ln path.e{stroke-dasharray:1 1;stroke-dashoffset:1;transition:stroke-dashoffset .34s var(--ease)}
.iv-ln path.e.on{stroke-dashoffset:0}
.iv-ln path.d{stroke-dasharray:5 6;opacity:0;transition:opacity .34s var(--ease)}
.iv-ln path.d.on{opacity:1}
.iv-dg.iv-arm .iv-c:not(.is),.iv-dg.iv-arm .iv-or:not(.is),.iv-dg.iv-arm .iv-term:not(.is){opacity:0;transform:translateY(8px)}
.iv-c.now{box-shadow:inset 0 0 0 1px var(--iline),0 0 0 2px var(--verm),0 10px 26px rgba(14,15,15,.07)}
.iv-c--res.now{box-shadow:0 0 0 2px var(--verm),0 16px 34px rgba(14,15,15,.24)}
.iv-head{margin-top:clamp(64px,7vw,104px);max-width:44rem}
.iv-head .eyebrow{margin-bottom:18px}
.iv-head .lede{margin-top:22px;max-width:34em}

/* desktop 1101 px and up (client 17 Oct: "overlap of bubbles didn't exist before"): from 1101 to about 1366 the four nodes, kept at their
   full width, ran past the dotted panel's right edge (Banking at 1280: 84 px). The nodes now give way like the tablet's: each may narrow
   and wrap its words inside its box, and the space between them follows the width; the type stays at its size. */
@media (min-width:1101px){
  .iv-ch{gap:clamp(30px,3.6vw,52px)}
  .iv-s,.iv-br{flex:0 1 auto;min-width:0}
}
/* tablet */
@media (max-width:1100px) and (min-width:761px){
  .iv-stops{grid-column:1 / 6;padding-left:34px}
  .iv-sn::before{left:-30.5px}
  .iv-board{padding:24px}
  .iv-ch{gap:30px} .iv-s{max-width:190px;flex:0 1 auto}
  .iv-term{padding-left:0}
}
/* phone: no pin - a vertical timeline, each workflow's record under it, the dot following the scroll; the diagram top to bottom */
@media (max-width:760px){
  .iv-pin{height:auto}
  .iv-stick{position:static;height:auto;display:block;overflow:visible}
  .iv-tl{display:block;height:auto;min-height:0}
  .iv-stops{padding-left:30px;display:block}
  .iv-stop+.iv-stop{margin-top:44px}
  .iv-sn::before{left:-26.5px}
  .iv-sn{color:#fff} .iv-sl{color:var(--fg2)}
  .iv-board{position:relative;left:auto;right:auto;top:auto;bottom:auto;visibility:visible;margin-top:18px;padding:24px 12px;border-radius:18px}
  .iv-steps{padding:18px 16px 2px} .iv-res{padding:0 16px 18px} .iv-rec-h{padding:13px 16px}
  .iv-out{padding:12px 14px 12px 12px;gap:12px}
  .iv-dg{padding:28px 18px 28px 16px}
  .iv-dg[data-shape="loop"]{padding-right:34px;padding-bottom:28px}
  .iv-ch{flex-direction:column;align-items:stretch;gap:26px}
  .iv-s{max-width:none}
  .iv-br{justify-items:stretch;padding-left:40px}
  .iv-or{padding:10px 0 10px 4px}
}
@media (prefers-reduced-motion:reduce){
  .iv-play .iv-a{animation:none}
  .iv-c,.iv-term,.iv-ln path.e,.iv-ln path.d{transition:none}
}
