/* Scoped to the two pilot records; the constellation and other records keep their CSS. */
.is-pilot-work .orbit-gallery{--gallery-height:clamp(300px,46svh,520px);margin:20px 0 26px}
.is-pilot-work .orbit-gallery>img{display:block;width:100%;height:auto;max-height:var(--gallery-height);padding:0;object-fit:contain}
.is-pilot-work .orbit-gallery[data-format="square"]>img{width:min(100%,var(--gallery-height));aspect-ratio:1;max-height:none;margin:auto}
.is-pilot-work .orbit-gallery-arrow{top:calc(50% - 22px)}
.is-pilot-work .orbit-copy p{font-size:1rem;line-height:1.7;text-align:left;hyphens:none;color:#bbb}
.is-pilot-work .pilot-concept{margin-top:26px}
.is-pilot-work .pilot-facts{max-width:78ch;margin:20px auto 28px;font-size:.875rem;font-weight:300;line-height:1.7;color:#999}
.work-color-options{display:flex;justify-content:center;flex-wrap:wrap;gap:16px;margin:20px 0 12px}
.work-color-option{width:24px;height:24px;flex:none;border-radius:50%;background:var(--swatch);outline:1px solid transparent;outline-offset:4px}
.work-color-option[aria-pressed="true"]{outline-color:#bbb}
.work-color-option:focus-visible{outline:2px solid #fff;outline-offset:5px}
.work-variant-name{text-align:center;font-size:.875rem;font-weight:300;color:#aaa;margin:16px 0 24px}
.work-reading-more{max-width:100%;margin-top:28px;border-top:1px solid #252525;padding-top:18px}
.work-reading-more>summary{cursor:pointer;font-size:.875rem;color:#aaa;padding:4px 0 14px}
.work-reading-more>.orbit-copy{margin-top:24px}
.work-reading-more h4{font:inherit;font-size:.875rem;line-height:1.6;color:#aaa}
.work-variant-documentation{margin-top:30px}
@media(max-width:700px){
 .is-pilot-work .orbit-gallery{--gallery-height:clamp(230px,48svh,460px);margin:18px 0 22px}
 .is-pilot-work .orbit-copy p{font-size:.9375rem}
 .work-color-options{gap:15px}
 .work-color-option{width:22px;height:22px}
}


/* Chromatic pilot only: reading follows the image in normal document flow. */
.is-reading .orbit-panel.is-chromatic-work{padding-top:44px;scrollbar-width:none}
.orbit-panel.is-chromatic-work::-webkit-scrollbar{display:none}
.is-chromatic-work>.orbit-gallery{--gallery-height:clamp(240px,40svh,460px);width:min(100%,var(--gallery-height));aspect-ratio:1;display:grid;place-items:center;margin:12px auto 14px}
.is-chromatic-work .work-color-options{margin:12px 0 12px}
.is-chromatic-work .orbit-reading-title{margin-bottom:10px}
.is-chromatic-work .pilot-concept{margin:0 auto}
.is-chromatic-work .pilot-concept p{font-size:.96875rem;line-height:1.6;margin:0}
.is-chromatic-work .work-variant-name{margin:8px 0 8px;text-align:left;max-width:78ch}
.is-chromatic-work .work-reading-more{margin-top:10px;padding-top:12px}
.is-chromatic-work .work-reading-more>summary{padding:4px 0 8px}
.work-image-loading{grid-area:1/1;font-size:.8125rem;color:#999;text-align:center;padding:12px}
.work-image-loading[hidden]{display:none}
.orbit-viewer.is-chromatic-viewer{display:grid;place-items:center}
.orbit-viewer.is-chromatic-viewer>img{width:auto;height:auto;object-fit:contain}
@media(max-width:700px){
 .is-reading .orbit-panel.is-chromatic-work{max-height:calc(100svh - 270px);padding-top:34px}
 .is-chromatic-work>.orbit-gallery{--gallery-height:clamp(180px,25svh,260px);margin:10px auto 12px}
 .is-chromatic-work .pilot-concept p{font-size:.875rem;line-height:1.55}
 .is-chromatic-work .work-color-options{gap:14px;margin:10px 0 12px}
}

/* While reading, retain the full artwork and its selector inside this scrollport. */
.is-chromatic-work.keeps-reading-image>.orbit-gallery{position:sticky;top:18px;z-index:3;isolation:isolate}
.is-chromatic-work.keeps-reading-image>.work-color-options{position:sticky;top:calc(18px + var(--reading-image-height) + 14px);z-index:4;isolation:isolate}
.is-chromatic-work.keeps-reading-image>.orbit-gallery::before,.is-chromatic-work.keeps-reading-image>.work-color-options::before{content:"";position:absolute;top:-18px;bottom:-14px;left:50%;width:var(--reading-cover-width);transform:translateX(-50%);background:#030303;z-index:-1;pointer-events:none}
