@view-transition { navigation: auto; }

:root {
  color-scheme: dark;
  --background: #090d15;
  --surface: #111827;
  --surface-raised: #172131;
  --text: #f1f5fa;
  --muted: #a8b3c5;
  --violet: #a78bfa;
  --blue: #60a5fa;
  --cyan: #67e8f9;
  --border: #ffffff14;
  --font-body: 'Manrope', 'Avenir Next', 'Segoe UI', sans-serif;
  --font-heading: 'Sora', 'Avenir Next', 'Segoe UI', sans-serif;
  --font-code: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { background: var(--background); scrollbar-gutter: stable; }
body { margin: 0; color: var(--text); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 80% 30%, #44377b10, transparent 60%); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
::selection { background: #a78bfa50; color: white; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 6px; }
main:focus { outline: none; }
.container { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
#network { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .65; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 20px; background: var(--text); color: var(--background); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 20; background: #090d15ed; border-bottom: 1px solid var(--border); }
@supports (backdrop-filter: blur(16px)) { .site-header { background: #090d15c9; backdrop-filter: blur(16px); } }
.navigation { display: flex; align-items: center; min-height: 96px; gap: 26px; }
.wordmark { font: 800 29px/1 var(--font-heading); letter-spacing: -2px; }
.wordmark span { color: var(--violet); }
.navigation-panel { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: clamp(24px, 4vw, 70px); }
.navigation-links, .navigation-socials { display: flex; gap: clamp(18px, 2.1vw, 32px); align-items: center; }
.navigation-links a { position: relative; color: var(--muted); font-size: 13px; padding-block: 16px; transition: color 180ms; }
.navigation-links a:hover, .navigation-links a[aria-current] { color: white; }
.navigation-links a[aria-current]::after { content: ''; position: absolute; bottom: 4px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--violet), var(--blue)); border-radius: 2px; }
.navigation-socials { gap: 18px; padding-left: 24px; border-left: 1px solid var(--border); font-size: 12px; }
.navigation-socials a span { color: var(--muted); }
.visual-toggle { flex: none; width: 34px; height: 34px; background: transparent; border: 1px solid #ffffff20; border-radius: 50%; font-size: 25px; line-height: 1; }
.visual-toggle:hover { background: var(--surface-raised); }
.visual-toggle[aria-pressed=true] { color: var(--muted); }
.visual-toggle:disabled { opacity: .5; }
.menu-toggle { display: none; }

.intro-grid { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(40px, 5vw, 88px); padding-block: 100px 88px; min-height: 640px; }
.intro-home { min-height: 690px; padding-top: 80px; }
.availability { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 40px; padding: 8px 12px; border: 1px solid #ffffff15; border-radius: 100px; font-size: 11px; color: #c4cedd; background: #11182780; }
.status-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #80c9b0; box-shadow: 0 0 8px #80c9b025; }
.command { font: 11px/1.7 var(--font-code); letter-spacing: 1.1px; color: var(--muted); margin: 0 0 24px; }
.command > span { color: var(--violet); margin-right: 7px; }
h1 { font: 600 clamp(44px, 4.7vw, 68px)/1.12 var(--font-heading); letter-spacing: -.055em; margin: 0 0 28px; }
.text-gradient { background: linear-gradient(105deg, #b5a0f7 5%, #91aff6 65%, #8bd0e3); background-clip: text; -webkit-background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: clamp(15px, 1.25vw, 17px); line-height: 1.85; max-width: 520px; margin: 0; }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 49px; padding: 0 22px; font-size: 12px; font-weight: 650; border: 1px solid #ffffff20; border-radius: 7px; background: linear-gradient(115deg, #7351d1, #4267c4); box-shadow: inset 0 1px #ffffff20; transition: transform 200ms var(--ease), border-color 200ms; }
.button:hover { transform: translateY(-2px); border-color: #b8a6f2; }
.button span { font-size: 17px; transition: transform 200ms; }
.button:hover span { transform: translate(2px, -2px); }
.button-secondary { background: #11182760; box-shadow: none; }
.resume-link { display: inline-block; margin-top: 23px; color: var(--muted); font-size: 11px; }
.resume-link span { padding-left: 8px; }
.resume-link:hover { color: white; }

.system-figure { position: relative; margin: 0; width: 100%; background: linear-gradient(145deg, #151c29ed, #0c121dec); border: 1px solid #ffffff17; border-radius: 12px; box-shadow: 0 24px 90px #00000030; overflow: hidden; }
.system-figure::before { content: ''; position: absolute; height: 1px; top: 0; left: 15%; width: 70%; background: linear-gradient(90deg, transparent, #a78bfa80, transparent); }
.figure-heading { display: flex; justify-content: space-between; align-items: center; padding: 23px 24px; border-bottom: 1px solid var(--border); font: 9px var(--font-code); letter-spacing: 1px; color: var(--muted); }
.figure-heading .status-dot { margin-right: 8px; background: var(--violet); }
.figure-id { color: #8e9bb0; }
.system-figure svg { display: block; width: 100%; color: #46536a; }
.architecture-node rect { fill: #131c2b; stroke: #34415b; stroke-width: 1; transition: stroke 200ms, fill 200ms; }
.architecture-node text { fill: #bec9da; font: 13px var(--font-body); text-anchor: middle; }
.architecture-core rect { fill: #201e3a; stroke: #77659c; }
.architecture-core .core-caption { font: 8px var(--font-code); fill: #ae9bcf; letter-spacing: 1px; }
.architecture-core .core-title { font-size: 19px; fill: #f1f5fa; }
.architecture-node:hover rect { stroke: var(--cyan); fill: #1c293b; }
.architecture-flow { stroke-dasharray: 4 16; stroke-width: 2; animation: flow 5s linear infinite; opacity: .7; }
.system-figure figcaption { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--border); padding: 19px 24px; color: #94a2b8; font: 9px/1.5 var(--font-code); }
.system-figure figcaption > span:last-child { color: #ad9bda; flex: none; }
.expertise-strip { padding-block: 27px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-block: 1px solid var(--border); color: #c5cddc; font-size: 12px; }
.strip-label { font: 9px var(--font-code); letter-spacing: 1.4px; color: #8e9bb0; }
.expertise-strip > span:not(:first-child)::before { content: '+'; margin-right: 12px; color: #a78bfa80; font: 13px var(--font-code); }

.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 46px; }
.footer-name { font-size: 12px; font-weight: 600; }
.site-footer p { font-size: 11px; color: #8e9bb0; margin: 9px 0 0; }
.footer-links { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: 10px; }
.footer-links a:hover, .text-link:hover { color: var(--cyan); }
.footer-links > span { color: #8e9bb0; font: 10px var(--font-code); }
.project-card { margin-top: 50px; padding: 38px; display: grid; grid-template-columns: 1fr 220px; gap: 40px; align-items: center; background: #111827aa; border: 1px solid var(--border); border-radius: 12px; }
h2 { font: 500 36px/1.3 var(--font-heading); letter-spacing: -.04em; margin: 0 0 16px; }
.project-card p:not(.command) { color: var(--muted); line-height: 1.8; max-width: 600px; font-size: 14px; }
.project-status { display: inline-block; color: #b5a2e7; font: 9px/1.4 var(--font-code); border: 1px solid #a78bfa40; border-radius: 4px; vertical-align: middle; padding: 5px 8px; margin-left: 18px; letter-spacing: 0; }
.text-link { display: inline-block; font-size: 12px; margin-top: 16px; }
.project-emblem { border: 1px solid #ffffff12; background: #151d2b; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; border-radius: 8px; }
.project-emblem > span { font: 500 70px/1 var(--font-heading); color: #af9bd7; }
.project-emblem small { font: 9px var(--font-code); letter-spacing: 3px; color: var(--muted); }
.project-intro { min-height: 650px; padding-block: 70px 100px; max-width: 850px; }
.back-link { display: inline-block; font-size: 12px; color: var(--muted); margin-bottom: 60px; }
.project-contribution { color: var(--muted); font-size: 15px; line-height: 1.8; max-width: 650px; margin-top: 28px; }
.technology-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.technology-list span { font: 10px var(--font-code); color: var(--muted); border: 1px solid var(--border); border-radius: 4px; padding: 8px 11px; }
html[data-motion=paused] .architecture-flow { animation-play-state: paused; }
@keyframes flow { to { stroke-dashoffset: -80; } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; }

@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
  .intro-copy { animation: enter 650ms var(--ease) both; }
  .system-figure { animation: enter 750ms 80ms var(--ease) both; }
  @keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .navigation { gap: 20px; }
  .navigation-panel { gap: 22px; }
  .navigation-links { gap: 20px; }
  .navigation-socials { gap: 12px; padding-left: 18px; }
  .navigation-socials a { font-size: 0; }
  .navigation-socials a::before { content: attr(aria-label); font-size: 10px; }
  .navigation-socials a:first-child { display: none; }
  .intro-grid { gap: 35px; }
  .system-figure figcaption > span:last-child { display: none; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 40px); }
  .navigation { min-height: 76px; flex-wrap: wrap; gap: 12px; }
  .wordmark { margin-right: auto; }
  .menu-toggle:not([hidden]) { display: inline-flex; gap: 9px; align-items: center; border: 1px solid var(--border); border-radius: 5px; background: transparent; padding: 9px 12px; font-size: 11px; }
  .menu-icon { width: 13px; height: 8px; border-block: 1px solid currentColor; }
  .navigation-panel { order: 4; width: 100%; flex-basis: 100%; display: flex; align-items: stretch; padding-block: 10px 22px; }
  .navigation-links { flex: 1; flex-wrap: wrap; }
  .navigation-links a { font-size: 13px; }
  .navigation-socials { align-self: center; }
  html[data-enhanced] .navigation-panel { display: none; }
  html[data-enhanced] .navigation-panel[data-open] { display: flex; }
  .intro-grid { grid-template-columns: 1fr; padding-block: 56px; min-height: auto; gap: 48px; }
  h1 { font-size: clamp(42px, 7.8vw, 64px); }
  .lead { max-width: 590px; font-size: 16px; }
  .availability { margin-bottom: 30px; }
  .system-figure { max-width: 580px; }
  .expertise-strip { flex-wrap: wrap; justify-content: flex-start; gap: 20px 30px; }
  .strip-label { flex-basis: 100%; }
  .site-footer { align-items: flex-start; padding-block: 32px; }
  .footer-links { gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
  .project-card { grid-template-columns: 1fr 150px; padding: 25px; gap: 25px; }
}
@media (max-width: 480px) {
  .navigation-panel[data-open] { flex-direction: column; gap: 22px; }
  .navigation-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
  .navigation-socials { align-self: stretch; border-left: 0; border-top: 1px solid var(--border); padding: 16px 0 0; }
  .navigation-socials a, .navigation-socials a:first-child { display: inline; font-size: 12px; }
  .navigation-socials a::before { content: none; }
  .intro-grid { padding-top: 42px; }
  h1 { font-size: 43px; }
  .command { font-size: 10px; }
  .availability { font-size: 10px; }
  .button { min-height: 48px; padding-inline: 17px; gap: 16px; }
  .figure-heading { padding: 18px; font-size: 8px; }
  .system-figure figcaption { padding: 16px 18px; font-size: 8px; }
  .expertise-strip { font-size: 11px; column-gap: 20px; }
  .site-footer { flex-direction: column; }
  .footer-links { justify-content: flex-start; gap: 24px; }
  .project-card { grid-template-columns: 1fr; }
  .project-emblem { display: none; }
  .project-status { display: table; margin: 16px 0 0; }
  .project-intro { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .button:hover, .button:hover span { transform: none; }
}

/* Complete portfolio pages */
main { min-height: 65vh; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
img { max-width: 100%; display: block; }
.hero-name { font: 500 22px/1.5 var(--font-heading); margin: 0 0 13px; letter-spacing: -.04em; }
.intro-home .command { display: none; }
.intro-home h1 { font-size: clamp(46px, 4.8vw, 70px); }
.intro-home { gap: 65px; padding-block: 74px 70px; min-height: 660px; }
.intro-home .availability { margin-bottom: 28px; }
.hero-bottom { display: flex; align-items: center; gap: 24px; margin-top: 23px; flex-wrap: wrap; }
.hero-bottom .resume-link { margin: 0; }
.hero-location { color: #8e9bb0; font-size: 10px; }
.terminal-wrap { min-width: 0; }
.terminal { overflow: hidden; border: 1px solid #ffffff1f; background: linear-gradient(135deg, #161d2a, #0e1420 65%); border-radius: 12px; box-shadow: 0 30px 80px #0003; transform: perspective(1400px) rotateY(-3deg); }
.terminal-bar { display: flex; align-items: center; gap: 22px; padding: 18px 21px; border-bottom: 1px solid var(--border); color: var(--muted); font: 10px var(--font-code); }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #a88a9850; }
.window-dots i:nth-child(2) { background: #b6a47450; }
.window-dots i:nth-child(3) { background: #79a49650; }
.terminal-language { margin-left: auto; color: #a78bfa; }
.terminal-code { padding: 25px 16px 25px 0; margin: 0; overflow-x: auto; font: 11px/1.85 var(--font-code); color: #d0d9e8; tab-size: 4; }
.code-line { display: block; min-height: 20px; }
.line-number { display: inline-block; width: 40px; text-align: center; color: #71809a; user-select: none; }
.syntax-keyword { color: #b29cf3; }
.syntax-string { color: #9fcebb; }
.syntax-type { color: #8acde1; }
.syntax-method { color: #b9c6fa; }
.terminal-footer { display: flex; justify-content: space-between; gap: 12px; padding: 13px 20px; border-top: 1px solid var(--border); font: 9px var(--font-code); color: #8e9bb0; }
.terminal-footer .status-dot { width: 4px; height: 4px; margin-right: 7px; }
.terminal-caption { color: #8e9bb0; font: 10px var(--font-code); margin: 20px 0 0 14px; }
.terminal-caption > span { color: var(--violet); margin-right: 9px; }
html[data-motion=active] .code-line { animation: code-enter 160ms calc(var(--line) * 42ms) both; }
html[data-motion=active] .code-cursor { animation: blink 1.2s steps(1) infinite; }
html[data-motion=paused] .code-line { animation: none; }
@keyframes code-enter { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; padding-block: 30px; gap: 30px; align-items: center; border-block: 1px solid var(--border); }
.stat-strip > div { display: flex; flex-direction: column; gap: 10px; }
.stat-strip strong { font: 500 24px var(--font-heading); letter-spacing: -.05em; }
.stat-strip div > span { color: #8e9bb0; font-size: 10px; line-height: 1.7; }
.stat-strip > a { border-left: 1px solid var(--border); padding: 15px 0 15px 30px; font-size: 11px; line-height: 1.7; color: var(--muted); }
.stat-strip > a span { color: var(--violet); margin-left: 10px; }
.content-section { padding-top: 105px; }
.section-heading { max-width: 670px; margin-bottom: 38px; }
.section-heading h2 { white-space: pre-line; font-size: clamp(30px, 3.2vw, 43px); line-height: 1.23; }
.section-heading .command { color: #a99bc9; font-size: 10px; }
.section-heading > p:not(.command) { color: var(--muted); font-size: 14px; line-height: 1.9; max-width: 610px; }
.section-action { display: flex; justify-content: center; margin-top: 32px; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.case-grid:not(.work-grid) > :first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
.case-grid:not(.work-grid) > :first-child .project-art { min-height: 100%; }
.case-card { min-width: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #101723e6; transition: transform 250ms var(--ease), border-color 250ms; }
@media (hover:hover) and (pointer:fine) { .case-card:hover { transform: translateY(-4px); border-color: #a78bfa50; } }
.case-card-copy { padding: 31px; }
.case-card-copy > .command { font-size: 9px; margin-bottom: 18px; letter-spacing: .6px; }
.case-card h3 { font: 500 27px/1.3 var(--font-heading); letter-spacing: -.045em; margin: 0 0 18px; }
.case-card h3 a:hover { color: #c9baf2; }
.case-card-copy > p:not(.command) { font-size: 13px; color: var(--muted); line-height: 1.9; }
.project-role { font-size: 10px; line-height: 1.8; color: #bcc6d6; margin-top: 24px; }
.project-role > span { display: block; font: 8px var(--font-code); color: #8e9bb0; margin-bottom: 7px; letter-spacing: 1px; }
.case-card .technology-list { margin-top: 17px; }
.case-card .technology-list span { font-size: 9px; background: #ffffff03; }
.case-card .text-link { margin-top: 25px; padding-block: 5px; font-size: 11px; color: #c7b6f4; line-height: 1.8; }
.small-status { display: inline-block; color: #d4b17f !important; margin: 8px 0 0 !important; }
.project-art { position: relative; min-height: 310px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-bottom: 1px solid var(--border); background: radial-gradient(ellipse at 50% 50%, #66539915, transparent 70%), linear-gradient(130deg, #17202f, #101724); }
.project-art::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(#7f8ea230 .6px, transparent .6px); background-size: 18px 18px; pointer-events: none; }
.art-1 { background: radial-gradient(ellipse at center, #34768218, transparent 65%), #101d26; }
.art-2 { background: radial-gradient(ellipse at center, #5d4b8e22, transparent 70%), #171a29; }
.art-3 { background: radial-gradient(ellipse at center, #45704e20, transparent 70%), #121e24; }
.art-label, .art-bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; color: #8493aa; font: 8px var(--font-code); letter-spacing: 1px; }
.art-bottom { font-size: 7px; }
.art-bottom > span:last-child { color: #b3a2e2; font-size: 13px; }
.mini-system { position: relative; display: flex; flex-direction: column; align-items: center; padding: 16px; transition: transform 300ms var(--ease); }
.case-card:hover .mini-system { transform: translateY(-3px); }
.mini-system > span { padding: 10px 18px; min-width: 160px; text-align: center; color: #aab8cd; border: 1px solid #ffffff15; border-radius: 5px; font-size: 10px; background: #111a28; }
.mini-system > strong { padding: 15px 20px; min-width: 190px; text-align: center; color: #d0c6ef; border: 1px solid #a78bfa50; border-radius: 7px; background: #24243a; font: 500 12px var(--font-heading); }
.mini-system > i { width: 1px; height: 24px; background: linear-gradient(var(--violet), #67e8f940); }
.approach-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.principles { padding-top: 8px; }
.principles article { display: flex; gap: 25px; padding-block: 25px; border-bottom: 1px solid var(--border); }
.principles article > span { font: 10px var(--font-code); color: var(--violet); padding-top: 4px; }
.principles h3 { font-size: 15px; font-weight: 500; margin: 0 0 12px; }
.principles p { color: var(--muted); font-size: 13px; line-height: 1.9; margin: 0; }
.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.capability-card { display: block; padding: 30px; border: 1px solid var(--border); border-radius: 9px; background: #111827a6; min-width: 0; }
.capability-number { color: var(--violet); font: 10px var(--font-code); display: block; margin-bottom: 30px; }
.capability-card h3 { font: 500 18px/1.4 var(--font-heading); letter-spacing: -.025em; margin: 0 0 14px; }
.capability-card h3 > span { color: var(--muted); margin-left: 8px; font-size: 15px; }
.capability-card p { color: var(--muted); font-size: 12px; line-height: 1.9; margin: 0; }
.capability-card .technology-list { margin-top: 20px; }
.capability-card .technology-list span { font-size: 8px; padding: 6px 8px; }
a.capability-card:hover { border-color: #a78bfa50; }
.closing-cta { margin-top: 105px; padding: 55px 0; border-block: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.closing-cta .command { margin-bottom: 17px; color: #ad9ad6; }
.closing-cta h2 { font-size: 36px; }
.closing-cta p:not(.command) { color: var(--muted); font-size: 13px; line-height: 1.8; }
.page-heading { padding-block: 80px 60px; max-width: 940px; }
.page-heading h1 { font-size: clamp(42px, 4.5vw, 64px); }
.page-heading .lead { max-width: 670px; }
.about-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: center; padding-top: 20px; }
.portrait-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); }
.portrait-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 30%; filter: saturate(.7); height: auto; }
.portrait-card > div { display: flex; flex-direction: column; gap: 9px; padding: 23px; }
.portrait-card strong { font-size: 14px; }
.portrait-card span { font-size: 10px; color: var(--muted); }
.about-story h2 { font-size: clamp(28px, 3vw, 37px); }
.about-story > p:not(.command) { color: var(--muted); font-size: 14px; line-height: 1.95; }
.journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.journey-grid article { position: relative; border-top: 1px solid #a78bfa40; padding-top: 25px; }
.journey-step { display: block; font: 10px var(--font-code); color: var(--violet); margin-bottom: 25px; }
.journey-grid .command { font-size: 9px; margin-bottom: 12px; }
.journey-grid h3 { font: 500 18px/1.5 var(--font-heading); }
.journey-grid p:not(.command) { color: var(--muted); font-size: 12px; line-height: 1.9; }
.education-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.education-card { padding: 30px; border: 1px solid var(--border); border-radius: 8px; background: #11182790; }
.education-card h3 { font-size: 17px; font-weight: 500; line-height: 1.6; }
.education-card p:last-child { color: var(--muted); font-size: 12px; }
.experience-layout { display: grid; grid-template-columns: .75fr 2fr; gap: 65px; align-items: start; padding-top: 20px; }
.experience-aside { position: sticky; top: 140px; }
.experience-aside > p:not(.command) { font-size: 19px; line-height: 1.8; color: #c5cddc; }
.experience-aside .command { font-size: 9px; }
.experience-item { padding: 0 0 65px 40px; position: relative; border-left: 1px solid #a78bfa40; }
.timeline-marker { position: absolute; top: -3px; left: -16px; background: #151b2b; color: #bba6ed; width: 31px; height: 31px; display: grid; place-items: center; font: 9px var(--font-code); border: 1px solid #77659c; border-radius: 50%; }
.experience-item > .command { margin-bottom: 20px; }
.experience-item h2 { font-size: 31px; }
.experience-company { font-size: 14px; line-height: 1.8; color: #c6b5f1; }
.experience-company > span { color: var(--muted); font-size: 11px; }
.experience-intro { color: var(--muted); font-size: 14px; line-height: 1.9; }
.experience-item h3 { font: 11px var(--font-code); margin: 30px 0 18px; color: #c3cddd; }
.prose-list { padding-left: 18px; color: var(--muted); line-height: 1.9; font-size: 13px; }
.prose-list li { margin-bottom: 12px; padding-left: 7px; }
.prose-list li::marker { color: #a78bfa80; }
.impact-box { padding: 24px; border-left: 2px solid #a78bfa90; border-radius: 0 6px 6px 0; background: #a78bfa09; margin-top: 25px; }
.impact-box > span { font: 9px var(--font-code); color: #c0a8f2; letter-spacing: 1px; }
.impact-box p { font-size: 13px; color: #c5cddc; line-height: 1.9; margin: 9px 0 0; }
.work-intro { padding: 0 0 35px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.work-intro p { max-width: 680px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.work-count { flex: none; font: 10px var(--font-code); color: #bca6ed; }
.skills-layout { display: grid; grid-template-columns: .7fr 2fr; gap: 60px; align-items: start; padding-top: 20px; }
.skills-directory, .case-contents { position: sticky; top: 135px; }
.skills-directory nav, .case-contents nav { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.skills-directory nav a { color: var(--muted); font: 11px var(--font-code); line-height: 1.5; }
.skills-directory nav span { color: #a78bfa60; }
.skills-directory nav a:hover, .case-contents a:hover { color: white; }
.skill-category { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 16px; background: #111827ad; scroll-margin-top: 120px; }
.skill-category summary { display: flex; align-items: center; cursor: pointer; padding: 25px; gap: 25px; list-style: none; }
.skill-category summary::-webkit-details-marker { display: none; }
.skill-index { color: var(--violet); font: 10px var(--font-code); }
.skill-category strong { font: 500 20px/1.4 var(--font-heading); letter-spacing: -.03em; }
.skill-description { display: block; color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 9px; }
.expand-icon { margin-left: auto; color: var(--violet); font-size: 22px; flex: none; }
.skill-category[open] .expand-icon { transform: rotate(45deg); }
.skill-content { padding: 0 25px 26px 63px; }
.skill-content .technology-list { margin-top: 0; }
.skills-note { max-width: 700px; margin-top: 65px; padding-left: 28px; border-left: 2px solid #a78bfa70; }
.skills-note h2 { font-size: 30px; }
.skills-note p:not(.command) { color: var(--muted); font-size: 14px; line-height: 1.9; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; }
.contact-option { display: block; border-bottom: 1px solid var(--border); padding-block: 27px; }
.contact-option:first-child { padding-top: 0; }
.contact-option .command { font-size: 9px; color: #aa97d2; }
.contact-option h2 { font-size: 22px; }
.contact-option h2 > span { color: #9c8dbf; font-size: 18px; margin-left: 10px; }
.contact-option p { font-size: 12px; color: var(--muted); line-height: 1.8; overflow-wrap: anywhere; }
.contact-option:hover h2 { color: #c4b1ef; }
.secondary-social { display: inline-block; margin-top: 27px; color: #bcc6d8; font-size: 11px; }
.contact-location { margin-top: 24px; font-size: 11px; color: #8e9bb0; }
.contact-form-card { padding: 34px; border: 1px solid var(--border); border-radius: 12px; background: #111827bb; }
.contact-form-card h2 { font-size: 26px; }
.contact-form-card > p:not(.command) { font-size: 13px; line-height: 1.8; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-block: 28px; }
.form-grid label { display: block; font-size: 11px; color: #d0d8e4; line-height: 1.6; }
.form-grid input, .form-grid textarea { width: 100%; display: block; margin-top: 9px; border: 1px solid #ffffff20; border-radius: 5px; padding: 13px; background: #090f19b0; font: 12px/1.6 var(--font-body); color: var(--text); }
.form-grid input::placeholder, .form-grid textarea::placeholder { color: #7e8ca3; }
.form-grid textarea { resize: vertical; min-height: 130px; }
.field-full { grid-column: 1 / -1; }
.optional { color: #8e9bb0; font-size: 10px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 12px; line-height: 1.8; color: #bfc6df; }
.form-status[data-state=error] { color: #f3acac; }
.form-status[data-state=success] { color: #9fcebb; }
.form-alternative { font-size: 10px; color: var(--muted); line-height: 1.8; }
.form-alternative a { color: #c7b5f0; }
.ready-line { margin-top: 70px; padding: 30px 0; border-block: 1px solid var(--border); font: 12px var(--font-code); color: #cfbfef; }
.ready-line > span:first-child { color: #8e9bb0; margin-right: 15px; }
.case-heading { max-width: 1000px; padding-top: 45px; }
.case-heading .back-link { margin-bottom: 48px; }
.case-heading h1 { font-size: clamp(40px, 4.6vw, 65px); max-width: 950px; }
.case-heading .lead { max-width: 760px; }
.case-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; border-block: 1px solid var(--border); padding: 28px 0; margin-top: 35px; }
.case-meta > div { display: flex; flex-direction: column; gap: 12px; }
.case-meta span { font: 9px var(--font-code); color: #8e9bb0; letter-spacing: 1px; }
.case-meta strong { font-size: 12px; line-height: 1.8; font-weight: 500; }
.case-study-layout { display: grid; grid-template-columns: .65fr 2fr; align-items: start; gap: 70px; padding-top: 70px; }
.case-contents .command { font-size: 9px; }
.case-contents nav { gap: 18px; }
.case-contents a { font-size: 11px; line-height: 1.6; color: var(--muted); }
.case-body { min-width: 0; }
.case-body > section { margin-bottom: 65px; scroll-margin-top: 130px; }
.case-body h2 { font-size: 31px; }
.case-body section > p:not(.command) { color: var(--muted); font-size: 14px; line-height: 1.95; }
.case-body .command { font-size: 9px; color: #ad9bd2; margin-bottom: 17px; }
.development-note { padding: 20px; border: 1px solid #d4b17f30; border-radius: 5px; background: #d4b17f07; }
.case-architecture { margin: 25px 0 0; padding: 25px; background: #101a29; border: 1px solid var(--border); border-radius: 10px; }
.architecture-label { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.architecture-label > span:last-child { color: #8e9bb0; font: 8px var(--font-code); }
.architecture-chain { display: flex; align-items: center; gap: 10px; margin-block: 22px 30px; }
.architecture-chain > div { border: 1px solid #a78bfa50; border-radius: 6px; padding: 19px 12px; flex: 1; text-align: center; background: #1b2235; min-width: 0; transition: border-color 180ms; }
.architecture-chain > div:hover { border-color: var(--cyan); }
.architecture-chain .command { display: block; font-size: 8px; margin-bottom: 12px; }
.architecture-chain strong { font-size: 11px; line-height: 1.6; font-weight: 500; }
.chain-connection { color: var(--violet); font-size: 20px; }
.case-architecture figcaption { color: #8e9bb0; font-size: 10px; line-height: 1.8; }
.next-project { display: flex; align-items: center; gap: 20px; padding: 35px 0; border-top: 1px solid var(--border); }
.next-project > .command { margin: 0 auto 0 0; }
.not-found { padding-block: 120px; }
.revealed { animation: reveal-content 600ms var(--ease) both; }
@keyframes reveal-content { from { opacity: .45; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.site-footer { padding-block: 40px; }
.footer-links a { padding-block: 10px; }
@media (max-width: 1100px) {
 .navigation-socials { display: none; }
 .intro-home { gap: 35px; }
 .terminal-code { font-size: 10px; }
 .case-card-copy { padding: 26px; }
 .case-card h3 { font-size: 24px; }
 .approach-section { gap: 45px; }
 .contact-layout { gap: 40px; }
 .capability-card { padding: 24px; }
}
@media (max-width: 800px) {
 html { scroll-padding-top: 95px; }
 .intro-home { grid-template-columns: 1fr; gap: 45px; padding-block: 50px; }
 .intro-home h1 { font-size: clamp(45px, 8vw, 65px); }
 .terminal-wrap { max-width: 600px; width: 100%; }
 .terminal { transform: none; }
 .terminal-code { font-size: 12px; padding-block: 22px; }
 .terminal-caption { font-size: 9px; }
 .stat-strip { grid-template-columns: repeat(3, 1fr); gap: 24px; }
 .stat-strip > a { grid-column: 1 / -1; border-left: 0; padding: 0; }
 .stat-strip strong { font-size: 23px; }
 .content-section { padding-top: 70px; }
 .case-grid { gap: 20px; }
 .case-grid:not(.work-grid) > :first-child { display: block; }
 .case-card-copy { padding: 23px; }
 .case-card h3 { font-size: 24px; }
 .project-art { min-height: 300px; }
 .case-grid:not(.work-grid) > :first-child .project-art { min-height: 300px; }
 .approach-section { grid-template-columns: 1fr; gap: 20px; }
 .capability-grid { grid-template-columns: 1fr; gap: 16px; }
 .capability-card { padding: 27px; }
 .capability-number { margin-bottom: 20px; }
 .closing-cta { margin-top: 70px; padding-block: 40px; }
 .closing-cta h2 { font-size: 30px; }
 .page-heading { padding-block: 55px 35px; }
 .page-heading h1 { font-size: clamp(39px, 6vw, 56px); }
 .about-layout { gap: 30px; grid-template-columns: .85fr 1.15fr; align-items: start; }
 .about-story h2 { font-size: 28px; }
 .about-story > p:not(.command) { font-size: 13px; }
 .journey-grid { grid-template-columns: 1fr; gap: 30px; }
 .journey-grid article { padding-left: 30px; border-top: 0; border-left: 1px solid #a78bfa40; padding-top: 0; }
 .experience-layout { grid-template-columns: 1fr; gap: 40px; }
 .experience-aside { position: static; }
 .experience-aside > p:not(.command) { display: none; }
 .experience-aside .command { margin-bottom: 4px; }
 .experience-timeline { padding-left: 16px; }
 .experience-item { padding-left: 30px; }
 .experience-item h2 { font-size: 28px; }
 .skills-layout { grid-template-columns: 1fr; gap: 30px; }
 .skills-directory { position: static; }
 .skills-directory nav { flex-direction: row; flex-wrap: wrap; gap: 18px; }
 .skills-directory .command { margin-bottom: 20px; }
 .skills-directory nav a { font-size: 10px; padding-block: 5px; }
 .skills-directory nav span { display: none; }
 .contact-layout { grid-template-columns: 1fr; gap: 40px; }
 .contact-options { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
 .contact-option h2 { font-size: 20px; }
 .contact-option:first-child { padding-top: 27px; }
 .contact-option:nth-child(3) { padding-top: 25px; }
 .secondary-social { align-self: start; padding-top: 10px; }
 .contact-location { grid-column: 1 / -1; }
 .case-study-layout { grid-template-columns: 1fr; gap: 40px; padding-top: 45px; }
 .case-contents { position: static; }
 .case-contents nav { flex-direction: row; flex-wrap: wrap; gap: 12px 20px; }
 .case-contents nav a { padding-block: 5px; }
 .next-project { flex-wrap: wrap; }
 .next-project > .command { flex-basis: 100%; }
 .architecture-chain strong { font-size: 10px; }
}
@media (max-width: 540px) {
 .intro-home .availability { font-size: 9px; }
 .intro-home h1 { font-size: clamp(40px, 10.6vw, 55px); }
 .intro-home .lead { font-size: 14px; }
 .hero-name { font-size: 20px; }
 .hero-bottom { gap: 18px; }
 .hero-location { font-size: 9px; }
 .terminal-code { font-size: 10px; line-height: 1.9; }
 .line-number { width: 28px; }
 .terminal-code { padding-right: 10px; }
 .terminal-bar { padding: 17px; }
 .terminal-footer { font-size: 8px; padding-inline: 16px; }
 .stat-strip { gap: 18px 10px; }
 .stat-strip strong { font-size: 21px; }
 .stat-strip div > span { font-size: 9px; }
 .stat-strip > a { padding-top: 5px; font-size: 10px; }
 .case-grid, .education-grid { grid-template-columns: 1fr; }
 .case-grid:not(.work-grid) > :first-child { grid-column: auto; }
 .section-heading h2 { font-size: 31px; }
 .section-heading > p:not(.command) { font-size: 13px; }
 .case-card .text-link { font-size: 10px; }
 .closing-cta { flex-direction: column; align-items: flex-start; }
 .closing-cta h2 { font-size: 30px; }
 .page-heading h1 { font-size: clamp(36px, 9.5vw, 48px); }
 .page-heading .lead { font-size: 14px; }
 .about-layout { grid-template-columns: 1fr; gap: 35px; }
 .portrait-card { max-width: 340px; }
 .portrait-card img { max-height: 340px; }
 .about-story h2 { font-size: 30px; }
 .experience-item h2 { font-size: 26px; }
 .experience-item { padding-left: 24px; }
 .experience-company > span { display: block; }
 .experience-item > .command { font-size: 9px; }
 .impact-box { padding: 19px; }
 .work-intro { display: block; padding-bottom: 28px; }
 .work-count { display: inline-block; padding-block: 10px; }
 .skill-category summary { padding: 22px 17px; gap: 16px; }
 .skill-category strong { font-size: 18px; }
 .skill-description { font-size: 11px; }
 .skill-content { padding: 0 17px 24px; }
 .skills-note { padding-left: 20px; }
 .contact-options { display: block; }
 .contact-option:first-child { padding-top: 0; }
 .contact-form-card { padding: 25px 20px; }
 .contact-form-card h2 { font-size: 24px; }
 .form-grid { grid-template-columns: 1fr; }
 .form-grid input, .form-grid textarea { font-size: 16px; }
 .ready-line { font-size: 10px; }
 .ready-line > span:first-child { margin-right: 8px; }
 .case-heading h1 { font-size: 38px; }
 .case-heading .back-link { margin-bottom: 36px; }
 .case-meta { grid-template-columns: 1fr; gap: 24px; }
 .case-body h2 { font-size: 28px; }
 .case-architecture { padding: 20px 16px; }
 .architecture-label { flex-direction: column; gap: 0; }
 .architecture-chain { flex-direction: column; gap: 12px; }
 .architecture-chain > div { width: 100%; }
 .chain-connection { transform: rotate(90deg); }
 .next-project { gap: 12px; }
 .next-project .button { font-size: 11px; }
 .navigation-socials { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .terminal, .case-card:hover, .case-card:hover .mini-system { transform: none; }
 html[data-motion=active] .code-line, html[data-motion=active] .code-cursor, .revealed { animation: none; }
}
@media (min-width: 801px) and (max-width: 1000px) {
 .intro-home { grid-template-columns: 1fr; gap: 45px; padding-block: 55px; }
 .intro-home h1 { font-size: 62px; }
 .intro-home .lead { max-width: 600px; }
 .terminal-wrap { max-width: 600px; width: 100%; }
 .terminal { transform: none; }
 .terminal-code { font-size: 12px; }
}
