:root{
  --bg:#0a0b0d;
  --bg2:#0e1013;
  --card:#111317;
  --ink:#fdd835;
  --ink-2:#ffee58;
  --text:#f4f7ff;
  --muted:#9aa6b2;
  --line:#1b1e24;
  --radius:16px;
  --radius-sm:10px;
  --shadow:0 14px 40px rgba(0,0,0,.55);
}
*{box-sizing:border-box}
html,body{margin:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans";
  color:var(--text);
  background:
    radial-gradient(800px 500px at 85% -10%, rgba(253,216,53,.18), transparent 60%),
    radial-gradient(1200px 900px at -10% 30%, rgba(255,238,88,.08), transparent 65%),
    linear-gradient(180deg, var(--bg), var(--bg2) 40%);
  line-height:1.6;
}
a{color:var(--ink); text-decoration:none}
a:hover{color:var(--ink-2); text-decoration:underline}
.container{max-width:1080px; margin:0 auto; padding:24px}
header.site{
  position:sticky; top:0; z-index:20; 
  background:rgba(10,11,13,.65);
  backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid var(--line);
}
.nav{display:flex; align-items:center; justify-content:space-between; gap:16px}
.brand{display:flex; align-items:center; gap:12px; font-weight:800; letter-spacing:.4px}
.brand .sig{width:16px; height:16px; background:radial-gradient(circle at 40% 40%, var(--ink), var(--ink-2)); border-radius:999px; box-shadow:0 0 0 4px rgba(253,216,53,.18)}
.btn{
  display:inline-block; padding:10px 14px; border-radius:12px; font-weight:800;
  background:linear-gradient(135deg, var(--ink), var(--ink-2)); color:#0b0d12; box-shadow:var(--shadow);
}
.hero{display:grid; gap:22px; align-items:center; padding:46px 0 8px}
@media(min-width:900px){ .hero{grid-template-columns:auto 260px} }
.card{
  background:
    radial-gradient(600px 300px at 100% -30%, rgba(253,216,53,.08), transparent 60%),
    linear-gradient(180deg, #0e1013, #0b0d11);
  border:1px solid var(--line); border-radius:var(--radius); padding:24px; box-shadow:var(--shadow);
}
.muted{color:var(--muted)}
.chips{display:flex; flex-wrap:wrap; gap:10px; margin-top:10px}
.chip{background:#0b0d11; border:1px solid var(--line); padding:8px 12px; border-radius:999px}
.chip.badge{background:linear-gradient(135deg, rgba(253,216,53,.18), rgba(255,238,88,.16)); border-color:#2a2d34}
.avatar.avatar--native{
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: unset;
  display: block;
  margin: 0 auto;
  /* optional aesthetics */
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: transparent;
}
/* Only on narrow screens (phones/tablets), allow it to shrink to fit */
@media (max-width: 768px){
  .avatar.avatar--native{
    max-width: 100%;
    height: auto;
  }
}
.section{border:1px solid var(--line); border-radius:var(--radius); padding:22px; background:linear-gradient(180deg, #0c0e12, #0a0c10)}
section{scroll-margin-top:80px}
h1,h2{margin:0 0 10px 0}
h2{font-size:1.6rem}
.timeline{display:grid; gap:16px}
.item{padding:16px; border:1px solid var(--line); border-radius:12px; background:linear-gradient(180deg,#101318,#0d0f13)}
.item .top{display:flex; gap:12px; align-items:baseline; justify-content:space-between; flex-wrap:wrap}
.role{font-weight:800}
.where{color:var(--muted)}
.bullets{margin:8px 0 0 0; padding-left:18px}
.bullets li{margin:6px 0}
.skillgrid{display:grid; gap:12px}
@media(min-width:720px){ .skillgrid{grid-template-columns:repeat(2,1fr)} }
.skillcat{padding:14px; border:1px solid var(--line); border-radius:12px; background:#0e1116}
.skillcat h3{margin:0 0 8px 0; font-size:1.05rem}
footer{padding:40px 0; color:var(--muted); text-align:center}
.socials{display:flex; gap:12px; justify-content:center; margin-top:8px}
.socials a{display:inline-flex; align-items:center; gap:8px; padding:10px 12px; border:1px solid var(--line); border-radius:12px; background:#0d0f14}
.hr{border:none; height:1px; background:linear-gradient(90deg, transparent, rgba(253,216,53,.35), transparent); margin:22px 0}