/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: linear-gradient(to bottom, rgba(3, 3, 8, 0.95) 0%, transparent 100%);
}

/* I18N visibility */
html[lang="en"] .es {
    display: none !important;
}

html[lang="es"] .en {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 18px;
    width: auto;
    filter: brightness(1);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.4s ease, transform 0.4s ease, filter 0.2s;
}

nav.scrolled .nav-logo img {
    opacity: 1;
    transform: translateY(0);
}

.nav-logo:hover img {
    filter: brightness(1.3) drop-shadow(0 0 8px var(--blue-glow));
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--grey-light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--blue);
}

/* HERO */

/* HERO */
.hero-title {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-img {
    width: clamp(280px, 60vw, 700px);
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.1));
}

.hero-socials {
    margin-top: 4rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

/* FOOTER */
footer {
    border-top: 1px solid var(--border);
    padding: 4rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    height: 16px;
    width: auto;
    opacity: 0.7;
}

.footer-socials {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-socials a {
    color: var(--grey);
    text-decoration: none;
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.footer-socials a:hover {
    color: var(--blue);
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    color: var(--grey);
    text-decoration: none;
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: var(--white);
}

.footer-copy {
    font-family: 'DM Mono', monospace;
    font-size: 0.6rem;
    color: var(--grey);
    letter-spacing: 0.15em;
}

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineIn {
    to {
        transform: scaleX(1);
    }
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 1;
        transform: scaleY(1);
    }

    50% {
        opacity: 0.3;
        transform: scaleY(0.7);
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE — tablet */
@media (max-width: 900px) {
    nav {
        padding: 1.2rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    #release,
    #works,
    #booking {
        padding: 5rem 1.5rem;
    }

    #tour {
        padding: 5rem 1.5rem;
    }

    .release-card {
        grid-template-columns: 1fr;
    }

    .release-artwork {
        min-height: 260px;
    }

    .works-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tour-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tour-date-item:last-child:nth-child(3n+1) {
        grid-column: span 2;
    }

    .booking-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-socials {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* RESPONSIVE — iPhone */
@media (max-width: 540px) {

    /* Nav */
    nav {
        padding: 1rem 1.25rem;
    }

    .nav-logo img {
        height: 14px;
    }

    /* Hero */
    #hero {
        min-height: 100svh;
        overflow: hidden;
    }

    .hero-content {
        padding: 0 1.25rem;
        text-align: center;
    }

    .hero-title {
        margin: 0;
        display: flex;
        justify-content: center;
    }

    .hero-logo-img {
        width: 100%;
        max-width: 300px;
        height: auto;
        display: block;
        margin: 0 auto;
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.1));
    }

    .hero-socials {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 250px;
        margin: 2rem auto 0;
        gap: 0.5rem;
    }

    .hero-socials a {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
        letter-spacing: 0.1em;
    }

    .scroll-indicator {
        display: none;
    }

    /* Release */
    #release {
        padding: 4rem 1.25rem;
    }

    .release-artwork {
        min-height: 220px;
    }

    .release-info {
        padding: 2rem 1.5rem;
        gap: 1.2rem;
    }

    .release-track {
        font-size: 2.2rem;
    }

    .release-collab {
        font-size: 0.9rem;
        letter-spacing: 0.15em;
    }

    .release-ctas {
        flex-direction: column;
        gap: 0.6rem;
    }

    .btn-primary,
    .btn-outline {
        text-align: center;
        padding: 0.85rem 1.5rem;
    }

    /* Marquee */
    #support {
        padding: 1.2rem 0 1.8rem;
    }

    .marquee-name {
        font-size: 0.78rem;
    }

    /* Catalogue (Music) */
    #works {
        padding: 3rem 1.25rem;
        overflow: hidden;
    }

    .works-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .works-title {
        font-size: 2.2rem;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .track-row {
        gap: 1.5rem;
        padding: 1.2rem;
        border-radius: 8px;
    }

    .tr-meta {
        gap: 0.8rem;
    }

    .track-title {
        font-size: 1.5rem;
    }

    .tr-embed {
        min-height: 80px;
        /* Compress the height in mobile if necessary or adapt it */
    }

    /* Booking */
    #booking {
        padding: 4rem 1.25rem;
    }

    .booking-contact {
        padding: 1.75rem 1.25rem;
    }

    .booking-contact-title {
        font-size: 1.5rem;
    }

    .booking-email-block {
        padding: 1rem 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        position: relative;
    }

    .beb-label {
        min-width: unset;
        font-size: 0.56rem;
    }

    .beb-address {
        font-size: 0.78rem;
        letter-spacing: 0.03em;
    }

    .beb-arrow {
        position: absolute;
        top: 1rem;
        right: 1.25rem;
    }

    /* Footer */
    footer {
        padding: 2.5rem 1.25rem;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .footer-logo img {
        height: 14px;
        margin-bottom: 0.5rem;
    }

    .footer-socials {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .footer-legal-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .footer-copy {
        margin-top: 1rem;
    }
}

/* COOKIE BANNER */