:root{
  --bg:#0b1020;
  --panel:#121a33;
  --text:#e7ecff;
  --muted:#b6c0e6;
  --border:rgba(231,236,255,.12);
  --accent:#7aa2ff;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:radial-gradient(1200px 600px at 20% 0%, #19224a 0%, var(--bg) 60%);
  color:var(--text);
  line-height:1.55;
}

a{color:var(--accent); text-decoration:none}
a:hover{text-decoration:underline}

.container{width:min(1000px,92vw); margin:0 auto}
.row{display:flex; align-items:center; justify-content:space-between; gap:14px}

.site-header{
  position:sticky; top:0;
  background:rgba(11,16,32,.75);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
  z-index:5;
}
.site-header .container{padding:14px 0}

.brand{
  font-weight:800;
  letter-spacing:.2px;
  color:var(--text);
}

.nav a{
  color:var(--muted);
  margin-left:14px;
}
.nav a.active{color:var(--text); font-weight:700}

.hero{padding:44px 0 10px}
.hero.tight{padding:28px 0 10px}
.kicker{margin:0 0 8px; color:var(--muted)}
.hero h1{margin:0 0 10px; font-size:clamp(28px,4vw,44px)}
.lead{margin:0 0 16px; color:var(--muted); max-width:70ch}
.accent{color:var(--accent)}

.cta-row{display:flex; flex-wrap:wrap; gap:10px; margin:14px 0 10px}
.btn{
  display:inline-block;
  padding:10px 14px;
  border:1px solid var(--border);
  border-radius:12px;
  background:rgba(18,26,51,.45);
  color:var(--text);
  text-decoration:none;
}
.btn.primary{border-color:rgba(122,162,255,.55)}
.btn:hover{text-decoration:none; transform:translateY(-1px); transition:120ms ease}

.meta{display:flex; flex-wrap:wrap; gap:12px; color:var(--muted); margin-top:10px}
.meta a{color:var(--text); text-decoration:underline}

.grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin:18px 0 24px;
}
.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}

.card{
  display:block;
  padding:16px;
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(18,26,51,.9), rgba(18,26,51,.55));
  border-radius:14px;
  color:var(--text);
}
.card:hover{
  border-color:rgba(122,162,255,.55);
  transform:translateY(-1px);
  transition:120ms ease;
  text-decoration:none;
}
.card h2{margin:0 0 6px}
.card p{margin:0 0 10px}

.panel{
  margin:14px 0 26px;
  padding:18px;
  border:1px solid var(--border);
  border-radius:14px;
  background:rgba(18,26,51,.45);
}

.bullets{margin:10px 0 0; padding-left:18px}
.bullets li{margin:6px 0}

.pill{
  display:inline-block;
  margin-top:10px;
  font-size:12px;
  color:var(--muted);
  padding:4px 8px;
  border:1px solid var(--border);
  border-radius:999px;
}

.chips{display:flex; flex-wrap:wrap; gap:8px; margin:10px 0 6px}
.chip{
  font-size:12px;
  color:var(--muted);
  padding:4px 8px;
  border:1px solid var(--border);
  border-radius:999px;
  background:rgba(231,236,255,.06);
}

.links a{margin-right:12px}

.site-footer{
  border-top:1px solid var(--border);
  padding:18px 0;
  color:var(--muted);
}
.small{font-size:13px}
.muted{color:var(--muted)}

/* Resume layout */
.resume .resume-header{
  display:flex; flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  padding:26px 0 10px;
  border-bottom:1px solid var(--border);
  margin-bottom:14px;
}
.resume .resume-links{
  display:flex; flex-wrap:wrap;
  gap:10px;
}
.role{margin-top:14px}
.role-h{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:12px;
}
.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

/* Responsive video embeds */
.video{
  margin-top:12px;
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  background:rgba(0,0,0,.25);
  aspect-ratio:16 / 9;
}
.video iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

/* Mobile */
@media (max-width: 820px){
  .grid{grid-template-columns:1fr}
  .grid.two{grid-template-columns:1fr}
  .two-col{grid-template-columns:1fr}
  .nav a{margin-left:10px}
}

/* Print-friendly resume */
@media print{
  body{background:#fff; color:#000}
  a{color:#000}
  .no-print{display:none !important}
  .panel,.card{background:#fff; border:1px solid #ddd}
}
