/* The cover, bound pages and back board occupy the native handbook footprint. */
.handbook-pod .manual-volume[data-studio-book] {
  --cover-radius: 6.5% 8% 8% 5% / 4% 5% 5% 4%;
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 0;
  border-radius: var(--cover-radius);
  background: linear-gradient(143deg, #252b31 15%, #40484d 75%, #14181c);
  box-shadow: 1px 1px .45px #aeb7bb70, 1px 2px 1px #090c0ede, 2px 5px 7px -3px #030507b8;
  backdrop-filter: none;
  transform: perspective(420px) rotateY(-10deg) rotateZ(-3deg);
  transition: none;
}
.handbook-pod .manual-volume[data-studio-book]::before {
  /* Bound sheets are exposed along the two cut edges. */
  content: "";
  position: absolute;
  inset: 3% 1.5% 1.8% 4.2%;
  width: auto;
  border-radius: 3% 7% 6% 4% / 3% 5% 5% 4%;
  background:
    repeating-linear-gradient(to bottom, #c4c3b6a6 0 .55px, #5c615d99 .7px 1.4px, #8a8e87 1.6px 2.1px)
      bottom / 100% 10% no-repeat,
    repeating-linear-gradient(to right, #aaaa9c 0 .5px, #797d75 .7px 1.5px, #bbbcae 1.6px 2.25px)
      right / 10% 100% no-repeat, #858b84;
  box-shadow: inset 0 -.6px #dfe1d76b, inset -.7px .2px #323b36;
}
.handbook-pod .manual-volume[data-studio-book]::after { content: none; }
.handbook-pod .manual-key:has(.manual-volume[data-studio-book]):active { translate: none; }
.studio-handbook-cover {
  position: absolute;
  isolation: isolate;
  z-index: 1;
  inset: 0 4.7% 5% 0;
  border-radius: var(--cover-radius);
  /* Fine cloth and quiet reflected silver leave the engraving legible. */
  background:
    linear-gradient(138deg, #edf4f612, transparent 43%, #0a101421 76%, #d4e1eb0b),
    repeating-linear-gradient(104deg, #dde3e604 0 .6px, #1c212506 .7px 1.7px),
    linear-gradient(122deg, #454e55, #363d43 48%, #30363b 76%, #424a50);
  box-shadow:
    inset 0 0 0 .65px #c0c9ce93, inset 0 .98px .4px #e4e8e599,
    inset 0 -1px .85px #14191dd6, 1.1px 1.45px 1.05px #0a0c0e9c;
  transform-origin: 23% 64%;
  transform: translate(-.25px, -.45px);
  transition: transform 145ms cubic-bezier(.18,.62,.36,1), box-shadow 135ms ease-out;
}
.studio-handbook-cover::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 16.2%;
  border-radius: 43% 0 0 28% / 4% 0 0 4%;
  /* A rounded spine rolls into the dark hinge, then the tooled shoulder. */
  background: linear-gradient(90deg,
    #131b21 0%, #47545d 10%, #737e83 23%, #626e75 36%, #404a53 51%,
    #303a42 65%, #171e23 77%, #272d31 83%, #7e898d 90%, #40484d 97%, transparent);
  box-shadow: inset 0 .85px #dce7eaa6, inset 0 -.85px #111518a6;
}
.studio-handbook-cover::after {
  content: "";
  position: absolute;
  inset: 4% auto 4% 16.8%;
  width: .65px;
  background: linear-gradient(180deg, transparent, #c7c9bc52 10%, #8c959441 78%, transparent);
  pointer-events: none;
}
.studio-handbook-cover > .manual-etching { inset: 7% 4.5% 8% 18%; }
.handbook-pod .manual-key:is(:focus-visible,:hover) .manual-volume[data-studio-book] {
  transform: perspective(420px) rotateY(-10deg) rotateZ(-3deg);
}
.handbook-pod .manual-key[data-book-pressed] .studio-handbook-cover {
  transform: translate(1.15%, 2.8%) scale(.981);
  box-shadow:
    inset 0 0 0 .65px #a0a8ad9c, inset .8px 1.45px 2px #0a0d10a8,
    inset -.5px -.3px .5px #c9d2d64d, .35px .3px .3px #080a0c86;
  transition-duration: 62ms;
}
@media (prefers-reduced-motion: reduce) {
  .handbook-pod .studio-handbook-cover { transition: none; }
}
