/* ===== RESET & BASE ===== */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;outline:none}
:root{
  --bg:#0a0a0a;
  --surface:#111111;
  --surface2:#161616;
  --gold:#f5a623;
  --gold2:#ff8c00;
  --amber:#ffb347;
  --text:#e8e8e8;
  --muted:#888;
  --border:#222;
  --font-sans:'Space Grotesk',sans-serif;
  --font-mono:'JetBrains Mono',monospace;
  --font-display:'Syne',sans-serif;
}
html{scroll-behavior:smooth;overflow-x:hidden;border:none}
body{background:var(--bg);color:var(--text);font-family:var(--font-sans);line-height:1.6;overflow-x:hidden;border:none}
::selection{background:var(--gold);color:#000}
::-webkit-scrollbar{width:4px}
::-webkit-scrollbar-track{background:var(--bg)}
::-webkit-scrollbar-thumb{background:var(--gold);border-radius:2px}
a{text-decoration:none;color:inherit}
canvas{position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:0}
.gold{color:var(--gold)}
.highlight{color:var(--amber);font-weight:500}

/* ===== LOADER ===== */
.loader{position:fixed;inset:0;background:#050505;z-index:9999;display:flex;align-items:center;justify-content:center;transition:opacity .6s ease,visibility .6s ease}
.loader.hide{opacity:0;visibility:hidden}
.loader-inner{font-family:var(--font-mono);max-width:480px;width:90%;padding:2rem}
.loader-line{color:#555;font-size:.85rem;margin:.3rem 0;opacity:0;transform:translateX(-10px);transition:all .4s ease}
.loader-line.show{opacity:1;transform:translateX(0);color:var(--gold)}
.loader-line.done{color:#444}
.loader-welcome{margin-top:1.5rem;opacity:0;transition:opacity .6s ease}
.loader-welcome.show{opacity:1}
.loader-welcome-sub{display:block;font-size:.75rem;color:var(--muted);letter-spacing:.2em;text-transform:uppercase;margin-bottom:.4rem}
.loader-welcome-name{display:block;font-family:var(--font-display);font-size:clamp(1.8rem,5vw,2.8rem);font-weight:800;color:var(--gold);letter-spacing:.05em}
.loader-bar-wrap{margin-top:1.5rem;height:2px;background:#1a1a1a;border-radius:2px;overflow:hidden}
.loader-bar{height:100%;width:0;background:linear-gradient(90deg,var(--gold2),var(--gold));border-radius:2px;transition:width .1s linear}

/* ===== NAV ===== */
.nav{position:fixed;top:0;left:0;right:0;z-index:100;display:flex;align-items:center;justify-content:space-between;padding:1.2rem 4rem;transition:all .3s ease}
.nav.scrolled{background:rgba(10,10,10,.92);backdrop-filter:blur(20px);border-bottom:1px solid var(--border)}
.nav-logo{font-family:var(--font-display);font-size:1.4rem;font-weight:800;letter-spacing:.05em}
.nav-dot{color:var(--gold)}
.nav-links{display:flex;gap:2rem;list-style:none}
.nav-link{font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);transition:color .3s}
.nav-link:hover{color:var(--gold)}
.nav-cta{font-family:var(--font-mono);font-size:.8rem;padding:.5rem 1.2rem;border:1px solid var(--gold);color:var(--gold);border-radius:4px;transition:all .3s;letter-spacing:.05em}
.nav-cta:hover{background:var(--gold);color:#000}
.nav-hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;background:none;border:none;padding:.4rem}
.nav-hamburger span{display:block;width:22px;height:2px;background:var(--text);border-radius:2px;transition:all .3s}
.mobile-menu{display:none;position:fixed;top:65px;left:0;right:0;background:rgba(10,10,10,.98);backdrop-filter:blur(20px);border-bottom:1px solid var(--border);z-index:99;padding:1.5rem 2rem}
.mobile-menu.open{display:block}
.mobile-menu ul{list-style:none;display:flex;flex-direction:column;gap:1.2rem}
.mob-link{font-size:1.1rem;color:var(--muted);transition:color .3s}
.mob-link:hover{color:var(--gold)}

/* ===== HERO ===== */
.hero{position:relative;min-height:100vh;display:flex;align-items:center;justify-content:space-between;padding:0 5rem;overflow:hidden;z-index:1;background:radial-gradient(circle at 70% 50%, rgba(245,166,35,0.03), transparent 60%)}
.hero-left{flex:1;max-width:650px;position:relative;z-index:2;padding-top:4rem}
.hero-badge{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--font-mono);font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;color:var(--gold);border:1px solid rgba(245,166,35,0.3);padding:.4rem 1rem;border-radius:100px;margin-bottom:2rem;background:rgba(255,255,255,0.02)}
.badge-dot{width:6px;height:6px;border-radius:50%;background:var(--gold);animation:pulse-dot 2s infinite}
@keyframes pulse-dot{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.6)}}
.hero-name{font-family:var(--font-display);font-weight:800;font-size:clamp(3.5rem,8vw,7.5rem);line-height:.95;letter-spacing:-.02em;margin-bottom:1rem;position:relative}
.hero-name-line{display:block;text-transform:uppercase}
#hn1{animation:catch-fire 0.5s ease-in 2.5s forwards, burn 0.15s infinite alternate 3s}
@keyframes catch-fire{0%{color:var(--text);text-shadow:none}100%{color:#fff;text-shadow:0 -2px 4px #ff0, 0 -6px 12px #ff8000, 0 -14px 20px #ff0000, 0 -22px 30px #8b0000}}
@keyframes burn{0%{text-shadow:0 -2px 4px #ff0, -2px -6px 12px #ff8000, 2px -14px 20px #ff0000, -2px -22px 30px #8b0000}33%{text-shadow:0 -3px 6px #ff0, 2px -8px 14px #ff8000, -2px -16px 22px #ff0000, 2px -24px 32px #8b0000}66%{text-shadow:0 -1px 3px #ff0, -1px -5px 10px #ff8000, 1px -12px 18px #ff0000, -1px -20px 28px #8b0000}100%{text-shadow:0 -4px 7px #ff0, 3px -10px 16px #ff8000, -3px -18px 25px #ff0000, 3px -26px 35px #8b0000}}
.hero-name-line.gold{color:var(--gold)}
.hero-titles{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:.5rem 1rem;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid rgba(245,166,35,0.2)}
.hero-title-item{font-family:var(--font-mono);font-size:clamp(.65rem,.9vw,.85rem);letter-spacing:.15em;color:var(--muted);text-transform:uppercase}
.hero-title-sep{color:var(--gold);font-size:.7rem}
.hero-desc{font-size:clamp(1rem,1.2vw,1.1rem);color:var(--muted);line-height:1.7;margin-bottom:2.5rem;max-width:550px}
.hero-btns{display:flex;align-items:center;justify-content:flex-start;gap:1.5rem;flex-wrap:wrap;margin-bottom:3rem}
.btn-primary{position:relative;display:inline-flex;align-items:center;padding:.9rem 2.2rem;background:var(--gold);color:#000;font-family:var(--font-sans);font-weight:600;font-size:.95rem;letter-spacing:.05em;border-radius:8px;overflow:hidden;transition:all .3s;z-index:1;box-shadow:0 5px 20px rgba(245,166,35,0.2)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(245,166,35,.4)}
.btn-glow{position:absolute;inset:0;background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.2),transparent);opacity:0;transition:opacity .3s}
.btn-primary:hover .btn-glow{opacity:1}
.btn-secondary{padding:.9rem 2.2rem;border:1px solid rgba(255,255,255,0.15);color:var(--muted);font-family:var(--font-sans);font-size:.95rem;letter-spacing:.05em;border-radius:8px;transition:all .3s}
.btn-secondary:hover{border-color:var(--gold);color:var(--gold);background:rgba(255,255,255,0.02)}
.hero-stats{display:flex;align-items:center;gap:1.5rem;background:rgba(255,255,255,0.02);padding:1.5rem 2rem;border:1px solid rgba(255,255,255,0.05);border-radius:12px;width:max-content}
.hs-item{display:flex;align-items:center;gap:0.8rem}
.hs-icon{font-size:1.5rem;color:var(--gold)}
.hs-text{font-size:0.75rem;color:var(--muted);line-height:1.4}
.hs-text strong{color:var(--text);font-size:0.85rem;display:block}
.hs-sep{width:1px;height:30px;background:rgba(255,255,255,0.1)}

.hero-right{flex:1;position:relative;display:flex;justify-content:center;align-items:center;height:100vh}
.hr-brain-container{position:relative;width:600px;height:600px}
.hr-brain-img{width:100%;height:100%;object-fit:contain;opacity:0;animation:brain-appear 1s ease-out 1.3s forwards}
@keyframes brain-appear{0%{opacity:0;transform:translateY(20px)}100%{opacity:1;transform:translateY(0)}}
.hr-callout{position:absolute;display:flex;align-items:flex-start;gap:0.8rem;background:rgba(10,10,10,0.8);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,0.1);padding:1rem;border-radius:12px;width:240px;z-index:3;transition:all 0.3s}
.hr-callout:hover{border-color:var(--gold);transform:translateY(-5px) !important}
.hrc-icon{font-size:1.2rem;background:rgba(245,166,35,0.1);width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;border:1px solid rgba(245,166,35,0.3);flex-shrink:0}
.hrc-text strong{display:block;font-size:0.85rem;color:var(--text);margin-bottom:0.2rem}
.hrc-text{font-size:0.7rem;color:var(--muted);line-height:1.4}
.hr-c1{top:15%;right:-50px;opacity:0;animation:callout-appear 0.5s ease-out 1.6s forwards}
.hr-c2{top:45%;left:-80px;opacity:0;animation:callout-appear 0.5s ease-out 1.9s forwards}
.hr-c3{bottom:25%;right:-30px;opacity:0;animation:callout-appear 0.5s ease-out 2.2s forwards}
@keyframes callout-appear{0%{opacity:0;transform:translateY(10px)}100%{opacity:1;transform:translateY(0)}}

.hr-code-block{position:absolute;bottom:80px;left:-50px;background:#0d0d0d;border:1px solid rgba(255,255,255,0.05);border-radius:12px;padding:1.5rem;font-family:var(--font-mono);font-size:0.75rem;color:var(--muted);z-index:4;box-shadow:0 10px 30px rgba(0,0,0,0.5)}
.hr-code-block code{line-height:1.6}

.hr-focus{position:absolute;bottom:40px;right:40px;display:flex;align-items:center;gap:1.5rem;background:rgba(255,255,255,0.02);border-top:1px solid rgba(245,166,35,0.3);padding:1.5rem;border-radius:0;width:300px;z-index:4}
.hrf-title{font-family:var(--font-mono);font-size:0.65rem;color:var(--gold);letter-spacing:0.1em;position:absolute;top:-10px;background:#050505;padding:0 5px}
.hrf-desc{font-size:0.8rem;color:var(--muted);line-height:1.4}
.hrf-icon{font-size:1.5rem;color:var(--gold)}

.hr-social{position:absolute;right:0;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:1rem;background:rgba(255,255,255,0.02);padding:1rem 0.8rem;border:1px solid rgba(255,255,255,0.05);border-radius:30px}
.hr-social a{color:var(--muted);transition:all 0.3s;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,0.03)}
.hr-social a:hover{color:#000;background:var(--gold);transform:scale(1.1)}

.hero-scroll-hint{position:absolute;bottom:2rem;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:.8rem;z-index:5}
.scroll-mouse{width:24px;height:36px;border:2px solid var(--gold);border-radius:12px;display:flex;justify-content:center;padding-top:4px}
.scroll-wheel{width:4px;height:8px;background:var(--gold);border-radius:2px;animation:mouse-wheel 2s ease infinite}
@keyframes mouse-wheel{0%{transform:translateY(0);opacity:1}100%{transform:translateY(10px);opacity:0}}
.hero-scroll-hint span{font-family:var(--font-mono);font-size:.65rem;letter-spacing:.2em;color:var(--muted)}
.scroll-arrow{color:var(--gold);font-size:0.8rem;animation:arrow-bounce 2s ease infinite}
@keyframes arrow-bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}

@media(max-width:1200px){.hero{flex-direction:column;padding:6rem 2rem 4rem;height:auto}.hero-right{height:auto;margin-top:4rem}.hr-brain-container{width:100%;max-width:500px;height:auto}.hr-callout,.hr-code-block,.hr-social,.hr-focus{display:none}}

/* ===== MARQUEE ===== */
.marquee-wrapper{overflow:hidden;border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--surface);position:relative;z-index:2;padding:.8rem 0}
.marquee-track{display:inline-flex;white-space:nowrap;animation:marquee 30s linear infinite;gap:0}
.marquee-track span{padding:0 1.2rem;font-family:var(--font-mono);font-size:.75rem;letter-spacing:.1em;color:var(--muted);text-transform:uppercase}
.marquee-track .sep{color:var(--gold);padding:0 .2rem}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ===== SECTIONS ===== */
.section{position:relative;z-index:2;padding:4rem 4rem;max-width:1300px;margin:0 auto}
.section-label{font-family:var(--font-mono);font-size:.7rem;letter-spacing:.2em;color:var(--gold);text-transform:uppercase;margin-bottom:1rem;opacity:.8}
.section-heading{font-family:var(--font-display);font-size:clamp(2.2rem,5vw,3.8rem);font-weight:800;line-height:1.05;margin-bottom:2rem}

/* ===== ABOUT ===== */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:start}
.about-para{color:var(--muted);font-size:1.05rem;line-height:1.8;margin-bottom:1.2rem}
.about-mission{font-size:1.1rem;font-weight:500;margin:1.5rem 0 2rem}
.philosophy-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1rem}
.phil-item{display:flex;flex-direction:column;gap:.3rem;padding:1rem;border:1px solid var(--border);border-radius:8px;background:var(--surface)}
.phil-num{font-family:var(--font-mono);font-size:.65rem;color:var(--gold);letter-spacing:.1em}
.phil-item>span:last-child{font-weight:600;font-size:.95rem}
.about-right-col{display:flex;flex-direction:column;gap:1.5rem}
.card-glow{border:1px solid var(--border);border-radius:12px;padding:1.5rem;background:var(--surface);transition:all .3s;position:relative;overflow:hidden}
.card-glow::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 0%,rgba(245,166,35,.04),transparent 70%);pointer-events:none}
.card-glow:hover{border-color:rgba(245,166,35,.3);transform:translateY(-2px);box-shadow:0 8px 40px rgba(245,166,35,.06)}
.card-tag{font-family:var(--font-mono);font-size:.65rem;letter-spacing:.15em;color:var(--gold);text-transform:uppercase;margin-bottom:1rem;padding:.2rem .6rem;border:1px solid rgba(245,166,35,.2);border-radius:4px;display:inline-block}
.mission-card p{color:var(--muted);font-size:.95rem;line-height:1.7;margin-bottom:.8rem}
.explore-tags,.love-items{display:flex;flex-wrap:wrap;gap:.5rem}
.explore-tags span,.love-items span{font-family:var(--font-mono);font-size:.7rem;padding:.3rem .7rem;border:1px solid #222;border-radius:4px;color:var(--muted);background:#0d0d0d;transition:all .3s;cursor:default}
.explore-tags span:hover,.love-items span:hover{border-color:var(--gold);color:var(--gold)}

/* ===== STACK ===== */
.stack-layout{display:flex;gap:2rem;align-items:stretch}
.stack-sidebar{flex:1;max-width:300px;display:flex;flex-direction:column}
.stack-heading{margin-bottom:1rem;line-height:0.95;font-size:clamp(2rem,4vw,3.5rem)}
.tech-cube-img{margin-top:2rem;width:100%;max-width:260px;align-self:center;filter:drop-shadow(0 0 20px rgba(245,166,35,0.2))}
.stack-main-grid{flex:3;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}
.stack-card{display:flex;flex-direction:column;padding:1.5rem}
.sc-header{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1.5rem}
.sc-icon{font-size:1.8rem;color:var(--gold);flex-shrink:0}
.sc-title-wrap h4{font-size:0.9rem;letter-spacing:0.1em;margin-bottom:0.3rem}
.sc-title-wrap p{font-size:0.75rem;color:var(--muted);line-height:1.5}
.sc-skills{display:grid;grid-template-columns:1fr 1fr;gap:0.8rem;margin-top:auto}
.sc-skill{display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,0.03);padding:0.4rem 0.8rem;border-radius:4px;border:1px solid rgba(255,255,255,0.05);transition:all 0.3s}
.sc-skill:hover{border-color:rgba(245,166,35,0.3);background:rgba(245,166,35,0.05)}
.sc-skill span{font-family:var(--font-mono);font-size:0.7rem;color:var(--text)}
.skill-dot{width:6px;height:6px;border-radius:50%;background:var(--gold)}
.tools-bar{padding:1.5rem 2rem;display:flex;flex-direction:column;gap:1.5rem;margin-top:1rem}
.tools-header{display:flex;align-items:center;gap:1rem}
.tools-icon{font-size:2rem;color:var(--gold)}
.tools-text h4{font-size:1rem;letter-spacing:0.1em;margin-bottom:0.2rem}
.tools-icons-row{display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;align-items:center}
.tool-icon-box{display:flex;flex-direction:column;align-items:center;gap:0.5rem;color:var(--muted);transition:color 0.3s;cursor:default}
.tool-icon-box:hover{color:var(--gold)}
.tool-icon-box span{font-family:var(--font-mono);font-size:0.7rem}
@media(max-width:900px){.stack-layout{flex-direction:column}.stack-sidebar{max-width:100%}.tools-icons-row{justify-content:center}}

