/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #fafafa;
    --text: #1a1a1a;
    --text-muted: #666;
    --accent: #0066cc;
    --border: #e0e0e0;
}

/* Base */
body {
    font-family: 'IBM Plex Mono', monospace;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 15px;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 24px;
}

/* Navigation */
nav {
    display: flex;
    gap: 24px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

nav a:hover,
nav a.active {
    color: var(--text);
}

/* Typography */
h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

h2:first-of-type {
    margin-top: 0;
}

/* Links */
a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

/* Lists */
ul {
    list-style: none;
    margin: 24px 0;
}

ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 12px;
}

ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

/* Nested lists */
ul ul {
    margin: 8px 0 8px 0;
}

ul ul li {
    font-size: 14px;
    color: var(--text-muted);
}

ul ul li::before {
    content: "◦";
}

ul ul li a {
    color: var(--text-muted);
}

ul ul li a:hover {
    color: var(--text);
}

/* Subtitle */
.subtitle {
    color: var(--text-muted);
    margin-bottom: 48px;
}

/* Footer */
footer {
    margin-top: 80px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

footer a {
    color: var(--text-muted);
}

/* ==================== */
/* Page-specific styles */
/* ==================== */

/* Home page */
.intro {
    margin-bottom: 48px;
}

.intro p {
    margin-bottom: 16px;
}

.socials {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.socials a {
    color: var(--text-muted);
    font-size: 14px;
}

.socials a:hover {
    color: var(--text);
}

.highlight {
    background: #fff3cd;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 13px;
}

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

.post-list li {
    padding: 0;
    margin-bottom: 24px;
}

.post-list li::before {
    display: none;
}

.post-list a {
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
}

.post-list a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-list .date {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 4px;
}

/* Blog post */
.post-meta {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 48px;
}

article {
    margin-bottom: 60px;
}

article h2 {
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 0;
    border-bottom: none;
}

article h3 {
    font-size: 17px;
    margin-top: 32px;
    margin-bottom: 12px;
}

article p {
    margin-bottom: 20px;
}

article ul,
article ol {
    margin: 20px 0;
    padding-left: 24px;
}

article li {
    margin-bottom: 8px;
}

article pre {
    background: #fff;
    border: 1px solid var(--border);
    padding: 16px;
    overflow-x: auto;
    margin: 20px 0;
    font-size: 14px;
}

article code {
    background: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 14px;
}

article pre code {
    background: none;
    padding: 0;
}

article blockquote {
    border-left: 3px solid var(--border);
    padding-left: 20px;
    margin: 20px 0;
    color: var(--text-muted);
}

article a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

article a:hover {
    color: var(--accent);
}

article img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

/* Services page */
.service-item {
    margin: 24px 0;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.service-title {
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 12px;
}

.service-title a {
    text-decoration: none;
}

.service-title a:hover {
    text-decoration: underline;
}

.service-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.cta {
    margin-top: 48px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    text-align: center;
}

.cta p {
    margin-bottom: 16px;
}

/* Contact page */
.contact-email {
    font-size: 18px;
    margin: 32px 0;
}

.contact-email a {
    font-weight: 500;
}

/* Media page */
.media-list {
    list-style: none;
    margin: 0;
}

.media-list li {
    margin-bottom: 16px;
    padding-left: 0;
}

.media-list li::before {
    display: none;
}

.media-list a {
    text-decoration: none;
}

.media-list a:hover {
    text-decoration: underline;
}

.media-list .source {
    font-size: 13px;
    color: var(--text-muted);
    margin-left: 8px;
}

.highlight-item {
    background: #fff;
    border: 1px solid var(--border);
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 4px;
}

.highlight-item .type {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.highlight-item .title {
    font-weight: 500;
}

.highlight-item .venue {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}
