/* ============================
   FARAWAY — Design System V2
   Nero come sistema. Ordine come messaggio.
   ============================ */

/* --- Fonts --- */
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat-Hairline.otf') format('opentype');
  font-weight: 100; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat-Thin.otf') format('opentype');
  font-weight: 100; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat-UltraLight.otf') format('opentype');
  font-weight: 200; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat-ExtraLight.otf') format('opentype');
  font-weight: 200; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat-Light.ttf') format('truetype');
  font-weight: 300; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat-Regular.otf') format('opentype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat-Medium.otf') format('opentype');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat-SemiBold.otf') format('opentype');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat-ExtraBold.otf') format('opentype');
  font-weight: 800; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat-Black.ttf') format('truetype');
  font-weight: 900; font-display: swap;
}

/* --- Variables --- */
:root {
  /* Faraway Official Palette */
  --black:      #F7F7F7;   /* sfondo bianco palette */
  --black-1:    #F0F0F0;
  --black-2:    #EAEAEA;
  --black-3:    #E4E4E4;
  --gray-dark:  #161515;   /* nero di palette — gradients/overlays */
  --gray:       rgba(46,34,135,.45);
  --gray-light: rgba(46,34,135,.65);
  --blue:       #4B37E4;   /* blu vivace accent */
  --blue-dark:  #2E2287;
  --white:      #2E2287;   /* testo principale blu */
  --white-dim:  rgba(46,34,135,0.70);
  --white-faint:rgba(46,34,135,0.08);

  --font: 'Montserrat', sans-serif;
  --nav-h: 68px;
  --pad-section: 128px;
  --pad-h: 56px;
  --container: 1320px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-h);
}

/* --- Sezione base --- */
.section { padding: var(--pad-section) 0; }

/* --- Tag etichetta --- */
.section-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
  background: rgba(75,55,228,.07);
  padding: 5px 11px;
  border-radius: 20px;
}

/* --- Titolo sezione --- */
.section-title {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.035em;
  margin-bottom: 28px;
  color: var(--white);
}

/* --- Descrizione --- */
.section-desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--gray-light);
  max-width: 560px;
  line-height: 1.75;
}

.section-header { margin-bottom: 72px; }

/* --- Link accent --- */
.link-accent { color: var(--blue); transition: opacity .2s; }
.link-accent:hover { opacity: .75; text-decoration: underline; }

/* --- Bottoni --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all .35s var(--ease);
  position: relative;
}
.btn-primary {
  background: var(--blue-dark);
  color: #F7F7F7;
  border-radius: 8px;
}
.btn-primary:hover {
  background: var(--blue);
  color: #F7F7F7;
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(46,34,135,0.2);
  border-radius: 8px;
}
.btn-outline:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

/* ==============================
   NAV
   ============================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-h);
  background: var(--black);
  border-bottom: 1px solid rgba(46,34,135,0.08);
  transition: background .5s var(--ease), border-color .5s var(--ease);
}
.nav.scrolled,
.nav.solid {
  background: rgba(240,240,240,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(46,34,135,0.10);
  box-shadow: 0 2px 24px rgba(46,34,135,.05);
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 18px; width: auto; }

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}
.nav-links a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(46,34,135,0.72);
  transition: color .25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0; right: 0;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--white);
  transition: all .3s var(--ease);
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: 99;
  background: rgba(240,240,240,0.98);
  border-bottom: 1px solid rgba(46,34,135,0.05);
  transform: translateY(-105%);
  opacity: 0;
  pointer-events: none;
  transition: all .4s var(--ease);
}
.nav-mobile.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav-mobile ul { padding: 12px var(--pad-h) 28px; }
.nav-mobile li { border-bottom: 1px solid rgba(46,34,135,0.04); }
.nav-mobile-link {
  display: block;
  padding: 18px 0;
  font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(46,34,135,0.72);
  transition: color .2s;
}
.nav-mobile-link:hover { color: var(--white); }

/* ==============================
   PAGE HERO — inner pages
   ============================== */
.page-hero {
  padding-top: var(--nav-h);
  min-height: 64vh;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid rgba(46,34,135,0.05);
  position: relative;
  overflow: hidden;
  background: #161515;
}
.page-hero-inner {
  padding: 64px 0 60px;
  position: relative; z-index: 2;
  width: 100%;
}
.page-hero .section-tag {
  display: inline-block;
  color: rgba(247,247,247,.7);
  background: rgba(247,247,247,.12);
}
.page-hero-title {
  font-size: clamp(72px, 13vw, 180px);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.05em;
  color: #F7F7F7;
  margin-bottom: 36px;
}
.page-hero-desc {
  font-size: 16px; font-weight: 300;
  color: rgba(247,247,247,.65);
  max-width: 480px;
  line-height: 1.7;
}

/* Foto di sfondo page hero */
.page-hero-bg {
  position: absolute; inset: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .55;
  filter: grayscale(50%) contrast(1.05);
  transform: scale(1.02);
}
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(22,21,21,0.88) 0%,
    rgba(22,21,21,0.62) 55%,
    rgba(22,21,21,0.22) 100%
  );
}

