
/* ===== printed and fabricated parts (deck.py) ========================= */
/* One column until there is a picture to put beside the words, so an
   empty frame never reserves half a band. .sis-art-on is only on the
   section when deck.SISTER_ART names a file. */
.sis .sis-grid{display:grid;grid-template-columns:minmax(0,1fr);}
/* MATT, 5 NOVEMBER: "they are a bit big too tight to the content too".
   The art column was 46% with a 48px gutter, so the pictures were
   nearly half the band and the bottom left float hung back across the
   gutter into the last line of the paragraph. 38% and 96px: the art
   is a column beside the writing rather than a second half of it, and
   the float's overhang now lands in gutter instead of in text. */
.sis.sis-art-on .sis-grid{grid-template-columns:minmax(0,1fr) minmax(0,38%);
  gap:96px;align-items:center;}
/* THE FRAMES AND THE DRIFT ARE WORDSART'S, the geometry is this
   block's. Same 20px and 16px radii, same frame ground, same shadow
   values, same --p the script up the page already sets: the selector
   in wordsart's own listener now takes .sis .wa-art too, so there is
   one parallax engine on the page rather than two. */
/* THE BLOCK BRINGS ITS OWN TYPE. It used to inherit it from the
   .sh2-sheet wrapper the service pages put it inside, and on
   services.html, about and capabilities it lands OUTSIDE that
   wrapper, where the heading lost its 48px, the lede dropped from
   19px to the body's 16 with no leading set, and the link to Design
   to Print came out white and unmarked. Measured on box build, where
   it was already right, and written here so the component carries it
   on any page it is placed. Same values, so nothing moves where it
   already looked correct. */
.sis .sec-head{margin-bottom:48px;}
.sis .lede{font-size:19px;line-height:1.65;margin-bottom:16px;
  color:rgba(255,255,255,.74);}
.sis .lede a{color:#00eecc;text-decoration:underline;
  text-underline-offset:.18em;}
.sis .sis-art{position:relative;min-width:0;aspect-ratio:1.04;}
.sis .wa-art figure{margin:0;}
.sis .wa-art img{display:block;width:100%;height:100%;object-fit:cover;
  border-radius:20px;background:#0b0f2e;}
/* THE RADIUS GOES ON THE FIGURE AS WELL AS THE PICTURE. Matt, 5
   November: "is there a radius missing bottom left of the top right
   image?" There is, and it is the shadow rather than the picture. The
   image was rounded and the figure under it was not, so the shadow was
   drawn as a SHARP cornered rectangle behind a rounded picture. On
   three sides it falls on navy ground and nobody can see it; on the
   one corner that overlaps the main frame it reads as a square notch
   out of the rounded corner. Rounding the box the shadow is cast from
   fixes all four at once. */
.sis .wa-main{position:absolute;left:0;top:5%;width:100%;height:72%;
  border-radius:20px;box-shadow:0 38px 70px rgba(0,0,0,.46);
  will-change:transform;}
.sis .wa-s1{position:absolute;left:-13%;bottom:0;width:48%;height:31%;
  border-radius:16px;box-shadow:0 26px 48px rgba(0,0,0,.5);
  will-change:transform;}
.sis .wa-s2{position:absolute;right:-9%;top:0;width:42%;height:27%;
  border-radius:16px;box-shadow:0 26px 48px rgba(0,0,0,.5);
  will-change:transform;}
.sis .wa-s1 img,
.sis .wa-s2 img{border-radius:16px;}
/* THE TRAVEL, AT THIS BLOCK'S SCALE. wordsart draws -56, 95 and -138
   for a 1124px art box; this one is around 430, so all three are
   multiplied by the same 0.6 and rounded. The RATIOS are untouched,
   because the ratios are what make three pictures read as one group
   moving rather than as three pictures moving. */
.sis .wa-main{transform:translate3d(0,calc(var(--p,0) * -34px),0);}
.sis .wa-s1  {transform:translate3d(0,calc(var(--p,0) *  57px),0);}
.sis .wa-s2  {transform:translate3d(0,calc(var(--p,0) * -83px),0);}
@media (max-width:900px){
  .sis.sis-art-on .sis-grid{grid-template-columns:minmax(0,1fr);gap:28px;}
  /* three overlapping pictures in a phone's width is a pile rather
     than a composition, which is the call wordsart already made. */
  .sis .sis-art{aspect-ratio:auto;}
  .sis .wa-main{position:static;width:100%;height:auto;}
  .sis .wa-main img{height:auto;aspect-ratio:4/3;}
  .sis .wa-s1,
  .sis .wa-s2{display:none;}
}
@media (prefers-reduced-motion:reduce){
  .sis .wa-main,
  .sis .wa-s1,
  .sis .wa-s2{transform:none !important;}
}
