:root {
    --bg: #1a1410;
    --bg-card: #231e18;
    --bg-input: #2a2319;
    --bg-hover: #332b1f;
    --text: #d4c5a9;
    --text-muted: #a89878;
    --text-dim: #8a7a5a;
    --accent: #c9a84c;
    --accent-hover: #dbb85c;
    --accent-glow: #e8d08a;
    --link: #d4a855;
    --border: #3a3028;
    --border-glow: #7a6530;
    --green: #6b8f4a;
    --purple: #8b6fb0;
    --energy: #c9a84c;
    --sigil: #e8d08a;
    --font-body: 'Crimson Pro', Georgia, serif;
    --font-head: 'Cinzel', 'Palatino Linotype', serif;
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
}

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

/* Header */
.site-header {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.site-title {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sigil);
    text-decoration: none;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(201,168,76,0.4);
}

.site-subtitle {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-top: 0.3rem;
    font-family: var(--font-head);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.main-nav {
    margin-top: 1rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-family: var(--font-head);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.2s;
}

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

/* Hero */
.hero {
    padding: 4rem 0 3rem;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-head);
    font-size: 2.8rem;
    color: var(--sigil);
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(201,168,76,0.4), 0 0 80px rgba(201,168,76,0.15);
    letter-spacing: 0.03em;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text);
    max-width: 600px;
    margin: 0 auto 1rem;
}

.hero-cta {
    color: var(--accent-glow);
    font-style: italic;
}

/* Pillar Cards */
.pillars-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 4px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.pillar-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 0 20px rgba(201,168,76,0.12);
}

.pillar-card h2 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pillar-card p {
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.pillar-card a {
    color: var(--link);
    text-decoration: none;
    font-family: var(--font-head);
    font-size: 0.85rem;
}

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

/* Articles */
.article-list { padding: 2rem 0; }

.article-list h1 {
    font-family: var(--font-head);
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

.article-preview {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.article-preview h2, .article-preview h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.article-preview h2 a, .article-preview h3 a {
    color: var(--text);
    text-decoration: none;
}

.article-preview h2 a:hover, .article-preview h3 a:hover { color: var(--accent); }

.article-preview time {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-family: var(--font-head);
}

.article-preview p {
    margin-top: 0.5rem;
    color: var(--text-dim);
}

/* Single Article */
.article-full { padding: 2rem 0 3rem; }

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.article-header h1 {
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.article-header time {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-family: var(--font-head);
}

.pillars, .tags {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pillar-tag {
    background: var(--accent);
    color: var(--bg);
    padding: 0.15rem 0.6rem;
    font-family: var(--font-head);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
}

.tag {
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 0.15rem 0.6rem;
    font-family: var(--font-head);
    font-size: 0.75rem;
    border-radius: 2px;
}

.article-body h2 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    color: var(--accent);
    margin: 2rem 0 0.8rem;
}

.article-body h3 {
    font-family: var(--font-head);
    font-size: 1.15rem;
    color: var(--text);
    margin: 1.5rem 0 0.6rem;
}

.article-body p { margin-bottom: 1rem; }

.article-body a {
    color: var(--link);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-body blockquote {
    border-left: 3px solid var(--accent);
    padding: 0.8rem 1.2rem;
    margin: 1.5rem 0;
    background: var(--bg-card);
    color: var(--text-dim);
    font-style: italic;
}

.article-body ul, .article-body ol {
    margin: 1rem 0 1rem 1.5rem;
}

.article-body li { margin-bottom: 0.3rem; }

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.article-body th, .article-body td {
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--border);
    text-align: left;
}

.article-body th {
    background: var(--bg-card);
    font-family: var(--font-head);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--accent);
}

.article-body em { color: var(--text-dim); }

.article-body strong { color: var(--accent-glow); }

.article-body hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

/* Latest Posts */
.latest-posts {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

.latest-posts h2 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    text-align: center;
}

.site-footer p {
    color: var(--text-dim);
    font-size: 0.85rem;
    font-family: var(--font-head);
}

.disclaimer {
    margin-top: 0.5rem;
    font-size: 0.75rem !important;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 600px) {
    .hero h1 { font-size: 1.6rem; }
    .hero-images { grid-template-columns: 1fr; }
    .hero-images img { height: 240px; }
    .hero-images img:last-child { display: none; }
    .article-header h1 { font-size: 1.5rem; }
    .pillars-overview { grid-template-columns: 1fr; }
}
