*{box-sizing:border-box} :root{--bg:#f7f8fc;--surface:#fff;--text:#172033;--muted:#68738a;--line:#e7eaf1;--accent:#6658e8;--accent2:#9b8cff;--soft:#efedff;--shadow:0 18px 55px rgba(35,42,75,.08)}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--bg);color:var(--text);font-family:"DM Sans",sans-serif;line-height:1.65}h1,h2,h3,.brand{font-family:Manrope,sans-serif}a{color:inherit;text-decoration:none}.topbar{height:76px;padding:0 max(calc((100% - 1160px)/2),5.5%);display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,.88);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:15px;letter-spacing:-.4px}.brand-mark{width:31px;height:31px;border-radius:10px;background:var(--accent);color:white;display:grid;place-items:center;font-size:16px}.topbar nav{display:flex;gap:29px}.topbar nav a{font-size:12px;color:var(--muted);font-weight:600;transition:.2s}.topbar nav a:hover{color:var(--accent)}.theme-toggle,.menu-toggle{border:1px solid var(--line);background:var(--surface);color:var(--text);width:38px;height:38px;border-radius:12px;cursor:pointer;font-size:19px}.menu-toggle{display:none}.section{max-width:1160px;margin:auto;padding:24px 24px}.hero{min-height:650px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;position:relative;padding-top:70px;padding-bottom:95px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:var(--accent);display:inline-flex;align-items:center;gap:9px}.pulse{width:7px;height:7px;border-radius:50%;background:#41c69a;box-shadow:0 0 0 5px #41c69a22}.hero h1{font-size:clamp(44px,6vw,72px);line-height:1.08;letter-spacing:-3.5px;margin:22px 0}.hero h1 span,.section-heading h2 span,.contact-card h2 span{color:var(--accent)}.hero-lead{max-width:520px;color:var(--muted);font-size:17px;line-height:1.8}.hero-actions{display:flex;gap:12px;margin-top:30px}.btn{padding:13px 19px;border-radius:12px;font-size:12px;font-weight:700;display:inline-flex;align-items:center;gap:18px;transition:transform .2s,box-shadow .2s}.btn:hover{transform:translateY(-3px)}.primary{background:var(--accent);color:white;box-shadow:0 10px 24px #6658e833}.secondary{border:1px solid var(--line);background:var(--surface)}.hero-meta{margin-top:35px;color:var(--muted);font-size:11px}.hero-meta span{color:var(--accent);font-size:20px;margin-right:8px}.hero-visual{height:460px;position:relative;display:grid;place-items:center}.visual-glow{width:330px;height:330px;border-radius:50%;background:radial-gradient(circle,#dcd7ff 0%,#eeecff 52%,transparent 72%);position:absolute}.portrait-frame{width:285px;height:345px;border:9px solid white;border-radius:150px 150px 35px 35px;overflow:hidden;position:relative;z-index:2;box-shadow:var(--shadow);transform:rotate(3deg)}.portrait-frame img{width:100%;height:100%;object-fit:cover;object-position:center}.orbit{position:absolute;border:1px solid #b9b1ff;border-radius:50%;transform:rotate(-24deg)}.orbit-one{width:400px;height:260px}.orbit-two{width:460px;height:310px;transform:rotate(28deg);border-color:#d5d0ff}.float-card{position:absolute;z-index:3;display:flex;align-items:center;gap:10px;background:white;padding:12px 15px;border-radius:14px;box-shadow:var(--shadow)}.float-card b,.float-card small{display:block}.float-card b{font-size:11px}.float-card small{font-size:9px;color:var(--muted)}.mini-icon{width:31px;height:31px;border-radius:10px;background:var(--soft);color:var(--accent);display:grid;place-items:center;font-weight:800}.card-code{top:78px;left:0}.card-creative{bottom:65px;right:-2px}.scroll-hint{position:absolute;bottom:25px;left:24px;font-size:10px;color:var(--muted);letter-spacing:1px}.scroll-hint span{margin-left:8px;color:var(--accent)}.about-section,.journey-section{border-top:1px solid var(--line)}.section-heading{margin-bottom:45px}.section-heading h2,.contact-card h2{font-size:clamp(32px,4vw,47px);line-height:1.18;letter-spacing:-1.8px;margin:14px 0}.about-grid{display:grid;grid-template-columns:1.6fr .8fr;gap:70px;align-items:center}.about-main p{color:var(--muted);font-size:14px;line-height:1.95;margin:0 0 18px}.about-note{padding:30px;background:var(--soft);border-radius:18px;position:relative}.quote-mark{font:70px Georgia;color:var(--accent);line-height:.8}.about-note p{font:600 17px/1.6 Manrope;margin:6px 0 24px}.note-line{width:35px;height:3px;background:var(--accent);display:block;margin-bottom:12px}.about-note small{font-size:10px;color:var(--muted)}.skills-section{padding-top:100px}.section-intro{color:var(--muted);font-size:13px;margin-top:15px}.skill-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.skill-card{background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:24px;transition:.25s}.skill-card:hover,.project-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.skill-icon{width:42px;height:42px;border-radius:13px;background:var(--soft);color:var(--accent);display:grid;place-items:center;font-size:20px}.skill-card h3,.project-content h3,.timeline-body h3{font-size:16px;margin:17px 0 7px;letter-spacing:-.4px}.skill-card p,.project-content p{font-size:12px;line-height:1.8;color:var(--muted);min-height:43px}.tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:17px}.tags span{font-size:9px;padding:5px 9px;border-radius:7px;background:var(--bg);color:var(--muted);font-weight:600}.small-note{font-size:10px;color:var(--muted);margin-top:18px}.projects-section{padding-top:95px}.project-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.project-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:.25s}.project-art{height:205px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.art-label{position:absolute;top:17px;left:18px;font-size:9px;letter-spacing:1.6px;color:#fff9;font-weight:700}.art-book{background:#171a2b}.book-stack{display:flex;gap:7px;transform:rotate(-10deg);position:absolute;left:22%;bottom:38px}.book-stack i{height:100px;width:25px;border-radius:4px;background:#8e7bff;box-shadow:inset 4px 0 #ffffff33}.book-stack i:nth-child(2){background:#e4a56c;height:120px;margin-top:-18px}.book-stack i:nth-child(3){background:#58b5a4}.art-word{font:800 43px/1 Manrope;color:white;position:absolute;right:14%;top:55px;letter-spacing:-3px}.art-game{background:linear-gradient(135deg,#243a42,#17242e)}.pixel-sun{width:62px;height:62px;background:#e8b66d;position:absolute;top:55px;right:22%;box-shadow:0 0 45px #e8b66d88}.pixel-ground{position:absolute;bottom:0;height:54px;width:100%;background:repeating-linear-gradient(90deg,#375c4e 0 22px,#426d58 22px 44px)}.game-title{position:relative;z-index:2;color:#fff;font:800 25px/1.1 Manrope;text-align:center;letter-spacing:2px;text-shadow:3px 3px #1a2730}.art-django{background:#163d32}.django-shape{font:800 100px Manrope;color:#e5f3e9;letter-spacing:-10px}.django-shape span{color:#64c69b}.art-caption{position:absolute;bottom:16px;right:18px;color:#fff9;font-size:10px;letter-spacing:3px}.art-ai{background:#201d3b}.ai-nodes{width:170px;height:120px;position:relative;display:grid;place-items:center}.ai-nodes b{width:65px;height:65px;border-radius:50%;display:grid;place-items:center;background:#7868e8;color:white;font:800 22px Manrope;box-shadow:0 0 35px #7868e888}.ai-nodes i{position:absolute;width:16px;height:16px;border-radius:50%;background:#c3baff;box-shadow:0 0 15px #c3baff}.ai-nodes i:nth-child(1){top:0;left:25px}.ai-nodes i:nth-child(2){top:25px;right:5px}.ai-nodes i:nth-child(3){bottom:0;left:35px}.ai-nodes i:nth-child(4){bottom:20px;right:15px}.project-content{padding:23px 25px 25px}.project-type{font-size:9px;color:var(--accent);font-weight:700;letter-spacing:1.5px}.project-content h3{font-size:19px;margin:8px 0}.project-content p{min-height:68px;font-size:12px}.timeline{max-width:820px;position:relative;margin-left:5px}.timeline:before{content:"";position:absolute;left:5px;top:8px;bottom:12px;width:1px;background:#d8d3ff}.timeline-item{position:relative;padding:0 0 35px 40px;display:grid;grid-template-columns:125px 1fr;gap:20px}.timeline-dot{position:absolute;left:0;top:4px;width:11px;height:11px;background:var(--accent);border:3px solid var(--bg);box-shadow:0 0 0 2px #c7c0ff;border-radius:50%}.timeline-date{font-size:9px;letter-spacing:1.2px;color:var(--accent);font-weight:700;padding-top:4px}.timeline-body h3{margin:0 0 4px;font-size:17px}.timeline-sub{font-size:11px!important;color:var(--accent)!important;font-weight:600}.timeline-body p{font-size:12px;color:var(--muted);margin:5px 0;line-height:1.8}.experience-strip{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:25px}.experience-strip>div{display:flex;gap:15px;padding:20px;border:1px solid var(--line);border-radius:15px;background:var(--surface)}.strip-icon{width:35px;height:35px;flex:0 0 35px;border-radius:11px;background:var(--soft);color:var(--accent);display:grid;place-items:center}.experience-strip b{font-size:12px}.experience-strip p{font-size:11px;color:var(--muted);margin:5px 0 0;line-height:1.7}.contact-section{padding-top:70px;padding-bottom:100px}.contact-card{background:#211e3b;color:white;border-radius:25px;padding:55px 60px;display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden}.contact-card .eyebrow{color:#b7adff}.contact-card h2{font-size:42px;margin:15px 0}.contact-card h2 span{color:#b7adff}.contact-card p{font-size:12px;color:#c5c3d7;max-width:440px}.contact-actions{z-index:2;display:flex;flex-direction:column;gap:12px}.light-btn{background:white;color:#211e3b;white-space:nowrap}.contact-hint{font-size:9px;color:#aaa7c1;max-width:210px}.contact-decoration{position:absolute;right:23%;bottom:-110px;font:300px Manrope;color:#ffffff08;pointer-events:none}footer{border-top:1px solid var(--line);padding:25px max(calc((100% - 1110px)/2),5.5%);display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px}footer .brand{color:var(--text);font-size:12px}.back-top{color:var(--accent);font-weight:700}
body.dark{--bg:#08070d;--surface:#12101b;--text:#f5f1ff;--muted:#aaa3bd;--line:#292238;--accent:#a78bfa;--accent2:#c4b5fd;--soft:#211832;--shadow:0 18px 55px rgba(0,0,0,.48)}body.dark .topbar{background:#151827e8}body.dark .portrait-frame{border-color:#25283b}body.dark .float-card{background:#202338}body.dark .tags span{background:#24283b}body.dark .timeline:before{background:#514a83}
@media(max-width:800px){.topbar{padding:0 22px}.topbar nav{display:none;position:absolute;top:75px;left:0;right:0;padding:20px 25px;background:var(--surface);border-bottom:1px solid var(--line);flex-direction:column;gap:18px}.topbar nav.open{display:flex}.menu-toggle{display:block;margin-left:8px}.theme-toggle{margin-left:auto}.hero{grid-template-columns:1fr;padding-top:65px;gap:15px}.hero-visual{height:390px;grid-row:1}.hero-copy{grid-row:2}.hero h1{font-size:55px}.scroll-hint{display:none}.about-grid{grid-template-columns:1fr;gap:25px}.skill-grid{grid-template-columns:repeat(2,1fr)}.contact-card{padding:40px;gap:30px}.contact-card h2{font-size:34px}}@media(max-width:560px){.section{padding:78px 20px}.hero{padding-top:35px}.hero-visual{height:330px}.portrait-frame{width:225px;height:275px}.visual-glow{width:260px;height:260px}.orbit-one{width:310px;height:210px}.orbit-two{width:340px;height:230px}.card-code{left:-3px;top:45px}.card-creative{right:-3px;bottom:35px}.hero h1{font-size:45px;letter-spacing:-2.5px}.hero-lead{font-size:14px}.hero-actions{flex-wrap:wrap}.skill-grid,.project-grid,.experience-strip{grid-template-columns:1fr}.project-art{height:185px}.timeline-item{grid-template-columns:1fr;gap:5px;padding-left:30px}.timeline-date{padding-top:0}.contact-card{display:block;padding:32px 25px}.contact-card h2{font-size:34px}.contact-actions{margin-top:25px}.contact-decoration{right:-20px}footer{padding:22px;gap:12px;flex-wrap:wrap}footer>span{order:3;width:100%}}
/* Refined black + violet visual identity */
body.dark{background:radial-gradient(ellipse at 78% 8%,rgba(103,62,190,.13),transparent 31%),var(--bg)}
body.dark .topbar{background:rgba(10,8,16,.88);border-bottom-color:#292238}
body.dark .brand-mark{background:linear-gradient(135deg,#8b5cf6,#c084fc);box-shadow:0 7px 20px #8b5cf644}
body.dark .theme-toggle,body.dark .menu-toggle{background:#171321;border-color:#342849;color:#d9c8ff}
body.dark .hero h1 span,body.dark .section-heading h2 span,body.dark .contact-card h2 span{background:linear-gradient(100deg,#c4b5fd,#a78bfa 55%,#e9d5ff);-webkit-background-clip:text;background-clip:text;color:transparent}
body.dark .visual-glow{background:radial-gradient(circle,rgba(139,92,246,.34),rgba(91,33,182,.16) 48%,transparent 72%)}
body.dark .portrait-frame{border-color:#21182f;box-shadow:0 0 0 1px #8b5cf655,0 25px 65px #0009}
body.dark .orbit{border-color:#8b5cf677}
body.dark .orbit-two{border-color:#c084fc55}
body.dark .float-card{background:#171321;border:1px solid #39284f;color:#f5f1ff}
body.dark .mini-icon,body.dark .skill-icon,body.dark .strip-icon{background:#2a1d40;color:#c4b5fd}
body.dark .primary{background:linear-gradient(110deg,#7c3aed,#a855f7);box-shadow:0 10px 28px #8b5cf644}
body.dark .secondary{background:#15111f;border-color:#403052;color:#e9ddff}
body.dark .about-note{background:linear-gradient(145deg,#211832,#171321);border:1px solid #38264f}
body.dark .skill-card,body.dark .project-card,body.dark .experience-strip>div{background:linear-gradient(145deg,#171420,#100e17);border-color:#30243e}
body.dark .skill-card:hover,body.dark .project-card:hover{border-color:#7651ad;box-shadow:0 20px 50px #0008,0 0 0 1px #8b5cf622}
body.dark .tags span{background:#251b34;color:#c7b9df;border:1px solid #39294d}
body.dark .timeline:before{background:linear-gradient(#a78bfa,#49305f)}
body.dark .timeline-dot{background:#a78bfa;box-shadow:0 0 0 2px #67469a}
body.dark .contact-card{background:radial-gradient(circle at 90% 10%,#6339a3 0%,transparent 35%),linear-gradient(120deg,#21152f,#100d19 75%);border:1px solid #49315e;box-shadow:0 25px 65px #0005}
body.dark .light-btn{background:#f3eaff;color:#28183d}
body.dark footer{border-color:#292238}
body.dark .topbar nav a:hover,body.dark .back-top{color:#c4b5fd}
body.dark .project-type,body.dark .timeline-date,body.dark .timeline-sub{color:#c4b5fd!important}
body.dark .eyebrow{color:#c4b5fd}
body.dark .pulse{background:#b69cff;box-shadow:0 0 0 5px #a78bfa24}
@media(max-width:800px){body.dark .topbar nav{background:#100d18;border-color:#30243e}}
