#opening { display:none; }
html[data-opening] { overflow:hidden; }
[data-opening] #opening {
  position:fixed;
  inset:0;
  z-index:40;
  display:grid;
  place-items:center;
  overflow:hidden;
  touch-action:manipulation;
}
[data-opening] :is(.mobile-head, .identity, .corners),
[data-opening="title"] #deck { visibility:hidden; }
[data-opening] .print { transform-origin:top left; }
[data-opening] #deck { isolation:isolate; }
[data-opening] .opening-extra { z-index:-1; }

/* The title and controls travel through a short reveal while the deck settles. */
[data-opening="posters"] .identity { animation:opening-caption 850ms 4250ms var(--ease) both; }
[data-opening="posters"] .mobile-head { --opening-y:-100%; }
[data-opening="posters"] .corners { --opening-y:100%; }
[data-opening="posters"] :is(.mobile-head, .corners) {
  animation:opening-edge 800ms 4300ms var(--ease) both;
}
@keyframes opening-caption {
  from { visibility:visible; transform:translateY(26px); clip-path:inset(0 -16px 100%); }
  to { visibility:visible; transform:none; clip-path:inset(0 -16px 0); }
}
@keyframes opening-edge {
  from { visibility:visible; transform:translateY(var(--opening-y)); }
  to { visibility:visible; transform:none; }
}
