/* Unfold (r2/op-unfold.js): a poster folded in eight opens in front of a coloured wall, then is lifted off the site */
[data-s3k="unfold"].s3-boot::after { background: #B3B8F6; }
.op-unfold { color: #1a1640; }
.uf-defs { position: absolute; left: 0; top: 0; }
.uf-table { position: absolute; inset: 0; background: radial-gradient(110% 85% at 42% 34%, #C9CDFB 0%, #B3B8F6 55%, #A6ACF2 100%); }
.uf-scene, .uf-lift { position: absolute; inset: 0; }
.uf-lift, .uf-cam, .uf-sheet, .uf-p { transform-style: preserve-3d; }
.uf-lift { transform-origin: 50% 0; }
.uf-cam { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.uf-sheet { position: relative; }
.uf-p { position: absolute; left: 0; top: 0; }
/* one printed panel: the art, the paper's tooth, the creases it keeps, the shade of its turn, the light that crosses it */
.uf-f { position: absolute; inset: -.3px; overflow: hidden; background: #FAF7EE; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.uf-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.uf-f > i { position: absolute; inset: 0; pointer-events: none; }
.uf-grain { opacity: .13; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35  0 0 0 0 .33  0 0 0 0 .4  0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }
.uf-shade { background: #140e36; opacity: 0; }
.uf-cast { opacity: 0; }
.uf-f > .uf-light { inset: 0 auto 0 0; width: 45%; opacity: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .42), rgba(255, 255, 255, 0)); }
.uf-v .uf-f > .uf-light { inset: 0 0 auto 0; width: auto; height: 45%; background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .42), rgba(255, 255, 255, 0)); }
/* the sheet's shadow on the wall behind it: one per stage of the unfolding, cross-faded */
.uf-gs { position: absolute; transform: translateZ(-4px); opacity: 0; box-shadow: 0 1.1vmin 2vmin rgba(22, 16, 70, .26), .8vmin 3.6vmin 7.6vmin rgba(22, 16, 70, .3); }
.uf-trail { position: absolute; left: -10%; width: 120%; height: 16vh; opacity: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(14, 10, 50, .4), rgba(14, 10, 50, 0)); }
.uf-edge { position: absolute; left: 0; top: 0; background: #E9E4D6; box-shadow: inset 0 0 0 .5px rgba(60, 50, 90, .35); }
