/* MK / personal workspace. No external fonts, libraries, or network requests. */
:root {
  color-scheme: dark;
  --bg: #0a0d0c;
  --surface: #101512;
  --surface-high: #151c17;
  --surface-hover: #1a231c;
  --ink: #edf2ee;
  --muted: #9aa69e;
  --dim: #718077;
  --accent: #a8efbd;
  --accent-rgb: 168, 239, 189;
  --line: #243028;
  --line-soft: #1b251f;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --rail: 64px;
  --header: 74px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; font-size: 15px; line-height: 1.65; }
body.modal-open { overflow: hidden; }
::selection { background: var(--accent); color: var(--bg); }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; }
button:disabled { cursor: wait; opacity: .55; }
a, button { touch-action: manipulation; }
button, a, input { outline-offset: 5px; }
:focus-visible { outline: 2px solid var(--accent); }
button svg, a svg { pointer-events: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 550; }
[hidden] { display: none !important; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.js-only { display: none !important; }
html.js .js-only { display: inline-flex !important; }
html.js .no-js-only { display: none; }
.skip-link { position: fixed; z-index: 300; left: 12px; top: -70px; background: var(--accent); color: var(--bg); padding: 10px 20px; border-radius: 4px; }
.skip-link:focus { top: 12px; }
.text-dim { color: var(--muted); }
.eyebrow, .micro-label { font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: .13em; line-height: 1.5; }
.eyebrow { font-size: 11px; }
.micro-label { color: var(--muted); }
.signal-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #a8efbd0e; flex-shrink: 0; display: inline-block; }
.signal-dot.small { width: 5px; height: 5px; box-shadow: none; }
.topbar { position: fixed; inset: 0 0 auto 0; height: var(--header); z-index: 40; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; border-bottom: 1px solid var(--line); background: #0a0d0cf0; backdrop-filter: blur(18px); gap: 24px; }
.brand { display: flex; align-items: center; gap: 19px; white-space: nowrap; }
.brand-mark { font: 600 27px/1 var(--mono); letter-spacing: -3px; }
.brand-mark span, .footer-brand span { color: var(--accent); }
.brand-divider { height: 18px; width: 1px; background: var(--line); }
.brand-label { font: 10px var(--mono); color: var(--dim); letter-spacing: .02em; }
.desktop-nav { display: flex; align-items: center; height: 100%; gap: 28px; }
.nav-link { color: var(--muted); font: 11px var(--mono); display: flex; align-items: center; gap: 7px; height: 100%; position: relative; transition: color .2s; }
.nav-link span { color: var(--dim); font-size: 9px; }
.nav-link::after { content: ""; position: absolute; height: 2px; left: 0; right: 0; bottom: 0; background: var(--accent); transform: scaleX(0); transition: transform .25s; }
.nav-link.active { color: var(--ink); }
.nav-link.active span { color: var(--accent); }
.nav-link.active::after { transform: scaleX(1); }
.nav-link:hover { color: var(--accent); }
.topbar-actions { display: flex; align-items: center; gap: 23px; }
.search-trigger { display: flex; align-items: center; gap: 10px; min-height: 36px; color: var(--muted); }
.search-trigger .icon { width: 15px; height: 15px; }
kbd { display: inline-block; font: 10px/1.5 var(--mono); padding: 1px 5px; border: 1px solid #354138; border-radius: 3px; color: var(--muted); }
.top-contact { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 550; border: 1px solid #3b4a3f; padding: 7px 12px; border-radius: 4px; white-space: nowrap; transition: background .2s, border-color .2s; }
.top-contact .icon { width: 14px; height: 14px; color: var(--accent); }
.top-contact:hover { border-color: var(--accent); background: #a8efbd0b; }
.activity-rail { position: fixed; top: var(--header); left: 0; bottom: 28px; width: var(--rail); border-right: 1px solid var(--line); z-index: 30; display: flex; flex-direction: column; justify-content: space-between; background: var(--bg); }
.rail-top { padding-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.rail-link { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 42px; color: var(--dim); transition: color .2s, background .2s; }
.rail-link .icon { width: 21px; height: 21px; }
.rail-link.active { color: var(--accent); }
.rail-link.active::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 2px; background: var(--accent); }
.rail-link:hover { color: var(--accent); background: #a8efbd06; }
.rail-bottom { display: flex; align-items: center; gap: 25px; flex-direction: column; padding-bottom: 23px; }
.rail-label { font: 8px var(--mono); writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .23em; color: var(--dim); }
.avatar { height: 28px; width: 28px; align-items: center; justify-content: center; color: var(--accent); border: 1px solid #3b4d40; font: 9px var(--mono); border-radius: 50%; }
main { margin-left: var(--rail); padding-top: var(--header); }
.section-wrap { width: min(100%, 1400px); margin-inline: auto; padding-inline: clamp(30px, 5.2vw, 88px); }
.hero { position: relative; padding-top: 76px; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 77% 32%, #7195750a, transparent 60%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.01fr; gap: 36px; align-items: center; }
.hero-copy { position: relative; padding-block: 9px 10px; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; color: var(--accent); margin-bottom: 22px; }
.eyebrow-muted { margin-left: 2px; color: var(--dim); }
h1 { font-size: clamp(74px, 7.2vw, 110px); font-weight: 580; letter-spacing: -.07em; line-height: .99; margin-bottom: 28px; }
.surname { color: #c6cfc8; }
.title-dot { color: var(--accent); }
.hero-roles { display: flex; flex-direction: column; margin-bottom: 22px; padding-left: 14px; border-left: 2px solid #344b39; font: 12px/1.95 var(--mono); color: var(--muted); }
.hero-roles span:first-child { color: var(--accent); }
.hero-description { color: var(--muted); font-size: 14px; line-height: 1.85; max-width: 460px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 29px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 47px; border: 1px solid transparent; border-radius: 5px; font-size: 12px; font-weight: 600; padding: 0 20px; transition: background .2s, transform .2s, border-color .2s; }
.button .icon { width: 16px; height: 16px; }
.button-primary { color: #122019; background: var(--accent); }
.button-primary:hover { background: #c4f8d2; transform: translateY(-2px); }
.button-secondary { border-color: #334239; color: #c7d2ca; background: #11191340; }
.button-secondary:hover { border-color: #66866f; background: #19251d; transform: translateY(-2px); }
.hero-footnote { display: flex; align-items: center; gap: 10px; margin-top: 28px; font: 10px/1.5 var(--mono); color: var(--dim); }
.tiny-cross { color: #91a997; font-size: 16px; }
.hero-visual { position: relative; padding-top: 4px; min-width: 0; }
.window-shadow { position: absolute; width: 75%; height: 70%; right: 2%; top: 15%; background: #689c6c12; filter: blur(65px); border-radius: 50%; pointer-events: none; }
.workspace-window { position: relative; border: 1px solid #3b4b40; border-radius: 9px; background: #101512; box-shadow: 0 20px 70px #0006, 0 1px 0 #a8efbd0a inset; overflow: hidden; }
.window-titlebar { background: #18201a; border-bottom: 1px solid var(--line); height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 13px; color: #9aa69d; font: 9px var(--mono); }
.traffic-lights { display: flex; gap: 5px; width: 57px; }
.traffic-lights i { width: 6px; height: 6px; border-radius: 50%; background: #75695e; }
.traffic-lights i:nth-child(1) { background: #a86a61; }
.traffic-lights i:nth-child(2) { background: #ad9663; }
.traffic-lights i:nth-child(3) { background: #6d9977; }
.window-tag { text-align: right; width: 57px; font-size: 8px; color: var(--dim); }
.editor-tabs { display: flex; height: 39px; background: #0d120f; border-bottom: 1px solid var(--line); }
.editor-tab { display: flex; align-items: center; gap: 8px; border-right: 1px solid var(--line); padding: 0 15px; font: 10px var(--mono); color: var(--dim); position: relative; }
.editor-tab .icon { width: 13px; height: 13px; }
.editor-tab.active { color: #d8e1da; background: var(--surface); }
.editor-tab.active::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); }
.editor-tab.active .icon { color: var(--accent); }
.tab-dot { width: 5px; height: 5px; margin-left: 3px; border-radius: 50%; background: #aac3b0; }
.ts-icon { font: 8px var(--mono); color: #99acc8; }
.visual-stage, .source-stage { height: 265px; position: relative; overflow: hidden; }
.visual-stage { background-image: radial-gradient(#778e7920 .7px, transparent .7px); background-size: 19px 19px; background-position: center; }
#network-canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
#network-canvas:active { cursor: grabbing; }
.stage-meta { position: absolute; top: 15px; left: 17px; right: 17px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; z-index: 2; }
.stage-meta .micro-label { font-size: 8px; letter-spacing: .1em; color: #819487; }
.graph-node-count { font: 8px var(--mono); color: #7d9081; }
.graph-tag { pointer-events: none; position: absolute; padding: 3px 7px; border: 1px solid #344738; border-radius: 3px; background: #0b150fde; font: 8px var(--mono); color: #adbfaf; display: flex; align-items: center; gap: 5px; }
.graph-tag i { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }
.tag-engineering { top: 31%; left: 7%; }
.tag-education { bottom: 28%; right: 5%; }
.stage-bottom { position: absolute; bottom: 12px; left: 17px; right: 14px; display: flex; align-items: center; justify-content: space-between; font: 8px var(--mono); color: #90a095; gap: 12px; }
#graph-status span { margin-left: 5px; color: var(--accent); }
.mini-button { min-height: 26px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #3b4f40; background: #111d15b8; border-radius: 4px; padding: 5px 9px; color: #badac3; font: 9px/1.4 var(--mono); }
.mini-button .icon { width: 10px; height: 10px; }
.mini-button:hover { background: #263c2d; }
.source-stage { padding: 19px 11px 15px 0; background: #101512; font: 10px/2.15 var(--mono); color: #9aac9e; overflow: auto; }
.code-line { display: flex; white-space: pre; }
.ln { user-select: none; flex: 0 0 37px; text-align: right; padding-right: 14px; color: #596b5f; }
.syntax-purple { color: #b2a3cf; }.syntax-green { color: #a6d9b5; }.syntax-white { color: #e6eee8; }
.code-caret { display: inline-block; vertical-align: middle; width: 5px; height: 12px; margin-left: 2px; background: #9fb6a4; animation: blink 1.2s steps(1,end) infinite; }
.terminal { background: #0c110e; font-family: var(--mono); font-size: 10px; }
.terminal-heading { display: flex; justify-content: space-between; align-items: center; height: 35px; border-top: 1px solid #2b3b30; border-bottom: 1px solid #1d2921; padding: 0 13px 0 17px; color: #b7c6bb; letter-spacing: .04em; font-size: 8px; }
.terminal-heading > span { display: flex; align-items: center; gap: 7px; }
.terminal-heading .icon { width: 12px; height: 12px; }
.terminal-session { font-size: 8px; color: #738477; letter-spacing: 0; margin-left: 6px; padding-left: 11px; border-left: 1px solid #344b3b; }
.icon-button { display: inline-flex; width: 29px; height: 29px; align-items: center; justify-content: center; border-radius: 3px; color: var(--muted); }
.icon-button:hover { background: #253c2d; color: var(--accent); }
.icon-button .icon { width: 16px; height: 16px; }
.terminal-scroll { height: 131px; padding: 11px 16px 6px; overflow: auto; scrollbar-width: thin; scrollbar-color: #39523f #101612; overscroll-behavior: contain; }
.terminal-scroll:focus-visible { outline-offset: -3px; }
.terminal-line { line-height: 1.95; overflow-wrap: anywhere; color: #c3d1c7; min-height: 1.6em; }
.prompt-user { color: var(--accent); }.prompt-muted { color: #809586; }.prompt-sign { color: var(--accent); margin-inline: 5px 7px; }
.terminal-hint { color: #899c8e; }
.inline-command { padding: 0; font: inherit; color: var(--accent); border-bottom: 1px solid #a8efbd40; border-radius: 0; }
.inline-command:hover { border-color: var(--accent); }
.terminal-form { display: none; align-items: center; gap: 8px; min-height: 26px; margin-top: 3px; }
.terminal-prompt { color: var(--accent); display: inline-flex; align-items: center; gap: 8px; font-size: 12px; white-space: nowrap; cursor: text; }
.terminal-prompt span:first-child { color: #779b80; }
#terminal-input { background: transparent; border: 0; padding: 3px 0; color: #d4e9da; min-width: 0; width: 100%; caret-color: var(--accent); border-radius: 0; outline: 0; font: inherit; }
#terminal-input:focus-visible { outline: none; }
.terminal-form:focus-within { box-shadow: 0 1px 0 #a8efbd35; }
#terminal-input::placeholder { color: #6f8275; }
.terminal-submit { color: #a8cbb0; font-size: 14px; padding: 1px 5px; border-radius: 3px; }
.terminal-submit:hover { background: #223527; }
.terminal-quick { align-items: center; gap: 5px; border-top: 1px solid #1b261e; width: 100%; min-height: 35px; padding: 4px 14px; font-size: 8px; color: #91a498; }
.terminal-quick > span:first-child { margin-right: 2px; color: #6f8275; }
.terminal-quick button { min-height: 26px; font-size: inherit; padding: 3px 6px; border: 1px solid #2b3c31; border-radius: 3px; color: #b2caba; }
.terminal-quick button:hover { border-color: #6b9576; background: #243529; }
.terminal-key-hint { margin-left: auto; font-size: 7px; color: #7f9285; }
.window-status { height: 24px; display: flex; align-items: center; justify-content: space-between; background: #18261c; border-top: 1px solid #273f2e; padding: 0 13px; color: #91aa97; font: 7px var(--mono); }
.window-status > span:first-child { display: flex; align-items: center; gap: 5px; }
.window-status i { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }
.status-separator { color: #4c6b54; padding-inline: 7px; }
.visual-coordinate { position: absolute; color: #6b8773; font: 8px var(--mono); letter-spacing: .04em; }
.coordinate-top { right: 1px; top: -19px; }
.coordinate-bottom { right: 2px; bottom: -25px; color: #597563; }
.hero-context { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 68px; padding: 27px 0 30px; border-top: 1px solid var(--line); position: relative; }
.scroll-cue { display: flex; align-items: center; gap: 12px; font: 8px var(--mono); color: #8c9e91; letter-spacing: .1em; }
.scroll-track { display: inline-flex; height: 25px; width: 14px; border: 1px solid #526659; border-radius: 8px; align-items: start; justify-content: center; padding-top: 5px; }
.scroll-track i { width: 2px; height: 5px; border-radius: 1px; background: var(--accent); animation: scroll-cue 2s infinite ease-out; }
.context-item { display: flex; flex-direction: column; gap: 4px; }
.context-item > span { color: var(--dim); font: 8px var(--mono); letter-spacing: .08em; }
.context-item strong { color: #c0cfc4; font-size: 13px; font-weight: 500; }
.context-separator { height: 25px; width: 1px; background: var(--line); }
.experience-section { display: grid; grid-template-columns: .8fr 1.35fr; gap: 90px; padding-top: 113px; padding-bottom: 115px; border-top: 1px solid var(--line-soft); }
.section-eyebrow { color: #94a99b; margin-bottom: 24px; }
.section-eyebrow > span { color: var(--accent); margin-right: 6px; }
h2 { font-size: clamp(34px, 3.3vw, 47px); line-height: 1.14; letter-spacing: -.046em; }
.section-intro > p:not(.eyebrow) { font-size: 14px; line-height: 1.9; color: var(--muted); margin-top: 25px; max-width: 325px; }
.text-link { align-items: center; gap: 13px; margin-top: 24px; padding-bottom: 5px; border-bottom: 1px solid #52695a; color: #cde4d4; font-size: 11px; }
.text-link .icon { width: 14px; height: 14px; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.intro-decoration { display: flex; align-items: center; gap: 15px; margin-top: 43px; color: #364b3d; width: 116px; font: 58px/1 var(--mono); }
.intro-decoration > div { width: 42px; display: flex; flex-direction: column; gap: 6px; }
.intro-decoration i { display: block; height: 2px; background: #344b3a; width: 100%; }
.intro-decoration i:nth-child(2) { width: 65%; background: #5b7e63; }
.intro-decoration i:nth-child(3) { width: 80%; }
.experience-list { display: grid; gap: 20px; }
.experience-card { background: linear-gradient(120deg, #121914 0%, #0e1510 100%); border: 1px solid #293b2e; border-radius: 5px; padding: 27px; position: relative; }
.experience-card::before { content: ""; position: absolute; width: 26px; height: 1px; left: -27px; top: 48px; background: #344c3c; }
.experience-card-top { display: flex; gap: 15px; align-items: center; }
.org-mark { width: 42px; height: 42px; border-radius: 5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.yandex-mark { font-size: 24px; font-weight: 600; color: #d6c69d; border: 1px solid #65563c; background: #28271b; }
.hse-mark { color: #a1b9d5; border: 1px solid #394d62; background: #17252b; }
.hse-mark .icon { width: 21px; height: 21px; }
.experience-card h3 { font-size: 18px; font-weight: 550; letter-spacing: -.03em; line-height: 1.3; }
.experience-card-top p { font: 10px/1.6 var(--mono); color: #9eafa3; margin-top: 4px; }
.experience-label { font: 7px var(--mono); letter-spacing: .06em; margin-left: auto; border: 1px solid #314437; color: #a7b7ac; padding: 4px 7px; border-radius: 3px; }
.experience-description { color: #a8b6ac; font-size: 12px; line-height: 1.85; margin-top: 22px; }
.experience-focus { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: 19px; }
.experience-focus > span:not(.focus-label) { border: 1px solid #2c3e32; padding: 3px 7px; font: 8px/1.6 var(--mono); color: #a1b6a7; border-radius: 3px; }
.focus-label { font: 7px var(--mono); color: #708979; margin-right: 5px; letter-spacing: .05em; }
.experience-bottom { border-top: 1px solid #26372c; margin-top: 21px; padding-top: 15px; color: #8fab98; font: 9px/1.5 var(--mono); display: flex; align-items: center; gap: 8px; }
.advisor-note { display: flex; gap: 12px; border-top: 1px solid #2a3e31; margin-top: 21px; padding-top: 17px; }
.advisor-note > .icon { color: var(--accent); width: 16px; height: 16px; margin-top: 3px; }
.advisor-note strong { font-size: 11px; color: #cadbd0; font-weight: 500; }
.advisor-note p { color: #9aae9f; font-size: 11px; line-height: 1.8; margin-top: 4px; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.section-heading h2 { font-size: clamp(29px, 2.7vw, 40px); }
.section-heading .eyebrow { margin-bottom: 17px; }
.section-heading > p { font-size: 11px; color: #92a799; line-height: 1.9; padding-bottom: 1px; flex: 0 0 auto; }

.project-filters { align-items: center; gap: 5px; }
.filter { color: #92a499; font: 9px var(--mono); padding: 8px 11px; border: 1px solid transparent; border-radius: 4px; transition: color .2s, background .2s; }
.filter span { color: #85b895; margin-left: 5px; font-size: 8px; }
.filter.active { color: var(--accent); background: #18271d; border-color: #304c38; }
.filter:hover { color: #d2f0dd; }

.toolbox { margin-top: 57px; padding: 30px 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid #2c3c32; border-bottom: 1px solid #2c3c32; }
.toolbox > div:first-child > .eyebrow { color: #91af9c; font-size: 8px; }
.toolbox h2 { font-size: 22px; line-height: 1.3; letter-spacing: -.035em; margin-top: 10px; }
.toolbox-groups { display: flex; flex-direction: column; gap: 12px; }
.toolbox-groups > div { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #b1c7b8; font: 9px var(--mono); }
.toolbox-groups > div > span:not(.toolbox-label) + span::before { content: "/"; color: #47654f; margin-right: 10px; }
.toolbox-label { color: #769580; font-size: 7px; letter-spacing: .06em; min-width: 53px; }
.toolbox-command { align-items: center; gap: 10px; font: 10px var(--mono); color: var(--accent); border: 1px solid #3c5d46; border-radius: 4px; padding: 10px 13px; white-space: nowrap; }
.toolbox-command .icon { width: 13px; height: 13px; }
.toolbox-command:hover { background: #1b3022; }
.contact-section { padding-top: 100px; padding-bottom: 100px; position: relative; overflow: hidden; border-top: 1px solid #243329; }
.contact-glow { position: absolute; bottom: -160px; left: 30%; width: 530px; height: 300px; background: #65986e0b; filter: blur(80px); pointer-events: none; }
.contact-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; gap: 15px; }
.contact-top .eyebrow { margin: 0; }
.contact-comment { font: 8px var(--mono); color: #738f7c; }
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: 60px; position: relative; }
.contact-grid h2 { font-size: clamp(32px, 3.2vw, 45px); line-height: 1.18; letter-spacing: -.045em; }
.contact-caret { font-weight: 400; color: var(--accent); padding-left: 3px; animation: blink 1.6s steps(1,end) infinite; }
.contact-grid > div:first-child > p { color: #99ada0; font-size: 12px; line-height: 1.9; margin-top: 23px; }
.contact-buttons { display: flex; gap: 12px; margin-top: 26px; }
.contact-card { padding: 22px; border: 1px solid #334d3d; background: linear-gradient(125deg,#192b1fa0,#101b1470); border-radius: 5px; display: flex; flex-direction: column; align-items: flex-start; }
.contact-card .micro-label { font-size: 8px; color: #8db39a; }
.contact-mail-icon { width: 26px; height: 26px; color: #8ab99a; margin-block: 23px 15px; }
.contact-card > a { font: 12px/1.5 var(--mono); color: #cfebd7; overflow-wrap: anywhere; }
.contact-card > a:hover { text-decoration: underline; }
.copy-email { align-items: center; gap: 7px; color: #9ebfa9; font: 9px var(--mono); margin-top: 12px; padding: 3px 0; }
.copy-email:hover { color: var(--accent); }
.copy-email .icon { width: 12px; height: 12px; }
.contact-card-bottom { display: block; margin-top: 22px; padding-top: 13px; border-top: 1px solid #304d3a; width: 100%; color: #88a794; font: 8px/1.7 var(--mono); }
.footer { display: flex; align-items: center; gap: 23px; border-top: 1px solid #24382c; min-height: 100px; padding-bottom: 27px; color: #84998c; font: 8px/1.7 var(--mono); }
.footer-brand { color: #d0dfd5; font: 600 24px var(--mono); letter-spacing: -3px; }
.footer-credit { margin-left: auto; }
.footer-credit .inline-command { color: #b5d3bf; border: 0; }
.back-top { display: inline-flex; align-items: center; gap: 12px; margin-left: 22px; }
.back-top span { color: var(--accent); font-size: 14px; }
.back-top:hover { color: var(--accent); }
.statusbar { position: fixed; bottom: 0; left: 0; right: 0; height: 28px; z-index: 45; background: #14201a; border-top: 1px solid #2d4434; color: #a1b9a9; font: 9px var(--mono); display: flex; justify-content: space-between; align-items: center; padding-right: 19px; }
.statusbar > div { display: flex; align-items: center; gap: 19px; height: 100%; }
.statusbar > div > span { display: flex; align-items: center; gap: 5px; }
.statusbar .icon { width: 12px; height: 12px; }
.status-remote { display: flex; align-items: center; justify-content: center; color: #172a1e; background: var(--accent); height: 100%; width: 39px; }
.statusbar .status-remote .icon { width: 16px; height: 16px; }
.status-device { color: #7a9585; }
.motion-toggle { align-items: center; gap: 5px; padding: 0; font-size: 9px; height: 100%; }
.motion-toggle .icon { width: 10px; height: 10px; }
.motion-toggle:hover { color: var(--accent); }
/* Dialogs remain real, keyboard-operable HTML dialogs, not drawn windows. */
dialog { padding: 0; color: var(--ink); background: #101913; border: 1px solid #4a7256; border-radius: 9px; max-height: calc(100dvh - 48px); max-width: calc(100vw - 32px); box-shadow: 0 30px 130px #000b; }
dialog::backdrop { background: #030705bd; backdrop-filter: blur(8px); }
dialog[open] { animation: dialog-in .2s ease-out; }
.dialog-top { height: 51px; border-bottom: 1px solid #2b4333; padding: 0 17px 0 23px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-top h2 { display: flex; align-items: center; gap: 11px; font: 12px var(--mono); letter-spacing: 0; color: #c5decd; }
.dialog-top h2 .icon { width: 17px; height: 17px; color: var(--accent); }
.terminal-dialog { width: 790px; }
.terminal-dialog-intro { padding: 15px 23px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 9px/1.8 var(--mono); color: #a6c0ae; }
.terminal-dialog-intro > span:last-child { font-size: 8px; color: #718f7b; }
.terminal-dialog .terminal-heading { display: none; }
.terminal-dialog .terminal { font-size: 12px; }
.terminal-dialog .terminal-scroll { height: min(420px, 53dvh); padding: 15px 24px; }
.terminal-dialog .terminal-quick { padding: 10px 24px; font-size: 10px; }
.terminal-dialog .terminal-key-hint { display: none; }
.terminal-dialog .terminal-prompt { font-size: 14px; }
.terminal-dialog .terminal-form { margin-top: 8px; }
.terminal-dialog-footer { display: flex; justify-content: space-between; align-items: center; padding: 14px 23px; font: 8px var(--mono); color: #94b09e; gap: 12px; }
.terminal-dialog-footer kbd { font-size: 8px; margin-inline: 1px 3px; border-color: #395843; }
.terminal-command-block { margin-top: 12px; }
.terminal-command-block:first-child { margin-top: 0; }
.terminal-result { color: #b2c9ba; font: inherit; line-height: 1.9; margin: 3px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.terminal-result.accent { color: var(--accent); }
.terminal-result.error { color: #e4b99c; }
.terminal-result a { color: #b4edc6; text-decoration: underline; text-underline-offset: 3px; }
.terminal-table { margin-block: 8px; display: grid; grid-template-columns: minmax(105px, auto) 1fr; gap: 4px 20px; font-size: inherit; }
.terminal-table > span:nth-child(odd) { color: var(--accent); }
.terminal-table > span:nth-child(even) { color: #9fbaa9; }
.sort-output { display: flex; align-items: flex-end; gap: 5px; height: 75px; padding: 10px 0 0; max-width: 280px; }
.sort-output span { flex: 1; min-width: 10px; background: #568a64; color: #d7f4e0; text-align: center; font: 8px var(--mono); padding-top: 4px; border: 1px solid #6da47b; transition: height .14s; }
.sort-output span.sort-active { background: #b5e7c3; color: #14221a; }
.command-dialog { width: 570px; margin-top: min(19vh, 170px); }
.palette-search { display: flex; align-items: center; gap: 14px; padding: 17px 19px; border-bottom: 1px solid #334e3c; }
.palette-search > .icon { color: var(--accent); width: 20px; height: 20px; }
#palette-input { background: transparent; color: #e1f0e6; border: 0; outline: none; width: 100%; min-width: 0; font-size: 14px; }
#palette-input::placeholder { color: #89a592; }
.palette-escape { border: 1px solid #3a5843; border-radius: 3px; font: 9px var(--mono); padding: 3px 6px; color: #a6c0ae; }
.palette-section-label { padding: 15px 20px 8px; font: 8px var(--mono); color: #83a18e; letter-spacing: .12em; }
#palette-results { padding: 0 9px 9px; max-height: min(370px, 52vh); overflow: auto; }
.palette-item { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 11px 12px; border-radius: 5px; color: #bed7c7; font-size: 12px; cursor: pointer; }
.palette-item .icon { width: 16px; height: 16px; color: #8cab97; }
.palette-item > span:last-child { font: 8px var(--mono); color: #90ad9c; margin-left: auto; }
.palette-item[aria-selected="true"] { background: #243e2d; color: #d9f4e2; }
.palette-item[aria-selected="true"] .icon { color: var(--accent); }
.palette-empty { color: #99b5a3; padding: 20px 14px; font-size: 12px; }
.palette-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 20px; border-top: 1px solid #2c4334; font: 8px var(--mono); color: #8ca697; }
.palette-footer kbd { font-size: 8px; margin-right: 3px; }
.detail-dialog { width: 650px; }
.detail-content { padding: 32px; }
.detail-content .eyebrow { color: var(--accent); margin-bottom: 18px; font-size: 9px; }
.detail-content h2 { font-size: 33px; margin-bottom: 20px; }
.detail-content > p { color: #b1cabb; font-size: 14px; line-height: 1.9; margin-top: 16px; }
.detail-content h3 { font-size: 16px; color: #d2e7d9; margin-top: 25px; }
.detail-note { padding: 15px 18px; background: #1a3022; border-left: 2px solid #86b494; font: 11px/1.9 var(--mono); color: #adcfb9; margin-top: 24px; }
.toast { position: fixed; z-index: 400; bottom: 49px; left: calc(50% + 32px); transform: translate(-50%, 12px); opacity: 0; pointer-events: none; background: #1e3728; border: 1px solid #547e60; border-radius: 5px; padding: 12px 18px; color: #d5f0df; font: 11px/1.6 var(--mono); box-shadow: 0 8px 32px #0005; max-width: min(480px, calc(100vw - 32px)); text-align: center; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.noscript-note { position: relative; padding: 15px 30px 45px; color: #b5cbbd; font-size: 12px; border-top: 1px solid var(--line); margin-left: var(--rail); }
.print-resume { display: none; }
/* Motion is user-controllable and also respects the OS preference. */
.reveal.will-reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease-out, transform .65s ease-out; }
.reveal.will-reveal.visible { opacity: 1; transform: none; }
.hero-copy { animation: hero-in .7s .06s both ease-out; }
.hero-visual { animation: hero-in .8s .18s both ease-out; }
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 49% { opacity: .9; } 50%, 100% { opacity: .1; } }
@keyframes scroll-cue { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 70%,100% { transform: translateY(7px); opacity: 0; } }
@keyframes packet { 0% { left: 0; opacity: 0; } 12%, 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html[data-motion="off"] { scroll-behavior: auto; }
html[data-motion="off"] .will-reveal { opacity: 1; transform: none; }
html[data-page-hidden="true"] *, html[data-page-hidden="true"] *::before, html[data-page-hidden="true"] *::after { animation-play-state: paused !important; }
@media (min-width: 1550px) { .hero { padding-top: 100px; }.hero-context { margin-top: 86px; }.hero-grid { gap: 65px; } }
@media (max-width: 1200px) {
  .topbar { padding-inline: 23px; gap: 20px; }.brand-label, .brand-divider { display: none; }.desktop-nav { gap: 22px; }
  .section-wrap { padding-inline: 43px; }.hero-grid { gap: 28px; }h1 { font-size: 86px; }.hero-description { font-size: 12px; }.wide-break { display: none; }.hero-roles { font-size: 11px; }
  .hero-actions { gap: 8px; }.hero-actions .button { font-size: 10px; padding-inline: 13px; gap: 9px; }.hero-footnote { font-size: 8px; }
  .terminal { font-size: 9px; }.terminal-key-hint { display: none; }.hero-visual { padding: 0; }.visual-stage, .source-stage { height: 243px; }.source-stage { font-size: 8.5px; line-height: 2.25; padding-top: 20px; }
  .experience-section { gap: 60px; grid-template-columns: .85fr 1.35fr; }.experience-card { padding: 22px; }.experience-label { font-size: 6px; padding: 3px 5px; }
  .section-heading { align-items: flex-start; }.section-heading > p { font-size: 10px; margin-top: 33px; }
  
  .toolbox { gap: 25px; }.toolbox h2 { font-size: 20px; }.toolbox-groups > div { font-size: 8px; gap: 8px; }.toolbox-command { font-size: 9px; padding-inline: 10px; }
  .contact-grid { gap: 34px; }.contact-card { padding: 20px; }.contact-card > a { font-size: 11px; }.contact-grid h2 { font-size: 35px; }
}
@media (max-width: 960px) {
  :root { --rail: 49px; --header: 66px; }.topbar { padding-inline: 18px; }.desktop-nav { gap: 19px; }.nav-link { font-size: 10px; }.nav-link span { display: none; }.topbar-actions { gap: 14px; }
  .hero { padding-top: 66px; }.section-wrap { padding-inline: 30px; }.hero-grid { gap: 22px; grid-template-columns: .94fr 1.06fr; }h1 { font-size: 72px; }.hero-eyebrow { font-size: 9px; gap: 9px; }.hero-roles { font-size: 9px; }.hero-description { font-size: 11px; }.hero-footnote { font-size: 7px; gap: 6px; }
  .hero-actions { gap: 8px; }.hero-actions .button { min-height: 40px; padding-inline: 9px; gap: 7px; font-size: 9px; }.hero-actions .icon { width: 13px; height: 13px; }
  .window-titlebar { font-size: 8px; padding-inline: 10px; }.editor-tab { font-size: 8px; padding-inline: 10px; }.visual-stage, .source-stage { height: 225px; }.source-stage { font-size: 7px; }.graph-tag { font-size: 7px; }.tag-engineering { left: 4%; }.tag-education { right: 3%; }.stage-meta .micro-label { font-size: 6px; }.graph-node-count { font-size: 6px; }
  .terminal { font-size: 8px; }.terminal-scroll { padding-inline: 12px; height: 117px; }.terminal-session { font-size: 7px; margin-left: 3px; padding-left: 7px; }.terminal-heading { padding-inline: 12px; }.terminal-quick { padding-inline: 12px; }.terminal-quick button { font-size: 7px; }.stage-bottom { font-size: 7px; }.mini-button { font-size: 8px; padding: 4px 6px; }
  .hero-context { margin-top: 62px; gap: 15px; }.scroll-cue { font-size: 6px; gap: 8px; }.context-item > span { font-size: 6px; }.context-item strong { font-size: 11px; }
  .experience-section { padding-block: 83px; gap: 37px; grid-template-columns: .85fr 1.3fr; }h2 { font-size: 34px; }.section-intro > p:not(.eyebrow) { font-size: 12px; }.experience-card { padding: 20px; }.experience-label { display: none; }.experience-card h3 { font-size: 16px; }.experience-card-top p { font-size: 8px; }.org-mark { width: 35px; height: 35px; }.experience-description { font-size: 11px; }.experience-focus { gap: 5px; }.experience-focus > span:not(.focus-label) { font-size: 7px; padding-inline: 5px; }.experience-card::before { width: 18px; left: -19px; }.advisor-note p { font-size: 10px; }
  .section-heading h2 { font-size: 29px; }.section-heading > p { display: none; }
  .toolbox { flex-wrap: wrap; gap: 20px; }.toolbox-groups { margin-left: auto; }.toolbox-command { margin-top: 2px; }.contact-section { padding-block: 78px; }.contact-comment { display: none; }.contact-grid { grid-template-columns: 1.35fr 1fr; gap: 25px; }.contact-grid h2 { font-size: 30px; }.contact-grid > div:first-child > p { font-size: 11px; }.contact-card { padding: 17px; }.contact-card > a { font-size: 10px; }.contact-buttons .button { font-size: 10px; gap: 10px; padding-inline: 14px; }
  .footer { gap: 16px; }.footer-credit { font-size: 7px; }.back-top { margin-left: 0; }.statusbar { font-size: 8px; }.motion-toggle { font-size: 8px; }
}
@media (max-width: 760px) {
  :root { --rail: 0px; --header: 62px; }.activity-rail, .desktop-nav { display: none; }.brand-label, .brand-divider { display: block; }.brand-label { font-size: 9px; }.brand { gap: 14px; }.topbar { padding-inline: 22px; }.topbar-actions { gap: 15px; }.search-trigger { padding: 0; }.search-trigger kbd { display: none; }.top-contact { font-size: 10px; padding: 6px 9px; }.top-contact .icon { width: 13px; height: 13px; }
  .section-wrap { padding-inline: 27px; }.hero { padding-top: 48px; }.hero-grid { grid-template-columns: 1fr; gap: 65px; }.hero-copy { padding-block: 0; }.hero-eyebrow { font-size: 10px; margin-bottom: 21px; }h1 { font-size: clamp(77px, 14.6vw, 112px); margin-bottom: 26px; }.hero-roles { font-size: 12px; line-height: 1.95; margin-bottom: 20px; }.hero-description { font-size: 13px; max-width: 460px; }.hero-actions { margin-top: 25px; gap: 12px; }.hero-actions .button { min-height: 46px; font-size: 11px; padding-inline: 16px; gap: 11px; }.hero-actions .icon { width: 15px; height: 15px; }.hero-footnote { font-size: 9px; margin-top: 24px; }
  .hero-visual { width: min(100%, 570px); margin-inline: auto; }.window-titlebar { height: 34px; font-size: 9px; padding-inline: 13px; }.editor-tab { font-size: 10px; padding-inline: 14px; }.visual-stage, .source-stage { height: 261px; }.source-stage { font-size: 10px; padding-top: 17px; line-height: 2.2; }.stage-meta .micro-label, .graph-node-count { font-size: 8px; }.tag-engineering { left: 9%; }.tag-education { right: 7%; }.graph-tag { font-size: 8px; }.stage-bottom { font-size: 8px; }.mini-button { font-size: 9px; padding: 5px 8px; }.terminal { font-size: 10px; }.terminal-heading { padding-inline: 16px; font-size: 8px; }.terminal-session { font-size: 8px; padding-left: 11px; margin-left: 6px; }.terminal-scroll { padding-inline: 16px; height: 134px; }.terminal-quick { padding-inline: 16px; }.terminal-quick button { font-size: 8px; }.terminal-key-hint { display: block; font-size: 7px; }#terminal-input { font-size: 16px; transform-origin: left; /* prevent iOS focus-zoom without viewport restrictions */ }.terminal-prompt { font-size: 13px; }.terminal-form { min-height: 32px; }
  .hero-context { margin-top: 61px; padding-block: 23px; gap: 12px; flex-wrap: wrap; }.scroll-cue { display: none; }.context-item > span { font-size: 6px; }.context-item strong { font-size: 11px; }.context-separator { height: 23px; }
  .experience-section { grid-template-columns: 1fr; padding-block: 70px; gap: 34px; }.section-intro { position: relative; }.section-intro > p:not(.eyebrow) { font-size: 13px; max-width: 460px; margin-top: 19px; }.section-eyebrow { font-size: 9px; margin-bottom: 19px; }h2 { font-size: 38px; }.intro-decoration { display: none; }.text-link { font-size: 11px; margin-top: 20px; }.experience-card { padding: 25px; }.experience-card::before { display: none; }.experience-card h3 { font-size: 18px; }.experience-card-top p { font-size: 10px; }.org-mark { width: 42px; height: 42px; }.experience-label { display: inline-block; font-size: 7px; }.experience-description { font-size: 12px; margin-top: 20px; }.experience-focus > span:not(.focus-label) { font-size: 8px; }.advisor-note p { font-size: 11px; }.advisor-note strong { font-size: 12px; }
  .section-heading h2 { font-size: 35px; max-width: 380px; }.filter { font-size: 10px; padding: 8px 10px; }
  .toolbox { margin-top: 38px; gap: 27px; align-items: flex-start; flex-direction: column; }.toolbox h2 { font-size: 27px; }.toolbox-groups { margin-left: 0; gap: 15px; }.toolbox-groups > div { font-size: 10px; gap: 8px; }.toolbox-groups > div > span:not(.toolbox-label) + span::before { margin-right: 8px; }.toolbox-label { font-size: 8px; min-width: 49px; }.toolbox-command { font-size: 10px; margin: 0; padding: 10px 13px; }
  .contact-section { padding-block: 66px; }.contact-top { margin-bottom: 24px; }.contact-grid { grid-template-columns: 1fr; gap: 34px; }.contact-grid h2 { font-size: 36px; }.contact-grid > div:first-child > p { font-size: 12px; margin-top: 20px; }.contact-buttons .button { font-size: 12px; padding-inline: 20px; gap: 13px; }.contact-card { padding: 24px; }.contact-card .micro-label { font-size: 9px; }.contact-mail-icon { margin-block: 20px 17px; }.contact-card > a { font-size: 15px; }.copy-email { font-size: 11px; margin-top: 13px; padding-block: 7px; }.contact-card-bottom { font-size: 9px; margin-top: 19px; }
  .footer { padding-top: 24px; padding-bottom: 52px; flex-wrap: wrap; column-gap: 19px; row-gap: 15px; font-size: 9px; }.footer-credit { order: 4; flex-basis: 100%; margin: 0; font-size: 9px; }.back-top { margin-left: auto; }.statusbar { padding-right: 12px; font-size: 8px; }.statusbar > div { gap: 11px; }.status-device, .status-encoding { display: none !important; }.status-remote { width: 31px; }.motion-toggle { font-size: 8px; }.toast { left: 50%; }
  .terminal-dialog-intro { padding: 14px 17px; }.terminal-dialog-intro > span:last-child { display: none; }.terminal-dialog .terminal { font-size: 10px; }.terminal-dialog .terminal-scroll { padding-inline: 17px; height: min(390px, 49dvh); }.terminal-dialog .terminal-quick { padding-inline: 17px; }.terminal-dialog-footer { padding: 12px 17px; gap: 8px; }.terminal-dialog-footer > span { font-size: 7px; }.terminal-dialog-footer .mini-button { display: none; }.terminal-table { grid-template-columns: minmax(78px, auto) 1fr; gap: 4px 10px; }.dialog-top { padding-left: 17px; }.dialog-top h2 { font-size: 10px; }.command-dialog { margin-top: 70px; }.palette-search { padding: 16px; }#palette-input { font-size: 16px; }.palette-footer { font-size: 7px; padding-inline: 16px; }.palette-item { min-height: 47px; }.palette-item > span:last-child { font-size: 7px; }.detail-content { padding: 26px; }.detail-content h2 { font-size: 29px; }.detail-content > p { font-size: 13px; }
}
@media (max-width: 380px) {
  .brand-label, .brand-divider { display: none; }.section-wrap { padding-inline: 21px; }.hero-actions { gap: 8px; }.hero-actions .button { padding-inline: 12px; font-size: 10px; }h1 { font-size: 76px; }.hero-roles { font-size: 11px; }.hero-footnote { font-size: 8px; }.hero-description { font-size: 12px; }.source-stage { font-size: 8px; padding-top: 22px; line-height: 2.6; }.terminal-key-hint { display: none; }.terminal { font-size: 9px; }.stage-meta .micro-label { font-size: 7px; }.graph-tag { font-size: 7px; }.context-item > span { font-size: 5px; }.context-item strong { font-size: 10px; }.hero-context { gap: 9px; }.experience-card { padding: 20px; }.experience-label { display: none; }.experience-focus > span:not(.focus-label) { font-size: 7px; }.toolbox-groups > div { font-size: 9px; gap: 6px; }.toolbox-groups > div > span:not(.toolbox-label) + span::before { margin-right: 6px; }.contact-grid h2 { font-size: 30px; }.contact-card > a { font-size: 13px; }.footer { gap: 15px; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }.reveal.will-reveal { opacity: 1; transform: none; }
}
@media print {
  :root { color-scheme: light; }body { background: white; color: #17211b; font: 10pt/1.55 Arial,sans-serif; }body > * { display: none !important; }body > .print-resume { display: block !important; max-width: 700px; margin: auto; }.print-heading { border-bottom: 2px solid #224c34; padding-bottom: 18px; margin-bottom: 22px; }.print-resume h1 { font: 600 30pt/1.1 Arial,sans-serif; letter-spacing: -.04em; margin: 0 0 8px; }.print-heading > p { font-size: 9pt; color: #304b3b; }.print-heading > div { margin-top: 10px; font-size: 9pt; }.print-resume h2 { font: 600 12pt/1.4 Arial,sans-serif; letter-spacing: 0; margin: 23px 0 9px; text-transform: uppercase; color: #234631; }.print-resume h3 { font: 600 11pt/1.4 Arial,sans-serif; margin: 16px 0 7px; }.print-resume p { margin: 7px 0; }a { text-decoration: none; }@page { size: A4; margin: 19mm; }
}

html.js .terminal-form { display: flex; }
@media screen and (max-width: 760px) { .terminal-quick button { min-height: 32px; } .stage-bottom .mini-button { min-height: 30px; } .copy-email { min-height: 38px; } .search-trigger { min-width: 28px; } }

/* v1.1 — real project directory. The artwork is schematic, never a claimed screenshot. */
.projects-section { padding-top: 88px; padding-bottom: 78px; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 15% 5%, rgba(var(--accent-rgb), .035), transparent 45%), var(--bg); }
.projects-section .section-heading { align-items: flex-end; }
.projects-section .section-heading h2 { font-size: clamp(32px,3vw,44px); line-height: 1.18; letter-spacing: -.045em; }
.projects-section .section-heading > p { max-width: 275px; font-size: 12px; white-space: normal; }
.project-toolbar { margin-top: 33px; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.project-filters { gap: 5px; flex-wrap: wrap; }
.project-filters .filter { font-size: 10px; min-height: 36px; white-space: nowrap; }
.project-search { display: flex; gap: 9px; align-items: center; border: 1px solid var(--line); border-radius: 4px; padding: 0 11px; min-width: 160px; width: 220px; height: 36px; color: var(--dim); background: var(--surface); }
.project-search:focus-within { border-color: var(--accent); }
.project-search .icon { width: 14px; height: 14px; flex-shrink: 0; }
.project-search input { border: 0; color: var(--ink); background: transparent; font: 10px var(--mono); width: 100%; min-width: 0; height: 100%; outline: none; }
.project-search input::placeholder { color: #91a799; }
.project-directory-status { display: flex; justify-content: space-between; padding: 17px 0; color: #9aae9f; font: 9px var(--mono); }
.project-directory-status > span { display: flex; align-items: center; gap: 8px; }
.project-directory-status .icon { width: 13px; height: 13px; color: var(--accent); }
.project-featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.project-card { border: 1px solid #314539; border-radius: 5px; overflow: hidden; min-width: 0; display: flex; flex-direction: column; background: #111914; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.project-card:hover { transform: translateY(-5px); border-color: #709c7d; box-shadow: 0 16px 28px #0003; }
.project-cover { height: 177px; flex: 0 0 177px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 70%, rgba(var(--accent-rgb), .065), transparent 75%), radial-gradient(#7fb99320 .7px,transparent .7px); background-size: auto,13px 13px; border-bottom: 1px solid var(--line); }
.project-cover-top { position: absolute; top: 15px; left: 17px; right: 17px; display: flex; justify-content: space-between; align-items: center; font: 7px var(--mono); color: #b2cabc; letter-spacing: .08em; }
.project-mini-dot { border: 1px solid #678d74; width: 5px; height: 5px; border-radius: 50%; }
.project-cover-footer { position: absolute; bottom: 13px; left: 17px; font: 6px var(--mono); letter-spacing: .12em; color: #9cb9a6; }
.cover-cross { position: absolute; bottom: 5px; right: 15px; color: #597866; font: 20px var(--mono); }
.pixel-art { display: grid; grid-template-columns: repeat(12, 7px); grid-template-rows: repeat(8,7px); gap: 2px; position: absolute; top: 43px; left: calc(50% - 81px); transform: skewY(-8deg); }
.pixel { border: 1px solid #2b4332; border-radius: 1px; }
.pixel.lit { background: rgba(var(--accent-rgb), .48); border-color: rgba(var(--accent-rgb), .48); animation: pixel-process 5s ease-in-out infinite; animation-delay: calc(var(--n) * .014s); }
.pixel-scan { height: 97px; position: absolute; left: calc(50% - 95px); top: 32px; width: 1px; background: var(--accent); box-shadow: 0 0 14px rgba(var(--accent-rgb), .4); opacity: .4; transform: rotate(-8deg); animation: filter-scan 5s ease-in-out infinite; }
.schematic-word { position: absolute; top: 79px; right: 18px; writing-mode: vertical-rl; color: #95b09f; font: 7px var(--mono); }
.pipeline-path { position: absolute; left: 22px; right: 22px; top: 61px; display: flex; align-items: center; }
.pipeline-step { width: 39px; height: 39px; border: 1px solid #497158; background: #17261c; border-radius: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; position: relative; color: #b7d3c0; }
.pipeline-step .icon { width: 18px; height: 18px; }
.pipeline-step small { position: absolute; top: 44px; left: 50%; transform: translateX(-50%); font: 7px var(--mono); color: #a8c3b2; }
.pipeline-step.accent-step { color: var(--accent); border-color: #709d7b; background: #203325; }
.pipeline-connector { flex: 1; height: 1px; background: #3a6146; position: relative; }
.pipeline-connector i { position: absolute; top: -1px; width: 7px; height: 3px; background: var(--accent); animation: packet 2.6s linear infinite; }
.pipeline-connector:nth-of-type(4) i { animation-delay: .9s; }
.neural-schematic { position: absolute; width: 235px; height: 118px; left: 50%; top: 29px; transform: translateX(-50%); }
.neural-edges { stroke: #466b53; stroke-width: .8; fill: none; }
.neural-edges path:nth-child(4n) { stroke: var(--accent); stroke-dasharray: 3 11; opacity: .6; animation: neural-flow 8s linear infinite; }
.neural-nodes { stroke: #70957d; fill: #213a29; }
.neural-nodes circle:nth-last-child(-n+2) { fill: var(--accent); stroke: var(--accent); }
.code-project-mark { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--accent); }
.code-project-mark .icon { width: 52px; height: 52px; }
.project-card-content { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 0; min-width: 0; }
.project-file { display: flex; align-items: center; gap: 7px; color: #96b3a1; font: 7px var(--mono); margin-bottom: 15px; overflow-wrap: anywhere; }
.file-badge { color: var(--accent); padding: 1px 3px; border: 1px solid #41644b; border-radius: 2px; font-size: 6px; white-space: nowrap; flex-shrink: 0; }
.project-card h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.035em; color: #e0ede4; margin-bottom: 11px; }
.project-summary { font-size: 12px; line-height: 1.85; color: #a9beb1; margin-bottom: 20px; }
.project-stack { display: flex; flex-wrap: wrap; gap: 6px; font: 8px var(--mono); color: #b3d5bd; }
.project-stack > span { display: inline-flex; padding: 4px 6px; border: 1px solid #314b39; border-radius: 3px; background: #18261d; white-space: nowrap; }
.project-card-content > .project-stack { margin-top: auto; padding-bottom: 22px; }
.project-open { width: calc(100% + 40px); margin: 0 -20px; border-top: 1px solid #2a4032; padding: 15px 20px; justify-content: space-between; align-items: center; gap: 7px; color: var(--accent); font: 10px var(--mono); text-align: left; min-height: 48px; }
.project-open:hover { background: #203526; }
.project-open-hint { display: none; }
.project-open .icon { width: 15px; height: 15px; }
.project-archive { margin-top: 29px; border: 1px solid #2c3e32; border-radius: 5px; overflow: hidden; background: #0e1611; }
.project-archive-heading { display: flex; justify-content: space-between; gap: 12px; padding: 15px 19px; color: #a3bdaa; border-bottom: 1px solid #2c3e32; font: 9px var(--mono); background: #142019; }
.archive-comment { color: #9eb2a5; font-size: 8px; }
.project-row { display: grid; grid-template-columns: 22px minmax(0,1fr) minmax(150px,.53fr) 36px; column-gap: 18px; align-items: center; padding: 19px 20px; border-bottom: 1px solid #26382c; transition: background .2s ease; }
.project-row:last-child { border-bottom: 0; }
.project-row:hover { background: #18251c; }
.project-row-index { align-self: start; font: 9px var(--mono); color: #819b8a; padding-top: 4px; }
.project-row-label { font: 7px var(--mono); letter-spacing: .1em; color: #97bca4; }
.project-row h3 { font-size: 16px; line-height: 1.5; margin: 4px 0; letter-spacing: -.02em; }
.project-row-main > p { color: #a2b9aa; font-size: 11px; line-height: 1.75; max-width: 530px; }
.project-row-stack .project-stack { justify-content: flex-start; }
.project-row-open { width: 36px; height: 36px; border: 1px solid #365a41; border-radius: 4px; justify-content: center; align-items: center; color: var(--accent); }
.project-row-open:hover { background: #2b4733; border-color: var(--accent); }
.project-row-open .icon { width: 17px; height: 17px; }
.project-section-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 23px; }
.project-section-footer > p { font: 9px/1.85 var(--mono); color: #9cb5a4; }
.project-section-footer .mini-button { flex-shrink: 0; min-height: 35px; }
.project-empty { text-align: center; padding: 40px 20px; border: 1px dashed #3b5c46; border-radius: 5px; }
.project-empty > span { font: 38px var(--mono); color: var(--accent); }
.project-empty h3 { font-size: 20px; margin: 10px 0; }
.project-empty p { color: #a5bcae; font-size: 12px; margin-bottom: 20px; }
.project-readme-footer { display: flex; align-items: center; gap: 10px; border-top: 1px solid #334b3b; margin-top: 28px; padding-top: 20px; font: 10px var(--mono); color: #a5c9b0; overflow-wrap: anywhere; }
.project-readme-footer .icon { flex-shrink: 0; width: 16px; height: 16px; }
.detail-stack { margin-top: 20px; }
.detail-project-links { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.detail-dialog .dialog-top .micro-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.detail-dialog .dialog-top [data-close-dialog] { flex-shrink: 0; }
.project-external-links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 15px; }
.project-external-link { font: 10px var(--mono); color: var(--accent); display: inline-flex; gap: 5px; align-items: center; }
.project-external-link .icon { width: 12px; height: 12px; }
.contact-buttons { flex-wrap: wrap; }
.contact-card > a { overflow-wrap: anywhere; }
@keyframes pixel-process { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes filter-scan { 0%,100% { transform: translateX(0) rotate(-8deg); opacity: 0; } 15%,85% { opacity: .5; } 90% { transform: translateX(145px) rotate(-8deg); opacity: 0; } }
@keyframes neural-flow { to { stroke-dashoffset: -112; } }
@media (min-width: 1650px) { .project-open-hint { display: inline; font-size: 7px; color: #a1b9aa; margin-left: auto; } }
@media (max-width: 1100px) {
  .project-card-content { padding-inline: 16px; }.project-open { margin-inline: -16px; width: calc(100% + 32px); padding-inline: 16px; }.project-card h3 { font-size: 18px; }.project-summary { font-size: 11px; }.project-file { font-size: 6px; }.project-featured-grid { gap: 12px; }.project-cover { height: 163px; flex-basis: 163px; }.project-cover-top { font-size: 6px; }.project-cover-footer { font-size: 5px; }.pipeline-path { left: 16px; right: 16px; }.pipeline-step { width: 32px; height: 32px; }.pipeline-step small { top: 38px; font-size: 6px; }.neural-schematic { width: 210px; height: 107px; }.project-row { column-gap: 14px; grid-template-columns: 18px minmax(0,1fr) minmax(130px,.45fr) 34px; }.project-search { width: 185px; }.project-filters .filter { padding-inline: 8px; font-size: 9px; }
}
@media (max-width: 960px) {
  .projects-section { padding-block: 74px; }.projects-section .section-heading > p { display: block; max-width: 235px; font-size: 11px; }.project-toolbar { flex-wrap: wrap; }.project-filters { flex: 1; }.project-search { min-width: 170px; }.project-row { grid-template-columns: 18px minmax(0,1fr) 34px; }.project-row-stack { grid-column: 2; margin-top: 11px; }.project-row-open { grid-column: 3; grid-row: 1 / span 2; }.project-row h3 { font-size: 16px; }
}
@media (max-width: 760px) {
  .projects-section { padding-block: 64px; }.projects-section .section-heading { display: block; }.projects-section .section-heading h2 { font-size: 36px; }.projects-section .section-heading > p { max-width: 330px; margin-top: 18px; font-size: 12px; }.project-toolbar { gap: 13px; margin-top: 26px; }.project-filters { flex: 1 1 100%; gap: 3px; }.project-filters .filter { padding-inline: 9px; font-size: 9px; min-height: 38px; }.project-filters .filter span { margin-left: 3px; font-size: 7px; }.project-search { width: 100%; min-width: 0; height: 40px; }.project-search input { font-size: 11px; }.project-directory-status { font-size: 9px; padding-block: 17px; }.project-featured-grid { grid-template-columns: 1fr; gap: 22px; }.project-cover { height: 183px; flex-basis: 183px; }.project-cover-top { font-size: 7px; left: 20px; right: 20px; }.project-cover-footer { left: 20px; font-size: 6px; }.project-card-content { padding: 22px 22px 0; }.project-file { font-size: 8px; }.file-badge { font-size: 7px; }.project-card h3 { font-size: 23px; }.project-summary { font-size: 13px; }.project-stack { font-size: 9px; }.project-open { margin-inline: -22px; width: calc(100% + 44px); padding-inline: 22px; font-size: 11px; min-height: 51px; }.pixel-art { top: 45px; }.pipeline-path { left: 34px; right: 34px; top: 63px; }.pipeline-step { width: 42px; height: 42px; }.pipeline-step small { top: 48px; font-size: 7px; }.neural-schematic { width: 252px; height: 126px; top: 30px; }.project-archive { margin-top: 25px; }.project-archive-heading { font-size: 8px; padding: 15px; }.archive-comment { display: none; }.project-row { padding: 20px 15px; grid-template-columns: minmax(0,1fr) 36px; column-gap: 12px; }.project-row-index { display: none; }.project-row-label { font-size: 7px; }.project-row h3 { font-size: 18px; line-height: 1.4; margin-block: 7px; }.project-row-main > p { font-size: 12px; line-height: 1.8; }.project-row-stack { grid-column: 1; }.project-row-stack .project-stack { font-size: 8px; gap: 5px; }.project-row-open { grid-column: 2; grid-row: 1 / span 2; width: 36px; height: 42px; }.project-section-footer { align-items: flex-start; }.project-section-footer > p { font-size: 8px; }.project-section-footer .mini-button { font-size: 9px; }.detail-content { padding: 24px; }.detail-content h2 { font-size: 27px; }.detail-content > p { font-size: 13px; }.project-readme-footer { font-size: 9px; }.project-card .project-external-link { font-size: 11px; }
}
@media (max-width: 380px) {
  .projects-section .section-heading h2 { font-size: 33px; }.project-filters { gap: 1px; }.project-filters .filter { padding-inline: 6px; font-size: 8px; }.project-filters .filter span { font-size: 7px; }.project-card-content { padding-inline: 19px; }.project-open { margin-inline: -19px; width: calc(100% + 38px); padding-inline: 19px; }.project-file { font-size: 7px; }.project-card h3 { font-size: 22px; }.project-row h3 { font-size: 17px; }.project-row { padding-inline: 13px; }.project-section-footer { flex-wrap: wrap; }.project-row-stack .project-stack { font-size: 7px; }.project-row-main > p { font-size: 11px; }.detail-content { padding: 21px; }.detail-content h2 { font-size: 25px; }
}
@media print {
  .print-resume h2 { break-after: avoid; }.print-resume h3 { break-after: avoid; }.print-project { break-inside: avoid; margin-bottom: 15px; }.print-project h3 { margin-bottom: 4px; }.print-project p { margin: 3px 0; }.print-project .print-stack { color: #365641; font-size: 8pt; }
}

/* v1.2: CV project dates and reusable project pipelines. */
.project-period { color: #a7beb0; font: 9px/1.6 var(--mono); margin: -2px 0 12px; }
.project-row-period { font-size: 8px; margin: 2px 0 7px; }
.detail-period { font-size: 10px; margin: 12px 0 18px; }
@media print { .print-period { font-size: 8pt; color: #365641; margin-bottom: 4px; } }

/* v1.3 / Education: a compact academic record, not a course catalogue. */
.education-section { padding-top: 75px; padding-bottom: 82px; border-top: 1px solid var(--line-soft); }
.education-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 30px; }
.education-heading .section-eyebrow { margin-bottom: 18px; }
.education-heading h2 { font-size: clamp(32px, 3.1vw, 43px); }
.education-heading > p { max-width: 270px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.education-panel { border: 1px solid #34473a; border-radius: 7px; overflow: hidden; background: var(--surface); }
.education-filebar { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 13px 23px; background: #141d17; border-bottom: 1px solid #2d3e33; color: #a4b9ab; font: 9px/1.7 var(--mono); }
.education-filebar > span:first-child { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.education-filebar .icon { width: 13px; height: 13px; color: var(--accent); }
.education-file-separator { color: #668071; }
.education-file-count { white-space: nowrap; font-size: 8px; color: #95ad9e; }
.education-grid { display: grid; grid-template-columns: 1.15fr 1fr; }
.education-card { min-width: 0; position: relative; display: flex; flex-direction: column; padding: 27px 30px 22px; background: #101813; transition: background .2s ease; }
.education-card + .education-card { border-left: 1px solid #2d3e33; }
.education-card:first-child { background: linear-gradient(125deg, rgba(var(--accent-rgb), .045), transparent 65%), #101813; }
.education-card:hover { background-color: #142019; }
.education-card-meta { min-height: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 8px/1.5 var(--mono); color: #95b1a0; letter-spacing: .07em; margin-bottom: 23px; flex-wrap: wrap; }
.education-entry-number { color: var(--accent); margin-right: 5px; }
.education-status { display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(var(--accent-rgb), .25); border-radius: 3px; padding: 4px 7px; background: rgba(var(--accent-rgb), .045); color: var(--accent); letter-spacing: 0; font-size: 8px; }
.education-institution { display: flex; gap: 14px; align-items: flex-start; }
.education-institution > div { min-width: 0; }
.education-mark { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 37px; height: 37px; border: 1px solid #385643; border-radius: 5px; color: var(--accent); background: #1a2b20; margin-top: 2px; }
.education-mark .icon { width: 19px; height: 19px; }
.education-card h3 { color: var(--ink); font-size: 25px; line-height: 1.25; letter-spacing: -.035em; margin-bottom: 9px; }
.education-full-name { color: #9fb4a6; font-size: 10px; line-height: 1.75; max-width: 360px; }
.education-course { padding-block: 25px 24px; }
.education-faculty { color: #adccba; font: 9px/1.8 var(--mono); margin-bottom: 10px; }
.education-program { color: #d5e6db; font-size: 20px; line-height: 1.5; letter-spacing: -.025em; max-width: 410px; }
.education-qualification { color: #a0b9a9; font-size: 12px; margin-top: 10px; }
.education-card-footer { display: flex; align-items: center; gap: 10px; color: #abc5b4; font: 10px/1.8 var(--mono); border-top: 1px solid #2b3e31; padding-top: 17px; margin-top: auto; }
.education-card-footer .icon { width: 14px; height: 14px; color: var(--accent); }
.education-panel-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 23px; border-top: 1px solid #2d3e33; background: #101b14; }
.education-panel-footer > span { display: inline-flex; align-items: center; gap: 12px; color: #92aa9b; font: 8px/1.8 var(--mono); }
.education-code-symbol { color: var(--accent); font-size: 13px; }
.education-panel-footer .mini-button { flex-shrink: 0; font-size: 9px; min-height: 32px; }
@media (max-width: 1280px) and (min-width: 961px) {
  .brand-label, .brand-divider { display: none; }
  .desktop-nav { gap: 18px; }
}
@media (max-width: 1100px) {
  .education-card { padding-inline: 23px; }
  .education-card h3 { font-size: 23px; }
  .education-program { font-size: 18px; }
}
@media (max-width: 960px) {
  .education-section { padding-block: 65px; }
  .education-heading > p { max-width: 220px; font-size: 11px; }
  .education-card { padding: 22px 20px 20px; }
  .education-card-meta { gap: 8px; font-size: 7px; }
  .education-institution { gap: 10px; }
  .education-card h3 { font-size: 21px; }
  .education-mark { width: 29px; height: 29px; }
  .education-mark .icon { width: 16px; height: 16px; }
  .education-full-name { font-size: 9px; }
  .education-program { font-size: 18px; }
  .education-card-footer { font-size: 9px; }
}
@media (max-width: 760px) {
  .education-section { padding-block: 58px; }
  .education-heading { display: block; margin-bottom: 25px; }
  .education-heading h2 { font-size: 35px; }
  .education-heading > p { max-width: 345px; font-size: 12px; margin-top: 17px; }
  .education-grid { grid-template-columns: 1fr; }
  .education-filebar { padding: 12px 18px; font-size: 8px; gap: 10px; }
  .education-filebar > span:first-child { gap: 6px; }
  .education-file-count { font-size: 7px; }
  .education-card { padding: 24px 22px 22px; }
  .education-card + .education-card { border-left: 0; border-top: 1px solid #34473a; }
  .education-card-meta { font-size: 8px; margin-bottom: 22px; }
  .education-institution { gap: 12px; }
  .education-card h3 { font-size: 23px; }
  .education-mark { width: 33px; height: 33px; }
  .education-full-name { font-size: 10px; }
  .education-course { padding-block: 22px; }
  .education-faculty { font-size: 9px; }
  .education-program { font-size: 20px; }
  .education-card-footer { font-size: 10px; }
  .education-panel-footer { align-items: flex-start; flex-direction: column; gap: 11px; padding: 15px 20px; }
  .education-panel-footer > span { font-size: 8px; }
  .education-panel-footer .mini-button { min-height: 38px; font-size: 10px; }
}
@media (max-width: 380px) {
  .education-heading h2 { font-size: 31px; }
  .education-filebar { padding-inline: 15px; }
  .education-file-count { display: none; }
  .education-card { padding-inline: 18px; }
  .education-card h3 { font-size: 22px; }
  .education-program { font-size: 19px; }
  .education-status { font-size: 7px; }
}
@media print {
  .print-education-entry { break-inside: avoid; margin-bottom: 12px; }
  .print-education-entry h3 { margin-bottom: 4px; }
  .print-education-entry p { margin: 3px 0; }
  .print-education-entry .print-education-name { font-size: 8pt; }
}

/* v1.3.2: compact standalone toolbox; no Selected Focus section. */
.toolbox-section { padding-top: 0; padding-bottom: 64px; }
.toolbox-section .toolbox { margin-top: 0; }
@media (max-width: 760px) {
  .toolbox-section { padding-bottom: 48px; }
  .toolbox-section .toolbox { margin-top: 0; }
}
