/* MAIKER HUB · Pagina «Eventi» e pagine dei singoli eventi (recap).
   Filo conduttore: il biglietto (carta crema, matrice tratteggiata da strappare, timbro).
   Colore di area Eventi (#60A5FA) con l’arancione sulle azioni; testo Carbon sui fondi chiari e colorati.
   Usa i componenti della landing 1:1 (one-to-one.css: apertura, modulo, FAQ, chiusura, barra). */

.ev-page { --fo: var(--eventi); --paper: #f2efe7; }
.ev-page::before { background: radial-gradient(ellipse 55% 50% at 82% 10%, #60a5fa24, transparent 70%), radial-gradient(ellipse 45% 40% at 8% 92%, #ff914d14, transparent 70%); }
.ev-page h1 em, .ev-page h2 em { color: var(--eventi); }
.ev-page .fq-item summary .who, .ev-page .fq-body a { color: var(--eventi); }
.ev-page .ot-privacy input { accent-color: var(--eventi); }
.ev-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 22px; font-size: 13px; color: var(--soft); }
.ev-crumbs a { display: inline-block; padding-block: 12px; margin-block: -12px; color: var(--soft); text-underline-offset: 3px; } /* area di tocco di 44px senza spostare la riga */
.ev-crumbs a:focus-visible { color: var(--eventi); }
.ev-crumbs [aria-current] { color: var(--white); font-weight: 700; }
.ev-lead { margin-top: 24px; max-width: 60ch; color: var(--soft); font-size: clamp(17px, 1.4vw, 20px); }

/* ── il biglietto ── */
.tk { --notch: 16px; --cut: 30%; position: relative; display: grid; grid-template-columns: var(--cut) 1fr; background: var(--paper); color: var(--carbon); border: 2px solid var(--carbon); box-shadow: 12px 12px 0 var(--eventi), 12px 12px 0 2px var(--white); }
.tk::before, .tk::after { content: ""; position: absolute; left: calc(var(--cut) - var(--notch)); width: calc(var(--notch) * 2); height: calc(var(--notch) * 2); border-radius: 50%; background: var(--carbon); border: 2px solid var(--carbon); z-index: 2; }
.tk::before { top: calc(var(--notch) * -1 - 2px); }
.tk::after { bottom: calc(var(--notch) * -1 - 2px); }
.tk-stub { position: relative; display: grid; align-content: center; justify-items: center; gap: 2px; padding: 22px 14px; border-right: 3px dashed #0b0f1466; text-align: center; transform-origin: 100% 0; }
.tk-stub .d { font: 800 clamp(46px, 5vw, 78px)/.9 "Syne", sans-serif; letter-spacing: -.05em; }
.tk-stub .d.sm { font-size: clamp(30px, 3.2vw, 50px); white-space: nowrap; }
.tk-stub .m { font: 800 14px/1 "DM Sans", sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.tk-stub .y { font: 600 12px/1 ui-monospace, "SF Mono", Menlo, monospace; opacity: .7; margin-top: 6px; }
.tk-main { position: relative; display: grid; align-content: center; gap: 10px; padding: clamp(20px, 2.6vw, 34px); min-width: 0; }
.tk-kicker { font: 800 11px/1.2 "DM Sans", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #1d4ed8; }
.tk-code { position: absolute; right: 14px; top: 12px; font: 600 11px/1 ui-monospace, "SF Mono", Menlo, monospace; opacity: .55; letter-spacing: .08em; }
.tk-bars { display: block; height: 30px; width: min(160px, 60%); background: repeating-linear-gradient(90deg, var(--carbon) 0 2px, transparent 2px 4px, var(--carbon) 4px 7px, transparent 7px 9px, var(--carbon) 9px 10px, transparent 10px 13px); opacity: .85; }
.tk-stamp { position: absolute; z-index: 3; right: clamp(14px, 3vw, 40px); bottom: clamp(14px, 2.4vw, 30px); padding: 8px 14px; border: 3px double var(--carbon); color: var(--carbon); font: 800 13px/1 "DM Sans", sans-serif; letter-spacing: .18em; text-transform: uppercase; rotate: -12deg; mix-blend-mode: multiply; background: #60a5fa33; }
.js .tk-stamp.rv { opacity: 0; transform: scale(2.4); transition: opacity .2s, transform .45s var(--pop); }
.js .tk-stamp.rv.in { opacity: 1; transform: none; }

/* ═════════ PAGINA EVENTI ═════════ */
/* 1 · apertura: il muro dal vivo */
.ev-hero { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; overflow: hidden; overflow: clip; isolation: isolate; }
.ev-page main > .ev-hero { padding-block: clamp(130px, 16vh, 180px) clamp(50px, 8vh, 90px); }
.ev-wall { position: absolute; inset: -14% -6%; z-index: -2; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; rotate: -7deg; opacity: .8; }
/* le colonne scorrono solo mentre il muro si vede (.run da eventi.js); senza JavaScript scorrono sempre */
.ev-col { display: grid; gap: 14px; align-content: start; animation: evUp 60s linear infinite paused; }
.ev-wall.run .ev-col, html:not(.js) .ev-col { animation-play-state: running; }
.ev-col:nth-child(even) { animation-name: evDown; animation-duration: 74s; }
.ev-col img, .ev-col video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; border: 2px solid #ffffff2e; filter: saturate(.8) contrast(1.05); }
.ev-col .wide { aspect-ratio: 4 / 3; }
@keyframes evUp { to { transform: translateY(-50%); } }
@keyframes evDown { from { transform: translateY(-50%); } to { transform: none; } }
.ev-hero .hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0b0f14f2 0%, #0b0f14d1 40%, #0b0f1459 75%, #0b0f1499 100%), linear-gradient(180deg, #0b0f14b3 0%, transparent 22%, transparent 68%, #0b0f14 97%), var(--grain); }
.ev-hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.ev-hero h1 { font-size: clamp(48px, 7vw, 120px); line-height: .92; letter-spacing: -.05em; max-width: 10ch; }
.ev-hero h1 em { display: block; font-style: normal; }
.tk-hero { --cut: 34%; width: min(100%, 470px); justify-self: center; rotate: -4deg; }
.tk-hero .tk-stub { transform: rotate(calc(var(--tear, 0) * -24deg)) translate(calc(var(--tear, 0) * -40px), calc(var(--tear, 0) * 60px)); transition: transform .1s linear; }
.tk-hero .tk-stub .d { font-size: clamp(56px, 6vw, 88px); }
.tk-hero .tk-stub .d.sm { font-size: clamp(30px, 3vw, 44px); }
.tk-hero .tk-title { font: 800 clamp(26px, 2.6vw, 36px)/1 "Syne", sans-serif; letter-spacing: -.03em; }
.tk-hero ul { list-style: none; display: grid; gap: 8px; margin-top: 4px; }
.tk-hero li { display: flex; align-items: baseline; gap: 10px; border-top: 1px dashed #0b0f1440; padding-top: 8px; font-weight: 600; line-height: 1.3; }
.tk-hero li b { font: 800 26px/1 "Syne", sans-serif; min-width: 2ch; }

/* 2 · il prossimo evento: biglietto in bianco + lista d’attesa */
.ev-next-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); align-items: center; margin-top: clamp(40px, 5vw, 70px); }
.tk-blank { --cut: 32%; rotate: 2deg; }
.tk-blank .tk-stub .d { color: transparent; -webkit-text-stroke: 2px var(--carbon); }
.tk-blank .tk-main h3 { font-size: clamp(26px, 2.6vw, 38px); }
.tk-blank .slot { display: flex; gap: 10px; align-items: baseline; font-weight: 700; font-size: 15px; }
.tk-blank .slot i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--carbon) 0 6px, transparent 6px 10px); transform-origin: 0 50%; transform: scaleX(var(--ink, 1)); transition: transform 1s var(--ease); }
.js .tk-blank:not(.in) .slot i { --ink: 0; }
.tk-blank .slot:nth-child(3) i { transition-delay: .15s; }
.tk-blank .slot:nth-child(4) i { transition-delay: .3s; }
.tk-blank .cursor { display: inline-block; width: .55ch; height: 1em; background: var(--carbon); vertical-align: -2px; margin-left: 4px; animation: evBlink 1s steps(1) infinite; }
@keyframes evBlink { 50% { opacity: 0; } }
.ev-next-side { display: grid; gap: 18px; }
.ev-next-side > p { color: var(--soft); }
.ev-next-side > p a { color: var(--eventi); font-weight: 700; }
.ev-form { box-shadow: 16px 16px 0 var(--eventi), 16px 16px 0 2px var(--white); }
.ev-form .btn[type="submit"] { justify-self: start; }

/* 3 · archivio a biglietti */
.ev-arch-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.ev-chips { display: none; flex-wrap: wrap; gap: 8px; }
.js .ev-chips { display: flex; }
.ev-chips button { min-height: 44px; padding: 10px 14px; border: 2px solid #ffffff55; background: transparent; color: var(--white); font: 700 14px/1 "DM Sans", sans-serif; cursor: pointer; transition: background .2s, color .2s, transform .25s var(--pop), border-color .2s; }
.ev-chips button[aria-pressed="true"] { background: var(--eventi); color: var(--carbon); border-color: var(--carbon); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--white); }
.ev-chips button:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.ev-list { list-style: none; display: grid; gap: clamp(34px, 4vw, 54px); margin-top: clamp(46px, 6vw, 80px); }
.ev-list > li[hidden] { display: none; }
.ev-item { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; }
.ev-item:nth-child(even) .tk { rotate: .8deg; }
.ev-item:nth-child(odd) .tk { rotate: -.8deg; }
.ev-item .tk { --cut: 24%; z-index: 1; text-decoration: none; transition: translate .45s var(--ease), box-shadow .45s var(--ease); }
.ev-item a.tk:focus-visible { translate: -4px -4px; box-shadow: 16px 16px 0 var(--eventi), 16px 16px 0 2px var(--white); outline: 3px solid var(--orange); outline-offset: 6px; }
.ev-item h3 { font-size: clamp(24px, 2.4vw, 36px); line-height: 1; }
.ev-item p { font-size: 15px; max-width: 52ch; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; font-weight: 700; }
.ev-meta span::before { content: "▸ "; color: #1d4ed8; }
.ev-go { justify-self: start; margin-top: 6px; padding: 9px 13px; background: var(--carbon); color: var(--white); font: 700 14px/1 "DM Sans", sans-serif; }
.ev-photo { position: relative; margin-left: -40px; aspect-ratio: 4 / 3; border: 2px solid var(--white); box-shadow: 10px 10px 0 var(--orange); overflow: hidden; transition: transform .8s var(--ease), opacity .6s; }
/* la foto entra un po’ ingrandita e si assesta (per tutti, anche al tocco); col mouse torna a ingrandirsi al passaggio */
.ev-photo img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.js .ev-item:not(.in) .ev-photo img { scale: 1.14; }
.ev-item:focus-within .ev-photo img { scale: 1.06; }
.js .ev-item:not(.in) .ev-photo { opacity: 0; transform: translateX(-30%) rotate(-3deg); }
.ev-item .tk-stamp { right: clamp(18px, 3vw, 44px); bottom: clamp(18px, 2.4vw, 30px); rotate: -10deg; }
.js .ev-item .tk-stamp { opacity: 0; transform: scale(2.4); transition: opacity .2s .35s, transform .45s .35s var(--pop); }
.js .ev-item.in .tk-stamp { opacity: 1; transform: none; }
.ev-empty { margin-top: 30px; color: var(--soft); }

/* 4 · i formati */
.ev-formats-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); margin-top: clamp(46px, 6vw, 80px); }
.ev-formats-grid .plate { --t: 9px; padding: clamp(22px, 2.4vw, 30px); display: grid; gap: 12px; align-content: start; rotate: var(--r, 0deg); }
.ev-formats-grid li:nth-child(1) .plate { --c: var(--eventi); --r: -1.5deg; }
.ev-formats-grid li:nth-child(2) .plate { --c: var(--orange); --r: 1deg; }
.ev-formats-grid li:nth-child(3) .plate { --c: var(--community); --r: -.5deg; }
.ev-formats-grid li:nth-child(4) .plate { --c: var(--paper); --r: 1.5deg; }
.ev-formats-grid .ic { font: 800 36px/1 "Syne", sans-serif; }
.ev-formats-grid h3 { font-size: clamp(22px, 1.8vw, 28px); }
.ev-formats-grid small { font: 800 11px/1 "DM Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.ev-formats-grid p { font-size: 15px; }

/* 5 · porta MAIKER HUB al tuo evento */
.ev-bring-in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.ev-bring-media { position: relative; }
.ev-bring-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border: 2px solid var(--white); box-shadow: 14px 14px 0 var(--eventi); }
.ev-bring-media .tag { position: absolute; left: -10px; bottom: 24px; padding: 10px 14px; background: var(--orange); color: var(--carbon); border: 2px solid var(--carbon); font: 800 13px/1 "DM Sans", sans-serif; letter-spacing: .08em; text-transform: uppercase; rotate: -4deg; }
.ev-bring ul { list-style: none; display: grid; gap: 10px; margin-top: 24px; color: var(--soft); }
.ev-bring li { position: relative; padding-left: 24px; }
.ev-bring li::before { content: "▸"; position: absolute; left: 0; color: var(--orange); }
.ev-bring li b { color: var(--white); }

/* ═════════ PAGINA EVENTO (recap) ═════════ */
/* 1 · apertura: il biglietto obliterato che si strappa */
.evt-hero { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; overflow: hidden; overflow: clip; isolation: isolate; }
.ev-page main > .evt-hero { padding-block: clamp(130px, 16vh, 180px) clamp(50px, 8vh, 90px); }
.evt-bg { position: absolute; inset: 0; z-index: -2; transform: scale(calc(1.12 - var(--tear, 0) * .12)); }
.evt-bg img, .evt-bg video { width: 100%; height: 100%; object-fit: cover; }
.evt-hero .hero-shade { position: absolute; inset: 0; z-index: -1; opacity: calc(1 - var(--tear, 0) * .45); background: linear-gradient(90deg, #0b0f14f0 0%, #0b0f14bf 50%, #0b0f1459 100%), linear-gradient(180deg, #0b0f14b3 0%, transparent 25%, transparent 75%, #0b0f14 100%), var(--grain); }
.tk-big { --cut: 26%; width: min(100%, 940px); rotate: -1.5deg; }
.tk-big .tk-stub { transform: rotate(calc(var(--tear, 0) * -28deg)) translate(calc(var(--tear, 0) * -30px), calc(var(--tear, 0) * 120px)); }
.tk-big .tk-stub .d { font-size: clamp(64px, 8vw, 130px); }
.tk-big h1 { font-size: clamp(38px, 5.2vw, 84px); line-height: .94; letter-spacing: -.05em; color: var(--carbon); max-width: 13ch; }
.tk-big .ev-meta { font-size: 15px; margin-top: 6px; }
.tk-big .tk-stamp { font-size: clamp(13px, 1.3vw, 17px); padding: 10px 16px; }
.evt-intro { margin-top: clamp(30px, 4vw, 50px); max-width: 62ch; color: var(--soft); font-size: clamp(17px, 1.4vw, 20px); }

/* 2 · numeri */
.evt-nums { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 0; border: 2px solid var(--white); }
.evt-nums li { display: grid; gap: 6px; padding: clamp(22px, 3vw, 40px); }
.evt-nums li + li { border-left: 2px dashed #ffffff44; }
.evt-nums b { font: 800 clamp(54px, 7vw, 110px)/.9 "Syne", sans-serif; letter-spacing: -.05em; color: var(--eventi); font-variant-numeric: tabular-nums; }
.evt-nums li:nth-child(2) b { color: var(--orange); }
.evt-nums span { font-weight: 700; color: var(--soft); }

/* 3 · com’è andata: racconto + polaroid a ventaglio */
.evt-story-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.evt-story-text { display: grid; gap: 18px; }
.evt-story-text p { color: var(--soft); max-width: 56ch; font-size: clamp(16px, 1.2vw, 18px); }
.evt-fan { position: relative; height: clamp(320px, 34vw, 480px); }
.evt-fan figure { position: absolute; left: 50%; top: 50%; width: 62%; padding: 10px 10px 34px; background: var(--paper); border: 2px solid var(--carbon); box-shadow: 8px 8px 0 #0008; translate: -50% -50%; transition: transform 1s var(--pop); }
.evt-fan img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.evt-fan figcaption { position: absolute; left: 12px; bottom: 9px; font: 600 12px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--carbon); }
.evt-fan.in figure:nth-child(1) { transform: translate(-34%, -16%) rotate(-9deg); }
.evt-fan.in figure:nth-child(2) { transform: translate(30%, -4%) rotate(7deg); }
.evt-fan.in figure:nth-child(3) { transform: translate(-2%, 22%) rotate(-2deg); }

/* 4 · programma: la lancetta che scende */
.evt-prog-list { list-style: none; position: relative; display: grid; gap: 0; margin-top: clamp(46px, 6vw, 80px); --p: 0; --g: clamp(12px, 2vw, 26px); }
.evt-prog-list::before { content: ""; position: absolute; left: calc(var(--tcol) + var(--g) + 15px); top: 0; bottom: 0; width: 2px; background: #ffffff26; }
.evt-prog-list::after { content: ""; position: absolute; left: calc(var(--tcol) + var(--g) + 15px); top: 0; width: 2px; height: calc(var(--p) * 100%); background: var(--eventi); }
.evt-prog-list { --tcol: clamp(92px, 11vw, 160px); }
.evt-slot { position: relative; display: grid; grid-template-columns: var(--tcol) 32px minmax(0, 1fr); gap: var(--g); padding-block: clamp(16px, 2vw, 24px); }
.evt-slot .t { font: 800 clamp(26px, 2.6vw, 40px)/1 "Syne", sans-serif; letter-spacing: -.03em; color: #ffffff66; text-align: right; font-variant-numeric: tabular-nums; transition: color .35s; }
.evt-slot .dot { position: relative; z-index: 1; justify-self: center; width: 18px; height: 18px; margin-top: 8px; border: 2px solid var(--white); background: var(--carbon); rotate: 45deg; transition: background .3s, transform .4s var(--pop); }
.evt-slot .evt-card { padding: clamp(16px, 2vw, 24px); border: 2px solid #ffffff22; background: var(--carbon-2); display: grid; gap: 8px; transition: background .35s, color .35s, border-color .35s, box-shadow .35s var(--ease), transform .35s var(--ease); }
.evt-slot .who { font: 800 11px/1.2 "DM Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--eventi); }
.evt-slot h3 { font-size: clamp(20px, 1.8vw, 26px); }
.evt-slot p { color: var(--soft); font-size: 15px; max-width: 64ch; }
.evt-slot.on .t { color: var(--white); }
.evt-slot.on .dot { background: var(--eventi); transform: scale(1.25); }
.evt-slot.on .evt-card { background: var(--paper); color: var(--carbon); border-color: var(--carbon); box-shadow: 10px 10px 0 var(--eventi); transform: translateX(6px); }
.evt-slot.on .evt-card p { color: var(--carbon); }
.evt-slot.on .who { color: #1d4ed8; }

/* 5 · cosa abbiamo costruito: la catena */
.evt-chain { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(46px, 6vw, 80px); counter-reset: ch; }
.evt-chain li { position: relative; padding: clamp(18px, 2vw, 26px); background: var(--carbon-2); border: 2px solid var(--white); display: grid; gap: 10px; align-content: start; }
.evt-chain li:nth-child(odd) { box-shadow: 8px 8px 0 var(--eventi); }
.evt-chain li:nth-child(even) { box-shadow: 8px 8px 0 var(--orange); }
.evt-chain li + li::before { content: "→"; position: absolute; left: calc(clamp(14px, 1.6vw, 22px) * -1 - 2px); top: 26px; translate: -50% 0; width: 28px; height: 28px; display: grid; place-items: center; background: var(--orange); color: var(--carbon); border: 2px solid var(--carbon); font-weight: 800; z-index: 1; }
.evt-chain .n { font: 800 clamp(34px, 3vw, 48px)/1 "Syne", sans-serif; color: var(--eventi); }
.evt-chain h3 { font-size: clamp(19px, 1.6vw, 24px); }
.evt-chain p { color: var(--soft); font-size: 15px; }
.evt-chain .who { font: 800 11px/1 "DM Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }

/* 6 · speaker: i badge appesi */
.evt-badges { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: clamp(70px, 8vw, 110px); }
.evt-badge { position: relative; padding: 34px 20px 22px; background: var(--paper); color: var(--carbon); border: 2px solid var(--carbon); border-radius: 14px; box-shadow: 10px 10px 0 var(--eventi); display: grid; justify-items: center; gap: 8px; text-align: center; transform-origin: 50% -60px; rotate: var(--r, 0deg); transition: rotate .6s var(--pop); }
/* il badge oscilla una volta quando entra in vista (anche al tocco); col mouse oscilla al passaggio */
.evt-badge.in { animation: evSwing 1.6s var(--ease) .35s; }
.evt-badges li:nth-child(2) .evt-badge.in { animation-delay: .5s; }
.evt-badges li:nth-child(3) .evt-badge.in { animation-delay: .65s; }
@keyframes evSwing { 25% { rotate: calc(var(--r) * -1.6); } 55% { rotate: calc(var(--r) * 1.4); } 80% { rotate: calc(var(--r) * -.4); } }
.evt-badges li:nth-child(1) .evt-badge { --r: -3deg; }
.evt-badges li:nth-child(2) .evt-badge { --r: 2deg; box-shadow: 10px 10px 0 var(--orange); }
.evt-badges li:nth-child(3) .evt-badge { --r: -1deg; }
.evt-badge::before { content: ""; position: absolute; top: -62px; left: 50%; width: 14px; height: 62px; translate: -50% 0; background: repeating-linear-gradient(180deg, var(--eventi) 0 8px, var(--orange) 8px 16px); border: 2px solid var(--carbon); }
.evt-badge::after { content: ""; position: absolute; top: 12px; left: 50%; width: 38px; height: 8px; translate: -50% 0; border-radius: 6px; background: var(--carbon); }
.evt-badge img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; border: 2px solid var(--carbon); margin-top: 8px; }
.evt-badge .mod { padding: 6px 10px; background: var(--carbon); color: var(--white); font: 800 11px/1 "DM Sans", sans-serif; letter-spacing: .16em; }
.evt-badge b { font: 800 clamp(20px, 1.8vw, 26px)/1.1 "Syne", sans-serif; }
.evt-badge span { font-size: 14px; font-weight: 600; }

/* 7 · provini a contatto */
.evt-film { margin-top: clamp(46px, 6vw, 80px); padding: 34px clamp(12px, 2vw, 26px); background: #05070a; border: 2px solid var(--white); position: relative; }
.evt-film::before, .evt-film::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: repeating-linear-gradient(90deg, transparent 0 10px, #f2efe7cc 10px 22px, transparent 22px 32px); }
.evt-film::before { top: 11px; }
.evt-film::after { bottom: 11px; }
.evt-sheet { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.evt-sheet li[hidden] { display: none; }
.evt-sheet button { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.evt-sheet img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; filter: grayscale(.25); transition: filter .3s, transform .4s var(--ease); }
.evt-sheet button:focus-visible img { filter: none; transform: scale(1.03); }
.evt-sheet button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.evt-sheet .fr { position: absolute; left: 6px; bottom: 6px; padding: 3px 5px; background: #05070acc; color: #f2efe7; font: 600 11px/1 ui-monospace, "SF Mono", Menlo, monospace; }
.evt-more { margin-top: 26px; text-align: center; }
.evt-more .btn { cursor: pointer; }
.evt-lb { width: min(96vw, 1400px); max-width: 96vw; max-height: 96vh; max-height: 96vh; max-height: 96dvh; margin: auto; padding: 0; border: 2px solid var(--white); background: #05070a; color: var(--white); }
.evt-lb::backdrop { background: #0b0f14e6; }
.evt-lb figure { position: relative; display: grid; }
.evt-lb img { width: 100%; max-height: calc(96vh - 70px); max-height: calc(96vh - 70px); max-height: calc(96dvh - 70px); object-fit: contain; display: block; } /* dvh: sul telefono conta la barra del browser */
.evt-lb figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; font: 600 13px/1 ui-monospace, "SF Mono", Menlo, monospace; }
.evt-lb button { width: 44px; height: 44px; border: 2px solid var(--carbon); background: var(--orange); color: var(--carbon); font: 800 20px/1 "DM Sans", sans-serif; cursor: pointer; }
.evt-lb .nav { display: flex; gap: 8px; }

/* 9 · altri eventi */
.evt-others { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); margin-top: clamp(46px, 6vw, 80px); }
.evt-others .tk { --cut: 30%; text-decoration: none; transition: translate .45s var(--ease), rotate .45s var(--ease); }
.evt-others .tk:focus-visible { translate: -4px -4px; rotate: -1deg; outline: 3px solid var(--orange); outline-offset: 6px; }
.evt-others .tk-stub .d { font-size: clamp(40px, 4vw, 60px); }
.evt-others h3 { font-size: clamp(20px, 1.8vw, 28px); }
.evt-others .dir { font: 800 11px/1 "DM Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.evt-all { margin-top: 34px; }

/* ── effetti al passaggio del mouse: solo con un puntatore vero, così sul telefono non restano attivi dopo un tocco ── */
@media (hover: hover) and (pointer: fine) {
  .ev-crumbs a:hover { color: var(--eventi); }
  .ev-chips button:hover { border-color: var(--white); }
  .ev-item a.tk:hover { translate: -4px -4px; box-shadow: 16px 16px 0 var(--eventi), 16px 16px 0 2px var(--white); }
  .ev-item:hover .ev-photo img { scale: 1.06; }
  .ev-formats-grid .plate:hover { rotate: 0deg; translate: 0 -6px; }
  .evt-badge:hover { rotate: calc(var(--r) * -1.6); }
  .evt-sheet button:hover img { filter: none; transform: scale(1.03); }
  .evt-others .tk:hover { translate: -4px -4px; rotate: -1deg; }
}
/* dopo l’entrata (.rv.in di home.css) restano anche le transizioni dell’effetto al passaggio */
.js .ev-formats-grid .plate.in { transition: rotate .45s var(--pop), translate .45s var(--ease), opacity .5s var(--ease), transform .8s var(--pop); }

@media (max-width: 1060px) {
  .ev-formats-grid { grid-template-columns: 1fr 1fr; }
  .evt-chain { grid-template-columns: 1fr 1fr; }
  .evt-chain li + li::before { display: none; }
}
@media (max-width: 900px) {
  .ev-hero-in, .ev-next-grid, .ev-bring-in, .evt-story-in { grid-template-columns: 1fr; }
  .ev-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ev-wall .ev-col:nth-child(n + 5) { display: none; }
  .tk-hero { justify-self: start; margin-top: 10px; }
  .ev-item { grid-template-columns: 1fr; }
  .ev-photo { margin: -18px 0 0 18px; order: -1; width: 80%; }
  .js .ev-item:not(.in) .ev-photo { transform: translateY(20%) rotate(-3deg); }
  .evt-badges { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; gap: 90px; }
  .evt-sheet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .evt-others { grid-template-columns: 1fr; }
  .evt-fan { height: 360px; }
}
@media (max-width: 600px) {
  .tk { --notch: 12px; }
  .tk-big, .ev-item .tk, .evt-others .tk, .tk-blank, .tk-hero { grid-template-columns: 1fr; }
  .tk-big::before, .tk-big::after, .ev-item .tk::before, .ev-item .tk::after, .evt-others .tk::before, .evt-others .tk::after, .tk-blank::before, .tk-blank::after, .tk-hero::before, .tk-hero::after { display: none; }
  .tk-stub { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 10px; padding: 16px 18px 12px; border-right: 0; border-bottom: 3px dashed #0b0f1466; }
  .tk-stub .y { margin: 0; }
  .tk-big .tk-stub .d, .tk-hero .tk-stub .d { font-size: 54px; }
  .tk-big .tk-stub { transform: rotate(calc(var(--tear, 0) * -10deg)) translateY(calc(var(--tear, 0) * 40px)); }
  .ev-item .tk-stamp { left: auto; right: 14px; top: -12px; bottom: auto; }
  .tk-big .tk-stamp { position: relative; right: auto; bottom: auto; justify-self: start; margin-top: 4px; }
  .evt-nums { grid-template-columns: 1fr; }
  .evt-nums li + li { border-left: 0; border-top: 2px dashed #ffffff44; }
  .ev-formats-grid, .evt-chain { grid-template-columns: 1fr; }
  .evt-prog-list { --tcol: 64px; }
  .evt-prog-list { --g: 10px; }
  .evt-slot { grid-template-columns: var(--tcol) 20px minmax(0, 1fr); }
  .evt-prog-list::before, .evt-prog-list::after { left: calc(var(--tcol) + var(--g) + 9px); }
  .evt-slot .t { font-size: 20px; }
  .evt-slot .dot { width: 14px; height: 14px; }
  .evt-slot.on .evt-card { transform: none; box-shadow: 6px 6px 0 var(--eventi); }
  .evt-sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evt-fan { height: 300px; }
  .evt-fan figure { width: 72%; }
}
@media (prefers-reduced-motion: reduce) {
  .ev-col, .evt-badge.in { animation: none; }
  .js .ev-item:not(.in) .ev-photo img { scale: 1; }
  .tk-hero .tk-stub, .tk-big .tk-stub, .evt-bg { transform: none !important; }
  .evt-hero .hero-shade { opacity: 1; }
  .js .tk-stamp.rv, .js .ev-item .tk-stamp, .js .ev-item:not(.in) .ev-photo { opacity: 1; transform: none; transition: none; }
  .js .tk-blank:not(.in) .slot i { --ink: 1; }
  .tk-blank .cursor { animation: none; }
  .evt-fan figure:nth-child(1) { transform: translate(-34%, -16%) rotate(-9deg); }
  .evt-fan figure:nth-child(2) { transform: translate(30%, -4%) rotate(7deg); }
  .evt-fan figure:nth-child(3) { transform: translate(-2%, 22%) rotate(-2deg); }
  .evt-badge, .evt-slot .evt-card, .evt-fan figure, .ev-item .tk, .ev-photo img, .ev-formats-grid .plate, .evt-others .tk { transition: none; }
}
.evt-prog-list.dur { --tcol: clamp(70px, 8vw, 110px); }
@media (max-width: 600px) { .evt-prog-list.dur { --tcol: 52px; } }
