:root{
  --bg: #0f172a;
  --card: #0b1220;
  --accent: #ff6a3d;
  --muted: #9aa4b2;
  --text: #e6eef8;
}
*{box-sizing:border-box}
html{min-height:100%;margin:0;background:#02111a}
body{min-height:100%;margin:0;background:transparent;color:var(--text);font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;isolation:isolate}
body::before{content:"";position:fixed;inset:0;z-index:-1;background:linear-gradient(180deg,#071029 0%,#071022 50%,#02111a 100%);pointer-events:none}
.container{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:24px;gap:18px}
.card{width:min(760px,94%);background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.04));border-radius:16px;padding:18px;display:flex;flex-direction:column;align-items:center;gap:12px;border:1px solid rgba(255,255,255,0.03)}
.avatar{width:clamp(80px,18vw,160px);height:clamp(80px,18vw,160px);border-radius:50%;object-fit:cover;border:3px solid rgba(255,255,255,0.06)}
.name{font-weight:700;font-size:clamp(18px,3.8vw,28px);letter-spacing:0.2px}
.role{font-size:clamp(13px,3vw,16px);color:var(--muted)}
.bio{font-size:clamp(12px,2.8vw,14px);color:var(--muted);text-align:center;max-width:48ch}
.links{display:flex;flex-direction:column;gap:8px;width:100%;align-items:center}
.socials{display:flex;gap:10px}
.button{background:transparent;border:1px solid rgba(255,255,255,0.06);color:var(--text);padding:8px 12px;border-radius:8px;text-decoration:none;font-size:13px}
.stack{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.chip{background:rgba(255,255,255,0.03);padding:6px 10px;border-radius:999px;font-size:12px;color:var(--muted)}
.footer{font-size:12px;color:var(--muted);margin-top:6px}
@media(min-width:800px){
  .container{justify-content:center}
  .card{flex-direction:row;align-items:center;gap:24px;padding:28px}
  .left{display:flex;flex-direction:column;align-items:center;gap:12px;width:220px}
  .right{flex:1;display:flex;flex-direction:column;align-items:flex-start}
  .links{align-items:flex-start;width:100%}
}
/* ensure no internal scrollbars on mobile: allow natural flow */
/* removed max-height and internal overflow to avoid inner scrollbars */

/* Projects card */
.projects-card{width:min(760px,94%);display:flex;flex-direction:column;gap:10px;padding:16px;margin-top:12px}
.projects-heading{width:min(760px,94%);font-size:16px;font-weight:700;margin:16px auto 8px}
.projects-list{display:flex;flex-direction:column;gap:10px;width:100%;list-style:none;padding:0;margin:0}
.project-item{background:rgba(255,255,255,0.02);padding:12px;border-radius:10px;border:1px solid rgba(255,255,255,0.03);display:flex;flex-direction:column;gap:6px}
.project-title{font-weight:700}
.project-desc{font-size:13px;color:var(--muted);margin:0}
.project-links{display:flex;gap:8px;margin-top:8px}

@media(min-width:800px){
  .projects-card{flex-direction:column;align-items:stretch}
  .projects-list{flex-direction:row;align-items:stretch;gap:12px}
  .project-item{flex:1}
}
