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

:root {
    --yellow: #ecdf1f;
    --brown: #4f422b;
    --white: #ffffff;
    --black: #111111;
}

body {
    font-family: "Open Sans", system-ui;
    font-weight: 300;
    font-style: normal;
    font-optical-sizing: auto;
    font-variation-settings: "wdth" 100;
    background: #f5f1ea;
    color: var(--black);
    line-height: 1.5;
}

.top-bar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.35s ease;
}

.top-bar.hide {
    transform: translateY(-70px);
}

.site-header {
    height: 70px;
    background: rgba(245, 241, 234, 0.95);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.nav-wrapper {
    max-width: 1200px;
    margin: auto;
    width: 100%;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 32px;
    width: auto;
    display: block;
}

nav a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--brown);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

.marquee {
    height: 56px;
    background: var(--yellow);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.marquee-track {
    display: flex;
    align-items: center;
    will-change: transform;
}

.marquee-track img {
    height: 40px;
    margin: 0 48px;
    flex-shrink: 0;
    display: block;
    user-select: none;
    pointer-events: none;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(79, 66, 43, 0.55);
}

.hero-content {
    position: relative;
    z-index: 4;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--yellow);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 0.7;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--white);
    max-width: 1200px;
    margin: auto;
}

.hero-issue {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: min(1200px, calc(100% - 3rem));
    max-width: calc(100vw - 3rem);
    display: flex;
    justify-content: center;
    pointer-events: auto;
}

.hero-issue-card {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: rgba(17, 17, 17, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px) saturate(0.97);
    color: var(--white);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-issue-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

.hero-issue-media {
    flex: 0 0 auto;
    width: 220px;
    height: 290px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
    filter: contrast(1.02) saturate(1);
}

.hero-issue-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    flex: 1;
    min-width: 0;
}

.hero-issue-info .issue-number {
    font-weight: 800;
    font-size: 1rem;
    color: #f5e68a;
    letter-spacing: 0.04em;
}

.hero-issue-info h3 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--white);
    line-height: 1.1;
    font-weight: 800;
}

.hero-issue-info .issue-excerpt {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
}

.hero-issue-info div {
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
}

.hero-issue-cta {
    margin-top: 0.75rem;
    align-self: start;
    background: var(--yellow);
    color: var(--brown);
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}


main {
    max-width: 1100px;
    margin: auto;
    padding: 4rem 1.5rem;
}

section {
    margin-bottom: 6rem;
}

h2 {
    color: var(--brown);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: 'Anton', sans-serif;
    line-height: 0.75;
}

p {
    font-size: 1.05rem;
    max-width: 680px;
}

.issues-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1rem;
    align-items: stretch;
    grid-auto-rows: 1fr;
}

.issue-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
    height: 100%;
}

.issue-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.issue-card img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.issue-meta {
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1 1 auto;
}

.issue-number {
    color: var(--brown);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
}

.news-post {
    color: var(--white);
    background: #04be62;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
}

.issue-title {
    font-size: 1.05rem;
    color: var(--black);
    font-weight: 600;
    line-height: 0.9;
}

.issue-excerpt {
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.95rem;
    position: relative;
    max-height: 5rem;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
}

.issue-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.75rem 1rem 1rem;
    margin-top: auto;
}

.btn {
    background: var(--brown);
    color: var(--white);
    padding: 0.45rem 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

.btn.secondary {
    background: transparent;
    color: var(--brown);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    max-width: 920px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    position: relative;
    margin: auto;
}

.modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 300px;
}

.modal-body {
    padding: 1.25rem;
    overflow-y: auto;
    max-height: none;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 0;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    z-index: 2001;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    nav a {
        margin-left: 1rem;
        font-size: 0.85rem;
    }

    .marquee-track img {
        height: 34px;
        margin: 0 32px;
    }
}

@media (max-width: 900px) {
    .issues-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-content {
        grid-template-columns: 1fr;
    }

    .modal-media img {
        min-height: 250px;
    }

    .hero-issue {
        width: calc(100% - 2rem);
    }

    .hero-issue-card {
        padding: 1.2rem 1.5rem;
        gap: 1.5rem;
    }

    .hero-issue-media {
        width: 160px;
        height: 210px;
    }

    .hero-issue-info h3 {
        font-size: 1.2rem;
    }

    .hero-issue-info div {
        font-size: 0.9rem;
    }
}

@media (max-width: 560px) {
    .issues-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.6rem;
    }

    .modal-overlay {
        padding: 0.5rem;
    }

    .modal-content {
        border-radius: 8px;
    }

    .modal-media img {
        min-height: 200px;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-close {
        padding: 0.3rem 0.45rem;
        font-size: 0.9rem;
    }

    .hero-issue {
        width: calc(100% - 1.5rem);
    }

    .hero-issue-card {
        padding: 1rem;
        gap: 1rem;
    }

    .hero-issue-media {
        width: 120px;
        height: 160px;
    }

    .hero-issue-info h3 {
        font-size: 1rem;
    }

    .hero-issue-info div {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .hero-issue-cta {
        font-size: 0.85rem;
        padding: 0.45rem 0.75rem;
    }
}

@media (max-width: 440px) {
    .hero-issue {
        width: calc(100% - 1rem);
    }

    .hero-issue-card {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        text-align: center;
    }

    .hero-issue-media {
        width: 140px;
        height: 185px;
        align-self: center;
    }

    .hero-issue-info {
        align-items: center;
        text-align: center;
    }

    .hero-issue-info h3 {
        font-size: 1rem;
    }

    .hero-issue-info div {
        font-size: 0.8rem;
    }

    .hero-issue-cta {
        align-self: center;
        font-size: 0.8rem;
        padding: 0.4rem 0.7rem;
    }
}

footer {
    background: var(--brown);
    color: var(--white);
    padding: 3rem 1.5rem;
    margin-top: 4rem;
    border-top: 3px solid var(--yellow);
}

footer .footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

footer h3 {
    font-size: 1.2rem;
    color: var(--yellow);
    margin-bottom: 1rem;
    font-weight: 600;
}

footer p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
}

footer a {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

footer a:hover {
    opacity: 0.8;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background 0.2s ease;
}

.footer-social a:hover {
    background: var(--yellow);
    color: var(--brown);
}

.footer-bottom {
    width: 100%;

    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    footer {
        padding: 2rem 1.5rem;
    }

    footer .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    footer h3 {
        font-size: 1.1rem;
    }
}

.hero-issue-cta-row {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    align-self: start;
    flex-wrap: wrap;
}

.hero-issue-cta-row .hero-issue-cta {
    margin-top: 0;
}

.hero-issue-cta-link {
    display: inline-block;
}

.spotify-section {
    margin: 0 0 3.5rem;
    padding: 1.5rem 0;
    width: 100%;
}

.spotify-section iframe {
    display: block;
    width: 100%;
}

.spotify-label {
    margin: 0 0 1.1rem;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(17, 17, 17, 0.78);
    letter-spacing: 0.01em;
    font-weight: 400;
}