/* A small cabinet of interests. Drawn directly in SVG and CSS. */
.shelf-heading,.photo-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:32px}
.shelf-heading .slabel,.photo-heading .slabel{display:block;margin-bottom:12px}
.shelf-heading h2,.photo-heading h2{font-size:30px;font-weight:500;letter-spacing:-.035em;line-height:1.2;color:var(--text)}
.shelf-heading p,.photo-heading p{font-size:12px;color:var(--muted);margin-bottom:3px}
.bookcase{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line2);border-top:5px solid #424954;background:#12161c;padding:0 14px 14px;gap:0;position:relative;isolation:isolate;box-shadow:0 14px 36px #0002}
.bookcase:after{content:'';position:absolute;bottom:-12px;left:22px;right:22px;height:10px;border-left:9px solid #424954;border-right:9px solid #424954;pointer-events:none}
.shelf-nook{position:relative;min-width:0;height:218px;padding:0;border:0;border-bottom:8px solid #414954;border-right:1px solid #ffffff0b;background:none;cursor:pointer;text-align:left;color:var(--text);overflow:visible;font-family:inherit;transition:background .25s}
.shelf-nook:nth-child(3n){border-right:0}.shelf-nook:before{content:'';position:absolute;inset:0 0 0 0;box-shadow:inset 0 14px 24px #0004;pointer-events:none;z-index:-1}
.shelf-nook:hover,.shelf-nook:focus-visible,.shelf-nook[aria-expanded=true]{background:#a9c9f009}
.shelf-art{position:absolute;left:3%;bottom:31px;width:72%;height:150px;display:flex;align-items:end;transform-origin:50% 95%;transition:transform .45s cubic-bezier(.2,.7,.2,1);filter:drop-shadow(0 6px 5px #0003)}
.shelf-art svg{width:100%;height:100%;overflow:visible}
.shelf-nook:hover .shelf-art,.shelf-nook:focus-visible .shelf-art{transform:translateY(-5px) rotate(-2deg)}
.shelf-nook[aria-expanded=true] .shelf-art{transform:translateY(-9px)}
.shelf-books{position:absolute;bottom:31px;right:10%;height:119px;width:55px;display:flex;align-items:end;gap:3px;perspective:250px}
.spine{display:block;border:1px solid #b1bac32b;background:var(--object-tint);border-radius:2px 3px 0 0;box-shadow:inset 3px 0 #0003,inset -2px 0 #fff1;position:relative;transition:transform .35s}
.spine:before,.spine:after{content:'';position:absolute;left:3px;right:3px;top:9px;border-top:1px solid #dce7f14a}.spine:after{top:auto;bottom:9px}
.spine-a{width:27px;height:112px;writing-mode:vertical-rl;padding:17px 5px;color:#e5e8ec;font-size:9px;letter-spacing:.04em;font-family:var(--font-mono);white-space:nowrap}
.spine-b{width:12px;height:95px;background:#323c48}.spine-c{width:10px;height:83px;background:#a1a59a;transform:rotate(8deg);transform-origin:bottom}
.shelf-nook:hover .spine-a,.shelf-nook[aria-expanded=true] .spine-a{transform:translateY(-7px) rotate(-4deg)}
.nook-caption{position:absolute;left:16px;right:16px;bottom:8px;display:flex;gap:9px;align-items:center;font-size:11px;line-height:1;letter-spacing:.01em;color:#c0c7d0}
.nook-caption>span:first-child{font-family:var(--font-mono);font-size:9px;color:#718093}.nook-plus{margin-left:auto;color:#a9c9f0;font-size:16px;transition:transform .3s}.shelf-nook[aria-expanded=true] .nook-plus{transform:rotate(45deg)}
.shelf-disc{transform-origin:106px 64px}.fan-a{transform-origin:74px 43px}.fan-b{transform-origin:74px 78px}
.shelf-nook:hover .shelf-disc,.shelf-nook:focus-visible .shelf-disc{animation:shelf-spin 5s linear infinite}
.shelf-nook:hover .fan,.shelf-nook:focus-visible .fan{animation:shelf-spin 2s linear infinite}
.nook-cars:hover .shelf-art{transform:translateX(-10px)}
.nook-fitness:hover .shelf-bar{animation:shelf-lift 1.7s ease-in-out infinite;transform-origin:center}
.nook-martial:hover .shelf-figure{animation:shelf-bow 1.5s ease-in-out;transform-origin:80px 110px}
.nook-space:hover .shelf-ship{animation:shelf-drift 2.8s ease-in-out infinite}
.pencil-line{stroke-dasharray:200;stroke-dashoffset:0}.nook-sketching:hover .pencil-line{animation:shelf-draw 1.5s ease both}
@keyframes shelf-spin{to{transform:rotate(360deg)}}
@keyframes shelf-lift{50%{transform:translateY(-10px)}}
@keyframes shelf-bow{40%{transform:rotate(8deg)}}
@keyframes shelf-drift{50%{transform:translateY(-7px) rotate(-3deg)}}
@keyframes shelf-draw{from{stroke-dashoffset:200}to{stroke-dashoffset:0}}
.shelf-note{position:relative;display:grid;grid-template-columns:210px 1fr;gap:24px;margin:26px 0 0;padding:26px 24px;border:1px solid var(--line2);border-left:2px solid var(--accent);background:var(--bg);animation:shelf-note-in .3s ease both}
.shelf-note[hidden]{display:none}.shelf-note .slabel{display:block;font-size:9px;margin:0 0 8px}.shelf-note h3{font-size:23px;font-weight:500;letter-spacing:-.03em}.shelf-note p{font-size:15px;color:var(--muted);line-height:1.9;max-width:680px}
#shelf-note-close{grid-column:2;justify-self:start;background:none;border:0;color:var(--accent);font:11px var(--font-mono);padding:4px 0;cursor:pointer}#shelf-note-close span{margin-left:10px}
@keyframes shelf-note-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.photo-heading{margin-top:76px;margin-bottom:26px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.plate-open{display:block;width:100%;position:relative;background:transparent;border:0;padding:0;cursor:zoom-in;color:var(--text);text-align:left;overflow:hidden}
.plate-media{display:block;aspect-ratio:4/3}.plate-media img{filter:grayscale(.25);transition:filter .5s ease,scale .7s cubic-bezier(.2,.7,.2,1)}
.plate-open:hover img,.plate-open:focus-visible img{filter:grayscale(0);scale:1.035}
.photo-inspect{position:absolute;bottom:14px;left:14px;padding:7px 10px;background:#0b0c10e8;color:#e7e7e4;font:10px var(--font-mono);opacity:0;transform:translateY(5px);transition:opacity .25s,transform .25s}
.plate-open:hover .photo-inspect,.plate-open:focus-visible .photo-inspect{opacity:1;transform:none}
.plate-frame,.pf-tick{pointer-events:none}
#photo-viewer{position:fixed;inset:0;margin:auto;width:min(1100px,94vw);max-height:94svh;padding:24px;border:1px solid var(--line2);background:var(--bg);color:var(--text);overflow:auto;box-shadow:0 24px 120px #0008}
#photo-viewer::backdrop{background:#05070ce8;backdrop-filter:blur(10px)}
#photo-viewer[open]{animation:shelf-note-in .25s ease}
.viewer-top,.viewer-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px}
.viewer-heading{font:10px var(--font-mono);color:var(--faint);text-transform:uppercase;letter-spacing:.06em}
#viewer-close{border:0;background:none;color:var(--muted);font:12px var(--font-sans);padding:10px;cursor:pointer}#viewer-close span{margin-left:16px;font-size:20px}
.viewer-stage{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;gap:16px;align-items:center;margin:14px 0 18px;touch-action:pan-y}
#viewer-image{display:block;width:100%;height:min(59svh,640px);object-fit:contain;background:#ffffff03}
#viewer-prev,#viewer-next{width:38px;height:48px;background:none;color:var(--text);border:1px solid var(--line2);font-size:19px;cursor:pointer;transition:background .2s}#viewer-prev:hover,#viewer-next:hover{background:var(--line)}
#viewer-caption{font-size:14px}#viewer-count{font:10px var(--font-mono);color:var(--muted)}
#viewer-thumbs{display:flex;gap:8px;justify-content:center;margin-top:20px;overflow-x:auto;padding:4px}
.viewer-thumb{padding:2px;border:1px solid transparent;background:none;cursor:pointer;opacity:.45;flex-shrink:0}.viewer-thumb[aria-current=true]{opacity:1;border-color:var(--accent)}.viewer-thumb:hover{opacity:1}.viewer-thumb img{width:56px;height:40px;object-fit:cover;display:block}
.viewer-hint{text-align:center;color:var(--faint);font:9px var(--font-mono);margin-top:14px}
body:has(#photo-viewer[open]){overflow:hidden}
body.light .bookcase{background:#e3e3df;border-color:#8e969c}body.light .shelf-nook{border-bottom-color:#8e969c;border-right-color:#0001}body.light .shelf-nook:before{box-shadow:inset 0 14px 24px #0000000c}body.light .nook-caption{color:#323a44}body.light .nook-caption>span:first-child{color:#596a7b}
@media(max-width:760px){.shelf-heading,.photo-heading{display:block}.shelf-heading h2,.photo-heading h2{font-size:27px}.shelf-heading p,.photo-heading p{margin-top:12px}.bookcase{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 7px 7px}.shelf-nook{height:198px}.shelf-nook:nth-child(3n){border-right:1px solid #ffffff0b}.shelf-nook:nth-child(2n){border-right:0}.shelf-nook:last-child{grid-column:1/-1;max-width:none}.shelf-nook:last-child .shelf-art{left:18%;width:45%}.shelf-nook:last-child .shelf-books{right:18%}.shelf-art{left:0;width:78%;height:134px}.shelf-books{right:7%;width:42px}.spine-a{width:23px;font-size:8px;padding-left:4px}.spine-b{width:10px}.spine-c{width:8px}.nook-caption{left:9px;right:9px;gap:6px;font-size:10px}.shelf-note{grid-template-columns:1fr;padding:22px;gap:12px}#shelf-note-close{grid-column:1}.shelf-note p{font-size:14px}.photo-grid{gap:22px 14px}.photo-heading{margin-top:54px}#photo-viewer{padding:12px}.viewer-stage{gap:6px;grid-template-columns:28px minmax(0,1fr) 28px}#viewer-prev,#viewer-next{width:28px;height:42px;font-size:15px}#viewer-image{height:50svh}#viewer-thumbs{justify-content:flex-start}.viewer-thumb img{width:45px;height:34px}.viewer-hint{display:none}.photo-inspect{left:6px;bottom:6px;font-size:8px;padding:5px}}
@media(hover:none){.photo-inspect{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.shelf-art,.spine,.photo-inspect,.plate-media img{transition:none!important}.shelf-nook *,.shelf-note,#photo-viewer{animation:none!important}.shelf-nook:hover .shelf-art,.shelf-nook[aria-expanded=true] .shelf-art{transform:none}.pencil-line{stroke-dashoffset:0}}

.nook-fashion:hover .fashion-tag{animation:shelf-bow 1.5s ease-in-out infinite;transform-origin:107px 78px}
.nook-ecommerce:hover .shop-arrow{animation:shelf-drift 1.8s ease-in-out infinite}
@media(min-width:761px){.nook-ecommerce{grid-column:span 2;border-right:0}.nook-ecommerce .shelf-art{width:220px;left:12%}.nook-ecommerce .shelf-books{right:18%}}
