:root {
    --maroon: #661f17;
    --maroon-dark: #35100c;
    --saffron: #d98a22;
    --gold: #f0c46a;
    --cream: #fff7e8;
    --paper: #f8edd9;
    --ink: #211714;
    --muted: #6f5146;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Nirmala UI", "Mangal", sans-serif;
}

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

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(20px, 5vw, 72px);
    color: #fff;
    background: linear-gradient(180deg, rgba(27, 10, 7, .82), rgba(27, 10, 7, 0));
}

body.inner-page .site-header {
    position: sticky;
    background: linear-gradient(135deg, rgba(54, 16, 10, .98), rgba(102, 31, 23, .96));
    box-shadow: 0 14px 36px rgba(40, 14, 8, .18);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    margin-top: 2px;
    color: rgba(255, 255, 255, .76);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
    font-size: 13px;
    font-weight: 700;
}

.site-header nav a {
    color: rgba(255, 255, 255, .88);
}

.site-header nav a:hover {
    color: #fff;
}

.language-switch {
    display: inline-flex;
    overflow: hidden;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
}

.language-switch a {
    min-width: 64px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    font-weight: 900;
    text-align: center;
}

.language-switch a.active {
    background: var(--saffron);
    color: #2a1008;
}

.mobile-menu {
    display: none;
    position: relative;
}

.mobile-menu summary {
    min-width: 78px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 7px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
    text-align: center;
}

.mobile-menu summary::-webkit-details-marker {
    display: none;
}

.mobile-menu div {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    min-width: 210px;
    padding: 8px;
    border: 1px solid rgba(102, 31, 23, .16);
    border-radius: 8px;
    background: #fffdf6;
    box-shadow: 0 18px 46px rgba(40, 14, 8, .22);
}

.mobile-menu a {
    padding: 11px 12px;
    border-radius: 6px;
    color: var(--ink);
    font-weight: 800;
}

.mobile-menu a:hover {
    background: var(--paper);
    color: var(--maroon);
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px clamp(20px, 5vw, 72px);
    background: #35100c;
    color: #fff;
}

.site-footer strong,
.site-footer span {
    display: block;
}

.site-footer span {
    margin-top: 4px;
    color: rgba(255, 247, 232, .74);
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px 20px;
    font-size: 13px;
    font-weight: 800;
}

.site-footer a {
    color: rgba(255, 247, 232, .82);
}

.site-footer a:hover {
    color: #fff;
}

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

    body.inner-page .site-header {
        position: static;
    }

    .site-header nav {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .language-switch {
        margin-left: auto;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer nav {
        display: flex;
        justify-content: flex-start;
    }
}
