/* ===================================
   SPAGHETTI UNPLUGGED 2027
   HOME - NAVBAR + HERO VIDEO
   =================================== */

@font-face {
    font-family: 'NewEdge 666';
    src: url('font/Charlotte Rohde - NewEdge 666 Rounded.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NewEdge 666';
    src: url('font/Charlotte Rohde - NewEdge 666 Light Rounded.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

/* Contenitore Hero */
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #a6a6a6;
    isolation: isolate;
}

/* Video a tutta superficie */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Fascia marquee sotto la Hero */
.music-marquee {
    --music-marquee-duration: 36s;
    display: flex;
    width: 100%;
    height: 32px;
    align-items: center;
    overflow: hidden;
    background-color: #b4ff00;
    color: #000;
}

.music-marquee__track {
    display: flex;
    width: max-content;
    flex: 0 0 auto;
    animation: music-marquee-scroll var(--music-marquee-duration) linear infinite;
    will-change: transform;
}

.music-marquee__group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
}

.music-marquee__phrase {
    flex: 0 0 auto;
    padding-right: 16px;
    color: #000;
    font-family: 'NewEdge 666', sans-serif;
    font-size: 17.35px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

@keyframes music-marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .music-marquee__track {
        animation: none;
        transform: none;
    }
}

/* Navbar fissa e trasparente sopra la pagina */
.hero-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: transparent;
    mix-blend-mode: difference;
}

/* Collegamenti navbar */
.hero-navbar a {
    font-family: 'NewEdge 666', sans-serif;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
}

.hero-navbar a:hover {
    text-decoration: underline;
}

/* Dimensione base dei testi del menu */
.hero-navbar a,
.mobile-menu-brand,
.mobile-menu-links a {
    font-size: 30px;
}

.mobile-brand,
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-panel {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: #ffffff;
    color: #000;
    font-family: 'NewEdge 666', sans-serif;
    mix-blend-mode: normal;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 800ms;
    will-change: transform;
}

.mobile-menu-panel.is-open {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0s;
}

.mobile-menu-header {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
}

.mobile-menu-brand,
.mobile-menu-links a {
    color: #000;
    font-family: 'NewEdge 666', sans-serif;
    font-weight: 400;
    text-decoration: none;
}

.mobile-menu-brand {
    font-size: 30px;
    line-height: 1.2;
    white-space: nowrap;
}

.mobile-menu-links {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    transform: translate(-50%, -50%);
}

.mobile-menu-links a {
    font-size: 30px;
    line-height: 1.2;
    white-space: nowrap;
}

.mobile-menu-links a:hover {
    text-decoration: underline;
}

body.mobile-menu-open {
    overflow: hidden;
}

/* MOBILE */
@media (max-width: 767.98px) {
    .hero {
        aspect-ratio: 9 / 16;
    }

    .hero-video {
        object-fit: cover;
        object-position: center center;
    }

    .hero-navbar {
        padding: 10px 14px;
        gap: 8px;
    }

    .hero-navbar .desktop-nav-link {
        display: none;
    }

    .hero-navbar .mobile-brand {
        display: block;
    }

    .hero-navbar .mobile-brand {
        font-size: 20px;
        line-height: 1.2;
        white-space: nowrap;
        color: #fff;
    }

    .mobile-menu-header .mobile-menu-brand {
        font-size: 20px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .mobile-menu-toggle {
        position: fixed;
        top: 17px;
        right: 14px;
        z-index: 1001;
        display: block;
        width: 28px;
        height: 22px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        mix-blend-mode: difference;
    }

    .mobile-menu-toggle span {
        display: block;
        position: absolute;
        left: 3px;
        width: 22px;
        height: 1px;
        background: #fff;
        transform-origin: center;
        transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-menu-toggle span:first-child {
        top: 5px;
    }

    .mobile-menu-toggle span:last-child {
        bottom: 5px;
    }

    .mobile-menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(5.5px) rotate(45deg);
    }

    .mobile-menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-5.5px) rotate(-45deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-menu-panel,
    .mobile-menu-toggle span {
        transition: none;
    }
}

/* MENU DESKTOP */
@media (min-width: 768px) {
    .hero-navbar {
        padding-top: 10px;
    }

    .hero-navbar .desktop-nav-link {
        font-size: 30px;
    }

    .hero-navbar .desktop-brand {
        font-size: 40.5px;
    }
}

/* PROSSIMI EVENTI */
.events-section {
    width: 100%;
    padding: 56px 16px 10px;
    overflow: hidden;
    background: #fff;
    color: #000;
}

.events-container {
    padding: 0;
}

.events-layout {
    --bs-gutter-x: 0;
    align-items: start;
}

.events-heading h2 {
    margin: 0;
    color: #000;
    font-family: 'NewEdge 666', sans-serif;
    font-size: 60px;
    font-weight: 400;
    line-height: 1;
}

.events-content {
    min-width: 0;
}

.events-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, min(513px, calc((100% - 12px) / 2))));
    gap: 12px;
}

