/*
    Mochita, Official Website
    Design & Development: Dennys Stauffer (dennys-stauffer.ch)
*/

/* ── Reset & Base ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    overflow-y: scroll;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: var(--line-height);
    overflow-x: hidden;
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
ul { list-style: none; }

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: var(--radius);
}

[hidden] { display: none !important; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* ── Icone ───────────────────────────────────────────── */
.svg-sprite { display: none; }

.icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    fill: currentColor;
    vertical-align: -0.125em;
}

/* ── Marchio ─────────────────────────────────────────── */
.brand-mark {
    display: block;
    aspect-ratio: 1992 / 620;
    height: 38px;
    background-color: var(--brand);
    -webkit-mask: url('../images/logo.png') center / contain no-repeat;
    mask: url('../images/logo.png') center / contain no-repeat;
}

@supports not (mask: url('../images/logo.png')) {
    .brand-mark {
        background: url('../images/logo.png') center / contain no-repeat;
    }
}

/* ── Preloader ───────────────────────────────────────── */
html:not(.js) .preloader { display: none; }

.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-rings {
    position: relative;
    width: 120px;
    height: 120px;
}

.ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    animation: ringPulse 2.4s ease-in-out infinite;
}

.ring-1 {
    inset: 30px;
    animation-delay: 0s;
}

.ring-2 {
    inset: 12px;
    animation-delay: 0.3s;
}

.ring-3 {
    inset: 0;
    animation-delay: 0.6s;
}

@keyframes ringPulse {
    0%, 100% { opacity: 0.2; transform: scale(0.97); }
    50%       { opacity: 1;   transform: scale(1.03); }
}

.preloader-logo {
    height: 44px;
    opacity: 0.7;
}

/* ── Typography ──────────────────────────────────────── */
h1, h2, h3, h4, h5 {
    font-weight: 300;
    letter-spacing: 0.04em;
    line-height: 1.15;
}

.label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-text);
    margin-bottom: var(--sp-sm);
}

/* ── Layout ──────────────────────────────────────────── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--sp-md);
}

.section {
    padding: var(--sp-xl) 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    margin-bottom: var(--sp-lg);
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 300;
    letter-spacing: 0.06em;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: all var(--t-normal);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--on-accent);
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    box-shadow: var(--shadow-accent);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--accent-text);
    color: var(--accent-text);
}

/* ── Header ──────────────────────────────────────────── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t-normal);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header.scrolled {
    border-bottom-color: var(--border);
}

.header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo .brand-mark {
    opacity: 0.9;
    transition: opacity var(--t-fast);
}

.logo:hover .brand-mark { opacity: 1; }

/* ── Passaggio di testimone del marchio ──────────────── */
.js-handoff .header .logo .brand-mark {
    opacity: 0;
    transform: translateY(-10px) scale(0.9);
    transform-origin: left center;
    transition: opacity var(--t-normal), transform var(--t-normal);
}

.js-handoff .header.brand-in .logo .brand-mark {
    opacity: 0.9;
    transform: none;
}

.js-handoff .header.brand-in .logo:hover .brand-mark { opacity: 1; }

.nav {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
}

.nav a {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color var(--t-fast);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--t-normal);
}

.nav a:hover,
.nav a.active {
    color: var(--text);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
    position: relative;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    height: 1px;
    background: var(--text);
    transition: all var(--t-normal);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-h);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 80%, var(--hero-glow) 0%, transparent 70%),
        linear-gradient(180deg, var(--hero-from) 0%, var(--hero-to) 100%);
}

.hero-grafismo {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    max-width: 780px;
    opacity: 0.07;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: var(--sp-xl) 0;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-text);
    margin-bottom: var(--sp-md);
}

.hero-title {
    margin-bottom: var(--sp-md);
    line-height: 0;
}

.hero-logo {
    width: clamp(240px, 40vw, 520px);
    height: auto;
}

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .js-handoff .hero-logo {
            animation: heroLogoHandoff linear both;
            animation-timeline: view();
            animation-range: exit -10% exit 70%;
        }

        @keyframes heroLogoHandoff {
            to {
                opacity: 0.15;
                transform: translateY(-24px) scale(0.88);
            }
        }
    }
}

.hero-release {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: var(--sp-lg);
}

.hero-release strong {
    color: var(--text);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-sm);
    margin-bottom: var(--sp-lg);
}

