:root {
  --bg: #0a0a0a;
  --fg: #ededed;
  --muted: #8a8a8a;
  --faint: #5a5a5a;
  --hover: #1f1f1f;
  --line: #1a1a1a;
}

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

html { background: var(--bg); color-scheme: dark; }

body {
  font-family: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

::selection { background: var(--fg); color: var(--bg); }

a { color: inherit; text-decoration: none; }

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

/* Header */
.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.name { font-weight: 500; }
.top nav { color: var(--muted); }
.top nav a { transition: color .15s; }
.top nav a:hover { color: var(--fg); }
.dot { margin: 0 6px; color: var(--faint); }

/* Intro */
.intro {
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 52ch;
}

/* Signature clip */
.clip { margin-bottom: 48px; position: relative; }
.clip video,
.clip-fallback {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #111;
  object-fit: cover;
}
.clip-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px dashed #2a2a2a;
  color: var(--faint);
  font-size: 12px;
}
.clip.no-video video { display: none; }
.clip.no-video .clip-fallback { display: flex; }
.clip figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--faint);
}

/* Sections */
section { margin-bottom: 40px; }
h2 {
  font-size: 12px;
  font-weight: 400;
  color: var(--faint);
  margin-bottom: 8px;
}

/* Rows (Rauch-style) */
.rows { list-style: none; }
.rows a {
  display: flex;
  align-items: baseline;
  padding: 6px 0;
}
.yr {
  flex: 0 0 64px;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.t {
  flex: 1;
  min-width: 0;
  margin-left: -6px;
}
.t {
  padding: 2px 6px;
  border-radius: 8px;
  transition: background-color .15s;
}
.note { color: var(--muted); margin-left: 6px; }
.note::before { content: "— "; color: var(--faint); }
.ar {
  flex: 0 0 auto;
  margin-left: 12px;
  font-size: 12px;
  color: var(--faint);
  transition: color .15s, transform .15s;
}
.rows a:hover .t { background: var(--hover); }
.rows a:hover .ar { color: var(--fg); transform: translateX(2px); }

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--faint);
}
footer a:hover { color: var(--fg); }

@media (max-width: 480px) {
  .page { padding-top: 32px; }
  .yr { flex-basis: 56px; }
  .note { display: block; margin-left: 0; font-size: 12px; }
  .note::before { content: ""; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
