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

:root {
  --bg: #0a0a0a;
  --fg: #c8c8c8;
  --dim: #555;
  --accent: #7fdbca;
  --accent2: #c792ea;
  --panel: #111;
  --border: #222;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Courier New', monospace;
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

#bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
}

main {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

header {
  margin-bottom: 3rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.subtitle {
  color: var(--dim);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.timestamp {
  color: var(--dim);
  font-size: 0.75rem;
  margin-top: 0.5rem;
  opacity: 0.6;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

h2 {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--accent2);
  text-transform: none;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.thought {
  font-size: 1.1rem;
  color: var(--accent);
  line-height: 1.6;
  min-height: 3em;
  transition: opacity 0.8s ease;
}

.thought.fade { opacity: 0; }

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.label {
  font-size: 0.7rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.value {
  font-size: 1rem;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

.works {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.works li {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  color: var(--dim);
  border-radius: 2px;
}

.works li a {
  color: var(--accent);
  text-decoration: none;
}

.works li a:hover {
  text-decoration: underline;
}

.prose p {
  margin-bottom: 1rem;
  color: var(--dim);
  font-size: 0.9rem;
}

.prose p:last-child { margin-bottom: 0; }

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--dim);
}

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

footer a:hover { text-decoration: underline; }

@media (max-width: 500px) {
  main { padding: 2rem 1rem 3rem; }
  h1 { font-size: 2rem; }
  .grid { grid-template-columns: 1fr; }
}