/* ==============================
   HERO — homepage video
   ============================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../assets/images/foto-01.jpg') center/cover no-repeat;
}
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(22,21,21,0.15) 0%,
      rgba(22,21,21,0.4) 40%,
      rgba(22,21,21,0.88) 100%
    );
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: var(--nav-h) var(--pad-h) 0;
  display: flex; flex-direction: column; align-items: center;
  gap: 32px;
}
.hero-eyebrow {
  font-size: 10px; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 36px;
  opacity: 0; animation: fadeUp .8s var(--ease) .3s forwards;
}
.hero-logo {
  width: min(680px, 80vw); height: auto;
  opacity: 0; animation: fadeUp 1s var(--ease) .5s forwards;
}
.hero-subtitle {
  font-size: clamp(11px, 1.5vw, 14px);
  font-weight: 300; letter-spacing: .45em; text-transform: uppercase;
  color: rgba(247,247,247,0.5);
  margin-top: 24px;
  opacity: 0; animation: fadeUp .8s var(--ease) .7s forwards;
}
.hero-date-sub {
  font-size: clamp(11px, 1.4vw, 14px);
  font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: rgba(247,247,247,.45);
  opacity: 0; animation: fadeUp .8s var(--ease) .8s forwards;
}
.hero-content .btn {
  margin-top: 44px;
  opacity: 0; animation: fadeUp .8s var(--ease) 1.1s forwards;
}

/* Sponsor marquee strip — in flusso sotto al video */
.hero-sponsor-strip {
  position: relative;
  overflow: hidden;
  background: var(--black);
  border-top: 1px solid rgba(46,34,135,0.07);
  border-bottom: 1px solid rgba(46,34,135,0.07);
  padding: 20px 0;
}
.hero-sponsor-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: marquee 28s linear infinite;
  will-change: transform;
}
.hero-sponsor-track:hover { animation-play-state: paused; }
.sponsor-item {
  display: inline-flex;
  align-items: center;
  padding: 0 40px;
}
.sponsor-sep {
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  font-size: 10px;
  color: rgba(46,34,135,.2);
  letter-spacing: .1em;
}
.hero-sponsor-logo {
  height: 22px; width: auto;
  max-width: none;
  opacity: 1;
  transition: opacity .3s;
}
.hero-sponsor-logo--round {
  height: 40px;
}
.hero-sponsor-strip:hover .hero-sponsor-logo { opacity: 1; }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 44px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  opacity: 0; animation: fadeIn 1.2s var(--ease) 1.6s forwards;
}
.hero-scroll span {
  font-size: 8px; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--gray);
}
.hero-scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, var(--gray), transparent);
  animation: scrollPulse 2.5s ease infinite;
}

/* (sponsor strip rimossa — loghi in overlay sull'hero) */

/* ==============================
   EDIZIONE 2026 — home focus
   ============================== */
.edizione-2026 {
  background: var(--black);
  padding: var(--pad-section) 0;
}
.edizione-2026 .container {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 80px;
  align-items: center;
}
.edizione-text p {
  font-size: 15px; font-weight: 300;
  color: var(--white-dim);
  line-height: 1.85; margin-bottom: 20px;
}
.edizione-text p strong { color: var(--white); font-weight: 700; }

.edizione-meta {
  display: flex; gap: 0;
  margin: 48px 0 44px;
  border-top: 1px solid rgba(46,34,135,.06);
  border-bottom: 1px solid rgba(46,34,135,.06);
}
.edizione-meta-item {
  display: flex; flex-direction: column; gap: 7px;
  padding: 28px 36px 28px 0;
  border-right: 1px solid rgba(46,34,135,.06);
  margin-right: 36px;
}
.edizione-meta-item:last-child { border-right: none; margin-right: 0; }
.edizione-meta-label {
  font-size: 9px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gray);
}
.edizione-meta-value {
  font-size: 17px; font-weight: 800;
  color: var(--white); letter-spacing: -.01em;
}

.edizione-visual { position: relative; }
.edizione-img-main {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(20%);
}

/* ==============================
   EDIZIONI — header + cards
   ============================== */
.edizioni-header {
  background: var(--black);
  padding-top: var(--nav-h);
  border-bottom: 1px solid rgba(46,34,135,.05);
}
.edizioni-header-inner {
  padding: 72px 0 56px;
}
.edizioni-header-title {
  font-size: clamp(72px, 13vw, 180px);
  font-weight: 900; line-height: .88;
  letter-spacing: -.05em;
  color: var(--white);
}
.edizioni-header-desc {
  font-size: 16px; font-weight: 300;
  color: var(--gray-light); line-height: 1.7;
  max-width: 480px;
  margin-top: 20px;
}

.edizioni-cards-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: var(--black);
  padding: 8px;
}

/* Edizioni slider — staggered */
.edizioni-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 var(--pad-h) 80px;
  align-items: flex-start;
}
.edizioni-slider::-webkit-scrollbar { display: none; }
.edizioni-slider .edizione-card {
  flex-shrink: 0;
  width: clamp(280px, 30vw, 400px);
  scroll-snap-align: start;
}
.edizioni-slider .edizione-card:nth-child(2) { margin-top: 48px; }
.edizioni-slider .edizione-card:nth-child(3) { margin-top: 24px; }
@media (max-width: 768px) {
  .edizioni-slider { padding-bottom: 56px; }
  .edizioni-slider .edizione-card { width: clamp(260px, 78vw, 340px); }
  .edizioni-slider .edizione-card:nth-child(2),
  .edizioni-slider .edizione-card:nth-child(3) { margin-top: 0; }
}

