:root {
    --bg: #15120f;
    --bg-2: #211a14;
    --panel: #2b2119;
    --panel-2: #33271d;
    --line: rgba(232, 219, 192, 0.12);
    --text: #eadfca;
    --muted: #bda98d;
    --accent: #b88952;
    --accent-2: #7c8d56;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --radius: 16px;
    --wrap: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(124, 141, 86, 0.10), transparent 30%),
        linear-gradient(180deg, #19130f 0%, #100d0b 100%);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.6;
}

a { color: #f0d39a; text-decoration: none; }
a:hover { color: #ffe3a8; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(calc(100% - 32px), var(--wrap)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(21, 18, 15, 0.84);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
}
.branding { display: flex; flex-direction: column; gap: 2px; }
.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
}
.site-tagline {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}
.menu-list, .footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu-list a, .footer-menu a {
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 999px;
}
.menu-list a:hover, .footer-menu a:hover {
    border-color: var(--line);
    background: rgba(255,255,255,0.03);
}

.site-main { padding: 28px 0 64px; }
.hero {
    display: grid;
    grid-template-columns: 1.4fr 0.85fr;
    gap: 24px;
    align-items: stretch;
    margin-top: 8px;
}
.hero-panel,
.card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(0,0,0,0.08)),
        linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.hero-panel {
    padding: 42px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.hero-panel::after {
    content: "";
    position: absolute;
    inset: auto -10% -35% auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(184,136,82,0.18), transparent 68%);
    pointer-events: none;
}
.eyebrow {
    display: inline-block;
    color: var(--accent-2);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    margin-bottom: 10px;
}
.hero h1, .section-heading h1, .section-heading h2, .prose h1 {
    margin: 0 0 12px;
    line-height: 1.1;
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.hero-copy { max-width: 52ch; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.button-primary,
.button-secondary,
.search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-weight: 700;
    cursor: pointer;
}
.button-primary {
    background: linear-gradient(180deg, #bf9460 0%, #94673d 100%);
    color: #19130f;
}
.button-secondary, .search-submit {
    background: rgba(255,255,255,0.03);
    color: var(--text);
}
.status-card { padding: 26px; }
.status-list { margin: 0; padding-left: 18px; color: var(--muted); }
.status-note { color: var(--muted); font-size: 0.95rem; }

.info-grid,
.single-layout,
.archive-layout,
.content-grid,
.footer-grid {
    display: grid;
    gap: 24px;
}
.info-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 24px;
}
.info-grid .card,
.post-card,
.prose,
.widget { padding: 24px; }
.content-grid,
.single-layout,
.archive-layout {
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.8fr);
    margin-top: 28px;
    align-items: start;
}
.section-heading { margin-bottom: 20px; }
.post-card + .post-card { margin-top: 18px; }
.post-meta {
    color: var(--accent-2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}
.post-card h2, .post-card h3 { margin-top: 0; }
.post-thumb { margin-bottom: 18px; overflow: hidden; border-radius: 12px; }
.excerpt, .archive-description, .prose, .widget, .search-field { color: var(--muted); }
.featured-image { margin: 18px 0 24px; overflow: hidden; border-radius: 14px; }
.pagination-wrap { margin-top: 24px; }

.sidebar-col { display: grid; gap: 18px; }
.card-title, .widget-title { margin-top: 0; }
.search-form { display: grid; gap: 10px; }
.search-field {
    width: 100%;
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.03);
    padding: 0 14px;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: rgba(0,0,0,0.18);
    padding: 36px 0 22px;
}
.footer-grid { grid-template-columns: 1.3fr 1fr; }
.footer-bottom {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.prose > *:first-child { margin-top: 0; }
.prose h2, .prose h3 { color: var(--text); }
.prose blockquote {
    margin: 24px 0;
    padding: 14px 18px;
    border-left: 4px solid var(--accent);
    background: rgba(255,255,255,0.03);
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 980px) {
    .hero,
    .content-grid,
    .single-layout,
    .archive-layout,
    .footer-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-panel { padding: 28px; min-height: auto; }
}

@media (max-width: 640px) {
    .wrap { width: min(calc(100% - 20px), var(--wrap)); }
    .site-main { padding-top: 18px; }
    .info-grid .card,
    .post-card,
    .prose,
    .widget,
    .status-card { padding: 18px; }
}
