:root{
  --bg:#000;
  --fg:#fafafa;
  --muted:#a1a1a1;
  --dim:#737373;
  --line:#1f1f1f;
  --accent:#fff;
  --max:1180px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--fg)}
body{
  font-family:'Geist','Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,system-ui,sans-serif;
  font-feature-settings:"ss01","cv11";
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  line-height:1.5;
  font-size:16px;
  letter-spacing:-0.005em;
}
a{
  color:var(--fg);
  text-decoration:underline;
  text-decoration-color:var(--fg);
  text-underline-offset:3px;
  text-decoration-thickness:1px;
  border-bottom:none;
  transition:opacity .15s ease;
}
a:hover{opacity:.7}

/* ---- NAVBAR ---- */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  max-width:var(--max);
  margin:0 auto;
  padding:20px 32px;
  background:rgba(0,0,0,.7);
  backdrop-filter:saturate(180%) blur(10px);
  -webkit-backdrop-filter:saturate(180%) blur(10px);
}
.nav .brand{
  font-weight:600;
  font-size:15px;
  letter-spacing:-0.01em;
  text-decoration:none;
}
.nav .links{
  display:flex;
  align-items:center;
  gap:28px;
}
.nav .links a{
  font-size:14px;
  color:var(--muted);
  text-decoration:none;
  transition:color .15s ease;
}
.nav .links a:hover{color:var(--fg);opacity:1}

/* ---- LAYOUT ---- */
.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:64px 32px 120px;
}

/* ---- HERO ---- */
.hero h1{
  font-weight:500;
  font-size:clamp(28px, 4.6vw, 54px);
  line-height:1.1;
  letter-spacing:-0.035em;
  margin:0 0 48px;
  max-width:18ch;
}
.hero h1 .name{color:var(--fg)}
.hero h1 sup{
  font-size:.45em;
  font-weight:400;
  color:var(--muted);
  margin-left:.05em;
  vertical-align:super;
  letter-spacing:0;
}

.footnotes{
  margin-top:64px;
  max-width:62ch;
  color:var(--muted);
  font-size:14px;
}
.footnotes p{
  margin:0 0 14px;
  line-height:1.55;
}
.footnotes .star{
  color:var(--fg);
  margin-right:6px;
  font-family:'Geist Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:13px;
}

/* ---- ABOUT BLOCK ---- */
.about{
  margin-top:72px;
  max-width:64ch;
  font-size:15px;
  line-height:1.7;
  color:var(--fg);
}
.about p{margin:0 0 18px}
.about p:first-child{
  font-weight:500;
  letter-spacing:-0.01em;
}

/* ---- TIMELINE (left-aligned: years | meta | body) ---- */
.timeline{
  margin-top:120px;
  display:flex;
  flex-direction:column;
  gap:0;
}
.entry{
  display:grid;
  grid-template-columns:72px 240px 1fr;
  gap:48px;
  padding:48px 0;
  border-top:1px solid var(--line);
  align-items:start;
}
.entry:last-child{border-bottom:1px solid var(--line)}

.entry .meta{display:block}

.entry .years{
  font-family:'Geist Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:12px;
  color:var(--dim);
  letter-spacing:0;
  white-space:nowrap;
  padding-top:6px;
  text-align:left;
}

.entry h2{
  font-size:18px;
  font-weight:600;
  letter-spacing:-0.015em;
  margin:0 0 16px;
  line-height:1.3;
  text-align:left;
}
.entry .role{
  margin:0 0 16px;
  color:var(--muted);
  font-size:14px;
  text-align:left;
}
.entry .aside{
  margin:0;
  color:var(--dim);
  font-size:13px;
  line-height:1.55;
  max-width:34ch;
  text-align:left;
}

.entry .body{
  font-size:15px;
  line-height:1.65;
  color:var(--fg);
  max-width:62ch;
}
.entry .body p{margin:0 0 16px}
.entry .body p:last-child{margin-bottom:0}
.entry .body ul{
  margin:0 0 16px;
  padding-left:20px;
}
.entry .body ul li{margin:0 0 8px}
.entry .body ul ul{margin-top:8px}
.entry .body em{color:var(--fg)}

.serif{
  font-family:'Instrument Serif',Georgia,serif;
  font-style:italic;
  font-weight:400;
  font-size:1.05em;
  letter-spacing:0;
}

/* ---- FOOTER ---- */
.foot{
  margin-top:96px;
  padding-top:32px;
  border-top:1px solid var(--line);
  color:var(--dim);
  font-size:13px;
  font-family:'Geist Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
}
.foot p{margin:0}

/* ---- RESPONSIVE ---- */
@media (max-width:900px){
  .nav{padding:16px 24px}
  .nav .links{gap:18px}
  .wrap{padding:40px 24px 80px}
  .hero h1{margin-bottom:32px}
  .footnotes{margin-top:48px}
  .about{margin-top:48px}
  .timeline{margin-top:72px}
  .entry{
    grid-template-columns:1fr;
    gap:14px;
    padding:32px 0;
  }
  .entry .years{padding-top:0}
  .entry .aside{max-width:none}
}

/* selection */
::selection{background:#fff;color:#000}
