/* /shared.css */
:root{--accent:#ff4f00;--page-gutter:clamp(24px,4vw,80px);--mono:Menlo,Consolas,monospace}
button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a:focus-visible,button:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:disabled{cursor:default;opacity:.35}[hidden]{display:none!important}
header nav{display:flex;align-items:center;gap:28px;font:11px var(--mono)}header nav button{border:0;background:none;color:inherit;font:inherit;padding:12px 0;cursor:pointer}header nav button:hover{color:var(--accent)}
dialog{color:#111;background:#fff;border:1px solid #111;padding:64px 40px 40px;width:min(650px,calc(100vw - 32px));max-height:calc(100svh - 32px);overflow:auto}dialog::backdrop{background:#0007;backdrop-filter:blur(4px)}dialog .close{position:absolute;right:24px;top:18px;border:0;background:none;font:11px var(--mono);color:#111;padding:8px}dialog h2{font:400 32px/1.1 Arial;letter-spacing:-.03em;text-transform:none;margin:0 0 28px}dialog p{font:17px/1.5 Arial}dialog a{color:inherit;text-decoration:none}#contact>a{display:block;margin-top:20px;font:14px var(--mono)}.project-link{display:grid;gap:14px;border-top:1px solid;padding-top:24px;font:12px var(--mono)}.project-link strong{font:48px/1 Arial;letter-spacing:-.04em;color:var(--accent)}
@media(max-width:700px){header nav{gap:18px;font-size:10px}dialog{padding:60px 24px 30px}dialog h2{font-size:27px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Custom ink stays legible on white and on the two dark UI surfaces. */
#light-scene{--accent-ink:var(--accent-on-dark,var(--accent))}
#light-switch{box-shadow:0 0 0 1px #8888}

/* /project-header.css */
/* Same brand, dimensions and expanding barcode as the desk. */
body>header.chrome.project-header{position:fixed;inset:0 32px auto;height:84px;display:flex;align-items:center;justify-content:space-between;gap:0;padding:0;border:0;background:#fff;z-index:20;color:#111;text-shadow:none}
body>header.chrome #home{display:block;position:relative;padding:8px 0;line-height:0;color:#111;transition:color 360ms cubic-bezier(.4,0,.2,1);text-decoration:none}
body>header.chrome #home svg{display:block;width:98px;height:auto}body>header.chrome #home:hover,body>header.chrome #home:focus-visible{color:var(--accent-ink,var(--accent,#ff4f00))}
body>header.chrome #home::before{content:"";position:absolute;inset:-8px}
body>header.chrome nav.header-menu{position:relative;display:block;margin:0}
body>header.chrome #menu-toggle{display:flex;align-items:flex-end;justify-content:center;flex-direction:column;width:88px;min-height:44px;padding:4px 0;color:#777;transform:translateY(5px);background:none;border:0;transition:color 180ms ease}
#menu-toggle svg{width:88px;height:22px;display:block}#menu-toggle svg rect[height="28"]{height:20px}
body>header.chrome #menu-toggle:hover,body>header.chrome #menu-toggle:focus-visible,body>header.chrome #menu-toggle[aria-expanded=true]{color:var(--accent-ink,var(--accent,#ff4f00))}
#menu-panel{position:absolute;right:0;top:calc(100% + 12px)}
.project-contents{position:absolute;right:32px;top:84px;z-index:9}.project-contents .contents-toggle{display:block;color:#707070;font:10px Menlo,monospace;text-decoration:none;padding:8px 0}
#chapter-nav{top:116px}
@media(max-width:600px){body>header.chrome.project-header{left:20px;right:20px;height:72px}body>header.chrome #home svg{width:88px}.project-contents{right:20px;top:74px}}
@media(prefers-reduced-motion:reduce){body>header.chrome #home{transition:none}}

/* Touch navigation must never capture an interpolated shade of the selected ink. */
@media(max-width:760px),(hover:none),(pointer:coarse){
 body>header.chrome #home{transition:none}
 body>header.chrome #home:active{color:var(--accent-ink,var(--accent,#ff4f00))}
}

/* /menu-study.css */
/* Isolated menu studies; desk and aperture remain unchanged. */
body[data-menu-study] #menu-panel{background:transparent;border:0;box-shadow:none;padding:4px 0;min-width:110px;top:calc(100% + 12px)}
body[data-menu-study] > header.chrome #menu-panel button{font-family:neue-haas-grotesk-display,sans-serif;font-weight:500;font-size:16px;line-height:1.25;text-align:right;padding:10px 0;color:#111;white-space:nowrap;transition:color 160ms ease}
body[data-menu-study] > header.chrome #menu-panel button:hover,body[data-menu-study] > header.chrome #menu-panel button:focus-visible{color:var(--accent-ink,var(--accent,#ff4f00))}
body[data-menu-study="horizontal"] #menu-panel{top:5px;right:calc(100% + 28px);display:flex;align-items:center;gap:26px;min-width:0;height:44px;padding:0}
body[data-menu-study="horizontal"] #menu-panel[data-closed]{display:none}
body[data-menu-study="horizontal"] #menu-panel::before{top:0;bottom:0;left:100%;right:auto;width:30px;height:100%}
body[data-menu-study="horizontal"] > header.chrome #menu-panel button{width:auto;flex:none}
@media(max-width:540px){
body[data-menu-study="horizontal"] #menu-panel{top:calc(100% + 12px);right:0;gap:22px}
body[data-menu-study="horizontal"] #menu-panel::before{top:-18px;bottom:auto;left:0;right:0;width:auto;height:18px}
}

/* Horizontal study: a quiet reveal anchored to the barcode. */
body[data-menu-study="horizontal"] #menu-panel,
body[data-menu-study="horizontal"] #menu-panel[data-closed]{display:flex;visibility:hidden;opacity:0;pointer-events:none;transform:translateX(8px);clip-path:inset(0 0 0 100%);transition:opacity 180ms ease,transform 240ms cubic-bezier(.2,.7,.2,1),clip-path 240ms cubic-bezier(.2,.7,.2,1),visibility 0s linear 240ms}
body[data-menu-study="horizontal"] #menu-panel:not([data-closed]){visibility:visible;opacity:1;pointer-events:auto;transform:translateX(0);clip-path:inset(-18px -32px -8px -8px);transition-delay:0s}
@media(prefers-reduced-motion:reduce){body[data-menu-study="horizontal"] #menu-panel{transition:none;transform:none}}

/* Expanding barcode: four groups separate to reveal the navigation. */
body[data-menu-study="horizontal"] #menu-toggle{position:relative;z-index:2}
body[data-menu-study="horizontal"] #menu-toggle svg{opacity:0}
body[data-menu-study="horizontal"] #menu-panel,
body[data-menu-study="horizontal"] #menu-panel[data-closed]{display:flex;right:0;top:5px;gap:0;height:44px;min-width:88px;visibility:visible;opacity:1;transform:none;clip-path:none;transition:none;pointer-events:none;align-items:center}
body[data-menu-study="horizontal"] #menu-panel:not([data-closed]){pointer-events:auto}
body[data-menu-study="horizontal"] #menu-panel::before{display:none}
.menu-code-part{display:block;flex:0 0 22px;width:22px;height:22px;color:#777;transition:color 220ms ease}
.menu-code-part svg{display:block;width:22px;height:22px}
.menu-code-part svg rect[height="28"]{height:20px}
.menu-link-slot{display:block;overflow:hidden;max-width:0;opacity:0;visibility:hidden;transition:max-width 600ms cubic-bezier(.22,1,.36,1),opacity 220ms ease,visibility 0s linear 600ms}
body[data-menu-study="horizontal"] > header.chrome .menu-link-slot button{padding:12px 16px;transform:translateX(12px);transition:transform 600ms cubic-bezier(.22,1,.36,1),color 160ms ease}
#menu-panel:not([data-closed]) .menu-link-slot{max-width:110px;opacity:1;visibility:visible;transition:max-width 600ms cubic-bezier(.22,1,.36,1),opacity 300ms ease 140ms,visibility 0s}
#menu-panel:not([data-closed]) .menu-link-slot button{transform:translateX(0)}
#menu-panel:not([data-closed]) .menu-code-part{color:var(--accent-ink,var(--accent,#ff4f00))}
body[data-menu-study="horizontal"]:has(#menu-panel:not([data-closed])) #menu-toggle{pointer-events:none}
@media(max-width:540px){body[data-menu-study="horizontal"] > header.chrome .menu-link-slot button{padding-left:8px;padding-right:8px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.menu-link-slot,body[data-menu-study="horizontal"] > header.chrome .menu-link-slot button{transition:none}}
body[data-menu-study="horizontal"] #menu-panel .menu-link-slot{flex:0 0 auto}
body[data-menu-study="horizontal"] > header.chrome #menu-panel .menu-link-slot button{padding:12px 14px}
/* v91: visible resting barcode, expanding navigation with single dividers. */
body[data-menu-study="horizontal"] #menu-toggle svg{opacity:1;transition:opacity 180ms ease}
body[data-menu-study="horizontal"]:has(#menu-panel:not([data-closed])) #menu-toggle svg{opacity:0}
body[data-menu-study="horizontal"] #menu-panel .menu-code-part{position:relative;flex:0 0 auto;width:22px;opacity:0;transition:width 650ms cubic-bezier(.22,1,.36,1),opacity 180ms ease}
body[data-menu-study="horizontal"] #menu-panel .menu-code-part svg{display:none}
body[data-menu-study="horizontal"] #menu-panel .menu-code-part::after{content:"";position:absolute;right:0;top:1px;bottom:1px;width:1px;background:currentColor}
body[data-menu-study="horizontal"] #menu-panel:not([data-closed]) .menu-code-part{width:1px;opacity:1}
body[data-menu-study="horizontal"] #menu-panel .menu-link-slot{max-width:0;opacity:0;transition:max-width 650ms cubic-bezier(.22,1,.36,1),opacity 180ms ease,visibility 0s linear 650ms}
body[data-menu-study="horizontal"] #menu-panel:not([data-closed]) .menu-link-slot{max-width:120px;opacity:1;visibility:visible;transition:max-width 650ms cubic-bezier(.22,1,.36,1),opacity 350ms ease 180ms,visibility 0s}
body[data-menu-study="horizontal"] > header.chrome #menu-panel .menu-link-slot button{padding:12px 16px}
@media(prefers-reduced-motion:reduce){body[data-menu-study="horizontal"] #menu-panel .menu-link-slot,body[data-menu-study="horizontal"] #menu-panel .menu-code-part{transition:none}}
/* v92: let each barcode group visibly compress into a divider. */
body[data-menu-study="horizontal"] #menu-toggle svg{opacity:0;transition:none}
body[data-menu-study="horizontal"] #menu-panel .menu-code-part{opacity:1;width:22px;transition:width 1100ms cubic-bezier(.45,0,.2,1),color 400ms ease}
body[data-menu-study="horizontal"] #menu-panel .menu-code-part svg{display:block;width:100%;height:22px;opacity:1;transition:opacity 300ms ease}
body[data-menu-study="horizontal"] #menu-panel .menu-code-part::after{opacity:0;transition:opacity 300ms ease}
body[data-menu-study="horizontal"] #menu-panel:not([data-closed]) .menu-code-part{width:1px}
body[data-menu-study="horizontal"] #menu-panel:not([data-closed]) .menu-code-part svg{opacity:0;transition-delay:850ms}
body[data-menu-study="horizontal"] #menu-panel:not([data-closed]) .menu-code-part::after{opacity:1;transition-delay:800ms}
body[data-menu-study="horizontal"] #menu-panel .menu-link-slot{transition:max-width 1100ms cubic-bezier(.45,0,.2,1),opacity 350ms ease,visibility 0s linear 1100ms}
body[data-menu-study="horizontal"] #menu-panel:not([data-closed]) .menu-link-slot{transition:max-width 1100ms cubic-bezier(.45,0,.2,1),opacity 500ms ease 350ms,visibility 0s}
body[data-menu-study="horizontal"] > header.chrome #menu-panel .menu-link-slot button{transition:transform 1100ms cubic-bezier(.45,0,.2,1),color 160ms ease}
@media(prefers-reduced-motion:reduce){body[data-menu-study="horizontal"] #menu-panel .menu-code-part,body[data-menu-study="horizontal"] #menu-panel .menu-code-part svg,body[data-menu-study="horizontal"] #menu-panel .menu-code-part::after,body[data-menu-study="horizontal"] #menu-panel .menu-link-slot,body[data-menu-study="horizontal"] > header.chrome #menu-panel .menu-link-slot button{transition:none}}

/* Keep barcode and dividers grey throughout the menu animation. */
body[data-menu-study="horizontal"] #menu-panel .menu-code-part,
body[data-menu-study="horizontal"] #menu-panel:not([data-closed]) .menu-code-part{color:#777}
body[data-menu-study="horizontal"] > header.chrome #menu-toggle,
body[data-menu-study="horizontal"] > header.chrome #menu-toggle:hover,
body[data-menu-study="horizontal"] > header.chrome #menu-toggle:focus-visible,
body[data-menu-study="horizontal"] > header.chrome #menu-toggle[aria-expanded="true"]{color:#777}
/* Match the resting project-ribbon ink exactly. */
body[data-menu-study="horizontal"] > header.chrome #menu-panel .menu-link-slot button{color:#777}
body[data-menu-study="horizontal"] > header.chrome #menu-panel .menu-link-slot button:hover,
body[data-menu-study="horizontal"] > header.chrome #menu-panel .menu-link-slot button:focus-visible{color:var(--accent-ink,var(--accent,#ff4f00))}
/* v96: compare Light only; retain size, spacing and animation. */
body[data-menu-study="horizontal"] > header.chrome #menu-panel .menu-link-slot button{font-weight:400}

/* v98: tighter navigation spacing. */
body[data-menu-study="horizontal"] > header.chrome #menu-panel .menu-link-slot button{padding:12px 12px}
/* v99: retain the barcode transformation, fade out its final dividers. */
body[data-menu-study="horizontal"] #menu-panel .menu-code-part::after{opacity:1;transition:opacity 200ms ease}
body[data-menu-study="horizontal"] #menu-panel:not([data-closed]) .menu-code-part::after{opacity:0;transition:opacity 350ms ease 800ms}
/* v100: one continuous handoff from barcode to text, without a divider stage. */
body[data-menu-study="horizontal"] #menu-panel .menu-code-part{transition:width 850ms cubic-bezier(.4,0,.2,1),color 200ms ease}
body[data-menu-study="horizontal"] #menu-panel .menu-code-part::after,
body[data-menu-study="horizontal"] #menu-panel:not([data-closed]) .menu-code-part::after{opacity:0;transition:none}
body[data-menu-study="horizontal"] #menu-panel .menu-code-part svg{opacity:1;transition:opacity 550ms cubic-bezier(.4,0,.2,1) 100ms}
body[data-menu-study="horizontal"] #menu-panel:not([data-closed]) .menu-code-part svg{opacity:0;transition:opacity 600ms cubic-bezier(.4,0,.2,1)}
body[data-menu-study="horizontal"] #menu-panel .menu-link-slot{transition:max-width 850ms cubic-bezier(.4,0,.2,1),opacity 300ms ease,visibility 0s linear 850ms}
body[data-menu-study="horizontal"] #menu-panel:not([data-closed]) .menu-link-slot{transition:max-width 850ms cubic-bezier(.4,0,.2,1),opacity 500ms ease 180ms,visibility 0s}
body[data-menu-study="horizontal"] > header.chrome #menu-panel .menu-link-slot button{transform:none;transition:color 160ms ease}
@media(prefers-reduced-motion:reduce){body[data-menu-study="horizontal"] #menu-panel .menu-code-part,body[data-menu-study="horizontal"] #menu-panel .menu-code-part svg,body[data-menu-study="horizontal"] #menu-panel .menu-link-slot{transition:none}}
/* Orange recognition before the barcode dissolves. */
body[data-menu-study="horizontal"] #menu-panel:not([data-closed]) .menu-code-part{color:var(--accent-ink,var(--accent,#ff4f00));transition:width 850ms cubic-bezier(.4,0,.2,1) 160ms,color 120ms ease}
body[data-menu-study="horizontal"] #menu-panel:not([data-closed]) .menu-code-part svg{transition:opacity 600ms cubic-bezier(.4,0,.2,1) 160ms}
body[data-menu-study="horizontal"] #menu-panel:not([data-closed]) .menu-link-slot{transition:max-width 850ms cubic-bezier(.4,0,.2,1) 160ms,opacity 500ms ease 340ms,visibility 0s}

/* Keep the expanding menu clear of the logo on narrow phones. */
@media(max-width:380px){
 body[data-menu-study="horizontal"] > header.chrome #menu-panel .menu-link-slot button{font-size:13px;padding:12px 9px;min-height:44px}
}

/* Four destinations retain the original closed barcode width. */
body[data-menu-study="horizontal"] #menu-panel .menu-code-part{width:17.6px}
@media(max-width:760px){body[data-menu-study="horizontal"] #menu-panel{top:55px;right:0}body[data-menu-study="horizontal"] > header.chrome #menu-panel .menu-link-slot button{padding:12px 9px;font-size:13px}body[data-menu-study="horizontal"] #menu-panel:not([data-closed]){background:#fff}}

/* Mobile barcode expands alongside the logo, never into a second header row. */
@media(max-width:760px){
 body[data-menu-study="horizontal"] #menu-panel,
 body[data-menu-study="horizontal"] #menu-panel[data-closed]{top:5px;right:0}
 body[data-menu-study="horizontal"] > header.chrome #menu-panel .menu-link-slot button{font-size:13px;padding:12px 6px;min-height:44px}
}
@media(max-width:350px){
 body[data-menu-study="horizontal"] > header.chrome #home svg{width:72px}
 body[data-menu-study="horizontal"] > header.chrome #menu-panel .menu-link-slot button{font-size:11px;padding-inline:3px}
}

/* /po-svym/style.css */
*{box-sizing:border-box}html{background:#fff;color:#111}body{margin:0;font:400 13px/1.45 neue-haas-grotesk-text,Arial,sans-serif;font-synthesis:none}
body>header.chrome.project-header{background:transparent}
main{width:100%;max-width:1440px;height:min(100svh,900px);top:max(0px,calc((100svh - 900px)/2));position:relative;margin:auto}
.color-intro{position:absolute;top:clamp(180px,23%,245px);left:8%;width:max-content;max-width:88vw;z-index:1;pointer-events:none}.color-title{font:700 55px/1 neue-haas-grotesk-display,Arial,sans-serif;letter-spacing:-.025em;margin:0;text-align:right;color:#111}
.color-title span{display:block}.color-title .your-color{font-size:.78em;margin-top:.08em;color:#858585;transition:color 220ms ease;text-shadow:none}
.color-picker{position:fixed;inset:0}.presets{position:absolute;inset:0}.float-cell{display:contents}
.preset{position:absolute;left:0;top:0;display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 0;background:none;border:0;color:#707070;font:400 15px/1.2 neue-haas-grotesk-text,Arial,sans-serif;text-align:left;cursor:pointer;white-space:nowrap;will-change:transform}
.swatch{display:block;flex:0 0 25px;height:25px;background:var(--swatch);border:0;outline:0}
.preset[aria-pressed=true] span:last-child{color:var(--swatch);text-decoration:none}.preset:focus-visible{outline:0}.preset:focus-visible .swatch{box-shadow:0 0 0 3px #fff,0 0 0 4px #111}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}button{touch-action:manipulation}
@media(max-width:760px){.color-intro{top:160px;left:28px;max-width:calc(100vw - 56px)}.color-title{font-size:36px;letter-spacing:-.025em}.preset{font-size:13px;gap:8px}.swatch{flex-basis:23px;height:23px}}
@media(max-height:450px){.color-intro{top:120px}.color-title{font-size:36px}.preset{font-size:11px;gap:5px}.swatch{flex-basis:18px;height:18px}}
@media(prefers-reduced-motion:reduce){.your-color{transition:none}.preset{will-change:auto}}

@media(max-width:380px){.preset{font-size:12px;gap:6px}.swatch{flex-basis:20px;height:20px}}

/* Stable tile geometry and bounded scene across monitor sizes. */
.preset{width:48px;min-height:44px;padding:0;flex-direction:column;gap:4px;font-size:10px;line-height:12px}.swatch{flex:0 0 26px;width:26px;height:26px}
.preset[hidden]{display:none}
@media(max-width:600px){.preset{width:44px;font-size:9px;gap:3px}.swatch{flex-basis:24px;width:24px;height:24px}}

/* Finger dragging steers the palette; a short tap still selects a color. */
.color-picker,.preset{touch-action:none}

/* Do not paint the unpositioned palette behind the header during startup. */
.presets:not([data-ready]) .preset{visibility:hidden}

.color-title{font-size:63.25px}.preset{font-size:11.5px;line-height:13.8px}
@media(max-width:760px),(max-height:450px){.color-title{font-size:41.4px}}
@media(max-width:600px){.preset{font-size:10.35px}}

/* /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}

/* /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)}
