:root {
  --bg:       #080E1C;
  --bg2:      #0C1426;
  --surface:  #101828;
  --card:     #121F35;
  --card2:    #152238;
  --gold:     #C9A84C;
  --gold2:    #DFC278;
  --gold3:    #EDD9A3;
  --goldDim:  rgba(201,168,76,0.14);
  --goldLine: rgba(201,168,76,0.20);
  --goldGlow: rgba(201,168,76,0.06);
  --white:    #F9F6EF;
  --text:     #D8D3C5;
  --muted:    #7B8099;
  --faint:    #3A4060;
  --serif:    'Cormorant Garamond', Georgia, serif;
  --sans:     'Outfit', system-ui, sans-serif;
  --ease:     cubic-bezier(.4,0,.2,1);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{background:var(--bg);color:var(--text);font-family:var(--sans);font-weight:400;line-height:1.65;overflow-x:hidden}

/* ── AMBIENT LIGHT ── */
body::before{
  content:'';position:fixed;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(ellipse 900px 600px at 85% -5%, rgba(201,168,76,0.055) 0%, transparent 65%),
    radial-gradient(ellipse 700px 500px at -10% 90%, rgba(201,168,76,0.035) 0%, transparent 65%),
    radial-gradient(ellipse 400px 400px at 50% 50%, rgba(201,168,76,0.015) 0%, transparent 70%);
}

/* ── GRID TEXTURE ── */
body::after{
  content:'';position:fixed;inset:0;z-index:0;pointer-events:none;
  background-image:
    linear-gradient(rgba(201,168,76,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.025) 1px, transparent 1px);
  background-size:60px 60px;
  mask-image:radial-gradient(ellipse 100% 100% at center, black 20%, transparent 80%);
}

/* ── NAV ── */
nav{
  position:fixed;top:0;left:0;right:0;z-index:500;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 5rem;height:64px;
  background:rgba(8,14,28,0.85);
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  border-bottom:1px solid var(--goldLine);
}
.nav-brand{display:flex;align-items:center;gap:10px;}
.nav-monogram{
  width:34px;height:34px;border-radius:4px;
  background:var(--goldDim);border:1px solid var(--goldLine);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--serif);font-size:1rem;font-weight:700;color:var(--gold);
  letter-spacing:0.02em;
}
.nav-name{font-family:var(--serif);font-size:1.05rem;font-weight:600;color:var(--white);letter-spacing:0.04em;}
.nav-links{display:flex;align-items:center;gap:2.5rem;}
.nav-links a{
  color:var(--muted);text-decoration:none;font-size:0.72rem;
  font-weight:600;letter-spacing:0.16em;text-transform:uppercase;
  transition:color .2s var(--ease);position:relative;padding-bottom:2px;
}
.nav-links a::after{
  content:'';position:absolute;left:0;bottom:0;right:0;height:1px;
  background:var(--gold);transform:scaleX(0);transform-origin:left;
  transition:transform .25s var(--ease);
}
.nav-links a:hover{color:var(--gold2);}
.nav-links a:hover::after{transform:scaleX(1);}
.nav-cta{
  padding:0.5rem 1.3rem;background:var(--goldDim);
  border:1px solid var(--goldLine);border-radius:4px;
  color:var(--gold);font-size:0.72rem;font-weight:700;
  letter-spacing:0.12em;text-transform:uppercase;text-decoration:none;
  transition:background .2s,border-color .2s;
}
.nav-cta:hover{background:rgba(201,168,76,0.22);border-color:var(--gold);}

/* ── HERO ── */
.hero{
  position:relative;z-index:1;min-height:100vh;
  display:flex;align-items:center;
  max-width:1340px;margin:0 auto;padding:6rem 5rem 4rem;gap:6rem;
}
.hero-left{flex:1;min-width:0;}

.eyebrow{
  display:inline-flex;align-items:center;gap:0.8rem;margin-bottom:1.8rem;
}
.eyebrow-bar{width:32px;height:1px;background:var(--gold);}
.eyebrow-text{
  font-size:0.68rem;font-weight:700;letter-spacing:0.28em;
  text-transform:uppercase;color:var(--gold);
}

