
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  --bg:#0a0b0d;--panel:#101216;--panel2:#15181d;--text:#f1f3f5;
  --muted:#858b94;--line:#292d34;--green:#b7ff5a;--orange:#ff9f43;
  --max:1240px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);font-family:Manrope,sans-serif;overflow-x:hidden}
a{color:inherit;text-decoration:none}
.container{width:min(var(--max),calc(100% - 48px));margin:auto}
.mono{font-family:"DM Mono",monospace}
::selection{background:var(--green);color:#000}

/* subtle engineering grid */
body:before{
 content:"";position:fixed;inset:0;pointer-events:none;opacity:.18;
 background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);
 background-size:80px 80px;mask-image:linear-gradient(to bottom,#000,transparent 75%);
}

/* top bar */
header{height:72px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50;background:rgba(10,11,13,.86);backdrop-filter:blur(12px)}
.header{height:100%;display:flex;align-items:center;justify-content:space-between}
.brand{font-weight:800;letter-spacing:-.04em}
.brand i{font-style:normal;color:var(--green)}
.nav{display:flex;gap:26px;color:var(--muted);font-size:13px}
.nav a:hover{color:var(--green)}
.status{display:flex;align-items:center;gap:8px;color:#aeb4bd;font-size:12px}
.dot{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 12px var(--green)}

/* hero */
.hero{min-height:calc(100vh - 72px);display:grid;align-items:center;padding:70px 0 100px;position:relative}
.hero-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:80px;align-items:center}
.kicker{color:var(--green);font:500 12px "DM Mono";letter-spacing:.14em;text-transform:uppercase;margin-bottom:28px}
h1{font-size:clamp(56px,8vw,108px);line-height:.91;letter-spacing:-.075em;max-width:900px}
h1 span{display:block;color:transparent;-webkit-text-stroke:1px #646a72}
.lead{max-width:620px;color:#a9afb8;font-size:17px;line-height:1.8;margin:32px 0}
.cta{display:flex;gap:12px;align-items:center}
.button{border:1px solid var(--line);padding:13px 18px;font-size:13px;font-weight:700}
.button.primary{background:var(--green);border-color:var(--green);color:#070807}
.button:hover{transform:translateY(-2px)}
.hero-meta{display:flex;gap:30px;margin-top:46px;color:var(--muted);font-size:12px}
.hero-meta strong{display:block;color:var(--text);font:500 13px "DM Mono";margin-top:5px}

/* terminal */
.terminal{border:1px solid var(--line);background:#0d0f12;box-shadow:0 25px 80px rgba(0,0,0,.45)}
.term-head{height:38px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 13px;gap:7px}
.term-head b{width:8px;height:8px;border-radius:50%;background:#343940}
.term-title{margin-left:auto;margin-right:auto;color:#626873;font:11px "DM Mono"}
.term-body{padding:24px;font:12px/2 "DM Mono";color:#9ca3ad}
.term-body .g{color:var(--green)}
.term-body .o{color:var(--orange)}
.term-body .w{color:#fff}
.term-line{display:block}
.cursor{display:inline-block;width:7px;height:13px;background:var(--green);vertical-align:-2px;animation:blink 1s infinite}
@keyframes blink{50%{opacity:0}}

/* section */
section{padding:120px 0;border-top:1px solid var(--line);position:relative}
.section-top{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:55px}
.section-no{font:12px "DM Mono";color:var(--green)}
h2{font-size:clamp(34px,5vw,62px);letter-spacing:-.06em;line-height:1}
.section-note{max-width:310px;color:var(--muted);font-size:13px;line-height:1.7}

/* about */
.about{display:grid;grid-template-columns:.75fr 1.25fr;gap:90px}
.about-big{font-size:30px;line-height:1.35;letter-spacing:-.035em}
.about-big em{font-style:normal;color:var(--green)}
.about-copy{color:var(--muted);line-height:1.9;font-size:14px}
.about-copy p+p{margin-top:18px}
.principles{margin-top:38px;border-top:1px solid var(--line)}
.principle{display:grid;grid-template-columns:40px 1fr;padding:17px 0;border-bottom:1px solid var(--line);font-size:13px}
.principle span{color:var(--green);font-family:"DM Mono"}

/* stack */
.stack{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.stack-card{min-height:240px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:27px}
.stack-card .num{font:11px "DM Mono";color:#555b64}
.stack-card h3{margin:42px 0 14px;font-size:18px}
.stack-card p{font-size:12px;color:var(--muted);line-height:1.7}
.tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:17px}
.tag{border:1px solid var(--line);padding:5px 7px;color:#9da4ad;font:10px "DM Mono"}

/* experience */
.experience{display:grid;grid-template-columns:1fr 2fr;gap:80px}
.exp-item{display:grid;grid-template-columns:110px 1fr;gap:28px;padding:28px 0;border-top:1px solid var(--line)}
.exp-year{font:11px "DM Mono";color:var(--green)}
.exp-item h3{font-size:19px;margin-bottom:5px}
.exp-role{color:#8f969f;font:11px "DM Mono";margin-bottom:16px}
.exp-item p{font-size:13px;color:var(--muted);line-height:1.8;max-width:650px}
.exp-item ul{margin:13px 0 0 18px;color:var(--muted);font-size:12px;line-height:1.9}

/* projects */
.projects{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.project{min-height:370px;border:1px solid var(--line);background:var(--panel);padding:30px;position:relative;overflow:hidden}
.project:after{content:"";position:absolute;width:190px;height:190px;border:1px solid #242930;border-radius:50%;right:-80px;top:-70px}
.project:hover{border-color:#454b54}
.project-head{display:flex;justify-content:space-between;color:#626873;font:11px "DM Mono"}
.project h3{font-size:30px;letter-spacing:-.045em;margin:55px 0 12px}
.project p{color:var(--muted);font-size:13px;line-height:1.8;max-width:480px}
.project .tags{margin-top:28px}
.project-link{position:absolute;bottom:27px;left:30px;color:var(--green);font:11px "DM Mono"}

/* contact */
.contact{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:end}
.contact h2{max-width:600px}
.contact-right{border-top:1px solid var(--line)}
.contact-row{display:flex;justify-content:space-between;padding:17px 0;border-bottom:1px solid var(--line);font:12px "DM Mono"}
.contact-row span{color:var(--muted)}
.contact-row a:hover{color:var(--green)}



/* responsive */
@media(max-width:900px){
 .hero-grid,.about,.experience,.contact{grid-template-columns:1fr;gap:45px}
 .hero{padding-top:55px}
 .stack{grid-template-columns:repeat(2,1fr)}
 .projects{grid-template-columns:1fr}
 .section-top{display:block}
 .section-note{margin-top:18px}
}
@media(max-width:600px){
 .container{width:calc(100% - 28px)}
 .nav{display:none}
 header{height:58px}
 .hero{min-height:auto;padding:80px 0}
 h1{font-size:58px}
 .lead{font-size:15px}
 .hero-meta{gap:17px;flex-wrap:wrap}
 section{padding:80px 0}
 .stack{grid-template-columns:1fr}
 .stack-card{min-height:190px}
 .exp-item{grid-template-columns:1fr;gap:8px}
 .project{min-height:340px}

}

/* Three-language version: navigation, long translations and keyboard access. */
html{scroll-padding-top:96px}body{font-family:Manrope,Arial,sans-serif}header{height:auto;min-height:72px}.header{min-height:72px;gap:22px;flex-wrap:wrap;padding-block:16px}.header-actions{display:flex;align-items:center;gap:20px}.language-switch{display:flex;border:1px solid var(--line);padding:3px;gap:3px}.language-switch button{font:500 11px Consolas,monospace;background:transparent;color:#aeb4bd;border:0;padding:7px 9px;cursor:pointer}.language-switch button[aria-pressed=true]{background:var(--green);color:#070807}.language-switch button:hover{color:var(--green)}.language-switch button[aria-pressed=true]:hover{color:#070807}.hero-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:60px}h1{font-size:clamp(44px,6.9vw,94px);line-height:1.05;letter-spacing:-.055em;overflow-wrap:break-word}.hero-first{font-weight:inherit;display:block}.lead{overflow-wrap:break-word}.cta{flex-wrap:wrap}.section-top{gap:30px}h2{line-height:1.12}.project{display:flex;flex-direction:column;min-height:370px}.project-link{position:static;display:inline-block;align-self:flex-start;margin-top:auto;padding-top:25px;line-height:1.6}.project:after{pointer-events:none}.contact-row{gap:17px;align-items:flex-start;flex-wrap:wrap}.contact-row a{overflow-wrap:anywhere;min-width:0}.contact-row>span{flex-shrink:0}.hero-grid>*,.about>*,.experience>*,.contact>*,.exp-item>*,.stack-card,.project{min-width:0}.brand i{color:var(--green)}a:focus-visible,button:focus-visible{outline:3px solid var(--green);outline-offset:5px}.skip-link{position:absolute;top:-100px;left:20px;z-index:20;background:var(--green);color:#070807;padding:12px}.skip-link:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.status{font-size:11px}.section-no{margin-bottom:14px}.about-big{color:var(--green)}
@media(max-width:1100px){.nav{gap:16px;font-size:12px}.header-actions{gap:12px}.status{display:none}.hero-grid{gap:35px}.stack-card{padding:21px}}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr;gap:40px}.terminal{max-width:560px}.header{justify-content:space-between}.nav{order:3;width:100%;justify-content:center}.hero{min-height:auto;padding:65px 0 80px}h1{font-size:clamp(45px,8vw,75px)}}
@media(max-width:600px){.header{min-height:70px;gap:15px}.nav{display:flex;flex-wrap:wrap;gap:12px 18px;justify-content:flex-start;font-size:11px}.header-actions{margin-left:auto}.language-switch button{padding:7px}.hero{padding:50px 0 65px}h1{font-size:clamp(36px,9.8vw,57px);line-height:1.12;letter-spacing:-.04em}.kicker{font-size:10px;line-height:1.7}.term-body{font-size:11px;padding:18px;overflow-wrap:anywhere}.section-note{max-width:100%}h2{font-size:35px;line-height:1.17}.about-big{font-size:25px}.contact-row{font-size:11px}.project h3{font-size:27px}.project{padding:25px}.project-link{font-size:10px}.hero-meta strong{font-size:11px}.hero-meta{gap:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.cursor{animation:none}.button:hover{transform:none}}
.dependency-snippet{margin-top:24px;border:1px solid var(--line);background:#0a0b0d}.dependency-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid var(--line);font:11px Consolas,monospace;color:#a9afb8}.dependency-heading button{border:1px solid var(--line);background:var(--panel2);color:var(--green);padding:8px 12px;font:11px Consolas,monospace;cursor:pointer}.dependency-heading button:hover{border-color:var(--green)}.dependency-heading button:disabled{opacity:.6;cursor:wait}.dependency-snippet pre{margin:0;padding:17px;overflow-x:auto;color:#d8e0e8;font:12px/1.9 Consolas,monospace;white-space:pre}.dependency-snippet code{font:inherit}.dependency-snippet #copy-status{font-size:11px;color:var(--green);margin:0;padding:0 14px}.dependency-snippet #copy-status:not(:empty){padding-bottom:12px}
/* Balanced typography for the longer three-language introduction. */
.hero h1{font-size:clamp(38px,4.2vw,58px);line-height:1.16;letter-spacing:-.035em;max-width:740px;text-wrap:balance}
.hero h1>span{display:block;font-size:.76em;font-weight:500;line-height:1.35;letter-spacing:0;margin-top:18px;color:#b5bdc7;-webkit-text-stroke:0;text-wrap:balance}
.hero .lead{font-size:16px;line-height:1.85;margin:26px 0;max-width:610px}
h2{font-size:clamp(29px,3.3vw,44px);line-height:1.2;letter-spacing:-.04em}
.hero{min-height:auto;padding:85px 0 90px}
@media(max-width:900px){.hero{padding:60px 0 70px}.hero h1{font-size:clamp(36px,5.3vw,48px);max-width:700px}}
@media(max-width:600px){.hero{padding:42px 0 55px}.hero h1{font-size:clamp(29px,7.7vw,38px);line-height:1.2;letter-spacing:-.025em}.hero h1>span{font-size:.8em;margin-top:14px}.hero .lead{font-size:14px;line-height:1.8;margin:23px 0}h2{font-size:29px;line-height:1.25}}

/* Social destinations: the entire card is a link. */
.contact{align-items:center;gap:64px}.social-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;border-top:0}.social-card{display:flex;align-items:center;gap:14px;min-width:0;padding:22px 18px;min-height:112px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(135deg,#15181d,#101216);transition:border-color .2s,transform .2s,background .2s}.social-card:hover{border-color:#727a86;transform:translateY(-3px);background:#191e24}.social-icon{flex-shrink:0;width:40px;height:40px;display:grid;place-items:center;border:1px solid #333a44;border-radius:10px;background:#1d2229;color:#dce2e9}.social-icon svg{width:21px;height:21px}.linkedin-glyph{font:bold 22px Arial,sans-serif;letter-spacing:-1px}.social-copy{display:flex;flex-direction:column;gap:6px;min-width:0}.social-copy strong{font:700 14px Manrope,Arial,sans-serif;color:var(--text)}.social-copy>span{font:11px/1.6 Manrope,Arial,sans-serif;color:#929aa5;overflow-wrap:break-word}.social-arrow{font-size:17px;color:#747f8d;margin-left:auto;align-self:flex-start;line-height:1;flex-shrink:0}.telegram-card{border-color:#526b30;background:linear-gradient(135deg,#1d2516,#111610)}.telegram-card .social-icon{color:var(--green);border-color:#45592a;background:#253319}.telegram-card .social-arrow{color:var(--green)}.telegram-card:hover{border-color:var(--green);background:#202b17}
@media(max-width:1100px){.contact{gap:35px}.social-card{padding:19px 14px;gap:10px}.social-icon{width:34px;height:34px}.social-copy strong{font-size:13px}.social-copy>span{font-size:10px}}
@media(max-width:900px){.contact{grid-template-columns:1fr;gap:32px}.social-card{padding:23px;min-height:108px}.social-icon{width:42px;height:42px}.social-copy strong{font-size:14px}.social-copy>span{font-size:12px}}
@media(max-width:600px){.social-card{padding:18px 14px;gap:12px}.social-copy strong{font-size:13px}.social-copy>span{font-size:11px}.social-icon{width:35px;height:35px}.social-arrow{font-size:15px}}
@media(max-width:420px){.social-cards{grid-template-columns:1fr;gap:11px}.social-card{min-height:90px;padding:19px}.social-copy>span{font-size:12px}.social-copy strong{font-size:14px}.social-icon{width:40px;height:40px}.social-arrow{align-self:center}}
@media(prefers-reduced-motion:reduce){.social-card{transition:none}.social-card:hover{transform:none}}
/* Section-specific motion. */
.hero .kicker,.hero h1,.hero .lead,.hero .cta,.hero .hero-meta,.terminal,.section-top,.about-big,.about-copy,.stack-card,.exp-item,.project,.social-card{opacity:0;transform:translateY(22px);transition:opacity .65s ease,transform .65s ease}
.hero.is-visible .kicker,.hero.is-visible h1,.hero.is-visible .lead,.hero.is-visible .cta,.hero.is-visible .hero-meta,.hero.is-visible .terminal,.section-top.is-visible,.about-big.is-visible,.about-copy.is-visible,.stack-card.is-visible,.exp-item.is-visible,.project.is-visible,.social-card.is-visible{opacity:1;transform:translateY(0)}
.hero.is-visible h1{transition-delay:.08s}.hero.is-visible .lead{transition-delay:.16s}.hero.is-visible .cta{transition-delay:.24s}.hero.is-visible .hero-meta{transition-delay:.32s}.hero.is-visible .terminal{transition-delay:.2s}
.term-line{opacity:0;transform:translateX(-8px);transition:opacity .4s ease,transform .4s ease}.hero.is-visible .term-line{opacity:1;transform:translateX(0)}.hero.is-visible .term-line:nth-child(1){transition-delay:.08s}.hero.is-visible .term-line:nth-child(2){transition-delay:.14s}.hero.is-visible .term-line:nth-child(4){transition-delay:.2s}.hero.is-visible .term-line:nth-child(5){transition-delay:.26s}.hero.is-visible .term-line:nth-child(6){transition-delay:.32s}.hero.is-visible .term-line:nth-child(7){transition-delay:.38s}.hero.is-visible .term-line:nth-child(8){transition-delay:.44s}.hero.is-visible .term-line:nth-child(9){transition-delay:.5s}.hero.is-visible .term-line:nth-child(10){transition-delay:.56s}.hero.is-visible .term-line:nth-child(11){transition-delay:.62s}.hero.is-visible .term-line:nth-child(12){transition-delay:.68s}.hero.is-visible .term-line:nth-child(14){transition-delay:.74s}
.principle{transition:background .2s,transform .2s}.principle:hover{background:rgba(183,255,90,.04);transform:translateX(6px)}
.stack-card{transition:opacity .65s ease,transform .65s ease,border-color .2s,background .2s}.stack-card:hover{border-color:#48515d;background:#171b20;transform:translateY(-4px)}
.exp-item{position:relative}.exp-item:before{content:"";position:absolute;left:124px;top:28px;width:1px;height:0;background:var(--green);transition:height .65s ease}.exp-item.is-visible:before{height:calc(100% - 56px)}.exp-year{position:relative;z-index:1}
.project{transition:opacity .65s ease,transform .65s ease,border-color .2s}.project:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 0%,transparent 36%,rgba(183,255,90,.18) 50%,transparent 64%,transparent 100%);transform:translateX(-130%);opacity:0}.project:hover:before{animation:project-scan 1.15s ease}.project:hover:after{border-color:#3d4e2a;transform:scale(1.08) rotate(18deg)}.project:after{transition:border-color .25s,transform .45s ease}@keyframes project-scan{0%{transform:translateX(-130%);opacity:0}20%{opacity:1}100%{transform:translateX(130%);opacity:0}}
.dependency-heading button{transition:border-color .2s,background .2s,color .2s,box-shadow .2s,transform .2s}.dependency-heading button.copied{background:var(--green);border-color:var(--green);color:#070807;box-shadow:0 0 0 4px rgba(183,255,90,.12);transform:translateY(-1px)}
.social-card{transition:opacity .65s ease,transform .65s ease,border-color .2s,background .2s}.social-card.is-visible:hover{transform:translateY(-3px)}
@media(prefers-reduced-motion:reduce){.hero .kicker,.hero h1,.hero .lead,.hero .cta,.hero .hero-meta,.terminal,.section-top,.about-big,.about-copy,.stack-card,.exp-item,.project,.social-card,.term-line{opacity:1;transform:none;transition:none}.principle:hover,.stack-card:hover,.social-card.is-visible:hover,.project:hover:after{transform:none}.project:hover:before{animation:none}.exp-item:before{display:none}.dependency-heading button{transition:none}}
@media(max-width:600px){.exp-item:before{display:none}}
