/* One desktop, distinct spaces. Wallpaper is a sharp content layer; Apple-inspired
   Liquid Glass is reserved for navigation and controls, never reading cards. */
:root{--wall-base:#2b6cf0;--glass:rgba(245,249,255,.48);--glass-strong:rgba(249,251,255,.90);--chrome-paper:rgba(248,251,255,.72);--glass-blur:16px;--glass-sat:1.12;--glass-shadow:0 12px 32px rgba(25,49,75,.12),0 1px 3px rgba(25,49,75,.1)}
.wallpaper{position:fixed;inset:0;overflow:hidden;background:var(--wall-base)}
.kyiv-scene{position:absolute;left:50%;top:50%;width:max(100vw,177.69vh);height:max(100vh,56.28vw);transform:translate(-50%,-50%);container-type:size}
.kyiv-landscape{position:absolute;inset:0;background:url('../assets/wallpapers/kyiv-summer-v1.jpg') center/cover no-repeat;opacity:1}
.kyiv-foliage{position:absolute;inset:0;background:url('../assets/wallpapers/kyiv-summer-v1.jpg') center/cover no-repeat;opacity:.65;mask-image:radial-gradient(ellipse 33% 45% at 0 100%,#000 40%,transparent 90%);-webkit-mask-image:radial-gradient(ellipse 33% 45% at 0 100%,#000 40%,transparent 90%);transform-origin:0 100%;animation:kyiv-breeze 17s ease-in-out infinite}
@keyframes kyiv-breeze{0%,100%{transform:rotate(0deg) translate(0,0)}24%{transform:rotate(.10deg) translate(1px,-.5px)}59%{transform:rotate(-.06deg) translate(-.5px,.3px)}78%{transform:rotate(.04deg) translate(.4px,0)}}
.kyiv-cloud{position:absolute;width:42%;height:11%;background:radial-gradient(ellipse,rgba(255,255,255,.32),transparent 68%);filter:blur(10px);animation:kyiv-cloud-drift 110s linear infinite alternate}
.kyiv-cloud-a{left:25%;top:14%}.kyiv-cloud-b{left:57%;top:24%;opacity:.7;animation-duration:155s;animation-delay:-65s}
.kyiv-river-light{position:absolute;left:72%;top:62%;width:19%;height:7%;border-radius:50%;background:repeating-linear-gradient(175deg,transparent 0 12px,rgba(255,249,218,.35) 13px 14px,transparent 16px 27px);mask-image:radial-gradient(ellipse,#000,transparent 68%);animation:kyiv-water 11s ease-in-out infinite alternate}
.kyiv-boat{position:absolute;left:70%;top:60%;width:10px;height:3px;border-radius:50% 80% 80% 50%;background:#f4f5eb;box-shadow:0 1px 1px rgba(25,45,60,.3);transform:rotate(12deg);animation:kyiv-crossing 100s linear infinite}
.kyiv-boat::before,.kyiv-boat::after{content:'';position:absolute;right:7px;width:25px;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.75));transform-origin:right center}
.kyiv-boat::before{transform:rotate(10deg)}.kyiv-boat::after{transform:rotate(-10deg)}.kyiv-boat i{position:absolute;left:4px;top:-2px;width:3px;height:2px;background:#e6ebeb}
.kyiv-plane{position:absolute;width:11px;height:11px;fill:rgba(42,61,77,.55);left:14%;top:22%;animation:kyiv-flight 130s linear infinite;opacity:0}
@keyframes kyiv-cloud-drift{from{transform:translateX(-4cqw)}to{transform:translateX(7cqw)}}
@keyframes kyiv-water{from{opacity:.25;transform:translate(0,0)}to{opacity:.6;transform:translate(4px,2px)}}
@keyframes kyiv-crossing{0%{opacity:0;transform:translate(0,0) rotate(12deg)}5%,90%{opacity:.85}100%{opacity:0;transform:translate(19cqw,7cqh) rotate(12deg)}}
@keyframes kyiv-flight{0%,12%{opacity:0;transform:translate(0,0)}15%,39%{opacity:.7}42%,100%{opacity:0;transform:translate(45cqw,-7cqh)}}
body:not([data-active-app="about"]) .kyiv-scene *,[data-page-hidden="true"] .kyiv-scene *,[data-scenery-paused="true"] .kyiv-scene *,[data-motion="reduced"] .kyiv-scene *{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.kyiv-scene *{animation:none!important}.kyiv-plane,.kyiv-boat{display:none}}
:root[data-theme="dark"]{--glass:rgba(25,40,60,.65);--glass-strong:rgba(25,37,53,.94);--chrome-paper:rgba(25,38,55,.85)}
#menubar{background:rgba(245,250,255,.18);color:#fff;border-bottom-color:rgba(255,255,255,.18)}
#menubar .mb-item,#menubar .mb-clock,#menubar .mb-sound{color:inherit}
#main{inset:40px 0 80px;overflow:auto}
.desktop-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:clamp(28px,5vw,84px);align-items:start;min-height:100%;height:auto;padding:clamp(56px,13vh,140px) clamp(30px,6vw,100px) 50px;max-width:1660px;margin:auto}
.identity{padding:0;position:static;left:auto;top:auto;transform:none;width:auto;color:white}
.identity-eyebrow{color:#e2edff;font-size:13px;letter-spacing:.02em;margin:0 0 20px}
.identity-name{font-size:clamp(44px,4.8vw,74px);line-height:1.05;letter-spacing:-.055em;color:white;margin:0 0 16px;white-space:nowrap}
.identity-tagline{font-family:var(--font-sans);font-size:clamp(17px,1.65vw,24px);line-height:1.35;letter-spacing:-.025em;color:white;margin:0 0 18px}
.identity-support{display:block;overflow:visible;color:#e0ecff;max-width:46ch;font-size:14px;line-height:1.7;margin:0 0 27px;-webkit-line-clamp:unset}
.identity-actions{gap:14px 22px;align-items:center}
.identity-actions .btn.primary{color:#1648a7;background:#fff;box-shadow:0 2px 5px #0e38832b;font-size:14px;gap:18px}
.identity-actions .btn.primary:hover{background:#eff5ff}
.identity-actions .btn.quiet{color:white;font-size:13px;min-height:44px}
.stage{position:static;inset:auto;display:block;transform:none;width:auto;max-width:none;padding:14px 0 0}
.desktop-shortcuts-heading{font-size:12px;letter-spacing:.025em;font-weight:500;color:#e2edff;margin:0 0 30px;text-align:center}
.desktop-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:start}
.desktop-shortcut{display:flex;flex-direction:column;align-items:center;min-width:0;padding:14px 2px 12px;border:1px solid transparent;border-radius:12px;color:white;touch-action:manipulation;transition:background 120ms ease-out}
.desktop-shortcut:hover{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.16)}
.desktop-shortcut:focus-visible{outline-color:white;background:rgba(255,255,255,.1)}
.shortcut-object{position:relative;width:84px;height:84px;display:grid;place-items:center;margin-bottom:19px;flex:none;transition:transform 130ms ease-out}
.desktop-shortcut:active .shortcut-object{transform:scale(.95)}
.signal-object{border-radius:21px;background:linear-gradient(150deg,#fcfdff,#d9e7fc);color:#2464d6;border:1px solid #ffffffc9;box-shadow:0 8px 12px #0937802b,inset 0 1px 2px #fff}
.signal-object svg{width:55px;height:55px}
.shortcut-alias{position:absolute;left:-5px;bottom:-4px;display:grid;place-items:center;width:22px;height:20px;background:#f6f9ff;border-radius:5px;font:600 18px/1 var(--font-sans);color:#2a4a72;box-shadow:0 1px 3px #09245d40;border:1px solid #e0e7f1}
.website-object{border-radius:6px;padding:5px;background:#f9fafc;box-shadow:0 7px 14px #06327c38;transform:rotate(-3deg)}
.website-object img{width:100%;height:100%;object-fit:cover;border-radius:2px}
.folder-object{width:96px;transform:translateY(2px)}
.folder-object::before{content:'';position:absolute;left:3px;right:3px;top:13px;bottom:7px;border-radius:5px 7px 7px 7px;background:linear-gradient(#c4e6ff,#79b8ee);box-shadow:0 8px 12px #0937802b,inset 0 1px 1px #e6f4ff;border:1px solid #c9e9ff}
.folder-object::after{content:'';position:absolute;left:3px;top:7px;width:37px;height:12px;border-radius:5px 7px 0 0;background:#b7deff}
.folder-object>span{z-index:1;color:#337aa9;opacity:.65;transform:translateY(3px)}
.folder-object svg{width:33px;height:33px}
.shortcut-name{font-size:14px;font-weight:600;line-height:1.35;text-shadow:0 1px 3px #10397233;white-space:nowrap}
.shortcut-kind{font-size:11px;color:#e0ecff;line-height:1.4;margin-top:4px;white-space:nowrap}
.project-link{display:inline-flex;align-items:center;gap:8px;min-height:36px;font-size:14px;font-weight:600;text-decoration:none;color:var(--blue-700)}
.project-link:hover{text-decoration:underline;text-underline-offset:4px}
.project-link svg{width:16px;height:16px}

/* The dock remains visible. Apps replace the desktop header with their own
   context bar, reclaiming the duplicated strip and large old dock allowance. */
#dock{bottom:8px;padding:5px 8px;border-radius:22px;background:linear-gradient(160deg,#ffffff54,#ffffff12 48%,#ffffff30);box-shadow:0 8px 24px #15314a29,inset 0 1px 1px #ffffffe0,inset 0 -1px 2px #6f7a7538}
.dock-items{gap:4px;align-items:center}
.dock-item{width:78px;min-height:48px;padding:4px 9px;gap:3px}
.dock-icon{width:26px;height:26px;padding:0;background:none!important;border:0;box-shadow:none!important;border-radius:0;color:#254c74}
.dock-icon .ico,.dock-icon svg{width:25px;height:25px}
.dock-label{font-size:11px;line-height:1.15;color:#254c74}
.dock-item .dock-dot{position:absolute;bottom:1px;right:14px;margin:0;width:3px;height:3px}
.dock-item[aria-pressed="true"]{background:rgba(255,255,255,.42);box-shadow:inset 0 0 0 1px rgba(255,255,255,.32)}
.dock-item:hover{transform:none;background:rgba(255,255,255,.4)}
.dock-item:active{transform:scale(.97)}
:root[data-theme="dark"] #dock{background:rgba(27,40,53,.78)}
:root[data-theme="dark"] .dock-label,:root[data-theme="dark"] .dock-icon{color:#e3edf7}
:root[data-theme="dark"] .dock-item[aria-pressed="true"],:root[data-theme="dark"] .dock-item:hover{background:rgba(255,255,255,.13)}
body.has-window #mMenubar{visibility:hidden;pointer-events:none}
body.has-window .identity,body.has-window .stage{visibility:hidden;pointer-events:none;transform:none}
body.has-window .identity *{visibility:hidden;transition:none}
#windows{position:fixed;inset:48px 8px 76px;z-index:5}
.win{padding:0;border:1px solid var(--glass-line);border-radius:16px;will-change:auto}
.win-titlebar{position:relative;z-index:4;height:48px;padding:0 12px;gap:10px;border-radius:16px 16px 0 0;cursor:default;background:var(--chrome-paper)}
.win-titlebar:active{cursor:default}
.win-btn{width:32px;height:32px;border:0;background:rgba(124,141,163,.12)}
.win-titletext{justify-content:flex-start;font-size:13px;gap:8px}
.win-titletext-label{overflow:hidden;text-overflow:ellipsis}
.context-back{display:inline-flex;align-items:center;gap:3px;min-height:40px;padding:0 8px;font-size:13px;font-weight:500;border-radius:8px;flex:none;color:var(--ink-2)}
.context-back:hover{background:rgba(120,140,160,.12)}
.win-body{border-top:1px solid rgba(123,141,161,.14);border-radius:0 0 16px 16px;overflow:hidden}
.win-body>.app,.sheet-body>.app{height:100%;min-height:0;overflow:auto}
.win-body>.app-signal{overflow:hidden}
.app-files .files-rail{display:none}
.app-files .files-pane{padding:28px 24px}
.app-files .resume-doc{border:0;border-radius:0;padding:0}
.win-context-actions{display:flex;align-items:center;flex:none;gap:8px}
.sig-context-toolbar{display:flex;align-items:center;gap:15px}
.sig-context-toolbar .label-demo{font-size:11px;padding:4px 8px;background:rgba(255,255,255,.6);white-space:nowrap}
.sig-context-toolbar .btn{font-size:12px;min-height:36px}
.sig-context-toolbar .sig-strip-spacer{display:none}
.sig-options{position:relative;font-size:12px}
.sig-options summary{cursor:pointer;padding:10px 8px;border-radius:8px;list-style:none}
.sig-options summary::after{content:'⌄';margin-left:7px}
.sig-options-menu{position:absolute;right:0;top:40px;min-width:170px;padding:6px;display:grid;gap:2px;background:var(--paper);border:1px solid var(--line);border-radius:10px;box-shadow:var(--glass-shadow);z-index:20}
.sig-options-menu .btn{justify-content:flex-start;padding:8px 10px}
.app-signal .sig-panel{top:0}
.sig-context-toolbar .label-demo-dot{display:none}

/* Optical refraction is progressive; the regular material remains usable
   when a browser cannot render SVG backdrop filters. */
#dock.optical-glass,#mBar.optical-glass,.scene-controls.optical-glass{backdrop-filter:var(--optical-lens) blur(2px) saturate(1.25)}
#dock::before{padding:1.2px;background:linear-gradient(135deg,#fffffff0,#ffffff40 28%,#ffffff05 52%,#ffffffac)}
#dock::after{background:radial-gradient(160px 70px at var(--sx,30%) var(--sy,0%),#ffffff6b,transparent 74%)}
.scene-controls::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(150deg,#ffffff30,transparent 45%,#ffffff16);z-index:0}

/* Finder-like browsing: quiet preview collection, filters where useful. */
.collection-page,.journal-page,.profile-page{padding:clamp(24px,3vw,44px);max-width:1440px;margin:0 auto}
.collection-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}
.collection-heading h1,.profile-intro h1{font-size:34px;font-weight:650;letter-spacing:-.04em;line-height:1.15;margin:0 0 8px}
.collection-heading p{font-size:15px;line-height:1.6;color:var(--ink-2)}
.collection-tools{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.collection-filters{display:flex;gap:4px;flex-wrap:wrap}
.collection-filters button{min-height:38px;padding:0 14px;border-radius:9px;color:var(--ink-2);font-size:13px}
.collection-filters button[aria-pressed="true"]{background:var(--blue-100);color:var(--blue-700);font-weight:600}
.collection-search{display:flex;align-items:center;gap:8px;padding:0 12px;background:var(--paper-2);border:1px solid var(--line);border-radius:9px;min-width:210px;color:var(--ink-3)}
.collection-search .ico{width:18px;height:18px}
.collection-search input{background:none;border:0;min-height:38px;font-size:13px;width:100%;min-width:0;outline-offset:5px}
.collection-count{font-size:12px;color:var(--ink-3);margin:15px 0}
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 24px}
.project-card{min-width:0}
.project-preview{display:block;width:100%;aspect-ratio:1.7;border-radius:12px;overflow:hidden;background:var(--paper-2);border:1px solid var(--line)}
.project-preview img{width:100%;height:100%;object-fit:cover;object-position:top left;transition:transform 160ms ease-out}
.project-preview:hover img{transform:scale(1.025)}
.project-preview-symbol{display:grid;place-items:center;background:linear-gradient(135deg,#e6edf9,#f6f9fd);color:#3f648f}
.collection-object .ico,.collection-object svg{width:64px;height:64px}
.project-card-copy{padding:16px 0 0}
.project-status{color:var(--ink-3);font-size:12px;line-height:1.5}
.project-card h3{font-size:21px;letter-spacing:-.025em;margin:5px 0 7px}
.project-card-copy>p:not(.project-status){color:var(--ink-2);font-size:14px;line-height:1.55;max-width:46ch;margin-bottom:7px}
.collection-empty{padding:36px 0;color:var(--ink-2);grid-column:1/-1}

/* Personal has the visual rhythm of a collection and one real entry today. */
.personal-feature{display:grid;grid-template-columns:1.25fr 1fr;align-items:center;gap:clamp(28px,5vw,64px);padding:22px 0 36px}
.personal-feature-copy h2{font-family:var(--font-serif);font-size:40px;line-height:1.05;letter-spacing:-.035em;margin:12px 0 15px;max-width:12ch}
.personal-feature-copy p{font-size:16px;line-height:1.65;max-width:37ch;color:var(--ink-2);margin-bottom:22px}
.instrument-preview{display:block;position:relative;aspect-ratio:1.7;width:100%;padding:26px 20px 18px;border-radius:16px;background:linear-gradient(160deg,#edf1f6,#bdc8d4);border:1px solid #b7c1cc;box-shadow:0 14px 24px rgba(37,53,70,.12);color:#31425a;transform:perspective(1200px) rotateX(6deg) rotateY(-6deg)}
.instrument-display{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:22px;font-weight:650;letter-spacing:-.03em;text-align:left;margin:0 5px 25px}
.instrument-display>span{font-size:11px;letter-spacing:0;font-weight:400}
.instrument-keys{display:flex;height:60%;gap:3px}
.instrument-keys i{flex:1;background:linear-gradient(90deg,#fff,#f4f4f5);border:1px solid #c1c7cc;border-radius:0 0 5px 5px;box-shadow:0 5px 0 #a7b0bc;position:relative}
.instrument-keys .has-black::after{content:'';position:absolute;z-index:1;right:-35%;top:0;height:62%;width:65%;border-radius:0 0 3px 3px;background:linear-gradient(90deg,#1b2635,#394353);box-shadow:0 3px 0 #121c29}
.instrument-preview:hover{filter:brightness(1.035)}
.personal-interests{border-top:1px solid var(--line);padding-top:30px}
.personal-interests h2{font-size:20px;letter-spacing:-.025em;margin-bottom:10px}
.personal-interests p{max-width:70ch;line-height:1.65;font-size:15px;color:var(--ink-2)}
.interest-row{display:flex;gap:10px 20px;flex-wrap:wrap;margin:20px 0;color:var(--ink-2);font-size:13px}
.personal-interests .collection-footnote{font-size:12px;color:var(--ink-3)}

/* Notes-like index, without invented articles or pretend editing controls. */
.journal-page{max-width:1120px}
.journal-empty{display:grid;grid-template-columns:220px minmax(0,1fr);gap:65px;align-items:center;margin:clamp(30px,8vh,100px) auto;max-width:820px}
.journal-book{height:275px;border-radius:5px 14px 14px 5px;background:#e4ba55;box-shadow:inset 7px 0 0 #b88624,inset 10px 0 0 rgba(255,255,255,.4),5px 6px 0 #eee8da,0 20px 30px rgba(68,55,24,.12);transform:rotate(-5deg);padding:34px 27px;color:#4d3d1d;font-family:var(--font-serif);font-size:33px;line-height:1.1;position:relative}
.journal-book i{position:absolute;width:6px;inset:0 25px 0 auto;background:rgba(100,73,21,.45)}
.journal-empty h2{font-size:28px;letter-spacing:-.035em;margin-bottom:12px}
.journal-empty p{max-width:43ch;font-size:16px;line-height:1.7;color:var(--ink-2);margin-bottom:24px}

/* About has its own sharp scenery. The biography uses a standard reading
   surface; the floating scenery controls share the dock's optical material. */
#win-about{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
#win-about .win-body,#sheet-about,#sheet-about .sheet-body{background:transparent}
#win-about .win-titlebar{background:rgba(244,249,253,.66);backdrop-filter:blur(14px)}
.profile-page{max-width:none;min-height:100%;padding:30px;display:grid;grid-template-columns:minmax(340px,460px) minmax(0,1fr);gap:36px;align-items:start}
.profile-sheet{padding:28px;border-radius:18px;background:rgba(251,252,254,.96);box-shadow:0 12px 36px #142c4426;border:1px solid #ffffffa6}
.profile-intro{display:flex;align-items:center;gap:16px;padding-bottom:24px;border-bottom:1px solid #dce3ea;margin-bottom:24px}
.profile-monogram{width:60px;height:60px;display:grid;place-items:center;flex:none;border-radius:50%;background:linear-gradient(140deg,#bfdafa,#edf3fa);font-size:29px;font-weight:600;letter-spacing:-.07em;color:#315b87}
.profile-intro h1{font-size:28px;font-weight:650;letter-spacing:-.04em;line-height:1.15;margin-bottom:7px}
.profile-intro p{font-size:14px;color:var(--ink-2);margin-bottom:5px}
.profile-intro span{font-size:12px;color:var(--ink-3)}
.profile-story{margin-bottom:24px}
.profile-story h2,.profile-contact h2{font-size:16px;letter-spacing:-.02em;font-weight:650;margin-bottom:11px}
.profile-story p{font-size:14px;line-height:1.65;color:var(--ink-2);margin-bottom:13px}
.profile-story .btn{height:38px;min-height:38px;font-size:13px;padding-inline:17px;margin-top:2px}
.profile-contact{display:flex;flex-wrap:wrap;gap:10px 18px;border-top:1px solid var(--line);padding-top:20px}
.profile-contact h2{flex-basis:100%;margin:0}
.profile-contact>a{display:inline-flex;align-items:center;gap:3px;font-size:12px;color:var(--blue-700);min-height:28px;text-underline-offset:4px}
.profile-contact>a svg{width:13px;height:13px}
.profile-view{position:sticky;top:30px;display:flex;align-items:flex-end;justify-content:flex-end;flex-direction:column;min-height:calc(100dvh - 194px);padding:0 5px 10px;text-align:right}
.scene-controls{position:relative;display:flex;align-items:center;gap:2px;padding:5px 7px;isolation:isolate;border-radius:24px;background:rgba(246,250,254,.58);backdrop-filter:blur(10px) saturate(1.2);-webkit-backdrop-filter:blur(10px) saturate(1.2);box-shadow:0 6px 20px #102f4738,inset 0 1px 1px #ffffffed,inset 0 -1px 2px #7883894d;color:#153149}
.scene-controls::before{content:'';position:absolute;inset:0;border-radius:inherit;border:1px solid #ffffff87;pointer-events:none;z-index:2}
.scene-controls button{min-height:36px;padding:0 12px;font-size:12px;font-weight:600;border-radius:19px;position:relative;z-index:1;white-space:nowrap}
.scene-controls button:hover{background:rgba(255,255,255,.3)}
.scene-controls button:active{background:rgba(255,255,255,.5)}
.scene-controls>span{width:1px;height:13px;background:#62768b4d}
.app-about.viewing-wallpaper .profile-page{grid-template-columns:1fr}
:root[data-theme="dark"] .profile-sheet{background:rgba(20,26,43,.97);border-color:#54677a66}
:root[data-theme="dark"] #win-about .win-titlebar{background:rgba(24,36,49,.7)}
:root[data-theme="dark"] .profile-intro{border-color:var(--line)}
:root[data-theme="dark"] .scene-controls{background:rgba(21,34,46,.6);color:#fff}

:root[data-theme="dark"] .project-link,:root[data-theme="dark"] .profile-contact>a{color:var(--blue-300)}
:root[data-theme="dark"] .collection-filters button[aria-pressed="true"]{background:#273d58;color:#d8e8ff}

@media (min-width:761px) and (max-width:1100px){
  .desktop-grid{grid-template-columns:1.05fr 1fr;padding:clamp(48px,10vh,100px) 30px 30px;gap:24px}
  .identity-name{font-size:47px}.identity-support{font-size:13px}.identity-actions{gap:8px 16px}.identity-actions .btn.quiet{font-size:12px}
  .shortcut-object{width:68px;height:68px}.folder-object{width:78px}.signal-object{border-radius:18px}.signal-object svg{width:45px;height:45px}
  .shortcut-name{font-size:13px}.shortcut-kind{font-size:10px;white-space:normal}
  .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sig-context-toolbar{gap:8px}.sig-context-toolbar .label-demo{font-size:10px}.win-titletext .ico{display:none}
  .profile-page{grid-template-columns:minmax(320px,410px) minmax(0,1fr);padding:22px;gap:20px}.profile-sheet{padding:23px}
.profile-view{top:22px;min-height:calc(100dvh - 175px)}.scene-controls button{padding-inline:9px;font-size:11px}
}
.profile-portrait{display:block;width:76px;height:76px;border-radius:50%;object-fit:cover;object-position:49% 27%;flex:none}
.sheet-portfolio-nav{display:flex;flex:none;align-items:center;gap:8px;padding:0 12px;background:var(--paper);border-bottom:1px solid var(--line)}
.sheet-portfolio-nav a,.sheet-portfolio-nav button{min-height:44px;display:inline-flex;align-items:center;padding:0 10px;color:var(--ink);font:500 12px/1.3 var(--font-sans);text-decoration:none;border-radius:6px}
.sheet-portfolio-nav a:hover,.sheet-portfolio-nav button:hover{background:var(--paper-2)}
#menubar .mb-item{white-space:nowrap}
.sheet-head-title:focus{outline:none}
.sheet-head-title:focus-visible{outline:2px solid var(--blue-500);outline-offset:2px;border-radius:3px}
@media (max-width:760px){
  #main{inset:44px 0 calc(64px + env(safe-area-inset-bottom));padding:0}
  .desktop-grid{display:block;padding:clamp(36px,7vh,70px) 24px 30px;min-height:100%}
  .identity{padding:0;margin:0 0 32px}.identity-name{font-size:clamp(37px,10vw,58px);line-height:1.05;margin-bottom:14px}
  .identity-eyebrow{margin-bottom:15px;font-size:12px}.identity-tagline{font-size:18px;max-width:27ch;margin-bottom:15px}
  .identity-support{font-size:12px;line-height:1.65;margin-bottom:20px}.identity-actions{gap:8px 18px}.identity-actions .btn.primary{font-size:13px;padding-inline:18px}.identity-actions .btn.quiet{font-size:12px}
  .stage{padding:5px 0 0}.desktop-shortcuts-heading{font-size:11px;text-align:left;margin-bottom:12px;color:#e2edff}
  .desktop-shortcuts{gap:3px}.desktop-shortcut{color:#173454;padding-inline:0}.desktop-shortcut:hover{background:#fff3;border-color:#fff4}
  .shortcut-object{width:64px;height:64px;margin-bottom:13px}.signal-object{border-radius:17px}.signal-object svg{width:43px;height:43px}.folder-object{width:74px}
  .shortcut-name{font-size:12px;text-shadow:none}.shortcut-kind{font-size:10px;color:#27415b;white-space:normal}.shortcut-alias{width:19px;height:18px;font-size:15px}
  .desktop-wallpaper{background-size:100% var(--desktop-wallpaper-height,844px);background-position:center top}
  #windows{display:none}#mBar{z-index:600;background:rgba(247,249,252,.56);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
  .m-tab{min-width:0}.m-tab[aria-current="page"]{color:var(--blue-700);background:rgba(255,255,255,.35)}
  .sheet{inset:0 0 calc(64px + env(safe-area-inset-bottom));transform:none;opacity:0;transition:opacity 140ms ease-out}
  .sheet.sheet-open{opacity:1}.sheet-head{height:52px;min-height:52px;padding:0 8px;gap:3px;backdrop-filter:blur(16px)}
  .sheet-head-back{width:40px;height:44px;overflow:hidden;font-size:0;flex:none;padding:0;justify-content:center}
  .sheet-head-back .ico{width:20px;height:20px}.sheet-head-title{justify-content:flex-start;min-width:0;font-size:13px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .sheet-head-title .ico{display:none}.sheet-head-title span{overflow:hidden;text-overflow:ellipsis}.sheet-head>div:last-child{display:none}
  .sheet-body{overflow:hidden}.context-back{height:44px;padding-inline:5px;font-size:12px}.context-back>span{display:none}
  .collection-page,.journal-page{padding:25px 20px 35px}
  .collection-heading{align-items:flex-start;gap:10px;margin-bottom:22px}.collection-heading h1{font-size:30px}.collection-heading p{font-size:14px}
  .collection-heading>.btn{padding-inline:12px;font-size:12px}
  .collection-tools{gap:13px}.collection-filters{gap:2px}.collection-filters button{padding:0 10px;min-height:44px;font-size:12px}
  .collection-search{width:100%}.collection-search input{min-height:44px}.project-grid{grid-template-columns:1fr;gap:30px}
  .project-card h3{font-size:22px}.project-link{min-height:44px}.project-preview{aspect-ratio:1.6}
  .personal-feature{grid-template-columns:1fr;gap:35px;padding:15px 0 30px}.personal-feature-copy h2{font-size:35px;max-width:none}.personal-feature-copy p{font-size:15px}
  .instrument-display{font-size:20px}.instrument-display>span{font-size:10px}.instrument-preview{padding:24px 15px 20px;min-height:190px}.instrument-keys{height:100px}
  .journal-empty{grid-template-columns:1fr;gap:35px;margin:30px 0}.journal-book{width:150px;height:190px;font-size:25px;padding:25px 22px}.journal-book i{right:19px;width:5px}
  .journal-empty h2{font-size:25px}.journal-empty p{font-size:15px}
  .kyiv-scene{top:0;width:max(100vw,639px);height:max(360px,56.28vw);transform:translate(-50%,0)}
  body:has(.app-about.viewing-wallpaper) .kyiv-scene{top:50%;width:max(100vw,177.69vh);height:max(100vh,56.28vw);transform:translate(-50%,-50%)}
  .profile-page{display:flex;flex-direction:column;padding:0;gap:0;min-height:100%}
  .profile-sheet{border:0;border-radius:20px 20px 0 0;padding:26px 22px;background:var(--paper);width:100%;box-shadow:0 -10px 30px #19364d15}
  .profile-intro{gap:15px;margin-bottom:24px}.profile-monogram{width:54px;height:54px;font-size:27px}.profile-intro h1{font-size:27px}
  .profile-story p{font-size:15px}.profile-contact>a{min-height:44px}.profile-story .btn{min-height:44px}
  .profile-view{position:relative;top:0;order:-1;min-height:300px;width:100%;padding:35px 22px 22px;align-items:flex-start;text-align:left;background:linear-gradient(0deg,#112b4866,transparent 80%)}
.scene-controls button{min-height:38px;font-size:11px}
  .app-about.viewing-wallpaper .profile-view{min-height:calc(100dvh - 118px - env(safe-area-inset-bottom))}
  :root[data-theme="dark"] #mBar{background:rgba(22,31,45,.85)}
  :root[data-theme="dark"] .desktop-shortcuts-heading,:root[data-theme="dark"] .shortcut-name,:root[data-theme="dark"] .shortcut-kind{color:#fff}
}
@media (max-width:760px) and (min-height:760px){.desktop-grid{padding-top:7vh}.identity{margin-bottom:calc(54px + max(0px,55vh - 464px))}}
@media (max-width:760px) and (max-height:759px){.desktop-grid{padding-top:24px}.identity{margin-bottom:18px}.identity-name{font-size:37px}.identity-eyebrow{margin-bottom:12px}.identity-tagline{font-size:16px;margin-bottom:12px}.identity-support{margin-bottom:14px}.desktop-shortcuts-heading{margin-bottom:7px}}
@media (min-width:761px) and (max-height:650px){.desktop-grid{padding-top:35px}.identity-name{font-size:49px}.identity-eyebrow{margin-bottom:12px}.identity-support{margin-bottom:18px}}
@media (prefers-reduced-motion:reduce){.shortcut-object,.desktop-shortcut,.project-preview img,.sheet{transition:none}.project-preview:hover img{transform:none}}
:root[data-motion="reduced"] .shortcut-object,:root[data-motion="reduced"] .project-preview img,:root[data-motion="reduced"] .sheet{transition:none;transform:none}
:root[data-transparency="reduced"] #dock,:root[data-transparency="reduced"] #mBar,:root[data-transparency="reduced"] .win-titlebar,:root[data-transparency="reduced"] .scene-controls{background:var(--paper);backdrop-filter:none!important;-webkit-backdrop-filter:none!important;color:var(--ink)}
@media (prefers-reduced-transparency:reduce){#dock,#mBar,.win-titlebar,.scene-controls{background:var(--paper)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
@media (prefers-contrast:more){#dock,#mBar,.win-titlebar,.scene-controls{background:var(--paper)!important;border:1px solid var(--ink-2);backdrop-filter:none!important}.project-status,.collection-count{color:var(--ink-2)}}

@media(max-width:380px){.identity-actions{gap:8px 12px}.identity-actions .btn.primary{font-size:12px;padding-inline:12px;gap:8px}.identity-actions .btn.quiet{font-size:12px}}

/* Restore the introduction's prominence without scaling the whole desktop. */
@media(min-width:761px){
  .desktop-grid{grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:clamp(28px,4vw,64px)}
  .identity-name{font-size:clamp(58px,6.5vw,104px);line-height:1.03;margin-bottom:23px}
  .identity-eyebrow{font-size:16px;margin-bottom:24px}
  .identity-tagline{font-size:clamp(23px,2.1vw,32px);line-height:1.3;margin-bottom:24px}
  .identity-support{font-size:clamp(16px,1.25vw,20px);line-height:1.6;margin-bottom:34px}
  .identity-actions{gap:12px 24px}
  .identity-actions .btn.primary{min-height:56px;height:auto;padding:12px 26px;font-size:17px;gap:24px}
  .identity-actions .btn.quiet{font-size:15px;min-height:48px}
  .stage{padding-top:38px}
}
@media(min-width:761px) and (max-width:1000px){
  .desktop-grid{grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr);gap:24px}
  .identity-name{font-size:clamp(50px,6.5vw,65px)}
  .identity-tagline{font-size:23px}
  .identity-support{font-size:16px}
  .identity-actions{gap:8px 12px}
  .identity-actions .btn.primary{font-size:15px;padding:10px 18px;gap:14px}
  .identity-actions .btn.quiet{font-size:14px}
}
@media(max-width:760px){
  .identity-name{font-size:clamp(43px,11.7vw,68px)}
  .identity-eyebrow{font-size:14px}
  .identity-tagline{font-size:20px}
  .identity-support{font-size:14px;line-height:1.65}
  .identity-actions .btn.primary{min-height:48px;font-size:14px}
  .identity-actions .btn.quiet{font-size:13px}
}
