/* v37: B's collection density, A's dramatic pauses, reference's in-place sliding stories. */
.work-item.sphere-pair{max-width:1250px;padding-block:45px;grid-template-columns:1.5fr 1fr;gap:8%}.sphere-pair figure:first-child img{height:640px}.sphere-pair figure:last-child img{height:420px}.scene-work:not(:first-child)>img{max-width:none;width:100%;height:auto!important}.scene-work:not(:first-child)>figcaption{font-size:20px!important;max-width:1000px;padding-top:20px!important}.origin-opening{grid-template-columns:1fr 1.08fr;gap:55px}.archive-card{height:auto;min-width:0;overflow:visible;padding-bottom:0;display:flex;flex-direction:column;border-bottom:1px solid rgba(217,164,65,.2)}.archive-card.sliding-work{display:flex;height:auto;gap:0}.work-plate{order:0;position:relative;height:370px;min-height:370px;overflow:hidden;padding:0!important;isolation:isolate}.work-plate>img{width:100%;height:100%;object-fit:contain;background:transparent;border-radius:8px;pointer-events:auto}.work-label{order:1;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;width:100%;min-height:88px;padding:19px 0 18px;border:0;background:none;color:#f4f2ec;text-align:left;font:inherit;font-size:21px;line-height:1.3;font-weight:750;cursor:pointer}.work-label>span:first-child{min-width:0;max-width:30ch}.work-plus{flex:0 0 28px;position:relative;width:28px;height:28px;border:1px solid #71603c;border-radius:50%;margin-top:0}.work-plus:before,.work-plus:after{content:'';position:absolute;left:50%;top:50%;background:#e9b95c;transform:translate(-50%,-50%);transition:transform .25s,opacity .25s}.work-plus:before{width:12px;height:2px}.work-plus:after{height:12px;width:2px}.work-label[aria-expanded=true] .work-plus:after{opacity:0;transform:translate(-50%,-50%) rotate(90deg)}.work-label:hover{color:#efbc5c}.work-label:focus-visible{outline:2px solid #e9b95c;outline-offset:4px}.work-story{position:absolute;inset:auto 0 0;z-index:2;max-height:100%;height:auto;overflow-y:auto;overscroll-behavior:contain;padding:24px 23px 28px;background:#14203f;border-top:1px solid #b69250;transform:translateY(102%);visibility:hidden;pointer-events:none;transition:transform .52s cubic-bezier(.22,.61,.36,1),visibility 0s linear .52s;scrollbar-width:thin;scrollbar-color:#b69250 #14203f}.story-open .work-story{transform:translateY(0);visibility:visible;pointer-events:auto;transition:transform .52s cubic-bezier(.22,.61,.36,1),visibility 0s linear 0s}.work-story p{font-size:16px;line-height:1.8;color:#e2e5eb;max-width:65ch;margin:0 0 18px}.work-story p:last-child{margin-bottom:0}.work-story .story-extra{margin:22px 0 0}.work-story .story-extra img{width:100%;height:auto;object-fit:contain;pointer-events:auto}.work-story .story-extra figcaption{font-size:13px;line-height:1.6;color:#cbd0da}.archive-card:not(.sliding-work)>img{height:370px;min-height:370px;background:transparent;object-fit:contain}.archive-card:not(.sliding-work)>div{padding:19px 0}.archive-card:not(.sliding-work) h3{min-height:0}.archive-card:not(.sliding-work) p{font-size:15px;margin:0 0 12px}.frank-wall{row-gap:32px}.work-story:focus-visible{outline:2px solid #e9b95c;outline-offset:-3px}
@media(max-width:1000px){.work-plate{height:350px;min-height:350px}.sphere-pair figure:first-child img{height:530px}.sphere-pair figure:last-child img{height:350px}}
@media(max-width:760px){.work-item.sphere-pair{padding:15px 0;gap:18px}.sphere-pair figure:first-child img{height:350px}.sphere-pair figure:last-child img{height:240px}.scene-work:not(:first-child)>figcaption{font-size:16px!important}.origin-opening{grid-template-columns:1fr;gap:20px}.work-plate{height:370px;min-height:370px}.work-label{font-size:20px;min-height:78px;padding-top:17px}.work-story{padding:21px 20px 24px}.work-story p{font-size:16px}.archive-card:not(.sliding-work)>img{height:370px;min-height:370px}}
@media(max-width:430px){.sphere-pair figure:first-child img{height:310px}.sphere-pair figure:last-child img{height:220px}.work-plate{height:350px;min-height:350px}.archive-card:not(.sliding-work)>img{height:350px;min-height:350px}}
@media(prefers-reduced-motion:reduce){.work-story,.story-open .work-story,.work-plus:before,.work-plus:after{transition:none}}
@media print{.work-plate{height:auto;min-height:0;overflow:visible}.work-story{position:static;transform:none;visibility:visible;max-height:none;overflow:visible;background:transparent;color:#222;pointer-events:auto}.work-label{display:block}.work-plus{display:none}.work-story p{color:#222}}
.work-plate>img,.archive-card:not(.sliding-work)>img{object-position:center bottom}
/* v38 explicit actions outside the scrollable story */
.work-label{flex-direction:column;align-items:flex-start;gap:9px;min-height:116px}
.work-label>span:first-child{max-width:none}
.work-action{font-size:15px;line-height:1.4;font-weight:650;color:#efbc5c;text-decoration:underline;text-underline-offset:4px}
.work-story{overflow-y:auto;scrollbar-gutter:stable;scrollbar-width:auto}
.work-story::-webkit-scrollbar{width:9px}
.work-story::-webkit-scrollbar-thumb{background:#b69250;border-radius:8px;border:2px solid #14203f}
.work-story::-webkit-scrollbar-track{background:#14203f}
.sliding-work .work-plate > img{cursor:pointer}

/* v39: compact, aligned archive stages; preserve every image's full bounds. */
.frank-wall{column-gap:26px;row-gap:24px;align-items:start}
.work-plate{height:clamp(270px,22vw,310px);min-height:0}
.work-plate>img{object-fit:contain;object-position:center center;border-radius:4px}
.archive-card:not(.sliding-work)>img{height:clamp(270px,22vw,310px);min-height:0;object-fit:contain;object-position:center center}
.work-label{min-height:92px;font-size:18px;line-height:1.35;font-weight:650;padding:13px 0 14px;gap:7px}
.work-label>span:first-child{max-width:none;text-wrap:pretty}
.work-action{font-size:14px;line-height:1.4}
.archive-card:not(.sliding-work)>div{padding:13px 0 14px}
.archive-card:not(.sliding-work) h3{font-size:18px;line-height:1.35;font-weight:650;margin-bottom:7px}
.work-story{max-height:100%;overscroll-behavior:contain;scrollbar-gutter:stable}
@media(min-width:761px) and (max-width:1000px){.work-plate,.archive-card:not(.sliding-work)>img{height:300px;min-height:0}}
@media(max-width:760px){.frank-wall{row-gap:26px}.work-plate,.archive-card:not(.sliding-work)>img{height:320px;min-height:0}.work-label{font-size:18px;min-height:0;padding-bottom:16px}.work-story{padding:19px 18px}.work-story p{line-height:1.7}}
@media(max-width:380px){.work-plate,.archive-card:not(.sliding-work)>img{height:290px}}
@media print{.work-plate{height:auto;min-height:0}}

/* Original study photos are small files: render at their real dimensions. */
.collection-row{grid-template-columns:repeat(2,minmax(0,460px));align-items:start;gap:20px;justify-content:start}
.collection-row img,.collection-row img:first-child,.collection-row img:last-child{grid-column:auto;width:100%;max-width:460px;height:auto;max-height:none;object-fit:contain;object-position:center;background:transparent}
.physical-finale{grid-template-columns:minmax(0,259px) minmax(0,1fr);gap:32px}
.physical-finale figure{max-width:259px}
.physical-finale img{width:100%;max-width:259px;height:auto;max-height:none;object-fit:contain;object-position:center}
@media(max-width:760px){.collection-row{grid-template-columns:minmax(0,460px)}.physical-finale{grid-template-columns:1fr;gap:20px}}
/* Visual QA: match the actual image heights within each archive row. */
.frank-wall .work-plate,.frank-wall .archive-card:not(.sliding-work)>img{height:var(--row-art-height,270px);min-height:0}
.work-plate{display:flex;align-items:center;justify-content:center}
.work-plate>img{display:block;width:auto;max-width:100%;height:100%;object-fit:contain;object-position:center}
.frank-wall .archive-card:not(.sliding-work)>img{width:auto;max-width:100%;align-self:center}
.work-label{min-height:0;font-size:18px;padding:12px 0 14px;gap:7px}
.work-label>span:first-child{min-height:2.7em}
.archive-card:not(.sliding-work)>div{padding-top:12px}
@media(max-width:1280px){.work-label,.archive-card:not(.sliding-work) h3{font-size:17px}}
@media(max-width:760px){.work-label>span:first-child{min-height:0}.work-label{font-size:18px}}
.work-plate{height:max(220px,var(--row-art-height,270px))!important;align-items:flex-end}
.work-plate>img{height:var(--row-art-height,270px)}
@media print{.work-plate{height:auto!important}}
/* Compact gallery, quiet story controls, and grouped supporting material. */
.work-grid{grid-auto-flow:dense;row-gap:34px}
.work-label{flex-direction:row;align-items:flex-start;gap:14px}
.work-label>span:first-child{flex:1;min-height:2.7em}
.work-action{position:relative;display:block;flex:0 0 28px;width:28px;height:28px;margin-top:0;border:1px solid #9e8555;border-radius:50%;text-decoration:none}
.work-action:before,.work-action:after{content:'';position:absolute;top:50%;left:50%;background:#edc476;width:12px;height:2px;transform:translate(-50%,-50%);transition:transform .2s}
.work-action:after{transform:translate(-50%,-50%) rotate(90deg)}
.story-open .work-action:before{transform:translate(-50%,-50%) rotate(45deg)}
.story-open .work-action:after{transform:translate(-50%,-50%) rotate(-45deg)}
.archive-help{font-size:15px!important;line-height:1.5!important;color:#d9c9ab!important;margin:0 0 22px!important}
.sheet-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start}
.sheet-row img{display:block;width:100%;height:200px!important;max-height:200px;object-fit:contain}
.physical-finale{display:grid;grid-template-columns:minmax(0,460px) minmax(0,259px) minmax(180px,1fr);gap:24px;align-items:start}
.physical-finale>img{max-width:460px;width:100%;height:auto;border-radius:10px}
.physical-finale figure{width:100%;margin:0}
.physical-finale p{font-size:17px;line-height:1.65;margin:0}
@media(max-width:760px){.work-grid{row-gap:25px}.sheet-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sheet-row img{height:170px!important}.physical-finale{grid-template-columns:minmax(0,1.3fr) minmax(0,.75fr);gap:16px}.physical-finale>div{grid-column:1/-1}.work-label>span:first-child{min-height:0}}
@media(prefers-reduced-motion:reduce){.work-action:before,.work-action:after{transition:none}}
.work-plate{height:max(180px,var(--row-art-height,270px))!important}.work-story{padding:16px 18px 18px}.work-story p{font-size:15px;line-height:1.65}
.glass-quartet{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.glass-quartet .work-item>img{height:260px!important;object-fit:contain}
.glass-quartet figcaption{font-size:14px!important;line-height:1.6}
@media(max-width:1100px){.glass-quartet{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 20px}.glass-quartet .work-item>img{height:300px!important}}
@media(max-width:600px){.glass-quartet .work-item>img{height:230px!important}.glass-quartet{gap:22px 16px}}
.sheet-row{grid-template-columns:repeat(4,minmax(0,180px));gap:18px;max-width:774px}.sheet-row img{justify-self:start}@media(max-width:760px){.sheet-row{grid-template-columns:repeat(2,minmax(0,1fr));max-width:400px}}
