:root {
    --bg: #000000;
    --fg: #ffffff;
    --muted: #9ca3af;
    --line: rgba(255,255,255,0.12);
    --accent: #a855f7;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: 'Cascadia Code', 'Fira Code', 'JetBrains Mono', monospace;
    -webkit-font-smoothing: antialiased;
}

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

.wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
}

header.site {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
}

header.site .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
}

.brand {
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 15px;
    text-transform: uppercase;
}

.brand .dot { color: var(--accent); }

nav.tags {
    display: flex;
    gap: 18px;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

nav.tags a.active { color: var(--fg); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }

main { padding: 48px 0 80px; }

.eyebrow {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}

.feed-item {
    border-bottom: 1px solid var(--line);
    padding: 28px 0;
    transition: opacity 0.2s ease;
}

.feed-item:hover { opacity: 0.9; }

.feed-item:first-of-type { padding-top: 0; }

.feed-item h2 {
    font-size: 20px;
    line-height: 1.35;
    margin: 8px 0 10px;
    font-family: 'Cascadia Code', 'Fira Code', monospace;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.feed-item .meta {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.feed-item p.dek {
    color: #bdbdbd;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.pill {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--line);
    padding: 3px 10px;
    border-radius: 2px;
    color: var(--muted);
    margin-right: 8px;
}

article.post h1 {
    font-size: 30px;
    line-height: 1.25;
    margin: 14px 0 18px;
    font-family: 'Cascadia Code', 'Fira Code', monospace;
    font-weight: 800;
    letter-spacing: -0.02em;
}

article.post .byline {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--line);
    padding-bottom: 22px;
    margin-bottom: 30px;
}

article.post p {
    font-size: 15.5px;
    line-height: 1.75;
    color: #dcdcdc;
    margin: 0 0 20px;
}

article.post h2 {
    font-size: 18px;
    margin: 36px 0 14px;
    font-family: 'Cascadia Code', 'Fira Code', monospace;
}

article.post .backlink {
    display: inline-block;
    margin-bottom: 22px;
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--line);
    padding: 6px 12px;
}

article.post .backlink:hover { border-color: var(--accent); }

footer.site {
    border-top: 1px solid var(--line);
    padding: 26px 0 50px;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

footer.site a:hover { color: var(--accent); }