/* EDIZIONI CARDS — archivio */
.edizione-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--black-2);
  cursor: pointer;
  text-decoration: none; color: var(--white);
  border-radius: 20px;
}
.edizione-card-bg { position: absolute; inset: 0; }
.edizione-card-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(40%) contrast(1.05);
  transition: transform .7s var(--ease), filter .5s;
}
.edizione-card:hover .edizione-card-bg img {
  transform: scale(1.06);
  filter: grayscale(0%) contrast(1.0);
}
.edizione-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(22,21,21,0.96) 0%,
    rgba(22,21,21,0.5) 45%,
    rgba(22,21,21,0.1) 100%
  );
  transition: opacity .4s;
}
.edizione-card:hover .edizione-card-overlay {
  background: linear-gradient(to top,
    rgba(22,21,21,0.97) 0%,
    rgba(22,21,21,0.65) 55%,
    rgba(22,21,21,0.25) 100%
  );
}
.edizione-card:hover {
  box-shadow: 0 20px 56px rgba(46,34,135,.12);
  transform: translateY(-3px);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.edizione-card-content {
  position: absolute; z-index: 2;
  bottom: 0; left: 0; right: 0;
  padding: 0 36px 40px;
  display: flex; flex-direction: column;
}
.edizione-card-year {
  font-size: clamp(72px, 10vw, 120px);
  font-weight: 900; line-height: .88;
  letter-spacing: -.04em;
  display: block;
  margin-bottom: 14px;
  color: #F7F7F7;
}
.edizione-card-name {
  font-size: 9px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: rgba(247,247,247,.42);
  margin-bottom: 24px; display: block;
  transition: color .3s;
}
.edizione-card:hover .edizione-card-name { color: rgba(247,247,247,.7); }
.edizione-card-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 9px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(247,247,247,.5);
  transition: gap .3s var(--ease), color .3s;
}
.edizione-card-cta::after {
  content: '→';
  transition: transform .3s var(--ease);
}
.edizione-card:hover .edizione-card-cta { gap: 14px; color: #F7F7F7; }
.edizione-card:hover .edizione-card-cta::after { transform: translateX(4px); }

/* ==============================
   PROGRAMMA — scaletta giornaliera
   ============================== */
.programma-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.programma-giorno {
  background: var(--blue-dark);
  padding: 40px 36px 48px;
  border-radius: 20px;
  display: block;
  text-decoration: none;
  transition: background .3s var(--ease), transform .3s var(--ease);
  cursor: pointer;
}
a.programma-giorno:hover {
  background: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(75,55,228,.22);
}
.programma-giorno-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(247,247,247,.12);
  margin-bottom: 28px;
}
.programma-giorno-label {
  font-size: 9px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: rgba(247,247,247,.5);
}
.programma-giorno-data {
  font-size: 22px; font-weight: 800;
  letter-spacing: -.02em;
  color: #F7F7F7;
}
.programma-list {
  display: flex; flex-direction: column; gap: 0;
}
.programma-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(247,247,247,.07);
}
.programma-list li:last-child { border-bottom: none; }
.programma-orario {
  font-size: 10px; font-weight: 700;
  letter-spacing: .08em;
  color: rgba(247,247,247,.35);
  min-width: 44px;
  flex-shrink: 0;
}
.programma-artista {
  font-size: 14px; font-weight: 400;
  color: rgba(247,247,247,.85);
  line-height: 1.3;
}
.programma-giorno-cta {
  display: inline-block;
  margin-top: 24px;
  font-size: 9px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(247,247,247,.45);
  transition: color .3s;
}
a.programma-giorno:hover .programma-giorno-cta {
  color: rgba(247,247,247,.85);
}

/* ==============================
   LINEUP artisti
   ============================== */
.lineup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(46,34,135,.05);
}
.lineup-grid--day {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  background: transparent;
  gap: 12px;
}
.lineup-grid--day .artist-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(46,34,135,.05);
}

/* Artist slider — pagine giornata */
.artist-slider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 var(--pad-h) 8px;
}
.artist-slider::-webkit-scrollbar { display: none; }
.artist-slider .artist-card {
  flex-shrink: 0;
  width: clamp(280px, 32vw, 380px);
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(46,34,135,.05);
}
.artist-card {
  background: var(--black-1);
  transition: background .35s var(--ease);
  position: relative; overflow: hidden;
}
.artist-card:hover { background: var(--black-2); }

/* Bottom accent */
.artist-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.artist-card:hover::after { transform: scaleX(1); }

/* Foto */
.artist-photo {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--black-3);
  position: relative;
}
.artist-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  filter: grayscale(30%) contrast(1.05);
  transition: transform .6s var(--ease), filter .5s;
}
.artist-card:hover .artist-photo img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(1.0);
}
.artist-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -.03em;
  color: rgba(46,34,135,.06);
}