.event-card {
    min-width: 0;
    overflow: hidden;
}

.event-poster-block {
    display: flex;
    width: 100%;
    aspect-ratio: 1 / 1;
    flex-direction: column;
    overflow: hidden;
}

.event-poster {
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    background: #d9d9d9;
}

.event-marquee {
    --music-marquee-duration: 14s;
    flex: 0 0 22px;
    height: 22px;
}

.event-marquee--roma {
    background-color: #0b2cff;
    color: #fff;
}

.event-marquee--milano {
    background-color: #b4ff00;
    color: #000;
}

.event-marquee .music-marquee__phrase {
    color: inherit;
    font-size: 17.35px;
    line-height: 22px;
}

.event-ticket-bar {
    display: flex;
    width: 100%;
    height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 10px 0 14px;
    background: #000;
    color: #fff;
    font-family: 'NewEdge 666', sans-serif;
    font-size: 17.35px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

.event-ticket-bar:hover,
.event-ticket-bar:focus {
    color: #fff;
    text-decoration: none;
}

.event-ticket-bar:focus-visible {
    outline: 2px solid #0b2cff;
    outline-offset: 2px;
}

.event-ticket-bar .event-ticket-bar__arrow {
    display: inline-block;
    flex: 0 0 auto;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    transform: rotate(45deg);
    -webkit-text-stroke: 0;
}

.events-all-link {
    display: block;
    width: max-content;
    margin: 10px 0 0 auto;
    color: #000;
    font-family: 'NewEdge 666', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 767.98px) {
    .events-section {
        padding: 20px 32px 10px;
        overflow: hidden;
    }

    .events-heading {
        margin-bottom: 14px;
    }

    .events-heading h2 {
        font-family: 'NewEdge 666', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 50px;
        line-height: 1;
        letter-spacing: 0;
    }

    .events-content {
        width: calc(100% + 32px);
        max-width: none;
        margin-right: -32px;
        padding: 0 32px 0 0;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .events-content::-webkit-scrollbar {
        display: none;
    }

    .events-track {
        display: flex;
        width: max-content;
        gap: 12px;
    }

    .event-card {
        flex: 0 0 265px;
        width: 265px;
        max-width: 265px;
        scroll-snap-align: start;
    }

    .event-poster-block {
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    .event-marquee {
        flex-basis: 18px;
        height: 18px;
    }

    .event-marquee .music-marquee__phrase {
        font-size: 17.35px;
        line-height: 18px;
    }

    .event-ticket-bar {
        height: 38px;
        padding: 0 7px 0 9px;
        font-size: 17.35px;
    }

    .events-all-link {
        margin-top: 10px;
    }
}

/* BANNER ISCRIZIONE OPEN MIC */
.open-mic-cta {
    --open-mic-background: #0b2cff;
    --open-mic-font-size: 30px;
    --open-mic-padding-block: clamp(1.25rem, 4vw, 3rem);
    width: 100%;
    background: var(--open-mic-background);
}

.open-mic-cta__link {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.25em;
    padding: var(--open-mic-padding-block) clamp(1rem, 4vw, 3rem);
    color: #fff;
    font-family: 'NewEdge 666', sans-serif;
    font-size: var(--open-mic-font-size);
    font-weight: 400;
    line-height: 1;
    text-align: center;
    text-decoration: none;
}

.open-mic-cta__arrow {
    display: inline-block;
    flex: 0 0 auto;
    font-size: 36px;
    line-height: 1;
    transform: rotate(45deg);
    -webkit-text-stroke: 0;
}

@media (max-width: 767.98px) {
    .open-mic-cta {
        --open-mic-font-size: clamp(1.5rem, 7vw, 2.5rem);
        --open-mic-padding-block: clamp(1rem, 5vw, 2rem);
    }
}

/* Banner Open Mic - Desktop */
@media (min-width: 768px) {
    .open-mic-cta {
        height: 103px;
    }

    .open-mic-cta__link {
        height: 100%;
        box-sizing: border-box;
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* CHI SIAMO - valori provvisori, da verificare con Figma */
.about-section {
    --about-section-padding: clamp(1.5rem, 5vw, 5rem);
    --about-column-gap: clamp(1.5rem, 4vw, 4rem);
    --about-gallery-gap: clamp(0.75rem, 1.5vw, 1.5rem);
    --about-lead-size: clamp(1.5rem, 2.5vw, 2.5rem);
    --about-secondary-size: clamp(1rem, 1.4vw, 1.25rem);
    padding: var(--about-section-padding) 0;
    background-color: #fff;
    color: #000;
    font-family: 'NewEdge 666', sans-serif;
}

.about-container {
    padding-right: var(--about-section-padding);
    padding-left: var(--about-section-padding);
}

.about-layout {
    row-gap: var(--about-column-gap);
}

#chi-siamo h2 {
    margin: 0;
    font-family: 'NewEdge 666', sans-serif;
    font-size: 60px;
    font-weight: 400;
    line-height: 1;
    text-align: left;
}

/* CHI SIAMO - PRIMO PARAGRAFO */
#chi-siamo p:first-of-type {
    font-family: 'NewEdge 666', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: justify;
}

/* CHI SIAMO - SECONDO PARAGRAFO */
#chi-siamo p:nth-of-type(2) {
    font-family: 'NewEdge 666', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
    line-height: 110%;
    letter-spacing: 0;
    text-align: justify;
}

.about-copy {
    display: grid;
    gap: var(--about-column-gap);
}

.about-copy p {
    margin: 0;
}

.about-copy-lead {
    font-size: var(--about-lead-size);
    line-height: 1.15;
}

.about-copy-secondary {
    font-size: var(--about-secondary-size);
    line-height: 1.35;
}

/* CHI SIAMO - GALLERIA */
.about-gallery {
    margin-top: var(--about-column-gap);
    width: 100%;
    overflow: visible;
}

.about-gallery-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: calc(1539px + 2 * var(--about-gallery-gap));
    gap: var(--about-gallery-gap);
}

.about-gallery-placeholder {
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
    background-color: #e5e5e5;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    .about-container {
        --about-layout-gutter: min(var(--about-column-gap), 2rem);
        padding-left: calc(var(--about-layout-gutter) * 0.5);
        padding-right: calc(var(--about-layout-gutter) * 0.5);
    }

    .about-layout {
        --bs-gutter-x: var(--about-layout-gutter);
        align-items: start;
    }
}

