
:root{
  --bg:#0b1220;
  --panel:rgba(255,255,255,.06);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.70);
  --border:rgba(255,255,255,.14);
  --accent:#7dd3fc;
  --accent2:#a78bfa;
  --shadow:0 18px 60px rgba(0,0,0,.35);
  --radius:18px;
  --max:1040px;
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 18% -10%, rgba(125,211,252,.25), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(167,139,250,.22), transparent 60%),
    linear-gradient(180deg, #070b14, var(--bg));
  min-height:100vh;
}
a{ color:var(--accent); text-decoration:none; }
a:hover{ text-decoration:underline; }
.wrap{ width:min(var(--max), calc(100% - 40px)); margin:20px auto; }

header{
  display:flex;
  gap:22px;
  align-items:center;
  justify-content:space-between;
  padding:22px;
  border:1px solid var(--border);
  background:linear-gradient(180deg, var(--panel), transparent);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.brand{ display:flex; gap:18px; align-items:center; min-width:0; }
.headshot{
  width:120px; height:130px;
  object-fit:cover;
  border-radius:18px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  flex:0 0 auto;
}
.title h1{ margin:0; font-size:clamp(22px, 3vw, 32px); letter-spacing:.2px; }
.title p{ margin:4px 0 0; color:var(--muted); }

/* Top nav */
.nav{ display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  background:rgba(255,255,255,.05);
  color:var(--muted);
  font-size:14px;
  white-space:nowrap;
}
.chip:hover{ background:rgba(255,255,255,.08); text-decoration:none; }
.chip.primary{
  color:rgba(255,255,255,.96);
  background:linear-gradient(180deg, rgba(125,211,252,.18), rgba(125,211,252,.08));
  border-color:rgba(125,211,252,.35);
}
.chip.primary:hover{ background:linear-gradient(180deg, rgba(125,211,252,.25), rgba(125,211,252,.12)); }

/* Cards / layout */
main{ margin-top:18px; display:grid; grid-template-columns:1.25fr .75fr; gap:18px; }
.card{
  padding:22px;
  border:1px solid var(--border);
  background:linear-gradient(180deg, var(--panel), rgba(255,255,255,.03));
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.card h2{ margin:0 0 10px; }
.card p{ margin:10px 0 0; color:var(--muted); }
.full{ grid-column:1 / -1; }

/* Bio */
.bio{ margin-top:18px; }
.bio p{ margin:12px 0 0; font-size:15px; line-height:1.65; color:var(--muted); max-width:90ch; }

/* Credentials */
.cred-list{ list-style:none; padding:0; margin:14px 0 0; display:grid; gap:10px; }
.cred-list li{ display:flex; flex-wrap:wrap; gap:10px; align-items:baseline; color:var(--muted); line-height:1.35; }
.cred-list strong{ color:rgba(255,255,255,.96); }
.verify{ padding:4px 10px; border:1px solid var(--border); border-radius:999px; background:rgba(255,255,255,.04); font-size:12px; text-decoration:none; }
.verify:hover{ background:rgba(255,255,255,.08); text-decoration:none; }

/* Sidebar */
.sidebar .label{ font-weight:600; color:rgba(255,255,255,.92); }

/* Contact */
.formwrap{ margin-top:12px; border:1px solid var(--border); border-radius:16px; overflow:hidden; background:rgba(255,255,255,.03); }
iframe{ display:block; width:100%; height:760px; border:0; }
.muted{ color:var(--muted); margin-top:12px; }

footer{ margin-top:18px; padding:10px 4px; font-size:12px; color:rgba(255,255,255,.55); }

/* Timeline Experience */
.timeline{ position:relative; margin-top:16px; padding-left:28px; }
.timeline:before{
  content:"";
  position:absolute;
  left:10px;
  top:0;
  bottom:0;
  width:2px;
  background:linear-gradient(180deg, rgba(125,211,252,.55), rgba(167,139,250,.40));
  border-radius:2px;
}
.tl-item{ position:relative; margin:0 0 16px; }
.tl-item:last-child{ margin-bottom:0; }
.tl-item:before{
  content:"";
  position:absolute;
  left:-23px;
  top:18px;
  width:12px;
  height:12px;
  border-radius:50%;
  background:rgba(11,18,32,1);
  border:2px solid rgba(125,211,252,.65);
  box-shadow:0 0 0 4px rgba(125,211,252,.10);
}
.tl-card{ border:1px solid var(--border); border-radius:16px; padding:16px; background:rgba(255,255,255,.03); }
.tl-card h3{ margin:0 0 4px; font-size:18px; }
.tl-meta{ color:var(--muted); font-size:14px; margin:0 0 10px; }
.tl-card ul{ margin:10px 0 0 18px; color:var(--muted); }
.tl-card li{ margin:6px 0; }

/* Skills grid */
.skill-grid{ display:grid; gap:14px; grid-template-columns:repeat(2, minmax(0, 1fr)); }
.skill-card{ border:1px solid var(--border); border-radius:16px; padding:16px; background:rgba(255,255,255,.03); }
.skill-card h3{ margin:0 0 8px; font-size:16px; }
.skill-card ul{ margin:0 0 0 18px; color:var(--muted); }
.skill-card li{ margin:6px 0; }

@media (max-width: 900px){
  main{ grid-template-columns:1fr; }
  header{ flex-direction:column; align-items:flex-start; }
  .nav{ justify-content:flex-start; }
  iframe{ height:900px; }
  .skill-grid{ grid-template-columns:1fr; }
}
