/* Apps page design: the same painted evening wall as the entrance, with the apps hung on it as small paintings. */
body.apps { background: transparent; height: auto; min-height: 100%; overflow-x: hidden; }
.apps #paint { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; }
.apps .wordmark { color: inherit; text-decoration: none; }
.apps main { max-width: 56rem; margin: 0 auto; padding: 8rem 1.25rem 5rem; }
.apps h1 { font-weight: 650; letter-spacing: -.04em; font-size: clamp(2.4rem, 7vw, 4rem); margin: 0 0 3rem; text-shadow: 0 0 18px var(--night); }
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 3.5rem 2.5rem; list-style: none; margin: 0; padding: 0; }
.item { display: grid; gap: .9rem; color: inherit; text-decoration: none; perspective: 700px; }
.frame {
  aspect-ratio: 4 / 3; position: relative; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(145deg, #f3ead6, #d9c8a8);
  border: 9px solid #6b4a2a; border-image: linear-gradient(135deg, #a77b44, #5a3a1e 45%, #8a6232) 1;
  box-shadow: 0 30px 40px -16px #000c, 0 8px 14px -6px #000a;
  transform: rotateX(0) rotateY(0); transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2, .8, .2, 1), box-shadow .8s;
}
.frame::before { content: ""; position: absolute; inset: 7%; box-shadow: inset 0 2px 6px #3b2a1a60; }
.frame::after { /* light from above, falling off down the canvas */ content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(#fff2d040, transparent 40%, #10121a40); }
.frame svg { width: 70%; height: 70%; }
.item:hover .frame, .item:focus-visible .frame { box-shadow: 0 0 40px -6px #e8bd7260, 0 40px 50px -16px #000d, 0 10px 16px -6px #000b; }
.item:focus-visible { outline: none; } .item:focus-visible .frame { outline: 1.5px dashed var(--ink); outline-offset: 10px; }
.shape { transition: transform .9s cubic-bezier(.3, 1.4, .5, 1); transform-box: fill-box; transform-origin: center; }
.item:hover .s1, .item:focus-visible .s1 { transform: translate(-6px, 4px) rotate(-8deg); }
.item:hover .s2, .item:focus-visible .s2 { transform: translate(8px, -5px) rotate(12deg); }
.item:hover .s3, .item:focus-visible .s3 { transform: translate(3px, 6px) scale(1.15); }
.name { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; text-shadow: 0 0 10px var(--night); }
.desc { color: #cfc9bc; font-size: .95rem; margin-top: -.5rem; text-shadow: 0 0 10px var(--night); }
.soon { opacity: .55; }
@media (prefers-reduced-motion: reduce) { .frame { transition: none; } }
