:root{
  --orange:#FF5A36;
  --orange-dark:#E1461F;
  --dark:#181614;
  --dark-2:#221F1C;
  --dark-3:#332F2B;
  --text:#F5F1EC;
  --muted:#A79E95;
  --radius:14px;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--dark);
  color:var(--text);
  font-family:'Inter',sans-serif;
  line-height:1.7;
  overflow-x:hidden;
}
::selection{background:var(--orange);color:#fff;}
a{color:inherit;text-decoration:none;}
img,svg{display:block;}

h1,h2,h3{font-family:'Poppins',sans-serif;font-weight:700;letter-spacing:-0.01em;}

.wrap{max-width:1140px;margin:0 auto;padding:0 32px;}
section{padding:100px 0;}

.eyebrow{
  font-family:'Inter',sans-serif;font-size:0.85rem;font-weight:600;
  color:var(--orange);text-transform:uppercase;letter-spacing:0.12em;margin-bottom:14px;
}

/* ===== NAV ===== */
header{
  position:fixed;top:0;left:0;right:0;z-index:60;
  background:rgba(24,22,20,0.85);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--dark-3);
}
.nav-inner{
  max-width:1140px;margin:0 auto;padding:20px 32px;
  display:flex;align-items:center;justify-content:space-between;
}
.logo{font-size:1.15rem;font-weight:700;}
.logo span{color:var(--orange);}
.desk-nav{display:flex;gap:34px;font-size:0.92rem;font-weight:500;}
.desk-nav a{color:var(--muted);transition:color .2s;}
.desk-nav a:hover{color:var(--orange);}
.hamburger{
  display:none;background:none;border:none;cursor:pointer;flex-direction:column;gap:5px;padding:6px;color:var(--text);
}
.hamburger span{width:26px;height:2px;background:currentColor;border-radius:2px;}

.mobile-menu{
  position:fixed;inset:0;background:rgba(24,22,20,0.98);z-index:100;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;
  opacity:0;pointer-events:none;transition:opacity .3s;
}
.mobile-menu.open{opacity:1;pointer-events:auto;}
.mobile-menu a{font-size:1.4rem;font-weight:600;color:var(--text);}
.mobile-menu a:hover{color:var(--orange);}
.mobile-close{position:absolute;top:36px;right:36px;background:none;border:none;color:var(--text);font-size:2rem;cursor:pointer;}

/* ===== HERO ===== */
.hero{
  min-height:100vh;display:flex;align-items:center;padding-top:110px;position:relative;
}
.hero-grid{display:grid;grid-template-columns:1.05fr 0.95fr;gap:40px;align-items:center;width:100%;}
.hero-copy .hi{font-size:1.3rem;color:var(--muted);margin-bottom:6px;}
.hero-copy h1{font-size:2.7rem;margin-bottom:6px;line-height:1.15;}
.hero-copy h1 .name{color:var(--orange);}
.hero-copy .headline{font-size:1.7rem;color:var(--text);margin-bottom:22px;font-family:'Poppins',sans-serif;font-weight:600;}
.hero-copy p.desc{color:var(--muted);max-width:460px;margin-bottom:32px;}

