/* ============================================================================
   Rowan Environmental Group: the four figures

   One grammar, the load, wherever a quantity changes. The change always
   happens behind a boundary, so before and after are never ambiguous.

   Each figure's resting state is its argument in one frame: the finished
   stack, the full week, the bands at the boundary. That is what prints, what
   a reader without JavaScript sees, and what reduced motion shows. Motion is
   added only when rowan.js sets .motion on the root and .is-on on a figure,
   which happens when the reader presses Play. Every moving figure can be
   paused (WCAG 2.2.2), and one that leaves the screen returns to rest.
   ========================================================================= */

/* --- shared: caption row and the pause control ---------------------------- */
.fig-cap{
  display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between;
  gap:var(--s3) var(--s6); margin-top:var(--s5);
}
.fig-cap > .src{ flex:1 1 30ch }
@media (max-width:640px){ .fig-cap > .src{ flex-basis:100% } }
.fig-ctl{
  display:inline-flex; align-items:center; gap:8px; flex:none;
  min-height:36px; padding:6px 12px;
  background:transparent; color:var(--ink); border:1px solid var(--ctl);
  font:500 var(--t-meta)/1 var(--sans); cursor:pointer;
  transition:background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
@media (hover:hover){ .fig-ctl:hover{ background:var(--ink); color:var(--ground) } }
.fig-ctl svg{ width:10px; height:10px }

[data-motion].is-paused *{ animation-play-state:paused !important }


/* ============================================================================
   1 · THE BOUNDARY (business, the case)
   A day's load leaves the kitchen and passes behind the bin store or the
   machine. Collected, it comes out unchanged. Treated, it comes out at a sixth
   of its height, berry-light: Creeks' published 80 to 90% volume reduction,
   drawn as height. On graphite.
   ========================================================================= */
.flow{ --gate-x:56px; --gate-w:184px; margin-top:clamp(40px,4.6vw,64px) }
.flow-from{ display:none }
.brow + .brow{ margin-top:clamp(20px,2.4vw,30px) }
.brow > .label{ margin-bottom:var(--s3) }
/* A fixed outcome column, the width of the longer outcome, so both lanes end
   on one x. */
.bline{ display:grid; grid-template-columns:auto minmax(0,1fr) 11rem; align-items:center; gap:0 clamp(12px,1.6vw,22px) }
.bsite{ border:1px solid var(--ctl); padding:clamp(14px,1.8vw,20px) clamp(16px,2vw,22px) }
.bcell b{ display:block; font:600 var(--t-data)/1.3 var(--sans) }
.bcell span{ display:block; margin-top:4px; font:400 var(--t-meta)/1.4 var(--sans); color:var(--muted) }
.bstage{ position:relative; display:flex; align-items:center; min-width:0 }
.bgate{ position:relative; z-index:1; flex:none; width:var(--gate-w); margin-left:var(--gate-x); background:var(--ground) }
.flow .track{ position:absolute; left:0; right:0; top:50%; height:42px; margin-top:-21px; overflow:hidden; z-index:0 }
.bband{ position:absolute; top:50%; transform:translateY(-50%) }
.bband-in{ left:0; width:var(--gate-x) }
.bband-out{ left:calc(var(--gate-x) + var(--gate-w)); right:0 }
.bband-wide{ height:42px; background:rgba(242,237,225,.16); box-shadow:inset 0 1px 0 var(--control-green), inset 0 -1px 0 var(--control-green) }
.bband-thin{ height:7px; background:var(--berry-light) }
.bout b{ display:block; font:600 var(--t-data)/1.3 var(--sans) }
.bout span{ display:block; margin-top:4px; font:400 var(--t-meta)/1.45 var(--sans); color:var(--muted) }

.flow .load{
  display:none; position:absolute; inset:0;
  transform:translateX(-44px); color:var(--corymb); opacity:.42;
}
.flow .load::before{
  content:""; position:absolute; left:0; top:50%;
  width:42px; height:42px; margin-top:-21px; background:currentColor;
}
.motion .flow.is-on .bband-thin{ opacity:.5 }
.motion .flow.is-on .load{ display:block; animation:flow-collected 9s linear infinite; will-change:transform }
.motion .flow.is-on .track-treated .load{ animation-name:flow-treated }
/* The two band pieces are children 1 and 2; the loads are 3 to 6. */
.flow .load:nth-child(4){ animation-delay:-2.25s }
.flow .load:nth-child(5){ animation-delay:-4.5s }
.flow .load:nth-child(6){ animation-delay:-6.75s }
@keyframes flow-collected{
  from{ transform:translateX(-44px) }
  to  { transform:translateX(calc(100% + 44px)) }
}
/* 13 to 25% is x = 76 to 176 px: inside the box, which spans 56 to 240 px.
   0.1667 is 7 / 42, the ratio the bands use. */
@keyframes flow-treated{
  0%  { transform:translateX(-44px) scaleY(1);     color:var(--corymb);      opacity:.42 }
  13% { transform:translateX(76px) scaleY(1);      color:var(--corymb);      opacity:.42 }
  25% { transform:translateX(176px) scaleY(.1667); color:var(--berry-light); opacity:1 }
  100%{ transform:translateX(calc(100% + 44px)) scaleY(.1667); color:var(--berry-light); opacity:1 }
}
/* Once the lanes stack, the kitchen is stated once, above both of them, so
   the two bars sit together and read as one comparison. */
@media (max-width:820px){
  .bline{ grid-template-columns:minmax(0,1fr); gap:var(--s3) 0 }
  .flow-from{ display:block; margin-bottom:var(--s4); font:500 var(--t-data)/1.4 var(--sans) }
  .flow .bsite-one{ display:none }
}
@media (max-width:640px){
  .flow{ --gate-x:36px; --gate-w:150px }
  .brow + .brow{ margin-top:var(--s5) }
  .bgate{ padding:12px 14px }
  @keyframes flow-treated{
    0%  { transform:translateX(-44px) scaleY(1);     color:var(--corymb);      opacity:.42 }
    24% { transform:translateX(44px) scaleY(1);      color:var(--corymb);      opacity:.42 }
    42% { transform:translateX(130px) scaleY(.1667); color:var(--berry-light); opacity:1 }
    100%{ transform:translateX(calc(100% + 44px)) scaleY(.1667); color:var(--berry-light); opacity:1 }
  }
}


/* ============================================================================
   2 · HELD, NOT TREATED (business, compliance)
   A rate is horizontal motion; a stock is vertical accumulation; T23 counts
   the second. Row A: one-tonne loads pass behind the machine and leave. Row B:
   the same loads stay, and stack in the same column as the machine, until
   the tenth reaches the 10 t line. The eleventh and twelfth are red: red is
   the incident, and on cream it is safe. On cream.
   ========================================================================= */
.held{ --gate-x:56px; --gate-w:184px; margin-top:clamp(36px,4vw,56px); padding-top:clamp(22px,2.6vw,32px); border-top:1px solid var(--line) }
.held-row{ display:grid; grid-template-columns:minmax(0,24%) minmax(0,1fr) minmax(0,24%); gap:var(--s3) clamp(18px,2.4vw,34px); align-items:center }
.held-row + .held-row{ margin-top:clamp(24px,3vw,36px); padding-top:clamp(20px,2.4vw,30px); border-top:1px solid var(--line-soft) }
.held-label .label{ margin-bottom:var(--s2) }
.held-label b, .held-out b, .held-gate b{ display:block; font:600 var(--t-data)/1.3 var(--sans) }
.held-label > span:not(.label), .held-out span, .held-gate span{ display:block; margin-top:4px; font:400 var(--t-meta)/1.4 var(--sans); color:var(--muted) }
.held-stage{ position:relative; display:flex; align-items:center; min-width:0; min-height:42px }
.held-gate{ position:relative; z-index:1; flex:none; width:var(--gate-w); margin-left:var(--gate-x); padding:14px 18px; border:1px solid var(--ctl); background:var(--ground) }
.held-stage .track{ position:absolute; left:0; right:0; top:50%; height:14px; margin-top:-7px; overflow:hidden; background:var(--line-soft) }
.hload{ display:none; position:absolute; inset:0; transform:translateX(-44px) }
.hload::before{ content:""; position:absolute; left:0; top:0; width:42px; height:14px; background:var(--green); opacity:.7 }
.motion .held.is-on .hload{ display:block; animation:held-flow 4.8s linear infinite; will-change:transform }
.hload:nth-child(2){ animation-delay:-.8s }
.hload:nth-child(3){ animation-delay:-1.6s }
.hload:nth-child(4){ animation-delay:-2.4s }
.hload:nth-child(5){ animation-delay:-3.2s }
.hload:nth-child(6){ animation-delay:-4s }
/* At rest, in reduced motion and in print, row A shows three loads, one before
   the machine and two after it, so "A rate" is drawn rather than an empty
   rail. Play replaces these positions with the animation. */
.hload:nth-child(-n+3){ display:block }
.hload:nth-child(1){ transform:translateX(8px) }
.hload:nth-child(2){ transform:translateX(calc(var(--gate-x) + var(--gate-w) + 24px)) }
.hload:nth-child(3){ transform:translateX(calc(var(--gate-x) + var(--gate-w) + 120px)) }
@keyframes held-flow{ from{ transform:translateX(-44px) } to{ transform:translateX(calc(100% + 44px)) } }

/* The stack sits under the machine, in the same column, so the two rows read
   as a box against a pile. Twelve slabs at 16 px; the cap is at the tenth. */
.held-stack{ position:relative; height:196px; width:var(--gate-w); margin-left:var(--gate-x) }
.hslab{
  position:absolute; left:0; right:0; height:13px; bottom:calc(var(--i) * 16px);
  background:var(--green); opacity:.7; transform-origin:50% 100%;
}
.hslab-over{ background:var(--red); opacity:1 }
.hcap{ position:absolute; left:-14px; right:-14px; bottom:158px; border-top:1px solid var(--red) }
.hcap span{ position:absolute; left:calc(100% + 10px); top:-.75em; white-space:nowrap; font:500 var(--t-meta)/1.5 var(--sans); color:var(--red) }
.hslab:nth-child(2){ --i:0 }  .hslab:nth-child(3){ --i:1 }  .hslab:nth-child(4){ --i:2 }
.hslab:nth-child(5){ --i:3 }  .hslab:nth-child(6){ --i:4 }  .hslab:nth-child(7){ --i:5 }
.hslab:nth-child(8){ --i:6 }  .hslab:nth-child(9){ --i:7 }  .hslab:nth-child(10){ --i:8 }
.hslab:nth-child(11){ --i:9 } .hslab:nth-child(12){ --i:10 } .hslab:nth-child(13){ --i:11 }
.motion .held.is-on .hslab{ animation:slab-in .35s var(--ease) both; animation-delay:calc(var(--i) * .75s) }
@keyframes slab-in{ from{ transform:scaleY(0) } to{ transform:scaleY(1) } }
@media (max-width:820px){
  .held-row{ grid-template-columns:minmax(0,1fr) }
}
@media (max-width:640px){
  .held{ --gate-x:0px; --gate-w:150px }
}
/* At 320 px the cap's label, which sits right of the stack, needs the room. */
@media (max-width:359px){
  .held{ --gate-w:124px }
}


/* ============================================================================
   3 · A WEEK, DRAWN TWICE (home, in the kitchen)
   Seven columns, one a day. Row A: each day's load stands until collection
   day. Row B: each day's load drops within the day to 0.15 of its height and
   turns glaucous, the published 80 to 90% band. It plays once and holds on
   the finished week. On green, with nothing container-shaped.
   ========================================================================= */
.week{ margin-top:clamp(40px,5vw,72px) }
.week-row{ display:grid; grid-template-columns:minmax(0,30%) minmax(0,1fr) minmax(0,24%); gap:var(--s3) clamp(18px,2.4vw,34px); align-items:end }
.week-row + .week-row{ margin-top:clamp(22px,2.6vw,34px) }
.week-label .label{ margin-bottom:var(--s2) }
.week-label b, .week-out b{ display:block; font:600 var(--t-data)/1.3 var(--sans) }
.week-label > span:not(.label), .week-out span{ display:block; margin-top:4px; font:400 var(--t-meta)/1.45 var(--sans); color:var(--muted) }
.week-chart{ min-width:0 }
.week-days{ display:grid; grid-template-columns:repeat(7,1fr); gap:0 6px; padding-bottom:6px; margin-bottom:var(--s3); border-bottom:1px solid var(--line) }
.week-days span{ font:400 var(--t-meta)/1 var(--sans); color:var(--muted) }
.week-row + .week-row .week-days{ display:none }
.week-bars{ position:relative; height:clamp(64px,7vw,104px); border-bottom:1px solid var(--line); display:grid; grid-template-columns:repeat(7,1fr); gap:0 6px; align-items:end }
.wk-bar{ display:block; height:100%; transform-origin:50% 100% }
.wk-held{ background:var(--corymb); opacity:.45 }
.wk-treated{ background:var(--glaucous); transform:scaleY(.15) }
.wk-bar:nth-child(1){ --d:0 } .wk-bar:nth-child(2){ --d:1 } .wk-bar:nth-child(3){ --d:2 } .wk-bar:nth-child(4){ --d:3 }
.wk-bar:nth-child(5){ --d:4 } .wk-bar:nth-child(6){ --d:5 } .wk-bar:nth-child(7){ --d:6 }
.motion .week.is-on .wk-held{ animation:wk-grow .5s var(--ease) both; animation-delay:calc(var(--d) * 1.1s + .3s) }
.motion .week.is-on .wk-treated{ animation:wk-treat 1.7s var(--ease) both; animation-delay:calc(var(--d) * 1.1s + .3s) }
@keyframes wk-grow{ from{ transform:scaleY(0) } to{ transform:scaleY(1) } }
@keyframes wk-treat{
  0%     { transform:scaleY(0);   background-color:var(--corymb);   opacity:.45 }
  28%,52%{ transform:scaleY(1);   background-color:var(--corymb);   opacity:.45 }
  100%   { transform:scaleY(.15); background-color:var(--glaucous); opacity:1 }
}
@media (max-width:760px){
  .week-row{ grid-template-columns:minmax(0,1fr); align-items:start }
  .week-row + .week-row .week-days{ display:grid }
  .week-bars{ height:48px }
}


/* ============================================================================
   4 · THE FIRST NINETY DAYS (home, what to expect)
   The stage grammar with time as the axis. Position on the rail is a batch's
   age; the box is at 90 days. Each week's dry output enters at the left as a
   glaucous slab and travels; at 90 days it passes behind the box and comes
   out ruled in cream, usable, and leaves. The rail fills for 27 s of every
   42 s before anything crosses. At rest: thirteen batches at weekly spacing
   from the rail's left edge, on the same x as the week and month marks, up to
   the line and none past it, which is month two, frozen. The keyframes
   are per batch and were generated; positions are calc() against the rail,
   so they hold at every width.
   ========================================================================= */
/* On cream a resting batch is green at .6: 3.1 : 1 against the rail. */
.cure{ --gate-w:184px; --out-w:150px; --lw:42px; --stub:rgba(32,64,47,.6); --done:var(--green); margin-top:clamp(36px,4vw,56px) }
.on-green .cure{ --stub:var(--glaucous); --done:var(--corymb) }
.cure-stage{ position:relative; display:flex; align-items:center; min-width:0 }
.cure-gate{
  position:relative; z-index:1; flex:none;
  width:var(--gate-w); margin-left:auto; margin-right:var(--out-w);
  padding:14px 18px; border:1px solid var(--ctl); background:var(--ground);
}
.cure-gate b, .cure-marks b{ display:block; font:600 var(--t-data)/1.3 var(--sans) }
.cure-gate span{ display:block; margin-top:4px; font:400 var(--t-meta)/1.45 var(--sans); color:var(--muted) }
.cure-stage .track{ position:absolute; left:0; right:0; top:50%; height:14px; margin-top:-7px; overflow:hidden; background:var(--line-soft) }
.cure .cload{ position:absolute; inset:0; color:transparent; transform-origin:50% 100% }
.cure .cload::before{
  content:""; position:absolute; left:0; top:0; box-sizing:border-box;
  width:var(--lw); height:14px; background:var(--stub); border:7px solid currentColor; border-width:7px 0;
}
.motion .cure.is-on .cload{ animation-duration:42s; animation-delay:-22s; animation-timing-function:linear; animation-iteration-count:infinite; will-change:transform }
.cure .cload:nth-child(1){ transform:translateX(calc(0px)) }
.cure .cload:nth-child(2){ transform:translateX(calc((100% - var(--gate-w) - var(--out-w)) * 0.0778)) }
.cure .cload:nth-child(3){ transform:translateX(calc((100% - var(--gate-w) - var(--out-w)) * 0.1556)) }
.cure .cload:nth-child(4){ transform:translateX(calc((100% - var(--gate-w) - var(--out-w)) * 0.2333)) }
.cure .cload:nth-child(5){ transform:translateX(calc((100% - var(--gate-w) - var(--out-w)) * 0.3111)) }
.cure .cload:nth-child(6){ transform:translateX(calc((100% - var(--gate-w) - var(--out-w)) * 0.3889)) }
.cure .cload:nth-child(7){ transform:translateX(calc((100% - var(--gate-w) - var(--out-w)) * 0.4667)) }
.cure .cload:nth-child(8){ transform:translateX(calc((100% - var(--gate-w) - var(--out-w)) * 0.5444)) }
.cure .cload:nth-child(9){ transform:translateX(calc((100% - var(--gate-w) - var(--out-w)) * 0.6222)) }
.cure .cload:nth-child(10){ transform:translateX(calc((100% - var(--gate-w) - var(--out-w)) * 0.7000)) }
.cure .cload:nth-child(11){ transform:translateX(calc((100% - var(--gate-w) - var(--out-w)) * 0.7778)) }
.cure .cload:nth-child(12){ transform:translateX(calc((100% - var(--gate-w) - var(--out-w)) * 0.8556)) }
.cure .cload:nth-child(13){ transform:translateX(calc((100% - var(--gate-w) - var(--out-w)) * 0.9333)) }
.cure .cload:nth-child(n+14){ transform:translateX(calc(-1 * var(--lw) - 2px)) }
.motion .cure.is-on .cload:nth-child(1){ animation-name:cure-1 }
.motion .cure.is-on .cload:nth-child(2){ animation-name:cure-2 }
.motion .cure.is-on .cload:nth-child(3){ animation-name:cure-3 }
.motion .cure.is-on .cload:nth-child(4){ animation-name:cure-4 }
.motion .cure.is-on .cload:nth-child(5){ animation-name:cure-5 }
.motion .cure.is-on .cload:nth-child(6){ animation-name:cure-6 }
.motion .cure.is-on .cload:nth-child(7){ animation-name:cure-7 }
.motion .cure.is-on .cload:nth-child(8){ animation-name:cure-8 }
.motion .cure.is-on .cload:nth-child(9){ animation-name:cure-9 }
.motion .cure.is-on .cload:nth-child(10){ animation-name:cure-10 }
.motion .cure.is-on .cload:nth-child(11){ animation-name:cure-11 }
.motion .cure.is-on .cload:nth-child(12){ animation-name:cure-12 }
.motion .cure.is-on .cload:nth-child(13){ animation-name:cure-13 }
.motion .cure.is-on .cload:nth-child(14){ animation-name:cure-14 }
.motion .cure.is-on .cload:nth-child(15){ animation-name:cure-15 }
.motion .cure.is-on .cload:nth-child(16){ animation-name:cure-16 }
.motion .cure.is-on .cload:nth-child(17){ animation-name:cure-17 }
.motion .cure.is-on .cload:nth-child(18){ animation-name:cure-18 }
.motion .cure.is-on .cload:nth-child(19){ animation-name:cure-19 }
.motion .cure.is-on .cload:nth-child(20){ animation-name:cure-20 }
@keyframes cure-1{ 0%,0.00%{ transform:translateX(calc(-1 * var(--lw) - 2px)) scaleY(1); color:transparent } 64.29%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 1.0000)) scaleY(1); color:transparent } 67.14%{ transform:translateX(calc((100% - var(--gate-w) - var(--out-w)) + (100% - var(--out-w) - var(--lw) - ((100% - var(--gate-w) - var(--out-w)))) * 1.0000)) scaleY(1); color:var(--done) } 82.62%{ transform:translateX(calc(100% - var(--out-w) - var(--lw) + (100% + var(--lw) + 2px - (100% - var(--out-w) - var(--lw))) * 1.0000)) scaleY(1); color:var(--done) } 98.57%{ transform:translateX(calc(100% + var(--lw) + 2px)) scaleY(1); color:var(--done) } 99.52%,100%{ transform:translateX(calc(100% + var(--lw) + 2px)) scaleY(0); color:var(--done) } }
@keyframes cure-2{ 0%,5.00%{ transform:translateX(calc(-1 * var(--lw) - 2px)) scaleY(1); color:transparent } 69.29%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 1.0000)) scaleY(1); color:transparent } 72.14%{ transform:translateX(calc((100% - var(--gate-w) - var(--out-w)) + (100% - var(--out-w) - var(--lw) - ((100% - var(--gate-w) - var(--out-w)))) * 1.0000)) scaleY(1); color:var(--done) } 87.62%{ transform:translateX(calc(100% - var(--out-w) - var(--lw) + (100% + var(--lw) + 2px - (100% - var(--out-w) - var(--lw))) * 1.0000)) scaleY(1); color:var(--done) } 98.57%{ transform:translateX(calc(100% + var(--lw) + 2px)) scaleY(1); color:var(--done) } 99.52%,100%{ transform:translateX(calc(100% + var(--lw) + 2px)) scaleY(0); color:var(--done) } }
@keyframes cure-3{ 0%,10.00%{ transform:translateX(calc(-1 * var(--lw) - 2px)) scaleY(1); color:transparent } 74.29%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 1.0000)) scaleY(1); color:transparent } 77.14%{ transform:translateX(calc((100% - var(--gate-w) - var(--out-w)) + (100% - var(--out-w) - var(--lw) - ((100% - var(--gate-w) - var(--out-w)))) * 1.0000)) scaleY(1); color:var(--done) } 92.62%{ transform:translateX(calc(100% - var(--out-w) - var(--lw) + (100% + var(--lw) + 2px - (100% - var(--out-w) - var(--lw))) * 1.0000)) scaleY(1); color:var(--done) } 98.57%{ transform:translateX(calc(100% + var(--lw) + 2px)) scaleY(1); color:var(--done) } 99.52%,100%{ transform:translateX(calc(100% + var(--lw) + 2px)) scaleY(0); color:var(--done) } }
@keyframes cure-4{ 0%,15.00%{ transform:translateX(calc(-1 * var(--lw) - 2px)) scaleY(1); color:transparent } 79.29%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 1.0000)) scaleY(1); color:transparent } 82.14%{ transform:translateX(calc((100% - var(--gate-w) - var(--out-w)) + (100% - var(--out-w) - var(--lw) - ((100% - var(--gate-w) - var(--out-w)))) * 1.0000)) scaleY(1); color:var(--done) } 97.62%{ transform:translateX(calc(100% - var(--out-w) - var(--lw) + (100% + var(--lw) + 2px - (100% - var(--out-w) - var(--lw))) * 1.0000)) scaleY(1); color:var(--done) } 98.57%{ transform:translateX(calc(100% + var(--lw) + 2px)) scaleY(1); color:var(--done) } 99.52%,100%{ transform:translateX(calc(100% + var(--lw) + 2px)) scaleY(0); color:var(--done) } }
@keyframes cure-5{ 0%,20.00%{ transform:translateX(calc(-1 * var(--lw) - 2px)) scaleY(1); color:transparent } 84.29%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 1.0000)) scaleY(1); color:transparent } 87.14%{ transform:translateX(calc((100% - var(--gate-w) - var(--out-w)) + (100% - var(--out-w) - var(--lw) - ((100% - var(--gate-w) - var(--out-w)))) * 1.0000)) scaleY(1); color:var(--done) } 98.57%{ transform:translateX(calc(100% - var(--out-w) - var(--lw) + (100% + var(--lw) + 2px - (100% - var(--out-w) - var(--lw))) * 0.7385)) scaleY(1); color:var(--done) } 99.52%,100%{ transform:translateX(calc(100% - var(--out-w) - var(--lw) + (100% + var(--lw) + 2px - (100% - var(--out-w) - var(--lw))) * 0.7385)) scaleY(0); color:var(--done) } }
@keyframes cure-6{ 0%,25.00%{ transform:translateX(calc(-1 * var(--lw) - 2px)) scaleY(1); color:transparent } 89.29%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 1.0000)) scaleY(1); color:transparent } 92.14%{ transform:translateX(calc((100% - var(--gate-w) - var(--out-w)) + (100% - var(--out-w) - var(--lw) - ((100% - var(--gate-w) - var(--out-w)))) * 1.0000)) scaleY(1); color:var(--done) } 98.57%{ transform:translateX(calc(100% - var(--out-w) - var(--lw) + (100% + var(--lw) + 2px - (100% - var(--out-w) - var(--lw))) * 0.4154)) scaleY(1); color:var(--done) } 99.52%,100%{ transform:translateX(calc(100% - var(--out-w) - var(--lw) + (100% + var(--lw) + 2px - (100% - var(--out-w) - var(--lw))) * 0.4154)) scaleY(0); color:var(--done) } }
@keyframes cure-7{ 0%,30.00%{ transform:translateX(calc(-1 * var(--lw) - 2px)) scaleY(1); color:transparent } 94.29%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 1.0000)) scaleY(1); color:transparent } 97.14%{ transform:translateX(calc((100% - var(--gate-w) - var(--out-w)) + (100% - var(--out-w) - var(--lw) - ((100% - var(--gate-w) - var(--out-w)))) * 1.0000)) scaleY(1); color:var(--done) } 98.57%{ transform:translateX(calc(100% - var(--out-w) - var(--lw) + (100% + var(--lw) + 2px - (100% - var(--out-w) - var(--lw))) * 0.0923)) scaleY(1); color:var(--done) } 99.52%,100%{ transform:translateX(calc(100% - var(--out-w) - var(--lw) + (100% + var(--lw) + 2px - (100% - var(--out-w) - var(--lw))) * 0.0923)) scaleY(0); color:var(--done) } }
@keyframes cure-8{ 0%,35.00%{ transform:translateX(calc(-1 * var(--lw) - 2px)) scaleY(1); color:transparent } 98.57%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.9889)) scaleY(1); color:transparent } 99.52%,100%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.9889)) scaleY(0); color:transparent } }
@keyframes cure-9{ 0%,40.00%{ transform:translateX(calc(-1 * var(--lw) - 2px)) scaleY(1); color:transparent } 98.57%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.9111)) scaleY(1); color:transparent } 99.52%,100%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.9111)) scaleY(0); color:transparent } }
@keyframes cure-10{ 0%,45.00%{ transform:translateX(calc(-1 * var(--lw) - 2px)) scaleY(1); color:transparent } 98.57%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.8333)) scaleY(1); color:transparent } 99.52%,100%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.8333)) scaleY(0); color:transparent } }
@keyframes cure-11{ 0%,50.00%{ transform:translateX(calc(-1 * var(--lw) - 2px)) scaleY(1); color:transparent } 98.57%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.7556)) scaleY(1); color:transparent } 99.52%,100%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.7556)) scaleY(0); color:transparent } }
@keyframes cure-12{ 0%,55.00%{ transform:translateX(calc(-1 * var(--lw) - 2px)) scaleY(1); color:transparent } 98.57%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.6778)) scaleY(1); color:transparent } 99.52%,100%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.6778)) scaleY(0); color:transparent } }
@keyframes cure-13{ 0%,60.00%{ transform:translateX(calc(-1 * var(--lw) - 2px)) scaleY(1); color:transparent } 98.57%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.6000)) scaleY(1); color:transparent } 99.52%,100%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.6000)) scaleY(0); color:transparent } }
@keyframes cure-14{ 0%,65.00%{ transform:translateX(calc(-1 * var(--lw) - 2px)) scaleY(1); color:transparent } 98.57%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.5222)) scaleY(1); color:transparent } 99.52%,100%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.5222)) scaleY(0); color:transparent } }
@keyframes cure-15{ 0%,70.00%{ transform:translateX(calc(-1 * var(--lw) - 2px)) scaleY(1); color:transparent } 98.57%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.4444)) scaleY(1); color:transparent } 99.52%,100%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.4444)) scaleY(0); color:transparent } }
@keyframes cure-16{ 0%,75.00%{ transform:translateX(calc(-1 * var(--lw) - 2px)) scaleY(1); color:transparent } 98.57%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.3667)) scaleY(1); color:transparent } 99.52%,100%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.3667)) scaleY(0); color:transparent } }
@keyframes cure-17{ 0%,80.00%{ transform:translateX(calc(-1 * var(--lw) - 2px)) scaleY(1); color:transparent } 98.57%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.2889)) scaleY(1); color:transparent } 99.52%,100%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.2889)) scaleY(0); color:transparent } }
@keyframes cure-18{ 0%,85.00%{ transform:translateX(calc(-1 * var(--lw) - 2px)) scaleY(1); color:transparent } 98.57%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.2111)) scaleY(1); color:transparent } 99.52%,100%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.2111)) scaleY(0); color:transparent } }
@keyframes cure-19{ 0%,90.00%{ transform:translateX(calc(-1 * var(--lw) - 2px)) scaleY(1); color:transparent } 98.57%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.1333)) scaleY(1); color:transparent } 99.52%,100%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.1333)) scaleY(0); color:transparent } }
@keyframes cure-20{ 0%,95.00%{ transform:translateX(calc(-1 * var(--lw) - 2px)) scaleY(1); color:transparent } 98.57%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.0556)) scaleY(1); color:transparent } 99.52%,100%{ transform:translateX(calc(-1 * var(--lw) - 2px + ((100% - var(--gate-w) - var(--out-w)) - (-1 * var(--lw) - 2px)) * 0.0556)) scaleY(0); color:transparent } }
.cure-marks{ position:relative; height:56px; margin-top:var(--s2) }
.cure-marks .cm{ position:absolute; top:0; white-space:nowrap; font:400 var(--t-meta)/1 var(--sans); color:var(--muted) }
.cure-marks .cm i{ display:block; width:1px; height:8px; margin:0 0 6px; background:var(--line) }
.cure-marks .cm-w1{ left:calc((100% - var(--gate-w) - var(--out-w)) * 7 / 90) }
.cure-marks .cm-m1{ left:calc((100% - var(--gate-w) - var(--out-w)) * 30 / 90) }
.cure-marks .cm-m3{ left:calc(100% - var(--gate-w) - var(--out-w)) }
.cure-marks .cm-out{ left:calc(100% - var(--out-w) + 10px); line-height:1.45 }
.cure-marks .cm-out b{ margin-bottom:3px }
@media (max-width:560px){
  /* 11 px leaves a visible gap between weekly batches down to 360 px. */
  .cure{ --gate-w:92px; --out-w:60px; --lw:11px }
  .cure-gate{ padding:10px 12px }
  .cure-marks{ height:84px }
  .cure-marks .cm-w1{ display:none }
  .cure-marks .cm-out{ left:auto; right:0; top:38px; text-align:right }
}


/* --- print: every figure prints its resting frame in greys ---------------- */
@media print{
  .flow .load, .hload:nth-child(n+4){ display:none !important }
  .hload::before{ background:#999 !important; opacity:1 !important }
  .bband-wide{ background:#999 !important; opacity:1 !important }
  .bband-thin{ background:#000 !important; opacity:1 !important }
  .bsite, .held-gate, .cure-gate{ border-color:#999 !important }
  .hslab{ background:#999 !important; opacity:1 !important }
  .hslab-over{ background:#444 !important }
  .wk-bar, .cure .cload::before{ background:#999 !important; opacity:1 !important }
}
