
.b-stack { position: relative; isolation: isolate; }
.b-stack::before { content: ""; position: absolute; inset: 8% 10% 0; z-index: -1; background: radial-gradient(50% 50% at 40% 70%, rgba(var(--deep-rgb), .22), transparent 70%); filter: blur(8px); }
.b-stack .stack { display: block; width: 100%; height: auto; overflow: visible; max-height: 560px; }
.b-stack .face { fill: url(#modTop); stroke: rgba(var(--deep-rgb), .55); stroke-width: 1.5; }
.b-stack .sd-l { fill: #131210; stroke: rgba(var(--ink-rgb), .08); }
.b-stack .sd-r { fill: #0a0908; stroke: rgba(var(--ink-rgb), .08); }
.b-stack .face.gc { fill: url(#gcTop); stroke: var(--deep); stroke-width: 2; }
.b-stack .sd-l.gc { fill: #2a2210; }
.b-stack .sd-r.gc { fill: #17130a; }
.b-stack .edge { stroke: rgba(var(--deep-rgb), .6); stroke-width: 1.5; }
.b-stack .face-frame { fill: none; stroke: rgba(var(--deep-rgb), .25); stroke-width: 1; }
.b-stack .face-ico { fill: none; stroke: var(--acc); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.b-stack .ghost { fill: none; stroke: rgba(var(--deep-rgb), .6); stroke-width: 1.5; stroke-dasharray: 6 6; opacity: 0; transition: opacity .3s; }
.b-stack .pins path { stroke: var(--deep); stroke-width: 2; stroke-dasharray: 4 6; filter: drop-shadow(0 0 4px rgba(var(--deep-rgb), .9)); }
.b-stack .pins circle { fill: var(--deep); filter: drop-shadow(0 0 6px rgba(var(--deep-rgb), 1)); }
.b-stack .pins { opacity: 0; transition: opacity .3s; }
.b-stack.go .pins { opacity: 1; transition: opacity .5s ease 1.3s; }
.b-stack.go .pins path { animation: agc-flow 1.2s linear infinite; }
@keyframes agc-flow { to { stroke-dashoffset: 20; } }
.b-stack .lbl path { stroke: rgba(var(--ink-rgb), .3); stroke-width: 1; }
.b-stack .lbl text { font: 700 24px var(--display); fill: var(--ink); }
.b-stack .lbl text.sub { font: 600 12px var(--ui); letter-spacing: .12em; fill: var(--acc); }

.b-stack .slab { opacity: 0; transform: translateY(-64px); transition: transform .8s cubic-bezier(.16, 1, .3, 1), opacity .5s ease; }
.b-stack.go .slab { opacity: 1; transform: none; }
.b-stack .lbl { opacity: 0; clip-path: inset(-30% 100% -30% 0); transition: clip-path .5s cubic-bezier(.16, 1, .3, 1), opacity .2s ease; }
.b-stack.go .lbl { opacity: 1; clip-path: inset(-30% -10% -30% 0); }
.b-stack.go .slab-gc { transition-delay: .1s; }
.b-stack.go .lbl-gc { transition-delay: .5s; }
.b-stack.go .slab-books { transition-delay: .45s; }
.b-stack.go .lbl-books { transition-delay: .85s; }
.b-stack.go .slab-growth { transition-delay: .8s; }
.b-stack.go .lbl-growth { transition-delay: 1.2s; }

.off-books .b-stack.go .slab-books, .off-growth .b-stack.go .slab-growth { opacity: .08; transform: translateY(-40px); transition-delay: 0s; }
.off-books .b-stack.go .pins-books, .off-growth .b-stack.go .pins-growth,
.off-books .b-stack.go .lbl-books, .off-growth .b-stack.go .lbl-growth { opacity: .2; transition-delay: 0s; }
.off-books .b-stack .ghost-books, .off-growth .b-stack .ghost-growth { opacity: 1; }
@media (max-width: 760px) {
  .b-stack .lbl text { font-size: 36px; }
  .b-stack .lbl text.sub { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .b-stack .slab, .b-stack .lbl { transition: none; } .b-stack .lbl { clip-path: none; }
  .b-stack.go .pins path { animation: none; }
}