.hero-name{
  font-family:var(--serif);
  font-size:clamp(4rem,7vw,7.5rem);
  font-weight:700;line-height:0.92;
  letter-spacing:-0.01em;color:var(--white);
  margin-bottom:0.15em;
}
.hero-name .ln{
  display:block;color:transparent;
  -webkit-text-stroke:1.5px var(--gold);
  font-style:italic;
}

.hero-role{
  display:flex;align-items:center;gap:0.75rem;
  margin:1.5rem 0 1.8rem;
}
.hero-role-dot{width:5px;height:5px;border-radius:50%;background:var(--gold);flex-shrink:0;}
.hero-role-text{font-size:0.82rem;font-weight:600;letter-spacing:0.18em;text-transform:uppercase;color:var(--muted);}

.hero-desc{
  font-size:0.98rem;color:var(--text);max-width:480px;
  line-height:1.95;opacity:0.7;margin-bottom:2.5rem;
}

.hero-actions{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:3.5rem;}
.btn-primary{
  display:inline-flex;align-items:center;gap:0.5rem;
  padding:0.88rem 2.2rem;background:var(--gold);color:var(--bg);
  font-family:var(--sans);font-weight:700;font-size:0.78rem;
  letter-spacing:0.12em;text-transform:uppercase;text-decoration:none;
  border-radius:4px;transition:background .2s,transform .15s;
}
.btn-primary:hover{background:var(--gold2);transform:translateY(-2px);}
.btn-ghost{
  display:inline-flex;align-items:center;gap:0.5rem;
  padding:0.88rem 2.2rem;background:transparent;color:var(--gold);
  font-family:var(--sans);font-weight:700;font-size:0.78rem;
  letter-spacing:0.12em;text-transform:uppercase;text-decoration:none;
  border:1px solid var(--goldLine);border-radius:4px;transition:all .2s;
}
.btn-ghost:hover{border-color:var(--gold);background:var(--goldGlow);transform:translateY(-2px);}

/* STATS ROW */
.hero-stats{
  display:flex;border:1px solid var(--goldLine);border-radius:6px;
  overflow:hidden;width:fit-content;
}
.hstat{
  padding:1rem 2rem;border-right:1px solid var(--goldLine);
  text-align:center;background:rgba(12,20,38,0.6);
}
.hstat:last-child{border-right:none;}
.hstat-n{
  font-family:var(--serif);font-size:2rem;font-weight:700;
  color:var(--gold);line-height:1;display:block;
}
.hstat-l{
  font-size:0.62rem;font-weight:700;letter-spacing:0.16em;
  text-transform:uppercase;color:var(--muted);display:block;margin-top:4px;
}

