:root {
    --bg: #181311;
    --bg-soft: #211916;
    --panel: #241b18;
    --panel-alt: #2a201c;
    --border: rgba(208, 158, 108, 0.20);
    --border-strong: rgba(208, 158, 108, 0.38);
    --text: #f3eadf;
    --text-soft: #cbbcad;
    --text-muted: #9e8e81;
    --accent: #c58c5b;
    --accent-soft: rgba(197, 140, 91, 0.16);
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shell: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(197, 140, 91, 0.10), transparent 30%),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.02), transparent 24%),
        linear-gradient(180deg, #130f0d 0%, #181311 28%, #1b1512 100%);
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.7;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.site-shell {
    width: min(var(--shell), calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(19, 15, 13, 0.84);
    border-bottom: 1px solid rgba(208, 158, 108, 0.08);
}

.header-shell {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.wordmark-link {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
}

.wordmark-title {
    font-size: clamp(1.7rem, 2.8vw, 2.35rem);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.wordmark-subtitle {
    color: var(--text-soft);
    font-size: 0.88rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.site-nav a {
    color: var(--text-soft);
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.98rem;
    transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--text);
    background: var(--accent-soft);
}

.nav-toggle,
.nav-toggle-label {
    display: none;
}

main {
    display: block;
}

.hero {
    padding: 72px 0 34px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.9fr);
    gap: 34px;
    align-items: stretch;
}

.hero-copy,
.hero-panel,
.section-card,
.entry-card,
.info-card,
.contact-card {
    background: linear-gradient(180deg, rgba(42, 32, 28, 0.94), rgba(28, 22, 19, 0.98));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: 48px;
}

.kicker {
    margin: 0 0 18px;
    color: var(--accent);
    font-size: 0.9rem;
    letter-spacing: 0.20em;
    text-transform: uppercase;
}

.hero h1,
.page-head h1 {
    margin: 0;
    font-size: clamp(2.5rem, 6vw, 4.9rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.hero-intro,
.page-head p {
    margin: 24px 0 0;
    font-size: clamp(1.08rem, 1.8vw, 1.34rem);
    color: var(--text-soft);
    max-width: 38rem;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.button,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 0.98rem;
    border: 1px solid var(--border-strong);
}

.button {
    background: var(--accent);
    color: #1a120f;
    font-weight: 700;
}

.button-secondary {
    background: transparent;
    color: var(--text);
}

.hero-panel {
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
}

.hero-panel p {
    margin: 0;
}

.panel-note {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.panel-line {
    padding-top: 18px;
    border-top: 1px solid rgba(208, 158, 108, 0.12);
}

.content-section,
.page-section {
    padding: 18px 0 34px;
}

.section-card,
.page-card {
    padding: 34px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.section-head h2,
.page-card h2,
.contact-card h2,
.info-card h2,
.entry-card h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2.8vw, 2.3rem);
    line-height: 1.15;
}

.section-head p,
.page-card p,
.contact-card p,
.info-card p,
.entry-card p,
.entry-card li {
    color: var(--text-soft);
}

.category-grid,
.cards-grid,
.contact-grid {
    display: grid;
    gap: 22px;
}

.category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: start;
}

.entry-card,
.info-card,
.contact-card {
    padding: 28px;
}

.entry-card .entry-kicker,
.page-head .entry-kicker {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.entry-card p:last-child,
.info-card p:last-child,
.contact-card p:last-child,
.page-card p:last-child {
    margin-bottom: 0;
}

.entry-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    color: var(--text);
    font-weight: 700;
}

.page-head {
    padding: 72px 0 24px;
}

.page-card {
    background: linear-gradient(180deg, rgba(42, 32, 28, 0.94), rgba(28, 22, 19, 0.98));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 34px;
}

.page-card + .page-card {
    margin-top: 22px;
}

.page-card ul {
    padding-left: 18px;
}

.contact-list,
.simple-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-list li,
.simple-list li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(208, 158, 108, 0.10);
}

.contact-list li:last-child,
.simple-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.contact-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.category-lead {
    margin-top: 0;
    margin-bottom: 0;
}

.site-footer {
    padding: 56px 0 42px;
}

.footer-shell {
    border-top: 1px solid rgba(208, 158, 108, 0.12);
    padding-top: 28px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-title,
.footer-text,
.footer-meta p {
    margin: 0;
}

.footer-title {
    font-size: 1.08rem;
    font-weight: 700;
}

.footer-text,
.footer-meta p {
    color: var(--text-muted);
}

@media (max-width: 980px) {
    .hero-grid,
    .category-grid,
    .cards-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .site-shell {
        width: min(var(--shell), calc(100% - 28px));
    }

    .header-shell {
        min-height: 82px;
        position: relative;
        gap: 16px;
    }

    .nav-toggle-label {
        display: inline-flex;
        width: 48px;
        height: 48px;
        border: 1px solid var(--border);
        border-radius: 999px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        margin-left: auto;
    }

    .nav-toggle-label span {
        width: 18px;
        height: 1px;
        background: var(--text);
        display: block;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 14px;
        border: 1px solid var(--border);
        border-radius: 20px;
        background: rgba(25, 19, 17, 0.98);
        box-shadow: var(--shadow);
    }

    .site-nav a {
        padding: 12px 14px;
        border-radius: 14px;
    }

    .nav-toggle:checked ~ .site-nav {
        display: flex;
    }

    .hero,
    .page-head {
        padding-top: 48px;
    }

    .hero-copy,
    .hero-panel,
    .section-card,
    .page-card,
    .entry-card,
    .info-card,
    .contact-card {
        padding: 24px;
        border-radius: 22px;
    }

    .footer-shell {
        align-items: flex-start;
        padding-top: 24px;
    }
}

@media (max-width: 540px) {
    .site-shell {
        width: calc(100% - 24px);
    }

    .hero,
    .content-section,
    .page-head,
    .page-section,
    .site-footer {
        padding-left: 0;
        padding-right: 0;
    }

    .hero-copy,
    .hero-panel,
    .section-card,
    .page-card,
    .entry-card,
    .info-card,
    .contact-card {
        padding: 20px;
    }

    .wordmark-title {
        font-size: 1.5rem;
    }

    .wordmark-subtitle {
        font-size: 0.74rem;
        letter-spacing: 0.16em;
    }

    .hero h1,
    .page-head h1 {
        font-size: 2.2rem;
    }

    .hero-intro,
    .page-head p,
    .section-head p,
    .page-card p,
    .entry-card p,
    .info-card p,
    .contact-card p,
    .entry-card li {
        font-size: 1rem;
    }

    .section-head {
        margin-bottom: 20px;
    }
}
