:root {
  --bg: #07111f;
  --panel: rgba(10, 22, 40, 0.72);
  --panel-2: rgba(15, 31, 56, 0.9);
  --border: rgba(138, 180, 248, 0.18);
  --text: #eaf2ff;
  --muted: #a8b6d3;
  --accent: #66b3ff;
  --accent-2: #8a6cff;
  --success: #79f2c0;
  --shadow: 0 20px 60px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top, #0d203b 0%, #07111f 45%, #040913 100%);
  color: var(--text);
}
.bg {
  position: fixed; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(102,179,255,.18), transparent 25%),
              radial-gradient(circle at 85% 10%, rgba(138,108,255,.18), transparent 20%),
              radial-gradient(circle at 50% 80%, rgba(121,242,192,.12), transparent 18%);
  pointer-events: none;
}
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px;
  padding: 18px 24px; backdrop-filter: blur(14px);
  background: rgba(4, 9, 19, .45); border-bottom: 1px solid rgba(255,255,255,.06);
}
.brand {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  font-weight: 800; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white;
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
nav a:hover { color: white; }
main { width: min(1120px, calc(100% - 32px)); margin: 32px auto 80px; display: grid; gap: 24px; }
.card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border);
  border-radius: 28px; padding: 28px; box-shadow: var(--shadow);
}
.hero {
  display: grid; grid-template-columns: 1.4fr .8fr; gap: 24px; min-height: 420px; align-items: stretch;
}
.eyebrow { color: var(--success); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; font-weight: 700; }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: .95; margin: 10px 0 18px; }
h2 { margin-top: 0; font-size: clamp(26px, 3vw, 38px); }
h3 { margin: 0 0 8px; font-size: 1.2rem; }
.lead { font-size: 20px; line-height: 1.6; color: var(--muted); max-width: 720px; }
.quickfacts, .bullets { margin: 20px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.8; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 13px 18px;
  border-radius: 14px; text-decoration: none; font-weight: 700; border: 1px solid transparent;
}
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white; }
.btn.ghost { border-color: var(--border); color: var(--text); background: rgba(255,255,255,.03); }
.hero-panel { display: grid; gap: 16px; }
.metric {
  padding: 22px; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; justify-content: space-between;
}
.metric span { color: var(--muted); font-size: 14px; }
.metric strong { font-size: 24px; margin-top: 6px; }
.grid.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.section-stack { display: grid; gap: 24px; }
.section-head p, .note, .contact p, .card p, .meta, .project-role { color: var(--muted); line-height: 1.7; }
.tag-grid {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px;
}
.tag, .pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  color: var(--text); font-size: 14px; font-weight: 600;
}
.timeline { display: grid; gap: 18px; }
.timeline-item {
  display: grid; grid-template-columns: 18px 1fr; gap: 16px; align-items: start;
}
.timeline-dot {
  width: 12px; height: 12px; border-radius: 999px; margin-top: 8px;
  background: linear-gradient(135deg, var(--success), var(--accent)); box-shadow: 0 0 0 6px rgba(121,242,192,.08);
}
.project-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
}
.project-card, .book-item {
  border-radius: 20px; padding: 20px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07);
}
.project-top {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px;
}
.book-list { display: grid; gap: 14px; margin-top: 12px; }
.contact { text-align: center; padding: 44px 28px; }
@media (max-width: 860px) {
  .hero, .grid.two-col, .project-grid { grid-template-columns: 1fr; }
  .topbar { padding: 16px; }
  main { width: min(1120px, calc(100% - 20px)); }
}