/* Info */
.artist-info { padding: 24px 28px 32px; }
.artist-name {
  font-size: 19px; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.1;
  margin-bottom: 10px; color: var(--white);
}
.artist-tag {
  display: inline-block;
  font-size: 9px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.artist-bio {
  font-size: 13px; font-weight: 300;
  color: var(--gray-light); line-height: 1.7;
}

/* ==============================
   STORIA
   ============================== */
/* Foto grande con titolo sovrapposto */
.storia-visual-hero {
  position: relative;
  height: 72vh; min-height: 520px;
  overflow: hidden;
}
.storia-visual-hero > img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(25%) contrast(1.05);
}
.storia-visual-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(22,21,21,0.88) 0%,
    rgba(22,21,21,0.55) 50%,
    rgba(22,21,21,0.15) 100%
  );
}
.storia-visual-hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 56px var(--pad-h);
}
.storia-visual-hero-title {
  font-size: clamp(52px, 9vw, 120px);
  font-weight: 900; line-height: .9;
  letter-spacing: -.05em;
  color: #F7F7F7;
}

/* Corpo testo storia */
.storia-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: start;
}
.storia-text p {
  font-size: 15px; font-weight: 300;
  color: var(--white-dim); line-height: 1.85;
  margin-bottom: 22px;
}
.storia-text p strong { color: var(--white); font-weight: 700; }

.storia-stats {
  display: flex; gap: 0;
  margin-top: 56px;
  border-top: 1px solid rgba(46,34,135,.07);
}
.stat {
  display: flex; flex-direction: column; gap: 8px;
  padding: 32px 48px 0 0;
  margin-right: 48px;
  border-right: 1px solid rgba(46,34,135,.07);
}
.stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.stat-number {
  font-size: 40px; font-weight: 900;
  color: var(--blue); line-height: 1;
  letter-spacing: -.03em;
}
.stat-label {
  font-size: 9px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gray);
}

/* Immagine storia */
.storia-visual { position: relative; }
.storia-single-img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  display: block;
  filter: grayscale(15%);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(46,34,135,.10);
}

/* ==============================
   TERRITORIO — gallery
   ============================== */
.territorio-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 380px 380px;
  gap: 4px;
  margin-bottom: 88px;
}
.gallery-item { position: relative; overflow: hidden; background: var(--black-2); cursor: pointer; }
.gallery-item--large { grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(25%) brightness(.92);
  transition: transform .8s var(--ease), filter .5s;
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: grayscale(0%) brightness(1);
}
.gallery-overlay {
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(5,5,5,.92) 0%, rgba(5,5,5,.15) 45%, transparent 70%);
  opacity: 0; transition: opacity .4s;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 28px;
}
.gallery-overlay::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.gallery-item--large .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay::after { transform: scaleX(1); }
.gallery-overlay h3 {
  font-size: 18px; font-weight: 800;
  letter-spacing: -.02em; margin-bottom: 5px;
}
.gallery-overlay p {
  font-size: 12px; font-weight: 300;
  color: rgba(46,34,135,.55); letter-spacing: .03em;
}

.territorio-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.territorio-col h3 {
  font-size: 18px; font-weight: 800;
  margin-bottom: 16px; letter-spacing: -.01em;
}
.territorio-col p {
  font-size: 14px; font-weight: 300;
  color: var(--gray-light); line-height: 1.85;
}

/* ==============================
   PRESS
   ============================== */
.press-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  background: transparent;
}
.press-card {
  background: var(--black-1);
  padding: 44px 40px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background .3s, border-color .3s;
  border-radius: 18px;
  border: 1px solid rgba(46,34,135,.06);
}
.press-card:hover { background: var(--black-2); border-color: rgba(46,34,135,.12); box-shadow: 0 8px 32px rgba(46,34,135,.06); }
.press-source {
  font-size: 9px; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--blue);
}
.press-title {
  font-size: 16px; font-weight: 700;
  line-height: 1.35; color: var(--white);
  letter-spacing: -.01em;
}
.press-excerpt {
  font-size: 13px; font-weight: 300;
  color: var(--gray-light); line-height: 1.75; flex: 1;
}
.press-link {
  font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); align-self: flex-start;
  transition: color .25s, gap .25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.press-link:hover { color: var(--white); }

/* ==============================
   CONTATTI — form
   ============================== */
.contatti-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 88px;
  align-items: start;
}
.contatti-info h3 {
  font-size: 22px; font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.contatti-info p {
  font-size: 14px; font-weight: 300;
  color: var(--gray-light); line-height: 1.8; margin-bottom: 12px;
}
.contatti-info a { color: var(--blue); }
.contatti-info a:hover { text-decoration: underline; }
.contatti-info-list {
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid rgba(46,34,135,.06);
  display: flex; flex-direction: column; gap: 24px;
}
.contatti-info-item label {
  display: block;
  font-size: 9px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 7px;
}
.contatti-info-item span {
  font-size: 14px; font-weight: 400; color: var(--white);
  line-height: 1.5;
}

/* Form */
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 9px; }
.form-label {
  font-size: 9px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(46,34,135,.55);
}
.form-input,
.form-textarea {
  font-family: var(--font);
  font-size: 14px; font-weight: 300;
  color: var(--white);
  background: rgba(46,34,135,.04);
  border: 1.5px solid rgba(46,34,135,.1);
  padding: 16px 20px;
  outline: none; width: 100%;
  transition: border-color .25s, background .25s;
  border-radius: 10px;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--blue);
  background: rgba(75,55,228,.06);
}
.form-textarea { resize: vertical; min-height: 160px; }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(46,34,135,.35); }

