#mix {
  --ground:#eddbbe;--print-ink:#2a2119;
  padding:0;background:var(--ground);color:var(--print-ink);container-type:inline-size;
}
.book-sticky {position:relative;background:var(--ground)}
.book-heading {
  position:absolute;z-index:3;inset:2.7cqw 5.5% auto;display:flex;align-items:center;
  justify-content:space-between;gap:8px;pointer-events:none;
}
.book-heading p,.book-composition p {
  font:700 clamp(10px,2.65cqw,13px)/1.2 'Roboto Condensed',sans-serif;
  text-transform:uppercase;letter-spacing:.12em;
}
.book-controls {display:flex;gap:1px;pointer-events:auto}
.book-controls button {
  display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;
  background:transparent;color:var(--print-ink);font:24px/1 Arial;cursor:pointer;
}
.book-controls button:hover {color:#6a3924}
.paper-stage {
  position:relative;isolation:isolate;width:100%;height:auto;aspect-ratio:1028/1166;
  overflow:hidden;overflow:clip;touch-action:pan-y pinch-zoom;user-select:none;cursor:grab;
}
.paper-stage:active {cursor:grabbing}
.paper-stage:focus-visible,.book-controls button:focus-visible,.book-link:focus-visible {
  outline:2px solid #4c5c42;outline-offset:-3px;
}
/* One camera window for the full photograph, curling leaf and both water masks. */
.photo-frame {
  position:absolute;left:-10.992218%;top:-1.543739%;width:121.984436%;aspect-ratio:1;
  transform-origin:0 0;
  transform:translate(calc(-.074cqw * var(--shrine,1)),calc(-3.98cqw * var(--shrine,1)))
    scale(calc(1 + .05328 * var(--shrine,1)));
}
.book-photo,.turn-leaf {position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}
.paper-stage [hidden] {display:none}
.book-water {position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0;display:block}
.book-water.show-water {opacity:1}
.paper-stage::before {content:"";position:absolute;z-index:1;inset:0 0 auto;height:13%;
  background:linear-gradient(var(--evening),transparent);pointer-events:none}
#mix #book-title {
  position:absolute;z-index:1;inset:calc(44px + 2.4cqw) 4.7% auto auto;width:67%;margin:0;
  font:normal clamp(20px,7cqw,38px)/.99 var(--display);letter-spacing:-.055em;
  text-wrap:balance;pointer-events:none;text-align:right;
}
#mix [data-spread="putorana"] #book-title {left:5%;right:auto;text-align:left;width:62%;font-size:clamp(24px,8.25cqw,44px)}
#mix :is([data-spread="andes"],[data-spread="bazar"],[data-spread="andalusia"]) #book-title {
  left:5%;right:auto;text-align:left;width:79%;font-size:clamp(20px,6.6cqw,36px)
}
.book-colophon {--terra:#ac4c29;--petrol:#203937;background:#e8d4ac;isolation:isolate}
.book-composition {
  position:relative;isolation:isolate;overflow:hidden;padding:4.7cqw 5% 4.3cqw;
  color:var(--petrol);
  background-image:linear-gradient(to bottom,transparent 0%,#e8d4acaa 44%,#e8d4ac 100%),var(--ground-photo);
  background-size:100% 100%,100% auto;background-position:top;background-repeat:no-repeat;
}
.book-composition p {display:flex;align-items:center;gap:2cqw;margin:0 0 1.5cqw;color:#664e39}
.book-composition p::before {content:"";width:6cqw;height:2px;background:var(--terra)}
.book-composition ul {
  display:block;
  width:max-content;list-style:none;margin:0;padding:0;
  font:600 clamp(20px,6.3cqw,33px)/1.02 'Roboto Condensed',sans-serif;
  letter-spacing:-.025em;text-transform:uppercase;
}
.book-composition li {display:inline}
.book-composition li:nth-child(3)::before {content:"\A";white-space:pre}
.book-composition li:nth-child(odd)::after {content:"";display:inline-block;width:.16em;height:.16em;
  margin:0 .26em;vertical-align:.25em;background:var(--terra)}
.book-composition::after {
  content:"";position:absolute;z-index:-1;right:0;bottom:1.1cqw;width:30%;height:89%;
  background-image:var(--imprint,url(popup/macro/japan-imprint.webp));
  background-repeat:no-repeat;background-size:contain;background-position:right bottom;
}
.turn-leaf {z-index:2}
@media (prefers-reduced-motion:no-preference) {
  .book-water {transition:opacity .18s ease-out}
}
.book-link {display:flex;align-items:stretch;justify-content:space-between;background:#bfcaaf;
  color:var(--petrol);text-decoration:none;min-height:54px}
.book-link-text {align-self:center;padding:3.8cqw 0 3.8cqw 5%;
  font:normal clamp(14px,4.4cqw,24px)/1.1 var(--display);letter-spacing:-.055em}
.book-link-arrow {display:grid;place-items:center;width:18%;padding-left:2%;
  color:#eddfbe;background:var(--petrol);font:normal clamp(28px,8.4cqw,40px)/1 Arial,sans-serif;
  clip-path:polygon(14% 0,100% 0,100% 100%,0 100%,0 50%,14% 50%)}
.book-link:hover,.book-link:focus-visible {background:#b0bf9d}
.book-flight {position:absolute;left:19%;top:41%;width:5.8%;color:#574c3d;pointer-events:none;opacity:0}
.book-flight svg {display:block;width:100%;overflow:visible}
.with-flight .book-flight {opacity:.92;animation:glide 9s ease-in-out infinite}
.near-wing,.far-wing {transform-origin:31px 17px}
.with-flight .near-wing {animation:wing 1.7s ease-in-out infinite}
.with-flight .far-wing {animation:wing 1.7s .08s ease-in-out infinite}
@keyframes glide {
  0%,100% {transform:translate(0,0) scale(.78) rotate(-8deg)}
  26% {transform:translate(16cqw,-4cqw) scale(1) rotate(-7deg)}
  48% {transform:translate(23cqw,-4.6cqw) scaleX(-.66) rotate(4deg)}
  77% {transform:translate(4cqw,1cqw) scaleX(-.85) rotate(-2deg)}
}
@keyframes wing {0%,61%,100% {transform:scaleY(1)} 82% {transform:scaleY(-.42)}}
@media (prefers-reduced-motion:reduce) {.book-flight,.book-water {display:none}}
