:root {
    --bg: #f0ece5;
    --bg-soft: #e6dfd3;
    --ink: #0d0f1a;
    --accent: #e4572e;
    --accent-2: #1a7f64;
    --card: #fffaf0;
    --line: #1b1b1b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 0%, #fff9de 0%, transparent 35%),
        radial-gradient(circle at 100% 20%, #e1f7ef 0%, transparent 30%),
        linear-gradient(130deg, var(--bg) 0%, var(--bg-soft) 100%);
    min-height: 100vh;
}

.shell {
    max-width: 920px;
    margin: 0 auto;
    padding: 1.2rem 1rem 3rem;
    animation: rise 480ms ease-out;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.brand {
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.site-header nav {
    display: flex;
    gap: 1rem;
}

.site-header nav a {
    text-decoration: none;
    color: var(--ink);
    border-bottom: 2px solid transparent;
}

.site-header nav a:hover {
    border-color: var(--accent);
}

.hero {
    border: 2px solid var(--line);
    background: var(--card);
    padding: 1.2rem;
    box-shadow: 8px 8px 0 var(--line);
    margin-bottom: 1.4rem;
}

.kicker {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    padding: 0.2rem 0.45rem;
    border: 1px solid var(--line);
    background: #fff;
}

.hero h1 {
    margin: 0.6rem 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.panel {
    border: 2px solid var(--line);
    background: var(--card);
    padding: 1.2rem;
    box-shadow: 8px 8px 0 var(--line);
}

.post-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    border-top: 1px dashed var(--line);
    padding: 0.75rem 0;
}

.post-list li:first-child {
    border-top: 0;
}

.post-list a,
.post-card a,
.prose a {
    color: var(--accent-2);
    text-decoration-thickness: 2px;
}

.post-card {
    border-top: 1px dashed var(--line);
    padding: 0.75rem 0;
}

.post-card h2 {
    margin: 0 0 0.25rem;
}

.meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    color: #36454f;
}

.prose h1,
.prose h2,
.prose h3 {
    margin-top: 1.1em;
}

.prose pre,
.prose code {
    font-family: 'IBM Plex Mono', monospace;
}

.prose pre {
    overflow-x: auto;
    background: #0b1620;
    color: #e8f0f6;
    padding: 0.75rem;
}

@keyframes rise {
    from {
        transform: translateY(6px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 700px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-list li {
        flex-direction: column;
    }
}