/* ==============================
   LEGAL
   ============================== */
.legal-header {
  background: var(--black);
  padding: 80px 0 48px;
  border-bottom: 1px solid rgba(46,34,135,.08);
}
.legal-header-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--white);
  margin-top: 16px;
  line-height: 1;
}

.legal-content { max-width: 760px; }
.legal-content h2 {
  font-size: 20px; font-weight: 800;
  margin: 52px 0 16px; color: var(--white);
  letter-spacing: -.01em;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 14px; font-weight: 300;
  color: var(--white-dim); line-height: 1.85; margin-bottom: 16px;
}
.legal-content ul {
  list-style: disc; padding-left: 24px; margin-bottom: 16px;
}
.legal-content li {
  font-size: 14px; font-weight: 300;
  color: var(--white-dim); line-height: 1.85; margin-bottom: 8px;
}
.legal-content a { color: var(--blue); }
.legal-content a:hover { text-decoration: underline; }
.legal-date {
  font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gray); margin-top: 56px;
}

/* ==============================
   HOME — LINEUP PREVIEW
   ============================== */
/* ==============================
   HOME — ARTISTS GRID (Red Valley style)
   ============================== */
.artists-section {
  padding: 72px 0 0;
}
.artists-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-h) 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.artists-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
}
.artist-card-big {
  grid-column: span 3;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
}
.artist-card-sm {
  grid-column: span 2;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
  display: block;
}
.artist-card-big img,
.artist-card-sm img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
  filter: saturate(0.8);
}
.artist-card-big:hover img,
.artist-card-sm:hover img {
  transform: scale(1.05);
  filter: saturate(1);
}
.artist-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(22,21,21,0.92) 0%,
    rgba(22,21,21,0.28) 45%,
    rgba(22,21,21,0.0) 100%
  );
}
.artist-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 28px;
}
.artist-card-tag {
  display: block;
  font-size: 9px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 7px;
}
.artist-card-name {
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 800;
  color: #F7F7F7;
  letter-spacing: -.02em;
  line-height: 1.05;
}

/* ==============================
   HOME — FESTIVAL INFO STRIP
   ============================== */
.festival-strip {
  border-top: 1px solid rgba(46,34,135,.08);
  border-bottom: 1px solid rgba(46,34,135,.08);
  background: var(--black-1);
}
.festival-strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 112px;
  flex-wrap: wrap;
}
.festival-strip-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.festival-strip-label {
  font-size: 9px; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase;
  color: rgba(46,34,135,.45);
}
.festival-strip-value {
  font-size: 18px; font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
}
.festival-strip-sep {
  color: var(--blue);
  font-size: 14px;
}
.festival-strip-cta {
  font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: #F7F7F7;
  background: var(--blue-dark);
  padding: 14px 28px;
  border: none;
  transition: background .25s;
  white-space: nowrap;
  border-radius: 6px;
}
.festival-strip-cta:hover {
  background: var(--blue);
}

/* ==============================
   FOOTER — GRID COLONNE
   ============================== */
.footer {
  background: var(--black-1);
  border-top: 1px solid rgba(46,34,135,.05);
  width: 100%;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-h);
}

/* Grid principale: colonne link + logo */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  padding: 80px 0 64px;
  align-items: start;
}
.footer-links-area {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.footer-col-label {
  display: block;
  font-size: 9px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: rgba(46,34,135,.55);
  margin-bottom: 22px;
}
.footer-col-group ul {
  display: flex; flex-direction: column; gap: 13px;
}
.footer-col-group a {
  font-size: 14px; font-weight: 300;
  color: rgba(46,34,135,.78);
  transition: color .25s;
}
.footer-col-group a:hover { color: var(--white); }

/* Logo destra */
.footer-logo-area { padding-top: 2px; }
.footer-logo { height: 20px; width: auto; opacity: .9; }

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(46,34,135,.05);
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
}
.footer-bottom p {
  font-size: 11px; font-weight: 400;
  color: rgba(46,34,135,.65);
}
.footer-legal {
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
}
.footer-legal a {
  font-size: 10px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(46,34,135,.6);
  transition: color .25s;
}
.footer-legal a:hover { color: var(--white); }
.footer-legal span { display: none; }
.footer-credit {
  font-size: 11px; font-weight: 300;
  color: rgba(46,34,135,.5);
}
.footer-credit a { color: rgba(46,34,135,.5); transition: color .25s; }
.footer-credit a:hover { color: var(--white); }