/* CHI SIAMO - MOBILE */
@media (max-width: 767.98px) {
    .about-section {
        padding: 32px 0 48px;
    }

    .about-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .about-layout {
        row-gap: 40px;
    }

    #chi-siamo h2 {
        font-size: 50px;
        font-weight: 400;
        line-height: 100%;
        letter-spacing: 0;
        text-align: left;
    }

    .about-copy {
        gap: 24px;
    }

    #chi-siamo p.about-copy-lead {
        font-family: 'NewEdge 666', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 26.9px;
        line-height: 100%;
        letter-spacing: 0;
        text-align: justify;
    }

    #chi-siamo p.about-copy-secondary {
        font-family: 'NewEdge 666', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 16.81px;
        line-height: 110%;
        letter-spacing: 0;
        text-align: justify;
    }

    .about-gallery {
        width: calc(100% + 16px);
        margin-top: 40px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .about-gallery::-webkit-scrollbar {
        display: none;
    }

    .about-gallery-track {
        display: flex;
        width: max-content;
        max-width: none;
        gap: 12px;
    }

    .about-gallery-placeholder {
        flex: 0 0 324px;
        width: 324px;
        height: 324px;
        aspect-ratio: 1 / 1;
        scroll-snap-align: start;
    }
}

/* INFO UTILI - misure provvisorie in attesa di verifica Figma */
.info-section {
    --info-section-padding-block: clamp(2rem, 5vw, 5rem);
    --info-section-padding-inline: clamp(1rem, 5vw, 5rem);
    --info-column-gap: clamp(1.5rem, 4vw, 4rem);
    --info-title-size: clamp(2.5rem, 5vw, 3.75rem);
    --info-heading-size: clamp(1.75rem, 3vw, 2.5rem);
    --info-copy-size: clamp(1rem, 1.5vw, 1.375rem);
    padding: var(--info-section-padding-block) 0;
    background-color: #0b2cff;
    color: #fff;
    font-family: 'NewEdge 666', sans-serif;
}

.info-container {
    padding-right: var(--info-section-padding-inline);
    padding-left: var(--info-section-padding-inline);
}

.info-layout {
    --bs-gutter-x: var(--info-column-gap);
    row-gap: var(--info-column-gap);
    align-items: start;
}

.info-heading h2,
.info-content h3 {
    margin: 0;
    font-family: 'NewEdge 666', sans-serif;
    font-weight: 400;
    line-height: 1;
    text-align: left;
}

