:root{
    --bg:#020915;
    --bg-deep:#02040b;
    --card:#0f172a;
    --card-soft:#111827;
    --accent:#e3b341;
    --accent-soft:#f8e3a1;
    --accent-dark:#b1841b;
    --accent-strong:#facc15;
    --text:#e5e7eb;
    --muted:#9ca3af;
    --border:rgba(148,163,184,.18);
    --radius:16px;
    --shadow:0 18px 40px rgba(0,0,0,.55);
}

html{
    scrollbar-gutter:stable;
}

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

body{
    font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
    background:#0b1724;
    color:var(--text);
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

a{color:inherit;text-decoration:none}

main{flex:1}

.site-header{
    position:sticky;
    top:0;
    z-index:20;
    background:linear-gradient(to bottom,rgba(3,7,18,.96),rgba(3,7,18,.92));
    backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(148,163,184,.35);
}

.header-inner{
    max-width:1200px;
    margin:0 auto;
    padding:.6rem 1.2rem;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
}

.brand{
    display:flex;
    align-items:center;
    gap:.6rem;
    color:#fef3c7;
}

.brand-mark{
    width:32px;
    height:32px;
    border-radius:999px;
    border:2px solid #facc15;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.1rem;
    box-shadow:0 0 18px rgba(250,204,21,.6);
}

.brand-text{
    display:flex;
    flex-direction:column;
}

.brand-title{
    font-size:.95rem;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.brand-sub{
    font-size:.75rem;
    color:#e5e7eb;
}

nav ul{
    list-style:none;
    display:flex;
    gap:.4rem;
    align-items:center;
}

nav a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:.4rem .9rem;
    border-radius:999px;
    font-size:.85rem;
    color:#e5e7eb;
    border:1px solid transparent;
    transition:.18s ease;
}

nav a:hover{
    border-color:rgba(252,211,77,.6);
    background:rgba(15,23,42,.95);
}

nav a.active{
    background:linear-gradient(to right,#facc15,#fb923c);
    color:#1f2933;
    box-shadow:0 0 0 2px rgba(0,0,0,.5);
    font-weight:600;
}

.page-wrap,
.main-inner,
.container{
    max-width:1200px;
    margin:0 auto;
}

.main-inner,
.page-wrap{
    padding:1.6rem 1.2rem 2.5rem;
}

.hero{
    position:relative;
    overflow:hidden;
    border-radius:22px;
    min-height:200px;
    box-shadow:var(--shadow);
    margin-bottom:1rem;
    background:
        linear-gradient(to bottom,rgba(2,6,23,.45),rgba(2,6,23,.93)),
        radial-gradient(circle at top left,rgba(250,204,21,.18),transparent 45%),
        url('../../img/oak-hero.png') center/cover no-repeat;
}

.hero-content{
    position:relative;
    z-index:1;
    padding:1.35rem clamp(1.1rem,2.3vw,1.8rem);
    display:flex;
    flex-direction:column;
    gap:.65rem;
    max-width:700px;
}

.hero-kicker{
    font-size:.74rem;
    text-transform:uppercase;
    letter-spacing:.16em;
    color:#fde68a;
}

.hero-title{
    font-size:clamp(1.65rem,2.5vw,2.1rem);
    line-height:1.15;
    color:#fef9c3;
}

.hero-sub{
    font-size:.92rem;
    color:#e5e7eb;
}

.card{
    background:linear-gradient(to bottom right,#0b1220,#020617);
    border-radius:18px;
    padding:1.1rem;
    box-shadow:0 10px 30px rgba(0,0,0,.45);
    border:1px solid rgba(227,179,65,.12);
}

.card-tag,
.entry-tag,
.tag{
    display:inline-block;
    font-size:.72rem;
    text-transform:uppercase;
    letter-spacing:.14em;
    color:#f8e3a1;
    background:rgba(234,179,8,.12);
    padding:.15rem .5rem;
    border-radius:999px;
    border:1px solid rgba(234,179,8,.4);
}

.note{
    margin-top:1.4rem;
    background:rgba(15,23,42,.75);
    border:1px solid rgba(148,163,184,.18);
    border-radius:16px;
    padding:1rem 1.1rem;
    color:var(--muted);
}

footer{
    border-top:1px solid rgba(15,23,42,.3);
    background:linear-gradient(to bottom,rgba(3,7,18,.96),rgba(3,7,18,.92));
    color:#e5e7eb;
    padding:.9rem 1.2rem 1.2rem;
}

.footer-inner{
    max-width:1200px;
    margin:0 auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:.8rem;
    font-size:.78rem;
    flex-wrap:wrap;
}

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

    nav ul{
        flex-wrap:wrap;
    }
}
