
/* ===== the wire range chart (wirechart.py) ===== */
/* NO BORDERS ANYWHERE IN HERE. The axis rule and the row separators are
   one-pixel backgrounds over the band's own ground, which is the house
   rule and the reason this block drops onto any tier without bringing
   a box with it. */
.wc{margin-top:44px;}
.wc-axis{position:relative;height:42px;margin-left:var(--wc-l,268px);
  margin-right:var(--wc-r,104px);}
.wc-t{position:absolute;top:0;transform:translateX(-50%);text-align:center;
  white-space:nowrap;}
.wc-t b{display:block;font-size:12px;font-weight:700;
  color:rgba(255,255,255,.85);letter-spacing:.4px;}
.wc-t i{display:block;font-style:normal;font-size:10px;
  color:rgba(255,255,255,.4);margin-top:3px;}
.wc-rule{height:1px;background:rgba(255,255,255,.14);
  margin:0 var(--wc-r,104px) 0 var(--wc-l,268px);}
.wc-grp{margin-top:24px;margin-bottom:2px;font-size:11px;font-weight:700;
  letter-spacing:1.5px;text-transform:uppercase;color:rgba(255,255,255,.4);}
.wc-row{display:flex;align-items:center;height:44px;}
.wc-nm{width:var(--wc-l,268px);flex:none;padding-right:22px;}
.wc-nm b{display:block;font-size:15px;font-weight:600;color:#fff;}
.wc-nm i{display:block;font-style:normal;font-size:11px;
  color:rgba(255,255,255,.42);margin-top:2px;}
.wc-bar{position:relative;flex:1 1 auto;height:44px;}
.wc-fill{position:absolute;top:14px;height:16px;border-radius:8px;
  background:linear-gradient(90deg,var(--aqua,#00eecc),rgba(0,200,220,.78));}
/* THE BARS GROW. Matt, 27 October: "Love this can we animate the bars
   to grow."

   clip-path AND NOT scaleX, which is the whole technical content of
   this. Six of these bars are the open-ended ones, whose fill is a
   gradient that fades in from nothing on the left because Mike gave
   them a ceiling and no floor. scaleX stretches the paint with the
   box, so those six would have grown with the fade stretched across
   them and arrived with it compressed: the bar would have changed
   shape as well as length. A clip reveals the paint already in place,
   so the gradient is the same at every frame of the animation as it is
   at rest.

   IT HANGS OFF THE REVEAL THE CHART ALREADY HAS. .wc carries rv, so
   .on arrives when the block enters the window and there is no second
   observer, no script and nothing to keep in step.

   THE STAGGER COUNTS DOWN THE WHOLE CHART, not each group: --i is
   written per row in Python and does not restart at the second
   heading, so thirteen bars read as one movement rather than two.
   70ms apart, after 120ms of head start, so the last bar starts as the
   block's own fade finishes. */
.wc-fill{clip-path:inset(0 100% 0 0);
  transition:clip-path 1.05s cubic-bezier(.22,1,.36,1);
  transition-delay:calc(120ms + var(--i,0) * 70ms);}
.wc.on .wc-fill{clip-path:inset(0 0 0 0);}
/* AND IT IS OFF RATHER THAN FAST FOR ANYONE WHO ASKED FOR LESS MOTION.
   Written as the full bar rather than a 0s transition, so it does not
   depend on .on arriving at all. */
@media (prefers-reduced-motion:reduce){
  .wc-fill{clip-path:none;transition:none;}
}
/* Mike gave these a ceiling and no floor, so the bar says so rather
   than inventing one. */
.wc-fill.wc-open{background:linear-gradient(90deg,rgba(0,238,204,0),
  var(--aqua,#00eecc) 24%,rgba(0,200,220,.78));}
.wc-val{width:var(--wc-r,104px);flex:none;text-align:right;font-size:12px;
  color:rgba(255,255,255,.62);font-variant-numeric:tabular-nums;}
.wc-src{margin-top:26px;font-size:12px;line-height:1.5;
  color:rgba(255,255,255,.42);}
@media (max-width:1080px){.wc{--wc-l:210px;--wc-r:96px;}}
/* THE BARS GO ON A PHONE AND THE NUMBERS STAY. A four and a half decade
   log axis across 320px of screen is a row of slivers nobody can read
   or compare, and the range in words is the thing a reader came for. */
@media (max-width:760px){
  .wc-axis,.wc-rule,.wc-bar{display:none;}
  .wc-row{height:auto;padding:13px 0;
    background-image:linear-gradient(rgba(255,255,255,.09),
      rgba(255,255,255,.09));background-size:100% 1px;
    background-position:0 100%;background-repeat:no-repeat;}
  .wc-nm{width:auto;flex:1 1 auto;padding-right:16px;}
  .wc-val{width:auto;flex:none;font-size:13px;color:rgba(255,255,255,.8);}
}


/* ===== the eighteen processes (procex.py) ===== */
/* NO PANEL AND NO BOX. Matt, 27 October: "As it's a lot of content can
   we NOT have it on a bg container - Let's max out on full grid width
   for this one." So this block brings no ground of its own and sits on
   whatever tier it lands on.

   GRID WIDTH, NOT PAGE WIDTH. I read "max out on full grid width" as
   the window and took the block out to 1760, a third wider than
   anything else on the site. Matt, 27 October, looking at it: "This
   should be full grid width not full page width." The grid is .wrap,
   so this is .wrap: --max and the same gutter, which is the width
   every other block on the page already lines up on. The eighteen
   pictures come down with it and the block stops being the one thing
   that breaks the page's left and right edges.

   IT KEEPS A CLASS OF ITS OWN rather than becoming .wrap, because the
   guard below keys on it to catch a panel creeping back in, and
   because the block's own rules hang off it. */
.px-wide{width:100%;max-width:var(--max);margin:0 auto;
  padding:0 var(--s4);}
@media (min-width:1400px){.px-wide{padding:0;}}
.px-lede{margin-top:16px;max-width:52em;font-size:var(--fs-4,19px);
  line-height:1.6;color:rgba(255,255,255,.72);}
/* THE GAP AND THE LABEL CAME IN WHEN THE BLOCK CAME IN. At 1760 a
   column was 560px and a picture 358 of it. At grid width a column is
   425, and on the old 40px gap and 186px label the picture would have
   been 215: a sixth of the room it had. 28 and 152 give it back 44px
   without the labels losing their second line, which is the one thing
   Matt said was working. */
.px-cols{margin-top:40px;display:grid;grid-template-columns:repeat(3,1fr);
  column-gap:28px;}
/* THE ROW IS THE HEIGHT OF ITS PICTURE, and it does not need telling.
   The first cut pinned it at 84px to keep the rules level across the
   three columns, which worked for seventeen rows and broke on the one
   that matters: every file is 1203 x 416, so at 358px across a picture
   is 124px tall, and the fanned multi-core spilled 40px up into the
   row above it. Measured, not noticed by eye.

   Pinning the height was solving a problem this block does not have.
   The eighteen are all one box, so their rendered heights are
   identical by construction and the rules line up on their own. */
.px-row{display:flex;align-items:center;gap:14px;padding:10px 0;
  background-image:linear-gradient(rgba(255,255,255,.09),
    rgba(255,255,255,.09));background-size:100% 1px;
  background-position:0 100%;background-repeat:no-repeat;}
.px-row:last-child{background-image:none;}
/* The label styles Matt kept: the number small and aqua above, the
   name at reading size under it, two lines where it needs them. */
.px-lab{width:152px;flex:none;font-size:16px;font-weight:500;
  line-height:1.28;color:rgba(255,255,255,.92);}
.px-lab b{display:block;font-size:10px;font-weight:700;letter-spacing:1.2px;
  color:var(--aqua,#00eecc);margin-bottom:3px;}
.px-lab u{text-decoration:none;color:var(--aqua,#00eecc);}
.px-art{flex:1 1 auto;min-width:0;}
.px-art img{display:block;width:100%;height:auto;}
.px-key{margin-top:22px;font-size:var(--fs-7,13px);
  color:rgba(255,255,255,.42);}
.px-key u{text-decoration:none;color:var(--aqua,#00eecc);}
@media (max-width:1240px){
  .px-cols{grid-template-columns:repeat(2,1fr);column-gap:34px;}
  .px-lab{width:170px;}
}
@media (max-width:760px){
  .px-cols{grid-template-columns:1fr;}
  .px-row{padding:12px 0;gap:14px;}
  .px-lab{width:150px;}
}

/* THE EIGHTEEN SLIDE UP ONE AT A TIME. Matt, 2 November, about these
   and the wire row together: "be cool if they slide up individually
   somehow on scroll arrival."

   ON THE SITE'S OWN REVEAL. Each row is marked .rv and the one
   IntersectionObserver this site already runs gives each a 70ms
   transitionDelay in the order it arrives, so the rows cascade without
   a line of new script. Eighteen rows is 1,190ms end to end, which
   sounds long and is not: they are in three columns, so each column
   runs its six in 420ms and the eye reads three short cascades rather
   than one long one.

   28px RATHER THAN THE WIRE ROW'S 44. These rows are a list and the
   rule under each one is part of it, so a big rise makes the hairlines
   swim. The wires are twelve separate objects and can afford it. Same
   curve on both, so the two blocks on this page move as one idea. */
.px-row.rv{transform:translateY(28px);
  transition:opacity .58s ease, transform .58s cubic-bezier(.22,1.1,.36,1);}
.px-row.rv.on{transform:none;}
@media (prefers-reduced-motion:reduce){
  .px-row.rv{opacity:1 !important;transform:none !important;
    transition:none !important;}
}