/* HOME — artists horizontal slider */
.home-artists-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 10px;
  padding: 0 var(--pad-h) 0;
  align-items: stretch;
}
.home-artists-slider::-webkit-scrollbar { display: none; }
.artist-card-slide {
  flex-shrink: 0;
  width: clamp(260px, 36vw, 480px);
  aspect-ratio: 2/3;
  position: relative;
  overflow: hidden;
  display: block;
  scroll-snap-align: start;
  border-radius: 14px;
}
.artist-card-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .7s var(--ease);
  filter: saturate(0.8);
}
.artist-card-slide:hover img {
  transform: scale(1.05);
  filter: saturate(1);
}
.artist-card-slide .artist-card-body {
  padding: 20px 24px 28px;
}
@media (max-width: 768px) {
  .artist-card-slide { width: clamp(220px, 72vw, 320px); }
}

/* SPONSOR STRIP */
.sponsor-strip {
  background: var(--black);
  border-top: 1px solid rgba(46,34,135,.1);
  border-bottom: 1px solid rgba(46,34,135,.1);
  padding: 18px 0;
  overflow: hidden;
}
.sponsor-strip-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 40px;
  width: max-content;
  white-space: nowrap;
  animation: sponsor-scroll 30s linear infinite;
}
.sponsor-sep {
  font-size: 11px;
  color: rgba(46,34,135,.2);
  flex-shrink: 0;
  user-select: none;
}
.sponsor-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.sponsor-logo--round { border-radius: 50%; }
@keyframes sponsor-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* FOOTER — powered by */
.footer-powered-by {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(46,34,135,.07);
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-powered-label {
  font-size: 8px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: rgba(46,34,135,.35);
  white-space: nowrap;
  flex-shrink: 0;
}
.footer-powered-logos {
  display: flex; align-items: center; gap: 14px;
}
.footer-powered-logo {
  height: 16px; width: auto; opacity: 1;
}
.footer-powered-logo--round { height: 28px; }

/* Legacy classes (non usate, ma non rompono nulla) */
.footer-billboard, .footer-mid, .footer-nav, .footer-email,
.footer-billboard-logo, .footer-billboard-sub { display: none; }

/* ==============================
   COOKIE BANNER
   ============================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--black-2);
  border-top: 1px solid rgba(46,34,135,.07);
  padding: 22px var(--pad-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transform: translateY(100%);
  transition: transform .4s var(--ease);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner.hidden { display: none; }
.cookie-text {
  font-size: 12px; font-weight: 300;
  color: var(--gray-light); line-height: 1.6;
  max-width: 680px;
}
.cookie-text a { color: var(--blue); }
.cookie-text a:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept {
  padding: 11px 24px;
  font-family: var(--font); font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  background: var(--blue); color: var(--white);
  border: none; cursor: pointer;
  transition: background .25s;
  border-radius: 8px;
}
.btn-cookie-accept:hover { background: var(--blue-dark); color: #F7F7F7; }
.btn-cookie-reject {
  padding: 11px 24px;
  font-family: var(--font); font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  background: transparent; color: rgba(46,34,135,.35);
  border: 1px solid rgba(46,34,135,.1); cursor: pointer;
  transition: all .25s;
  border-radius: 8px;
}
.btn-cookie-reject:hover { border-color: rgba(46,34,135,.3); color: var(--white-dim); }

/* ==============================
   REVEAL ANIMATIONS
   ============================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: .15; transform: scaleY(.75); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .22s; }
.reveal-d3 { transition-delay: .32s; }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1100px) {
  :root { --pad-section: 96px; --pad-h: 40px; }
  .edizione-2026 .container { grid-template-columns: 1fr; gap: 56px; }
  .edizione-visual { display: none; }
  .storia-content { grid-template-columns: 1fr; gap: 56px; }
  .storia-single-img { height: 420px; }
  .territorio-text { grid-template-columns: 1fr; gap: 40px; }
  .lineup-grid { grid-template-columns: repeat(2, 1fr); }
  .press-grid { grid-template-columns: 1fr; }
  .contatti-inner { grid-template-columns: 1fr; gap: 56px; }
  .edizioni-cards-wrap { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 48px; }
  .storia-visual-hero-content { padding: 48px 40px; }
}

@media (max-width: 768px) {
  :root { --pad-section: 72px; --pad-h: 24px; }
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile ul { padding: 12px 24px 24px; }
  .lineup-grid { grid-template-columns: 1fr; background: none; gap: 1px; }
  .press-grid { grid-template-columns: 1fr; }
  .territorio-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 220px;
  }
  .gallery-item--large { grid-row: span 1; }
  .storia-stats { flex-wrap: wrap; gap: 0; }
  .stat { margin-right: 32px; padding-right: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; padding: 0 24px 48px; }
  .footer-bottom { padding: 24px 0; flex-direction: column; align-items: flex-start; }
  .footer-legal { gap: 16px; }
  .cookie-banner { padding: 20px 24px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-logo { width: min(400px, 86vw); }
  .edizione-meta { flex-wrap: wrap; }
  .edizioni-cards-wrap { grid-template-columns: 1fr; gap: 10px; }
  .storia-visual-hero { height: 55vh; }
  .storia-visual-hero-content { padding: 32px 24px; }
  .storia-visual-hero-title { font-size: clamp(30px, 9vw, 52px); overflow-wrap: break-word; }
  .page-hero-title { font-size: clamp(56px, 16vw, 100px); }
  .edizione-card { aspect-ratio: 4/3; }

  /* Programma */
  .programma-grid { grid-template-columns: 1fr; gap: 10px; }
  .programma-giorno { padding: 32px 24px 40px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; padding: 40px 0 32px; gap: 0; }
  .footer-logo-area { display: none; }
  .footer-links-area { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }

  /* Artists grid mobile */
  .artists-section { padding-top: 48px; }
  .artists-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .artists-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  .artist-card-big { grid-column: span 2; aspect-ratio: 3/2; }
  .artist-card-sm  { grid-column: span 1; aspect-ratio: 1/1; }

  /* Home come arrivare grid mobile */
  .home-arrive-grid { grid-template-columns: 1fr !important; }

  /* Festival strip mobile */
  .festival-strip-inner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px 24px; }
  .festival-strip-sep { display: none; }

  /* Edizione meta — item meno padding */
  .edizione-meta-item { padding: 20px 24px 20px 0; margin-right: 20px; }
}