/* AVATAR */
.hero-right{flex-shrink:0;position:relative;}
.avatar-outer{
  position:relative;width:360px;height:430px;
}
.avatar-corner{position:absolute;width:60px;height:60px;}
.avatar-corner.tl{top:-14px;left:-14px;border-top:2px solid var(--gold);border-left:2px solid var(--gold);}
.avatar-corner.br{bottom:-14px;right:-14px;border-bottom:2px solid var(--gold);border-right:2px solid var(--gold);}
.avatar-corner.tr{top:-14px;right:-14px;border-top:1px solid var(--goldLine);border-right:1px solid var(--goldLine);}
.avatar-corner.bl{bottom:-14px;left:-14px;border-bottom:1px solid var(--goldLine);border-left:1px solid var(--goldLine);}
.avatar-inner{
  width:100%;height:100%;
  background:linear-gradient(160deg, var(--card) 0%, var(--surface) 100%);
  border:1px solid var(--goldLine);border-radius:6px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  overflow:hidden;position:relative;
}
.avatar-inner img{width:100%;height:100%;object-fit:cover;border-radius:6px;}
.avatar-bg-text{
  position:absolute;bottom:-10px;right:-5px;
  font-family:var(--serif);font-size:8rem;font-weight:700;font-style:italic;
  color:var(--gold);opacity:0.04;line-height:1;user-select:none;
  white-space:nowrap;
}
.avatar-placeholder-inner{
  display:flex;flex-direction:column;align-items:center;gap:10px;
  position:relative;z-index:1;
}
.avatar-initials{
  font-family:var(--serif);font-size:6rem;font-weight:700;
  color:var(--gold);opacity:0.18;line-height:1;
}
.avatar-hint{
  font-size:0.65rem;font-weight:600;letter-spacing:0.2em;
  text-transform:uppercase;color:var(--muted);
}
.avatar-badge{
  position:absolute;bottom:-1px;left:50%;transform:translateX(-50%);
  background:var(--card);border:1px solid var(--goldLine);border-radius:4px 4px 0 0;
  padding:0.4rem 1.2rem;display:flex;align-items:center;gap:6px;
  white-space:nowrap;
}
.avatar-badge-dot{width:6px;height:6px;border-radius:50%;background:#2ECC71;animation:blink 2s ease infinite;}
@keyframes blink{0%,100%{opacity:1}50%{opacity:0.4}}
.avatar-badge-text{font-size:0.68rem;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;color:var(--gold2);}

/* ── SECTION BASE ── */
.sec{position:relative;z-index:1;max-width:1340px;margin:0 auto;padding:7rem 5rem;}
.sec-divider{border:none;border-top:1px solid var(--goldLine);max-width:1340px;margin:0 auto;position:relative;z-index:1;}

.sec-head{margin-bottom:4rem;}
.sec-eyebrow{
  display:inline-flex;align-items:center;gap:0.7rem;
  font-size:0.65rem;font-weight:700;letter-spacing:0.28em;
  text-transform:uppercase;color:var(--gold);margin-bottom:0.7rem;
}
.sec-eyebrow::before{content:'';width:20px;height:1px;background:var(--gold);}
.sec-title{
  font-family:var(--serif);font-size:clamp(2rem,3.5vw,3rem);
  font-weight:700;color:var(--white);letter-spacing:-0.01em;line-height:1.1;
}
.sec-title em{font-style:italic;color:var(--gold);}

/* ── ABOUT BAND ── */
.about-band{
  position:relative;z-index:1;
  background:var(--surface);border-top:1px solid var(--goldLine);border-bottom:1px solid var(--goldLine);
  padding:3rem 5rem;
}
.about-inner{max-width:1340px;margin:0 auto;display:grid;grid-template-columns:1fr 2px 1fr 2px 1fr;gap:3rem;align-items:center;}
.about-divider{width:1px;height:60px;background:var(--goldLine);margin:0 auto;}
.about-item{text-align:center;}
.about-item-val{
  font-family:var(--serif);font-size:1.8rem;font-weight:700;
  color:var(--gold);display:block;line-height:1;
}
.about-item-label{font-size:0.68rem;font-weight:600;letter-spacing:0.18em;text-transform:uppercase;color:var(--muted);margin-top:6px;display:block;}
.about-item-sub{font-size:0.8rem;color:var(--text);opacity:0.5;margin-top:3px;}

/* ── SKILLS ── */
.skills-mosaic{
  display:grid;grid-template-columns:repeat(3,1fr);
  border:1px solid var(--goldLine);border-radius:8px;
  overflow:hidden;gap:1px;background:var(--goldLine);
}
.skill-tile{
  background:var(--card);padding:2.2rem 2rem;
  transition:background .2s var(--ease);position:relative;overflow:hidden;
}
.skill-tile::before{
  content:'';position:absolute;top:0;left:0;right:0;height:1px;
  background:linear-gradient(90deg,var(--gold),transparent);
  opacity:0;transition:opacity .2s;
}
.skill-tile:hover{background:var(--card2);}
.skill-tile:hover::before{opacity:1;}
.st-num{
  font-family:var(--serif);font-size:3.5rem;font-weight:700;
  color:var(--gold);opacity:0.08;line-height:1;
  position:absolute;top:1.2rem;right:1.5rem;
}
.st-icon{
  width:40px;height:40px;border-radius:6px;margin-bottom:1.2rem;
  background:var(--goldDim);border:1px solid var(--goldLine);
  display:flex;align-items:center;justify-content:center;
  font-size:1.1rem;position:relative;z-index:1;
}
.st-title{
  font-size:0.72rem;font-weight:700;letter-spacing:0.18em;
  text-transform:uppercase;color:var(--gold2);margin-bottom:1rem;
  position:relative;z-index:1;
}
.st-tags{display:flex;flex-wrap:wrap;gap:5px;position:relative;z-index:1;}
.stag{
  font-size:0.7rem;color:var(--muted);
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.07);
  border-radius:3px;padding:0.22rem 0.65rem;
  transition:all .2s;
}
.skill-tile:hover .stag{color:var(--text);border-color:rgba(201,168,76,0.18);}

