:root{
  --bg: #f7f8fb;
  --panel: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --border: rgba(17,24,39,.12);
  --shadow: 0 10px 30px rgba(17,24,39,.08);
  --accent: #2563eb;
  --max: 1080px;
}

*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1000px 650px at 10% 0%, rgba(37,99,235,.10), transparent 60%),
    radial-gradient(900px 620px at 85% 5%, rgba(22,163,74,.07), transparent 60%),
    var(--bg);
  line-height: 1.7;
}

a{ color: var(--accent); text-decoration: none; }
a:hover{ text-decoration: underline; }

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

.header{
  border-bottom: 1px solid var(--border);
  background: rgba(247,248,251,.78);
  backdrop-filter: blur(8px);
}

.hero{
  display:grid;
  grid-template-columns: 1.6fr .9fr;
  gap: 26px;
  align-items: center;
  padding: 34px 0 18px;
}

h1{ margin:0; font-size: 42px; letter-spacing: .2px; }
.subtitle{ margin: 10px 0 6px; color: var(--muted); font-size: 16px; }
.meta{ margin: 0; color: var(--muted); font-size: 14px; }

.cta{ display:flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

.btn{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  box-shadow: 0 6px 18px rgba(17,24,39,.06);
}
.btn:hover{ text-decoration:none; transform: translateY(-1px); }
.btn.primary{
  background: var(--accent);
  color: white;
  border-color: rgba(37,99,235,.6);
  box-shadow: 0 10px 22px rgba(37,99,235,.18);
}
.btn.primary:hover{ filter: brightness(1.02); }

.micro{
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items:center;
}
.tag{
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.7);
}
.sep{ opacity:.75; }
.muted{ color: var(--muted); }
.small{ font-size: 13px; }
.tight{ margin: 0; }
.note{ margin-top: 14px; color: var(--muted); font-size: 13px; }

.hero-right{ display:flex; justify-content: flex-end; }
.headshot{
  width: 230px;
  height: 230px;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

/* Tabs */
.tabs{
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.78);
}
.tabs-inner{
  display:flex;
  gap: 10px;
  padding: 10px 0;
  overflow-x: auto;
  white-space: nowrap;
}
.tab{
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.75);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--text);
}
.tab:hover{ background: rgba(37,99,235,.08); }
.tab.active{
  border-color: rgba(37,99,235,.35);
  background: rgba(37,99,235,.11);
  color: #0b1b4d;
}

/* Panels */
main{ padding: 26px 0 44px; }
.panel{ padding: 18px 0 0; }
.hidden{ display:none; }

h2{ margin: 0 0 12px; font-size: 24px; }
h3{ margin: 0 0 10px; font-size: 16px; }

.card{
  background: rgba(255,255,255,.9);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(17,24,39,.05);
  margin-top: 14px;
}

.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

ul{ margin: 10px 0 0 18px; }
li{ margin: 6px 0; }

.pills{
  list-style:none;
  padding:0;
  margin: 10px 0 0;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pills li{
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.75);
  color: var(--muted);
  font-size: 13px;
}

.pub{
  border-left: 3px solid rgba(37,99,235,.55);
  padding-left: 12px;
  margin-top: 12px;
}
.pub-title{ font-weight: 650; }
.pub-meta{ color: var(--muted); font-size: 13px; margin-top: 2px; }

.details{
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(255,255,255,.65);
}
.details summary{
  cursor:pointer;
  font-weight: 650;
}

.timeline{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction: column;
  gap: 12px;
}
.timeline li{
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,.78);
}
.tl-title{ font-weight: 650; }
.tl-meta{ color: var(--muted); font-size: 13px; margin-top: 4px; }

.footer{
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.78);
}
.footer-inner{
  display:flex;
  gap: 10px;
  padding: 14px 0;
  align-items: center;
}

@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
  .hero-right{ justify-content: flex-start; }
  .grid2{ grid-template-columns: 1fr; }
  h1{ font-size: 34px; }
  .headshot{ width: 210px; height: 210px; }
}
