:root {
  --bg:      #0a0c0f;
  --surface: #111418;
  --border:  #1e2228;
  --text:    #c8cad0;
  --muted:   #4a5060;
  --bright:  #f0f2f5;
  --dim:     #4a5060;
}

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

html {
  background: var(--bg);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.15s;
}
a:hover { border-color: var(--muted); }

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.nav-logo {
  font-size: 12px;
  color: var(--bright);
  border-bottom: none;
  letter-spacing: 0.02em;
}
.nav-logo:hover { color: var(--text); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 11px;
  color: var(--muted);
  border-bottom: none;
  letter-spacing: 0.04em;
}
.nav-links a:hover,
.nav-links a.active { color: var(--bright); }

/* MAIN */
.main { flex: 1; }

/* HOME */
.home { padding-bottom: 64px; }

.prompt {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}

.home-name {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--bright);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.cursor {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  background: var(--bright);
  margin-left: 3px;
  vertical-align: middle;
  animation: blink 1.1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.home-bio {
  font-size: 12px;
  color: var(--text);
  max-width: 580px;
  margin-bottom: 24px;
  line-height: 1.8;
}

.home-links {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.home-links a {
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.home-links a:hover { color: var(--text); border-color: var(--muted); }
.home-links .sep { color: var(--border); }

.home-meta {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-row {
  display: flex;
  gap: 16px;
  font-size: 10px;
}

.meta-row dt {
  color: var(--muted);
  min-width: 90px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meta-row dd {
  color: var(--text);
}

/* PAGE (single + custom pages) */
.page { padding-bottom: 64px; }

.page-header { margin-bottom: 32px; }

.page-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--bright);
  letter-spacing: -0.01em;
}

.page-content { font-size: 12px; line-height: 1.85; }
.page-content p { margin-bottom: 16px; }
.page-content h2 { font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 1.8px; color: var(--muted); border-bottom: 1px solid var(--border);
  padding-bottom: 6px; margin: 40px 0 20px; }
.page-content h3 { font-size: 12px; font-weight: 500; color: var(--bright); margin-bottom: 4px; }
.page-content ul { list-style: none; padding-left: 1.1rem; margin-bottom: 16px; }
.page-content ul li { position: relative; margin-bottom: 4px; }
.page-content ul li::before { content: '—'; position: absolute; left: -1.1rem; color: var(--dim); }
.page-content a { color: var(--text); }

/* SECTION LABEL */
.section-label {
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  margin: 40px 0 20px;
}

/* EXPERIENCE */
.exp-list { display: flex; flex-direction: column; gap: 32px; margin-bottom: 40px; }

.exp-item {}

.exp-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.exp-role {
  font-size: 12px;
  font-weight: 500;
  color: var(--bright);
}

.exp-period {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}

.exp-company {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
}

.exp-bullets {
  list-style: none;
  padding-left: 1.1rem;
  margin: 0;
  font-size: 12px;
}

.exp-bullets li {
  position: relative;
  margin-bottom: 4px;
  color: var(--text);
  line-height: 1.7;
}

.exp-bullets li::before {
  content: '—';
  position: absolute;
  left: -1.1rem;
  color: var(--dim);
}

/* VENTURES */
.venture-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }

.venture-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 12px;
}

.venture-left { display: flex; flex-direction: column; gap: 2px; }

.venture-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--bright);
}
.venture-name a { border-bottom: 1px solid var(--border); color: var(--bright); }
.venture-name a:hover { border-color: var(--muted); }

.venture-desc {
  font-size: 11px;
  color: var(--muted);
}

.venture-tag {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 2px 7px;
  border-radius: 99px;
  white-space: nowrap;
}

/* SKILLS */
.skills-table { display: flex; flex-direction: column; gap: 8px; margin-bottom: 40px; font-size: 11px; }

.skills-row { display: flex; gap: 16px; }

.skills-key {
  color: var(--muted);
  min-width: 80px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
}

.skills-val { color: var(--text); }

.skills-edu { font-size: 10px; color: var(--muted); }

/* POST LIST */
.post-list { list-style: none; display: flex; flex-direction: column; gap: 12px; padding: 0; }

.post-item { display: flex; gap: 20px; align-items: baseline; font-size: 12px; }

.post-date { color: var(--muted); font-size: 10px; white-space: nowrap; }

.post-link { color: var(--text); border-bottom: 1px solid var(--border); }
.post-link:hover { border-color: var(--muted); }

/* FOOTER */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 28px;
  border-top: 1px solid var(--border);
  margin-top: 48px;
  font-size: 10px;
  color: var(--muted);
}

.footer-copy { color: var(--muted); }

.footer-links {
  display: flex;
  gap: 16px;
}
.footer-links a {
  color: var(--muted);
  border-bottom: none;
}
.footer-links a:hover { color: var(--text); }

/* MOBILE */
@media (max-width: 560px) {
  body { padding: 0 16px; }

  .nav { margin-bottom: 32px; }

  .exp-top { flex-direction: column; gap: 2px; }

  .venture-item { flex-direction: column; gap: 4px; }
  .venture-tag { align-self: flex-start; }

  .home-links { flex-direction: column; align-items: flex-start; }
  .home-links .sep { display: none; }
}
