:root {
    --pad-x: 24px;
}
@media (min-width: 768px) {
    :root {
        --pad-x: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scatter-card { transition: none !important; }
    [class*="animate-"] { animation: none !important; }
}

/* Scattered Draggable Gallery Styles (Natural aspect ratio) */
.scatter-card {
    position: absolute;
    width: 112px;
    height: auto;
    cursor: grab;
    user-select: none;
    touch-action: none;
    border: 3px solid #000000;
    box-shadow: 4px 4px 0px #000000;
    background-color: #ffffff;
    padding: 0;
    overflow: hidden;
    transform-origin: center;
    border-radius: 4px;
    transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.2s ease, z-index 0s;
}
.scatter-card:active {
    cursor: grabbing;
}

.scatter-card img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}
@media (min-width: 768px) {
    .scatter-card {
        width: 169px;
        height: auto;
        border: 4px solid #000000;
        box-shadow: 6px 6px 0px #000000;
    }
}
@media (min-width: 1024px) {
    .scatter-card {
        width: 192px;
        height: auto;
    }
}

/* Modal Navigation Buttons (Brutalism Style) */
.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: var(--yellow);
    border: 4px solid #000000;
    font-family: 'Thunder', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 5px 5px 0px #000000;
    transition: transform 0.1s, box-shadow 0.1s, background-color 0.15s;
}
.modal-nav-btn:hover {
    background-color: var(--red);
    color: #ffffff;
    transform: translateY(-50%) translate(3px, 3px);
    box-shadow: 2px 2px 0px #000000;
}
.modal-nav-btn.prev {
    left: 24px;
}
.modal-nav-btn.next {
    right: 24px;
}
@media (max-width: 767px) {
    .modal-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        border-width: 3px;
        box-shadow: 3px 3px 0px #000000;
    }
    .modal-nav-btn:hover {
        transform: translateY(-50%) translate(2px, 2px);
        box-shadow: 1px 1px 0px #000000;
    }
    .modal-nav-btn.prev {
        left: 10px;
    }
    .modal-nav-btn.next {
        right: 10px;
    }
}

