:root{
  --bg:#f6f7f8;
  --white:#ffffff;
  --text:#111111;
  --muted:#4b5563;
  --border:#e5e7eb;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --accent:#111111;
  --accent2:#2563eb;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
}

/* Container */
.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 20px;
}

/* Nav */
.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.nav-inner{
  height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  text-decoration:none;
  font-weight:800;
  letter-spacing:1px;
  color:var(--text);
}
.links{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  justify-content:center;
}
.links a{
  text-decoration:none;
  color:var(--muted);
  font-weight:600;
  font-size:14px;
}
.links a:hover{ color:var(--text); }
.nav-cta{ display:flex; gap:10px; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background:var(--white);
  color:var(--text);
  text-decoration:none;
  font-weight:700;
  font-size:14px;
}
.btn:hover{ transform: translateY(-1px); }
.btn.primary{
  background:var(--accent2);
  border-color:var(--accent2);
  color:#fff;
}
.btn.ghost{
  background:transparent;
}
.btn.small{
  padding:8px 12px;
  border-radius:10px;
  font-size:13px;
}

/* =========================
   HERO (KEEP ONLY ONE VERSION)
   ========================= */
.hero{
  position: relative;
  height: 95vh;
  min-height:560px;
  background-image: url("assets/nyc.jpg");
  background-size: cover;
  background-position: center top;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-inner{
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
  padding-left: 8%;
  color: white;
}

.hero-photo{
  width: 170px;
  height: 170px;
  border-radius: 18px;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}

.hero-text h1{
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 14px;
}

.hero-desc{
  font-size: 18px;
  max-width: 760px;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
  margin: 0 0 22px;
}

/* HERO SOCIAL ICONS (FIXED FOR COLORED PNGs) */
.hero-socials{
  display:flex;
  gap:16px;
  margin-top:18px;
  align-items:center;
}

.hero-socials .icon-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.hero-socials .icon{
  width:28px;
  height:28px;
  object-fit:contain;
  filter: none !important;  /* ✅ IMPORTANT: keeps your PNG colors */
  transition: transform .2s ease, opacity .2s ease;
}

.hero-socials .icon-link:hover .icon{
  transform: translateY(-3px);
  opacity: 0.85;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-inner{
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
    justify-content: center;
  }

  .hero-photo{
    width: 140px;
    height: 140px;
  }

  .hero-text h1{
    font-size: 30px;
  }

  .hero-desc{
    font-size: 16px;
  }
}

/* Main */
.main{ padding: 30px 0 60px; }
.section{ padding: 55px 0; }

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}
.section-head h2{
  margin:0;
  font-size:26px;
}
.muted{ color:var(--muted); }

.card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.facts{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
}
.fact{
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
  background:#fafafa;
}
.fact .k{
  font-weight:800;
  font-size:12px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.5px;
}
.fact .v{ margin-top:6px; font-weight:700; }

/* Projects */
.grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:16px;
}
.project{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:18px;
  overflow:hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  transition: transform .2s ease;
}
.project:hover{ transform: translateY(-2px); }
.project img{
  width:100%;
  height:180px;
  object-fit:cover;
  display:block;
}
.p-body{ padding:16px; }
.p-body h3{ margin:0; font-size:18px; }
.p-body p{ margin:10px 0 0; color:var(--muted); line-height:1.6; }

.tags{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.tags span{
  font-size:12px;
  font-weight:700;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fafafa;
}

.p-links{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.hint{ margin-top:12px; }

/* Experience */
.stack{ display:grid; gap:14px; }
.role{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px;
}
.role-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  align-items:baseline;
}
.role h3{ margin:0; }
.role ul{
  margin:12px 0 0 18px;
  color:var(--muted);
  line-height:1.7;
}

/* Skills */
.pillgrid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap:14px;
}
.pillcard{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:18px;
  padding:16px;
}
.pillcard h4{ margin:0 0 10px; }
.pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.pills span{
  font-size:13px;
  font-weight:700;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fafafa;
}

/* Lists */
.simple{ margin:0; padding-left:18px; color:var(--muted); line-height:1.8; }

/* Contact */
.contact{ display:flex; gap:10px; flex-wrap:wrap; }

/* Footer */
.footer{
  padding-top:30px;
  border-top:1px solid var(--border);
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

/* Responsive */
@media (max-width: 860px){
  .links{ display:none; }
  .facts{ grid-template-columns: 1fr; }
  .hero{ min-height:640px; }
}
/* Experience: badges + impact highlights */
.role-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 12px;
}

.badge {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(0,0,0,0.03);
  color: rgba(0,0,0,0.75);
  line-height: 1;
}

.role-impact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.impact {
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(0,0,0,0.02);
  border-radius: 14px;
  padding: 10px 12px;
}

.impact-k {
  font-weight: 800;
  font-size: 16px;
  line-height: 1.1;
}

.impact-v {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(0,0,0,0.65);
}

/* Mobile friendly */
@media (max-width: 700px) {
  .role-impact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