/* ==============================
   STORIA — editions timeline
   ============================== */
.editions-timeline {
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(46,34,135,.07);
}
.edition-row {
  display: grid;
  grid-template-columns: 72px 1fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(46,34,135,.05);
  transition: padding .25s var(--ease), background .25s;
}
.edition-row:hover {
  padding-left: 16px;
  background: rgba(46,34,135,.03);
  border-radius: 8px;
  border-bottom-color: transparent;
  margin-bottom: 1px;
}
.edition-year {
  font-size: 18px; font-weight: 800;
  letter-spacing: -.02em;
  color: var(--blue);
}
.edition-row--current .edition-year {
  color: var(--blue);
  font-size: 22px;
}
.edition-bar {
  height: 1px;
  background: rgba(46,34,135,.12);
  transition: background .25s;
}
.edition-row:hover .edition-bar { background: var(--blue); }
.edition-note {
  font-size: 14px; font-weight: 300;
  color: var(--gray-light);
  line-height: 1.5;
}
.edition-row--current .edition-note {
  font-weight: 500; color: var(--white);
}

/* ==============================
   STORIA — come arrivare
   ============================== */
.come-arrivare-list {
  margin-top: 36px;
  display: flex; flex-direction: column; gap: 28px;
}
.come-arrivare-item {
  display: flex; gap: 20px; align-items: flex-start;
}
.come-arrivare-icon {
  font-size: 22px; line-height: 1;
  flex-shrink: 0; margin-top: 2px;
}
.come-arrivare-item strong {
  display: block;
  font-size: 13px; font-weight: 700;
  letter-spacing: .05em;
  color: var(--white); margin-bottom: 6px;
}
.come-arrivare-item p {
  font-size: 14px; font-weight: 300;
  color: var(--gray-light); line-height: 1.75;
  margin: 0;
}

/* Mappa embed */
.mappa-wrap {
  display: flex; flex-direction: column; gap: 12px;
}
.mappa-wrap iframe {
  width: 100%; height: 420px;
  border: none; border-radius: 14px;
  display: block;
  box-shadow: 0 16px 48px rgba(46,34,135,.10);
}
.mappa-link {
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
  transition: color .2s;
}
.mappa-link:hover { color: var(--white); }

/* ==============================
   STORIA — photo slider
   ============================== */
.photo-slider-wrap {
  position: relative;
  padding-bottom: 64px;
}
.photo-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 var(--pad-h) 0;
}
.photo-slider::-webkit-scrollbar { display: none; }
.photo-slide {
  flex-shrink: 0;
  width: clamp(260px, 38vw, 520px);
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: 14px;
  scroll-snap-align: start;
}
.photo-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  display: block;
}
.photo-slide:hover img { transform: scale(1.04); }
.photo-slider-controls {
  position: absolute; bottom: 0; left: 0;
  padding: 0 var(--pad-h);
  display: flex; gap: 10px;
}
.slider-btn {
  width: 48px; height: 48px;
  background: var(--white);
  color: var(--black);
  border: none; cursor: pointer;
  font-size: 18px; font-weight: 700;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.slider-btn:hover {
  background: var(--blue);
  color: #F7F7F7;
  transform: scale(1.06);
}
@media (max-width: 768px) {
  .editions-timeline .edition-row { grid-template-columns: 60px 0 1fr; }
  .edition-bar { display: none; }
  .photo-slide { width: clamp(220px, 80vw, 360px); }
}

/* ==============================
   SCHEDULE — pagine giornata
   ============================== */
.schedule-list {
  display: flex;
  flex-direction: column;
  border-top: 2px solid rgba(46,34,135,.08);
}
.schedule-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(46,34,135,.06);
  transition: padding .3s var(--ease), background .3s;
  cursor: default;
}
.schedule-row:hover {
  padding-left: 24px;
  background: rgba(46,34,135,.03);
  border-radius: 12px;
  border-bottom-color: transparent;
  margin-bottom: 1px;
}
.schedule-time {
  font-size: 13px; font-weight: 700;
  color: rgba(46,34,135,.35);
  letter-spacing: .05em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.schedule-artist {
  font-size: clamp(24px, 3.2vw, 48px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.05;
  color: var(--white);
  transition: color .25s;
}
.schedule-row:hover .schedule-artist {
  color: var(--blue);
}
.schedule-genre {
  font-size: 9px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
  opacity: .7;
  transition: opacity .25s;
}
.schedule-row:hover .schedule-genre {
  opacity: 1;
}
@media (max-width: 768px) {
  .schedule-row { grid-template-columns: 52px 1fr; gap: 20px; padding: 24px 0; }
  .schedule-genre { display: none; }
}

/* ==============================
   GALLERIA — GRID COMPLETA
   ============================== */
.full-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 10px;
  grid-auto-flow: dense;
}
.full-gallery-grid .gallery-item {
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
}
.full-gallery-grid .gallery-item--tall {
  grid-row: span 2;
}
.full-gallery-grid .gallery-item img {
  filter: grayscale(15%) brightness(.92);
}
.full-gallery-grid .gallery-item:hover img {
  filter: grayscale(0%) brightness(1);
}
@media (max-width: 1024px) {
  .full-gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; }
}
@media (max-width: 768px) {
  .full-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .full-gallery-grid .gallery-item--tall { grid-row: span 1; }
}

