.chapter-nav{display:flex;flex-direction:column;gap:4px;margin-top:34px}.chapter-nav button{display:flex;align-items:baseline;justify-content:space-between;gap:20px;border:0;border-radius:0;background:none;color:#aaa;padding:10px 0;text-align:left;font:inherit;cursor:pointer}.chapter-nav button[aria-pressed=true]{color:#f2f2ed}.chapter-nav button[aria-pressed=true] span:first-child:before{content:'';display:inline-block;width:13px;height:2px;background:var(--accent,#c4ff42);margin:0 9px 4px 0}.chapter-nav button:hover{color:#fff}.chapter-count{font-size:12px;color:var(--accent,#c4ff42)}.chapter-heading{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin:0 0 16px}.chapter-heading h2{font:inherit!important;margin:0}.chapter-heading>span{font-size:12px;color:#aaa}.chapter-hero{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in;margin:0 0 18px}.chapter-hero img{width:100%;height:auto;max-height:75vh;object-fit:contain;display:block}.chapter-contact-sheet{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.chapter-contact-sheet button{padding:0;border:0;background:none;aspect-ratio:1;overflow:hidden;cursor:zoom-in}.chapter-contact-sheet img{display:block;width:100%;height:100%;object-fit:cover}.chapter-contact-sheet button:focus-visible,.chapter-hero:focus-visible,.chapter-nav button:focus-visible{outline:1px solid var(--accent);outline-offset:4px}.slideshow-trigger{cursor:zoom-in}.slideshow-trigger:focus-visible{outline:1px solid var(--accent);outline-offset:5px}
#portfolio-slideshow{position:fixed;inset:0;width:100%;height:100vh;height:100dvh;max-width:none;max-height:none;padding:0;border:0;background:#151515;color:#f3f3ef;overflow:hidden;margin:0;font:15px/1.4 Archivo,Arial,sans-serif}#portfolio-slideshow::backdrop{background:#151515}.slideshow-header{height:68px;position:absolute;inset:0 0 auto;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:24px;padding:0 28px;z-index:2}.slideshow-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.slideshow-count{color:var(--accent,#c4ff42);font-size:12px;white-space:nowrap}#portfolio-slideshow button{color:inherit;background:transparent;border:0;border-radius:0;cursor:pointer;display:grid;place-items:center;padding:12px}#portfolio-slideshow button:focus-visible{outline:1px solid var(--accent);outline-offset:-3px}#portfolio-slideshow svg{width:23px;height:23px}/* Zero-minimum tracks keep intrinsic image dimensions inside the viewport.
   Explicit image boxes let object-fit contain the entire frame in both axes. */
.slideshow-stage{position:absolute;inset:72px 74px 30px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;min-width:0;min-height:0}
#portfolio-slideshow .slideshow-stage>img,#portfolio-slideshow .slideshow-diptych img{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;aspect-ratio:auto;object-fit:contain;object-position:center;transform:none}
.slideshow-diptych{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr);width:100%;height:100%;min-width:0;min-height:0;gap:8px}
#portfolio-slideshow .slideshow-diptych img:first-child{object-position:right center}#portfolio-slideshow .slideshow-diptych img:last-child{object-position:left center}.slideshow-prev,.slideshow-next{position:absolute;top:50%;transform:translateY(-50%);width:60px;height:70px}.slideshow-prev{left:4px}.slideshow-next{right:4px}#portfolio-slideshow button:disabled{opacity:.25;cursor:default}
@media(max-width:800px){.chapter-nav{display:flex;flex-direction:row;flex-wrap:wrap;gap:0 22px;margin:24px 0}.chapter-nav button{font-size:14px;gap:9px}.chapter-contact-sheet{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.chapter-hero{margin-bottom:12px}.slideshow-header{height:60px;padding:0 12px;gap:12px;font-size:13px}.slideshow-stage{inset:68px 12px 70px}.slideshow-prev,.slideshow-next{top:auto;bottom:0;transform:none;width:60px;height:60px}.slideshow-prev{left:calc(50% - 70px)}.slideshow-next{right:calc(50% - 70px)}}

.catalogue-project .chapter-heading{padding:0;border:0;min-height:0;box-shadow:none;background:none;margin:0 0 16px}.chapter-heading h2{padding:0}.chapter-motion .catalogue-media{display:grid;gap:24px}#portfolio-slideshow .slideshow-header{border:0;box-shadow:none}

#portfolio-slideshow .slideshow-stage{cursor:zoom-out}

#portfolio-slideshow .slideshow-video{width:100%;height:100%;min-width:0;min-height:0;max-height:none;aspect-ratio:auto;background:transparent;overflow:hidden}
#portfolio-slideshow .slideshow-video>video{display:block;width:100%;height:100%;min-width:0;min-height:0;max-height:none;object-fit:contain;object-position:center;cursor:zoom-out}
#portfolio-slideshow .video-buttons button[hidden]{display:none}

.chapter-hero>video{display:block;width:100%;height:auto;max-height:75vh;object-fit:contain}
.chapter-contact-sheet video{display:block;width:100%;height:100%;object-fit:cover}
.chapter-hero>video::-webkit-media-controls,.chapter-contact-sheet video::-webkit-media-controls{display:none!important}

.chapter-description{white-space:pre-line;margin:0 0 24px;max-width:65ch;color:var(--muted);font-size:16px;line-height:1.6}

/* The same persistent inline chooser used for K&K exhibitions. */
.portfolio-chapter-rail .kk-chapter-heading{margin-top:30px}
.chapter-project .portfolio-chapter-nav button{grid-template-columns:24px minmax(0,1fr) max-content}
.portfolio-chapter-nav .chapter-count{font-size:11px}
.catalogue-project:has(.chapter-project){overflow-anchor:none}
[data-chapter-gallery]{scroll-margin-top:calc(var(--header-height,80px) + 100px)}
@media(max-width:800px){.portfolio-chapter-rail .kk-chapter-heading{margin-top:0}}

body[data-layout-preview][data-typography=register][data-layout=refined][data-revision] .chapter-project>.portfolio-chapter-copy{position:static;align-self:stretch;max-height:none;overflow:visible}
.portfolio-chapter-rail{position:sticky;top:calc(var(--header-height,80px) + var(--position-height,60px) + 20px);max-height:calc(100dvh - var(--header-height,80px) - var(--position-height,60px) - 40px);overflow-y:auto;scrollbar-width:thin;background:var(--bg)}
.portfolio-chapter-overview{margin-bottom:30px}.portfolio-chapter-rail .kk-chapter-heading{margin-top:0}
@media(max-width:800px){body[data-layout-preview][data-typography=register][data-layout=refined][data-revision] .chapter-project>.portfolio-chapter-copy{display:contents}.portfolio-chapter-overview{margin-bottom:0}.portfolio-chapter-rail{top:calc(var(--header-height,80px) + var(--position-height,60px));z-index:24;max-height:44dvh;padding:10px 0}}
