* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  background: #0f0f1a;
  color: #d4d4d8;
  line-height: 1.7;
  font-size: 17px;
}

a {
  color: #7dd3fc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
nav {
  position: sticky;
  top: 0;
  background: #0f0f1aee;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1e1e2e;
  padding: 12px 0;
  z-index: 10;
}

nav .container {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

nav a {
  color: #a1a1aa;
  font-size: 14px;
  letter-spacing: 0.02em;
}

nav a:hover {
  color: #e4e4e7;
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 80px 0 48px;
}

.hero h1 {
  font-size: 2.4rem;
  color: #fafafa;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero .tagline {
  font-size: 1.2rem;
  color: #a78bfa;
  margin-bottom: 16px;
  font-weight: 500;
}

.hero .intro {
  color: #a1a1aa;
  margin-bottom: 24px;
}

.hero .links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero .links a {
  color: #71717a;
  font-size: 14px;
}

.hero .links a:hover {
  color: #7dd3fc;
}

/* Sections */
section {
  padding: 56px 0;
  border-top: 1px solid #1e1e2e;
}

section h2 {
  font-size: 1.4rem;
  color: #fafafa;
  margin-bottom: 24px;
  font-weight: 600;
}

section p {
  margin-bottom: 16px;
}

section p:last-child {
  margin-bottom: 0;
}

/* Timeline */
.timeline {
  list-style: none;
}

.timeline li {
  position: relative;
  padding-left: 140px;
  padding-bottom: 36px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline .date {
  position: absolute;
  left: 0;
  top: 2px;
  width: 120px;
  font-size: 13px;
  color: #71717a;
  font-variant-numeric: tabular-nums;
}

.timeline .role {
  color: #fafafa;
  font-weight: 600;
  font-size: 1rem;
}

.timeline .company {
  color: #a78bfa;
  font-size: 0.95rem;
}

.timeline .description {
  color: #a1a1aa;
  font-size: 0.95rem;
  margin-top: 6px;
}

/* Current work */
.work-list {
  list-style: none;
}

.work-list li {
  padding: 8px 0;
  padding-left: 16px;
  position: relative;
  color: #a1a1aa;
}

.work-list li::before {
  content: "\203A";
  position: absolute;
  left: 0;
  color: #a78bfa;
  font-weight: 700;
}

/* Notes */
.note {
  background: #16162a;
  border-left: 3px solid #a78bfa;
  padding: 20px 24px;
  margin-bottom: 24px;
  border-radius: 0 6px 6px 0;
}

.note h3 {
  color: #fafafa;
  font-size: 1rem;
  margin-bottom: 10px;
}

.note p {
  color: #a1a1aa;
  font-size: 0.95rem;
}

/* Publications */
.publication {
  padding: 12px 0;
  border-bottom: 1px solid #1e1e2e;
}

.publication:last-child {
  border-bottom: none;
}

.publication .title {
  color: #e4e4e7;
  font-weight: 500;
}

.publication .venue {
  color: #71717a;
  font-size: 0.9rem;
}

/* Footer */
footer {
  padding: 48px 0;
  border-top: 1px solid #1e1e2e;
  color: #52525b;
  font-size: 14px;
}

footer .links {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

footer .interests {
  color: #3f3f46;
}

/* Mobile */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero .tagline {
    font-size: 1rem;
  }

  .timeline li {
    padding-left: 0;
    padding-bottom: 28px;
  }

  .timeline .date {
    position: static;
    width: auto;
    display: block;
    margin-bottom: 2px;
  }

  section {
    padding: 40px 0;
  }

  nav .container {
    gap: 16px;
  }
}