/* ==============================
   LIGHTBOX
   ============================== */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,10,10,0.97);
  align-items: center; justify-content: center;
  flex-direction: column;
}
.lightbox.open { display: flex; }
.lightbox-img-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  padding: 72px 100px 64px;
}
.lightbox-img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  border-radius: 8px;
}
.lightbox-close {
  position: fixed; top: 24px; right: 28px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  cursor: pointer; color: rgba(255,255,255,.75);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; transition: background .2s, color .2s;
  border-radius: 8px;
}
.lightbox-close:hover { background: rgba(255,255,255,.15); color: #fff; }
.lightbox-prev, .lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.65); cursor: pointer;
  width: 52px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; transition: background .2s, color .2s;
  border-radius: 8px;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255,255,255,.12); color: #fff;
}
.lightbox-counter {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
/* --- Video grid --- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.video-item {
  position: relative;
  overflow: hidden;
  background: #111;
}
.video-item video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.video-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5,5,5,.35);
  transition: opacity .35s, background .35s;
  cursor: pointer;
}
.video-item.playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}
.video-item.playing:hover .video-overlay {
  opacity: 1;
  pointer-events: auto;
  background: rgba(5,5,5,.15);
}
.video-play-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #F7F7F7;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .2s, transform .2s, border-color .2s;
}
.video-play-btn svg { width: 26px; height: 26px; margin-left: 3px; }
.video-play-btn:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.7);
  transform: scale(1.08);
}
.video-item.playing .video-play-btn svg path { d: path("M6 19h4V5H6v14zm8-14v14h4V5h-4z"); }
@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .lightbox-img-wrap { padding: 64px 16px 56px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ==============================
   COUNTDOWN TIMER
   ============================== */
.hero-countdown {
  display: flex;
  align-items: flex-start;
  gap: 0;
  opacity: 0;
  animation: fadeUp .9s var(--ease) .3s forwards;
}
.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: clamp(80px, 14vw, 180px);
}
.countdown-num {
  font-size: clamp(64px, 12vw, 160px);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
  color: #F7F7F7;
  font-variant-numeric: tabular-nums;
}
.countdown-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(247,247,247,.38);
}
.countdown-sep {
  font-size: clamp(56px, 10vw, 130px);
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  padding: 0 4px;
  margin-top: 2px;
}
.hero-countdown--ended {
  font-size: 16px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue);
}

/* ==============================
   INFO CARDS — 4 card grid
   ============================== */
.info-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background: var(--black);
}
.info-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: var(--white);
}
.info-card-bg {
  position: absolute; inset: 0;
}
.info-card-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(40%) brightness(.65);
  transition: transform .7s var(--ease), filter .5s;
}
.info-card:hover .info-card-bg img {
  transform: scale(1.06);
  filter: grayscale(0%) brightness(.75);
}
.info-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(22,21,21,.95) 0%,
    rgba(22,21,21,.45) 55%,
    rgba(22,21,21,.1) 100%
  );
  transition: background .5s var(--ease);
}
.info-card:hover .info-card-overlay {
  background: linear-gradient(
    to top,
    rgba(108,92,246,.92) 0%,
    rgba(108,92,246,.5) 55%,
    rgba(108,92,246,.15) 100%
  );
}
.info-card-body {
  position: relative; z-index: 2;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.info-card-tag {
  font-size: 9px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--blue);
  transition: color .35s;
}
.info-card:hover .info-card-tag { color: rgba(46,34,135,.6); }
.info-card-title {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
  letter-spacing: -.025em; line-height: 1.05;
  color: var(--white);
}
.info-card-cta {
  font-size: 10px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: rgba(46,34,135,.4);
  transition: color .3s;
  display: inline-flex; align-items: center; gap: 6px;
}
.info-card:hover .info-card-cta { color: var(--white); }

@media (max-width: 1100px) {
  .info-cards { grid-template-columns: repeat(2, 1fr); }
  .info-card { min-height: 280px; }
}
@media (max-width: 768px) {
  .info-cards { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .info-card { min-height: 200px; }
  .info-card-title { font-size: 18px; }
  .info-card-body { padding: 20px 18px; }
  .hero-countdown { gap: 0; }
  .countdown-item { min-width: 0; gap: 8px; }
  .countdown-sep { padding: 0 2px; }
}
