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


.lazy-load {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lazy-load.loaded {
    opacity: 1;
}


@supports not (scroll-behavior: smooth) {
    html {
        scroll-behavior: auto;
    }
    .smooth-scroll {
        scroll-behavior: auto;
    }
}

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

.lazy-load {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

@supports not (scroll-behavior: smooth) {
    html {
        scroll-behavior: auto;
    }
    .smooth-scroll {
        scroll-behavior: auto;
    }
}

html {
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}


:lang(en) .font-brush,
:lang(en) .font-display {
    letter-spacing: 0.02em; 
}

.site-footer {
    background: #1c1917;
    color: #f87171;
    padding: 1.5rem 0;
    border-top: 1px solid #44403c;
}

.site-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.site-footer-line {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #f87171;
}

.site-footer-access {
    color: #f87171;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

.site-footer-access:hover {
    color: #fecaca;
}

.site-nav {
    position: relative;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle .hidden {
    display: none;
}

@media (max-width: 767px) {
    .site-nav-bar {
        position: relative;
    }

    button.nav-toggle {
        display: inline-flex;
        order: 2;
        margin-left: auto;
    }

    .site-nav-bar > .nav-links {
        order: 3;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0 -1rem;
        padding: 0.5rem 1rem 1rem;
        background: rgba(28, 25, 23, 0.98);
        border-top: 1px solid #44403c;
        z-index: 50;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }
}

@media (min-width: 768px) {
    button.nav-toggle {
        display: none !important;
    }

    .site-nav-bar {
        flex-wrap: nowrap;
    }

    .nav-links {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        gap: 0.25rem 1rem;
        position: static;
        margin: 0 0 0 auto;
        padding: 0;
        background: transparent;
        border: none;
    }

    .nav-links a {
        border-bottom: none;
    }
}

.back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    min-height: 3rem;
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 9999px;
    background: #c2410c;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.5rem);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s, background 0.2s;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #ea580c;
}

.back-to-top:focus-visible {
    outline: 2px solid #ea580c;
    outline-offset: 2px;
}