/* ── MARQUEE STRIP ── */
.skill-marquee{
  position:relative;z-index:1;
  overflow:hidden;
  border-top:1px solid var(--goldLine);
  border-bottom:1px solid var(--goldLine);
  background:var(--surface);
  padding:0.9rem 0;
  margin:3rem 0;
}
.marquee-track{
  display:flex;gap:2rem;width:max-content;
  animation:marquee-scroll 28s linear infinite;
}
.skill-marquee:hover .marquee-track{animation-play-state:paused;}
.marquee-item{
  display:flex;align-items:center;gap:8px;
  font-size:0.7rem;font-weight:700;letter-spacing:0.14em;
  text-transform:uppercase;color:var(--muted);white-space:nowrap;
  padding:0 1rem;
}
.marquee-dot{width:4px;height:4px;border-radius:50%;background:var(--gold);opacity:0.5;}
@keyframes marquee-scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* ── EXPERIENCE ── */
.exp-list{}
.exp-row{
  display:grid;grid-template-columns:220px 1fr;
  gap:4rem;padding:3rem 0;
  border-bottom:1px solid var(--goldLine);
  position:relative;
}
.exp-row:first-child{padding-top:0;}
.exp-row:last-child{border-bottom:none;padding-bottom:0;}
.exp-row::before{
  content:'';position:absolute;left:219px;top:0;bottom:0;
  width:1px;background:var(--goldLine);
}
.exp-left{}
.exp-period{
  font-size:0.68rem;font-weight:700;letter-spacing:0.14em;
  text-transform:uppercase;color:var(--gold);margin-bottom:5px;
}
.exp-loc{font-size:0.75rem;color:var(--muted);margin-bottom:12px;}
.exp-current{
  display:inline-flex;align-items:center;gap:5px;
  font-size:0.62rem;font-weight:700;letter-spacing:0.15em;text-transform:uppercase;
  background:rgba(46,204,113,0.1);border:1px solid rgba(46,204,113,0.25);
  color:#2ECC71;padding:4px 10px;border-radius:3px;
}
.exp-dot{width:5px;height:5px;border-radius:50%;background:#2ECC71;animation:blink 2s ease infinite;}
.exp-right{}
.exp-role{
  font-family:var(--serif);font-size:1.6rem;font-weight:700;
  color:var(--white);line-height:1.15;margin-bottom:4px;
}
.exp-company{
  font-size:0.82rem;font-weight:600;color:var(--gold2);
  margin-bottom:1.2rem;letter-spacing:0.04em;
}
.exp-desc{
  font-size:0.875rem;color:var(--muted);line-height:1.95;
}
.exp-tech{display:flex;flex-wrap:wrap;gap:6px;margin-top:1.2rem;}
.etag{
  font-size:0.68rem;font-weight:600;letter-spacing:0.08em;
  background:var(--goldDim);border:1px solid var(--goldLine);
  color:var(--gold);padding:3px 10px;border-radius:3px;
}

/* ── PROJECTS ── */
.proj-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;}
.proj-card{
  background:var(--card);border:1px solid var(--goldLine);border-radius:8px;
  padding:2.2rem;display:flex;flex-direction:column;
  position:relative;overflow:hidden;
  transition:border-color .25s var(--ease),transform .25s var(--ease);
}
.proj-card::after{
  content:'';position:absolute;bottom:0;left:0;right:0;height:2px;
  background:linear-gradient(90deg,var(--gold),var(--gold2),transparent);
  transform:scaleX(0);transform-origin:left;transition:transform .3s var(--ease);
}
.proj-card:hover{border-color:rgba(201,168,76,0.4);transform:translateY(-6px);}
.proj-card:hover::after{transform:scaleX(1);}
.proj-glow{
  position:absolute;top:-40px;right:-40px;width:150px;height:150px;
  background:radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events:none;
}
.proj-num{
  font-family:var(--serif);font-size:4rem;font-weight:700;
  color:var(--gold);opacity:0.08;line-height:1;margin-bottom:1rem;
}
.proj-name{
  font-family:var(--serif);font-size:1.5rem;font-weight:700;
  color:var(--white);margin-bottom:3px;
}
.proj-company{font-size:0.7rem;font-weight:600;letter-spacing:0.1em;color:var(--gold);margin-bottom:1.4rem;}
.proj-stack{display:flex;flex-wrap:wrap;gap:5px;flex:1;margin-bottom:1.5rem;}
.proj-tag{
  font-size:0.68rem;font-weight:600;color:var(--gold2);
  background:rgba(201,168,76,0.07);border:1px solid rgba(201,168,76,0.15);
  padding:3px 9px;border-radius:3px;
}
.proj-meta{
  border-top:1px solid var(--goldLine);padding-top:1.2rem;
  display:grid;grid-template-columns:1fr 1fr;gap:1rem;
}
.pm-label{font-size:0.6rem;font-weight:700;letter-spacing:0.16em;text-transform:uppercase;color:var(--muted);}
.pm-val{font-size:0.82rem;font-weight:600;color:var(--text);margin-top:3px;}