/* ===== PROJECTS ===== */
.projects-header-row{display:flex;align-items:center;gap:3rem;margin-bottom:3rem}
.ph-title-area{flex:1;position:relative}
.ph-dots{position:absolute;bottom:-15px;left:5px;color:var(--gold);font-weight:bold;letter-spacing:0.2em}
.ph-desc{flex:1;border-left:1px solid rgba(245,166,35,0.3);padding-left:1.5rem;font-family:var(--font-mono);font-size:0.8rem;color:var(--muted);line-height:1.6}
.ph-impact-box{flex:1;display:flex;align-items:flex-start;gap:1rem;background:rgba(255,255,255,0.02);border:1px solid var(--border);border-radius:12px;padding:1.5rem}
.ph-impact-icon{font-size:1.8rem;background:rgba(245,166,35,0.1);width:50px;height:50px;display:flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid rgba(245,166,35,0.3);flex-shrink:0}
.ph-impact-text strong{display:block;font-size:0.95rem;color:var(--text);margin-bottom:0.3rem}
.ph-impact-text p{font-size:0.8rem;color:var(--muted);line-height:1.4}
.projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1.5rem}
.project-card{cursor:pointer;border-radius:16px;padding:2rem;display:flex;flex-direction:column}
.pc-top{display:flex;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}
.pc-info{flex:1}
.pc-meta{display:flex;align-items:center;gap:0.8rem;margin-bottom:1rem}
.proj-number{font-family:var(--font-mono);font-size:.7rem;color:var(--gold);background:rgba(245,166,35,0.1);padding:0.2rem 0.5rem;border-radius:4px;border:1px solid rgba(245,166,35,0.3)}
.proj-tag{font-family:var(--font-mono);font-size:.6rem;letter-spacing:.12em;text-transform:uppercase;color:var(--gold);padding:.25rem .6rem;border:1px solid rgba(245,166,35,0.2);border-radius:4px;background:rgba(255,255,255,0.03)}
.proj-title{font-family:var(--font-display);font-size:1.4rem;font-weight:700;margin-bottom:.3rem;color:var(--text);transition:color .3s;line-height:1.2}
.project-card:hover .proj-title{color:var(--gold)}
.proj-subtitle{font-family:var(--font-mono);font-size:.75rem;color:var(--muted);margin-bottom:1rem;letter-spacing:.05em}
.pc-line{width:30px;height:2px;background:var(--gold);opacity:0.5;margin-bottom:0.5rem}
.pc-img{width:110px;height:110px;flex-shrink:0;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,0.05);background:#050505;display:flex;align-items:center;justify-content:center}
.pc-img img{width:100%;height:100%;object-fit:cover;filter:drop-shadow(0 5px 15px rgba(245,166,35,0.2));transition:transform 0.4s}
.project-card:hover .pc-img img{transform:scale(1.05)}
.proj-desc{font-size:.8rem;color:var(--muted);line-height:1.6;margin-bottom:1.5rem;flex:1}
.proj-tech{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:1.5rem}
.proj-tech span{font-family:var(--font-mono);font-size:.65rem;padding:.2rem .6rem;border:1px solid #1e1e1e;border-radius:3px;color:var(--muted);background:rgba(255,255,255,0.02)}
.proj-links{display:flex;gap:1rem;margin-top:auto}
.proj-link{font-family:var(--font-mono);font-size:.75rem;color:var(--gold);letter-spacing:.05em;transition:opacity .3s;display:flex;align-items:center}
.proj-link:hover{opacity:.7}
.proj-glow-orb{position:absolute;width:200px;height:200px;border-radius:50%;background:radial-gradient(circle,rgba(245,166,35,.06),transparent 70%);bottom:-50px;right:-50px;pointer-events:none;opacity:0;transition:opacity .3s}
.project-card:hover .proj-glow-orb{opacity:1}
.drives-section{margin-top:3rem;background:rgba(255,255,255,0.02);border:1px solid var(--border);border-radius:16px;padding:2rem;display:flex;gap:3rem;align-items:center}
.drives-header{flex-shrink:0;border-right:1px solid rgba(245,166,35,0.2);padding-right:3rem}
.drives-title{font-family:var(--font-display);font-size:1.5rem;font-weight:700;line-height:1.2}
.drives-grid{display:flex;gap:2rem;flex-wrap:wrap;flex:1;justify-content:space-between}
.drive-item{display:flex;align-items:flex-start;gap:1rem;max-width:180px}
.drive-icon{font-size:1.5rem;width:40px;height:40px;border-radius:50%;background:#111;border:1px solid var(--gold);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.drive-text strong{display:block;font-size:0.85rem;color:var(--text);margin-bottom:0.4rem}
.drive-text p{font-size:0.75rem;color:var(--muted);line-height:1.4}
@media(max-width:1100px){.projects-header-row,.drives-section{flex-direction:column;align-items:flex-start;gap:2rem}.drives-header{border-right:none;border-bottom:1px solid rgba(245,166,35,0.2);padding-right:0;padding-bottom:1.5rem;width:100%}}

/* ===== PROOF OF EXECUTION ===== */
.proof-header{display:flex;align-items:center;gap:2rem;margin-bottom:3rem}
.proof-title-area{flex:1}
.proof-desc{font-size:0.95rem;color:var(--muted);line-height:1.6}
.proof-trophy{flex:1;display:flex;justify-content:center}
.proof-trophy img{width:100%;max-width:240px;filter:drop-shadow(0 0 30px rgba(245,166,35,0.3))}
.proof-stats{flex:1;display:flex;flex-direction:column;gap:1.2rem}
.stat-box{display:flex;align-items:center;gap:1rem;background:rgba(255,255,255,0.02);padding:1rem;border-radius:8px;border:1px solid rgba(255,255,255,0.05)}
.stat-icon{font-size:1.5rem;color:var(--gold)}
.stat-num{font-family:var(--font-display);font-size:1.2rem;font-weight:700}
.stat-num span{font-size:0.75rem;font-weight:400;color:var(--muted);margin-left:0.3rem}
.stat-sub{font-size:0.7rem;color:var(--muted);font-family:var(--font-mono)}
.proof-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin-bottom:3rem}
.proof-card{background:rgba(255,255,255,0.02);border:1px solid var(--border);border-radius:8px;padding:1.5rem;display:flex;flex-direction:column;transition:all 0.3s}
.proof-card:hover{border-color:rgba(245,166,35,0.3);transform:translateY(-2px);box-shadow:0 8px 30px rgba(245,166,35,0.06)}
.pc-header{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1rem}
.pc-icon{font-size:1.8rem;flex-shrink:0}
.pc-label{font-family:var(--font-mono);font-size:0.6rem;color:var(--gold);letter-spacing:0.1em;text-transform:uppercase;margin-bottom:0.2rem}
.pc-name{font-weight:600;font-size:0.95rem;line-height:1.3}
.pc-desc{font-size:0.75rem;color:var(--muted);line-height:1.5;margin-bottom:1.5rem;flex:1}
.pc-year{font-family:var(--font-mono);font-size:0.7rem;color:var(--gold)}
.pc-year span{color:var(--muted)}
.journey-section{padding:2rem;border:1px solid var(--border);border-radius:12px;margin-bottom:3rem;background:var(--surface)}
.journey-title{font-family:var(--font-mono);font-size:0.8rem;color:var(--gold);letter-spacing:0.15em;margin-bottom:2.5rem}
.timeline-container{position:relative;padding-bottom:1rem;overflow-x:auto}
.timeline-line{position:absolute;top:15px;left:0;right:0;height:1px;background:var(--border)}
.tl-points{display:flex;justify-content:space-between;gap:2rem;min-width:800px}
.tl-point{position:relative;width:120px;text-align:center;display:flex;flex-direction:column;align-items:center}
.tl-icon{width:30px;height:30px;border-radius:50%;background:#111;border:1px solid var(--gold);display:flex;align-items:center;justify-content:center;font-size:0.9rem;color:var(--gold);z-index:2;margin-bottom:1rem;box-shadow:0 0 10px rgba(245,166,35,0.2)}
.tl-year{font-family:var(--font-mono);font-size:0.7rem;color:var(--gold);margin-bottom:0.3rem}
.tl-name{font-size:0.75rem;font-weight:600;margin-bottom:0.4rem;line-height:1.2}
.tl-desc{font-size:0.65rem;color:var(--muted);line-height:1.4}
.proof-footer{display:flex;gap:3rem;align-items:center;background:rgba(255,255,255,0.01);padding:2rem;border-radius:12px;border:1px solid var(--border)}
.pf-quote{flex:1;display:flex;gap:1rem;align-items:flex-start}
.pf-quote-icon{font-family:Georgia,serif;font-size:3rem;color:var(--gold);line-height:1;opacity:0.8;margin-top:-0.5rem}
.pf-quote-text{font-size:1.1rem;line-height:1.5}
.pf-author{font-family:var(--font-mono);font-size:0.7rem;color:var(--gold);margin-top:1.5rem;letter-spacing:0.05em}
.pf-mission{flex:1;background:rgba(0,0,0,0.3);border:1px solid var(--border);border-radius:8px;padding:1.5rem}
.pf-mission-title{font-family:var(--font-mono);font-size:0.7rem;color:var(--gold);letter-spacing:0.1em;margin-bottom:1rem;text-transform:uppercase}
.pf-progress-bar{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem;position:relative}
.pf-bars{display:flex;gap:4px;flex:1;height:8px}
.pf-bars span{flex:1;background:rgba(255,255,255,0.1);border-radius:2px}
.pf-fill{position:absolute;left:0;top:0;height:8px;background:var(--gold);border-radius:2px;z-index:1;box-shadow:0 0 10px rgba(245,166,35,0.4)}
.pf-pct{font-family:var(--font-mono);font-size:0.8rem;color:var(--muted)}
.pf-obj-title{font-family:var(--font-mono);font-size:0.6rem;color:var(--muted);letter-spacing:0.1em;margin-bottom:0.3rem;text-transform:uppercase}
.pf-obj-desc{font-size:0.8rem;color:var(--text);line-height:1.5}
@media(max-width:900px){.proof-header{flex-direction:column}.proof-footer{flex-direction:column}}


/* ===== CONTACT / TERMINAL ===== */
.contact-section { max-width: 1300px; }
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: stretch;
}
.contact-left { display: flex; flex-direction: column; }
.contact-intro { font-size: 1.1rem; color: var(--muted); line-height: 1.6; margin-bottom: 2rem; max-width: 450px; }
.contact-methods { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
.cm-item { display: flex; align-items: flex-start; gap: 1rem; }
.cm-icon { width: 44px; height: 44px; border-radius: 8px; border: 1px solid rgba(245,166,35,0.3); background: rgba(245,166,35,0.05); display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }
.cm-text strong { display: block; font-size: 0.95rem; color: var(--text); margin-bottom: 0.2rem; }
.cm-text span { font-size: 0.8rem; color: var(--muted); }
.contact-quote { display: flex; flex-direction: column; justify-content: center; padding: 1.5rem 2rem 2.5rem; position: relative; margin-top: auto; overflow: hidden; }
.cq-icon { font-family: Georgia, serif; font-size: 3rem; color: var(--gold); line-height: 0; margin-bottom: 1rem; opacity: 0.8; }
.contact-quote p { font-size: 1rem; color: var(--text); z-index: 2; position: relative; max-width: 80%; }
.cq-graph { position: absolute; bottom: 1rem; right: 1rem; width: 120px; height: 35px; opacity: 0.5; z-index: 1; }

.contact-right { display: flex; flex-direction: column; gap: 1.5rem; }
.terminal-container {
  position: relative;
  flex: 1;
  border: 1px solid rgba(245,166,35,0.4);
  border-radius: 12px;
  background: #080808;
  padding: 1px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(245,166,35,0.1);
}
.terminal-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(245,166,35,0.15), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.terminal-globe {
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}
.terminal-window {
  position: relative;
  z-index: 2;
  height: 100%;
  border-radius: 11px;
  background: rgba(10,10,10,0.8);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}
.terminal-header { display: flex; align-items: center; gap: .5rem; padding: 1rem 1.2rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.t-dot { width: 12px; height: 12px; border-radius: 50%; }
.t-dot.red { background: #ff5f57; }
.t-dot.yellow { background: #febc2e; }
.t-dot.green { background: #28c840; }
.t-title { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); margin-left: .5rem; }
.terminal-body { padding: 1.5rem 2rem 2rem; flex: 1; display: flex; flex-direction: column; }
.t-line { display: flex; align-items: center; gap: .8rem; font-family: var(--font-mono); font-size: 1rem; }
.t-prompt { font-weight: bold; }
.t-cmd { font-weight: 600; }
.t-output-animated { font-family: var(--font-mono); flex: 1; }

.t-load-step { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; font-size: 0.85rem; color: var(--muted); opacity: 0; animation: fade-in 0.3s forwards; }
.t-load-step:nth-child(1) { animation-delay: 0.5s; }
.t-load-step:nth-child(2) { animation-delay: 1.0s; }
.t-load-step:nth-child(3) { animation-delay: 1.5s; }
@keyframes fade-in { to { opacity: 1; } }

.t-status-box { margin-top: 1.5rem; padding: 0.8rem 1rem; border: 1px solid rgba(245,166,35,0.3); border-radius: 6px; color: var(--gold); font-size: 0.85rem; background: rgba(245,166,35,0.05); opacity: 0; animation: fade-in 0.3s forwards; animation-delay: 2.0s; }

.t-contact-grid-new { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; opacity: 0; animation: fade-in 0.5s forwards; animation-delay: 2.5s; }
.t-card { display: flex; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; background: rgba(0,0,0,0.5); transition: all 0.3s; position: relative; overflow: hidden; text-decoration: none; }
.t-card:hover { border-color: var(--gold); background: rgba(245,166,35,0.05); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(245,166,35,0.1); }
.t-card-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(245,166,35,0.1); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.t-card-info { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; overflow: hidden; }
.t-card-label { font-family: var(--font-mono); font-size: 0.65rem; color: var(--gold); letter-spacing: 0.1em; }
.t-card-val { font-family: var(--font-sans); font-size: 0.85rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-card-copy { color: var(--muted); transition: color 0.3s; }
.t-card:hover .t-card-copy { color: var(--gold); }

.t-interactive-input { margin-top: 2rem; display: flex; align-items: center; gap: 0.8rem; font-family: var(--font-mono); opacity: 0; animation: fade-in 0.5s forwards; animation-delay: 3.0s; }
.t-interactive-input .t-prompt { color: var(--gold); }
.t-actual-input { flex: 1; background: transparent; border: none; color: var(--text); font-family: var(--font-mono); font-size: 0.9rem; outline: none; }
.t-actual-input::placeholder { color: rgba(255,255,255,0.2); }

.direct-message-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.dm-icon { width: 48px; height: 48px; border-radius: 50%; background: #111; border: 1px solid rgba(245,166,35,0.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dm-content { flex: 1; }
.dm-content strong { display: block; font-size: 1rem; color: var(--text); margin-bottom: 0.2rem; }
.dm-content p { font-size: 0.8rem; color: var(--muted); line-height: 1.4; }
.dm-btn { font-family: var(--font-sans); font-size: 0.85rem; font-weight: 600; padding: 0.6rem 1.2rem; border-radius: 6px; border: 1px solid rgba(245,166,35,0.5); color: var(--gold); background: rgba(245,166,35,0.05); transition: all 0.3s; white-space: nowrap; }
.dm-btn:hover { background: var(--gold); color: #000; }

/* ===== FOOTER ===== */
.footer{position:relative;z-index:2;border-top:1px solid var(--border);padding:2.5rem 4rem}
.footer-inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem}
.footer-logo{font-family:var(--font-display);font-size:1.6rem;font-weight:800}
.footer-text p{font-size:.9rem;color:var(--muted)}
.footer-sub{font-family:var(--font-mono);font-size:.75rem;opacity:.6}
.footer-links{display:flex;gap:1.5rem}
.footer-links a{font-family:var(--font-mono);font-size:.75rem;color:var(--muted);letter-spacing:.06em;transition:color .3s}
.footer-links a:hover{color:var(--gold)}

/* ===== SCROLL REVEAL ===== */
.reveal{opacity:0;transform:translateY(30px);transition:opacity .7s ease,transform .7s ease}
.reveal.visible{opacity:1;transform:none}

/* ===== RESPONSIVE — FULL SYSTEM ===== */

/* ---- Large Desktop ---- */
@media(max-width:1280px){
  .hero { padding: 0 3rem; }
  .section { padding: 3.5rem 3rem; }
}

/* ---- Laptop / Tablet Landscape (≤1100px) ---- */
@media(max-width:1100px){
  .hero { padding: 0 2.5rem; }
  .hero-name { font-size: clamp(3rem,7vw,6rem); }
  .hr-brain-container { width: 480px; height: 480px; }

  /* Contact */
  .contact-container { grid-template-columns: 1fr; gap: 2.5rem; }
  .terminal-container { min-height: 380px; }
  .t-contact-grid-new { grid-template-columns: 1fr 1fr; }

  /* Projects header */
  .projects-header-row { flex-direction: column; gap: 1.5rem; }
  .ph-desc, .ph-impact-box { border-left: none; padding-left: 0; }
  .drives-section { flex-direction: column; gap: 1.5rem; }
  .drives-header { border-right: none; border-bottom: 1px solid rgba(245,166,35,0.2); padding-right: 0; padding-bottom: 1.5rem; width: 100%; }
}

/* ---- Tablet Portrait (≤900px) ---- */
@media(max-width:900px){
  /* Nav */
  .nav { padding: 1rem 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero { flex-direction: column; padding: 6rem 2rem 5rem; min-height: 100vh; justify-content: center; gap: 3rem; }
  .hero-left { max-width: 100%; padding-top: 2rem; }
  .hero-right { display: none; }
  .hero-name { font-size: clamp(3rem,12vw,6rem); }
  .hero-btns { flex-wrap: wrap; gap: 1rem; }
  .btn-primary, .btn-secondary { padding: .8rem 1.8rem; font-size: .9rem; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; width: 100%; justify-content: space-between; }
  .hs-sep { display: none; }

  /* Sections */
  .section { padding: 3rem 1.5rem; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .philosophy-grid { grid-template-columns: 1fr 1fr; }

  /* Stack */
  .stack-layout { flex-direction: column; }
  .stack-sidebar { max-width: 100%; flex-direction: row; align-items: center; gap: 2rem; }
  .tech-cube-img { display: none; }
  .tools-icons-row { justify-content: center; gap: 1.5rem; }

  /* Projects */
  .projects-grid { grid-template-columns: 1fr; }
  .drives-grid { gap: 1rem; }

  /* Achievements */
  .proof-header { flex-direction: column; gap: 1.5rem; }
  .proof-trophy { display: none; }
  .proof-footer { flex-direction: column; gap: 2rem; }

  /* Contact */
  .contact-container { grid-template-columns: 1fr; gap: 2rem; }
  .t-contact-grid-new { grid-template-columns: 1fr 1fr; }
  .direct-message-box { flex-direction: row; }

  /* Footer */
  .footer { padding: 2rem 1.5rem; }
  .footer-inner { flex-direction: column; text-align: center; gap: 1.5rem; }
  .footer-links { justify-content: center; }
}

/* ---- Large Mobile (≤650px) ---- */
@media(max-width:650px){
  /* Hero */
  .hero { padding: 5rem 1.2rem 3rem; }
  .hero-name { font-size: clamp(2.8rem,14vw,4.5rem); }
  .hero-badge { font-size: .65rem; padding: .35rem .8rem; }
  .hero-titles { gap: .3rem .6rem; }
  .hero-desc { font-size: .95rem; }
  .hero-stats { flex-direction: column; align-items: flex-start; background: transparent; padding: 0; border: none; gap: .8rem; }

  /* Section headings */
  .section-heading { font-size: clamp(2rem,8vw,3rem); }

  /* About */
  .philosophy-grid { grid-template-columns: 1fr 1fr; }

  /* Terminal contact */
  .t-contact-grid-new { grid-template-columns: 1fr; }
  .terminal-body { padding: 1rem 1.2rem; }
  .t-load-step { font-size: 0.78rem; }
  .t-status-box { font-size: 0.78rem; }

  /* DM box */
  .direct-message-box { flex-direction: column; text-align: center; gap: 1rem; padding: 1.2rem; }
  .dm-icon { margin: 0 auto; }
  .dm-btn { width: 100%; text-align: center; }

  /* Contact left */
  .contact-methods { gap: 1rem; }
  .contact-quote { padding: 1.2rem; }

  /* Proof */
  .proof-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-links { flex-direction: row; gap: 1rem; flex-wrap: wrap; justify-content: center; }
}

/* ---- Small Mobile (≤400px) ---- */
@media(max-width:400px){
  .hero { padding: 4.5rem 1rem 2.5rem; }
  .hero-name { font-size: clamp(2.4rem,16vw,3.5rem); }
  .hero-btns { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; justify-content: center; }
  .section { padding: 2.5rem 1rem; }
  .t-line, .t-actual-input { font-size: 0.78rem; }
  .t-card-val { font-size: 0.75rem; }
  .t-card { padding: 0.8rem; gap: 0.7rem; }
  .t-card-icon { width: 34px; height: 34px; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .explore-tags span, .love-items span { font-size: .65rem; }
}

