* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    background: #0a0a0a;
    color: #d0d0d0;
    min-height: 100vh;
    line-height: 1.7;
    font-size: 15px;
}

a {
    color: #c33;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #e55;
}

.site-header {
    padding: 2rem 0 1rem;
    text-align: center;
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 2rem;
}

.site-header .glyph {
    font-size: 2.5rem;
    opacity: 0.8;
    display: block;
    margin-bottom: 0.5rem;
}

.site-header h1 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: lowercase;
}

.site-header h1 .dot {
    color: #c33;
}

.site-header .tagline {
    font-size: 0.75rem;
    color: #555;
    letter-spacing: 0.15em;
    margin-top: 0.3rem;
}

nav {
    text-align: center;
    margin-bottom: 2rem;
}

nav a {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #555;
    margin: 0 1rem;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid #222;
    transition: color 0.3s, border-color 0.3s;
}

nav a:hover {
    color: #c33;
    border-color: #c33;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

/* Post list */
.post-list {
    list-style: none;
}

.post-list li {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #151515;
}

.post-list li:last-child {
    border-bottom: none;
}

.post-list .post-date {
    font-size: 0.7rem;
    color: #444;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.3rem;
}

.post-list h2 {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.post-list h2 a {
    color: #e0e0e0;
}

.post-list h2 a:hover {
    color: #c33;
}

.post-list .summary {
    font-size: 0.85rem;
    color: #777;
}

/* Single post */
.post-header {
    margin-bottom: 2rem;
}

.post-header h1 {
    font-size: 1.4rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.3rem;
}

.post-header .post-date {
    font-size: 0.7rem;
    color: #444;
    letter-spacing: 0.1em;
}

.post-content {
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 1.2rem;
}

.post-content h2 {
    font-size: 1.1rem;
    font-weight: 400;
    color: #fff;
    margin: 2rem 0 0.8rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid #1a1a1a;
}

.post-content h3 {
    font-size: 0.95rem;
    font-weight: 400;
    color: #ccc;
    margin: 1.5rem 0 0.5rem;
}

.post-content ul, .post-content ol {
    margin: 0 0 1.2rem 1.5rem;
}

.post-content li {
    margin-bottom: 0.3rem;
}

.post-content code {
    background: #151515;
    padding: 0.15rem 0.4rem;
    font-size: 0.85em;
    color: #c33;
}

.post-content pre {
    background: #111;
    padding: 1rem;
    margin-bottom: 1.2rem;
    overflow-x: auto;
    border-left: 2px solid #c33;
}

.post-content pre code {
    background: none;
    padding: 0;
    color: #d0d0d0;
}

.post-content blockquote {
    border-left: 2px solid #333;
    padding-left: 1rem;
    color: #888;
    margin-bottom: 1.2rem;
    font-style: italic;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

/* Affiliate / gear section */
.gear-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.gear-item {
    border: 1px solid #1a1a1a;
    padding: 1rem;
    transition: border-color 0.3s;
}

.gear-item:hover {
    border-color: #333;
}

.gear-item h3 {
    font-size: 0.85rem;
    font-weight: 400;
    color: #e0e0e0;
    margin-bottom: 0.3rem;
}

.gear-item p {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.gear-item a {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #1a1a1a;
    font-size: 0.65rem;
    color: #333;
    letter-spacing: 0.1em;
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
}

.pagination a {
    margin: 0 0.5rem;
}

/* Tags */
.tags {
    margin-top: 0.3rem;
}

.tags a {
    font-size: 0.65rem;
    color: #444;
    letter-spacing: 0.1em;
    margin-right: 0.8rem;
    text-transform: uppercase;
}

.tags a:hover {
    color: #c33;
}