.info-heading h2 {
    font-size: var(--info-title-size);
}

.info-content h3 {
    margin-bottom: clamp(1rem, 2vw, 2rem);
    font-size: var(--info-heading-size);
}

.info-content p {
    margin: 0;
    font-family: 'NewEdge 666', sans-serif;
    font-size: var(--info-copy-size);
    font-weight: 400;
    line-height: 1.2;
    text-align: justify;
}

.info-content p + p {
    margin-top: 1em;
}

@media (max-width: 767.98px) {
    /* INFO UTILI - MOBILE: valori Figma */
    .info-section {
        --info-section-padding-block: 2rem;
        --info-section-padding-inline: 1rem;
        --info-column-gap: 2rem;
        --info-title-size: 50px;
        --info-heading-size: 30px;
        --info-copy-size: 20px;
    }

    .info-heading h2,
    .info-content h3 {
        font-weight: 400;
        line-height: 100%;
        letter-spacing: 0;
        text-align: left;
    }

    .info-content p {
        font-weight: 400;
        line-height: 110%;
        letter-spacing: 0;
        text-align: justify;
    }
}

/* INFO UTILI - DESKTOP: valori Figma */
@media (min-width: 768px) {
    .info-container {
        --info-layout-gutter: min(var(--info-column-gap), 2rem);
        padding-left: calc(var(--info-layout-gutter) * 0.5);
        padding-right: calc(var(--info-layout-gutter) * 0.5);
    }

    .info-layout {
        --bs-gutter-x: var(--info-layout-gutter);
    }

    .info-section {
        --info-title-size: 60px;
        --info-heading-size: 40px;
        --info-copy-size: 30px;
    }

    .info-heading h2,
    .info-content h3 {
        font-weight: 400;
        line-height: 100%;
        letter-spacing: 0;
        text-align: left;
    }

    .info-content p {
        font-weight: 400;
        line-height: 110%;
        letter-spacing: 0;
        text-align: justify;
    }
}