/* ── EDUCATION ── */
.edu-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;}
.edu-card{
  background:var(--card);border:1px solid var(--goldLine);border-radius:8px;
  padding:2.5rem;position:relative;overflow:hidden;transition:border-color .2s;
}
.edu-card::before{
  content:'';position:absolute;top:0;left:0;bottom:0;width:2px;
  background:linear-gradient(to bottom,var(--gold),transparent);
}
.edu-card:hover{border-color:rgba(201,168,76,0.4);}
.edu-year{
  display:inline-block;font-size:0.65rem;font-weight:700;
  letter-spacing:0.18em;text-transform:uppercase;
  background:var(--goldDim);border:1px solid var(--goldLine);
  color:var(--gold);padding:4px 12px;border-radius:3px;margin-bottom:1.2rem;
}
.edu-degree{
  font-family:var(--serif);font-size:1.25rem;font-weight:700;
  color:var(--white);margin-bottom:6px;line-height:1.2;
}
.edu-uni{font-size:0.8rem;color:var(--muted);line-height:1.6;}
.edu-bg{
  position:absolute;bottom:-15px;right:10px;
  font-family:var(--serif);font-size:5rem;font-weight:700;font-style:italic;
  color:var(--gold);opacity:0.04;line-height:1;user-select:none;
}

/* ── CONTACT ── */
.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:6rem;align-items:start;}
.contact-left{}
.contact-intro{font-size:0.92rem;color:var(--muted);line-height:1.95;margin-bottom:2.5rem;}
.contact-quote{
  border-left:2px solid var(--gold);padding:1rem 1.5rem;
  background:var(--goldGlow);border-radius:0 4px 4px 0;margin-bottom:2rem;
}
.contact-quote p{font-family:var(--serif);font-style:italic;font-size:1.05rem;color:var(--text);opacity:0.7;line-height:1.7;}
.interests-row{display:flex;flex-wrap:wrap;gap:8px;}
.int-pill{
  display:flex;align-items:center;gap:7px;
  background:var(--card);border:1px solid var(--goldLine);
  border-radius:100px;padding:0.55rem 1.2rem;
  font-size:0.78rem;color:var(--muted);transition:all .2s;
}
.int-pill:hover{border-color:rgba(201,168,76,0.4);color:var(--gold2);}
.int-icon{font-size:0.9rem;}

.contact-right{}
.contact-items{display:flex;flex-direction:column;}
.contact-item{
  display:flex;align-items:center;gap:1.2rem;
  padding:1.3rem 0;border-bottom:1px solid var(--goldLine);
  text-decoration:none;color:var(--text);transition:color .2s;
}
.contact-item:first-child{border-top:1px solid var(--goldLine);}
.contact-item:hover{color:var(--gold2);}
.contact-item:hover .ci-ico{background:rgba(201,168,76,0.18);}
.ci-ico{
  width:42px;height:42px;flex-shrink:0;border-radius:6px;
  background:rgba(255,255,255,0.03);border:1px solid var(--goldLine);
  display:flex;align-items:center;justify-content:center;
  font-size:1rem;transition:background .2s;
}
.ci-label{font-size:0.6rem;font-weight:700;letter-spacing:0.18em;text-transform:uppercase;color:var(--muted);}
.ci-val{font-size:0.88rem;font-weight:500;margin-top:2px;}