.hero-social {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
}

.hero-social a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color var(--t-fast);
}

.hero-social a:hover { color: var(--accent-text); }

.hero-scroll {
    position: absolute;
    bottom: var(--sp-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-subtle);
}

.hero-scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, currentColor, transparent);
    opacity: 0.35;
}

.hero-scroll::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 16px;
    background: var(--accent);
    animation: scrollLine 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scrollLine {
    0%       { transform: translate(-50%, -46px); opacity: 0; }
    30%      { opacity: 1; }
    70%      { opacity: 1; }
    100%     { transform: translate(-50%, 2px);   opacity: 0; }
}

/* ── About ───────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image {
    aspect-ratio: 3/4;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform var(--t-slow);
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-text .section-header { margin-bottom: var(--sp-md); }

.about-text p {
    color: var(--text-muted);
    margin-bottom: var(--sp-sm);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.8;
}

.about-text p em {
    color: var(--text);
    font-style: normal;
}

.about-text .btn { margin-top: var(--sp-sm); }

/* ── Live / Gigs (sezione disattivata nel markup) ────── */
.gigs-list {
    display: flex;
    flex-direction: column;
}

.gig-item {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    align-items: center;
    gap: var(--sp-md);
    padding: var(--sp-md) 0;
    border-bottom: 1px solid var(--border);
    transition: background var(--t-fast);
}

.gig-item:first-child { border-top: 1px solid var(--border); }

.gig-date {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-text);
}

.gig-info h3 {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 4px;
}

.gig-info p {
    font-size: 13px;
    color: var(--text-muted);
}

.gig-info p .icon { margin-right: 6px; font-size: 11px; }

.no-gigs {
    padding: var(--sp-lg) 0;
    color: var(--text-muted);
    font-size: 14px;
    letter-spacing: 0.03em;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* ── Streaming ───────────────────────────────────────── */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--sp-sm);
}

.platform-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--t-normal);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.platform-link:hover {
    border-color: var(--accent-text);
    background: var(--bg-elevated);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.platform-icon {
    width: 24px;
    height: 20px;
    flex-shrink: 0;
    display: block;
    fill: currentColor;
}

.platform-link.spotify .platform-icon { color: #1db954; }
.platform-link.apple .platform-icon { color: #fc3c44; }
.platform-link.itunes .platform-icon { color: var(--text); }
.platform-link.amazon .platform-icon { color: var(--text); }
.platform-link.youtube .platform-icon { color: #ff0000; }
.platform-link.deezer .platform-icon { color: #a238ff; }
.platform-link.tidal .platform-icon { color: var(--text); }
.platform-link.pandora .platform-icon { color: #3668ff; }
.platform-link.anghami .platform-icon { color: #ff2c56; }
.platform-link.boomplay .platform-icon { color: var(--text); }

/* ── Videos ──────────────────────────────────────────── */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-sm);
}

.video-item {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: border-color var(--t-normal);
}

.video-item:hover { border-color: var(--accent-text); }

.video-facade {
    position: absolute;
    inset: 0;
    width: 100%;
    padding: 0;
    display: block;
    background: var(--bg-elevated);
}

.video-facade img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity var(--t-normal), transform var(--t-slow);
}

.video-facade:hover img {
    opacity: 1;
    transform: scale(1.03);
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent);
    color: var(--on-accent);
    font-size: 16px;
    padding-left: 3px;
    transition: transform var(--t-normal), box-shadow var(--t-normal);
}

.video-facade:hover .video-play {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: var(--shadow-accent);
}

.video-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: var(--sp-md) var(--sp-sm) var(--sp-sm);
    background: linear-gradient(to top, rgba(64, 19, 9, 0.88), transparent);
    color: var(--on-accent);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-item iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: var(--sp-md);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color var(--t-fast);
}

.video-more:hover { color: var(--accent-text); }

/* ── Press ───────────────────────────────────────────── */
.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--sp-sm);
}

.press-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--t-normal), transform var(--t-normal), box-shadow var(--t-normal);
}