/* ADATTAMENTO SCHERMI DESKTOP */
@media (min-width: 1200px) {
    /* Prossimi eventi */
    .events-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Chi siamo - Galleria */
    .about-gallery-track {
        width: 100%;
        max-width: none;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* FAQ - misure provvisorie in attesa di verifica Figma */
.faq-section {
    --faq-section-padding-block: clamp(2rem, 5vw, 5rem);
    --faq-title-size: clamp(2.5rem, 5vw, 3.75rem);
    --faq-question-size: clamp(1.25rem, 2vw, 1.75rem);
    --faq-answer-size: clamp(1rem, 1.4vw, 1.25rem);
    --faq-item-padding-block: clamp(1rem, 2vw, 1.5rem);
    --faq-rule-color: #777;
    padding: var(--faq-section-padding-block) 0;
    background-color: #fff;
    color: #000;
    font-family: 'NewEdge 666', sans-serif;
}

.faq-container {
    padding-right: 16px;
    padding-left: 16px;
}

.faq-layout {
    --bs-gutter-x: clamp(1.5rem, 4vw, 4rem);
    row-gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

@media (min-width: 768px) {
    .faq-container {
        --faq-layout-gutter: min(clamp(1.5rem, 4vw, 4rem), 2rem);
        padding-left: calc(var(--faq-layout-gutter) * 0.5);
        padding-right: calc(var(--faq-layout-gutter) * 0.5);
    }

    .faq-layout {
        --bs-gutter-x: var(--faq-layout-gutter);
    }
}

.faq-heading h2 {
    margin: 0;
    color: #000;
    font-family: 'NewEdge 666', sans-serif;
    font-size: var(--faq-title-size);
    font-weight: 400;
    line-height: 1;
    text-align: left;
}

.faq-accordion,
.faq-item {
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #000;
    box-shadow: none;
}

.faq-accordion {
    border-top: 1px solid var(--faq-rule-color);
    border-bottom: 1px solid var(--faq-rule-color);
}

.faq-accordion > .faq-item {
    border: 0;
    border-bottom: 1px solid var(--faq-rule-color);
}

.faq-accordion > .faq-item:last-child {
    border-bottom: 0;
}

.faq-question,
.faq-question:not(.collapsed),
.faq-question:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: var(--faq-item-padding-block) 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #000;
    font-family: 'NewEdge 666', sans-serif;
    font-size: var(--faq-question-size);
    font-weight: 400;
    line-height: 1.1;
    text-align: left;
    box-shadow: none;
}

.faq-question::after {
    display: none;
}

.faq-question:focus-visible {
    position: relative;
    z-index: 1;
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.faq-symbol {
    display: inline-grid;
    flex: 0 0 auto;
    width: 1em;
    height: 1em;
    place-items: center;
    font-family: 'NewEdge 666', sans-serif;
    font-size: 1.15em;
    line-height: 1;
}

.faq-symbol-minus {
    display: none;
}

.faq-question[aria-expanded="true"] .faq-symbol-plus {
    display: none;
}

.faq-question[aria-expanded="true"] .faq-symbol-minus {
    display: inline;
}

.faq-answer {
    padding: 0 0 var(--faq-item-padding-block);
    color: #000;
    font-family: 'NewEdge 666', sans-serif;
    font-size: var(--faq-answer-size);
    font-weight: 400;
    line-height: 1.2;
}

.faq-answer p {
    margin: 0;
    text-align: justify;
}

.faq-answer p + p {
    margin-top: 1em;
}

@media (max-width: 767.98px) {
    /* FAQ - MOBILE: valori Figma */
    .faq-section {
        --faq-section-padding-block: 2rem;
        --faq-title-size: 50px;
        --faq-question-size: 40px;
        --faq-answer-size: 20px;
        --faq-item-padding-block: 1rem;
    }

    .faq-layout {
        row-gap: 1.5rem;
    }

    .faq-heading h2,
    .faq-question,
    .faq-answer {
        font-family: 'NewEdge 666', sans-serif;
        font-weight: 400;
        font-style: normal;
        line-height: 100%;
        letter-spacing: 0;
    }

    .faq-answer p {
        text-align: justify;
    }
}

/* FAQ - DESKTOP: valori Figma */
@media (min-width: 1200px) {
    .faq-section {
        --faq-title-size: 60px;
        --faq-question-size: 50.08px;
        --faq-answer-size: 30px;
    }

    .faq-heading h2,
    .faq-question,
    .faq-answer {
        font-weight: 400;
        font-style: normal;
        line-height: 100%;
        letter-spacing: 0;
    }

    .faq-question {
        align-items: center;
    }

    .faq-answer p {
        text-align: justify;
    }
}

/* FOOTER - misure provvisorie in attesa di verifica Figma */
.site-footer {
    --footer-padding-block: clamp(2.5rem, 6vw, 6rem);
    --footer-padding-inline: clamp(1rem, 4vw, 4rem);
    --footer-column-gap: clamp(1.5rem, 3vw, 3rem);
    --footer-text-size: clamp(0.95rem, 1.2vw, 1.125rem);
    --footer-title-size: clamp(1rem, 1.4vw, 1.25rem);
    --footer-wordmark-size: clamp(2rem, 3vw, 3rem);
    width: 100%;
    padding: var(--footer-padding-block) 0 clamp(1rem, 2vw, 2rem);
    background: #000;
    color: #fff;
    font-family: 'NewEdge 666', sans-serif;
    font-size: var(--footer-text-size);
    font-weight: 400;
}

.site-footer__container {
    padding-right: var(--footer-padding-inline);
    padding-left: var(--footer-padding-inline);
}

.site-footer__columns {
    --bs-gutter-x: var(--footer-column-gap);
    row-gap: var(--footer-column-gap);
}

.site-footer__area h2 {
    margin: 0 0 0.75em;
    color: #fff;
    font-family: 'NewEdge 666', sans-serif;
    font-size: var(--footer-title-size);
    font-weight: 400;
    line-height: 1;
}

.site-footer__area p,
.site-footer__area ul {
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 1.25;
}

.site-footer__area li + li {
    margin-top: 0.4em;
}

.site-footer__wordmark {
    display: inline-block;
    color: #fff;
    font-family: 'NewEdge 666', sans-serif;
    font-size: var(--footer-wordmark-size);
    font-weight: 400;
    line-height: 0.9;
    text-decoration: none;
}

.site-footer__tagline {
    margin-top: 0.9rem !important;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.site-footer__bottom {
    margin-top: clamp(2rem, 5vw, 5rem);
}

.site-footer__bottom p {
    margin: 0;
    color: #fff;
    font-size: var(--footer-text-size);
    line-height: 1.2;
    text-align: right;
}

@media (max-width: 767.98px) {
    .site-footer {
        --footer-padding-block: 2rem;
        --footer-padding-inline: 1rem;
        --footer-column-gap: 1.75rem;
        --footer-text-size: 1rem;
        --footer-title-size: 1rem;
        --footer-wordmark-size: 30px;
    }

    .site-footer__bottom {
        margin-top: 2rem;
    }

    .site-footer__bottom p {
        text-align: right;
    }
}

/* FOOTER - LOGO DESKTOP: valori Figma */
@media (min-width: 1200px) {
    .site-footer__wordmark {
        font-family: 'NewEdge 666', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 40.5px;
        line-height: 100%;
        letter-spacing: 0;
        text-align: center;
        text-transform: uppercase;
    }
}

/* FOOTER - SLOGAN DESKTOP: valori Figma */
@media (min-width: 1200px) {
    .site-footer__tagline {
        font-family: 'NewEdge 666', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 17.35px;
        line-height: 140%;
        letter-spacing: 0;
        text-align: center;
    }
}

/* FOOTER - ALLINEAMENTO SLOGAN DESKTOP */
@media (min-width: 1200px) {
    .site-footer__tagline {
        margin-top: 2px !important;
        text-align: left;
    }
}

/* FOOTER - CONTATTI DESKTOP: valori Figma */
@media (min-width: 1200px) {
    /* Seconda colonna: CONTATTI */
    .site-footer__columns > .site-footer__area:nth-child(2) {
        text-align: right;
    }

    /* Titolo CONTATTI */
    .site-footer__columns > .site-footer__area:nth-child(2) h2 {
        font-family: 'NewEdge 666', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 14px;
        line-height: 100%;
        letter-spacing: 0;
        text-align: right;
        text-transform: uppercase;
    }

    /* Indirizzo email */
    .site-footer__columns > .site-footer__area:nth-child(2) a {
        font-family: 'NewEdge 666', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 14px;
        line-height: 140%;
        letter-spacing: 0;
        text-align: right;
    }
}

/* FOOTER - SEGUICI DESKTOP: valori Figma */
@media (min-width: 1200px) {
    /* Quarta colonna: SEGUICI */
    .site-footer__social {
        text-align: right;
    }

    /* Titolo SEGUICI */
    .site-footer__social h2 {
        font-family: 'NewEdge 666', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 14px;
        line-height: 100%;
        letter-spacing: 0;
        text-align: right;
        text-transform: uppercase;
    }

    /* Instagram e Facebook */
    .site-footer__social li {
        font-family: 'NewEdge 666', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 14px;
        line-height: 140%;
        letter-spacing: 0;
        text-align: right;
    }
}

/* FOOTER - COPYRIGHT DESKTOP: valori Figma */
@media (min-width: 1200px) {
    .site-footer__bottom p {
        font-family: 'NewEdge 666', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 10px;
        line-height: 140%;
        letter-spacing: 0;
        text-align: right;
    }
}

/* FOOTER - SLOGAN MOBILE: valori Figma */
@media (max-width: 767.98px) {
    .site-footer__tagline {
        font-family: 'NewEdge 666', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 11.23px;
        line-height: 140%;
        letter-spacing: 0;
        text-align: center;
    }
}

/* FOOTER - DISPOSIZIONE MOBILE */
@media (max-width: 767.98px) {
    .site-footer__columns {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 12px;
        row-gap: 24px;
        margin: 0;
        --bs-gutter-x: 0;
    }

    .site-footer__columns > .site-footer__area {
        width: auto;
        max-width: none;
        min-width: 0;
        padding: 0;
        margin-top: 0;
    }

    /* Logo e slogan a sinistra */
    .site-footer__brand-area {
        grid-column: 1;
        grid-row: 1 / 4;
        text-align: left;
    }

    .site-footer__brand-area .site-footer__tagline {
        text-align: left;
    }

    /* CONTATTI in alto a destra */
    .site-footer__columns > .site-footer__area:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
        text-align: right;
    }

    /* LEGAL sotto CONTATTI */
    .site-footer__columns > .site-footer__area:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
        text-align: right;
    }

    /* SEGUICI sotto LEGAL */
    .site-footer__social {
        grid-column: 2;
        grid-row: 3;
        text-align: right;
    }

    /* Allineamento dei testi di destra */
    .site-footer__columns > .site-footer__area:not(.site-footer__brand-area) h2,
    .site-footer__columns > .site-footer__area:not(.site-footer__brand-area) ul {
        text-align: right;
    }

    /* Copyright in basso a destra */
    .site-footer__bottom p {
        text-align: right;
    }
}

/* FOOTER - DISTANZA LOGO E SLOGAN MOBILE */
@media (max-width: 767.98px) {
    .site-footer__tagline {
        margin-top: 2px !important;
    }
}

/* FOOTER - CONTATTI MOBILE: valori Figma */
@media (max-width: 767.98px) {
    /* Titolo CONTATTI */
    .site-footer__columns > .site-footer__area:nth-child(2) h2 {
        font-family: 'NewEdge 666', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 11px;
        line-height: 100%;
        letter-spacing: 0;
        text-align: right;
        text-transform: uppercase;
    }

    /* Indirizzo email */
    .site-footer__columns > .site-footer__area:nth-child(2) a {
        font-family: 'NewEdge 666', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 11px;
        line-height: 140%;
        letter-spacing: 0;
        text-align: right;
    }
}

/* FOOTER - SEGUICI MOBILE: valori Figma */
@media (max-width: 767.98px) {
    /* Titolo SEGUICI */
    .site-footer__social h2 {
        font-family: 'NewEdge 666', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 11px;
        line-height: 100%;
        letter-spacing: 0;
        text-align: right;
        text-transform: uppercase;
    }

    /* Instagram e Facebook */
    .site-footer__social li {
        font-family: 'NewEdge 666', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 11px;
        line-height: 140%;
        letter-spacing: 0;
        text-align: right;
    }
}

/* FOOTER - COPYRIGHT MOBILE: valori Figma */
@media (max-width: 767.98px) {
    .site-footer__bottom p {
        font-family: 'NewEdge 666', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 8px;
        line-height: 140%;
        letter-spacing: 0;
        text-align: right;
    }
}

/* HAMBURGER MOBILE - FISSO DURANTE LO SCROLL */
@media (max-width: 767.98px) {
    .mobile-menu-toggle {
        position: fixed;
    }
}

/* FOOTER MOBILE - NUOVA DISPOSIZIONE SENZA LEGAL */
@media (max-width: 767.98px) {
    .site-footer__brand-area {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .site-footer__columns > .site-footer__area:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .site-footer__social {
        grid-column: 2;
        grid-row: 2;
    }
}

/* TITOLI PROSSIMI EVENTI E CHI SIAMO - DESKTOP */
@media (min-width: 768px) {
    .events-heading h2,
    #chi-siamo h2 {
        font-size: 40.5px;
    }
}

/* TITOLI SEZIONI - DESKTOP E MOBILE */
.events-heading h2,
#chi-siamo h2,
.info-heading h2 {
    font-size: 50px;
}

/* CHI SIAMO - PRIMO PARAGRAFO */
#chi-siamo p.about-copy-lead {
    font-size: 30px;
}

/* FAQ - TITOLO DESKTOP E MOBILE */
.faq-heading h2 {
    font-size: 50px;
}

/* FAQ - TITOLI DELLE DOMANDE */
.faq-section {
    --faq-question-size: 40px;
}

/* PROSSIMI EVENTI - LOCANDINE DESKTOP */
@media (min-width: 768px) {
    .event-poster-block {
        aspect-ratio: auto;
    }

    .event-poster {
        min-height: 18.5rem;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

/* CHI SIAMO - GALLERIA SCORREVOLE DESKTOP */
@media (min-width: 768px) {
    .about-gallery {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        overscroll-behavior-x: contain;
    }

    .about-gallery-track {
        display: flex;
        width: max-content;
        max-width: none;
        gap: 12px;
    }

    .about-gallery-placeholder {
        flex: 0 0 513px;
        width: 513px;
        height: 513px;
        min-height: 0;
        aspect-ratio: 1 / 1;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        scroll-snap-align: start;
    }
}

/* CHI SIAMO - FOTO GALLERIA */
.about-gallery-photo--8083 {
    background-image: url('img/artisti/IMG_8083.JPEG');
    background-position: center 25%;
}

.about-gallery-photo--8084 {
    background-image: url('img/artisti/IMG_8084.JPEG');
    background-position: center 35%;
}

.about-gallery-photo--8085 {
    background-image: url('img/artisti/IMG_8085.JPEG');
}

.about-gallery-photo--8086 {
    background-image: url('img/artisti/IMG_8086.JPEG');
    background-position: center 0%;
}

.about-gallery-photo--8087 {
    background-image: url('img/artisti/IMG_8087.JPEG');
}

.about-gallery-photo--8088 {
    background-image: url('img/artisti/IMG_8088.JPEG');
}

.about-gallery-photo--8090 {
    background-image: url('img/artisti/IMG_8090.JPEG');
}

.about-gallery-photo--8091 {
    background-image: url('img/artisti/IMG_8091.JPEG');
}

.about-gallery-photo--8092 {
    background-image: url('img/artisti/IMG_8092.JPEG');
}

.about-gallery-photo--8093 {
    background-image: url('img/artisti/IMG_8093.JPEG');
}

/* CHI SIAMO - GALLERIA SWIPE SENZA SCROLLBAR */
.about-gallery {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.about-gallery::-webkit-scrollbar {
    display: none;
}

/* Desktop: trascinamento con il mouse */
@media (min-width: 768px) {
    .about-gallery {
        cursor: grab;
    }

    .about-gallery.is-dragging {
        cursor: grabbing;
        scroll-snap-type: none;
        user-select: none;
    }
}

/* ===================================
   PROSSIMI EVENTI - LOCANDINE DEFINITIVE
   =================================== */

.event-poster-block {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.event-poster {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
    flex: none;

    border: none;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

/* LOCANDINA ROMA */
.event-poster--roma {
    background-image: url('img/eventi/IMG_8024.JPEG');
}

/* LOCANDINA MILANO */
.event-poster--milano {
    background-image: url('img/eventi/IMG_8023.JPEG');
}

/* MOBILE */
@media (max-width: 767.98px) {
    .event-poster-block,
    .event-poster {
        aspect-ratio: 1 / 1;
    }

    .event-poster {
        height: 265px;
        min-height: 0;
    }
}

/* CHI SIAMO - TESTI ALLINEATI A SINISTRA DESKTOP E MOBILE */
#chi-siamo .about-copy p {
    text-align: left;
}

/* ===================================
   DESKTOP - RIDIMENSIONAMENTO ZOOM OUT
   =================================== */
@media (min-width: 768px) {
    /* Limita la larghezza dell'intera pagina */
    body {
        width: 100%;
        max-width: 1920px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Mantiene la navbar allineata alla pagina */
    .hero-navbar {
        left: 50%;
        width: 100%;
        max-width: 1920px;
        transform: translateX(-50%);
    }
}

/* PROSSIMI EVENTI - NASCONDI VEDI TUTTI */
.events-all-link {
    display: none;
}

/* ===================================
   ARTISTI - 3 MARQUEE ORIZZONTALI
   =================================== */
.artists-section {
    width: 100%;
    padding: 20px 0;
    background: #000;
    color: #fff;
    overflow: hidden;
}

.artists-marquee {
    width: 100%;
    font-family: 'NewEdge 666', sans-serif;
    font-size: clamp(72px, 7.5vw, 130px);
    font-weight: 200;
    text-transform: uppercase;
}

.artists-marquee__row {
    width: 100%;
    overflow: visible;
}

.artists-marquee__track {
    display: flex;
    width: max-content;
    animation: artists-horizontal-scroll var(--duration) linear infinite;
    animation-delay: var(--offset);
    will-change: transform;
}

.artists-marquee__group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.55em;
    padding-right: 0.55em;
    min-height: 0;
    white-space: nowrap;
}

.artists-marquee__group span {
    display: block;
    flex: 0 0 auto;
    white-space: nowrap;
    line-height: 1.02;
}

.artists-marquee__row--1 {
    --duration: 70s;
    --offset: -8s;
}

.artists-marquee__row--2 {
    --duration: 63s;
    --offset: -24s;
}

.artists-marquee__row--3 {
    --duration: 67s;
    --offset: -39s;
}

@keyframes artists-horizontal-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .artists-marquee {
        font-size: clamp(72px, 8vw, 96px);
    }
}

@media (max-width: 767.98px) {
    .artists-section {
        padding: 12px 0;
    }

    .artists-marquee {
        font-size: clamp(44px, 11vw, 70px);
    }

    .artists-marquee__group {
        gap: 0.5em;
        padding-right: 0.5em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .artists-marquee__track {
        animation: none;
    }
}

/* ===================================
   PARTNER - MARQUEE LENTO
   =================================== */
.partners-marquee {
    --partners-speed: 45s;

    width: 100%;
    padding: 24px 0;
    overflow: hidden;
    background: #000;
    color: #fff;
    border-top: 5px solid #0b2cff;
}

.partners-marquee__track {
    display: flex;
    width: 200%;
    animation: partners-scroll var(--partners-speed) linear infinite;
    will-change: transform;
}

.partners-marquee__group {
    display: flex;
    flex: 0 0 50%;
    justify-content: space-evenly;
    align-items: center;
    min-width: 0;
}

.partners-marquee__item {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    font-family: 'NewEdge 666', sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
}

.partners-marquee__item img {
    display: block;
    width: auto;
    height: 40px;
    max-width: 110px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

@keyframes partners-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 767.98px) {
    .partners-marquee {
        padding: 16px 0;
    }

    .partners-marquee__item {
        gap: 6px;
        font-size: clamp(12px, 3.4vw, 22px);
    }

    .partners-marquee__item img {
        height: clamp(23px, 5.8vw, 40px);
        max-width: 70px;
    }

    .partners-marquee__item:first-child img {
        height: 32px;
        max-width: none;
        width: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .partners-marquee__track {
        animation: none;
    }
}