/* ── FOOTER ── */
footer{
  position:relative;z-index:1;
  border-top:1px solid var(--goldLine);
  padding:2rem 5rem;
  display:flex;justify-content:space-between;align-items:center;
  max-width:none;
}
.foot-brand{display:flex;align-items:center;gap:10px;}
.foot-logo{font-family:var(--serif);font-size:1.1rem;font-weight:700;color:var(--gold);letter-spacing:0.04em;}
.foot-copy{font-size:0.72rem;color:var(--muted);}
.foot-links{display:flex;gap:2rem;}
.foot-links a{font-size:0.68rem;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;color:var(--muted);text-decoration:none;transition:color .2s;}
.foot-links a:hover{color:var(--gold);}

/* ── SCROLL REVEAL ── */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s var(--ease),transform .7s var(--ease);}
.reveal.vis{opacity:1;transform:none;}
.reveal-l{opacity:0;transform:translateX(-24px);transition:opacity .7s var(--ease),transform .7s var(--ease);}
.reveal-l.vis{opacity:1;transform:none;}
.reveal-r{opacity:0;transform:translateX(24px);transition:opacity .7s var(--ease),transform .7s var(--ease);}
.reveal-r.vis{opacity:1;transform:none;}
.d1{transition-delay:.05s!important;}
.d2{transition-delay:.12s!important;}
.d3{transition-delay:.19s!important;}
.d4{transition-delay:.26s!important;}
.d5{transition-delay:.33s!important;}
.d6{transition-delay:.40s!important;}

/* ── SCROLLBAR ── */
::-webkit-scrollbar{width:4px;}
::-webkit-scrollbar-track{background:var(--bg);}
::-webkit-scrollbar-thumb{background:rgba(201,168,76,0.3);border-radius:99px;}

/* ── SCROLL PROGRESS BAR ── */
#scroll-progress{
  position:fixed;top:0;left:0;height:2px;z-index:9999;
  background:linear-gradient(90deg,var(--gold),var(--gold2),var(--gold3));
  width:0%;transition:width .1s linear;
  box-shadow:0 0 8px rgba(201,168,76,0.6);
}

/* ── CUSTOM CURSOR ── */
.cursor-dot{
  width:6px;height:6px;background:var(--gold);border-radius:50%;
  position:fixed;pointer-events:none;z-index:9998;
  transform:translate(-50%,-50%);
}
.cursor-ring{
  width:32px;height:32px;border:1px solid rgba(201,168,76,0.5);border-radius:50%;
  position:fixed;pointer-events:none;z-index:9997;
  transform:translate(-50%,-50%);
  transition:left .1s ease,top .1s ease,width .2s,height .2s,border-color .2s;
}
.cursor-ring.hover{width:48px;height:48px;border-color:var(--gold);}
@media(pointer:coarse){.cursor-dot,.cursor-ring{display:none;}}

/* ── CANVAS PARTICLES ── */
#particles-canvas{position:fixed;inset:0;z-index:0;pointer-events:none;opacity:0.5;}

/* ── TYPING CURSOR ── */
.typing-cursor{
  display:inline-block;width:2px;height:0.85em;
  background:var(--gold);margin-left:3px;
  animation:blink-cursor .8s ease infinite;vertical-align:middle;
}
@keyframes blink-cursor{0%,100%{opacity:1}50%{opacity:0}}

