/* Only the new prototypes opt into these rules. The D composition remains the foundation. */
.design-e .artwork-open{transition:none}.design-e .artwork-open:hover{opacity:1}
.collection-title{font:clamp(38px,4vw,58px)/1.1 Georgia,'Times New Roman',serif;letter-spacing:-.04em;margin:35px 0 76px}
.collection-index{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:76px 48px;align-items:start}
.collection-index .artwork-open{height:360px;display:flex;align-items:flex-end;justify-content:center}
.collection-index .artwork img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.collection-index figcaption{max-width:100%}
.collection-page .d-footer{margin-top:100px}
.collection-series{margin-bottom:100px}.collection-series>h2{font:24px Georgia,serif;margin-bottom:40px}
.collection-viewer{position:fixed;inset:0;margin:0;padding:20px clamp(20px,3vw,48px) 48px;width:100%;max-width:none;height:100dvh;max-height:none;border:0;background:#faf9f6;color:#222320;overflow-y:auto;overflow-x:hidden}
.collection-viewer[open]{display:block}
.collection-viewer::backdrop{background:transparent}
.collection-viewer button{border:0;background:none;padding:10px 0;min-height:44px;font-size:14px;color:inherit;cursor:pointer}
.collection-viewer button:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.room-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;color:#666762}
.room-artwork{max-width:100%;margin:clamp(28px,5vh,58px) auto 0}
.room-stage{min-width:0;touch-action:pan-y}
.room-stage img{display:block;width:100%;height:auto;max-width:100%;max-height:calc(100dvh - 190px);object-fit:contain;user-select:none;-webkit-user-drag:none}
.room-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:start;column-gap:32px;padding-top:32px}
.room-caption{min-width:0}
.room-caption h2{font:15px/1.5 Arial,sans-serif}.room-caption p{font:13px/1.6 Arial,sans-serif;color:#666762}
.room-navigation{display:flex;gap:clamp(12px,2vw,34px);flex-shrink:0;margin-left:auto;white-space:nowrap}
#room-views{display:flex;gap:24px;flex-wrap:wrap}#room-views button{font-size:12px;color:#666762}#room-views button[aria-pressed=true]{text-decoration:underline;text-underline-offset:5px;color:#222320}
html:has(.collection-viewer[open]){overflow:hidden;scrollbar-gutter:stable}
@media(min-width:769px){
 .design-e{--rail:clamp(146px,13vw,180px);--gutter:clamp(28px,3.5vw,64px)}
 .design-e .e-header{position:fixed;inset:0 auto 0 0;width:var(--rail);max-width:none;min-height:0;padding:0;display:block;z-index:2;background:transparent}
 .design-e .e-header .wordmark{position:absolute;top:61px;left:clamp(18px,2vw,28px);writing-mode:vertical-rl;transform:rotate(180deg);font-size:17px;letter-spacing:.17em}
 .design-e .e-header nav{position:absolute;top:53px;left:clamp(58px,5.3vw,72px);display:flex;flex-direction:column;gap:0;font-size:15px;align-items:flex-start}
 .design-e .e-header nav a{min-height:44px;display:flex;align-items:center}
 .design-e .e-header nav a[aria-current=page]{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
 .design-e main,.design-e .d-footer{margin-left:var(--rail);margin-right:0;max-width:1600px}
 .design-e .d-opening{padding-top:64px}
 .design-e .d-hero-artwork{width:min(780px,100%)}
 .collection-page main{padding-top:40px}
 .collection-viewer{left:var(--rail);width:calc(100% - var(--rail))}
 .room-stage img{max-width:min(100%,calc(100vw - var(--rail) - 96px))}
}
@media(min-width:769px) and (max-width:1200px){.collection-index{grid-template-columns:repeat(2,minmax(0,1fr));gap:64px 36px}}
@media(max-width:1000px){.collection-index{grid-template-columns:repeat(2,minmax(0,1fr));gap:64px 36px}.collection-index .artwork-open{height:350px}}
@media(max-width:768px){.design-e .e-header nav a[aria-current=page]{text-decoration:underline;text-underline-offset:5px}}
@media(max-width:600px){
 .collection-title{margin:30px 0 44px}.collection-index{grid-template-columns:1fr;gap:54px}.collection-index .artwork-open{height:auto;max-height:none}.collection-index .artwork img{width:100%;max-height:none}.collection-page .d-footer{margin-top:60px}.collection-series{margin-bottom:64px}
 .collection-viewer{padding:8px 16px max(20px,env(safe-area-inset-bottom))}.room-artwork{margin-top:28px}.room-stage img{max-height:calc(100dvh - 210px)}.room-bottom{display:block;padding-top:28px}.room-caption h2{font-size:15px}.room-caption p{font-size:13px}.room-navigation{justify-content:space-between;gap:24px;margin-top:10px}.collection-viewer button{font-size:14px}#room-views{gap:18px}#room-views button{font-size:13px}.room-toolbar{font-size:12px}
}
@media(max-height:500px){.collection-viewer{padding:6px 20px}.room-artwork{margin-top:14px}.room-stage img{max-height:calc(100dvh - 105px)}.room-bottom{padding-top:16px}}