.press-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.press-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ── Testata della card ──────────────────────────────── */
.press-head {
    position: relative;
    aspect-ratio: 16/7;
    display: flex;
    align-items: center;
    padding: var(--sp-md);
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.press-cover {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 46%;
    object-fit: cover;
    opacity: 0.45;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 60%);
    mask-image: linear-gradient(to right, transparent, #000 60%);
    transition: opacity var(--t-normal);
}

.press-card:hover .press-cover { opacity: 0.6; }

.press-logo {
    position: relative;
    z-index: 1;
    background-color: var(--text);
    opacity: 0.92;
    -webkit-mask-position: left center;
    mask-position: left center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    max-width: 62%;
}

.press-logo.is-wide    { height: 24px; width: 200px; }
.press-logo.is-medium  { height: 30px; width: 140px; }
.press-logo.is-compact { height: 48px; width: 112px; }

.press-logo.energymag      { -webkit-mask-image: url('../images/press/logos/energymag.png');      mask-image: url('../images/press/logos/energymag.png'); }
.press-logo.elmadrid       { -webkit-mask-image: url('../images/press/logos/elmadrid.png');       mask-image: url('../images/press/logos/elmadrid.png'); }
.press-logo.portallink     { -webkit-mask-image: url('../images/press/logos/portallink.png');     mask-image: url('../images/press/logos/portallink.png'); }
.press-logo.coffeebusiness { -webkit-mask-image: url('../images/press/logos/coffeebusiness.png'); mask-image: url('../images/press/logos/coffeebusiness.png'); }
.press-logo.lifesgo        { -webkit-mask-image: url('../images/press/logos/lifesgo.png');        mask-image: url('../images/press/logos/lifesgo.png'); }

.press-outlet-name {
    position: relative;
    z-index: 1;
    max-width: 62%;
    font-size: 23px;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: 0.01em;
    color: var(--text);
}

/* ── Corpo della card ────────────────────────────────── */
.press-card-body {
    padding: var(--sp-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.press-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.press-kind { color: var(--accent-text); }

.press-source { color: var(--text-muted); }

.press-sep { color: var(--text-faint); }

.press-lang {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 2px 6px;
    border: 1px solid var(--border-light);
    border-radius: 2px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.press-card-body h3 {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 10px;
    color: var(--text);
}

.press-excerpt {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: var(--sp-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.press-date {
    font-size: 12px;
    color: var(--text-subtle);
    margin-top: auto;
}

.press-toggle {
    display: none;
}

@keyframes pressReveal {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}

/* ── Contact ─────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: var(--sp-xl);
    align-items: start;
}

.contact-info .section-header { margin-bottom: var(--sp-md); }

.contact-info > p {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 15px;
    margin-bottom: var(--sp-md);
    line-height: 1.8;
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-sm);
    margin-bottom: var(--sp-md);
}

.contact-social a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color var(--t-fast);
}

.contact-social a:hover { color: var(--accent-text); }

/* ── Form ────────────────────────────────────────────── */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    transition: border-color var(--t-fast);
    outline: none;
    appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-subtle);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-text);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-sm);
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.form-consent {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 12px;
    padding-top: var(--sp-sm);
    border-top: 1px solid var(--border);
}

.form-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-text);
    cursor: pointer;
}

.form-consent label {
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text-muted);
    cursor: pointer;
}

.form-consent label a {
    color: var(--accent-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-consent label a:hover { color: var(--accent-light); }

.btn-submit {
    justify-content: center;
    gap: 14px;
    width: 100%;
    padding: 18px 32px;
    margin-top: var(--sp-xs);
    background: var(--accent);
    color: var(--on-accent);
    border: 1px solid var(--accent);
    font-size: 13px;
    letter-spacing: 0.18em;
}

.btn-submit:hover:not(:disabled) {
    background: var(--accent-light);
    border-color: var(--accent-light);
    box-shadow: var(--shadow-accent);
}

.btn-submit-icon {
    display: inline-flex;
    transition: transform var(--t-normal);
}

.btn-submit:hover:not(:disabled) .btn-submit-icon {
    transform: translateX(5px);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-submit.is-sending .btn-submit-icon .icon { display: none; }

.btn-submit.is-sending .btn-submit-icon::after {
    content: '';
    width: 13px;
    height: 13px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-feedback {
    padding: 14px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    display: none;
}

.form-feedback.success {
    display: block;
    background: color-mix(in srgb, var(--color-success) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-success) 25%, transparent);
    color: var(--feedback-success-text);
}

.form-feedback.error {
    display: block;
    background: color-mix(in srgb, var(--color-error) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-error) 25%, transparent);
    color: var(--feedback-error-text);
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
    border-color: var(--color-error);
}

.field-error {
    font-size: 12px;
    line-height: 1.5;
    color: var(--feedback-error-text);
}

.form-consent .field-error {
    grid-column: 2;
    margin-top: 4px;
}

/* ── Pagina legale (privacy.html) ────────────────────── */
.legal {
    padding: calc(var(--header-h) + var(--sp-xl)) 0 var(--sp-xl);
}

.legal .container {
    max-width: 780px;
}

.legal h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 300;
    letter-spacing: 0.06em;
    margin-bottom: var(--sp-xs);
}

.legal .last-update {
    font-size: 13px;
    color: var(--text-subtle);
    margin-bottom: var(--sp-lg);
}

.legal h2 {
    font-size: 20px;
    font-weight: 400;
    color: var(--text);
    margin: var(--sp-lg) 0 var(--sp-sm);
    padding-top: var(--sp-sm);
    border-top: 1px solid var(--border);
}

.legal p,
.legal li {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.8;
}

.legal p {
    margin-bottom: var(--sp-sm);
}

.legal ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: var(--sp-sm);
}

