:root { color-scheme: dark; --bg: #0d0a05; --fg: #ffb000; --dim: #b98200; --glow: rgba(255, 176, 0, .45); }
html { background: var(--bg); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; gap: 40px;
       box-sizing: border-box; padding: 32px 24px; color: var(--fg);
       font: 22px/1.4 VT323, ui-monospace, Menlo, monospace;
       text-shadow: 0 0 5px var(--glow); }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none;
              background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px); }
header, main, footer { width: 100%; max-width: 62rem; margin: 0 auto; }
main { flex: 1; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { background: var(--fg); color: var(--bg); text-shadow: none; }
small { color: var(--dim); font-size: 18px; }

.name { display: inline-block; font-size: 36px; line-height: 1.2; text-decoration: none; }
.name::before { content: "> "; color: var(--dim); }
.name::after { content: ""; display: inline-block; width: .55em; height: 1em; margin-left: .15em;
               vertical-align: -.12em; background: var(--fg); box-shadow: 0 0 5px var(--glow);
               animation: blink 1.1s steps(1) infinite; }
nav { display: flex; gap: 16px; margin-top: 4px; }
.job { margin-bottom: 20px; }
.job h3 { margin: 0; }
.job p { margin: 4px 0; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .name::after { animation: none; } }

h1, h2, h3 { font-weight: normal; line-height: 1.2; margin: 1.5em 0 .5em; }
h1 { font-size: 32px; margin-top: 0; }
h2 { font-size: 28px; }
h3 { font-size: 24px; }
.meta, time { color: var(--dim); }
.meta { margin-top: 0; }
blockquote { margin: 1em 0; padding-left: 1em; border-left: 2px solid var(--dim); }
img { max-width: 100%; height: auto; }

.posts { list-style: none; margin: 0; padding: 0; }
.posts li { display: flex; flex-wrap: wrap; gap: 0 16px; margin-bottom: 8px; }

code { font-family: inherit; }
:not(pre) > code { color: #ffe9b8; }
pre { overflow-x: auto; padding: 12px 16px; border: 1px solid var(--dim); font: inherit; line-height: 1.25; }
.token.comment { color: var(--dim); }
.token.string, .token.number, .token.boolean { color: #ffd479; }
.token.keyword, .token.function { color: #ffe9b8; }

/* Long reads: keep the phosphor frame, drop the effects that tire the eyes. */
body:has(article)::after { display: none; }
.prose { color: #efe2c8; text-shadow: none;
         font: 15px/1.7 "IBM Plex Mono", ui-monospace, Menlo, monospace; }
.prose h2, .prose h3 { color: var(--fg); font-family: VT323, ui-monospace, Menlo, monospace; text-shadow: 0 0 5px var(--glow); }
.prose a { color: var(--fg); }
.prose a:hover { color: var(--bg); }
.prose strong { font-weight: 600; color: #fff3dc; }
.prose li { margin-bottom: 4px; }
.prose pre { font-size: 14px; line-height: 1.6; border-color: #5c4300; background: #15100a; }
.prose .token { text-shadow: none; }
.prose .token.comment { color: #a08a5c; }
