:root {
    --bg: #07100d;
    --panel: #101a16;
    --panel-strong: #15231d;
    --text: #f4f0e6;
    --muted: #b9b5a8;
    --line: rgba(244, 240, 230, 0.16);
    --gold: #d7b66a;
    --green: #5e8c73;
    --white: #ffffff;
    --error: #f2a7a3;
    --success: #9cd3a5;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 1rem;
    z-index: 20;
    background: var(--text);
    color: var(--bg);
    padding: 0.75rem 1rem;
}

.skip-link:focus {
    left: 1rem;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem clamp(1rem, 4vw, 3rem);
    background: rgba(7, 16, 13, 0.72);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    font-weight: 700;
}

.brand-mark {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border: 1px solid rgba(215, 182, 106, 0.55);
    background: rgba(215, 182, 106, 0.12);
    color: var(--gold);
}

.brand-name {
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.5rem);
    color: var(--muted);
    font-size: 0.95rem;
}

.site-nav a {
    text-decoration: none;
}

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

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 8rem clamp(1.25rem, 5vw, 5rem) 5rem;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 16, 13, 0.92) 0%, rgba(7, 16, 13, 0.72) 38%, rgba(7, 16, 13, 0.2) 78%),
        linear-gradient(0deg, rgba(7, 16, 13, 0.92) 0%, rgba(7, 16, 13, 0) 34%);
}

.hero-content {
    position: relative;
    width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
    margin: 0 0 1rem;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 1rem;
    font-size: clamp(3.4rem, 10vw, 8.7rem);
    line-height: 0.92;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: 0;
}

h3 {
    font-size: 1.25rem;
    line-height: 1.2;
}

.hero-copy {
    max-width: 680px;
    color: #e6dfd0;
    font-size: clamp(1.1rem, 2vw, 1.38rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.85rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 6px;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.button-primary {
    background: var(--gold);
    color: #14100a;
}

.button-secondary {
    background: rgba(244, 240, 230, 0.08);
    border-color: var(--line);
    color: var(--text);
}

.section {
    padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 5rem);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 7vw, 6rem);
    align-items: start;
}

.prose {
    color: var(--muted);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.prose p {
    margin-bottom: 1.25rem;
}

.focus-section {
    background: #0b1511;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.focus-grid article {
    min-height: 19rem;
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}

.focus-grid span {
    display: block;
    margin-bottom: 4rem;
    color: var(--green);
    font-weight: 800;
}

.focus-grid p,
.principles p,
.contact-section p {
    color: var(--muted);
}

.principles-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.principles > div {
    min-height: 13rem;
    padding: 1.4rem;
    background: var(--panel);
}

.metric {
    margin-bottom: 1.5rem;
    color: var(--gold);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1;
}

.contact-section {
    background: var(--panel-strong);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.75fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.contact-direct {
    margin-top: 2rem;
}

.contact-form {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 16, 13, 0.5);
}

.contact-form label {
    display: grid;
    gap: 0.4rem;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(244, 240, 230, 0.22);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font: inherit;
    padding: 0.85rem;
}

.contact-form textarea {
    resize: vertical;
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

.notice {
    padding: 0.8rem 0.9rem;
    border-radius: 6px;
    font-weight: 700;
}

.notice-success {
    color: #092010;
    background: var(--success);
}

.notice-error {
    color: #2b0706;
    background: var(--error);
}

.site-footer {
    padding: 1.5rem clamp(1.25rem, 5vw, 5rem);
    color: var(--muted);
    border-top: 1px solid var(--line);
    background: #050907;
}

.site-footer p {
    margin: 0;
}

.blog-main,
.single-main {
    min-height: 100vh;
}

.blog-hero,
.single-header {
    padding: 9rem clamp(1.25rem, 5vw, 5rem) clamp(3rem, 7vw, 5rem);
    background:
        linear-gradient(180deg, rgba(21, 35, 29, 0.95), rgba(7, 16, 13, 1)),
        radial-gradient(circle at 80% 20%, rgba(215, 182, 106, 0.22), transparent 32%);
    border-bottom: 1px solid var(--line);
}

.blog-hero h1,
.single-header h1 {
    margin-bottom: 1rem;
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.95;
}

.blog-hero p,
.single-dek {
    max-width: 760px;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.blog-list-section {
    background: #09110e;
}

.post-list {
    display: grid;
    gap: 1rem;
    max-width: 980px;
}

.post-card {
    padding: clamp(1.2rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.post-card h2 {
    max-width: 780px;
    margin-bottom: 0.75rem;
    font-size: clamp(1.7rem, 4vw, 3rem);
}

.post-card h2 a,
.read-more,
.back-link {
    text-decoration: none;
}

.post-card h2 a:hover,
.post-card h2 a:focus,
.read-more:hover,
.read-more:focus,
.back-link:hover,
.back-link:focus {
    color: var(--gold);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
    color: var(--green);
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
}

.post-excerpt {
    max-width: 720px;
    color: var(--muted);
}

.post-excerpt p {
    margin-bottom: 1rem;
}

.read-more,
.back-link {
    display: inline-flex;
    color: var(--gold);
    font-weight: 800;
}

.pagination {
    max-width: 980px;
    margin-top: 2rem;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.page-numbers {
    display: inline-flex;
    min-width: 2.5rem;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    text-decoration: none;
}

.page-numbers.current {
    background: var(--gold);
    color: #14100a;
    border-color: var(--gold);
    font-weight: 800;
}

.empty-state {
    max-width: 720px;
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.single-article {
    background: #09110e;
}

.single-header {
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.single-header .back-link {
    margin-bottom: 2rem;
}

.featured-image {
    max-width: 1080px;
    margin: clamp(2rem, 5vw, 4rem) auto 0;
    padding: 0 clamp(1.25rem, 5vw, 5rem);
}

.featured-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--line);
}

.entry-content {
    max-width: 780px;
    margin: 0 auto;
    padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 5vw, 5rem);
    color: #ddd7ca;
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}

.entry-content > * {
    margin-top: 0;
    margin-bottom: 1.35rem;
}

.entry-content h2,
.entry-content h3 {
    margin-top: 2.2rem;
    color: var(--text);
}

.entry-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.entry-content h3 {
    font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.entry-content blockquote {
    margin-left: 0;
    padding-left: 1rem;
    border-left: 3px solid var(--gold);
    color: var(--text);
}

.entry-content a {
    color: var(--gold);
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 760px) {
    .site-header {
        position: absolute;
        align-items: flex-start;
    }

    .site-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
        font-size: 0.88rem;
    }

    .brand-name {
        display: none;
    }

    .hero {
        min-height: 88vh;
        padding-top: 7rem;
        background-position: 63% center;
    }

    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(7, 16, 13, 0.95) 0%, rgba(7, 16, 13, 0.7) 72%, rgba(7, 16, 13, 0.44) 100%),
            linear-gradient(0deg, rgba(7, 16, 13, 0.96) 0%, rgba(7, 16, 13, 0) 38%);
    }

    .split,
    .focus-grid,
    .principles,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .focus-grid article {
        min-height: auto;
    }

    .focus-grid span {
        margin-bottom: 2rem;
    }

    .blog-hero,
    .single-header {
        padding-top: 7rem;
    }
}
