:root {
    --panel-height: 60px; --dock-height: 76px;
    --bg-deep: #101a1c; --bg-mid: #142326; --bg-soft: #1c2c2f;
    --window-bg: #fafbfb; --window-muted: #edf0f1; --window-border: #cbd3d7;
    --text-main: #eaf0ed; --text-soft: #a0b2b7; --text-mute: #83999e;
    --ubuntu-orange: #365782; --ubuntu-orange-soft: #e6edf6;
    --radius-lg: 8px; --radius-md: 8px; --radius-sm: 6px;
    --signal: #f2754f; --ice: #8ce4e7;
}
* { letter-spacing: 0 !important; }
body { background: var(--bg-deep); font-family: "IBM Plex Sans", sans-serif; overflow-x: clip; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
:focus-visible { outline: 2px solid #e8b46d; outline-offset: 5px; }
::selection { background: #8ce4e7; color: #101a1c; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #64777c; }
.desktop-root { height: 100svh; }
.desktop-shell { height: calc(100svh - var(--panel-height)); }
.workspace { background: #101a1c; overflow-y: auto; overflow-x: clip; padding: 0; }
.top-panel { padding: 0 4%; background: #101a1cf2; border-color: #2a3a3d; color: #dde8e8; backdrop-filter: blur(16px); }
.home-button { border: 0; background: none; font-size: 14px; font-weight: 500; padding: 8px 0; width: fit-content; gap: 12px; }
.home-button > i { color: var(--signal); font-size: 18px; }
.top-panel__center { color: #91a7ad; font: 11px "IBM Plex Mono", monospace; }
.top-panel__right { gap: 14px; font: 10px "IBM Plex Mono", monospace; color: #9aadb2; }
.header-cv { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; padding: 0 13px; border: 1px solid #b8ceca; border-radius: 5px; background: #dce8e2; color: #182d30; white-space: nowrap; font: 500 12px "IBM Plex Sans", sans-serif; text-decoration: none; }
.header-cv:hover { background: #fff; color: #101a1c; }
.motion-toggle, .panel-social { display: grid; place-items: center; width: 30px; height: 30px; border: 0; color: #c2d2d6; background: none; border-radius: 4px; }
.motion-toggle:hover, .panel-social:hover { background: #2e444a; color: #fff; }
.motion-toggle[hidden], .scene-tool[hidden] { display: none; }
.desktop-home { min-height: 100%; padding-bottom: 125px; }
.studio-hero { position: relative; isolation: isolate; min-height: 680px; height: calc(100svh - 138px); max-height: 1050px; overflow: hidden; }
.desktop-sculpture { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-masthead { position: absolute; top: 27px; left: 4%; right: 4%; z-index: 2; pointer-events: none; }
.masthead-line { display: flex; align-items: center; justify-content: space-between; color: #92aaaf; font: 11px "IBM Plex Mono", monospace; }
.hero-masthead h1 { margin: 12px 0 0; color: #eaf0ed; font: 700 128px/.91 "Barlow Condensed", sans-serif; white-space: nowrap; }
.hero-masthead h1 > span { color: var(--signal); }
.home-intro { position: absolute; left: 4%; bottom: 147px; width: 235px; z-index: 2; }
.intro-greeting { display: flex; gap: 13px; align-items: center; color: #a7babf; font: 11px/1.5 "IBM Plex Mono", monospace; margin-bottom: 25px; }
.intro-portrait { width: 46px; height: 46px; flex-shrink: 0; overflow: hidden; border-radius: 50%; border: 2px solid #769095; }
.intro-portrait img { width: 100%; height: 100%; object-fit: cover; transform: scale(4); transform-origin: 34% 26%; }
.intro-summary { margin: 0 0 20px; color: #a1b7bd; font-size: 19px; line-height: 1.5; }
.intro-summary strong { font-weight: 500; color: #eef3ef; }
.text-action { display: inline-flex; align-items: center; justify-content: flex-start; gap: 14px; min-height: 40px; padding: 5px 0; border: 0; border-radius: 0; background: none; color: #d9e6e7; font-size: 12px; font-weight: 500; text-align: left; }
.text-action > i { font-size: 11px; transition: transform 180ms ease; }
.text-action:hover { color: var(--signal); }
.text-action:hover > i { transform: translate(2px,-2px); }
.project-spotlight { position: absolute; inset: 162px 19% 100px 18%; cursor: grab; touch-action: pan-y; }
.project-spotlight:active { cursor: grabbing; }
.spotlight-fallback { position: absolute; inset: 15% 7%; width: 86%; height: 70%; object-fit: contain; }
.scene-ready .spotlight-fallback { visibility: hidden; }
.scene-tools { position: absolute; left: 4%; top: 190px; display: flex; align-items: flex-start; gap: 8px; z-index: 3; }
.computer-controls { display: grid; gap: 8px; }
.computer-power { display: inline-flex; justify-content: center; align-items: center; gap: 10px; width: 178px; height: 38px; padding: 0 10px; border: 1px solid #edab8c; border-radius: 6px; background: #ef9873; color: #1c2828; font: 500 12px "IBM Plex Sans", sans-serif; }
.computer-power > i { font-size: 15px; }
.computer-power:hover { background: #ffc2a3; }
.computer-power[aria-pressed="true"] { background: #203337; color: #d6ebe6; border-color: #627d7d; }
.computer-status { display: flex; gap: 6px; align-items: center; color: #9ab0b1; font: 9px "IBM Plex Mono", monospace; }
.computer-status::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #708585; }
[data-power="on"] .computer-status::before { background: #a8e7bc; }
[data-power="booting"] .computer-status::before { background: #edab8c; }
.computer-desktop { position: absolute; left: 50%; bottom: 105px; transform: translateX(-50%); display: flex; gap: 8px; padding: 10px; background: #193133; border: 1px solid #698580; border-radius: 6px; z-index: 4; }
.computer-desktop[hidden] { display: none; }
.computer-desktop button { display: grid; gap: 8px; justify-items: center; min-width: 58px; padding: 8px; background: none; border: 0; font-size: 11px; }
.computer-desktop button > i { color: #d7dba9; font-size: 20px; }
.scene-ready .computer-desktop:not(:focus-within) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.scene-tool { display: grid; place-items: center; width: 38px; height: 38px; background: #203337; border: 1px solid #425b61; border-radius: 6px; color: #b9d6dd; }
.scene-tool:hover, .scene-tool[aria-pressed="true"] { color: #132326; border-color: #92e3e7; background: #92e3e7; }
.spotlight-caption { position: absolute; width: 207px; right: 4%; bottom: 146px; z-index: 2; }
.spotlight-topline { display: flex; justify-content: space-between; font: 9px "IBM Plex Mono", monospace; color: #94aeb4; padding-bottom: 14px; border-bottom: 1px solid #405357; margin-bottom: 16px; }
.spotlight-caption h2 { margin: 0 0 8px; color: #eef3ef; font-size: 27px; font-weight: 500; }
.spotlight-caption p { margin: 0 0 12px; color: #a6b9bf; font-size: 12px; line-height: 1.7; }
.spotlight-controls { display: flex; gap: 9px; margin-top: 14px; }
.icon-action { width: 37px; height: 37px; flex: 0 0 37px; padding: 0; display: grid; place-items: center; color: #d2e3e7; background: #1c3034; border: 1px solid #526a70; border-radius: 50%; font-size: 12px; transition: background 150ms ease; }
.icon-action:hover { color: #18282b; background: #cbe6e7; }
.hero-footer { position: absolute; bottom: 25px; left: 4%; right: 4%; border-top: 1px solid #385055; padding-top: 19px; display: flex; align-items: center; justify-content: space-between; gap: 20px; z-index: 2; }
.current-role { display: flex; align-items: center; gap: 13px; border: 0; background: transparent; padding: 0; text-align: left; }
.role-mark { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #626a50; background: #30372b; color: #d8de83; border-radius: 5px; }
.current-role > span:nth-child(2) { display: grid; gap: 4px; }
.current-role small { font: 9px "IBM Plex Mono", monospace; color: #98b2b9; }
.current-role strong { color: #e8efed; font-size: 13px; font-weight: 500; }
.role-detail { color: #9aafb5; font-size: 11px; border-left: 1px solid #46575c; padding-left: 15px; margin-left: 10px; }
.current-role > i { font-size: 10px; color: #a5c0c7; }
.project-shelf { scroll-margin-top: 24px; padding: 44px 4% 48px; background: #dfe7e5; color: #172a2d; }
.project-shelf__heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.section-kicker { font: 10px "IBM Plex Mono", monospace; color: #57747a; margin: 0 0 13px; }
.project-shelf h2 { margin: 0; font-size: 30px; font-weight: 500; }
.project-shelf h2 span { color: #6a8387; font: 12px "IBM Plex Mono", monospace; margin-left: 14px; }
.project-shelf .text-action { color: #304e54; }
.project-total { font: 10px "IBM Plex Mono", monospace; padding: 4px; border-bottom: 1px solid #92a8ad; }
.project-shelf__items { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.shelf-project { display: block; padding: 0; text-align: left; border: 0; background: transparent; border-radius: 0; min-width: 0; }
.shelf-image { display: grid; place-items: center; overflow: hidden; width: 100%; aspect-ratio: 1.7; background: #b8cbce; border-radius: 6px; }
.shelf-image img { width: 88%; height: 84%; object-fit: contain; transition: transform 400ms cubic-bezier(.2,.8,.2,1); box-shadow: 0 16px 30px #10252c20; }
.shelf-project:nth-child(2) .shelf-image { background: #c2c6d0; }
.shelf-image--hardware { background: #b9c9b4; }
.shelf-image--hardware img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.shelf-project:hover .shelf-image img { transform: scale(1.04); }
.shelf-info { display: grid; grid-template-columns: 1fr auto; gap: 6px 15px; padding: 18px 0; }
.shelf-info strong { grid-column: 1; font-size: 20px; font-weight: 500; }
.shelf-info small { grid-column: 1; font-size: 11px; color: #527077; }
.shelf-info i { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 14px; padding: 13px; border: 1px solid #a2b7bc; border-radius: 50%; }
.now-strip { display: grid; grid-template-columns: .55fr 1fr 1fr; gap: 40px; padding: 68px 4% 40px; color: #e8eeeb; }
.now-strip .section-kicker { color: #92b1b7; padding-top: 10px; }
.now-strip h2 { font: 500 34px/1.2 "IBM Plex Sans", sans-serif; margin: 0; }
.now-strip p:not(.section-kicker) { margin: 0 0 16px; color: #9bb2b8; font-size: 14px; line-height: 1.8; max-width: 440px; }
.site-footer { margin: 0 4%; padding: 25px 0; border-top: 1px solid #385055; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; }
.site-footer a { color: #c0d2d3; display: inline-flex; align-items: center; gap: 12px; }
.site-footer a:hover { color: #fff; }
.site-footer > div { display: flex; gap: 24px; }
.site-footer i { font-size: 10px; }
.dock { position: fixed; left: 50%; bottom: 15px; min-height: 70px; gap: 10px; padding: 9px 13px; border: 1px solid #61787d80; border-radius: 16px; background: #203237ee; box-shadow: 0 12px 34px #07121555, inset 0 1px #64808855; backdrop-filter: blur(16px); }
.dock::after { display: none; }
.dock-app { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 56px; height: 58px; gap: 5px; }
.dock-app__icon { width: 36px; height: 36px; border-radius: 8px; font-size: 17px; background: #526d76; box-shadow: inset 0 1px #ffffff25; color: #e5edef; }
.dock-app__icon--folder { background: #867954; color: #ffefb6; }
.dock-app__icon--home { background: #4c7180; color: #d3f1ff; }
.dock-app__icon--terminal { background: #0f1d21; color: #b7e9d6; border: 1px solid #587574; }
.dock-app__icon--doc { background: #936b5b; color: #ffe2d1; }
.dock-app__icon--mail { background: #517798; color: #d3ecff; }
.dock-app__icon--github { background: #52676d; color: #ecf2f3; }
.dock-app:hover .dock-app__icon, .dock-app:focus-visible .dock-app__icon { transform: translateY(-6px); }
.dock-app::after { background: #e0eae9; color: #263c41; border-radius: 4px; font-size: 11px; }
.dock-app__dot { background: #b4e1e6; width: 4px; height: 4px; }
.dock-app--external::before { background: #627b83; }
.dock-name { display: block; font-size: 10px; line-height: 14px; color: #c1d5da; }
.dock-app::after { display: none; }
.dock-app.is-active .dock-name { color: #fff; }
.app-window { --text-main: #252d32; --text-soft: #5d6a71; --text-mute: #727e85; color: #252d32; }
.window-layer { position: fixed; inset: var(--panel-height) 0 0; z-index: 55; }
.app-window { background: #fafbfb; box-shadow: 0 15px 60px rgba(41,60,71,.2); border-color: #c4cfd5; border-radius: 10px; }
.app-window.is-active { border-color: #b4c3cd; }
.app-window.is-maximized { inset: 20px 3% 110px !important; }
.window-titlebar { min-height: 46px; background: #eef2f4; border-bottom: 1px solid #d9e0e4; }
.window-title { color: #5d707b; font-size: 12px; font-weight: 500; }
.window-control { width: 28px; height: 28px; padding: 7px; background-clip: content-box; box-shadow: none; }
.window-control:focus-visible::before { opacity: 1; }
.window-toolbar, .browser-toolbar { background: #f7f9f9; border-color: #dce3e6; }
.toolbar-pill { background: #edf1f3; color: #586b78; font: 11px "IBM Plex Mono", monospace; }
.toolbar-meta { color: #586b78; font-size: 11px; }
.window-content { background: #fafbfb; }
.mini-label { color: #586b78; font: 11px "IBM Plex Mono", monospace; text-transform: none; }
.browser-layout { background: #fafbfb; }
.browser-toolbar__address, .browser-toolbar__button { color: #586b78; background: #edf1f3; border-color: #dbe3e7; }
.browser-hero, .browser-card, .content-card, .stat-chip { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.browser-card, .content-card { border-top: 1px solid #dce3e7; padding: 20px 0; }
.browser-hero { padding: 20px 0; }
.browser-link { color: #496782; border-color: #d7e0e5; background: #eff3f5; }
.browser-hero h2 { font-size: 30px; font-weight: 500; max-width: 720px; }
.browser-hero p { max-width: 720px; }
.action-button { min-height: 40px; padding: 9px 16px; border: 1px solid #355676; border-radius: 5px; background: #355676; color: #fff; box-shadow: none; font-size: 13px; font-weight: 500; }
.action-button:hover { background: #254560; border-color: #254560; box-shadow: none; }
.action-button--ghost { background: transparent; border-color: #c7d4de; color: #456680; }
.action-button--ghost:hover { background: #e9f0f5; color: #284d6b; border-color: #adc2d2; }
.project-browser { grid-template-columns: 170px minmax(260px,.95fr) minmax(300px,1.05fr); }
.project-sidebar { background: #f0f4f5; border-color: #dce3e7; padding: 20px 12px; }
.project-sidebar > .mini-label { padding-left: 10px; margin-bottom: 18px; }
.sidebar-filter-list { gap: 4px; }
.sidebar-filter { min-height: 38px; padding: 9px 10px; background: transparent; border-color: transparent; border-radius: 5px; font-size: 12px; color: #586b78; }
.sidebar-filter:hover { background: #e5edf1; }
.sidebar-filter.is-active { color: #365b7d; background: #dfe9f0; border-color: transparent; font-weight: 500; }
.project-sidebar .compact-card { padding: 16px 10px; margin-top: 30px; font-size: 11px; }
.project-sidebar .plain-list { list-style: none; padding: 0; line-height: 1.8; color: #87979f; font-size: 11px; }
.project-main { padding: 15px; background: #f7f9fa; }
.project-grid { grid-template-columns: 1fr; gap: 8px; }
.project-card { grid-template-columns: 94px minmax(0,1fr); grid-template-areas: "thumb meta" "thumb title" "thumb desc"; column-gap: 14px; row-gap: 5px; align-items: start; align-content: center; padding: 13px; min-height: 130px; background: transparent; border-color: transparent; border-radius: 6px; }
.project-card:hover { transform: none; background: #edf2f5; border-color: #e0e8ec; }
.project-card.is-selected { background: #e8f0f6; border-color: #b8cddd; }
.project-card__thumb { grid-area: thumb; align-self: center; width: 94px; aspect-ratio: 1.2; border-radius: 4px; background: #e4eaed; }
.project-card__thumb img { object-fit: contain; }
.project-card > .project-card__meta { grid-area: meta; }
.project-card h3 { grid-area: title; font-size: 14px; font-weight: 500; }
.project-card > p { grid-area: desc; max-height: 3em; font-size: 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.project-card > .project-tech-preview { display: none; }
.project-card__fallback, .inspector-image__fallback { color: #8da0ad; }
.meta-pill { background: transparent; padding: 0; min-height: 16px; border-radius: 0; color: #586b78; font-size: 10px; }
.meta-pill--accent { background: none; color: #507496; }
.project-card__meta { gap: 8px 12px; }
.project-inspector { padding: 24px; border-color: #dce3e7; background: #fff; }
.project-inspector__panel { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.project-inspector__panel > .mini-label { margin: 0 0 15px; }
.inspector-image { aspect-ratio: 16 / 10; max-height: 300px; border-radius: 5px; background: #eef2f4; }
.inspector-image img { object-fit: contain; }
.inspector-thumbs { gap: 8px; }
.thumb-button { border-radius: 4px; border-color: #d6dfe5; background: #f3f6f7; }
.thumb-button.is-active { border-color: #688ca9; }
.inspector-block { padding: 20px 0 0; margin-top: 20px; border: 0; border-top: 1px solid #e0e7eb; border-radius: 0; background: none; }
.project-inspector__panel h3 { font-size: 23px; line-height: 1.25; margin-top: 9px; font-weight: 500; }
.inspector-heading h3 { margin: 8px 0 18px; }
.project-inspector__panel p { font-size: 14px; line-height: 1.7; }
.inspector-block h4 { font-size: 12px; font-weight: 500; color: #586b78; }
.tech-pill { border-radius: 4px; min-height: 26px; font: 10px "IBM Plex Mono", monospace; padding: 5px 8px; color: #586b78; background: #eff3f5; }
.inspector-back { display: none; }
.plain-list { font-size: 14px; line-height: 1.7; }
.about-layout { grid-template-columns: 240px minmax(0,1fr); padding: 34px; gap: 40px; }
.profile-card { background: transparent; border: 0; border-radius: 0; }
.profile-card__photo { border-radius: 5px; border: 0; aspect-ratio: 1; min-height: 0; }
.profile-card__photo img { object-position: center; }
.profile-card__body { padding: 20px 0; }
.profile-card__body h2 { font-size: 23px; font-weight: 500; }
.profile-card__body p { font-size: 13px; line-height: 1.7; }
.profile-links { padding: 0; gap: 10px; }
.profile-links a { color: #55778d; font-size: 12px; }
.about-copy { max-width: 850px; }
.about-copy > .content-card:first-child { padding-top: 0; border-top: 0; }
.about-copy .content-card p { line-height: 1.8; font-size: 15px; }
.stat-chip { padding: 14px 0; }
.stat-chip strong { font-size: 16px; font-weight: 500; color: #4d6a7c; }
.stat-chip span { font-size: 12px; color: #586b78; }
.timeline-row span { font: 11px "IBM Plex Mono", monospace; color: #586b78; }
.experience-section h3 { font-size: 25px; font-weight: 500; margin: 8px 0; }
.experience-section strong { font-weight: 500; }
.terminal-shell { background: #263035; color: #e1e8e7; --text-soft: #b6c6c6; }
.terminal-shell, .terminal-prompt, .terminal-output, .terminal-line { font-family: "IBM Plex Mono", monospace; }
.terminal-tag { background: #354249; color: #d4e1e4; border: 1px solid #526068; border-radius: 4px; font-size: 12px; }
.terminal-output { color: #c8d5d5; }
.terminal-prompt { color: #a7c3ab; }
.terminal-line > span:last-child { color: #e0e7e8; }
.cv-layout { background: #edf2f4; padding: 32px; }
.cv-sheet { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid #d2dce2; border-radius: 5px; box-shadow: 0 8px 20px rgba(51,74,91,.05); }
.cv-sheet__header h2 { color: #344e60; }
.cv-block { border-color: #dbe4e9; }
.contact-layout { padding: 36px; gap: 44px; }
.contact-overview, .mail-form { background: transparent; border: 0; box-shadow: none; border-radius: 0; padding: 0; }
.contact-overview a { color: #53768e; }
.contact-overview__mail { font-size: 24px; overflow-wrap: anywhere; }
.contact-overview p { font-size: 14px; line-height: 1.8; max-width: 330px; }
.mail-field span { color: #657d8c; font-size: 12px; }
.mail-field input, .mail-field textarea { border: 1px solid #cfdae1; border-radius: 5px; background: #fff; color: #344955; font-size: 14px; }
.mail-field input:focus, .mail-field textarea:focus { border-color: #7299b5; box-shadow: 0 0 0 3px #e7eff6; }
.mail-field input::placeholder, .mail-field textarea::placeholder { color: #586b78; }
.mail-status { color: #6b8393; font-size: 12px; }
.context-menu { background: #fafcfc; border-color: #cbd8df; box-shadow: 0 10px 32px rgba(53,72,84,.18); border-radius: 8px; }
.context-menu__item { color: #536f80; }
.context-menu__item:hover { background: #e5eef4; }
.context-menu__divider { background: #dbe4e9; }
.inspector-image--button { width: 100%; position: relative; padding: 0; cursor: zoom-in; }
.inspector-expand { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 5px; color: #edf5f0; background: #1b3439ed; }
.inspector-image--button:hover .inspector-expand { background: #426970; }
.image-viewer { width: calc(100% - 32px); max-width: 1680px; height: calc(100svh - 32px); max-height: 1100px; margin: auto; padding: 0; border: 1px solid #5e7879; border-radius: 8px; background: #142124; color: #e8eeeb; overflow: hidden; }
.image-viewer::backdrop { background: #050d12e8; }
.image-viewer__surface { height: 100%; display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.image-viewer__toolbar { min-height: 66px; display: flex; align-items: center; gap: 18px; padding: 12px 20px; border-bottom: 1px solid #3c5155; }
.image-viewer__toolbar h2 { flex: 1; min-width: 0; margin: 0; font-size: 15px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
#imageViewerCount { flex-shrink: 0; font: 11px "IBM Plex Mono", monospace; color: #afc4c7; }
.image-viewer__actions { display: flex; gap: 8px; }
.image-viewer__actions > *, .image-viewer__navigation button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #536d73; border-radius: 5px; color: #e2eded; background: #243a40; }
.image-viewer__actions > *:hover, .image-viewer__navigation button:hover:not(:disabled) { background: #3c5c64; }
.image-viewer__navigation button:disabled { opacity: .3; cursor: default; }
.image-viewer__canvas { min-width: 0; min-height: 0; padding: 20px; position: relative; display: flex; justify-content: center; align-items: center; overflow: auto; background: #10191c; }
.image-viewer__canvas img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.image-viewer__canvas img[hidden], #imageViewerStatus[hidden] { display: none; }
.image-viewer__canvas.is-zoomed { display: block; }
.image-viewer__canvas.is-zoomed img { width: auto; height: auto; max-width: none; max-height: none; }
#imageViewerStatus { color: #b9cece; font-size: 14px; }
.image-viewer__navigation { min-height: 60px; padding: 10px 20px; display: flex; justify-content: center; gap: 12px; border-top: 1px solid #3c5155; }
.boot-screen { --text-main: #f6f2fb; --text-soft: #c9c0d5; color: #f6f2fb; }
.boot-screen__content h2 { font-size: 28px; }

.hero-masthead { animation: masthead-in 850ms cubic-bezier(.18,.7,.2,1) both; }
.home-intro, .spotlight-caption, .hero-footer { animation: content-in 700ms 180ms both; }
@keyframes masthead-in { from { opacity: 0; transform: translateY(-22px); } to { opacity: 1; transform: none; } }
@keyframes content-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (min-width: 1800px) {
    .hero-masthead h1 { font-size: 168px; }
    .studio-hero { min-height: 850px; }
    .project-spotlight { inset: 218px 17% 100px 16%; }
    .home-intro { width: 280px; bottom: 190px; }
    .intro-summary { font-size: 24px; }
    .spotlight-caption { width: 250px; bottom: 180px; }
    .spotlight-caption h2 { font-size: 36px; }
    .spotlight-caption p { font-size: 14px; }
    .scene-tools { top: 250px; }
}
@media (min-width: 981px) and (max-width: 1200px) {
    .hero-masthead h1 { font-size: 96px; }
    .scene-tools { top: 170px; }
    .home-intro { width: 170px; bottom: 140px; }
    .intro-summary { font-size: 15px; }
    .spotlight-caption { width: 163px; }
    .spotlight-caption h2 { font-size: 23px; }
    .project-spotlight { inset: 155px 18% 110px 18%; }
    .project-browser { grid-template-columns: 142px minmax(240px,1fr) minmax(260px,1fr); }
    .project-card { grid-template-columns: 66px minmax(0,1fr); column-gap: 9px; padding: 10px; }
    .project-card__thumb { width: 66px; }
    .project-card h3 { font-size: 12px; }
    .project-card p { font-size: 11px; }
    .role-detail { display: none; }
}
@media (max-width: 980px) {
    .desktop-root { height: auto; min-height: 100svh; }
    .desktop-shell { height: auto; }
    .workspace { min-height: calc(100svh - 60px); padding: 0; overflow: clip; }
    .studio-hero { height: 1030px; min-height: 0; max-height: none; }
    .hero-masthead { top: 30px; left: 5%; right: 5%; }
    .hero-masthead h1 { font-size: 96px; white-space: normal; max-width: 670px; }
    .masthead-line { font-size: 10px; }
    .project-spotlight { inset: 190px 0 330px; }
    .home-intro { left: 5%; bottom: 110px; width: 240px; }
    .intro-greeting { margin-bottom: 16px; }
    .intro-summary { font-size: 19px; margin-bottom: 10px; }
    .spotlight-caption { right: 5%; bottom: 112px; width: 205px; }
    .scene-tools { left: auto; right: 5%; top: 172px; }
    .hero-footer { left: 5%; right: 5%; bottom: 24px; }
    .role-detail { display: none; }
    .project-shelf { padding: 38px 5%; }
    .project-shelf__items { gap: 16px; }
    .shelf-info strong { font-size: 18px; }
    .shelf-info i { padding: 8px; font-size: 11px; }
    .shelf-info small { font-size: 10px; }
    .now-strip { padding: 44px 5%; grid-template-columns: 1fr 1fr; gap: 22px; }
    .now-strip .section-kicker { grid-column: 1 / -1; margin: 0; }
    .now-strip h2 { font-size: 28px; }
    .top-panel { padding: 0 5%; grid-template-columns: 1fr auto; }
    .top-panel__center { display: none; }
    .top-panel__left span:not(.ubuntu-mark) { display: inline; }
    .top-panel__right { font-size: 10px; }
    .dock { left: 50%; right: auto; bottom: 10px; width: min(420px,calc(100% - 20px)); justify-content: space-around; gap: 6px; transform: translateX(-50%); min-height: 72px; padding: 8px 12px; border-radius: 15px; background: #203237fa; }
    .dock-app, .dock-app--external { display: flex; flex-direction: column; gap: 5px; width: 46px; height: 54px; align-items: center; justify-content: center; }
    .dock-app__icon { width: 32px; height: 32px; font-size: 15px; border-radius: 7px; }
    .dock-name { display: block; font-size: 9px; color: #c1d5da; }
    .dock-app::after, .dock-app--external::before { display: none; }
    .dock-app__dot { width: 3px; height: 3px; bottom: -5px; }
    .dock-app:hover .dock-app__icon, .dock-app.is-active .dock-app__icon { transform: none; }
    .app-window, .app-window.is-maximized { top: 66px !important; bottom: 93px !important; left: 0 !important; right: 0 !important; width: auto !important; height: auto !important; border-radius: 8px 8px 0 0; background: #fafbfb; }
    .window-content { background: #fafbfb; }
    .window-titlebar { padding: 0 16px; }
    .window-control--maximize { display: none; }
    body.is-mobile-app-open .desktop-home { visibility: hidden; }
    .project-browser { display: block; min-height: 0; overflow: auto; }
    .project-sidebar { padding: 12px 16px; display: block; }
    .project-sidebar > .mini-label { display: none; }
    .sidebar-filter-list { width: 100%; max-width: none; margin: 0; padding: 0; gap: 6px; }
    .sidebar-filter { min-height: 34px; font-size: 11px; padding: 8px 10px; }
    .project-sidebar > *, .project-main > *, .project-inspector > * { width: 100%; max-width: none; }
    .project-main { padding: 12px; background: #f7f9fa; }
    .project-card { max-width: none; min-height: 130px; grid-template-columns: 100px minmax(0,1fr); }
    .project-card__thumb { width: 100px; }
    .project-card h3 { font-size: 14px; }
    .project-card p { font-size: 12px; -webkit-line-clamp: 2; }
    .project-browser:not(.is-detail-open) .project-inspector { display: none; }
    .project-browser.is-detail-open .project-main, .project-browser.is-detail-open .project-sidebar { display: none; }
    .project-browser.is-detail-open .project-inspector { display: block; padding: 20px; }
    .project-inspector__panel { display: block; background: none; border: 0; padding: 0; }
    .inspector-back { display: flex; gap: 10px; align-items: center; padding: 0; min-height: 36px; margin-bottom: 18px; background: none; border: 0; color: #527c99; font-size: 12px; }
    .inspector-image, .inspector-thumbs { display: flex; }
    .inspector-image { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
    .inspector-thumbs { overflow-x: auto; margin-top: 12px; }
    .inspector-block { margin-top: 20px; padding-top: 18px; }
    .about-layout { display: block; padding: 24px; }
    .profile-card { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding-bottom: 24px; }
    .profile-card__photo { min-height: 0; height: 140px; aspect-ratio: auto; }
    .profile-card__body { padding: 0; }
    .profile-card__body h2 { font-size: 22px; }
    .profile-links { grid-column: 1 / -1; display: flex; gap: 18px; }
    .content-card, .stat-chip { background: none; }
    .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .cv-layout { padding: 20px; }
    .cv-sheet { padding: 24px; }
    .contact-layout { padding: 24px; gap: 30px; }
    .contact-overview, .mail-form { background: none; }
    .terminal-shell { background: #263035; }
}
@media (min-width: 601px) and (max-width: 980px) {
    .studio-hero { height: calc(100svh - 148px); min-height: 800px; }
    .home-intro { display: none; }
    .project-spotlight { inset: 205px 4% 215px; }
    .spotlight-caption { left: 5%; right: 5%; width: auto; bottom: 94px; display: grid; grid-template-columns: 1fr auto; gap: 0 16px; }
    .spotlight-topline { grid-column: 1 / -1; border: 0; padding-bottom: 0; margin-bottom: 10px; }
    .spotlight-caption h2, .spotlight-caption p, .spotlight-caption .text-action { grid-column: 1; }
    .spotlight-caption p { margin-bottom: 2px; }
    .spotlight-controls { grid-column: 2; grid-row: 2 / 5; align-self: end; margin-bottom: 6px; }
}
@media (max-width: 600px) {
    .site-footer { flex-direction: column; margin: 0 5%; gap: 24px; }
    .image-viewer { width: calc(100% - 12px); height: calc(100svh - 12px); border-radius: 6px; }
    .image-viewer__toolbar { padding: 10px; flex-wrap: wrap; gap: 8px; }
    .image-viewer__toolbar h2 { flex: 1 1 calc(100% - 65px); font-size: 13px; }
    .image-viewer__actions { margin-left: auto; }
    .image-viewer__canvas { padding: 8px; }
    .top-panel__right time { display: none; }
    .top-panel__right { gap: 5px; }
    .panel-social { display: none; }
    .header-cv { font-size: 11px; padding: 0 10px; min-height: 34px; gap: 7px; }
    .home-button { font-size: 12px; }
    .studio-hero { height: calc(100svh - 148px); min-height: 600px; }
    .hero-masthead { top: 25px; }
    .masthead-line { font-size: 9px; }
    .masthead-line span:last-child { display: none; }
    .hero-masthead h1 { font-size: 76px; max-width: 500px; margin-top: 17px; }
    .project-spotlight { inset: 225px -10% 175px; }
    .scene-tools { top: 192px; left: 5%; right: 5%; }
    .computer-power { height: 32px; width: 170px; font-size: 11px; }
    .computer-status { font-size: 8px; }
    .computer-desktop { bottom: 225px; max-width: 94%; gap: 0; padding: 4px; }
    .scene-tool { width: 32px; height: 32px; font-size: 12px; }
    .home-intro { display: none; }
    .intro-portrait { width: 35px; height: 35px; }
    .intro-greeting { gap: 9px; margin-bottom: 15px; font-size: 10px; }
    .intro-summary { font-size: 14px; }
    .home-intro .text-action { font-size: 10px; gap: 8px; }
    .spotlight-caption { left: 5%; right: 5%; width: auto; bottom: 87px; display: grid; grid-template-columns: 1fr auto; gap: 0 12px; }
    .spotlight-topline { grid-column: 1 / -1; font-size: 8px; padding: 0; border: 0; margin-bottom: 7px; gap: 5px; }
    .spotlight-caption h2 { grid-column: 1; font-size: 24px; margin-bottom: 5px; }
    .spotlight-caption p { grid-column: 1; font-size: 11px; margin-bottom: 0; min-height: 0; max-width: 250px; }
    .spotlight-caption .text-action { grid-column: 1; font-size: 11px; gap: 8px; min-height: 32px; }
    .spotlight-controls { grid-column: 2; grid-row: 2 / 5; align-self: end; margin: 0 0 3px; gap: 7px; }
    .icon-action { width: 31px; height: 31px; flex-basis: 31px; font-size: 10px; }
    .hero-footer { bottom: 20px; gap: 10px; padding-top: 15px; }
    .current-role { gap: 8px; }
    .role-mark { width: 29px; height: 29px; }
    .current-role strong { font-size: 11px; }
    .current-role small { font-size: 8px; }
    .current-role > i { display: none; }
    .hero-footer > .text-action { font-size: 10px; gap: 7px; }
    .project-shelf__heading { align-items: flex-start; gap: 8px; margin-bottom: 22px; }
    .project-shelf h2 { font-size: 23px; }
    .project-shelf h2 span { display: none; }
    .project-shelf__heading > .text-action { font-size: 10px; gap: 7px; margin-top: 20px; }
    .project-total { display: none; }
    .project-shelf__items { grid-template-columns: 1fr; gap: 22px; }
    .shelf-info { padding: 15px 0 0; }
    .shelf-info strong { font-size: 21px; }
    .shelf-info small { font-size: 12px; }
    .shelf-info i { padding: 12px; }
    .now-strip { grid-template-columns: 1fr; }
    .now-strip h2 { font-size: 32px; }
    .dock { padding: 8px; gap: 3px; }
    .dock-app { width: 42px; }
    .contact-overview__mail { font-size: 21px; }
}
@media (max-width: 360px) {
    .hero-masthead h1 { font-size: 60px; }
    .project-spotlight { inset: 207px -10% 205px; }
    .scene-tools { top: 168px; }
    .intro-summary { font-size: 12px; }
    .home-intro .text-action { font-size: 9px; }
    .spotlight-caption h2 { font-size: 21px; }
    .spotlight-topline { font-size: 7px; }
    .project-card { grid-template-columns: 76px minmax(0,1fr); gap: 5px 10px; padding: 10px; }
    .project-card__thumb { width: 76px; }
    .project-card h3 { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (min-width: 981px) and (max-height: 820px) {
    .studio-hero { height: calc(100svh - 112px); min-height: 540px; }
    .hero-masthead { top: 22px; }
    .hero-masthead h1 { font-size: 104px; }
    .scene-tools { top: 162px; }
    .home-intro { bottom: 118px; }
    .intro-greeting { margin-bottom: 14px; }
    .intro-portrait { width: 35px; height: 35px; }
    .intro-summary { font-size: 15px; margin-bottom: 10px; }
    .project-spotlight { inset: 158px 20% 90px 21%; }
    .spotlight-caption { bottom: 116px; }
    .spotlight-caption h2 { font-size: 25px; }
    .spotlight-caption p { font-size: 12px; }
    .spotlight-controls { margin-top: 8px; }
    .hero-footer { bottom: 18px; padding-top: 14px; }
    .dock { bottom: 10px; }
}
@media (min-width: 981px) and (max-width: 1200px) and (max-height: 820px) {
    .hero-masthead h1 { font-size: 90px; }
    .home-intro { width: 178px; }
    .intro-greeting { display: none; }
    .project-spotlight { inset: 160px 18% 90px 20%; }
}
@media (min-width: 981px) and (max-height: 650px) {
    .studio-hero { min-height: 0; }
    .hero-masthead h1 { font-size: 86px; }
    .home-intro { display: none; }
    .scene-tools { top: 142px; }
    .project-spotlight { inset: 150px 27% 80px 4%; }
    .spotlight-caption { bottom: 105px; }
}
@media (max-width: 600px) and (max-height: 700px) {
    .studio-hero { min-height: 0; height: calc(100svh - 112px); }
    .hero-masthead { top: 18px; }
    .hero-masthead h1 { font-size: 44px; margin-top: 12px; }
    .scene-tools { top: 110px; }
    .project-spotlight { inset: 144px -10% 164px; }
    .spotlight-topline, .spotlight-caption p { display: none; }
    .spotlight-caption h2 { font-size: 22px; }
    .hero-footer { bottom: 36px; padding-top: 10px; }
}
@media (max-width: 360px) and (max-height: 700px) {
    .hero-masthead h1 { font-size: 38px; }
}
