@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  color-scheme: light;
  --paper: #f6f6f2;
  --ink: #282d28;
  --muted: #71766d;
  --line: #dedfd7;
  --accent: #526b37;
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  background: var(--paper);
  color: var(--ink);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: #dde6cc; }
.page { max-width: 536px; margin: 0 auto; padding: 0 24px; }
header { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; font-size: 11px; }
.identity { display: inline-flex; align-items: center; gap: 12px; }
.mark { width: 16px; height: 16px; fill: var(--accent); shape-rendering: crispEdges; }
.muted { color: var(--muted); }
.external { color: var(--muted); }
.external span[aria-hidden] { margin-left: 5px; }
.external:hover { color: var(--accent); }
.intro { padding: 32px 0 28px; }
h1 { font-size: 26px; line-height: 1.2; font-weight: 500; letter-spacing: -1px; margin: 0 0 8px; }
.cursor { color: var(--accent); }
.intro p { font-size: 11px; color: var(--muted); line-height: 1.7; margin: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 9px; border-bottom: 1px solid var(--ink); font-size: 10px; }
h2 { margin: 0; font-size: inherit; font-weight: 500; text-transform: uppercase; letter-spacing: 1.4px; }
.section-heading > span { color: var(--muted); font-size: 10px; }
.projects { list-style: none; padding: 0; margin: 0; }
.projects li { border-bottom: 1px solid var(--line); }
.projects a { display: grid; grid-template-columns: 28px 1fr 16px; gap: 8px; align-items: center; min-height: 40px; padding: 8px 0; transition: color 120ms, background 120ms; }
.number { font-size: 10px; color: var(--muted); }
.project-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.name { font-size: 12px; line-height: 1.6; }
.description { font-size: 10px; line-height: 1.6; color: var(--muted); }
.note { font-size: 9px; color: var(--muted); margin-left: 8px; }
.note::before { content: '['; }
.note::after { content: ']'; }
.arrow { font-size: 16px; color: var(--muted); text-align: right; }
.projects a:hover { color: var(--accent); background: #eeefe7; }
.projects a:hover .arrow { color: var(--accent); }
.about { padding: 24px 0 20px; border-bottom: 1px solid var(--line); }
.about h2 { font-size: 10px; }
.about p { margin: 10px 0 0; font-size: 11px; line-height: 1.8; color: var(--muted); }
footer { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 28px; font-size: 10px; color: var(--muted); }
.footer-note { display: inline-flex; align-items: center; gap: 9px; }
.pixel { width: 5px; height: 5px; background: var(--accent); }
footer a:hover { color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 480px) {
  .page { padding: 0 20px; }
  header { padding-top: 24px; }
  .intro { padding: 28px 0 24px; }
  .projects a { min-height: 44px; }
  .note { margin-left: 3px; font-size: 8px; }
}
@media (max-width: 340px) {
  .muted { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