.legal li {
    margin-bottom: 6px;
}

.legal a {
    color: var(--accent-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal a:hover {
    color: var(--accent-dark);
}

.legal strong {
    color: var(--text);
    font-weight: 500;
}

.legal-box {
    padding: var(--sp-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--sp-sm);
}

.legal-box p:last-child {
    margin-bottom: 0;
}

/* ── Pagina di conferma (thanks.html) ────────────────── */
.thanks {
    min-height: 70svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + var(--sp-lg)) 0 var(--sp-xl);
    text-align: center;
}

.thanks .container {
    max-width: 640px;
}

.thanks h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 300;
    letter-spacing: 0.06em;
    margin-bottom: var(--sp-sm);
}

.thanks p {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: var(--sp-md);
}

.thanks .btn { width: auto; }

/* ── Footer ──────────────────────────────────────────── */
.footer {
    padding: var(--sp-lg) 0 var(--sp-md);
    border-top: 1px solid var(--border);
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-md);
}

.footer-top {
    display: flex;
    justify-content: center;
}

.footer-logo .brand-mark {
    height: 26px;
    opacity: 0.75;
    transition: opacity var(--t-fast);
}

.footer-logo:hover .brand-mark { opacity: 1; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    text-align: center;
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

.footer-sep { color: var(--text-faint); }

.footer-links a {
    color: var(--text-muted);
    transition: color var(--t-fast);
}

.footer-links a:hover { color: var(--accent-text); }

/* ── Cookie Banner ───────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: var(--sp-md);
    left: 50%;
    transform: translateX(-50%) translateY(140%);
    z-index: 200;
    width: calc(100% - 64px);
    max-width: 620px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--sp-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-md);
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-banner.visible {
    transform: translateX(-50%) translateY(0);
}

.cookie-body { flex: 1; }

.cookie-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-text);
    margin-bottom: 6px;
}

.cookie-text {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
}

.cookie-text a {
    color: var(--accent-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-actions {
    display: flex;
    gap: var(--sp-xs);
    flex-shrink: 0;
}

.cookie-actions .btn {
    padding: 12px 22px;
    font-size: 11px;
}

.link-btn {
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    letter-spacing: inherit;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--t-fast);
}

.link-btn:hover { color: var(--accent-text); }

/* ── Senza JavaScript ────────────────────────────────── */
html:not(.js) [data-cookie-settings],
html:not(.js) [data-cookie-settings] + .footer-sep {
    display: none;
}

html:not(.js) .menu-toggle { display: none; }

/* ── Fade-in animations ──────────────────────────────── */
.js .fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.js .stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.js .stagger.visible > * {
    opacity: 1;
    transform: none;
}

.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.07s; }
.stagger > *:nth-child(3) { transition-delay: 0.14s; }
.stagger > *:nth-child(4) { transition-delay: 0.21s; }
.stagger > *:nth-child(5) { transition-delay: 0.28s; }
.stagger > *:nth-child(6) { transition-delay: 0.35s; }
.stagger > *:nth-child(7) { transition-delay: 0.42s; }
.stagger > *:nth-child(n+8) { transition-delay: 0.49s; }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--sp-lg);
    }

    .about-image-wrap {
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }
    .contact-grid { grid-template-columns: 1fr; gap: var(--sp-lg); }
    .platforms-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root {
        --sp-xl: 64px;
        --sp-lg: 40px;
        --sp-md: 20px;
        --sp-sm: 12px;
        --header-h: 64px;
    }

    .container { padding: 0 16px; }

    .nav {
        position: fixed;
        inset: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: var(--bg);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--t-normal);
        gap: 32px;
        z-index: 99;
    }

    .nav.active {
        opacity: 1;
        pointer-events: all;
    }

    .nav a {
        font-size: 20px;
        font-weight: 200;
        letter-spacing: 0.14em;
    }

    .nav a::after { display: none; }

    .menu-toggle { display: flex; }

    .hero {
        justify-content: flex-start;
        min-height: 100svh;
    }

    .hero-content {
        padding: clamp(72px, 17svh, 150px) 0 120px;
    }

    .hero-logo { width: min(68vw, 320px); }
    .hero-eyebrow { margin-bottom: 14px; }
    .hero-release { margin-bottom: 28px; }
    .hero-actions { margin-bottom: 28px; }

    .hero-social {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px 22px;
    }

    .section-header h2 { font-size: clamp(26px, 6vw, 40px); }

    .gig-item {
        grid-template-columns: 80px 1fr;
        gap: 12px;
    }
    .gig-item .btn { display: none; }

    .form-row { grid-template-columns: 1fr; }

    .press-cover { width: 40%; }
    .press-logo,
    .press-outlet-name { max-width: 54%; }

    .press-head { aspect-ratio: 16 / 5; }

    .js .press-grid.is-collapsed .press-card:nth-child(n+5) { display: none; }

    .js .press-toggle {
        display: flex;
        width: 100%;
        justify-content: center;
        margin-top: var(--sp-md);
    }

    .js .press-grid.is-revealed .press-card:nth-child(n+5) {
        animation: pressReveal 0.5s ease both;
    }

    .js .press-grid.is-revealed .press-card:nth-child(6) { animation-delay: 0.07s; }
    .js .press-grid.is-revealed .press-card:nth-child(7) { animation-delay: 0.14s; }
    .js .press-grid.is-revealed .press-card:nth-child(8) { animation-delay: 0.21s; }
    .js .press-grid.is-revealed .press-card:nth-child(9) { animation-delay: 0.28s; }
    .js .press-grid.is-revealed .press-card:nth-child(n+10) { animation-delay: 0.35s; }

    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        width: calc(100% - 32px);
        bottom: 12px;
    }

    .cookie-actions > .btn { flex: 1; justify-content: center; }

    .footer-bottom { flex-direction: column; gap: 6px; }
    .footer-bottom > .footer-sep { display: none; }

    .contact-social { gap: 16px; }

    html:not(.js) .header {
        position: static;
        height: auto;
        padding: 10px 0;
    }

    html:not(.js) .header .container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px var(--sp-sm);
    }

    html:not(.js) .nav {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
        opacity: 1;
        pointer-events: auto;
        background: none;
    }

    html:not(.js) .nav a {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.15em;
    }

    html:not(.js) .hero { padding-top: 0; }
    html:not(.js) { scroll-padding-top: 0; }
}

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

@media (max-width: 480px) {
    :root {
        --sp-xl: 48px;
        --sp-lg: 32px;
    }

    .hero-logo { width: min(74vw, 300px); }

    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; width: 100%; }
}

@media (max-width: 360px) {
    :root { --sp-xl: 40px; --sp-lg: 28px; --sp-md: 16px; }

    .container { padding: 0 12px; }
    .hero-logo { width: min(78vw, 260px); }
    .platforms-grid { grid-template-columns: 1fr; }

    .gig-item { grid-template-columns: 70px 1fr; }
    .gig-date { font-size: 10px; }

    .form-consent { column-gap: 8px; }
    .contact-grid { gap: 32px; }

    .cookie-banner { padding: 16px; }
}

@media (max-width: 320px) {
    .btn { padding: 12px 20px; font-size: 11px; }
    .platform-link { padding: 14px 16px; font-size: 13px; }
    .section-header h2 { font-size: 24px; }
    .nav a { font-size: 18px; }
}

/* ── Motion ridotto (unico blocco per tutto il file) ─── */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fade-up,
    .stagger > * {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-scroll::before { display: none; }
    .hero-scroll::after { opacity: 0.6; }
}
