@font-face {
  font-family: 'Pragmatica Extended';
  src: url('../fonts/pragmatica-extended-bold.woff2') format('woff2'),
       url('../fonts/pragmatica-extended-bold.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; font-variant-emoji: text; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #F38B00; line-height: 1.2; font-family: 'Pragmatica Extended', sans-serif; }

.page {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #F38B00;
  font-family: 'Pragmatica Extended', sans-serif;
  font-weight: 700;
  overflow: hidden;
}

header {
  height: 96px;
  flex-shrink: 0;
  background: #F38B00;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  gap: 20px;
  position: relative;
}

.hamburger {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1D1D1B;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.page:has(.menu-overlay.active) .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.page:has(.menu-overlay.active) .hamburger span:nth-child(2) {
  opacity: 0;
}
.page:has(.menu-overlay.active) .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-logo {
  height: 76px;
  width: auto;
  display: block;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.header-sep {
  color: #1D1D1B;
  font-size: clamp(0.62rem, 1.2vmin, 1rem);
  flex-shrink: 0;
  line-height: 1;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.page:has(.menu-overlay.active) .header-logo,
.page:has(.menu-overlay.active) .header-sep {
  opacity: 0;
}
footer {
  height: 96px;
  flex-shrink: 0;
  background: #F38B00;
  z-index: 20;
  display: flex;
  align-items: center;
  padding: 0 24px;
}

.footer-social {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.footer-social a {
  display: flex;
  align-items: center;
}

.footer-icon {
  width: 20px;
  height: 20px;
  display: block;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.footer-social a:hover .footer-icon { opacity: 1; }

.footer-logos {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logos .header-logo {
  height: 56px;
  width: auto;
}

.footer-copy {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.footer-copy-text {
  font-size: clamp(0.53rem, 1vmin, 0.62rem);
  font-weight: 300;
  color: #1D1D1B;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
}

.page:has(.menu-overlay.active) .footer-social,
.page:has(.menu-overlay.active) .footer-copy { opacity: 0; }

main {
  flex: 1;
  position: relative;
  overflow: hidden;
}

canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  display: block;
}

.logo-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(200px, 22vw, 320px);
  z-index: 2;
  transform: translate(-50%, -50%);
  will-change: transform;
  cursor: pointer;
}
.logo-wrap svg {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: bounding-box;
}

/* ── MENU CIRCOLARE ────────────────────────────────────────────── */
.menu-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.menu-circle {
  position: relative;
  width: clamp(350px, 78vmin, 860px);
  height: clamp(350px, 78vmin, 860px);
  background: #1D1D1B;
  border-radius: 50%;
  border: 2px solid rgba(243,241,238,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform 0.4s ease-in;
  pointer-events: none;
  overflow: hidden;
}

/* dot grid */
.menu-circle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image: radial-gradient(circle, rgba(243,241,238,0.12) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* anello interno */
.menu-circle::after {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(243,241,238,0.1);
  pointer-events: none;
}

.menu-overlay.active .menu-circle {
  transform: scale(1);
  pointer-events: auto;
  transition: transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1);
}

/* ── CONTENUTO ─────────────────────────────────────────────────── */
.menu-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.6rem, 2vmin, 1.2rem);
  text-align: center;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.2s, transform 0.25s ease-in;
}

.menu-overlay.active .menu-content {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.25s 0.25s, transform 0.35s 0.2s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.menu-logo {
  width: clamp(160px, 48%, 300px);
  height: auto;
  display: block;
  filter: url(#remove-white);
}

.menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.4rem, 1.2vmin, 0.8rem);
}

.menu-nav-row {
  display: flex;
  gap: clamp(1rem, 3vmin, 2rem);
}

.menu-nav a {
  font-size: clamp(0.62rem, 1.4vmin, 1rem);
  font-weight: 700;
  color: #F38B00;
  text-decoration: none;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.45;
  transition: opacity 0.2s;
}

.menu-nav a:hover { opacity: 1; }

/* ── STELLE ────────────────────────────────────────────────────── */
.menu-star {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  color: #F3F1EE;
  font-size: clamp(0.55rem, 1.1vmin, 0.82rem);
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.3s 0.35s;
  pointer-events: none;
  z-index: 1;
  letter-spacing: 0;
}

.menu-overlay.active .menu-star { opacity: 0.55; }

/* ── NAV A TENDINA (pagine interne) ───────────────────────────── */
.page-nav {
  position: fixed;
  top: 96px;          /* subito sotto l'header */
  left: 0;
  right: 0;
  z-index: 15;        /* sotto l'header (z-index 20) → non copre il hamburger */
  background: #F38B00;
  border-top: 2px solid #1D1D1B;
  border-bottom: 2px solid #1D1D1B;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 18px 24px;
  /* nascosta: opacity + piccolo shift verso l'alto */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0.25s;
}

.page-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0s;
}

.page-nav a {
  font-size: clamp(0.62rem, 1vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1D1D1B;
  text-decoration: none;
  opacity: 0.45;
  transition: opacity 0.2s;
}

.page-nav a:hover { opacity: 1; }
.page-nav a[aria-current="page"] { opacity: 1; }

/* hamburger → X quando page-nav è aperta */
.page:has(.page-nav.active) .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.page:has(.page-nav.active) .hamburger span:nth-child(2) {
  opacity: 0;
}
.page:has(.page-nav.active) .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════════
   CHI SIAMO — stili specifici
═══════════════════════════════════════════════════════════════ */

/* ── OVERRIDE: pagina scrollabile ────────────────────────────── */
.cs-page ~ * ,
.cs-page { height: auto; min-height: 100vh; }

/* header fisso sulle pagine interne + spazio compensazione */
.cs-page > header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}

.cs-page {
  padding-top: 96px;
}

.cs-page ~ html,
html:has(.cs-page) { overflow-x: hidden; overflow-y: auto; height: auto; }

body:has(.cs-page) { overflow-x: hidden; overflow-y: auto; height: auto; }

.cs-page .menu-overlay { position: fixed; z-index: 30; }

/* ── MAIN ─────────────────────────────────────────────────────── */
.cs-main {
  flex: 1 0 auto;
  overflow: visible;
  position: static;
  border-top: 2px solid #1D1D1B;
}

/* ── SEZIONI ──────────────────────────────────────────────────── */
.cs-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2px;
  background: #1D1D1B;
  border-bottom: 2px solid #1D1D1B;
  min-height: clamp(320px, 55vh, 560px);
}

/* ── IMMAGINE placeholder ──────────────────────────────────────── */
.cs-image {
  background: #1D1D1B;
  background-image: radial-gradient(circle, rgba(243,139,0,0.13) 1px, transparent 1px);
  background-size: 24px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.cs-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

.cs-star {
  font-size: clamp(2.62rem, 8vw, 6.85rem);
  color: rgba(243, 139, 0, 0.18);
  font-weight: 300;
  user-select: none;
  line-height: 1;
}

/* ── TESTO ────────────────────────────────────────────────────── */
.cs-text {
  padding: clamp(3rem, 7vw, 5rem) clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1rem, 2.5vmin, 1.8rem);
  background-color: #F38B00;
  background-image:
    linear-gradient(rgba(29,29,27,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,29,27,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.cs-section--reverse .cs-text {
  order: -1;
}

.cs-eyebrow {
  font-size: clamp(0.55rem, 0.9vw, 0.62rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1D1D1B;
  opacity: 0.5;
}

.cs-title {
  font-size: clamp(2.62rem, 5.5vw, 4.24rem);
  font-weight: 900;
  color: #1D1D1B;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.cs-body {
  font-size: clamp(0.82rem, 1.1vw, 1rem);
  font-weight: 300;
  color: #1D1D1B;
  line-height: 1.78;
  max-width: 46ch;
  opacity: 0.65;
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 700px) {
  .cs-section,
  .cs-section--reverse { grid-template-columns: 1fr; }

  .cs-image { min-height: 45vw; }

  .cs-section {
    column-gap: 0;
  }

  .cs-text,
  .cs-section--reverse .cs-text {
    border-top: 2px solid #1D1D1B;
    order: 0;
  }
}

/* ═══════════════════════════════════════════════════════════════
   SHOP — gate password + empty state
═══════════════════════════════════════════════════════════════ */

.shop-gate {
  flex: 1;
  background: #1D1D1B;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-top: 2px solid #1D1D1B;
  border-bottom: 2px solid #1D1D1B;
  transition: opacity 0.4s ease;
}

.shop-gate--exit {
  opacity: 0;
  pointer-events: none;
}

.shop-gate-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.8rem, 2.5vmin, 1.6rem);
  text-align: center;
}

.shop-gate-title {
  font-size: clamp(2.62rem, 5.5vw, 4.24rem);
  font-weight: 700;
  color: #F38B00;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.shop-gate-sub {
  font-size: clamp(0.62rem, 1.4vmin, 1rem);
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #F3F1EE;
  opacity: 0.5;
}

.shop-gate-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-top: 0.6rem;
}

.shop-gate-input {
  background: none;
  border: none;
  border-bottom: 2px solid rgba(243,139,0,0.5);
  color: #F3F1EE;
  font-family: 'Pragmatica Extended', sans-serif;
  font-size: clamp(0.82rem, 1.1vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.5rem 0;
  width: clamp(200px, 30vw, 340px);
  outline: none;
  transition: border-color 0.2s;
}

.shop-gate-input:focus { border-color: #F38B00; }

.shop-gate-input::placeholder {
  color: #F3F1EE;
  opacity: 0.25;
}

.shop-gate-btn {
  background: #F38B00;
  color: #1D1D1B;
  border: none;
  font-family: 'Pragmatica Extended', sans-serif;
  font-size: clamp(0.62rem, 1vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.75rem 2.5rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.shop-gate-btn:hover { opacity: 0.75; }

.shop-gate-error {
  font-size: clamp(0.55rem, 0.9vw, 0.62rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F38B00;
  opacity: 0;
  transition: opacity 0.2s;
}

.shop-gate-error.visible { opacity: 1; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25%       { transform: translateX(-8px); }
  75%       { transform: translateX(8px); }
}

.shop-gate-input.shake { animation: shake 0.3s ease; }

/* ── empty state ─────────────────────────────────────────────── */
.shop-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vmin, 2rem);
  min-height: clamp(320px, 55vh, 560px);
  border-bottom: 2px solid #1D1D1B;
}

.shop-empty-star {
  font-size: clamp(2.62rem, 8vw, 6.85rem);
  color: rgba(29, 29, 27, 0.12);
  font-weight: 700;
  line-height: 1;
  user-select: none;
}

.shop-empty-label {
  font-size: clamp(0.62rem, 1vw, 0.76rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1D1D1B;
  opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════════════
   ARCHIVIO
═══════════════════════════════════════════════════════════════ */

.ar-main {
  flex: 1 0 auto;
  overflow: visible;
  position: static;
  border-top: 2px solid #1D1D1B;
}

.ar-year-label {
  padding: 0.9rem clamp(1.5rem, 4vw, 3rem);
  border-bottom: 2px solid #1D1D1B;
  font-size: clamp(0.55rem, 0.9vw, 0.62rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #1D1D1B;
  opacity: 0.4;
}

/* ── singolo evento ───────────────────────────────────────────── */
.ar-event {
  border-bottom: 2px solid #1D1D1B;
  overflow: hidden;
}

.ar-event-header {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto auto;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 2rem);
  padding: clamp(1rem, 2.5vmin, 1.4rem) clamp(1.5rem, 4vw, 3rem);
  cursor: default;
  transition: background 0.2s;
}

@media (hover: hover) {
  .ar-event:hover .ar-event-header { background: rgba(29,29,27,0.04); }
}

.ar-event-index {
  font-size: clamp(0.55rem, 0.85vw, 0.62rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1D1D1B;
  opacity: 0.28;
}

.ar-event-name {
  font-size: clamp(1rem, 2.2vw, 1.72rem);
  font-weight: 700;
  color: #1D1D1B;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
}

.ar-event-location {
  font-size: clamp(0.55rem, 0.85vw, 0.62rem);
  font-weight: 300;
  color: #1D1D1B;
  opacity: 0.45;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.ar-event-date {
  font-size: clamp(0.55rem, 0.85vw, 0.62rem);
  font-weight: 700;
  color: #1D1D1B;
  opacity: 0.35;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ── pannello espandibile ─────────────────────────────────────── */
.ar-event-body {
  display: grid;
  grid-template-columns: auto 1fr 1.4fr;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.52s cubic-bezier(0.4, 0, 0.2, 1);
}

.ar-event.is-open .ar-event-body { max-height: 460px; }
.ar-event.is-open .ar-event-name  { visibility: hidden; }

/* locandina */
.ar-event-poster {
  overflow: hidden;
  flex-shrink: 0;
}

.ar-event-poster img,
.ar-event-poster video {
  display: block;
  height: 460px;
  width: auto;
}

.ar-event-poster--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: radial-gradient(circle, rgba(243,139,0,0.12) 1px, transparent 1px);
  background-size: 22px 22px;
}

.ar-event-poster--empty span {
  font-size: clamp(2.62rem, 8vw, 6.85rem);
  color: rgba(243,139,0,0.22);
  font-weight: 700;
  line-height: 1;
}

/* pannello info */
.ar-event-panel {
  background: #1D1D1B;
  background-image: radial-gradient(circle, rgba(243,139,0,0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1rem, 2.5vmin, 1.6rem);
}

.ar-panel-name {
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 700;
  color: #F38B00;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.ar-panel-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ar-panel-location,
.ar-panel-time {
  font-size: clamp(0.62rem, 0.95vw, 0.76rem);
  font-weight: 300;
  color: #F38B00;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.ar-panel-desc {
  font-size: clamp(0.7rem, 1.05vw, 0.85rem);
  font-weight: 300;
  color: #F3F1EE;
  opacity: 0.75;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.ar-panel-tg {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: clamp(0.62rem, 0.95vw, 0.76rem);
  font-weight: 700;
  color: #F38B00;
  text-decoration: none;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
  transition: opacity 0.2s;
  align-self: flex-start;
}

.ar-panel-tg:hover { opacity: 1; }

/* ── gallery ──────────────────────────────────────────────────── */
.ar-event-gallery {
  background: #F38B00;
  background-image: radial-gradient(circle, rgba(29,29,27,0.18) 1px, transparent 1px);
  background-size: 12px 12px;
  border-left: 2px solid #1D1D1B;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  overflow: hidden;
  justify-content: center;
}

.ar-gallery-label {
  font-size: clamp(0.55rem, 0.85vw, 0.62rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #1D1D1B;
  opacity: 0.35;
  flex-shrink: 0;
}

.ar-gallery-wrapper {
  position: relative;
  height: 340px;
}

.ar-gallery-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  height: 100%;
}

.ar-gallery-strip::-webkit-scrollbar { display: none; }

.ar-gallery-photo {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  overflow: hidden;
}

.ar-gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 22px rgba(29,29,27,0.55));
}

.ar-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(29,29,27,0.75);
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F38B00;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  opacity: 0.85;
  transition: opacity 0.2s;
  z-index: 2;
}
.ar-gallery-arrow:hover { opacity: 1; }
.ar-gallery-arrow--prev { left: 6px; }
.ar-gallery-arrow--next { right: 6px; }

/* ══════════════════════════════════════════════════════════════
   PROSSIMO EVENTO
   ══════════════════════════════════════════════════════════════ */

/* canvas grid di sfondo */
#ne-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.ne-page {
  background: transparent;
  position: relative;
  z-index: 1;
}

/* gate teaser */
.ne-gate {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vh, 3.5rem);
  text-align: center;
  padding: 2rem;
  background: #1D1D1B;
  border-top: 2px solid #1D1D1B;
  border-bottom: 2px solid #1D1D1B;
  transition: opacity 0.4s ease;
}

.ne-gate--exit {
  opacity: 0;
  pointer-events: none;
}

.ne-gate-text {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
}

.ne-gate-line {
  display: block;
  font-size: clamp(0.75rem, 1.8vw, 1.1rem);
  font-weight: 700;
  color: #F3F1EE;
  opacity: 0.55;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.ne-gate-line--loud {
  font-size: clamp(3rem, 10vw, 8rem);
  color: #F38B00;
  opacity: 1;
  letter-spacing: 0.06em;
  line-height: 0.88;
  margin-bottom: 0.25em;
}

.ne-gate-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.ne-gate-input {
  background: none;
  border: none;
  border-bottom: 2px solid rgba(243,139,0,0.5);
  color: #F3F1EE;
  font-family: 'Pragmatica Extended', sans-serif;
  font-size: clamp(0.82rem, 1.1vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.5rem 0;
  width: clamp(200px, 30vw, 340px);
  outline: none;
  transition: border-color 0.2s;
}

.ne-gate-input:focus { border-color: #F38B00; }

.ne-gate-input::placeholder {
  color: #F3F1EE;
  opacity: 0.25;
}

.ne-gate-btn {
  background: #F38B00;
  color: #1D1D1B;
  border: none;
  font-family: 'Pragmatica Extended', sans-serif;
  font-size: clamp(0.62rem, 1vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.75rem 2.5rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.ne-gate-btn:hover { opacity: 0.8; }

.ne-gate-error {
  font-size: clamp(0.55rem, 0.9vw, 0.62rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F3F1EE;
  opacity: 0;
  transition: opacity 0.2s;
}

.ne-gate-error.visible { opacity: 1; }
.ne-gate-input.shake { animation: shake 0.3s ease; }

/* card evento */
.ne-main {
  min-height: calc(100vh - 96px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  border-top: 2px solid #1D1D1B;
  border-bottom: 2px solid #1D1D1B;
}

.ne-card {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 1000px;
  background: #1D1D1B;
  background-image: radial-gradient(circle, rgba(243,139,0,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  border: 1.5px solid rgba(243,139,0,0.18);
  overflow: hidden;
}

.ne-card-poster {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.2rem, 2.5vw, 2rem) 0 clamp(1.2rem, 2.5vw, 2rem) clamp(1.2rem, 2.5vw, 2rem);
}

.ne-card-poster img,
.ne-card-poster video {
  display: block;
  height: 420px;
  width: auto;
}

.ne-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.2rem, 3vmin, 2rem);
  padding: clamp(2.5rem, 6vw, 4.5rem);
}

.ne-info-location {
  font-size: clamp(0.62rem, 0.9vw, 0.76rem);
  font-weight: 700;
  color: #F38B00;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.2s;
}

.ne-info-location:hover { opacity: 0.65; }

.ne-info-time {
  font-size: clamp(0.62rem, 0.9vw, 0.76rem);
  font-weight: 300;
  color: #F3F1EE;
  opacity: 0.45;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.ne-info-lineup {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ne-lineup-label {
  font-size: clamp(0.55rem, 0.8vw, 0.62rem);
  font-weight: 700;
  color: rgba(243,139,0,0.45);
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.ne-lineup-names {
  font-size: clamp(1.2rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: #F3F1EE;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.ne-info-desc {
  font-size: clamp(0.7rem, 1.05vw, 0.85rem);
  font-weight: 300;
  color: #F3F1EE;
  opacity: 0.6;
  line-height: 1.55;
  letter-spacing: 0.01em;
  white-space: pre-line;
}

.ne-info-ticket {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  background: #F38B00;
  color: #1D1D1B;
  font-family: 'Pragmatica Extended', sans-serif;
  font-size: clamp(0.7rem, 1vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.8em 2em;
  transition: opacity 0.2s;
}

.ne-info-ticket:hover { opacity: 0.82; }

.ne-info-quote {
  font-size: clamp(0.78rem, 1.2vw, 1rem);
  font-weight: 300;
  color: #F3F1EE;
  opacity: 0.3;
  line-height: 1.55;
  font-style: italic;
  letter-spacing: 0.02em;
  border-left: 2px solid rgba(243,139,0,0.25);
  padding-left: 1rem;
}

@media (max-width: 700px) {
  .ne-card { flex-direction: column; min-height: unset; }
  .ne-card-poster img { width: 100%; height: auto; }
}

/* ── responsive ───────────────────────────────────────────────── */
@media (max-width: 700px) {
  .ar-event-header {
    grid-template-columns: 2rem 1fr auto;
  }
  .ar-event-location { display: none; }

  .ar-event-body { grid-template-columns: 1fr; }
  .ar-event.is-open .ar-event-body { max-height: 800px; }

  .ar-event-poster img,
  .ar-event-poster video { width: 100%; height: auto; }

  .ar-event-gallery { border-left: none; border-top: 2px solid #1D1D1B; }

  .ar-gallery-photo { width: 85%; }
}

/* ══════════════════════════════════════════════════════════════
   CONTATTI
   ══════════════════════════════════════════════════════════════ */

.ct-main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  overflow-y: auto;
  border-top: 2px solid #1D1D1B;
  border-bottom: 2px solid #1D1D1B;
}

/* ── colonna info ──────────────────────────────────────────── */
.ct-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.2rem, 3vmin, 2rem);
  padding: clamp(3rem, 8vw, 6rem);
  border-right: 2px solid #1D1D1B;
}

.ct-eyebrow {
  font-size: clamp(0.55rem, 0.9vw, 0.68rem);
  font-weight: 700;
  color: #F38B00;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.ct-title {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  color: #1D1D1B;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.ct-subtitle {
  font-size: clamp(0.7rem, 1.1vw, 0.9rem);
  font-weight: 300;
  color: #1D1D1B;
  opacity: 0.55;
  letter-spacing: 0.06em;
}

.ct-contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.ct-contact-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.2s;
}

.ct-contact-row:hover { opacity: 0.6; }

.ct-socials {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 0.5rem;
}

.ct-socials a {
  display: flex;
  align-items: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.ct-socials a:hover { opacity: 1; }

.ct-social-icon {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}

.ct-contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

.ct-contact-text {
  font-size: clamp(0.75rem, 1.1vw, 0.9rem);
  font-weight: 700;
  color: #1D1D1B;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── card form ─────────────────────────────────────────────── */
.ct-card {
  background: #1D1D1B;
  background-image: radial-gradient(circle, rgba(243,139,0,0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
}

.ct-form {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2.5vmin, 1.8rem);
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ct-label {
  font-size: clamp(0.55rem, 0.85vw, 0.65rem);
  font-weight: 700;
  color: rgba(243,139,0,0.6);
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.ct-input {
  background: none;
  border: none;
  border-bottom: 1.5px solid rgba(243,241,238,0.2);
  color: #F3F1EE;
  font-family: 'Pragmatica Extended', sans-serif;
  font-size: clamp(0.75rem, 1.1vw, 0.9rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  padding: 0.55rem 0;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}

.ct-input:focus { border-color: #F38B00; }

.ct-input--error { border-color: rgba(255,60,60,0.7) !important; }

.ct-input::placeholder {
  color: #F3F1EE;
  opacity: 0.2;
}

.ct-textarea {
  resize: none;
  line-height: 1.6;
}

.ct-field-error {
  font-size: clamp(0.55rem, 0.8vw, 0.62rem);
  font-weight: 700;
  color: rgba(255,90,90,0.9);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.2s;
  min-height: 1em;
}

.ct-field-error.visible { opacity: 1; }

.ct-form-error {
  font-size: clamp(0.62rem, 0.9vw, 0.72rem);
  font-weight: 300;
  color: rgba(255,90,90,0.9);
  letter-spacing: 0.06em;
  opacity: 0;
  transition: opacity 0.2s;
}

.ct-form-error.visible { opacity: 1; }

.ct-submit {
  align-self: flex-start;
  background: #F38B00;
  color: #1D1D1B;
  border: none;
  font-family: 'Pragmatica Extended', sans-serif;
  font-size: clamp(0.62rem, 1vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.85rem 2.5rem;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 0.4rem;
}

.ct-submit:hover { opacity: 0.8; }
.ct-submit:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── success ───────────────────────────────────────────────── */
.ct-success {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
}

.ct-success.visible {
  display: flex;
}

.ct-success-star {
  font-size: 2.5rem;
  color: #F38B00;
  line-height: 1;
}

.ct-success-quote {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #F3F1EE;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.ct-success-sub {
  font-size: clamp(0.65rem, 1vw, 0.8rem);
  font-weight: 300;
  color: #F3F1EE;
  opacity: 0.45;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── responsive ────────────────────────────────────────────── */
@media (max-width: 700px) {
  .ct-main { grid-template-columns: 1fr; }
  .ct-info { border-right: none; border-bottom: 2px solid #1D1D1B; }
}

/* ══════════════════════════════════════════════════════════════
   SHOP
   ══════════════════════════════════════════════════════════════ */

#shop-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.shop-page {
  background: transparent;
  position: relative;
  z-index: 1;
}

/* carrello header — solo shop.html */
.shop-cart-btn {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.shop-cart-btn:hover { opacity: 1; }

.shop-cart-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.shop-cart-count {
  position: absolute;
  top: 0;
  right: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: #1D1D1B;
  color: #F38B00;
  font-size: 0.48rem;
  font-weight: 700;
  width: 13px;
  height: 13px;
  border-radius: 50%;
}

.shop-cart-count.visible { display: flex; }

/* griglia prodotti */
.shop-main {
  padding: clamp(2rem, 4vw, 3.5rem);
  overflow-y: auto;
  border-bottom: 2px solid #1D1D1B;
}

.shop-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.8rem);
  max-width: 1200px;
  margin: 0 auto;
}

/* card prodotto */
.sp-card {
  background: #1D1D1B;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* foto */
.sp-photos {
  position: relative;
}

.sp-strip {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.sp-strip::-webkit-scrollbar { display: none; }

.sp-photo {
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  scroll-snap-align: start;
  background: rgba(243,139,0,0.06);
  background-image: radial-gradient(circle, rgba(243,139,0,0.15) 1px, transparent 1px);
  background-size: 14px 14px;
  overflow: hidden;
}

.sp-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sp-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}

.sp-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #F3F1EE;
  opacity: 0.3;
  transition: opacity 0.2s;
}

.sp-dot.active { opacity: 1; }

/* info */
.sp-info {
  padding: clamp(1rem, 2vw, 1.4rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 1.5px solid rgba(243,139,0,0.15);
}

.sp-name {
  font-size: clamp(0.75rem, 1.2vw, 1rem);
  font-weight: 700;
  color: #F3F1EE;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sp-price {
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
  font-weight: 700;
  color: #F38B00;
  letter-spacing: 0.02em;
}

.sp-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

.sp-btn-cart {
  flex: 1;
  background: transparent;
  border: 1.5px solid rgba(243,241,238,0.2);
  color: #F3F1EE;
  font-family: 'Pragmatica Extended', sans-serif;
  font-size: clamp(0.55rem, 0.85vw, 0.65rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.65rem 0.8rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.sp-btn-cart:hover {
  background: rgba(243,241,238,0.08);
  border-color: rgba(243,241,238,0.5);
}

.sp-btn-cart--added {
  background: rgba(243,139,0,0.15) !important;
  border-color: #F38B00 !important;
  color: #F38B00 !important;
}

.sp-btn-buy {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F38B00;
  color: #1D1D1B;
  font-family: 'Pragmatica Extended', sans-serif;
  font-size: clamp(0.55rem, 0.85vw, 0.65rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.65rem 0.8rem;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.sp-btn-buy:hover { opacity: 0.8; }

@media (max-width: 900px) {
  .shop-products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .shop-products { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   ISCRIZIONE
   ═══════════════════════════════════════════════════════════════ */

.is-main {
  border-top: 2px solid #1D1D1B;
}

/* intro */
.is-intro {
  background: #F38B00;
  background-image:
    linear-gradient(rgba(29,29,27,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,29,27,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(2rem, 8vw, 7rem);
  border-bottom: 2px solid #1D1D1B;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vmin, 1.8rem);
}

.is-eyebrow {
  font-size: clamp(0.55rem, 0.9vw, 0.62rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #1D1D1B;
  opacity: 0.45;
}

.is-title {
  font-size: clamp(2.6rem, 8vw, 7rem);
  font-weight: 700;
  color: #1D1D1B;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.92;
}

.is-subtitle {
  font-size: clamp(0.72rem, 1.1vw, 0.9rem);
  font-weight: 300;
  color: #1D1D1B;
  opacity: 0.7;
  line-height: 1.6;
  max-width: 52ch;
  letter-spacing: 0.01em;
}

/* step row */
.is-step {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  column-gap: 2px;
  background: #1D1D1B;
  border-bottom: 2px solid #1D1D1B;
  min-height: clamp(300px, 50vh, 520px);
}

.is-step--reverse {
  grid-template-columns: 1.6fr 1fr;
}

/* numero */
.is-step-num-col {
  background: #1D1D1B;
  background-image: radial-gradient(circle, rgba(243,139,0,0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.is-step-num {
  font-size: clamp(6rem, 18vw, 16rem);
  font-weight: 700;
  color: #F38B00;
  line-height: 1;
  letter-spacing: -0.04em;
  user-select: none;
  opacity: 0.22;
}

/* contenuto */
.is-step-content {
  background: #1D1D1B;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.2rem, 3vmin, 2rem);
  border-left: 2px solid rgba(243,139,0,0.15);
}

.is-step--reverse .is-step-content {
  border-left: none;
  border-right: 2px solid rgba(243,139,0,0.15);
}

.is-step-title {
  font-size: clamp(1.8rem, 4.5vw, 4rem);
  font-weight: 700;
  color: #F38B00;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.92;
}

.is-step-body {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.is-step-body p {
  font-size: clamp(0.7rem, 1.05vw, 0.85rem);
  font-weight: 300;
  color: #F3F1EE;
  opacity: 0.75;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.is-step-case {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.is-step-case-label {
  font-size: clamp(0.6rem, 0.9vw, 0.72rem) !important;
  font-weight: 700 !important;
  color: #F38B00 !important;
  opacity: 1 !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.is-step-note {
  font-size: clamp(0.6rem, 0.9vw, 0.72rem) !important;
  opacity: 0.45 !important;
  border-top: 1px solid rgba(243,139,0,0.2);
  padding-top: 0.9rem;
}

.is-step-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #F38B00;
  font-size: clamp(0.6rem, 0.9vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid rgba(243,139,0,0.5);
  padding: 0.6rem 1.1rem;
  transition: background 0.2s, color 0.2s;
  width: fit-content;
  margin-top: 0.4rem;
}

.is-step-link:hover {
  background: #F38B00;
  color: #1D1D1B;
}

/* done */
.is-done {
  background: #F38B00;
  background-image: radial-gradient(circle, rgba(29,29,27,0.12) 1px, transparent 1px);
  background-size: 18px 18px;
  border-bottom: 2px solid #1D1D1B;
  padding: clamp(4rem, 10vw, 8rem) clamp(2rem, 8vw, 7rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
}

.is-done-star {
  font-size: clamp(2rem, 5vw, 4rem);
  color: #1D1D1B;
  opacity: 0.25;
  line-height: 1;
}

.is-done-title {
  font-size: clamp(2.4rem, 7vw, 6rem);
  font-weight: 700;
  color: #1D1D1B;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.92;
}

.is-done-sub {
  font-size: clamp(0.7rem, 1.05vw, 0.85rem);
  font-weight: 300;
  color: #1D1D1B;
  opacity: 0.55;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* responsive */
@media (max-width: 720px) {
  .is-step,
  .is-step--reverse {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .is-step-num-col {
    padding: 2rem;
    min-height: 120px;
  }

  .is-step-num { font-size: clamp(5rem, 24vw, 8rem); opacity: 0.18; }

  .is-step--reverse .is-step-content { border-right: none; }
  .is-step-content { border-left: none; border-top: 2px solid rgba(243,139,0,0.15); }
}