/* ── SKILL PROGRESS BARS ── */
.skill-bar-wrap{margin-top:1.2rem;display:flex;flex-direction:column;gap:8px;}
.skill-bar-row{display:flex;flex-direction:column;gap:4px;}
.skill-bar-label{display:flex;justify-content:space-between;font-size:0.68rem;font-weight:600;color:var(--muted);letter-spacing:0.08em;}
.skill-bar-track{height:3px;background:rgba(255,255,255,0.05);border-radius:99px;overflow:hidden;}
.skill-bar-fill{height:100%;border-radius:99px;background:linear-gradient(90deg,var(--gold),var(--gold2));width:0%;transition:width 1.2s cubic-bezier(.4,0,.2,1);}

/* ── FLOATING TECH BADGE ── */
.hero-float-badge{
  position:absolute;
  background:var(--card);border:1px solid var(--goldLine);border-radius:8px;
  padding:0.6rem 1rem;display:flex;align-items:center;gap:8px;
  box-shadow:0 8px 32px rgba(0,0,0,0.4);
  white-space:nowrap;font-size:0.72rem;font-weight:600;color:var(--text);
}
.hero-float-badge .fb-dot{width:7px;height:7px;border-radius:50%;background:var(--gold);}
.hero-float-badge.fb-1{top:15%;left:-150px;animation:float-badge 4s ease-in-out infinite;}
.hero-float-badge.fb-2{bottom:25%;left:-140px;animation:float-badge 4s ease-in-out infinite;animation-delay:2s;}
@keyframes float-badge{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@media(max-width:1024px){.hero-float-badge{display:none;}}

/* ── SECTION WATERMARK ── */
.sec-num{
  position:absolute;right:0;top:-1rem;
  font-family:var(--serif);font-size:8rem;font-weight:700;font-style:italic;
  color:var(--gold);opacity:0.03;line-height:1;user-select:none;pointer-events:none;
}
.sec{position:relative;}

/* ── ACTIVE NAV ── */
.nav-links a.active{color:var(--gold2);}
.nav-links a.active::after{transform:scaleX(1);}

/* ── ENHANCED SKILL ICON HOVER ── */
.skill-tile:hover .st-icon{
  background:rgba(201,168,76,0.22);
  box-shadow:0 0 12px rgba(201,168,76,0.2);
}

/* ── TIMELINE DOT ── */
.exp-row::after{
  content:'';position:absolute;left:215px;top:3rem;
  width:9px;height:9px;border-radius:50%;
  background:var(--gold);border:2px solid var(--bg);
  box-shadow:0 0 0 3px var(--goldLine);
  transform:translateX(-50%);
}
@media(max-width:1024px){.exp-row::after{display:none;}}

/* ── CONTACT GLOW ── */
.contact-item:hover .ci-ico{
  box-shadow:0 0 16px rgba(201,168,76,0.2);
  border-color:rgba(201,168,76,0.5);
}

/* ── BACK TO TOP ── */
#back-top{
  position:fixed;bottom:2rem;right:2rem;z-index:400;
  width:42px;height:42px;border-radius:6px;
  background:var(--goldDim);border:1px solid var(--goldLine);
  display:flex;align-items:center;justify-content:center;
  color:var(--gold);font-size:1rem;cursor:pointer;
  opacity:0;transform:translateY(10px);
  transition:opacity .3s,transform .3s,background .2s;
  text-decoration:none;
}
#back-top.show{opacity:1;transform:translateY(0);}
#back-top:hover{background:rgba(201,168,76,0.22);}

/* ── NOISE OVERLAY ── */
.noise{
  position:fixed;inset:0;z-index:0;pointer-events:none;opacity:0.022;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:200px 200px;
}

/* ── HAMBURGER BUTTON ── */
.nav-hamburger{
  display:none;flex-direction:column;justify-content:center;gap:5px;
  width:36px;height:36px;background:transparent;border:none;cursor:pointer;
  padding:4px;
}
.nav-hamburger span{
  display:block;height:1.5px;background:var(--gold);border-radius:2px;
  transition:transform .3s var(--ease),opacity .3s var(--ease);
}
.nav-hamburger.open span:nth-child(1){transform:translateY(6.5px) rotate(45deg);}
.nav-hamburger.open span:nth-child(2){opacity:0;}
.nav-hamburger.open span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);}

