:root{
  --bg:#0b1020;
  --panel:#111a33;
  --panel2:#0f1730;
  --text:#e9ecf5;
  --muted:#b8c0da;
  --border: rgba(255,255,255,.10);
  --shadow: 0 12px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 20% 0%, rgba(130,110,255,.25), transparent 60%),
              radial-gradient(900px 600px at 90% 10%, rgba(45,212,191,.18), transparent 60%),
              var(--bg);
  color:var(--text);
  line-height:1.5;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.9}

.container{max-width:var(--max); margin:0 auto; padding:0 20px}

.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:20px; top:20px; width:auto; height:auto; padding:10px 12px;
  background:var(--panel); border:1px solid var(--border); border-radius:12px;
  z-index:9999;
}

.site-header{
  position:sticky; top:0; z-index:10;
  background: rgba(11,16,32,.65);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0}
.brand{display:flex; align-items:center; gap:12px}
.logo{
  width:42px; height:42px; display:grid; place-items:center;
  border-radius:14px;
  background: linear-gradient(135deg, rgba(130,110,255,.35), rgba(45,212,191,.22));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-weight:800;
}
.brand-name{font-weight:800}
.brand-headline{color:var(--muted); font-size:14px}

.nav{display:flex; gap:14px; flex-wrap:wrap}
.nav a{
  padding:8px 10px;
  border-radius:12px;
  color:var(--muted);
}
.nav a:hover{background: rgba(255,255,255,.06); color:var(--text)}

.hero{padding:56px 0 24px}
.hero-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:24px;
  align-items:stretch;
}
.hero-text h1{font-size:44px; line-height:1.1; margin:0 0 10px}
.muted{color:var(--muted)}
.small{font-size:13px}

.cta-row{display:flex; gap:12px; margin:18px 0 12px; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:11px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  font-weight:700;
}
.btn:hover{background: rgba(255,255,255,.12)}
.btn-ghost{
  background: transparent;
  box-shadow:none;
}

.socials{display:flex; gap:10px; flex-wrap:wrap; margin-top:8px}
.socials a{
  padding:8px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  color:var(--muted);
  background: rgba(255,255,255,.04);
}

.hero-card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
  gap:14px;
}
.headshot{
  width:100%;
  aspect-ratio: 4/3;
  object-fit:cover;
  border-radius: 16px;
  border:1px solid var(--border);
}
.headshot-fallback{
  width:100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  border:1px dashed var(--border);
  display:grid;
  place-items:center;
  gap:8px;
  color:var(--muted);
  background: rgba(255,255,255,.03);
  padding:12px;
  text-align:center;
}
.fallback-title{font-weight:800; color:var(--text)}

.facts{
  margin:0;
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
}
.facts div{
  display:flex; justify-content:space-between; gap:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
}
.facts dt{color:var(--muted)}
.facts dd{margin:0; font-weight:700}

.section{padding:46px 0}
.section.alt{background: rgba(255,255,255,.02); border-top:1px solid var(--border); border-bottom:1px solid var(--border)}
.section-head{display:flex; justify-content:space-between; align-items:baseline; gap:16px; flex-wrap:wrap; margin-bottom:18px}
.section-head h2{margin:0; font-size:28px}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.card{
  background: rgba(255,255,255,.04);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height: 180px;
}
.card-title{font-weight:800; font-size:18px}
.card-meta{color:var(--muted); font-size:13px}
.card-tags{display:flex; flex-wrap:wrap; gap:8px; margin-top:auto}
.tag{
  font-size:12px;
  padding:6px 8px;
  border-radius:999px;
  border:1px solid var(--border);
  color:var(--muted);
  background: rgba(255,255,255,.03);
}

.stack{display:flex; flex-direction:column; gap:12px}
.role{
  background: rgba(255,255,255,.04);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
}
.role-top{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap}
.role-title{font-weight:900}
.role-sub{color:var(--muted)}
.bullets{margin:10px 0 0 18px; color:var(--muted)}
.bullets li{margin:6px 0}

.pills{display:flex; flex-wrap:wrap; gap:10px}
.pill{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color:var(--muted);
}

.contact-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  padding:18px;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}
.contact-title{font-weight:900; font-size:18px}
.contact-actions{display:flex; gap:10px; flex-wrap:wrap}

.site-footer{padding:22px 0}
.footer-inner{display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap}
code{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}

@media (max-width: 900px){
  .hero-inner{grid-template-columns: 1fr}
  .grid{grid-template-columns: repeat(2, 1fr)}
  .hero-text h1{font-size:38px}
}
@media (max-width: 560px){
  .grid{grid-template-columns: 1fr}
  .hero-text h1{font-size:34px}
}
