/* /project-viewer.css */
/* One viewer for every attachment: image, caption, previous/next, close. */
html.media-viewer-open{overflow:hidden}
#drawing-viewer{position:fixed;inset:0;margin:0;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;box-sizing:border-box;padding:0 25px;overflow:hidden;display:flex;flex-direction:column;background:#fff;color:#111;font:400 12px/18px "neue-haas-grotesk-text",Arial,sans-serif}
#drawing-viewer:not([open]){display:none}
#drawing-viewer::backdrop{background:transparent}
#drawing-viewer .viewer-bar{display:flex;align-items:center;min-height:64px;flex-shrink:0;padding:0;border:0;font:inherit}
#drawing-viewer button{border:0;background:none;color:#666;font:inherit;min-width:44px;min-height:44px;padding:0 6px;cursor:pointer}
#drawing-viewer #viewer-close{padding-left:0}
#drawing-viewer button:disabled{opacity:.35;cursor:default}
#drawing-viewer button:hover:not(:disabled),#drawing-viewer button:focus-visible{color:var(--accent-ink,var(--accent,#ff4f00))}
#drawing-viewer:focus,#drawing-viewer button:focus{outline:none}
#drawing-viewer.keyboard-focus button:focus-visible{outline:1px solid #666;outline-offset:2px}
#viewer-stage{position:relative;flex:1;min-height:0;overflow:hidden;isolation:isolate;touch-action:none;cursor:grab}
#viewer-stage:active{cursor:grabbing}
#drawing-viewer.single-image #viewer-stage{cursor:default}
#viewer-image,.viewer-neighbor{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;user-select:none;pointer-events:none;will-change:transform}
.viewer-neighbor[hidden]{display:none}
#drawing-viewer .viewer-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:64px;flex-shrink:0;padding:8px 0;gap:16px;border:0;font:inherit}
#viewer-title{color:#707070;font:inherit;max-width:54ch;text-wrap:pretty;overflow-wrap:anywhere}
#drawing-viewer .viewer-navigation{display:flex;align-items:center;width:auto;gap:4px}
#viewer-count{display:block;min-width:56px;text-align:center;color:#707070;font:400 11px/18px "neue-haas-grotesk-text",Arial,sans-serif;font-variant-numeric:tabular-nums}
#drawing-viewer #media-prev,#drawing-viewer #media-next{font:400 20px/1 Arial,sans-serif}
#viewer-select{display:none}
#drawing-viewer.single-image .viewer-navigation{visibility:hidden}
#drawing-viewer.is-opening #viewer-image{visibility:hidden}
#drawing-viewer.is-transitioning .viewer-bar,#drawing-viewer.is-transitioning .viewer-tools{opacity:0}
#viewer-load-status{position:absolute;bottom:76px;left:50%;transform:translateX(-50%);z-index:8;background:#fff;padding:5px 9px;font:inherit;color:#666;pointer-events:none}
#viewer-load-status:empty{display:none}
@media(max-width:760px){
 #drawing-viewer{padding:env(safe-area-inset-top) 15px env(safe-area-inset-bottom)}
 #drawing-viewer .viewer-bar{min-height:56px}
 #drawing-viewer .viewer-tools{min-height:72px;gap:12px;padding:8px 0}
 #viewer-title{font-size:12px;line-height:17px}
 #drawing-viewer .viewer-navigation{gap:0}
 #viewer-count{min-width:40px}
}
@media(hover:none){#drawing-viewer button:hover:not(:disabled){color:#666}}
@media(prefers-reduced-motion:reduce){#drawing-viewer *{animation:none!important;transition:none!important}}

/* Loading must never hide the exit; retry appears only after a failed request. */
#drawing-viewer #viewer-retry{position:absolute;left:50%;bottom:110px;transform:translateX(-50%);z-index:9;background:#fff;text-decoration:underline;text-underline-offset:4px}
#drawing-viewer #viewer-retry[hidden]{display:none}
#viewer-load-status{max-width:calc(100% - 40px);text-align:center}

#drawing-viewer.load-error #viewer-image{visibility:hidden}

/* /kloboucnicka/test.css */
*{box-sizing:border-box}body{margin:0;background:#fff;color:#111;font:400 13px/1.25 "neue-haas-grotesk-text",Arial,sans-serif}button,a,select{font:inherit;color:inherit}button{border:0;background:none;cursor:pointer}a{text-decoration:none}button:focus-visible,a:focus-visible{outline:2px solid #111;outline-offset:4px}header{position:fixed;z-index:5;inset:0 0 auto;height:40px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;background:#fff;font-size:13px}header>span{margin-right:auto;margin-left:30px}#back-start{background:#eee;padding:12px 15px;margin-left:-15px}header i{display:none}#strip{height:100svh;display:flex;gap:15.625vw;overflow-x:auto;overflow-y:hidden;padding:55px 15px 15px;scrollbar-width:none;overscroll-behavior-x:contain}#strip::-webkit-scrollbar{display:none}.intro{flex:0 0 calc(50vw - 30px);display:flex;align-items:center;justify-content:center;padding-bottom:20vh}.intro .final-receipt{padding:0;pointer-events:none;flex-shrink:0}.panel{flex:0 0 auto;width:72vw;display:grid;grid-template-rows:minmax(0,1fr) 20vh;gap:40px;min-width:0}.panel .image{display:block;padding:0;width:100%;height:100%;min-height:0;text-align:left;overflow:hidden}.image img{display:block;width:100%;height:100%;object-fit:contain;object-position:left bottom}.caption{border-top:1px solid #111;padding-top:6px;min-width:0;display:flex;align-items:flex-start}.caption-inner{position:sticky;left:15px;width:350px;max-width:100%;flex-shrink:0}.caption-title{font:500 13px/16px "neue-haas-grotesk-text",Arial,sans-serif;display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px}.caption p{margin:1px 0 0;color:#707070;font:400 13px/16px "neue-haas-grotesk-text",Arial,sans-serif}.frame-label{display:block;margin-top:5px;color:#707070;font-size:11px}.sequence{display:flex;align-items:center;gap:4px;font:400 11px "neue-haas-grotesk-text",Arial,sans-serif}.sequence button{min-height:24px;min-width:22px;padding:2px}.sequence .play{color:#888;margin-left:6px}.panel.full{width:85vw}.panel.wide{width:calc((80svh - 110px)*var(--ratio));min-width:220px}.panel.immersive{width:calc(100vw - 30px);grid-template-rows:minmax(0,1fr) 52px;gap:12px}.immersive .image img{object-position:center}.immersive .caption-inner{width:500px}.immersive .caption p,.immersive .frame-label{display:none}.panel.silent .caption{border:0}.credits{flex:0 0 550px;padding-top:20px}.credits h2{font:500 22px/1.15 "neue-haas-grotesk-text",Arial,sans-serif;margin:0 0 30px}.credits dl{margin:0}.credits dl>div{display:grid;grid-template-columns:150px 1fr;border-top:1px solid #ccc;padding:8px 0;font-size:13px}.credits dd{margin:0;color:#707070}.credits>a{display:block;margin-top:22px}.index{position:fixed;z-index:6;bottom:15px;left:15px;font-size:13px;background:white}.index>button{border:1px solid #111;padding:9px 12px;background:white}.index>div{position:absolute;bottom:40px;left:0;width:280px;max-height:65svh;overflow:auto;background:white;border:1px solid;padding:10px}.index a{display:block;border-bottom:1px solid #ddd;padding:7px}.index a:hover{background:#eee}[hidden]{display:none!important}
@media(max-width:760px){header{font-size:12px}#back-start{display:none}header>span{margin:0}#strip{display:block;height:auto;overflow:visible;padding:85px 15px 75px}.intro{padding:0;margin-bottom:85px;min-height:500px}.intro .final-receipt{width:min(320px,100%);padding-inline:12px}.panel,.panel.full,.panel.wide,.panel.immersive{width:100%;display:block;margin-bottom:65px;scroll-margin-top:55px}.panel .image{height:auto}.image img{width:100%;height:auto;max-height:85svh;object-position:center}.caption{margin-top:20px}.caption-inner{position:static;width:350px}.caption-title{font-size:13px}.panel.immersive{width:calc(100% + 30px);margin-left:-15px}.immersive .caption{margin-inline:15px}.immersive .caption p{display:block}.credits{padding-top:20px;scroll-margin-top:55px}.credits dl>div{grid-template-columns:115px 1fr;font-size:12px}.index{bottom:12px}.sequence button{min-height:32px;min-width:30px}}
@media(min-width:761px){.caption-inner{left:0}.panel.immersive{grid-template-rows:minmax(0,1fr) 70px}#typicke .image img{transform:scale(1.7);transform-origin:center}.immersive .caption{padding-left:0}}
@media(max-width:760px){#typicke .image{overflow:hidden}#typicke .image img{transform:scale(1.65);margin-block:15%}}
/* TEST editorial pass: close related views, pause between chapters. */
.caption p,.frame-label{color:#707070}.panel:not(.sequence-panel) .frame-label{display:none}.sequence-panel .frame-label{display:block;font-size:12px;margin-top:5px;color:#555}.immersive.sequence-panel .frame-label{display:block}.sequence .play{color:#555}.caption-title{font-weight:600}.sequence{font-weight:400}.credits dd{color:#707070}
@media(min-width:761px){
#strip{gap:28px}.intro{flex-basis:calc(50vw - 43px)}
#stroj,#ostrov,#vyhled,#rez,.credits{margin-left:clamp(90px,12vw,200px)}
#vztahy{margin-left:60px;width:76vw}
.panel.immersive{grid-template-rows:minmax(0,1fr) 82px;gap:16px}
#podlazi{width:calc(100vw - 30px)}
#prizemi,#ostrov-podlazi,#byty{grid-template-rows:minmax(0,1fr) 110px;gap:20px}
#prizemi,#ostrov-podlazi{width:80vw}
#byty{width:65vw}
.caption-inner{padding-right:10px}
}
@media(max-width:760px){
#strip{padding-bottom:100px}.panel{margin-bottom:38px!important}
#stroj,#ostrov,#vyhled,#rez,.credits{margin-top:85px}
.sequence-panel .caption-title{gap:6px 12px}.sequence-panel .frame-label{margin-top:2px}
.index>button{box-shadow:0 0 0 5px white}
}
/* Stable image stages and a quieter, consistent detail viewer. */
.image{cursor:zoom-in}.image img{user-select:none}.sequence .play{min-width:66px;text-align:left}.frame-label{min-height:15px}.index a[aria-current]{font-weight:600;background:#f1f1f1}.index a:focus-visible{outline-offset:-2px}.credits{align-self:center}.credits>a{font-size:12px;text-transform:none}.viewer-bar,.viewer-tools,.viewer-help,#compare-tools{font-family:"neue-haas-grotesk-text",Arial,sans-serif!important;letter-spacing:0!important}.viewer-help{font-size:12px!important}
@media(min-width:761px){#ostrov,#vyhled{width:calc((100svh - 168px)*var(--ratio));min-width:78vw;max-width:115vw}.credits{padding-bottom:65px} }
@media(min-width:761px) and (max-height:650px){#strip{height:max(100svh,650px)}body{overflow-y:auto}.intro{padding-bottom:130px}.credits{align-self:start}}
@media(max-width:760px){.sequence-panel .image{aspect-ratio:var(--ratio);max-height:75svh;display:flex;align-items:center}.sequence-panel .image img{height:100%;width:100%;max-height:75svh;object-fit:contain}.sequence button{min-width:36px;min-height:36px}.sequence .play{min-width:75px}.caption-inner{width:100%}.credits{padding-bottom:25px}}
#byty .image img{transform:scale(1.35);transform-origin:center}
@media(min-width:761px){#ostrov,#vyhled{min-width:0}.credits{margin-right:clamp(30px,8vw,150px)}}
#byty .image img{object-position:center}
@media(min-width:761px){#byty{width:calc((100svh - 200px)*var(--ratio));min-width:350px;max-width:75vw}}
/* Explanations live with their images; silent drawings stay silent. */
#vyuziti .caption p,#ostrov .caption p,#vyhled .caption p{display:block}
@media(min-width:761px){#vyuziti,#ostrov,#vyhled{grid-template-rows:minmax(0,1fr) 116px}#ostrov,#vyhled{width:calc((100svh - 202px)*var(--ratio))}.panel:not(.immersive){grid-template-rows:minmax(0,1fr) max(145px,20vh)}.panel.wide:not(.immersive){width:calc((100svh - 70px - 40px - max(145px,20vh))*var(--ratio))}#prizemi,#ostrov-podlazi,#byty{grid-template-rows:minmax(0,1fr) 145px}}
/* Narrow drawings take their natural width instead of an empty viewport. */
@media(min-width:761px){
#vztahy{width:calc(100svh - 255px);min-width:360px}
#prizemi,#ostrov-podlazi{width:calc((100svh - 255px)*var(--ratio));min-width:350px}
#vyuziti{width:calc((100svh - 235px)*var(--ratio));min-width:360px;grid-template-rows:minmax(0,1fr) 145px}
#prizemi .image img,#ostrov-podlazi .image img{object-position:center}
#vyuziti .caption-inner{width:100%}
}

/* Modus Forma reference: regular captions, quiet grey explanations. */
.caption-title{font-weight:400}

/* TEST1 — measured Modus Forma editorial system, 30 October. */
body{color:#000;font:400 13px/16px "neue-haas-grotesk-text",Arial,sans-serif}
header{font-weight:500}#back-start{background:none;margin:0;padding:0}.intro{padding:0;flex:0 0 calc(50vw - 43px);align-items:center}.intro h1{font:700 55px/1 "neue-haas-grotesk-display",Arial,sans-serif;text-align:center;letter-spacing:-.025em;margin:-50px 0 0;padding:0 50px}.intro h1 span{display:block;color:#bbb}
.caption-inner,.immersive .caption-inner{width:350px;max-width:100%;padding-right:0;left:15px}
.caption-title,.caption p{font:400 13px/16px "neue-haas-grotesk-text",Arial,sans-serif;letter-spacing:0}.caption p{color:#bbb;margin:0}.frame-label,.sequence-panel .frame-label,.credits dd{color:#bbb}.caption-title{gap:4px 12px}.sequence{font-size:13px;font-weight:400}.sequence .play{font-size:11px}.caption{padding-top:6px}
@media(min-width:761px){.panel:not(.immersive){grid-template-rows:minmax(0,1fr) max(145px,20vh)}.intro{min-width:0}}
@media(max-width:760px){#back-start{display:block}.intro{min-height:0;padding:60px 20px 70px;margin:0}.intro h1{font-size:42px;line-height:1;margin:0;padding:0}.caption-inner,.immersive .caption-inner{width:100%;position:static}.caption p{font-size:13px;line-height:16px}#strip{padding-top:40px}}

/* Scroll-linked header, matching the reference's progress choreography. */
header{--progress-x:0px}.header-progress{position:absolute;inset:0 auto 0 0;width:var(--progress-x);background:#eee;pointer-events:none}.header-title{position:absolute;left:15px;top:0;height:40px;display:flex;align-items:center;transform:translateX(var(--progress-x));margin:0!important;white-space:nowrap;pointer-events:none}#back-start{position:relative;opacity:0;pointer-events:none;transition:opacity 125ms ease}header.has-progress #back-start{opacity:1;pointer-events:auto}header>a:last-of-type{margin-left:auto;position:relative}.caption-title{font-weight:500}.sequence{gap:4px}.sequence output{white-space:nowrap}.caption-inner,.immersive .caption-inner{position:relative;left:0;will-change:transform}
@media(max-width:760px){.header-progress{display:none}.header-title{transform:none}header.has-progress .header-title{display:none}.caption-inner{transform:none!important}.intro h1{font-size:38px}.intro{padding-inline:10px}}
@media(prefers-reduced-motion:reduce){#back-start{transition:none}}

/* TEST4: the same editorial system, composed along the vertical axis. */
html{scroll-behavior:smooth}body{overflow-x:hidden}#strip{display:block;height:auto;overflow:visible;padding:55px 15px 90px}.intro{min-height:65svh;padding:70px 0 100px;margin:0}.intro h1{max-width:650px;padding:0 30px;margin:0}.panel,.panel.full,.panel.wide,.panel.immersive,#stroj,#ostrov,#vyhled,#rez,#vztahy,#podlazi,#prizemi,#ostrov-podlazi,#byty,#vyuziti{width:100%;min-width:0;max-width:none;margin:0 0 100px;display:grid;grid-template-columns:minmax(200px,25%) minmax(0,1fr);grid-template-rows:auto;gap:30px;align-items:start;scroll-margin-top:55px}.panel .image{grid-column:2;grid-row:1;width:100%;height:auto;aspect-ratio:auto;max-height:none}.panel .image img{width:100%;height:auto;max-height:none;object-fit:contain;object-position:center}.panel .caption,.immersive .caption{grid-column:1;grid-row:1;position:sticky;top:65px;margin:0;align-self:start;border-top:1px solid #000;padding-top:6px}.caption-inner,.immersive .caption-inner,#vyuziti .caption-inner{width:100%;max-width:350px;position:static;transform:none!important}.immersive .caption p{display:block}.panel.silent .caption{border-top:1px solid #000}.sequence-panel .image{aspect-ratio:var(--ratio)}.sequence-panel .image img{height:100%;object-fit:contain}#typicke .image{height:auto;overflow:hidden}#typicke .image img,#byty .image img{transform:none;margin:0}.credits{max-width:650px;margin:130px 0 0 auto;padding:0 0 40px}.header-progress{display:block}
@media(max-width:760px){#strip{padding-top:40px}.intro{min-height:0;padding:65px 0 85px}.intro h1{font-size:38px;padding:0 10px}.panel,.panel.full,.panel.wide,.panel.immersive,#stroj,#ostrov,#vyhled,#rez,#vztahy,#podlazi,#prizemi,#ostrov-podlazi,#byty,#vyuziti{display:flex;flex-direction:column;gap:0;margin:0 0 60px!important;width:100%}.panel .image{width:100%;max-height:none}.panel .caption{position:static;width:100%;margin-top:20px}.panel .image img{max-height:none}.credits{margin-top:70px}.header-progress{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Composed disorder: independent image and caption positions. */
#strip{padding-inline:25px}.panel,.panel.full,.panel.wide,.panel.immersive,#stroj,#ostrov,#vyhled,#rez,#vztahy,#podlazi,#prizemi,#ostrov-podlazi,#byty,#vyuziti{grid-template-columns:repeat(12,minmax(0,1fr));gap:25px;margin-bottom:150px}.panel .caption,.panel.silent .caption,.immersive .caption{border:0;padding:0;grid-column:1/4;top:90px}.panel .image{grid-column:5/13}.panel .caption p{margin-top:4px}
#mezi-domy{grid-template-columns:repeat(12,minmax(0,1fr));margin-bottom:170px}#mezi-domy .image{grid-column:2/10}#mezi-domy .caption{grid-column:10/13;top:30vh;padding-top:100px}
#soubor .image{grid-column:6/13}#soubor .caption{grid-column:2/5;top:25vh}
#vztahy .image{grid-column:2/9}#vztahy .caption{grid-column:10/13}
#stroj .image{grid-column:4/13}#stroj .caption{grid-column:1/4;top:28vh}
#stroj-detail .image{grid-column:2/7}#stroj-detail .caption{grid-column:9/12;top:35vh;padding-top:80px}
#vyuziti .image,#prizemi .image,#ostrov-podlazi .image,#byty .image{grid-column:5/11;height:85svh;aspect-ratio:auto}#vyuziti .image img,#prizemi .image img,#ostrov-podlazi .image img,#byty .image img{height:100%;width:100%;object-fit:contain}
#ostrov .image{grid-column:1/10}#ostrov .caption{grid-column:10/13;top:20vh}
#otevirani .image{grid-column:4/12}#otevirani .caption{grid-column:1/4}
#den-noc .image{grid-column:3/13}#den-noc .caption{grid-column:1/3;top:30vh}
#vyhled .image{grid-column:5/11}#vyhled .caption{grid-column:2/5;top:30vh}
#typicke .image{grid-column:3/11;height:min(150vw,1800px);position:relative;overflow:hidden}#typicke .image img{position:absolute;left:50%;top:50%;width:min(150vw,1800px);max-width:none;height:auto;transform:translate(-50%,-50%) rotate(90deg)}#typicke .caption{grid-column:1/3;z-index:1}
.media-archive{margin:100px 0 0;scroll-margin-top:65px}.media-archive h2{font-size:22px;font-weight:400}.media-archive>p{color:#707070;margin-bottom:35px}#archive-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 25px}.archive-item{text-align:left;padding:0;cursor:zoom-in}.archive-item img{width:100%;height:210px;object-fit:contain;background:#fafafa}.archive-item span{display:block;font-size:12px;margin-top:12px}.archive-link{display:block;margin-bottom:30px}.credits{margin-left:15%;margin-right:0}
@media(max-width:760px){#strip{padding-inline:15px}.panel .caption,#mezi-domy .caption,#stroj-detail .caption{padding-top:0}.panel .image{width:100%}#mezi-domy .image{width:calc(100% + 30px);margin-left:-15px}#mezi-domy .caption{max-width:270px;margin-left:auto}#soubor .image{width:85%;margin-left:auto}#stroj-detail .image{width:80%}#stroj-detail .caption{width:80%;margin-left:auto}#vztahy .image{width:90%}#vyuziti .image,#prizemi .image,#ostrov-podlazi .image,#byty .image{height:75svh}#typicke .image{height:160vw;width:100%}#typicke .image img{width:180vw}#typicke .caption{width:100%}.credits{margin-inline:0}#archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 15px}.archive-item img{height:150px}}
#strip>.panel{width:100%;min-width:0;max-width:none}
/* Podhled decoder preserves final text geometry and accessible copy. */
.caption-decode{position:relative}.caption-final{visibility:hidden}.caption-visual{position:absolute;inset:0;pointer-events:none;overflow:hidden}.caption-accessible{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.decode-heading{display:block}

/* TEST6 — retain the quiet scale of TEST4, refine readability. */
body{font-synthesis:none}
.intro h1 span{color:#858585}
.caption-title{font-weight:500;line-height:18px}
.caption p{color:#707070;font-size:13px;line-height:18px;text-wrap:pretty;max-width:48ch}
.panel .caption p{margin-top:5px}
.frame-label,.sequence-panel .frame-label{color:#707070;font-size:11px;line-height:16px;margin-top:9px;min-height:16px}
.credits dd{color:#707070;line-height:1.45}
.credits dt{line-height:1.45}
.media-archive>p{color:#707070}
.archive-item span{font-size:12px;line-height:1.4;color:#555}
@media(max-width:760px){.caption-title{font-size:13px;line-height:18px}.caption p{font-size:13px;line-height:19px}.panel .caption p{margin-top:5px}.credits dl>div{row-gap:4px}}

/* A draggable project timeline, with the original brand silhouette. */
header{height:64px;padding:0 25px;gap:26px;background:rgba(255,255,255,.97)}
#back-start{opacity:1;pointer-events:auto;flex:0 0 auto;min-height:44px;display:flex;align-items:center;font-size:12px}
.project-scrubber{--progress:0;position:relative;flex:1;height:44px;min-width:50px}
.scrubber-track{position:absolute;left:15px;right:15px;height:2px;top:21px;background:#eee}
.scrubber-track span{display:block;width:calc(var(--progress)*100%);height:100%;background:#999}
.scrubber-mark{position:absolute;width:29px;height:29px;object-fit:contain;left:calc(15px + var(--progress)*(100% - 30px));top:7px;transform:translateX(-50%);pointer-events:none}
#project-progress{position:absolute;inset:0;width:100%;height:44px;margin:0;opacity:0;cursor:ew-resize;touch-action:pan-y}
.project-scrubber:has(input:focus-visible){outline:1px solid #111;outline-offset:3px}
.project-close{display:flex;align-items:center;gap:14px;min-height:44px;font-size:12px;white-space:nowrap}
.close-icon{width:30px;height:30px;border:1px solid #ddd;border-radius:50%;display:grid;place-items:center;font-size:22px;line-height:1;transition:background .2s,color .2s}
.project-close:hover .close-icon,.project-close:focus-visible .close-icon{background:#111;color:#fff;border-color:#111}
#strip{padding-top:80px}.panel{scroll-margin-top:85px!important}
.statement{min-height:65svh;display:flex;align-items:center;margin:0 8% 140px;scroll-margin-top:85px}
.statement h2{font:700 clamp(44px,6.5vw,100px)/1.02 "neue-haas-grotesk-display",Arial,sans-serif;letter-spacing:-.035em;margin:0;max-width:100%;opacity:0;transform:translateY(24px);transition:opacity .7s,transform .7s}
.statement h2 span{color:#858585}.statement.is-visible h2{opacity:1;transform:none}
#verejnost{justify-content:flex-end;text-align:right}
#vztahy .image{grid-column:1/10}#vztahy .caption{grid-column:10/13;top:24vh}
#otevirani .image{grid-column:4/13;aspect-ratio:1.3}
#rez .image{grid-column:1/13}#rez .caption{grid-column:1/4;grid-row:2;position:static;margin-top:15px}
#podlazi .image{max-height:90svh}#podlazi .image img{max-height:90svh;object-fit:contain}
@media(max-width:760px){header{padding:0 15px;gap:14px;height:60px}.project-close{gap:7px}.project-close span:first-child{font-size:11px}#back-start{font-size:11px}.scrubber-mark{width:25px;height:25px;top:9px}.statement{min-height:50svh;margin:30px 0 70px}.statement h2{font-size:clamp(36px,9.5vw,60px);letter-spacing:-.025em}#strip{padding-top:60px}#vztahy .image{width:100%}#otevirani .image{width:100%;aspect-ratio:1.3}#rez .caption{margin-top:20px}#podlazi .image,#podlazi .image img{max-height:75svh}}
html.scrubbing{scroll-behavior:auto}
@media(prefers-reduced-motion:reduce){.statement h2{opacity:1;transform:none;transition:none}.close-icon{transition:none}}

/* Transparent navigation; the start is the left endpoint of the timeline. */
header{background:transparent;gap:30px;pointer-events:none}
header>*{pointer-events:auto}
header .project-close{margin:0!important;gap:8px;flex:0 0 auto}
.close-icon{border:0;border-radius:0;width:24px;height:32px;font-size:26px;font-weight:400}
.project-close:hover .close-icon,.project-close:focus-visible .close-icon{background:transparent;color:var(--accent-ink,var(--accent,#ff4f00))}
.project-close{filter:drop-shadow(0 0 5px white)}
.scrubber-track{background:#d7d7d7;box-shadow:0 0 5px white}.scrubber-track span{background:#444}.scrubber-mark{filter:drop-shadow(0 0 3px white)}
.statement h2{transition-duration:.45s}
@media(min-width:761px){
.panel .caption,#mezi-domy .caption,#soubor .caption,#vztahy .caption,#stroj .caption,#stroj-detail .caption,#ostrov .caption,#den-noc .caption,#vyhled .caption{top:85px;padding-top:0;align-self:start}
#mezi-domy .image{grid-column:1/10}#mezi-domy .caption{grid-column:10/13}
#soubor .image{grid-column:6/13}#soubor .caption{grid-column:2/5}
#vztahy .image{grid-column:1/10}#vztahy .caption{grid-column:10/13}
#podlazi .image{grid-column:4/13}#podlazi .caption{grid-column:1/4}
#stroj .image{grid-column:1/10}#stroj .caption{grid-column:10/13}
#stroj-detail .image{grid-column:6/12}#stroj-detail .caption{grid-column:2/5}
#vyuziti .image{grid-column:1/9}#vyuziti .caption{grid-column:10/13}
#ostrov .image{grid-column:4/13}#ostrov .caption{grid-column:1/4}
#otevirani .image{grid-column:1/10}#otevirani .caption{grid-column:10/13}
#prizemi .image{grid-column:5/12}#prizemi .caption{grid-column:2/5}
#ostrov-podlazi .image{grid-column:2/9}#ostrov-podlazi .caption{grid-column:10/13}
#den-noc .image{grid-column:4/13}#den-noc .caption{grid-column:1/3}
#vyhled .image{grid-column:2/9}#vyhled .caption{grid-column:10/13}
#byty .image{grid-column:5/12}#byty .caption{grid-column:1/4}
}
.media-archive{margin-top:130px;padding-top:35px;border-top:1px solid #ddd}
.media-archive h2{font:500 28px/1.1 "neue-haas-grotesk-display",Arial,sans-serif;margin:0 0 10px}
.media-archive>p{margin:0 0 30px}
.archive-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:35px}
.archive-filters button{padding:9px 13px;color:#707070;border-radius:2px;font-size:12px}
.archive-filters button[aria-pressed="true"]{background:#111;color:white}
.archive-filters button span{margin-left:8px;opacity:.65}
#archive-count{margin-left:auto;font-size:11px;color:#707070}
#archive-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:50px 30px}
.archive-item{min-width:0;display:flex;flex-direction:column;gap:12px}
.archive-item img{height:auto;width:100%;aspect-ratio:4/3;object-fit:contain;background:transparent;transition:opacity .15s}
.archive-item:hover img{opacity:.8}.archive-item span{margin:0;font-size:11px;color:#666;line-height:1.4}
@media(max-width:760px){header{gap:18px}.project-close span:last-child{font-size:11px}.media-archive{margin-top:70px;padding-top:25px}.archive-filters{gap:3px;margin-bottom:25px}.archive-filters button{padding:8px;font-size:11px}#archive-count{width:100%;margin-top:8px}#archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 16px}.archive-item span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.statement h2,.archive-item img{transition:none}}

/* Quiet images retain their original scale, position and surrounding space. */
.panel.image-only .caption{display:none!important}

/* Compact archive previews; full resolution remains in the viewer. */
#archive-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:34px 28px}
.archive-item img{height:150px;aspect-ratio:auto;object-fit:contain}
@media(min-width:1600px){#archive-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:760px){#archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}.archive-item img{height:105px}}

/* Two quiet interior views follow the flexible floor plans. */
#hala-fasada .image{grid-column:1/12}#hala-galerie .image{grid-column:5/13}
@media(max-width:760px){#hala-fasada .image{width:calc(100% + 30px);margin-left:-15px}#hala-galerie .image{width:90%;margin-left:auto}}

/* Kloboučnická: the TEST6 system, composed for photographs. */
#pruhled .image{grid-column:1/10}#pruhled .caption{grid-column:10/13}#vstup .image{grid-column:8/12}#vstup .caption{grid-column:1/4}#odraz .image{grid-column:2/5}#odraz .caption{grid-column:1/4}#kuchyn .image{grid-column:4/11}#kuchyn .caption{grid-column:1/4}#obytny-prostor .image{grid-column:1/12}#obytny-prostor .caption{grid-column:10/13}#zelena .image{grid-column:8/12}#zelena .caption{grid-column:1/4}#pracovni-plocha .image{grid-column:2/6}#pracovni-plocha .caption{grid-column:1/4}#linka .image{grid-column:7/12}#linka .caption{grid-column:1/4}#deska .image{grid-column:2/6}#deska .caption{grid-column:1/4}#vecer .image{grid-column:3/13}#vecer .caption{grid-column:1/4}#koupelna .image{grid-column:4/11}#koupelna .caption{grid-column:1/4}#sprcha .image{grid-column:2/8}#sprcha .caption{grid-column:1/4}#umyvadlo .image{grid-column:9/12}#umyvadlo .caption{grid-column:1/4}#pokoj .image{grid-column:6/10}#pokoj .caption{grid-column:1/4}#zatisi .image{grid-column:2/5}#zatisi .caption{grid-column:1/4}#stin .image{grid-column:8/12}#stin .caption{grid-column:1/4}
#material{justify-content:flex-end;text-align:right}.intro h1{max-width:850px}.panel .image img{height:auto}.sequence-panel .image img{height:100%}
@media(max-width:760px){.panel .image{width:90%;margin-left:auto}#pruhled .image,#obytny-prostor .image,#vecer .image{width:calc(100% + 30px);margin-left:-15px}#odraz .image,#svetlo .image,#sprcha .image{width:80%;margin-left:0}.intro h1{font-size:36px}.panel .caption{max-width:310px}}
/* Smaller photographic pauses, distinct from the large room views. */
@media(max-width:760px){#odraz .image,#umyvadlo .image,#zatisi .image{width:55%}#odraz .image,#zatisi .image{margin-left:0}#umyvadlo .image{margin-left:auto}#deska .image,#pracovni-plocha .image{width:68%;margin-left:0}#pokoj .image{width:64%;margin-left:auto}#vstup .image,#stin .image{width:72%;margin-left:auto}#linka .image{width:83%;margin-left:auto}}

#svitidlo-detail .image{grid-column:8/11}@media(max-width:760px){#svitidlo-detail .image{width:55%;margin-left:auto}}

/* Independent photographs; only the three principal room views exceed a viewport. */
#pruhled .image{width:94%}
#zrcadlo .image{grid-column:6/11}
#strip>.panel:where(:not(#pruhled):not(#obytny-prostor):not(#vecer)) .image{width:min(100%,calc(68svh * var(--ratio,.71409)));justify-self:start}
#strip>#vstup .image,#strip>#linka .image,#strip>#zelena .image,#strip>#umyvadlo .image,#strip>#svitidlo-detail .image,#strip>#zrcadlo .image{justify-self:end}
#strip>#odraz .image,#strip>#deska .image,#strip>#umyvadlo .image,#strip>#svitidlo-detail .image,#strip>#zatisi .image{width:min(100%,calc(50svh * .71409))}
#strip>#pokoj .image{width:min(100%,calc(58svh * .71409))}
#vstup,#odraz,#linka,#deska,#zelena,#svitidlo-detail,#umyvadlo,#pokoj,#zatisi,#zrcadlo{margin-top:210px;margin-bottom:210px}
@media(max-width:760px){
#pruhled .image{width:100%;margin-left:0}
#strip>.panel:where(:not(#pruhled):not(#obytny-prostor):not(#vecer)) .image{width:min(78%,calc(62svh * var(--ratio,.71409)))}
#strip>#odraz .image,#strip>#deska .image,#strip>#umyvadlo .image,#strip>#svitidlo-detail .image,#strip>#zatisi .image{width:min(52%,calc(46svh * .71409))}
#strip>#pokoj .image{width:min(60%,calc(52svh * .71409))}
#vstup,#odraz,#linka,#deska,#zelena,#svitidlo-detail,#umyvadlo,#pokoj,#zatisi,#zrcadlo{margin-top:110px!important;margin-bottom:120px!important}
}

/* Locked OMW language, with the existing photographic composition. */
#strip{overflow-anchor:none}
.panel .caption-title{margin-bottom:5px}
.panel .image img{object-position:center top}
.panel .caption-inner{max-width:none;padding-right:0}
.panel .frame-label{display:none}
@media(min-width:761px){
 #pruhled .image{width:100%}
 .panel .caption-title{margin-top:-3px}
 :is(#kuchyn,#koupelna) .caption{text-align:right;justify-content:flex-end}
 :is(#kuchyn,#koupelna) .caption-title{justify-content:flex-end}
 :is(#kuchyn,#koupelna) .caption p{margin-left:auto}
}
#project-progress{z-index:4;touch-action:none;cursor:grab}
#project-progress:active{cursor:grabbing}
header .project-scrubber,header .project-scrubber:has(input:focus-visible),header .project-scrubber input,header a.scrubber-mark:focus-visible{outline:none!important;box-shadow:none!important}
header .project-scrubber a.scrubber-mark{z-index:5;touch-action:none;user-select:none}
header a.scrubber-mark img{pointer-events:none;-webkit-user-drag:none}
.media-archive{margin-top:150px;padding-top:0;border:0}
.media-archive h2{font:700 clamp(44px,6.5vw,100px)/1.02 "neue-haas-grotesk-display",Arial,sans-serif;letter-spacing:-.035em;margin:0 0 44px}
.archive-item span{font:400 12px/1.4 "neue-haas-grotesk-text",Arial,sans-serif;color:#707070;text-align:left}
.archive-item:hover span,.archive-item:focus-visible span,#drawing-viewer button:hover,#drawing-viewer button:focus-visible{color:var(--accent-ink,var(--accent,#ff4f00))}

.project-ending{min-height:100svh;display:grid;grid-template-columns:1fr 1fr;gap:8%;padding:100px 5% 90px;align-items:start}
.project-ending .project-invitation{min-height:0;margin:0;padding:0;gap:28px;justify-content:flex-start}
.project-ending .project-invitation h2{font-size:clamp(40px,4.5vw,78px)}
.project-ending .credits{width:100%;max-width:none;margin:0;padding:0;align-self:start}
.project-ending .credits h2{font:700 clamp(26px,2.4vw,42px)/1.05 "neue-haas-grotesk-display",Arial,sans-serif;letter-spacing:-.025em;margin:0 0 24px}
.project-ending .credits dl{display:grid;grid-template-columns:1fr 1fr;gap:18px 25px}
.project-ending .credits dl>div{display:block;border:0;padding:0;font-size:12px;line-height:1.4}
.project-ending .credits dt{color:#707070;margin-bottom:3px}
.project-ending .credits dd{color:#111}
.project-ending .credits>a{display:inline-flex;font-size:13px;margin:0 0 30px;padding:8px 0;gap:20px}
.project-ending .credits>a:last-child{margin:28px 0 0}
.project-ending a:hover,.project-ending a:focus-visible{color:var(--accent-ink,var(--accent,#ff4f00));text-decoration:none}
/* Ordered rows pack without holes; restrained variation stays inside each cell. */
#podklady .archive-filters button{border:0;text-decoration:none!important;box-shadow:none}
#archive-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px}
#archive-grid .archive-item{grid-column:auto;min-height:0;gap:10px;justify-content:flex-end}
#archive-grid .archive-item img{height:clamp(150px,13vw,240px);width:100%;object-position:left bottom}
#archive-grid .archive-item:nth-child(7n+2) img{width:86%}
#archive-grid .archive-item.archive-wide{grid-column:span 2}
#archive-grid .archive-item.archive-wide img{height:clamp(140px,12vw,220px);width:100%}
@media(min-width:1900px){#archive-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(min-width:761px) and (max-width:1100px){
 #archive-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 #archive-grid .archive-item.archive-wide{grid-column:auto}
 .project-ending{gap:5%;padding-inline:2%}
 .project-ending .credits dl{grid-template-columns:1fr}
}
@media(max-width:760px){
 .caption-title,.caption p,.author-copy p{font-size:12px;line-height:17px}
 .panel .caption{margin-top:16px}
 .panel .caption-title{margin-top:-2px}
 .panel .caption-inner{max-width:40ch}
 .panel:has(.caption-more) .caption-inner{max-width:none}
 .caption .caption-more{min-width:44px;min-height:44px}
 #strip>#pohled-2{min-height:65svh;padding:100px 0;margin-bottom:60px!important}
 #pohled-2 .image{width:100%}
 .project-ending{display:block;padding:70px 0;min-height:100svh}
 .project-ending .project-invitation{margin:0 0 65px}
 .project-ending .credits{margin:0}
 .project-ending .credits dl{gap:18px}
 .project-ending .credits dl>div{font-size:11px}
 #archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 16px}
 #archive-grid .archive-item img{height:125px}
 #archive-grid .archive-item.archive-wide img{height:125px}
 #podklady .archive-filters{gap:8px 20px;margin-bottom:30px}
}

.project-ending .project-invitation h2 span{color:#858585}
@media(max-width:760px){
 #strip>.panel{gap:0}
 .panel .caption{margin-top:16px}
 .caption-title,.caption p{font-size:12px;line-height:17px}
 .panel .caption-title{margin-top:-2px}
 .panel .caption-inner{max-width:40ch}
 #kuchyn .caption,#koupelna .caption{width:min(78%,calc(62svh * var(--ratio,.71409)));margin-left:auto;max-width:none}
 .archive-item span{font-size:11px}
}

/* Closing still life fills the phone; retain the other photographic scales. */
@media(max-width:760px){
 #strip>#zatisi .image{width:calc(100% + 30px);margin-inline:-15px}
}

/* 337: restore a little more presence while keeping complete desktop photographs. */
@media(min-width:1101px){
 #strip>#pruhled{grid-template-columns:minmax(0,calc(88svh * var(--ratio))) minmax(0,300px);max-width:calc(88svh * var(--ratio) + 325px);margin-inline:auto}
 #strip>#pruhled .image{grid-column:1;width:100%}
 #strip>#pruhled .caption{grid-column:2;grid-row:1}
 #strip>#obytny-prostor .image,#strip>#vecer .image{width:min(100%,calc(88svh * var(--ratio)));justify-self:center}
}

/* /project-invitation.css */
.project-invitation{margin:130px 8% 70px;padding:70px 0;min-height:45svh;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:34px;scroll-margin-top:85px}.project-invitation h2{font:700 clamp(40px,5.8vw,88px)/1.04 "neue-haas-grotesk-display",Arial,sans-serif;letter-spacing:-.035em;margin:0}.project-invitation a{font:400 14px/1.4 "neue-haas-grotesk-text",Arial,sans-serif;display:inline-flex;gap:40px;padding:12px 0}.project-invitation a:hover{color:var(--accent-ink,var(--accent,#ff4f00))}.project-invitation a span{transition:transform .2s}.project-invitation a:hover span{transform:translate(4px,-4px)}@media(max-width:760px){.project-invitation{margin:70px 0 35px;padding:40px 0;min-height:0;gap:25px}.project-invitation h2{font-size:clamp(32px,8vw,55px)}.project-invitation a{font-size:13px}}@media(prefers-reduced-motion:reduce){.project-invitation a span{transition:none}}

/* /project-navigation.css */
/* Quiet shared project navigation. Visible affordances, no luminous halo. */
header .project-close{color:#777;font-size:11px;font-weight:400;filter:none;text-shadow:none;gap:6px;transition:color .18s ease}
header .project-close .close-icon{width:18px;height:32px;font-size:19px;font-weight:400;color:inherit;background:transparent;filter:none}
header .project-close:hover,header .project-close:focus-visible{color:#333}
header .project-close:hover .close-icon,header .project-close:focus-visible .close-icon{color:inherit;background:transparent}
header .scrubber-track{height:1px;top:21.5px;background:#ccc;box-shadow:none;opacity:.7}
header .scrubber-track span{background:#858585}
header .scrubber-mark{width:21px;height:21px;top:11.5px;filter:brightness(0);opacity:1;transition:filter .18s ease,opacity .18s ease}
header .project-scrubber:hover .scrubber-mark,header .project-scrubber:focus-within .scrubber-mark{filter:brightness(0);opacity:1}
header .project-scrubber:hover .scrubber-track,header .project-scrubber:focus-within .scrubber-track{opacity:1}
header .project-scrubber:has(input:focus-visible){outline:1px solid #888;outline-offset:1px}
@media(max-width:760px){header .scrubber-mark{width:19px;height:19px;top:12.5px}header .project-close span:last-child{font-size:10px}}
@media(prefers-reduced-motion:reduce){header .project-close,header .scrubber-mark{transition:none}}

/* The moving ink mark is the only project exit; the rail stays draggable. */
header a.scrubber-mark{display:block;pointer-events:auto;z-index:3;cursor:pointer}
header a.scrubber-mark img{display:block;width:100%;height:100%;object-fit:contain}
header a.scrubber-mark::before{content:"";position:absolute;inset:-12px}
header a.scrubber-mark:focus-visible{outline:1px solid #777;outline-offset:5px;border-radius:50%}

@media(max-width:760px), (pointer:coarse){
 .archive-filters button{min-height:44px}
 .credits>a{min-height:44px;display:inline-flex;align-items:center}
}

/* Archive selection follows the quiet text navigation. */
.media-archive .archive-filters{gap:8px 22px}
.media-archive .archive-filters button{background:transparent;color:#707070;border-radius:0;padding:8px 0;text-underline-offset:5px;text-decoration-thickness:1px}
.media-archive .archive-filters button[aria-pressed="true"]{background:transparent;color:#111;text-decoration:underline}
.media-archive .archive-filters button:hover{color:#111}
.media-archive .archive-filters button:focus-visible{outline:1px solid #777;outline-offset:3px}

/* /accessibility.css */
/* Keyboard-only route to content; absent from the visual composition at rest. */
.site-skip{position:fixed;left:16px;top:16px;z-index:2147483646;clip-path:inset(50%);opacity:0;pointer-events:none;padding:12px 18px;min-height:44px;box-sizing:border-box;background:#fff;color:#111;font:inherit;font-size:16px;line-height:1.25;text-decoration:underline;outline:2px solid currentColor;outline-offset:2px}
.site-skip:focus-visible{clip-path:none;opacity:1;pointer-events:auto}

/* Use a neutral double-contrast indicator even when a visitor selects a pale accent. */
header .project-scrubber:has(input:focus-visible),header a.scrubber-mark:focus-visible{outline:2px solid #111!important;outline-offset:4px!important;box-shadow:0 0 0 2px #fff!important}
#view:focus-visible,#light-view canvas:focus-visible{outline:2px solid #777;outline-offset:-4px}
#loading[role=button]:focus-visible{outline:2px solid #111;outline-offset:5px}

/* /kloboucnicka/behind-the-scenes/bts.css */
.bts .intro{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:0;min-height:90svh;height:auto;padding:100px 0 130px}
.bts .intro h1{font-size:55px;line-height:1;max-width:100%;text-align:center}
.bts .intro h1 span{margin-top:8px}
.bts a:hover{color:var(--accent-ink,var(--accent,#ff4f00))}
.bts-story{display:block}
.bts #strip>.bts-panel{--photo-height:72svh;--caption-width:300px;display:grid;grid-template-columns:var(--caption-width) minmax(0,1fr);gap:25px;align-items:start;width:min(92%,calc(var(--photo-height) * var(--ratio) + var(--caption-width) + 25px));max-width:none;height:auto;min-height:0;padding:0;margin:0 4% 85px auto!important}
.bts #strip>.bts-panel.hero{--photo-height:100svh}
.bts #strip>.bts-panel.small{--photo-height:44svh}
.bts #strip>.bts-panel .image{grid-column:2;grid-row:1;display:block;width:100%;height:auto;min-height:0;max-height:none;padding:0;margin:0;aspect-ratio:var(--ratio)}
.bts #strip>.bts-panel .image img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center top}
.bts #strip>.bts-panel .caption{grid-column:1;grid-row:1;position:sticky;top:85px;align-self:start;width:100%;max-width:none;text-align:right;margin:0;padding:0;display:block}
.bts #strip>.bts-panel .caption-title{justify-content:flex-end;margin-top:-3px}
.bts #strip>.bts-panel.left{grid-template-columns:minmax(0,1fr) var(--caption-width);margin-left:5%!important;margin-right:auto!important}
.bts #strip>.bts-panel.left .image{grid-column:1}
.bts #strip>.bts-panel.left .caption{grid-column:2;text-align:left}
.bts #strip>.bts-panel.left .caption-title{justify-content:flex-start}
.bts #strip>.bts-panel.center{margin-inline:auto!important}
.bts #strip>.bts-panel.image-only{display:block;width:min(84%,calc(var(--photo-height) * var(--ratio)))}
.bts #strip>.bts-panel.image-only .caption{display:none}
.bts #photo-8{margin-right:15%!important}
.bts #photo-29{margin-left:13%!important}
.bts #photo-37{margin-right:12%!important}
.bts .caption-inner{max-width:none;padding:0}
.bts .caption p{max-width:none;font-size:13px;line-height:18px}
.bts .caption [hidden]{display:none!important}
.bts .caption-more{position:relative;display:block;width:44px;height:44px;padding:0;margin:0 0 0 auto;font-size:0;line-height:1;color:inherit}
.bts .caption-more::before,.bts .caption-more::after{content:"";position:absolute;background:currentColor}
.bts .caption-more::before{width:20px;height:2px;right:0;top:9px}
.bts .caption-more::after{width:2px;height:20px;right:9px;top:0}
.bts .left .caption-more{margin-left:0;margin-right:auto}
.bts .left .caption-more::before{left:0;right:auto}
.bts .left .caption-more::after{left:9px;right:auto}
.bts .caption-more:hover,.bts .caption-more:focus-visible{color:var(--accent-ink,var(--accent,#ff4f00))}
.bts .caption-detail:focus{outline:none}
.bts .credits p{color:#707070;max-width:32ch;line-height:1.5;margin:0 0 25px}
.bts .project-ending{min-height:0;padding-top:100px;padding-bottom:65px}
.bts .media-archive{margin-top:45px}
@media(min-width:761px) and (max-width:1100px){
 .bts #strip>.bts-panel{--caption-width:220px}
 .bts #strip>.bts-panel.small{display:flex;flex-direction:column;width:min(65%,calc(var(--photo-height) * var(--ratio)));gap:16px}
 .bts #strip>.bts-panel.small .caption{position:static;text-align:left}
 .bts #strip>.bts-panel.small .caption-title{justify-content:flex-start}
 .bts #strip>.bts-panel.small .caption-more{margin-left:0;margin-right:auto}
 .bts #strip>.bts-panel.small .caption-more::before{left:0;right:auto}
 .bts #strip>.bts-panel.small .caption-more::after{left:9px;right:auto}
}
@media(max-width:760px){
 .bts .intro{min-height:82svh;padding:90px 0 100px}
 .bts .intro h1{font-size:clamp(34px,9vw,38px)}
 .bts .intro h1 span{font-size:inherit}
 .bts #strip>.bts-panel,.bts #strip>.bts-panel.left,.bts #strip>.bts-panel.center,.bts #strip>.bts-panel.image-only{display:flex;flex-direction:column;gap:0;width:100%;margin:0 0 65px!important}
 .bts #strip>.bts-panel .image,.bts #strip>.bts-panel .caption{width:88%;align-self:flex-end}
 .bts #strip>.bts-panel.hero .image,.bts #strip>.bts-panel.hero .caption{width:100%}
 .bts #strip>.bts-panel.small .image,.bts #strip>.bts-panel.small .caption{width:62%}
 .bts #strip>.bts-panel.left .image,.bts #strip>.bts-panel.left .caption{align-self:flex-start}
 .bts #strip>.bts-panel.center .image,.bts #strip>.bts-panel.center .caption{align-self:center}
 .bts #strip>.bts-panel .caption{position:static;text-align:left;max-width:none;margin:16px 0 0;padding:0}
 .bts #strip>.bts-panel .caption-title{justify-content:flex-start;margin-top:-2px}
 .bts .caption-title,.bts .caption p{font-size:12px;line-height:17px}
 .bts .caption-more{margin-left:0;margin-right:auto}
 .bts .caption-more::before{left:0;right:auto}
 .bts .caption-more::after{left:9px;right:auto}
 .bts .project-ending{padding-top:35px;padding-bottom:30px}
 .bts .project-ending .project-invitation{margin-bottom:35px}
 .bts .media-archive{margin-top:35px}
}
@media(max-width:760px){
 .bts #strip #strip>.bts-panel{margin:0 0 65px!important}
}

/* A full quiet screen between the story and the complete archive. */
.bts .project-ending{box-sizing:border-box;min-height:100svh;padding:18svh 5%;align-items:center}
.bts .project-ending .credits{align-self:center}
.bts .media-archive{margin-top:12svh}
.bts #archive-grid{align-items:end;gap:42px 28px}
.bts #archive-grid .archive-item{justify-self:start;width:100%;align-items:flex-start;justify-content:flex-end}
.bts #archive-grid .archive-item img{width:auto;max-width:100%;height:clamp(150px,15vw,260px);object-fit:contain;object-position:left bottom}
.bts #archive-grid .archive-item:nth-child(5n+2){width:72%;justify-self:end}
.bts #archive-grid .archive-item:nth-child(5n+2) img{height:clamp(100px,10vw,175px)}
.bts #archive-grid .archive-item:nth-child(7n+4){width:85%;justify-self:center;padding-bottom:26px}
.bts #archive-grid .archive-item:nth-child(7n+4) img{height:clamp(120px,12vw,210px)}
.bts #archive-grid .archive-item:nth-child(9n+1){padding-bottom:18px}
@media(max-width:760px){
 .bts .project-ending{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:clamp(44px,9svh,90px);min-height:100svh;padding:12svh 0}
 .bts .project-ending .project-invitation{margin:0}
 .bts .project-ending .credits{align-self:stretch}
 .bts .project-ending .credits>a:last-child{margin:15px 0 0}
 .bts #archive-grid{gap:30px 18px}
 .bts #archive-grid .archive-item img{height:clamp(145px,44vw,210px)}
 .bts #archive-grid .archive-item:nth-child(5n+2) img{height:clamp(95px,29vw,145px)}
 .bts #archive-grid .archive-item:nth-child(7n+4) img{height:clamp(115px,35vw,175px)}
}
.bts .project-ending .credits{height:auto;min-height:0}
.bts .project-ending .credits{flex:0 0 auto}
/* The image itself, rather than its empty frame, defines the caption width. */
.bts #archive-grid .archive-item.caption-short{width:65%}
.bts #archive-grid .archive-item.caption-medium{width:82%}
.bts #archive-grid .archive-item.caption-long{width:100%}
.bts #archive-grid .archive-item img{width:100%;height:auto;max-width:100%;aspect-ratio:auto}
.bts #archive-grid .archive-item span{width:100%;max-width:100%;overflow-wrap:anywhere}
.bts #archive-grid .archive-item:is(.caption-short,.caption-medium,.caption-long) img{height:auto;width:100%}

/* /project-layout/common.css */
/* Locked OMW presentation system, scoped to this project. */

#strip{overflow-anchor:none}
.panel .caption-title{margin-bottom:5px}
.panel .image img{object-position:center top}
.panel .caption-inner{max-width:none;padding-right:0}
.panel .frame-label{display:none}

#project-progress{z-index:4;touch-action:none;cursor:grab}
#project-progress:active{cursor:grabbing}
header .project-scrubber,header .project-scrubber:has(input:focus-visible),header .project-scrubber input,header a.scrubber-mark:focus-visible{outline:none!important;box-shadow:none!important}
header .project-scrubber a.scrubber-mark{z-index:5;touch-action:none;user-select:none}
header a.scrubber-mark img{pointer-events:none;-webkit-user-drag:none}
.media-archive{margin-top:150px;padding-top:0;border:0}
.media-archive h2{font:700 clamp(44px,6.5vw,100px)/1.02 "neue-haas-grotesk-display",Arial,sans-serif;letter-spacing:-.035em;margin:0 0 44px}
.archive-item span{font:400 12px/1.4 "neue-haas-grotesk-text",Arial,sans-serif;color:#707070;text-align:left}
.archive-item:hover span,.archive-item:focus-visible span,#drawing-viewer button:hover,#drawing-viewer button:focus-visible{color:var(--accent-ink,var(--accent,#ff4f00))}

.project-ending{min-height:100svh;display:grid;grid-template-columns:1fr 1fr;gap:8%;padding:100px 5% 90px;align-items:start}
.project-ending .project-invitation{min-height:0;margin:0;padding:0;gap:28px;justify-content:flex-start}
.project-ending .project-invitation h2{font-size:clamp(40px,4.5vw,78px)}
.project-ending .credits{width:100%;max-width:none;margin:0;padding:0;align-self:start}
.project-ending .credits h2{font:700 clamp(26px,2.4vw,42px)/1.05 "neue-haas-grotesk-display",Arial,sans-serif;letter-spacing:-.025em;margin:0 0 24px}
.project-ending .credits dl{display:grid;grid-template-columns:1fr 1fr;gap:18px 25px}
.project-ending .credits dl>div{display:block;border:0;padding:0;font-size:12px;line-height:1.4}
.project-ending .credits dt{color:#707070;margin-bottom:3px}
.project-ending .credits dd{color:#111}
.project-ending .credits>a{display:inline-flex;font-size:13px;margin:0 0 30px;padding:8px 0;gap:20px}
.project-ending .credits>a:last-child{margin:28px 0 0}
.project-ending a:hover,.project-ending a:focus-visible{color:var(--accent-ink,var(--accent,#ff4f00));text-decoration:none}
/* Ordered rows pack without holes; restrained variation stays inside each cell. */
#podklady .archive-filters button{border:0;text-decoration:none!important;box-shadow:none}
#archive-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px}
#archive-grid .archive-item{grid-column:auto;min-height:0;gap:10px;justify-content:flex-end}
#archive-grid .archive-item img{height:clamp(150px,13vw,240px);width:100%;object-position:left bottom}
#archive-grid .archive-item:nth-child(7n+2) img{width:86%}
#archive-grid .archive-item.archive-wide{grid-column:span 2}
#archive-grid .archive-item.archive-wide img{height:clamp(140px,12vw,220px);width:100%}
@media(min-width:1900px){#archive-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(min-width:761px) and (max-width:1100px){
 #archive-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 #archive-grid .archive-item.archive-wide{grid-column:auto}
 .project-ending{gap:5%;padding-inline:2%}
 .project-ending .credits dl{grid-template-columns:1fr}
}
@media(max-width:760px){
 .caption-title,.caption p,.author-copy p{font-size:12px;line-height:17px}
 .panel .caption{margin-top:16px}
 .panel .caption-title{margin-top:-2px}
 .panel .caption-inner{max-width:40ch}
 .panel:has(.caption-more) .caption-inner{max-width:none}
 .caption .caption-more{min-width:44px;min-height:44px}
 #strip>#pohled-2{min-height:65svh;padding:100px 0;margin-bottom:60px!important}
 #pohled-2 .image{width:100%}
 .project-ending{display:block;padding:70px 0;min-height:100svh}
 .project-ending .project-invitation{margin:0 0 65px}
 .project-ending .credits{margin:0}
 .project-ending .credits dl{gap:18px}
 .project-ending .credits dl>div{font-size:11px}
 #archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 16px}
 #archive-grid .archive-item img{height:125px}
 #archive-grid .archive-item.archive-wide img{height:125px}
 #podklady .archive-filters{gap:8px 20px;margin-bottom:30px}
}

.project-ending .project-invitation h2 span{color:#858585}
@media(max-width:760px){
 #strip>.panel{gap:0}
 .panel .caption{margin-top:16px}
 .caption-title,.caption p{font-size:12px;line-height:17px}
 .panel .caption-title{margin-top:-2px}
 .panel .caption-inner{max-width:40ch}

 .archive-item span{font-size:11px}
}

@media(min-width:761px){.panel .caption-title{margin-top:-3px}}
#podklady .archive-filters button{background:none;border:0;border-radius:0;text-decoration:none;color:#707070;padding:8px 0}
#podklady .archive-filters{gap:14px 30px}
#podklady .archive-filters button[aria-pressed="true"],#podklady .archive-filters button:hover,#podklady .archive-filters button:focus-visible{color:var(--accent-ink,var(--accent,#ff4f00))}


/* /project-layout/layout.css */
/* OMW 2 November 2026: shared geometry; calibrated at 2560 × 1440. */
#strip{--intro-inset:25px;--intro-gap:25px;overflow-anchor:none;padding-top:0}
#strip>.intro{position:relative;display:block;min-height:0;height:calc(2 * 100dvh / 3 - 25px / 3 + 50px / 3);padding:0;margin:0}
#strip>.intro h1{position:absolute;top:calc(100dvh / 3 + 25px / 3 - 25px / 6);left:0;width:100%;max-width:none;margin:0;padding:0;transform:translateY(-50%);font:700 min(55px,3.65vw)/1 "neue-haas-grotesk-display",Arial,sans-serif;letter-spacing:-.025em;text-align:center}
#strip>.intro h1 span{display:block;color:#858585;white-space:nowrap}
#strip>.intro h1 .intro-name{color:#000}
.project-ending .project-facts{display:grid;grid-template-columns:1fr 1fr;gap:25px}
.project-ending .project-facts dl{display:flex;flex-direction:column;gap:18px;margin:0}
@media(min-width:761px){
 #strip{display:block;height:auto;overflow:visible;padding-inline:25px;padding-bottom:90px}
 #strip>.panel,#strip>.statement,#strip>.plan-pair,#strip>.entry-pair,#strip>.bath-pair,#strip>.bts-teaser,#strip>.project-ending,#strip>.media-archive{margin:0!important;min-height:0;padding:0;max-width:none;width:100%}
 #strip>.panel{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:auto;gap:25px;align-items:start}
 #strip>.panel .image{grid-column:var(--image-start)/var(--image-end);grid-row:1;width:100%;max-width:none;height:auto;max-height:none;margin:0;aspect-ratio:var(--ratio,auto);justify-self:stretch}
 #strip>.panel .image img{width:100%;height:auto;max-height:none;object-fit:contain;object-position:left top;transform:none}
 #strip>.panel.sequence-panel .image img{height:100%;object-position:left top}
 #strip>.panel .caption{grid-column:var(--text-start,10)/var(--text-end,13);grid-row:1;position:sticky;top:85px;align-self:start;margin:0;padding:0;width:100%;max-width:none;text-align:left;justify-content:flex-start;border:0}
 #strip>.panel .caption-inner{position:static;max-width:none;width:100%;padding:0}
 #strip>.panel .caption-title{justify-content:flex-start;font:500 13px/18px "neue-haas-grotesk-text",Arial,sans-serif;margin-top:-3px;margin-bottom:5px}
 #strip>.panel .caption p{font:400 13px/18px "neue-haas-grotesk-text",Arial,sans-serif;max-width:48ch;margin-left:0;color:#707070}
 #strip>.panel[data-text-side="left"] .caption{text-align:right;justify-content:flex-end}
 #strip>.panel[data-text-side="left"] .caption-title{justify-content:flex-end}
 #strip>.panel[data-text-side="left"] .caption p{margin-left:auto}
 #strip>.statement{display:flex;align-items:flex-start;padding-inline:calc((100% + 25px)/12)}
 #strip>.statement h2{font:700 clamp(44px,6.5vw,100px)/1.02 "neue-haas-grotesk-display",Arial,sans-serif;letter-spacing:-.035em}
 #strip>.plan-pair,#strip>.entry-pair,#strip>.bath-pair{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:25px;align-items:start}
 #strip>:is(.plan-pair,.entry-pair,.bath-pair)>.panel{grid-column:2/6;padding:0!important;margin:0!important}
 #strip>:is(.plan-pair,.entry-pair,.bath-pair)>.panel:nth-child(2){grid-column:8/12}
 #strip>:is(.plan-pair,.entry-pair,.bath-pair) .image{width:100%;max-width:none;height:auto;margin:0;max-height:none}
 #strip>:is(.plan-pair,.entry-pair,.bath-pair) .image img{width:100%;height:auto;max-height:none;object-position:top}
 #strip>.bts-teaser>a{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:25px;align-items:start}
 #strip>.bts-teaser img{grid-column:2/6;max-height:none;width:100%;object-position:left top}
 #strip>.bts-teaser a>div{grid-column:8/12}
 #strip>.project-ending{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:25px;align-items:start}
 .project-ending .project-invitation{grid-column:2/7;grid-row:1}
 .project-ending .credits{grid-column:8/13;grid-row:1}
 #strip>.media-archive{border:0;transform:none}
 #archive-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:32px 24px}
}
@media(max-width:760px){
 #strip{--intro-inset:15px}
 #strip>.intro{height:calc(2 * 100dvh / 3 - 15px / 3 + 50px / 3)}
 #strip>.intro h1{top:calc(100dvh / 3 + 15px / 3 - 25px / 6);font-size:clamp(22px,6vw,38px)}
 .project-ending .project-facts{grid-template-columns:1fr;gap:18px}
}
@media(min-width:761px){
 #strip>.panel[id]{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:auto;min-height:0;padding:0;max-width:none}
 #strip>.panel[id] .image{grid-column:var(--image-start)/var(--image-end);width:100%;max-width:none;max-height:none;height:auto;margin:0;justify-self:stretch}
 #strip>.panel[id] .image img{max-height:none}
 #strip>.panel[id] .caption{grid-column:var(--text-start,10)/var(--text-end,13);grid-row:1}
 #strip>.media-archive h2{margin-bottom:0}
}
/* Resolve legacy ID rules so frames follow the explicit column map. */
@media(min-width:761px){
 #strip>.panel[id]{display:grid!important;min-height:0!important;padding:0!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;max-width:none!important}
 #strip>.panel[id] .image{grid-column:var(--image-start)/var(--image-end)!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;justify-self:stretch!important}
 #strip>.panel[id] .image img{max-height:none!important}
 #strip>.panel[id] .caption{grid-column:var(--text-start,10)/var(--text-end,13)!important;grid-row:1!important}
 #archive-grid .archive-item{justify-content:flex-start}
}
@media(min-width:761px){#strip>#pudorys{margin:0!important;gap:25px!important}}

@media(min-width:761px){
.entry-refined{align-items:center!important}.entry-refined #plan-wardrobe{grid-column:2/6!important}.entry-refined #vstup{grid-column:8/12!important}
.light-pair{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:25px;align-items:start}
.light-pair #kuchyn{grid-column:2/10;display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:25px;margin:0!important;padding:0!important;width:100%!important;min-height:0!important}
.light-pair #kuchyn .image{grid-column:1/6!important;width:100%!important;margin:0!important;max-height:none!important}
.light-pair #kuchyn .caption{grid-column:6/9!important;grid-row:1!important}
.light-pair #svitidlo-detail{grid-column:10/13;width:100%!important;margin:0!important;padding:0!important;min-height:0!important}
.light-pair #svitidlo-detail .image{width:100%!important;max-height:none!important;margin:0!important}
.bath-pair{align-items:center!important}
.plan-pair .panel{position:relative!important}.plan-pair .caption{position:absolute!important;top:0!important;left:0!important;transform:translateX(-105%);width:150px!important;height:100%!important}.plan-pair .caption-inner{position:sticky;top:85px}
body:has(#pruhled) .bts-teaser .bts-copy{grid-column:6/12!important}
}
.sequence-panel .image{position:relative}.sequence-panel .sequence-next{position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:contain;opacity:0;pointer-events:none}

@media(min-width:761px){.light-pair #svitidlo-detail{display:block!important}.light-pair #svitidlo-detail .image{display:block!important}body:has(#pruhled) .bts-teaser a>div{grid-column:6/12!important}}

/* Final Kloboučnická additions, preserving the established 12 columns. */
@media(min-width:1025px){
.entry-refined #vstup{grid-column:2/6!important;grid-row:1}.entry-refined #plan-wardrobe{grid-column:8/12!important;grid-row:1}
#strip>#obnova h2{margin-left:auto;max-width:calc((100% + 25px)*5/12 - 25px);margin-right:calc((100% + 25px)/12)}
.material-pair,.door-pair{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:25px;align-items:center}
.material-pair #pruhled-koupelna,.door-pair #dvere-svetlo{grid-column:2/6}
.material-pair #material,.door-pair #pokoj{grid-column:8/12}
#strip .material-pair>.panel,#strip .door-pair>.panel{display:block!important;width:100%!important;padding:0!important;margin:0!important;min-height:0!important}
#strip .material-pair .image,#strip .door-pair .image{width:100%!important;height:auto!important;max-height:none!important;margin:0!important}
#strip .material-pair .image img,#strip .door-pair .image img{max-height:none!important}
.material-pair #material{margin:0!important;padding:0!important}.material-pair h2{font-size:clamp(44px,3.90625vw,100px)!important}
}
@media(max-width:1024px){.material-pair,.door-pair{display:block}.material-pair>.panel,.door-pair>.panel{margin-bottom:56px!important}}

/* /project-layout/entrance.css */
/* Shared entrance; no effect on title/grid geometry. */
.intro h1>.intro-reveal{display:block;color:inherit!important;white-space:normal!important;animation:project-enter .95s cubic-bezier(.2,.65,.25,1) both}
.statement h2,.author-reading{transition-duration:.95s!important;transition-timing-function:cubic-bezier(.2,.65,.25,1)!important}
@keyframes project-enter{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.intro-reveal{animation:none!important}.statement h2,.author-reading{transition:none!important}}

#podlazi .frame-label{display:block!important}

/* /kloboucnicka/behind-the-scenes/grid-layout.css */
/* BTS uses the same twelve-column composition as the finished project. */
@media(min-width:761px){
.bts #strip>.panel[id]{margin-inline:0!important}
.bts .intro{height:calc(25px + 8 * ((100svh - 25px) / 12));min-height:0;padding:0;display:block;position:relative}
.bts .intro h1{position:absolute;top:calc(25px + (100svh - 50px) / 3);transform:translateY(-50%);width:100%;max-width:none;margin:0;text-align:center;font-size:55px;line-height:55px}
.bts .intro h1 span{margin-top:0}
.bts #strip>.panel .caption-inner{position:static;transform:none!important}
.bts #strip>.panel.image-only .caption{display:none}
.bts .project-ending{min-height:0;padding:0;align-items:start}.bts .project-ending .credits{align-self:start}
.bts #archive-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:32px 24px;align-items:start}
.bts #archive-grid .archive-item:nth-child(n){width:100%;padding:0;justify-self:stretch;justify-content:flex-start}
.bts #archive-grid .archive-item:nth-child(n) img{width:100%;height:240px;object-fit:contain;object-position:left bottom}
}
@media(min-width:761px){
.bts #strip>.panel[id]{width:100%!important;max-width:none!important;display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:25px!important;margin-inline:0!important}
.bts #strip>.panel[id] .image{width:100%!important;grid-column:var(--image-start)/var(--image-end)!important;grid-row:1!important}
.bts #strip>.panel[id] .caption{grid-column:var(--text-start)/var(--text-end)!important;grid-row:1!important;text-align:left}
.bts #strip>.panel[id][data-text-side="left"] .caption{text-align:right}
}
@media(min-width:761px){.bts #strip>.panel[id]{margin-bottom:0!important}.bts #strip>.panel[id] .caption-title{justify-content:flex-start}.bts #strip>.panel[id][data-text-side="left"] .caption-title{justify-content:flex-end}}

/* /project-layout/mobile.css */
/* Phone/tablet presentation. Desktop composition remains defined by its own files. */
@media(max-width:1024px){
 html body{overflow-x:hidden;background-color:#fff}
 html body #strip#strip{box-sizing:border-box;display:block;width:100%;height:auto;min-height:0;margin:0;padding:0 25px 64px;overflow:visible;--mobile-space:56px}
 html body #strip#strip>.intro{position:relative;display:flex;align-items:center;justify-content:center;height:62svh;min-height:300px;max-height:560px;margin:0;padding:60px 0}
 html body #strip#strip>.intro h1{position:static;transform:none;width:100%;max-width:none;padding:0;margin:0;text-align:center;font-size:clamp(28px,7.2vw,46px);line-height:1.04;overflow-wrap:normal}
 html body #strip#strip>.intro h1 span{white-space:normal;margin:0}
 html body #strip#strip .panel[id]{box-sizing:border-box;display:flex!important;flex-direction:column;align-items:stretch;gap:0!important;width:100%!important;min-width:0;max-width:none!important;min-height:0!important;height:auto!important;padding:0!important;margin:0 0 var(--mobile-space)!important;transform:none!important}
 html body #strip#strip .panel[id] .image{box-sizing:border-box;display:block!important;position:relative;grid-column:auto!important;grid-row:auto!important;align-self:stretch!important;flex:none;width:100%!important;min-width:0;max-width:none!important;height:auto!important;min-height:0;max-height:none!important;aspect-ratio:auto;margin:0!important;padding:0;transform:none;overflow:hidden}
 html body #strip#strip .panel[id] .image img:not(.sequence-next){position:static;display:block;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;margin:0!important;transform:none!important;object-fit:contain;object-position:center}
 html body #strip#strip .panel[id].sequence-panel .image{aspect-ratio:var(--ratio)}
 html body #strip#strip .panel[id].sequence-panel .image img:not(.sequence-next){height:100%!important}
 html body #strip#strip .panel[id] .image>svg{width:100%;height:auto}
 html body #strip#strip .panel[id] .caption{position:static!important;grid-column:auto!important;grid-row:auto!important;align-self:stretch!important;display:block;width:100%!important;max-width:none!important;height:auto!important;padding:0!important;margin:16px 0 0!important;transform:none!important;border:0;text-align:left!important}
 html body #strip#strip .panel[id] .caption-inner{position:static!important;transform:none!important;width:100%!important;max-width:none!important;padding:0;margin:0}
 html body #strip#strip .panel[id] .caption-title{justify-content:flex-start!important;margin:0 0 6px;font:500 14px/19px "neue-haas-grotesk-text",Arial,sans-serif}
 html body #strip#strip .panel[id] .caption p{max-width:none;margin-left:0!important;font-size:14px;line-height:1.45;text-align:left!important}
 html body #strip#strip .panel[id].image-only .caption{display:none!important}
 html body #strip#strip .panel[id] .caption:empty{display:none!important}
 html body #strip#strip .caption-more{margin-left:0;margin-right:auto;min-width:44px;min-height:44px}
 html body #strip#strip :is(.plan-pair,.entry-pair,.bath-pair,.light-pair){display:flex!important;flex-direction:column;gap:0!important;width:100%!important;min-height:0!important;padding:0!important;margin:0!important}
 html body #strip#strip .entry-pair #vstup{order:0}html body #strip#strip .entry-pair #plan-wardrobe{order:1}
 html body #strip#strip .panel[id][data-mobile-small]{width:68%!important;align-self:flex-start!important;margin-left:0!important;margin-right:auto!important}
 html body #strip#strip .panel[id][data-mobile-small="right"]{align-self:flex-end!important;margin-left:auto!important;margin-right:0!important}
 html body #strip#strip>.statement{display:block;min-height:0;height:auto;padding:24px 0;margin:24px 0 64px!important;width:100%;max-width:none}
 html body #strip#strip>.statement h2{font-size:clamp(36px,9vw,64px);line-height:1.02;margin:0;max-width:100%}
 html body #strip#strip>.author-section{display:block;min-height:0;height:auto;width:100%;padding:0;margin:24px 0 64px!important}
 html body #strip#strip .author-reading{position:static;top:auto!important;display:block!important;width:100%;margin:0!important;--author-sign:140px}
 html body #strip#strip .author-copy{width:100%;max-width:none;margin-top:28px}
 html body #strip#strip>.bts-teaser{width:100%;min-height:0;padding:0;margin:16px 0 72px!important}
 html body #strip#strip>.bts-teaser>a{display:flex;flex-direction:column;gap:24px;width:100%}
 html body #strip#strip>.bts-teaser img{width:100%;height:auto;max-height:none;margin:0}
 html body #strip#strip>.bts-teaser h2{font-size:clamp(40px,10vw,64px);line-height:1}
 html body #strip#strip>.project-ending{display:flex;flex-direction:column;align-items:stretch;gap:56px;width:100%;min-height:0;height:auto;margin:32px 0 72px!important;padding:0}
 html body #strip#strip .project-invitation,html body #strip#strip .credits{width:100%;max-width:none;min-height:0;height:auto;margin:0;padding:0;align-self:stretch}
 html body #strip#strip .project-invitation h2{font-size:clamp(36px,9vw,64px);line-height:1.02}
 html body #strip#strip .credits h2{font-size:30px;line-height:1.1}
 html body #strip#strip .project-facts{grid-template-columns:1fr;gap:24px}
 html body #strip#strip>.media-archive{width:100%;min-height:0;margin:0!important;padding:0;transform:none!important}
 html body #strip#strip>.media-archive h2{font-size:clamp(36px,9vw,64px);line-height:1.05;margin:0 0 32px}
 html body #strip#strip #archive-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px;margin-top:0!important;align-items:start}
 html body #strip#strip #archive-grid .archive-item:nth-child(n){grid-column:auto;width:100%;padding:0;justify-self:stretch;justify-content:flex-start;align-items:stretch}
 html body #strip#strip #archive-grid .archive-item:nth-child(n) img{width:100%;max-width:100%;height:140px;object-fit:contain;object-position:left bottom}
 html body #strip#strip #archive-grid .archive-item span{font-size:12px;line-height:1.35;overflow-wrap:anywhere}
 html body #strip#strip #typicke .image{aspect-ratio:487/1080!important;overflow:hidden}
 html body #strip#strip #typicke .image img{position:absolute!important;left:50%;top:50%;width:221.765914%!important;max-width:none!important;height:auto!important;transform:translate(-50%,-50%) rotate(90deg)!important}
 .project-scrubber{left:25px!important;right:25px!important;width:auto!important}
}

/* /project-layout/responsive.css */
/* OMW v417 responsive system. Loaded only by the five calibrated presentations. */
.calibrated-project .project-ending .project-invitation>a,
.calibrated-project .project-ending .credits>a[href="/projekty/"]{color:var(--accent-ink,var(--accent,#ff4f00))}
.calibrated-project .project-invitation h2{opacity:0;transform:translateY(24px);transition:opacity .95s ease,transform .95s ease}
.calibrated-project .project-invitation.is-visible h2{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.calibrated-project .project-invitation h2{opacity:1;transform:none;transition:none}}
@media(min-width:1025px) and (max-width:2559px){
 .calibrated-project #strip>.statement{min-height:0;padding-block:0}
 .calibrated-project #strip>.statement h2{font-size:clamp(44px,3.90625vw,100px)}
 .calibrated-project #strip>.project-ending{min-height:0;padding:0;align-items:start}
 .calibrated-project .project-ending .project-invitation,.calibrated-project .project-ending .credits{min-height:0;padding-block:0}
 .calibrated-project .project-invitation h2{font-size:clamp(36px,3.44vw,88px)}
 .calibrated-project .project-ending .credits h2{font-size:clamp(26px,1.64vw,42px)}
 .calibrated-project #strip>.media-archive{padding-top:0;margin-top:0}
 .calibrated-project .media-archive h2{font-size:calc(100px * (100vw - 50px)/2510px);line-height:1.02}
 .calibrated-project .caption,.calibrated-project .project-facts dd{min-width:0;overflow-wrap:break-word}
 .calibrated-project .plan-pair .caption{width:calc((100vw - 25px)/12 - 25px)!important;transform:translateX(calc(-100% - 25px))}
 .calibrated-project .bts-teaser h2{font-size:clamp(36px,3.44vw,88px)}
}
@media(max-width:760px){
 html body.calibrated-project #strip#strip{padding-left:16px;padding-right:16px}
 body.calibrated-project .project-scrubber{left:16px!important;right:16px!important}
 html body.calibrated-project #strip#strip .panel[id] .caption-title{font-size:13.02px;line-height:17.67px}
 html body.calibrated-project #strip#strip .panel[id] .caption p{font-size:13.02px}
 html body.calibrated-project #strip#strip #archive-grid .archive-item span{font-size:11.16px}
}

@media(max-width:1024px){html body.calibrated-project #strip#strip .credits,html body.calibrated-project #strip#strip .project-invitation{flex:none}}

/* /final-ui.css */
/* Text arrows: same silhouette as the contact email, optical cap-height. */
html body .text-arrow,html body .contact-arrow{display:inline-block;flex:none;width:var(--arrow-height,.72em)!important;height:var(--arrow-height,.72em)!important;font-size:inherit!important;line-height:1;margin:0 0 0 .22em;vertical-align:baseline;background:currentColor;color:var(--accent-ink,var(--accent,#ff4f00));clip-path:polygon(0 88%,74% 14%,12% 14%,12% 0,100% 0,100% 88%,86% 88%,86% 26%,12% 100%);transform:rotate(var(--arrow-rotation,0deg))}
html body .text-arrow[data-light],html body .contact-arrow[data-light]{clip-path:polygon(0 94%,87% 7%,12% 7%,12% 0,100% 0,100% 88%,93% 88%,93% 13%,6% 100%)}
html body .arrow-host{align-items:baseline}
html body .social{align-items:center}.social .contact-arrow{--arrow-height:1em!important}
#uvod h1 .podhled-intro-reveal{display:block;color:inherit;animation:final-intro .95s cubic-bezier(.2,.65,.25,1) both}
#uvod h1 .podhled-intro-reveal>span{display:block;color:#858585;margin:0}
@keyframes final-intro{from{opacity:0;translate:0 24px}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:reduce){#uvod h1 .podhled-intro-reveal{animation:none}}
#uvod.project-intro h1>.podhled-intro-reveal{color:#000!important;margin:0!important}
@media(max-width:760px){#uvod.project-intro h1{font-size:clamp(28px,7.2vw,46px);line-height:1.04}}
.text-arrow,.contact-arrow{position:relative;top:var(--arrow-drop,0px)}

/* /archive-mosaic.css */
.media-archive #archive-grid{display:none!important;margin:0!important;height:0!important}
.archive-open{font:inherit;letter-spacing:inherit;line-height:inherit;color:inherit;border:0;background:none;padding:0;text-align:left;cursor:pointer}
.archive-open:focus-visible{outline:2px solid currentColor;outline-offset:8px}
#archive-gallery{position:fixed;inset:0;margin:0;padding:65px 25px 25px;width:100%;height:100dvh;max-width:none;max-height:none;border:0;background:#fff;overflow:auto;overscroll-behavior:contain;box-sizing:border-box}
#archive-gallery::backdrop{background:white}.archive-close{position:fixed;top:12px;right:16px;z-index:2;width:44px;height:44px;border:0;background:transparent;color:#111;font:300 36px/1 Arial;cursor:pointer}
#mosaic-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:14px;align-items:center;grid-auto-flow:row dense}
#mosaic-grid .archive-item{display:flex;justify-content:center;align-items:center;width:100%;height:clamp(140px,18svh,260px);border:0;padding:0;background:none;cursor:zoom-in}
#mosaic-grid .archive-item span{display:none}#mosaic-grid .archive-item img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;max-width:100%;max-height:100%;margin:0}
#mosaic-grid .archive-item:nth-child(7n+1){grid-column:span 2}#mosaic-grid .archive-item:nth-child(5n+3) img{width:80%;height:80%}
@media(max-width:1440px){#mosaic-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:1024px){#mosaic-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){#archive-gallery{padding:64px 16px 24px}#mosaic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#mosaic-grid .archive-item{height:180px}#mosaic-grid .archive-item:nth-child(7n+1){height:240px}}
#mosaic-grid .archive-item:nth-child(n){grid-column:auto;min-height:0;align-self:center;min-width:0;gap:0}
#mosaic-grid .archive-item:nth-child(7n+1){grid-column:span 2}

/* The modal owns its spacing; never inherit the former page archive offset. */
#mosaic-grid{margin:0!important}
html body.has-archive-mosaic #strip{padding-bottom:32px!important}
html body.has-archive-mosaic #strip>.project-ending{height:auto!important;min-height:0!important}

/* /project-ending.css */
/* Approved closing composition, shared by current project presentations. */
html body.has-project-ending.has-archive-mosaic #strip{padding-bottom:0!important}
.has-project-ending #strip>.ending-scene{
 box-sizing:border-box;min-height:100svh;display:flex;flex-direction:column;
 justify-content:center;gap:clamp(56px,8svh,116px);padding:clamp(64px,10svh,144px) 0;
 margin:clamp(80px,12svh,172px) 0 0;background:#fff;
}
.has-project-ending .ending-scene>.project-ending{
 display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:25px;
 width:100%;max-width:none;height:auto;min-height:0;margin:0!important;padding:0;align-items:start;
}
.has-project-ending .ending-scene .project-invitation{grid-column:2/7;grid-row:1}
.has-project-ending .ending-scene .credits{grid-column:8/13;grid-row:1}
.has-project-ending .ending-scene>.media-archive{
 box-sizing:border-box;width:auto;min-height:0;padding:0;border:0;
 margin:0 0 0 calc((100% + 25px)/12)!important;transform:none!important;
}
.has-project-ending .ending-scene>.media-archive h2{margin:0;line-height:1.02}
.has-project-ending.ending-in-view>header{visibility:hidden;pointer-events:none}
@media(max-width:1024px){
 .has-project-ending #strip>.ending-scene{justify-content:flex-start;padding:64px 0 40px;gap:56px;margin-top:56px}
 .has-project-ending .ending-scene>.project-ending{display:flex;flex-direction:column;gap:56px}
 .has-project-ending .ending-scene>.media-archive{margin:0!important}
 .has-project-ending .ending-scene>.media-archive h2{font-size:clamp(36px,9vw,64px);line-height:1.05}
}
/* Legacy horizontal-panel flex bases must not constrain the stacked ending. */
.has-project-ending .ending-scene .credits,.has-project-ending .ending-scene .project-invitation,
.has-project-ending .ending-scene>.project-ending,.has-project-ending .ending-scene>.media-archive{flex:none}
/* Keep both left-hand actions together, alongside the project facts. */
@media(min-width:1025px){
 .has-project-ending #strip>.ending-scene{
  display:grid;grid-template-columns:repeat(12,minmax(0,1fr));
  grid-template-rows:auto auto;column-gap:25px;row-gap:clamp(64px,7svh,100px);
  align-content:start;align-items:start;padding-top:clamp(120px,23.5svh,338px);
 }
 .has-project-ending .ending-scene>.project-ending{display:contents}
 .has-project-ending .ending-scene .project-invitation{grid-column:2/7;grid-row:1}
 .has-project-ending .ending-scene .credits{grid-column:8/13;grid-row:1/3}
 .has-project-ending .ending-scene>.media-archive{grid-column:2/7;grid-row:2;margin:0!important}
 .has-project-ending .ending-scene>.media-archive h2{font-size:clamp(36px,3.44vw,88px)}
}
@media(min-width:2560px){
 .has-project-ending .ending-scene>.media-archive h2{font-size:78px}
}
/* Center the complete closing composition within the desktop viewport. */
@media(min-width:1025px){
 .has-project-ending #strip>.ending-scene{align-content:center;padding-block:clamp(64px,10svh,144px)}
 .has-project-ending .ending-scene .credits{grid-column:8/12}
}
/* Explicit shared type and spacing prevent legacy project rules changing the closing screen. */
@media(min-width:1025px){
 html body.has-project-ending .ending-scene .project-invitation{
  display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;
  width:100%;min-height:0;height:auto;margin:0;padding:0!important;gap:28px;
 }
 html body.has-project-ending .ending-scene .project-invitation h2{
  font:700 clamp(36px,3.44vw,88px)/1.04 "neue-haas-grotesk-display",Arial,sans-serif;
  letter-spacing:-.035em;margin:0;
 }
 html body.has-project-ending .ending-scene .project-invitation h2 span{color:#858585}
 html body.has-project-ending .ending-scene .project-invitation>a{
  display:inline-flex;align-items:center;gap:40px;margin:0;padding:12px 0;
  font:400 14px/1.4 "neue-haas-grotesk-text",Arial,sans-serif;
  color:var(--accent-ink,var(--accent,#ff4f00));text-decoration:none;
 }
 html body.has-project-ending .ending-scene .credits{
  width:100%;max-width:none;min-height:0;height:auto;margin:0;padding:0!important;
  font:400 13px/18px "neue-haas-grotesk-text",Arial,sans-serif;
 }
 html body.has-project-ending .ending-scene .credits h2{
  font:700 clamp(26px,1.64vw,42px)/1.05 "neue-haas-grotesk-display",Arial,sans-serif;
  letter-spacing:-.025em;margin:0 0 24px;
 }
 html body.has-project-ending .ending-scene .credits p{color:#707070;max-width:48ch;margin:0 0 30px}
 html body.has-project-ending .ending-scene .credits>a{
  display:inline-flex;align-items:center;min-height:0;gap:20px;
  font:400 13px/18px "neue-haas-grotesk-text",Arial,sans-serif;
  margin:0 0 30px;padding:8px 0;text-decoration:none;
 }
 html body.has-project-ending .ending-scene .credits>a:last-child{margin:28px 0 0}
 html body.has-project-ending .ending-scene .credits>a[href="/projekty/"]{color:var(--accent-ink,var(--accent,#ff4f00))}
 html body.has-project-ending .ending-scene .project-facts{display:grid;grid-template-columns:1fr 1fr;gap:25px}
 html body.has-project-ending .ending-scene .project-facts dl{display:flex;flex-direction:column;gap:18px;margin:0;padding:0}
 html body.has-project-ending .ending-scene .project-facts dl>div{display:block;border:0;padding:0;font:400 12px/1.4 "neue-haas-grotesk-text",Arial,sans-serif}
 html body.has-project-ending .ending-scene .project-facts dt{color:#707070;margin:0 0 3px}
 html body.has-project-ending .ending-scene .project-facts dd{color:#111;margin:0}
 html body.has-project-ending .ending-scene>.media-archive h2{
  font:700 clamp(36px,3.44vw,88px)/1.02 "neue-haas-grotesk-display",Arial,sans-serif;letter-spacing:-.035em;
 }
 html body.ending-panel-mode .ending-scene{
  box-sizing:border-box;width:calc(100% - 50px);max-width:none;min-height:100svh;margin:0 25px;
  display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:auto;
  gap:25px;align-items:start;align-content:center;padding:clamp(64px,10svh,144px) 0;
 }
 html body.ending-panel-mode .ending-scene .credits{grid-row:1}
 html body.ending-panel-mode .ending-scene .project-invitation{grid-row:1}
 html body.ending-panel-mode .ending-scene .return-model{margin:24px 0 0;padding:8px 0;font:400 13px/18px "neue-haas-grotesk-text",Arial,sans-serif;color:#707070}
 html body.ending-panel-mode[data-phase="credits"]>header{visibility:hidden;pointer-events:none}
}
@media(min-width:2560px){
 html body.has-project-ending .ending-scene .project-invitation h2,
 html body.has-project-ending .ending-scene>.media-archive h2{font-size:78px}
}
/* Mobile reading order: facts, invitation, complete archive. */
@media(max-width:760px){
 .has-project-ending:not(.bts) .ending-scene .credits{order:0}
 .has-project-ending:not(.bts) .ending-scene .project-invitation{order:1}
 .has-project-ending.bts #strip>.ending-scene{box-sizing:border-box;min-height:100svh;justify-content:center;padding:112px 0 48px;gap:clamp(56px,12svh,100px)}
 .has-project-ending.bts .ending-scene>.project-ending{gap:20px}
 .has-project-ending.bts .ending-scene .project-invitation{padding:0!important;min-height:0;margin:0}
 .has-project-ending.bts .ending-scene .credits{padding:0!important;margin:0;min-height:0}
 .has-project-ending.bts .ending-scene .credits>a{margin:0;padding:10px 0;font-size:13px}
 .has-project-ending.bts .ending-scene .project-invitation h2{font-size:clamp(36px,9vw,54px);margin:0 0 24px}
 .has-project-ending.bts .ending-scene .project-invitation>a{margin:0;min-height:44px}
 .has-project-ending .door-pair #pokoj{width:100%!important;margin-left:0!important;margin-right:0!important}
 .has-project-ending .door-pair #pokoj .image{width:100%!important}
}

@media(min-width:1025px) and (max-width:1920px){
 .apartment-three #strip>.ending-scene{margin-top:6svh;padding-top:12svh}
}

/* Keep the two closing actions on the same lower edge on notebook screens. */
@media(min-width:1025px) and (max-width:1920px){
 html body.has-project-ending .ending-scene>.media-archive{align-self:end;padding-bottom:8px}
}
/* The prototype archive belongs alongside the final credits, not below them. */
@media(min-width:1025px){
 html body.ending-panel-mode .ending-scene .credits{grid-row:1/3}
 html body.ending-panel-mode .project-credits .prototype-all-mobile{grid-row:2;align-self:end;margin-top:32px;margin-bottom:8px}
}