/* Mobile drawer */
.mobile-menu{
  display:none;position:fixed;top:64px;left:0;right:0;z-index:499;
  background:rgba(8,14,28,0.97);backdrop-filter:blur(20px);
  border-bottom:1px solid var(--goldLine);
  flex-direction:column;padding:1.5rem 1.5rem 2rem;gap:0;
  transform:translateY(-10px);opacity:0;
  transition:transform .3s var(--ease),opacity .3s var(--ease);
  pointer-events:none;
}
.mobile-menu.open{transform:translateY(0);opacity:1;pointer-events:all;}
.mobile-menu a{
  color:var(--muted);text-decoration:none;font-size:0.78rem;
  font-weight:600;letter-spacing:0.18em;text-transform:uppercase;
  padding:1rem 0;border-bottom:1px solid var(--goldLine);
  transition:color .2s;
}
.mobile-menu a:last-child{border-bottom:none;}
.mobile-menu a:hover{color:var(--gold);}

/* ── RESPONSIVE: TABLET ── */
@media(max-width:1024px){
  nav{padding:0 2rem;}
  .hero,.sec{padding-left:2rem;padding-right:2rem;}
  .about-band{padding-left:2rem;padding-right:2rem;}
  footer{padding:1.5rem 2rem;}
  .hero{flex-direction:column-reverse;padding-top:7rem;gap:3rem;}
  .hero-right{display:flex;justify-content:center;}
  .avatar-outer{width:240px;height:290px;}
  .about-inner{grid-template-columns:1fr;gap:1.5rem;text-align:left;}
  .about-divider{display:none;}
  .skills-mosaic{grid-template-columns:repeat(2,1fr);}
  .proj-grid{grid-template-columns:repeat(2,1fr);}
  .edu-grid{grid-template-columns:1fr 1fr;}
  .contact-layout{grid-template-columns:1fr;gap:3rem;}
  .exp-row{grid-template-columns:180px 1fr;gap:2rem;}
  .exp-row::before{left:179px;}
  .hero-stats{width:100%;}
  .hstat{flex:1;}
  .nav-links{display:none;}
  .nav-hamburger{display:flex;}
  .mobile-menu{display:flex;}
}

/* ── RESPONSIVE: MOBILE ── */
@media(max-width:640px){
  nav{padding:0 1.2rem;}
  .hero{padding:5.5rem 1.2rem 3rem;gap:2.5rem;}
  .sec{padding:4rem 1.2rem;}
  .about-band{padding:2rem 1.2rem;}
  footer{padding:1.5rem 1.2rem;flex-direction:column;gap:1.2rem;text-align:center;}
  .foot-links{flex-wrap:wrap;justify-content:center;gap:1rem;}

  .hero-name{font-size:clamp(3rem,13vw,5rem);}
  .hero-desc{font-size:0.92rem;max-width:100%;}
  .hero-actions{flex-direction:column;gap:0.8rem;}
  .btn-primary,.btn-ghost{justify-content:center;width:100%;padding:0.9rem 1.5rem;}

  .hero-stats{flex-direction:column;width:100%;}
  .hstat{border-right:none !important;border-bottom:1px solid var(--goldLine);padding:0.9rem 1.5rem;}
  .hstat:last-child{border-bottom:none;}

  .avatar-outer{width:200px;height:240px;}
  .avatar-badge{font-size:0.6rem;padding:0.3rem 0.9rem;}

  .skills-mosaic{grid-template-columns:1fr;}
  .proj-grid{grid-template-columns:1fr;}
  .edu-grid{grid-template-columns:1fr;}

  .exp-row{grid-template-columns:1fr;gap:0.4rem;padding:2rem 0;}
  .exp-row::before{display:none;}
  .exp-role{font-size:1.3rem;}

  .sec-title{font-size:clamp(1.7rem,6vw,2.4rem);}
  .sec-head{margin-bottom:2.5rem;}

  .contact-layout{gap:2rem;}
  .contact-layout .sec-title{font-size:clamp(1.7rem,6vw,2.2rem);}
  .ci-val{font-size:0.8rem;word-break:break-all;}

  .about-inner{gap:1rem;}
  .about-item-val{font-size:1.5rem;}

  .skill-tile{padding:1.5rem 1.2rem;}
  .proj-card{padding:1.5rem;}
  .edu-card{padding:1.8rem 1.5rem;}
}