#image-modal { display: none; }



        /* --- Minimal Brutalism Core Styles --- */
        .mb-btn {
            appearance: none;
            background-color: #ffffff;
            border: 4px solid #000000;
            color: #000000;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-family: 'Thunder', sans-serif;
            text-transform: uppercase;
            font-weight: 700;
            letter-spacing: 0.05em;
            line-height: 1;
            padding: 12px 28px;
            position: relative;
            text-decoration: none;
            transition: background-color 0.15s ease, color 0.15s ease;
            border-radius: 0;
        }
        
        .mb-btn-yellow { --mb-btn-accent: var(--yellow); }
        .mb-btn-pink { --mb-btn-accent: var(--pink); }
        .mb-btn-red { --mb-btn-accent: var(--red); }
        .mb-btn-teal { --mb-btn-accent: var(--teal); }
        .mb-btn-blue { --mb-btn-accent: var(--blue); }
        .mb-btn-green { --mb-btn-accent: var(--green); }
        .mb-btn-white { --mb-btn-accent: #ffffff; }
        
        .mb-btn:hover {
            background-color: var(--mb-btn-accent, var(--yellow));
            color: #000000;
        }
        
        /* Neobrutalist Solid Shadow Button */
        .mb-btn-shadow {
            box-shadow: 6px 6px 0px #000000;
            transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.15s ease;
        }
        .mb-btn-shadow:hover {
            transform: translate(2px, 2px);
            box-shadow: 4px 4px 0px #000000;
        }
        .mb-btn-shadow:active {
            transform: translate(6px, 6px);
            box-shadow: 0px 0px 0px #000000;
        }

        /* Brutalist Inputs */
        .mb-form-group {
            margin-bottom: 24px;
            width: 100%;
        }
        .mb-label {
            display: block;
            font-family: 'Thunder', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 8px;
            color: currentColor;
        }
        .mb-input {
            width: 100%;
            appearance: none;
            font-family: 'Nohemi', sans-serif;
            font-size: 1.25rem;
            color: #000000;
            background-color: #ffffff;
            border: 4px solid #000000;
            padding: 16px 20px;
            border-radius: 0;
            outline: none;
            transition: all 0.15s ease;
        }
        .mb-input:focus {
            background-color: #ffffff;
            box-shadow: 6px 6px 0px #000000;
            border-width: 4px;
        }

        /* Phoebe riley Law (Asymmetric Overlaps) */
        .mb-sticker {
            display: inline-block;
            font-family: 'Thunder', sans-serif;
            font-weight: 800;
            text-transform: uppercase;
            background-color: var(--mb-accent, var(--yellow));
            color: #000000;
            border: 4px solid #000000;
            padding: 8px 16px;
            position: relative;
            z-index: 30;
            line-height: 1;
        }
        .mb-overlap-left-large {
            margin-left: -40px;
        }
        .mb-overlap-left-medium {
            margin-left: -20px;
        }
        @media (max-width: 992px) {
            .mb-overlap-left-large, .mb-overlap-left-medium {
                margin-left: 0;
            }
        }

        /* ── LINEUP INFINITE TICKERS ── */
        .lineup-tickers { overflow: hidden; background: #000; border-bottom: 8px solid #000; }
        .lineup-ticker { overflow: hidden; width: 100%; display: flex; padding: 11px 0; border-bottom: 2px solid #1a1a1a; }
        .lineup-ticker:last-child { border-bottom: none; }
        .lineup-ticker-track {
            display: inline-flex; align-items: center; white-space: nowrap; flex-shrink: 0;
            font-family: 'Thunder', sans-serif; font-size: clamp(1.2rem, 2.2vw, 1.9rem);
            text-transform: uppercase; letter-spacing: 0.12em;
        }
        .lineup-ticker--fwd .lineup-ticker-track { animation: lt-fwd 32s linear infinite; }
        .lineup-ticker--rev .lineup-ticker-track { animation: lt-rev 28s linear infinite; }
        .lt-item { color: var(--yellow); padding: 0 0.5em; }
        .lt-sep  { color: var(--red);    padding: 0 0.1em; font-size: 0.75em; line-height: 1; }
        .lt-sep-star { color: var(--green); padding: 0 0.2em; font-size: 0.7em; line-height: 1; }
        @keyframes lt-fwd { from { transform: translateX(0); } to { transform: translateX(-50%); } }
        @keyframes lt-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

        /* ── GALLERY FEATURED STICKER (HSG Asymmetric Overlap) ── */
        .fs-gallery-sticker {
            display: inline-block;
            font-family: 'Nohemi', sans-serif;
            font-weight: 700;
            font-size: clamp(1.4rem, 3vw, 2.5rem);
            text-transform: uppercase;
            background-color: var(--red);
            color: #ffffff;
            border: 4px solid #000000;
            box-shadow: 8px 8px 0px rgba(0,0,0,0.95);
            padding: 10px 26px;
            line-height: 1;
            letter-spacing: -0.01em;
            transform: rotate(-1.5deg);
            margin-left: -40px;
            position: relative;
            z-index: 20;
        }
        @media (max-width: 768px) {
            .fs-gallery-sticker { margin-left: 0; transform: rotate(-1deg); font-size: 1.4rem; }
        }

        /* --- Talks Section Styling --- */
        #talks {
            height: auto !important;
            min-height: 424px;
        }
        @media (min-width: 768px) {
            #talks { min-height: 480px; }
        }
        .talks-logo {
            height: auto;
            width: auto;
            max-height: 140px;
            object-fit: contain;
            object-position: left center;
        }
        @media (min-width: 768px) {
            .talks-logo { max-height: 180px; }
        }
        /* ── TALKS PERSONAGEM ── */
        #talks-personagem {
            position: absolute;
            height: 183%;
            top: calc(-5% - 120px);
            right: -152px;
            z-index: 5;
        }
        .talks-character-frame {
            display: block;
            position: static;
        }
        @media (max-width: 768px) {
            #talks {
                display: flex !important;
                flex-direction: column !important;
                align-items: center !important;
                width: 100% !important;
                position: relative !important;
            }
            .talks-main-container {
                display: grid !important;
                grid-template-columns: 1fr !important;
                gap: 32px !important;
                justify-items: start !important;
                text-align: left !important;
                width: 100% !important;
                padding-left: var(--pad-x) !important;
                padding-right: var(--pad-x) !important;
                box-sizing: border-box !important;
                position: relative !important;
                z-index: 10 !important;
            }
            .talks-logo-date-container {
                align-items: flex-start !important;
                text-align: left !important;
                justify-self: start !important;
            }
            .talks-character-frame {
                display: block !important;
                position: static !important;
            }
            #talks-personagem {
                position: absolute !important;
                height: clamp(560px, 120vh, 900px) !important;
                max-height: 900px !important;
                width: auto !important;
                bottom: 10px !important;
                right: -240px !important;
                top: auto !important;
                left: auto !important;
                display: block !important;
                z-index: 5 !important;
                object-fit: contain !important;
                mix-blend-mode: multiply !important;
            }
            .talks-circle {
                position: absolute !important;
                right: -120px !important;
                bottom: 150px !important;
                width: clamp(200px, 30vw, 300px) !important;
                height: auto !important;
                z-index: 4 !important;
                opacity: 0.85 !important;
                left: auto !important;
                top: auto !important;
                transform: none !important;
            }
            #hero-main-figure {
                position: absolute !important;
                right: -20px !important;
                bottom: 0px !important;
                height: 55vh !important;
                max-height: 520px !important;
                width: auto !important;
                display: block !important;
                z-index: 20 !important;
                top: auto !important;
                left: auto;
            }
            .hero-presentation-text {
                position: relative !important;
                left: 0 !important;
                text-align: center !important;
                margin-left: auto !important;
                margin-right: auto !important;
                width: 100% !important;
                max-width: 92% !important;
                padding: 0 16px !important;
                display: block !important;
            }
            .talks-content-pad {
                background: #fdf6e3 !important;
                padding: 24px !important;
                border: 4px solid #000 !important;
                box-shadow: 6px 6px 0px #000 !important;
                position: relative !important;
                z-index: 10 !important;
            }
            .talks-text-orange {
                color: #c45200 !important;
            }
        }

        .talks-card-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 4px solid #000;
            box-shadow: 6px 6px 0px #000;
            padding: 14px 28px;
            font-family: 'Thunder', sans-serif;
            font-size: 1.1rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            text-decoration: none;
            color: #fff;
            background-color: #000;
            cursor: pointer;
            transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease;
        }
        .talks-card-btn:hover { background-color: #fdf6e3; color: #000; transform: translate(2px,2px); box-shadow: 4px 4px 0px #000; }

        /* ── TIMELINE GEOMETRIC CARDS CAROUSEL (Minimal Brutalism) ── */
        .tl-carousel-viewport {
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            scroll-behavior: smooth;
            cursor: grab;
            /* hide scrollbar */
            scrollbar-width: none;
        }
        .tl-carousel-viewport::-webkit-scrollbar { display: none; }
        .tl-carousel-viewport:active { cursor: grabbing; }
        .tl-carousel-track {
            display: flex;
            gap: 20px;
        }
        .tl-card {
            flex-shrink: 0;
            width: min(360px, 82vw);
            border: 4px solid #000;
            background-color: #fff;
            display: flex;
            flex-direction: column;
            position: relative;
            box-shadow: 8px 8px 0px #000;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            cursor: pointer;
        }
        .tl-card:hover { transform: translate(-4px, -4px); box-shadow: 12px 12px 0px #000; }
        .tl-card-media {
            display: block;
            position: relative;
            overflow: hidden;
            aspect-ratio: 16 / 9;
            border-bottom: 4px solid #000;
            background: #000;
        }
        .tl-card-media img {
            width: 100%; height: 100%;
            object-fit: cover;
            display: block;
            pointer-events: none;
        }
        .tl-card-media::after {
            content: "";
            position: absolute; bottom: 0; left: 0;
            width: 100%; height: 8px;
            background-color: var(--tl-accent, var(--yellow));
            transform: scaleY(0);
            transform-origin: bottom;
            transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
            z-index: 2;
        }
        .tl-card:hover .tl-card-media::after { transform: scaleY(1); }
        .tl-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
        .tl-card-tag {
            font-family: 'Thunder', sans-serif;
            font-size: 0.78rem; font-weight: 700;
            text-transform: uppercase; letter-spacing: 0.18em;
            color: var(--tl-accent, var(--yellow));
            margin-bottom: 10px;
        }
        .tl-card { scroll-snap-align: start; }
        .tl-card-title {
            font-family: 'Nohemi', sans-serif;
            font-weight: 700;
            font-size: clamp(1.1rem, 2vw, 1.45rem);
            text-transform: uppercase;
            line-height: 1; margin-bottom: 12px;
            color: #000000; /* WCAG AA: black on white */
        }
        .tl-card-desc {
            font-family: 'Thunder', sans-serif;
            font-size: 0.9rem; font-weight: 400;
            line-height: 1.5; color: rgba(0,0,0,0.72);
            flex: 1;
        }
        .tl-card-cta {
            font-family: 'Thunder', sans-serif;
            font-size: 0.8rem; font-weight: 700;
            text-transform: uppercase;
            text-decoration: underline 2px;
            text-underline-offset: 4px;
            margin-top: 16px; align-self: flex-start;
            padding: 2px 6px;
            transition: background-color 0.15s ease;
        }
        .tl-card:hover .tl-card-cta { background-color: var(--tl-accent, var(--yellow)); }
        .tl-nav-btn {
            width: 48px; height: 48px;
            border: 4px solid #000; background: #fff;
            font-family: 'Thunder', sans-serif;
            font-size: 1.4rem; font-weight: 700;
            cursor: pointer; display: flex; align-items: center; justify-content: center;
            box-shadow: 4px 4px 0px #000;
            transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.15s ease;
        }
        .tl-nav-btn:hover { background-color: var(--yellow); transform: translate(2px, 2px); box-shadow: 2px 2px 0px #000; }
        .tl-nav-btn:disabled { opacity: 0.25; cursor: default; pointer-events: none; }

        /* ── MODAL ── */
        .modal-overlay {
            position: fixed; inset: 0; z-index: 9999;
            background: rgba(0,0,0,0.93);
            display: flex; align-items: center; justify-content: center;
            opacity: 0; transition: opacity 0.25s ease;
        }
        .modal-overlay.opacity-100 { opacity: 1; }
        .modal-close {
            position: absolute; top: 24px; right: 24px;
            width: 52px; height: 52px;
            background: var(--yellow); border: 4px solid #000;
            font-family: 'Thunder', sans-serif; font-size: 2rem; font-weight: 700; line-height: 1;
            cursor: pointer; z-index: 10;
            display: flex; align-items: center; justify-content: center;
            box-shadow: 5px 5px 0 #000; transition: transform 0.1s, box-shadow 0.1s;
        }
        .modal-close:hover { transform: translate(3px,3px); box-shadow: 2px 2px 0 #000; }
        .modal-container {
            position: relative;
            display: flex; align-items: center; justify-content: center;
        }
        /* Brutalist offset shadow block */
        .modal-container::before {
            content: ''; position: absolute;
            inset: 0; z-index: 0;
            background: var(--yellow);
            transform: translate(10px, 10px);
        }
        .modal-bg-layer { display: none; }
        .modal-img {
            position: relative; z-index: 1;
            max-width: 88vw; max-height: 82vh;
            object-fit: contain;
            border: 5px solid #000;
            display: block;
        }

        /* ── IS-STYLE ACERVO BANNER ── */
        .is-acervo-banner {
            background-color: #0e0e0e;
            border: 2px solid #fc3d33;
            border-radius: 0;
            padding: 28px 32px;
            display: flex; flex-direction: column;
            gap: 12px;
        }
        @media (min-width: 768px) {
            .is-acervo-banner { flex-direction: row; align-items: center; justify-content: space-between; }
        }
        .is-acervo-label {
            display: inline-flex; align-items: center; gap: 8px;
            background: #fc3d33; color: #fff;
            font-family: 'Thunder', sans-serif; font-size: 0.75rem;
            font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em;
            padding: 4px 12px; border-radius: 0; margin-bottom: 8px;
        }
        .is-acervo-title {
            font-family: 'Nohemi', sans-serif; font-weight: 700;
            font-size: clamp(1.2rem, 2.5vw, 1.8rem);
            text-transform: uppercase; color: #fff;
            line-height: 1; letter-spacing: -0.02em;
        }
        .is-acervo-desc {
            font-family: 'Thunder', sans-serif;
            font-size: clamp(0.95rem, 1.5vw, 1.1rem);
            color: rgba(255,255,255,0.6); line-height: 1.4;
        }
        .is-acervo-badge {
            display: inline-flex; align-items: center; justify-content: center;
            background: #ffe200; color: #000;
            font-family: 'Thunder', sans-serif; font-weight: 700;
            font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em;
            padding: 10px 20px; border-radius: 0;
            white-space: nowrap; flex-shrink: 0;
            border: 2px solid #000;
        }

        /* ── LINEUP — LEFT HEADER + RIGHT SCROLLABLE GRID ── */
        .lu-header {
            background: #000; border-bottom: 2px solid #1a1a1a;
            display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
            padding: 32px 40px;
        }
        @media (min-width: 768px) {
            .lu-header {
                position: sticky; top: 80px; z-index: 20;
                width: 35%; height: calc(100vh - 80px); 
                border-bottom: none; border-right: 2px solid #1a1a1a;
            }
        }
        .lu-title {
            font-family: 'Nohemi', sans-serif; font-weight: 700;
            font-size: clamp(2rem, 4vw, 3.5rem); text-transform: uppercase;
            color: #fff; line-height: 1; letter-spacing: -0.04em;
        }
        .lu-title span { color: #fc3d33; }
        .lu-day-btns { display: flex; gap: 10px; flex-wrap: wrap; width: 100%; }
        @media (min-width: 768px) {
            .lu-day-btns { flex-direction: column; gap: 12px; }
        }
        .lu-day-btn {
            all: unset; box-sizing: border-box; width: 100%;
            display: inline-flex; flex-direction: column; align-items: flex-start;
            border: 2px solid rgba(255,255,255,0.18);
            padding: 12px 20px; cursor: pointer;
            transition: background 0.18s ease, border-color 0.18s ease;
        }
        @media (min-width: 768px) {
            .lu-day-btn { padding: 16px 24px; }
        }
        .lu-day-btn:hover { border-color: rgba(255,255,255,0.45); }
        .lu-day-btn.is-active {
            border-color: var(--btn-accent, var(--yellow));
            background: var(--btn-accent, var(--yellow));
        }
        .lu-day-btn .lu-day-num {
            font-family: 'Nohemi', sans-serif; font-weight: 700;
            font-size: clamp(1.4rem, 2.5vw, 2.2rem);
            color: rgba(255,255,255,0.55); line-height: 1;
            letter-spacing: -0.04em; transition: color 0.18s ease;
        }
        .lu-day-btn.is-active .lu-day-num { color: #000; }
        .lu-day-btn .lu-day-label {
            font-family: 'Thunder', sans-serif; font-size: 0.8rem;
            color: rgba(255,255,255,0.35); text-transform: uppercase;
            letter-spacing: 0.16em; transition: color 0.18s ease;
        }
        .lu-day-btn.is-active .lu-day-label { color: rgba(0,0,0,0.65); }
        .lu-artist-grid {
            display: grid; grid-template-columns: 1fr;
            gap: 0;
        }
        @media (min-width: 768px) {
            .lu-artist-grid {
                width: 65%; height: calc(100vh - 80px); overflow-y: auto;
                grid-template-columns: repeat(2, 1fr); border-left: none;
            }
        }
        .lu-a-card {
            border-right: 2px solid #1a1a1a; border-bottom: 2px solid #1a1a1a;
            background: #0e0e0e; cursor: pointer;
            transition: background 0.15s ease, outline 0.15s ease;
        }
        .lu-a-card:hover { outline: 3px solid var(--lu-accent, #fc3d33); z-index: 10; outline-offset: -3px; }
        .lu-a-card.is-open { background: #161616; outline: 3px solid var(--lu-accent, #fc3d33); outline-offset: -3px; z-index: 10; }
        .lu-a-desc {
            display: none; padding: 12px 24px 20px;
            font-family: 'Thunder', sans-serif; font-size: 1rem; line-height: 1.5;
            color: rgba(255,255,255,0.52); border-top: 1px solid rgba(255,255,255,0.07);
        }
        .lu-a-card.is-open .lu-a-desc { display: block; }
        .lu-a-card.is-dimmed { opacity: 0.12; pointer-events: none; }
        .lu-a-details { padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; }
        .lu-a-day {
            font-family: 'Thunder', sans-serif; font-size: 0.82rem; font-weight: 700;
            text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,0.35);
        }
        .lu-a-name {
            font-family: 'Nohemi', sans-serif; font-weight: 700;
            font-size: clamp(1rem, 2vw, 1.4rem); text-transform: uppercase;
            color: #fff; letter-spacing: -0.02em; line-height: 1;
        }
        .lu-a-genre {
            font-family: 'Thunder', sans-serif; font-size: 0.9rem;
            text-transform: uppercase; color: var(--lu-accent, #fc3d33);
            letter-spacing: 0.1em; margin-top: 2px;
        }
        @media (max-width: 768px) {
            .lu-header { padding: 24px 20px; gap: 16px; }
            .lu-artist-grid { grid-template-columns: repeat(2, 1fr); border-left: none; }
        }
        @media (max-width: 480px) {
            .lu-artist-grid { grid-template-columns: 1fr; }
        }

        /* ── LINEUP COMPLETO — IS Sticker Names ── */
        .lu-sticker {
            display: inline-block;
            background-color: #1a1a1a;
            color: #ffffff;
            border: 2px solid rgba(255,255,255,0.18);
            padding: 7px 16px;
            font-family: 'Thunder', sans-serif;
            font-weight: 700;
            font-size: 1.25rem;
            text-transform: uppercase;
            line-height: 1;
            letter-spacing: 0.05em;
            cursor: default;
            transition: background-color 0.15s ease, color 0.15s ease;
        }
        .lu-sticker:hover {
            background-color: var(--lu-bg, var(--red));
            color: var(--lu-text, #000);
        }

        /* ── MOBILE MENU BUTTON & DRAWER OVERLAY ── */
        .mobile-menu-btn {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 32px;
            height: 22px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 2005;
        }
        .mobile-menu-btn .bar {
            width: 100%;
            height: 4px;
            background-color: #ffffff;
            transition: all 0.3s ease;
            border-radius: 2px;
        }

        @media (max-width: 768px) {
            #nav-menu-links {
                display: none !important;
            }
            .mobile-menu-btn {
                display: flex !important;
            }
        }

        /* Drawer overlay menu style */
        .mobile-drawer {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #000000; /* Solid neobrutalist dark background */
            z-index: 3000; /* Super high index above everything */
            transform: translateY(-100%);
            transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
            opacity: 0;
            visibility: hidden;
            display: block;
        }
        .mobile-drawer.is-open {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }
        .mobile-drawer-close {
            position: absolute;
            top: 24px;
            right: 24px;
            background: transparent;
            border: none;
            color: #ffffff;
            font-size: 3.5rem;
            cursor: pointer;
            line-height: 1;
            z-index: 3001;
            font-weight: 300;
        }
        .mobile-drawer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            height: 100%;
            padding: 80px 24px 40px 24px;
            box-sizing: border-box;
        }
        .drawer-link {
            font-family: 'Thunder', sans-serif;
            font-weight: 900;
            font-size: 2.5rem;
            color: #ffffff;
            text-decoration: none;
            transition: color 0.15s ease, transform 0.15s ease;
            letter-spacing: 0.05em;
            display: inline-block;
        }
        .drawer-link:hover, .drawer-link:active {
            color: var(--yellow) !important;
            transform: scale(1.08);
        }

        /* Remove yellow hover line on sponsor logo */
        #nav-link-apresentacao::after {
            display: none !important;
        }

/* Bento Grid Gallery */
.bento-grid-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: dense;
    grid-auto-rows: 150px;
    gap: 16px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--pad-x);
}
@media (min-width: 768px) {
    .bento-grid-gallery {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 180px;
        gap: 20px;
    }
}
@media (min-width: 1024px) {
    .bento-grid-gallery {
        grid-template-columns: repeat(5, 1fr);
        grid-auto-rows: 200px;
        gap: 24px;
    }
}

.bento-card {
    position: relative;
    height: 100%;
    width: 100%;
    border: 4px solid #000000;
    box-shadow: 6px 6px 0px #000000;
    background-color: #ffffff;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.2s ease;
}
.bento-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0px #000000;
}
.bento-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Span classes for bento layout */
.span-2x2 { grid-column: span 2; grid-row: span 2; }
.span-2x1 { grid-column: span 2; grid-row: span 1; }
.span-1x2 { grid-column: span 1; grid-row: span 2; }
.span-1x1 { grid-column: span 1; grid-row: span 1; }

.bento-grid-gallery.is-collapsed .bento-card:nth-child(n+15) {
    display: none;
}
