/* Plain CSS. Change these tokens to customize the theme. */
:root{--bg:#100e17;--surface:#202026;--accent:#0bceaf;--text:#f1f1f3;--muted:#c8c7cc;--shadow:0 10px 35px #0006;--radius:4px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.75}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}img{max-width:100%;height:auto;display:block}h1,h2,h3,p{margin:0}h2{font-size:32px;line-height:1.25;margin-bottom:24px}h3{font-size:23px;line-height:1.4;font-weight:600}p{color:var(--muted)}ul{padding:0;list-style:none}.container{width:min(1110px,calc(100% - 48px));margin-inline:auto}.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;align-items:center}.three-col{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.section{padding:100px 0 60px}.section-title{text-align:center;margin-bottom:60px;font-weight:700}.accent{color:var(--accent)}.icon{width:23px;height:23px;flex-shrink:0}.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow)}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:10px 30px;border:0;border-radius:30px;background:var(--accent);color:#fff;cursor:pointer;font-weight:700;line-height:1.7;transition:background .2s,transform .2s}.button:hover{background:#09af95;transform:translateY(-2px)}.button .icon{width:19px;height:19px}a:focus-visible,button:focus-visible,label:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:6px}input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.sr-only,.filter-input,.menu-check{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.skip-link{position:fixed;top:8px;left:8px;background:var(--accent);padding:8px 20px;z-index:100;transform:translateY(-150%)}.skip-link:focus{transform:none}
/* Header and introduction */
.site-header{position:sticky;top:0;z-index:30;background:#100e17f5;box-shadow:0 4px 12px #0002}.header-inner{min-height:90px;display:flex;align-items:center;justify-content:space-between;position:relative}.logo img{width:75px;height:auto}.site-header nav{display:flex;gap:34px}.site-header nav a{font-weight:700;font-size:18px;padding:8px 0;border-bottom:1px solid transparent;transition:color .2s,border-color .2s}.site-header nav a:hover,.site-header nav a:focus-visible{color:var(--accent);border-color:var(--accent)}.menu-button{display:none}.hero-inner{min-height:760px;padding:115px 0 140px}.hello{display:inline-block;background:var(--accent);border-radius:22px 22px 22px 0;padding:8px 30px;font-weight:700;letter-spacing:1px;margin-bottom:26px}.hero h1{font-size:60px;line-height:1.12;font-weight:700;margin-bottom:14px;letter-spacing:-1px}.hero h2{font-size:26px;margin-bottom:36px}.hero-info>p{line-height:1.9;margin-bottom:26px}.portrait{width:400px;max-width:100%;aspect-ratio:1;justify-self:center;border:20px solid #000e;border-radius:50%;background:#09080e}.portrait img{width:100%;height:100%;object-fit:cover;border:20px solid #0005;border-radius:50%}.socials{display:flex;align-items:center;gap:10px}.socials a{width:45px;height:45px;display:grid;place-items:center;border-radius:4px;color:#dbdade;transition:background .2s,color .2s}.socials a:hover{background:var(--text);color:var(--accent)}.socials .icon{width:20px;height:20px}.about-image{padding-right:25px}.about-inner{gap:45px}.about-inner p{max-width:480px}.tags{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 32px}.tags li{border:1px solid var(--accent);border-radius:4px;line-height:1.5;padding:4px 13px;font-weight:600}
/* Services, skills and resume */
.service{padding:28px 25px}.service-icon{margin-bottom:15px}.service-icon .icon{width:30px;height:30px}.purple{color:#9774fa}.orange{color:#ed7256}.blue{color:#2796e2}.service h3{margin-bottom:15px}.service p{line-height:1.8}.skills-columns{gap:80px;align-items:start}.skills-columns .section-title{font-size:30px;margin-bottom:55px}.skill{margin-bottom:25px}.skill-label{display:flex;justify-content:space-between;line-height:1.2;margin-bottom:11px}.bar{height:7px;border-radius:8px;background:#59585f;overflow:hidden}.bar span{display:block;height:100%;background:var(--accent);border-radius:8px}.professional-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px 20px;text-align:center}.ring{width:110px;height:110px;background:conic-gradient(var(--accent) var(--progress),#59585f 0);border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;position:relative}.ring:before{content:"";position:absolute;inset:6px;border-radius:50%;background:var(--bg)}.ring span{z-index:1;font-size:18px;color:var(--text)}.professional p{font-weight:500;color:var(--text)}.experience-columns{align-items:start;gap:30px}.experience-stack{display:grid;gap:28px}.experience{padding:27px 30px;min-height:218px}.experience h3{font-size:20px;line-height:1.5}.experience .year{color:var(--accent);font-size:14px;margin:10px 0 16px}.experience p{font-size:14px;line-height:1.7}.experience .responsibility{margin-bottom:6px}.experience ul{margin:0;color:var(--muted)}.experience li:before{content:"";display:inline-block;width:7px;height:7px;background:#eee;border-radius:50%;margin-right:14px;vertical-align:middle}
/* Native radio inputs control filtering; :target opens each project. */
.portfolio{position:relative}.filters{display:flex;justify-content:center;flex-wrap:wrap;gap:30px;margin-bottom:42px}.filters label{cursor:pointer;font-weight:700;padding:5px 0 9px;border-bottom:2px solid transparent;transition:color .2s}.filters label:hover{color:var(--accent)}#filter-all:checked~.filters label[for=filter-all],#filter-web:checked~.filters label[for=filter-web],#filter-brand:checked~.filters label[for=filter-brand],#filter-mockup:checked~.filters label[for=filter-mockup],#filter-photo:checked~.filters label[for=filter-photo]{color:var(--accent);border-color:var(--accent)}#filter-all:focus-visible~.filters label[for=filter-all],#filter-web:focus-visible~.filters label[for=filter-web],#filter-brand:focus-visible~.filters label[for=filter-brand],#filter-mockup:focus-visible~.filters label[for=filter-mockup],#filter-photo:focus-visible~.filters label[for=filter-photo]{outline:2px solid var(--accent);outline-offset:4px}.gallery{columns:3;column-gap:25px}.project{display:block;position:relative;border-radius:8px;overflow:hidden;margin-bottom:25px;break-inside:avoid}.project img{width:100%;transition:transform .35s}.project-caption{position:absolute;inset:0;background:#0bceafe8;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;opacity:0;transition:opacity .25s;text-align:center}.project-caption strong{font-size:23px;margin-top:12px}.project-caption .icon{width:28px;height:28px}.project:hover .project-caption,.project:focus-visible .project-caption{opacity:1}.project:hover img{transform:scale(1.04)}#filter-web:checked~.gallery .project:not(.web),#filter-brand:checked~.gallery .project:not(.brand),#filter-mockup:checked~.gallery .project:not(.mockup),#filter-photo:checked~.gallery .project:not(.photo){display:none}.lightbox{display:none;position:fixed;inset:0;z-index:60;padding:40px;align-items:center;justify-content:center}.lightbox:target{display:flex}.lightbox-backdrop{position:absolute;inset:0;background:#000d}.lightbox-panel{position:relative;width:min(900px,100%);max-height:90vh;overflow:auto;display:grid;grid-template-columns:1.2fr 1fr;background:var(--surface);border-radius:8px;padding:35px;gap:30px;align-items:center;box-shadow:var(--shadow)}.lightbox-panel img{width:100%;max-height:75vh;object-fit:contain}.lightbox-panel h2{font-size:27px}.lightbox-panel p{margin-top:15px}.close{position:absolute;top:2px;right:13px;font-size:32px;line-height:1.2}.close:hover{color:var(--accent)}
/* Contact area: mailto opens the visitor's email client. */
.contact-section{padding-bottom:20px}.contact-card{text-align:center;padding:30px 22px;min-height:260px}.contact-icon{width:100px;height:100px;border:1px solid var(--accent);border-radius:50%;display:grid;place-items:center;margin:0 auto 20px}.contact-icon .icon{width:28px;height:28px}.contact-card h3{font-size:24px;margin-bottom:13px}.contact-card address{font-style:normal;color:var(--muted)}.contact-card a{color:var(--muted)}.contact-card a:hover{color:var(--accent)}.contact-bottom{align-items:stretch;margin-top:60px;gap:30px}form{display:flex;flex-direction:column;gap:20px}.name-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}input,textarea{display:block;width:100%;border:1px solid #b2b0b8;border-radius:4px;background:transparent;color:var(--text);padding:12px 16px;line-height:1.7}input::placeholder,textarea::placeholder{color:#d1cfd4;opacity:1}textarea{resize:vertical;min-height:190px}.form-note{font-size:12px;text-align:center;line-height:1.5}.map-panel{position:relative;min-height:365px;background:#20292d;border-radius:4px;overflow:hidden;box-shadow:var(--shadow)}.map-drawing{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.map-pin{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:14px;background:var(--surface);box-shadow:var(--shadow);padding:14px 18px;border-radius:7px;white-space:nowrap}.map-pin .icon{color:var(--accent);width:30px;height:30px}.map-pin small{display:block;font-size:11px;color:var(--accent)}.map-note{position:absolute;bottom:12px;right:12px;font-size:11px;background:#100e17cc;padding:3px 8px;border-radius:3px}.copyright{margin-top:60px;border-top:1px solid #ffffff12;padding:25px 0 5px;display:flex;justify-content:space-between;align-items:center}.copyright .socials a{width:35px;height:35px}.back-top{position:fixed;bottom:22px;right:22px;background:var(--surface);border:1px solid #0bceaf66;color:var(--accent);width:38px;height:38px;display:grid;place-items:center;border-radius:50%;z-index:20;font-size:23px}
/* Tablet */
@media(max-width:1000px){.site-header nav{gap:22px}.site-header nav a{font-size:16px}.hero h1{font-size:48px}.portrait{width:350px}.hero-inner{min-height:650px;padding:100px 0}.skills-columns{gap:40px}.service{padding:24px 20px}.service h3{font-size:21px}.three-col{gap:20px}.experience{padding:25px;min-height:240px}.about-inner{gap:30px}}
/* Mobile navigation and stacked sections */
@media(max-width:767px){html{scroll-padding-top:85px}.container{width:calc(100% - 36px)}.header-inner{min-height:76px}.menu-button{display:flex;flex-direction:column;justify-content:center;gap:5px;width:40px;height:40px;cursor:pointer;padding:8px}.menu-button span{display:block;height:2px;width:24px;background:var(--text);transition:transform .2s}.menu-check:focus-visible+.menu-button{outline:2px solid var(--accent);outline-offset:4px}.site-header nav{display:none;position:absolute;top:76px;left:-18px;right:-18px;background:var(--surface);padding:15px 26px;box-shadow:var(--shadow);max-height:calc(100dvh - 90px);overflow:auto}.menu-check:checked~nav{display:flex;flex-direction:column;gap:3px}.menu-check:checked+.menu-button span:nth-child(1){transform:translateY(7px) rotate(45deg)}.menu-check:checked+.menu-button span:nth-child(2){opacity:0}.menu-check:checked+.menu-button span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}.site-header nav a{padding:10px 0}.two-col,.three-col{grid-template-columns:1fr}.hero-inner{padding:35px 0 70px;gap:60px}.portrait{grid-row:1;width:360px;border-width:18px}.portrait img{border-width:18px}.hero-info{text-align:center}.hero h1{font-size:42px}.hero h2{font-size:22px;margin-bottom:32px}.hero-info>p{margin-bottom:28px}.hello{margin-bottom:20px}.socials{justify-content:center}.section{padding:65px 0 35px}.section-title{font-size:28px;margin-bottom:35px}.about-inner{gap:35px}.about-image{padding:0;max-width:550px;margin:auto}.about-inner h2{font-size:28px}.service{padding:30px}.three-col{gap:25px}.skills-columns{gap:55px}.skills-columns .section-title{font-size:28px;margin-bottom:35px}.skill{margin-bottom:28px}.professional-grid{gap:25px}.experience-columns{gap:60px}.experience{min-height:0;padding:25px 30px}.filters{gap:12px 22px;margin-bottom:30px}.filters label{font-size:13px}.gallery{columns:2;column-gap:16px}.project{margin-bottom:16px}.project-caption strong{font-size:18px}.project-caption span{font-size:12px}.contact-card{min-height:250px}.contact-bottom{margin-top:35px;gap:30px}.name-fields{gap:15px}.map-panel{min-height:350px}.copyright{flex-direction:column;gap:15px;margin-top:35px;text-align:center;padding-bottom:20px}.lightbox{padding:18px}.lightbox-panel{grid-template-columns:1fr;padding:30px 22px;gap:20px}.lightbox-panel img{max-height:45vh}.lightbox-panel h2{font-size:23px}.back-top{right:12px;bottom:12px}}
@media(max-width:420px){.hero h1{font-size:38px}.portrait{width:100%;max-width:340px}.gallery{columns:1}.name-fields{grid-template-columns:1fr}.socials{gap:5px}.map-pin{padding:12px;gap:8px;font-size:13px}.experience h3{font-size:19px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}
