/* Enter Weemad: covers, papers and drawers. Original work is the object. */
.identity-object{position:relative;overflow:hidden;isolation:isolate;background:#eeeae1}
.identity-object .identity-art{position:relative;z-index:2;transform-origin:top left;transition:transform .65s cubic-bezier(.22,.75,.15,1);clip-path:polygon(0 0,100% 0,100% calc(100% - 2rem),calc(100% - 2rem) 100%,0 100%)}
.identity-object .identity-art img{transition:none}
.identity-object .identity-art:hover img{transform:none}
.cover-toggle{position:absolute;z-index:3;bottom:1rem;right:1rem;min-height:44px;padding:.65rem 1rem;border:1px solid #15151535;background:#f2eee5;color:#151515;font:inherit;font-size:.8rem;cursor:pointer;box-shadow:0 3px 12px #0002}
.cover-toggle span{display:inline-block;margin-left:.8rem;font-size:1rem}
.cover-toggle:hover{background:var(--acid)}
.cover-toggle:focus-visible,.identity-under a:focus-visible{outline:2px solid #151515;outline-offset:3px}
.identity-under{position:absolute;inset:0;display:flex;flex-direction:column;align-items:start;padding:1.6rem 1.6rem 4.7rem;color:#151515;background:#eeeae1}
.identity-under>.label{font-size:.7rem;letter-spacing:.08em}
.identity-under img{flex:1;min-height:0;width:100%;object-fit:contain;margin:.6rem 0;mix-blend-mode:multiply}
.identity-under p{font-size:clamp(.9rem,1.1vw,1rem);line-height:1.5;max-width:34rem;margin:0 0 .6rem}
.identity-under a{font-size:.8rem;text-decoration:underline;text-underline-offset:4px;min-height:24px}
.identity-object.is-open .identity-art{transform:translateY(-97%) rotate(-2deg)}
.cabinet{margin-top:6rem;padding-top:3rem;border-top:1px solid var(--line)}
.cabinet-heading{display:flex;justify-content:space-between;align-items:end;gap:3rem;margin-bottom:2.5rem}
.cabinet-heading h3{font-size:clamp(2.7rem,5vw,5rem);font-weight:400;letter-spacing:-.06em;line-height:1.05;margin:.9rem 0 0}
.cabinet-heading p{max-width:25rem;color:#b4b4ad;font-size:1rem;line-height:1.6;margin:0}
.drawer{border-top:1px solid var(--line)}
.drawer:last-child{border-bottom:1px solid var(--line)}
.drawer>summary{display:flex;align-items:center;gap:2rem;list-style:none;cursor:pointer;padding:1.8rem 0}
.drawer>summary::-webkit-details-marker{display:none}
.drawer-title{font-family:Anton,Impact,sans-serif;font-size:clamp(2.5rem,5vw,5rem);line-height:1.1;text-transform:uppercase;letter-spacing:-.015em}
.drawer-count{margin-left:auto;font-size:.75rem;color:#b4b4ad;white-space:nowrap}
.drawer-handle{display:block;width:4rem;height:1rem;border:1px solid #b4b4ad;border-top-width:3px;border-radius:0 0 4px 4px;flex-shrink:0;transition:transform .25s}
.drawer[open] .drawer-title,.drawer>summary:hover .drawer-title{color:var(--acid)}
.drawer[open] .drawer-handle{transform:translateY(4px);border-color:var(--acid)}
.drawer-inside{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:7%;padding:0 0 3rem;align-items:start}
.drawer-list{list-style:none;padding:0;margin:0;min-width:0}
.drawer-list li{border-bottom:1px solid #ffffff20}
.drawer-list a{display:flex;gap:1rem;align-items:center;position:relative;min-height:5.5rem;padding:1rem .1rem}
.drawer-list .drawer-name{font-size:clamp(1.2rem,2vw,1.65rem);line-height:1.2;letter-spacing:-.035em}
.drawer-list .drawer-category{display:block;font-size:.65rem;color:#b4b4ad;letter-spacing:.06em;margin-top:.6rem}
.drawer-list a:hover,.drawer-list a:focus-visible{color:var(--acid)}
.drawer-arrow{margin-left:auto;font-size:1.15rem;flex-shrink:0}
.drawer-thumb{display:none}
.drawer-preview{margin:1rem .5rem 0;position:sticky;top:calc(var(--nav-offset,95px) + 1rem);background:#eeeae1;color:#151515;padding:1rem 1rem .9rem;transform:rotate(-1.5deg);box-shadow:8px 12px 0 #0003}
.drawer:nth-of-type(2) .drawer-preview{transform:rotate(1.5deg)}
.drawer-preview img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#e5e5df}
.drawer-preview figcaption{font-size:.75rem;line-height:1.5;display:flex;justify-content:space-between;gap:1rem;padding-top:.9rem}
.drawer-preview figcaption span:last-child{opacity:.65}
.cabinet-footnote{display:flex;justify-content:space-between;gap:2rem;padding-top:1.25rem;color:#b4b4ad;font-size:.75rem}
.cabinet-footnote a{text-decoration:underline;text-underline-offset:4px}

/* A light table, rather than another oversized image in the page. */
.study-trigger{position:relative;display:block;border:0;padding:0;background:transparent;color:inherit;width:100%;height:100%;cursor:zoom-in;text-align:left}
.case-hero .study-trigger{height:auto}
.study-corner{position:absolute;right:.8rem;bottom:.8rem;display:flex;gap:.6rem;align-items:center;min-height:44px;padding:.6rem .8rem;background:#151515;color:#f3f3ed;font-size:.7rem;letter-spacing:.04em;border:1px solid #f3f3ed60}
.study-corner svg{width:16px;height:16px}
.study-trigger:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.study-trigger:hover .study-corner{background:var(--acid);color:#151515;border-color:#15151550}
.art-study{border:0;padding:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;background:#eae8e0;color:#151515;overflow:hidden}
.art-study::backdrop{background:#151515e6}
.study-layout{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.study-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 2rem;border-bottom:1px solid #15151530}
.study-toolbar h2{font-size:.8rem;line-height:1.5;font-weight:400;letter-spacing:.06em;text-transform:uppercase;margin:0}
.study-toolbar button,.study-footer button{background:transparent;border:1px solid #15151550;color:#151515;font:inherit;font-size:.8rem;min-height:44px;min-width:44px;padding:.6rem 1rem;cursor:pointer}
.art-study button:hover{background:#151515;color:#f3f3ed}
.art-study button:disabled{opacity:.35;cursor:default;background:transparent;color:#151515}
.art-study :focus-visible{outline:2px solid #151515;outline-offset:3px}
.study-stage{overflow:auto;padding:2rem;display:grid;place-items:center;overscroll-behavior:contain;scrollbar-gutter:stable}
.study-stage img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;max-width:none}
.study-stage.is-detail{display:block}
.study-stage.is-detail img{width:var(--detail-width);height:auto;max-width:none;object-fit:initial;margin:auto}
.study-footer{display:grid;grid-template-columns:1fr auto;gap:2rem;align-items:center;padding:1rem 2rem;border-top:1px solid #15151530;background:#eae8e0}
.study-caption{margin:0;font-size:.85rem;line-height:1.5;max-width:60rem}
.study-controls{display:flex;align-items:center;gap:.6rem}
.study-count{font-size:.75rem;font-variant-numeric:tabular-nums;margin-right:.5rem;white-space:nowrap}
body.study-open{overflow:hidden}
@media(min-width:701px) and (hover:hover){.study-corner{opacity:0;transition:opacity .2s}.study-trigger:hover .study-corner,.study-trigger:focus-visible .study-corner{opacity:1}}
@media(max-width:900px){.identity-under{padding:1.3rem 1.3rem 4.8rem}.cabinet-heading{gap:2rem}.drawer>summary{gap:1rem}.drawer-handle{width:3rem}.study-footer{grid-template-columns:1fr;gap:.8rem}.study-controls{justify-content:end}}
@media(min-width:701px) and (max-width:1000px){.identity-object .identity-art img{height:20rem}}
@media(max-width:700px){
 .identity-under{padding:1.2rem 1.2rem 4.6rem}.cover-toggle{bottom:.75rem;right:.75rem}.identity-under p{font-size:.9rem}
 .cabinet{margin-top:3.5rem;padding-top:2rem}.cabinet-heading{display:block;margin-bottom:2rem}.cabinet-heading p{margin-top:1.5rem}.drawer-title{font-size:clamp(2rem,9vw,3.6rem)}.drawer>summary{padding:1.5rem 0;flex-wrap:wrap;gap:.6rem}.drawer-count{font-size:.7rem}.drawer-handle{width:2rem;height:.75rem;margin-left:.4rem}
 .drawer-inside{display:block;padding-bottom:1.75rem}.drawer-preview{display:none}.drawer-thumb{display:block;flex-shrink:0;width:4.5rem;height:3.4rem;object-fit:cover;background:#eeeae1}.drawer-list a{min-height:5.3rem;gap:.8rem}.drawer-list .drawer-name{font-size:1.1rem}.drawer-list .drawer-category{font-size:.6rem;line-height:1.4}.cabinet-footnote{flex-direction:column;gap:.7rem}
 .study-toolbar{padding:.75rem 1rem}.study-toolbar h2{font-size:.7rem;max-width:65%}.study-stage{padding:1rem .5rem}.study-footer{padding:.8rem 1rem;gap:.8rem}.study-caption{font-size:.75rem;max-height:4.5rem;overflow:auto}.study-controls{gap:.35rem;justify-content:space-between}.study-footer button{padding:.6rem .7rem;font-size:.75rem}.study-count{font-size:.7rem;margin-right:0}
}
@media(prefers-reduced-motion:reduce){.identity-object .identity-art,.drawer-handle,.study-corner{transition:none}}
.effects-paused .identity-object .identity-art,.effects-paused .drawer-handle,.effects-paused .study-corner{transition:none}

/* Only the chosen project title moves between documents; normal links remain normal. */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation:none}
::view-transition-group(weemad-project){animation-duration:.42s;animation-timing-function:cubic-bezier(.22,.75,.15,1)}
::view-transition-old(weemad-project),::view-transition-new(weemad-project){height:100%;width:100%;mix-blend-mode:normal}
@media(prefers-reduced-motion:reduce){::view-transition-group(*){animation:none!important}}
