:root {
  --bg: #0d1117;
  --surface: #12161d;
  --border: #21262d;
  --text: #e6edf3;
  --muted: #8b949e;
  --frontend: #58a6ff;
  --backend: #3fb950;
  --ai: #bc8cff;
  --qa: #d29922;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-width: 680px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
}

/* hero reads like a JS module doc-comment introducing the person */
.hero {
  padding: 4.5rem 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.code-line {
  font-family: var(--mono);
  margin: 0;
  white-space: pre-wrap;
}

.code-line.comment {
  color: var(--muted);
  font-size: 0.95rem;
}

h1.code-line {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  margin: 0.6rem 0 1.25rem;
}

.kw { color: var(--ai); }
.str { color: var(--backend); }
.op { color: var(--muted); }

.cursor {
  display: inline-block;
  width: 0.55ch;
  height: 1.1em;
  margin-left: 0.15rem;
  background: var(--frontend);
  vertical-align: text-bottom;
  animation: blink 1.1s steps(1) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .cursor { animation: none; }
}

@keyframes blink {
  50% { opacity: 0; }
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.contact a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.contact a:hover,
.contact a:focus-visible {
  color: var(--frontend);
  border-bottom-color: var(--frontend);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

.label {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.summary {
  margin: 0;
  max-width: 56ch;
}

/* skill groups: colored dot encodes category, matching syntax-highlight roles */
.skill-group {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.skill-group:last-child {
  margin-bottom: 0;
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  flex: none;
}

.dot-frontend { background: var(--frontend); }
.dot-backend { background: var(--backend); }
.dot-ai { background: var(--ai); }
.dot-qa { background: var(--qa); }

.skill-cat {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  min-width: 6.5ch;
}

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
}

.tags li {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

/* experience as a connected node graph, echoing RAG/graph-db chains she builds */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.5rem;
  border-left: 2px solid var(--border);
}

.node {
  position: relative;
  padding-bottom: 1.75rem;
}

.node:last-child {
  padding-bottom: 0;
}

.node::before {
  content: "";
  position: absolute;
  left: -1.55rem;
  top: 0.35rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--muted);
}

.node-frontend::before { border-color: var(--frontend); }
.node-backend::before { border-color: var(--backend); }
.node-ai::before { border-color: var(--ai); }
.node-qa::before { border-color: var(--qa); }

.node h3 {
  font-size: 1rem;
  margin: 0 0 0.15rem;
}

.node h3 span {
  font-weight: 400;
  color: var(--muted);
}

.dates {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 0.4rem;
}

.node p:last-child {
  margin: 0;
  max-width: 60ch;
}

.dir-line {
  font-family: var(--mono);
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
}

.dir-line:last-child {
  margin-bottom: 0;
}

.dir-line::before {
  content: "> ";
  color: var(--muted);
}

.dir-line span {
  color: var(--muted);
}

footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}