.hero-cta{display:flex;gap:16px;flex-wrap:wrap;}
.btn{
  font-size:0.9rem;font-weight:600;padding:14px 28px;border-radius:999px;
  display:inline-flex;align-items:center;gap:8px;transition:all .2s;border:1.5px solid transparent;
}
.btn-solid{background:var(--orange);color:#fff;border-color:var(--orange);}
.btn-solid:hover{background:var(--orange-dark);border-color:var(--orange-dark);}
.btn-outline{border-color:var(--dark-3);color:var(--text);background:var(--dark-2);}
.btn-outline:hover{border-color:var(--orange);color:var(--orange);}

.hero-photo{position:relative;display:flex;align-items:center;justify-content:center;}
.deco-dashed{
  position:absolute;width:340px;height:340px;border-radius:50%;
  border:1.5px dashed var(--dark-3);
}
.deco-square{position:absolute;border-radius:6px;opacity:0.7;}
.deco-square.sq1{width:26px;height:26px;background:#3E6E6A;top:10%;left:4%;transform:rotate(18deg);}
.deco-square.sq2{width:18px;height:18px;background:var(--orange);bottom:14%;right:2%;transform:rotate(-12deg);}
.deco-square.sq3{width:14px;height:14px;background:#4A5A8A;top:6%;right:14%;transform:rotate(30deg);}

.photo-ring{
  position:relative;width:300px;height:300px;border-radius:50%;
  background:var(--orange);
  padding:10px;z-index:2;
}
.photo-circle{
  width:100%;height:100%;border-radius:50%;overflow:hidden;
  background:var(--dark-2);
  display:flex;align-items:center;justify-content:center;
}
.photo-circle svg{width:58%;height:58%;color:var(--dark-3);}

/* ===== SERVICES + ABOUT ===== */
.about-section{background:var(--dark-2);}
.about-grid{display:grid;grid-template-columns:0.85fr 1.15fr;gap:56px;align-items:flex-start;}
.service-list{display:flex;flex-direction:column;gap:26px;}
.service-item{display:flex;align-items:center;gap:16px;}
.service-icon{
  width:52px;height:52px;border-radius:12px;background:rgba(255,90,54,0.12);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.service-icon svg{width:24px;height:24px;color:var(--orange);}
.service-item h4{font-size:1.02rem;font-weight:600;}

.about-copy h2{font-size:2rem;margin-bottom:18px;}
.about-copy p{color:var(--muted);margin-bottom:16px;}
.qual-list{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 32px;}
.qual-tag{
  font-size:0.8rem;padding:9px 15px;border:1px solid var(--dark-3);border-radius:999px;color:var(--text);
  background:var(--dark);
}
.stats-row{display:flex;gap:44px;flex-wrap:wrap;}
.stat-item h3{font-size:2.1rem;color:var(--orange);margin-bottom:4px;}
.stat-item p{color:var(--muted);font-size:0.85rem;}

/* ===== ACADEMIC PROJECTS ===== */
.sec-head{max-width:640px;margin-bottom:50px;}
.sec-head h2{font-size:2.1rem;}
.sec-head p{color:var(--muted);margin-top:14px;}
.note-box{
  background:rgba(255,90,54,0.08);border:1px dashed var(--orange);border-radius:8px;
  padding:14px 18px;margin-bottom:36px;font-size:0.85rem;color:var(--orange);
}
.proj-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.proj-card{background:var(--dark-2);border:1px solid var(--dark-3);border-radius:var(--radius);overflow:hidden;transition:transform .25s, border-color .25s;}
.proj-card:hover{transform:translateY(-6px);border-color:var(--orange);}
.proj-top{height:120px;display:flex;align-items:center;justify-content:center;position:relative;}
.proj-icon{width:42px;height:42px;color:#fff;opacity:0.9;}
.proj-top.p1{background:linear-gradient(135deg,#40241a,#242220);}
.proj-top.p2{background:linear-gradient(135deg,#4a2c19,#242220);}
.proj-top.p3{background:linear-gradient(135deg,#3a2419,#242220);}
.proj-badge{
  position:absolute;top:12px;left:12px;font-size:0.68rem;font-weight:600;
  background:rgba(24,22,20,0.75);color:var(--orange);padding:5px 10px;border-radius:999px;
  border:1px solid rgba(255,90,54,0.4);
}
.proj-body{padding:22px 24px 26px;}
.proj-body h3{font-size:1.05rem;margin-bottom:8px;}
.proj-body p{color:var(--muted);font-size:0.9rem;margin-bottom:14px;}
.proj-tags{display:flex;flex-wrap:wrap;gap:7px;}
.proj-tags span{font-size:0.72rem;color:var(--orange);border:1px solid rgba(255,90,54,0.35);padding:4px 9px;border-radius:6px;}
.btn-sm{margin-top:16px;padding:10px 18px;font-size:0.82rem;}

/* ===== SKILLS ===== */
.skill-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;}
.skill-card{background:var(--dark-2);border:1px solid var(--dark-3);border-radius:var(--radius);padding:26px;}
.skill-card h3{font-size:1rem;color:var(--orange);margin-bottom:16px;}
.chip-row{display:flex;flex-wrap:wrap;gap:9px;}
.chip{font-size:0.85rem;padding:8px 14px;border-radius:8px;background:var(--dark);border:1px solid var(--dark-3);}

/* ===== TIMELINE (stage & formation) ===== */
.timeline{position:relative;padding-left:36px;}
.timeline::before{content:"";position:absolute;left:6px;top:6px;bottom:6px;width:1px;background:var(--dark-3);}
.tl-item{position:relative;padding-bottom:40px;}
.tl-item:last-child{padding-bottom:0;}
.tl-item::before{
  content:"";position:absolute;left:-36px;top:4px;width:12px;height:12px;border-radius:50%;
  background:var(--dark);border:2px solid var(--orange);
}
.tl-date{font-size:0.85rem;color:var(--orange);font-weight:600;margin-bottom:8px;display:block;}
.tl-item h3{font-size:1.1rem;margin-bottom:4px;}
.tl-org{color:var(--muted);font-size:0.9rem;margin-bottom:10px;display:block;}
.tl-item p, .tl-item ul{color:var(--muted);font-size:0.93rem;}
.tl-item ul{padding-left:18px;margin-top:6px;}
.tl-item ul li{margin-bottom:4px;}

.two-col-timeline{display:grid;grid-template-columns:1fr 1fr;gap:60px;}

/* ===== CONTACT ===== */
.contact-box{
  background:var(--dark-2);border:1px solid var(--dark-3);border-radius:var(--radius);
  padding:50px;display:grid;grid-template-columns:1fr 1fr;gap:44px;
}
.contact-info h2{font-size:1.9rem;margin-bottom:14px;}
.contact-info p{color:var(--muted);margin-bottom:26px;}
.contact-links a{
  font-size:0.95rem;display:flex;align-items:center;gap:12px;padding:14px 0;
  border-bottom:1px solid var(--dark-3);transition:color .2s;
}
.contact-links a:hover{color:var(--orange);}
.contact-icon{width:19px;height:19px;flex-shrink:0;color:var(--orange);}
.contact-facts{display:flex;flex-direction:column;justify-content:center;gap:16px;}
.fact{display:flex;align-items:center;gap:12px;font-size:0.92rem;color:var(--muted);}
.fact .dot{width:8px;height:8px;border-radius:50%;background:var(--orange);flex-shrink:0;}

footer{border-top:1px solid var(--dark-3);padding:32px 0;text-align:center;color:var(--muted);font-size:0.85rem;}

.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease, transform .7s ease;}
.reveal.in{opacity:1;transform:translateY(0);}

@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;text-align:center;}
  .hero-copy p.desc{margin-left:auto;margin-right:auto;}
  .hero-cta{justify-content:center;}
  .hero-photo{order:-1;margin-bottom:20px;}
  .deco-dashed{width:260px;height:260px;}
  .photo-ring{width:220px;height:220px;}
  .desk-nav{display:none;}
  .hamburger{display:flex;}
  .about-grid{grid-template-columns:1fr;}
  .stats-row{justify-content:center;}
  .proj-grid{grid-template-columns:1fr;}
  .skill-grid{grid-template-columns:1fr;}
  .two-col-timeline{grid-template-columns:1fr;gap:40px;}
  .contact-box{grid-template-columns:1fr;padding:32px;}
  .hero-copy h1{font-size:2.1rem;}
  .hero-copy .headline{font-size:1.35rem;}
  section{padding:70px 0;}
}