
/* ===== the rows hinge down (rowfold.py) ===== */
/* the fold needs depth or it reads as a squash */
html body .specwrap .spec{perspective:1100px;perspective-origin:50% 0;}

/* THE HINGE IS THE ROW'S OWN TOP EDGE. transform-origin at 50% 0 is
   what makes this a concertina rather than a flip about the middle. */
html body .specwrap.rv .spec tr{transform-origin:50% 0;
  transform:rotateX(-82deg);opacity:0;}
html body .specwrap.rv.on .spec tr{transform:none;opacity:1;
  transition:transform .86s cubic-bezier(.22,1,.36,1),
             opacity .46s ease;}
html body .specwrap.on .spec tr:nth-child(1){transition-delay:320ms;}
html body .specwrap.on .spec tr:nth-child(2){transition-delay:410ms;}
html body .specwrap.on .spec tr:nth-child(3){transition-delay:500ms;}
html body .specwrap.on .spec tr:nth-child(4){transition-delay:590ms;}
html body .specwrap.on .spec tr:nth-child(5){transition-delay:680ms;}
html body .specwrap.on .spec tr:nth-child(6){transition-delay:770ms;}
html body .specwrap.on .spec tr:nth-child(7){transition-delay:860ms;}
html body .specwrap.on .spec tr:nth-child(8){transition-delay:950ms;}
html body .specwrap.on .spec tr:nth-child(9){transition-delay:1040ms;}
html body .specwrap.on .spec tr:nth-child(10){transition-delay:1130ms;}
html body .specwrap.on .spec tr:nth-child(11){transition-delay:1220ms;}
html body .specwrap.on .spec tr:nth-child(12){transition-delay:1310ms;}

/* AND A READER WHO ASKED FOR NO MOTION GETS THE TABLE. Not the folded
   state with the transition removed, which would leave the rows shut
   for good: the finished state, immediately. */
@media (prefers-reduced-motion:reduce){
  html body .specwrap.rv .spec tr,
  html body .specwrap.rv.on .spec tr{transform:none;opacity:1;
    transition:none;transition-delay:0ms;}
}
