@import url('https://fonts.googleapis.com/css2?family=Syncopate:wght@400;700&family=Space+Grotesk:wght@300;500;700&display=swap');

:root {
    --black: #000000;
    --white: #D4AF37;
    --grey: #1a1a1a;
    --soft-grey: #f4e4bc;
}

* { box-sizing: border-box; }

body {
    background-color: var(--black);
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

.side-nav {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 80px;
    border-right: 1px solid var(--grey);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    z-index: 100;
    background: var(--black);
}

#LogoWC {
    width: 100%;
    height: auto;
    display: block;
}

.logo-vertical {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    letter-spacing: 5px;
    font-size: 1.2rem;
}

.main-menu a {
    writing-mode: vertical-rl;
    text-decoration: none;
    color: var(--soft-grey);
    margin: 20px 0;
    font-size: 0.7rem;
    letter-spacing: 2px;
    transition: 0.3s;
}

.main-menu a:hover { color: var(--white); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 200;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.viewport {
    margin-left: 80px;
    padding: 60px;
}

.editorial-post {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    position: relative;
    max-width: 1200px;
    margin-bottom: 150px;
}

.post-number {
    position: absolute;
    top: -40px;
    left: -20px;
    font-size: 8rem;
    font-family: 'Syncopate', sans-serif;
    color: var(--grey);
    z-index: -1;
    font-weight: 700;
}

.visual-wrapper {
    position: relative;
    height: 500px;
}

.main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(120%);
    transition: 0.5s;
}

.editorial-post:hover .main-img { filter: grayscale(0%) contrast(100%); }

.overlay-text {
    position: absolute;
    bottom: -30px;
    left: 40px;
    background: var(--black);
    padding: 40px;
    border: 1px solid var(--grey);
}

.tag {
    color: var(--soft-grey);
    font-size: 0.7rem;
    letter-spacing: 3px;
}

.title {
    font-family: 'Syncopate', sans-serif;
    font-size: 2.5rem;
    margin: 10px 0 0 0;
    line-height: 0.9;
    text-transform: uppercase;
}

.content-sidebar {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 30px;
}

.wolf-manifesto {
    border-left: 1px solid var(--white);
    padding-left: 20px;
    margin-bottom: 40px;
}

.wolf-manifesto p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
}

.btn-read {
    display: inline-block;
    background: var(--white);
    color: var(--black);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: 0.3s;
}

.btn-read:hover {
    background: transparent;
    color: var(--white);
    box-shadow: inset 0 0 0 1px var(--white);
}

.stats {
    margin-top: 20px;
    font-size: 0.7rem;
    color: var(--soft-grey);
    letter-spacing: 1px;
}

@media (max-width: 1024px) {
    .viewport { padding: 40px 30px; }
    .editorial-post {
        grid-template-columns: 1fr 280px;
        gap: 24px;
        margin-bottom: 100px;
    }
    .title { font-size: 2rem; }
    .post-number { font-size: 6rem; }
    .visual-wrapper { height: 420px; }
}

@media (max-width: 768px) {
    .side-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 64px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-right: none;
        border-bottom: 1px solid var(--grey);
        padding: 0 16px;
    }
    #LogoWC {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        height: 42px;
        width: auto;
        max-width: 110px;
        object-fit: contain;
    }
    .logo-vertical { display: none; }
    .hamburger {
        display: flex;
        position: relative;
        z-index: 101;
    }
    .auth-trigger {
        position: relative;
        z-index: 101;
    }
    .auth-trigger a {
        writing-mode: horizontal-tb;
        text-decoration: none;
        color: var(--soft-grey);
        font-size: 0.7rem;
        letter-spacing: 2px;
        text-transform: uppercase;
        transition: color 0.3s;
    }
    .auth-trigger a:hover { color: var(--white); }
    .main-menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        background: var(--black);
        border-bottom: 1px solid var(--grey);
        padding: 16px 0;
        z-index: 99;
    }
    .main-menu.open { display: flex; }
    .main-menu a {
        writing-mode: horizontal-tb;
        text-align: center;
        margin: 10px 0;
        font-size: 0.8rem;
        letter-spacing: 3px;
        text-transform: uppercase;
        color: var(--soft-grey);
        text-decoration: none;
        transition: color 0.3s;
    }
    .main-menu a:hover { color: var(--white); }
    .viewport {
        margin-left: 0;
        margin-top: 64px;
        padding: 30px 20px;
    }
    .editorial-post {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 80px;
    }
    .post-number {
        font-size: 4.5rem;
        top: -28px;
        left: 0;
    }
    .visual-wrapper {
        height: auto;
        aspect-ratio: 16 / 10;
        overflow: hidden;
    }
    .main-img {
        width: 100%;
        height: 100%;
        max-height: 240px;
        object-fit: cover;
        display: block;
    }
    article img, .post-content img {
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block;
    }
    .overlay-text {
        position: relative;
        bottom: auto;
        left: auto;
        padding: 24px 20px;
        border-top: none;
    }
    .title {
        font-size: 1.4rem;
        line-height: 1.1;
        word-break: break-word;
        hyphens: auto;
    }
    .content-sidebar {
        padding-bottom: 0;
        padding-top: 24px;
    }
    .wolf-manifesto { margin-bottom: 24px; }
    .wolf-manifesto p { font-size: 1rem; }

    .btn-read {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.15rem;
        hyphens: auto;
    }
    .overlay-text { padding: 18px 16px; }
    .post-number { font-size: 3.5rem; }
    .visual-wrapper {
        aspect-ratio: 16 / 10;
        height: auto;
    }
    .main-img { max-height: 200px; }
    .viewport { padding: 24px 16px; }
    article img, .post-content img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
}
