/* ============================================================
   Home + componenti condivisi dalle pagine (eventi, sezioni).
   Gli effetti a scorrimento ricevono da app.js una variabile --p
   (0 → 1 mentre l'elemento attraversa lo schermo) e la usano qui.
   ============================================================ */

.section { padding: var(--space-8) 0; }

.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: var(--space-4);
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--color-text-muted);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}
.link-arrow::after { content: '→'; transition: transform 0.3s var(--ease-out); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ------------------------------------------------------------
   Comparsa a scorrimento
   .fx + data-fx="up | blur | zoom | fade"; --d = ritardo opzionale
   (.reveal resta per le pagine già esistenti)
   ------------------------------------------------------------ */
.fx, .reveal {
  transition:
    opacity 1s var(--ease-out) var(--d, 0ms),
    transform 1.1s var(--ease-out) var(--d, 0ms),
    filter 1s var(--ease-out) var(--d, 0ms);
}
.reveal, .fx[data-fx="up"] { opacity: 0; transform: translateY(40px); }
.fx[data-fx="blur"] { opacity: 0; filter: blur(14px); transform: translateY(12px) scale(0.98); }
.fx[data-fx="fade"] { opacity: 0; }
.fx[data-fx="zoom"] { opacity: 0; transform: scale(0.9); }
.fx.is-visible, .reveal.is-visible { opacity: 1; transform: none; filter: none; }

/* ------------------------------------------------------------
   1. Hero: foto rettangolare + logo centrale
   ------------------------------------------------------------ */
/* L'hero è alto quanto lo schermo "grande" (lvh): sul telefono la barra di Safari
   è trasparente e sotto deve esserci ancora l'hero, non la sezione dopo.
   Logo e "Scorri" restano centrati nella parte sempre visibile (svh). */
.hero-stage {
  position: relative;
  height: 100svh;
  height: 100lvh;
  min-height: 560px;
  --p: 0;
  --bar: calc(100lvh - 100svh);
}
/* sul telefono la pagina scorre anche sotto la barra e la linea della home:
   un margine bianco in più perché lì sotto non si veda la sezione terracotta */
@media (hover: none) {
  .hero-stage {
    height: calc(100lvh + 120px);
    --bar: calc(100lvh + 120px - 100svh);
  }
}
.hero-stage__frame {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  /* scorrendo, la foto si stringe ai lati restando rettangolare */
  clip-path: inset(0 calc(var(--p) * 6%) 0 calc(var(--p) * 6%));
}
.hero-stage__media {
  position: absolute;
  inset: 0;
  transform: translateY(calc(var(--p) * 18%)) scale(calc(1 + var(--p) * 0.08));
  will-change: transform;
}
.hero-stage__media img,
.hero-stage__media video,
.hero-stage__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-zoom 2.4s var(--ease-out) both;
}
.hero-stage__placeholder { background: var(--ink); }
@keyframes hero-zoom {
  from { transform: scale(1.18); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.hero-stage__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(34, 34, 34, 0.45) 0%, rgba(34, 34, 34, 0.15) 35%, rgba(34, 34, 34, 0.55) 100%);
}
.hero-stage__logo {
  position: absolute;
  inset: 0 0 var(--bar, 0px) 0;
  display: grid;
  place-items: center;
  padding: 0 var(--gutter);
  opacity: calc(1 - var(--p) * 1.8);
  transform: translateY(calc(var(--p) * -80px)) scale(calc(1 - var(--p) * 0.12));
  filter: blur(calc(var(--p) * 10px));
}

/* Logo "I am / scopri chi sei." come nel file logo.png:
   "I am" in serif, sotto il payoff in Inter piccolo allineato a destra. */
.logo-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  margin: 0;
  color: var(--paper);
  letter-spacing: 0;
  animation: logo-in 1.8s var(--ease-out) 0.3s both;
}
.logo-lockup__mark {
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: clamp(5rem, 19vw, 13rem);
  line-height: 0.85;
  white-space: nowrap;
}
.logo-lockup__mark span { margin-left: 0.18em; }
.logo-lockup__mark em { font-style: italic; }
.logo-lockup__tag {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.95rem, 2.3vw, 1.6rem);
  letter-spacing: 0.01em;
  margin-top: 0.4em;
  animation: tag-in 1.4s var(--ease-out) 1.1s both;
}
@keyframes logo-in {
  from { opacity: 0; filter: blur(18px); transform: scale(1.06); }
  to { opacity: 1; filter: none; transform: none; }
}
@keyframes tag-in {
  from { opacity: 0; transform: translateY(10px); letter-spacing: 0.3em; }
  to { opacity: 1; transform: none; }
}

.hero-stage__hint {
  position: absolute;
  left: 50%;
  bottom: calc(var(--space-6) + var(--bar, 0px));
  transform: translateX(-50%);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  opacity: calc(0.8 - var(--p) * 3);
  padding-bottom: 36px;
}
/* Hero bianco (impostazione 'bianco'): lo stesso bianco del sito e il logo nero #222 */
.hero-stage--light .hero-stage__frame { background: var(--paper); color: var(--ink); }
.hero-stage--light .logo-lockup,
.hero-stage--light .hero-stage__hint { color: var(--ink); }
.hero-stage--light .hero-stage__hint::after { background: var(--ink); }
.hero-stage--light.is-intro .intro { background: var(--paper); }
/* senza foto il livello dello sfondo non serve: su Safari (will-change) finiva sopra l'header */
.hero-stage--light .hero-stage__media { display: none; }
/* il riquadro che si stringe scorrendo non si vede su bianco, e su Safari il suo
   clip-path copriva l'header fisso: con l'hero bianco non serve */
.hero-stage--light .hero-stage__frame { clip-path: none; }

.hero-stage__hint::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 28px;
  background: var(--paper);
  transform-origin: top;
  animation: hint 2s ease-in-out infinite;
}
@keyframes hint {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ------------------------------------------------------------
   2. Manifesto: parole che si accendono scorrendo
   ------------------------------------------------------------ */
/* Rettangolo terracotta a tutta larghezza, solo per questa sezione: testo bianco */
.manifesto {
  background: var(--accent);
  color: var(--paper);
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
  scroll-margin-top: var(--header-height);
}
.manifesto .eyebrow { opacity: 0.85; }
.manifesto[data-dark] u { text-decoration-color: currentColor; }
.manifesto ::selection { background: var(--paper); color: var(--accent); }
.manifesto__text {
  font-size: clamp(1.9rem, 5.2vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 18ch;
  margin: 0;
}
.manifesto__text .word {
  opacity: 0.3;
  transition: opacity 0.5s ease;
}
.manifesto__text .word.is-lit { opacity: 1; }

/* ------------------------------------------------------------
   3. Chi siamo: testo + foto
   ------------------------------------------------------------ */
.about {
  display: grid;
  gap: var(--space-7);
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
  align-items: center;
}
.about__text h2 { font-size: var(--fs-4xl); }
.about__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--color-surface-alt);
}
/* scritta sulla foto (es. "Dio."): Times corsivo, nera, che sfuma verso il basso */
.about__word {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-bottom: 12%;
  pointer-events: none;
  font-family: var(--font-logo);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: transparent;
  background: linear-gradient(180deg, rgba(34, 34, 34, 0.95) 42%, rgba(34, 34, 34, 0.5) 58%);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1.6s var(--ease-out) 0.5s, transform 1.6s var(--ease-out) 0.5s;
}
.about__media.is-visible .about__word { opacity: 1; transform: none; }
.about__media img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 48%;
  transform: translateY(calc((var(--p, 0.5) - 0.5) * var(--speed, 60) * -1px - 8%));
}
@media (min-width: 900px) {
  .about { grid-template-columns: 1fr 1fr; gap: var(--space-9); }
}

/* ------------------------------------------------------------
   4. Eventi: sezione ferma che si apre scorrendo (stile Apple)
   --open  0→1 la card si allarga a tutto schermo
   --main  0→1 il testo dell'evento principale sfuma via
   --list  0→1 compare la lista dei prossimi eventi
   --close 0→1 alla fine la card si richiude un poco
   Nella lista l'evento attivo è segnato solo da una "|" sottile.
   ------------------------------------------------------------ */
.stage {
  --open: 0;
  --main: 0;
  --list: 0;
  --close: 0;
  --n: 3;
  position: relative;
  /* più eventi = più scorrimento, circa mezzo schermo per evento */
  height: calc(160vh + var(--n) * 50vh);
  scroll-margin-top: 0;
}
.stage--solo { height: 180vh; }
.stage__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.stage__card {
  position: relative;
  width: calc(88% + var(--open) * 12% - var(--close) * 12%);
  height: calc(78% + var(--open) * 22% - var(--close) * 16%);
  overflow: hidden;
  /* angoli curvi da card; si raddrizzano solo quando riempie lo schermo */
  border-radius: calc(28px - var(--open) * 28px + var(--close) * 28px);
  isolation: isolate;
  background: var(--ink);
  color: var(--paper);
}

/* Sfondi che si alternano in dissolvenza */
.stage__bgs { position: absolute; inset: 0; }
.stage__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(calc(1.25 - var(--open) * 0.25 + var(--list) * 0.04));
  transition: opacity 1.1s ease;
}
.stage__bg.is-active { opacity: 1; }
.stage__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(34, 34, 34, 0.9) 0%, rgba(34, 34, 34, 0.35) 55%, rgba(34, 34, 34, 0.15) 100%);
  opacity: calc(0.75 + var(--main) * 0.25);
}
.stage__shade::after {
  /* velo laterale per la lista, più leggibile su qualsiasi foto */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(34, 34, 34, 0.75), rgba(34, 34, 34, 0) 70%);
  opacity: var(--list);
}

/* Evento principale */
.stage__main {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-8) var(--gutter);
  max-width: 1000px;
  color: var(--paper);
  text-decoration: none;
  opacity: calc(min(1, var(--open) * 1.8 + 0.25) - var(--main));
  transform: translateY(calc((1 - var(--open)) * 50px - var(--main) * 60px)) scale(calc(1 - var(--main) * 0.06));
  transform-origin: left bottom;
  filter: blur(calc(var(--main) * 10px));
  pointer-events: auto;
}
.stage[data-phase="list"] .stage__main { pointer-events: none; }
.stage__title {
  font-size: clamp(2.8rem, 9vw, 7.5rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin-bottom: var(--space-4);
}
.stage__subtitle { font-size: clamp(1.05rem, 2vw, 1.5rem); opacity: 0.85; }
.stage__meta { font-size: var(--fs-sm); opacity: 0.6; margin-bottom: var(--space-5); }
.stage__main .btn { pointer-events: none; }

/* Lista dei prossimi eventi, in piccolo */
.stage__list {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(100%, 460px);
  padding: var(--space-8) var(--gutter);
  opacity: var(--list);
  pointer-events: none;
}
.stage[data-phase="list"] .stage__list { pointer-events: auto; }
.stage__list ol { list-style: none; margin: 0 0 var(--space-5); padding: 0; }
.stage__item {
  --show: clamp(0, calc(var(--list) * 3 - var(--i) * 0.7), 1);
  position: relative;
  padding: var(--space-3) 0 var(--space-3) var(--space-5);
  opacity: var(--show);
  transform: translateY(calc((1 - var(--show)) * 24px));
}
/* "|" che segna l'evento attivo: fisso, compare solo sull'evento attivo */
.stage__bar {
  position: absolute;
  left: 0;
  top: var(--space-3);
  height: 1.4em;
  width: 2px;
  background: var(--accent-on-dark);
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity 0.35s ease, transform 0.45s var(--ease-out);
}
.stage__item.is-active .stage__bar { opacity: 1; transform: none; }

.stage__select {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--paper);
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}
.stage__select:hover, .stage__item.is-active .stage__select { opacity: 1; }
.stage__date { font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.stage__name { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; letter-spacing: -0.02em; }
.stage__detail {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.6s var(--ease-out), opacity 0.4s ease;
}
.stage__detail > div { overflow: hidden; min-height: 0; }
.stage__detail p { margin: var(--space-2) 0 var(--space-2); font-size: var(--fs-sm); opacity: 0.75; }
.stage__item.is-active .stage__detail { grid-template-rows: 1fr; opacity: 1; }
.stage__all { color: var(--paper); font-size: var(--fs-sm); opacity: 0.8; }

@media (max-width: 767px) {
  .stage__main, .stage__list { padding-bottom: var(--space-7); }
  .stage__card { width: calc(92% + var(--open) * 8% - var(--close) * 8%); }
}

/* ------------------------------------------------------------
   6. Banda video
   ------------------------------------------------------------ */
.ambient {
  position: relative;
  /* fascia sottile a tutta larghezza: un "respiro" tra le sezioni,
     non un blocco che ruba la scena */
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-top: var(--space-8);
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  --p: 0;
  /* si apre dai bordi entrando nello schermo */
  --reveal: min(1, calc(var(--p) * 2.4));
  clip-path: inset(calc((1 - var(--reveal)) * 8%) calc((1 - var(--reveal)) * 4%));
}
@media (min-width: 600px) { .ambient { aspect-ratio: 5 / 2; } }
@media (min-width: 1024px) { .ambient { aspect-ratio: 7 / 2; } }

.ambient img,
.ambient video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* movimento lento dentro la fascia, come una ripresa */
  transform: scale(1.15) translateY(calc((var(--p) - 0.5) * -8%));
}
/* stessa sfumatura scura della foto iniziale, così la fascia appartiene al sito */
.ambient__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(34, 34, 34, 0.55) 0%, rgba(34, 34, 34, 0.3) 50%, rgba(34, 34, 34, 0.6) 100%);
}
.ambient__content {
  position: relative;
  padding: 0 var(--gutter);
  text-align: center;
  opacity: calc(var(--p) * 3.2 - 0.6);
  filter: blur(calc(max(0, 0.45 - var(--p)) * 24px));
  transform: translateY(calc(max(0, 0.5 - var(--p)) * 30px));
}
.ambient__content .eyebrow { margin-bottom: var(--space-3); opacity: 0.7; }
.ambient__text {
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ------------------------------------------------------------
   7. Galleria su tre colonne a velocità diverse
   ------------------------------------------------------------ */
.gallery { padding-top: var(--space-10); padding-bottom: var(--space-10); }
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.gallery__col { display: flex; flex-direction: column; gap: var(--space-3); }
.gallery__col:nth-child(3) { display: none; }
@media (min-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
  .gallery__col { gap: var(--space-4); }
  .gallery__col:nth-child(3) { display: flex; }
  .gallery__col[data-scroll="parallax"] { transform: translateY(calc((var(--p, 0.5) - 0.5) * var(--speed, 0) * -2px)); }
}
.gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--color-surface-alt);
}
.gallery__col:nth-child(1) .gallery__item:nth-child(odd) img,
.gallery__col:nth-child(2) .gallery__item:nth-child(even) img,
.gallery__col:nth-child(3) .gallery__item:nth-child(odd) img { aspect-ratio: 4 / 5; }
.gallery__item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(0.35);
  transition: transform 1.2s var(--ease-out), filter 0.6s ease;
}
.gallery__item:hover img { transform: scale(1.06); filter: none; }
.gallery__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-5) var(--space-4) var(--space-3);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--paper);
  background: linear-gradient(to top, rgba(34, 34, 34, 0.7), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out);
}
.gallery__item:hover .gallery__caption { opacity: 1; transform: none; }
@media (hover: none) { .gallery__caption { opacity: 1; transform: none; } }

/* ------------------------------------------------------------
   8. Dove siamo
   ------------------------------------------------------------ */
.where {
  padding: var(--space-10) 0;
  scroll-margin-top: var(--header-height);
}
.where__inner {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}
.where__text h2 { font-size: var(--fs-4xl); }
.where__text .lead { max-width: 40ch; }
@media (min-width: 900px) {
  .where__inner { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-9); }
}

/* Righe informative sottili (stesso linguaggio della sezione Contatti) */
.info-list {
  list-style: none;
  margin: var(--space-6) 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
}
.info-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-2) var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}
.info-list span {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.info-list strong { font-weight: 500; text-align: right; }

/* Mappa: si apre dai bordi mentre entra nello schermo */
.where__map {
  position: relative;
  --p: 0;
  --open: min(1, calc(var(--p) * 2.4));
  clip-path: inset(calc((1 - var(--open)) * 14%) calc((1 - var(--open)) * 10%));
}
.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-surface-alt);
}
@media (min-width: 900px) { .map-frame { aspect-ratio: 5 / 4; } }
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  /* la mappa resta nei due colori del sito */
  filter: grayscale(1) contrast(1.05);
  transform: scale(calc(1.15 - var(--open) * 0.15));
}
.where__pin {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: var(--ink);
  color: var(--paper);
  font-size: var(--fs-sm);
  font-weight: 500;
  pointer-events: none;
  opacity: calc(var(--open) * 2 - 1);
}
.where__pin span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--paper);
  animation: pin-pulse 2s ease-out infinite;
}
@keyframes pin-pulse {
  0% { box-shadow: 0 0 0 0 rgba(253, 253, 253, 0.6); }
  100% { box-shadow: 0 0 0 10px rgba(253, 253, 253, 0); }
}

/* ------------------------------------------------------------
   9. Contatti: fondo chiaro (il footer resta l'unica parte scura)
   ------------------------------------------------------------ */
/* sopra poco spazio: "Dove siamo" ne lascia già molto sotto di sé */
/* alta quanto lo schermo sotto l'header: è l'ultima sezione e senza questo
   la pagina finisce prima che "Contatti" possa salire fino all'header */
.contacts {
  padding: var(--space-6) 0 var(--space-9);
  scroll-margin-top: var(--header-height);
  text-align: center;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-content: center;
}
.contacts a { color: var(--ink); }
.contacts .container {
  display: grid;
  justify-items: center;
  gap: var(--space-6);
}
.contacts .eyebrow { margin: 0; }
.contacts__title {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
}

/* Recapiti: tre voci affiancate, niente linee */
.contacts__list {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6) var(--space-10);
}
.contact-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: var(--space-2) 0;
  text-decoration: none;
}
.contact-row__label {
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.contact-row__value {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.25s;
}
.contact-row:hover .contact-row__value,
.contact-row:focus-visible .contact-row__value { text-decoration-color: var(--accent); }

@media (max-width: 599px) {
  .contacts { padding: var(--space-4) 0 var(--space-8); }
  .contacts__list { flex-direction: column; gap: var(--space-5); }
}

/* La sezione contatti prosegue senza stacco nel footer scuro */
.contacts + * { margin-top: 0; }


/* ------------------------------------------------------------
   Pagine eventi (elenco + singolo evento)
   ------------------------------------------------------------ */
.event-list {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.event-list__item {
  display: block;
  text-decoration: none;
  color: inherit;
}
.event-list__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 22px;
  isolation: isolate;
  background: var(--color-surface-alt);
  margin-bottom: var(--space-4);
}
.event-list__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.event-list__item:hover .event-list__media img { transform: scale(1.05); }
.event-list__item h2 { font-size: var(--fs-xl); margin: var(--space-2) 0 var(--space-1); }
.event-list__item p { color: var(--color-text-muted); }

.event-list__item--featured { position: relative; color: var(--paper); border-radius: 28px; overflow: hidden; isolation: isolate; }
.event-list__item--featured .event-list__media { aspect-ratio: 4 / 5; margin: 0; }
@media (min-width: 768px) {
  .event-list__item--featured .event-list__media { aspect-ratio: 16 / 9; }
}
.event-list__item--featured .event-list__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(34, 34, 34, 0.8), transparent 60%);
}
.event-list__item--featured .event-list__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-6);
  z-index: 1;
}
.event-list__item--featured h2 { font-size: var(--fs-4xl); letter-spacing: -0.05em; }
.event-list__item--featured p { color: rgba(253, 253, 253, 0.85); }
.event-list__item--featured .badge { border-color: var(--paper); color: var(--paper); }

@media (min-width: 768px) {
  .event-list { grid-template-columns: repeat(2, 1fr); }
  .event-list__item--featured { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .event-list { grid-template-columns: repeat(3, 1fr); }
}

/* Banner principale della pagina /eventi */
.main-page > .event-list__item--featured { display: block; margin-top: var(--space-6); }

/* Prossimi eventi: fasce orizzontali basse, una sotto l'altra (non apribili) */
.upcoming-row { margin-top: var(--space-8); }
.upcoming-row__grid {
  display: grid;
  gap: var(--space-4);
}
.upcoming-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  isolation: isolate;
  background: var(--ink);
  color: var(--paper);
}
.upcoming-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.upcoming-card:hover .upcoming-card__bg { transform: scale(1.03); }
/* velo più scuro a sinistra, dove sta il testo; la foto respira a destra */
.upcoming-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(34, 34, 34, 0.9) 0%, rgba(34, 34, 34, 0.65) 45%, rgba(34, 34, 34, 0.35) 100%);
}
.upcoming-card__body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
}
.upcoming-card__date {
  margin: 0;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}
.upcoming-card h3 { font-size: var(--fs-lg); margin: 0; }
.upcoming-card__subtitle { font-size: var(--fs-sm); opacity: 0.75; margin: 2px 0 0; }
.upcoming-card .btn { justify-self: start; min-height: 34px; font-size: var(--fs-xs); margin-top: var(--space-2); }

@media (min-width: 768px) {
  .upcoming-card__body {
    grid-template-columns: 170px 1fr auto;
    align-items: center;
    gap: var(--space-5);
    min-height: 112px;
    padding: var(--space-4) var(--space-6);
  }
  .upcoming-card .btn { margin-top: 0; }
}

.event-hero {
  aspect-ratio: 21 / 9;
  overflow: hidden;
  margin-bottom: var(--space-6);
  background: var(--color-surface-alt);
}
.event-hero img { width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 1.8s var(--ease-out) both; }

/* Card evento usata nelle pagine interne (compatibilità) */
.event-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--paper);
  background: var(--ink);
  padding: var(--space-7) var(--space-6);
}

.important-info {
  margin-top: var(--space-5);
  border-left: 3px solid var(--ink);
}

.section figure { margin: 0 0 var(--space-5) 0; }
.section figure img, .section video { width: 100%; }
.video-embed { position: relative; aspect-ratio: 16 / 9; margin-bottom: var(--space-5); background: var(--ink); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.section figcaption { font-size: var(--fs-sm); color: var(--color-text-muted); margin-top: var(--space-2); }
blockquote.card { font-style: italic; margin: 0 0 var(--space-5); }
blockquote.card footer { margin-top: var(--space-3); font-style: normal; font-size: var(--fs-sm); color: var(--color-text-muted); }

.verse-chapter { margin-top: var(--space-4); font-style: normal; }
.verse-chapter summary {
  cursor: pointer;
  font-weight: 600;
  min-height: var(--tap-target-min);
  display: flex;
  align-items: center;
}
.verse-chapter div { margin-top: var(--space-3); line-height: var(--lh-normal); }

/* ------------------------------------------------------------
   Pagine interne: intestazioni, stati vuoti, moduli
   ------------------------------------------------------------ */
.page-intro { margin-bottom: var(--space-6); max-width: 720px; }
.page-intro h1 { font-size: var(--fs-4xl); margin-bottom: var(--space-3); overflow-wrap: break-word; }
.page-intro .lead { margin: 0; }

.narrow { max-width: 560px; }

.empty-state {
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 640px;
}
.empty-state h1 { font-size: var(--fs-4xl); overflow-wrap: break-word; }
.empty-state .lead { margin-bottom: var(--space-6); }

.form-card {
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  background: var(--paper);
}
.form-card .field label {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-5);
  margin: 0 0 var(--space-6);
  padding: var(--space-4) var(--space-5);
  border-left: 2px solid var(--ink);
  background: var(--color-surface-alt);
  font-size: var(--fs-sm);
}
.notice p { margin: 0; }
.notice--ok, .notice--error { font-weight: 500; }

.back-link {
  display: inline-block;
  margin-bottom: var(--space-4);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.back-link:hover { color: var(--ink); }

.quick-links { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); }

/* ------------------------------------------------------------
   Singolo evento
   ------------------------------------------------------------ */
.event-head {
  display: grid;
  gap: var(--space-6);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-7);
}
.event-head h1 { font-size: var(--fs-4xl); margin-bottom: var(--space-2); }
.event-head__subtitle { font-size: var(--fs-lg); font-weight: 500; }
.event-head__meta .info-list { margin-top: 0; }
@media (min-width: 900px) {
  .event-head { grid-template-columns: 1.4fr 1fr; gap: var(--space-9); align-items: start; }
}

/* Registrati / ospite: due scelte affiancate */
.access { padding-bottom: var(--space-8); }
.access__grid { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
@media (min-width: 900px) { .access__grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.access__card {
  padding: var(--space-6);
  background: var(--ink);
  color: var(--paper);
}
.access__card h3 { font-size: var(--fs-xl); margin-bottom: var(--space-2); }
.access__card > p { opacity: 0.75; }
.access__card .form-card { padding: 0; border: 0; background: transparent; margin-top: var(--space-5); }
.access__card .form-card .field label { color: rgba(253, 253, 253, 0.6); }
.access__card .input { background: transparent; color: var(--paper); border-color: rgba(253, 253, 253, 0.25); }
.access__card .input:focus { border-color: var(--paper); box-shadow: 0 0 0 3px rgba(253, 253, 253, 0.12); }
.access__card select.input option { color: var(--ink); }
.access__card .btn-primary { background: var(--paper); color: var(--ink); }
.access__card--light { background: var(--color-surface-alt); color: var(--ink); }
.access__card--light > p { color: var(--color-text-muted); opacity: 1; }
.access__card--wide { max-width: 640px; }
.access__card--wide .btn-secondary { color: var(--paper); border-color: var(--paper); }

/* ------------------------------------------------------------
   Classifica: podio per i primi 3, poi lista
   ------------------------------------------------------------ */
.podium {
  list-style: none;
  margin: 0 0 var(--space-5);
  padding: 0;
  display: grid;
  gap: var(--space-3);
  max-width: 900px;
}
@media (min-width: 768px) { .podium { grid-template-columns: repeat(3, 1fr); align-items: end; } }
.podium__place {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-5);
  background: var(--color-surface-alt);
}
.podium__place--0 { background: var(--ink); color: var(--paper); }
.podium__place--0 .podium__rank { color: var(--accent-on-dark); opacity: 1; }
@media (min-width: 768px) {
  .podium__place--0 { order: 2; min-height: 220px; }
  .podium__place--1 { order: 1; min-height: 180px; }
  .podium__place--2 { order: 3; min-height: 150px; }
}
.podium__rank { font-size: var(--fs-xs); letter-spacing: 0.1em; opacity: 0.6; margin-bottom: auto; }
.podium__name { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -0.03em; margin-top: var(--space-5); }
.podium__points { font-size: var(--fs-sm); opacity: 0.7; }
.leaderboard { max-width: 900px; margin-bottom: var(--space-6); }
.leaderboard__item { background: transparent; border: 0; border-bottom: 1px solid var(--color-border); border-radius: 0; padding: var(--space-4) 0; }
.leaderboard__rank { font-size: var(--fs-sm); }

/* ------------------------------------------------------------
   Popup live: quiz e mini-giochi
   ------------------------------------------------------------ */
.modal { max-height: 92vh; overflow-y: auto; }
.modal h3 { font-size: var(--fs-xl); }
.modal .eyebrow { margin-bottom: var(--space-2); }
.quiz-option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-2);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.quiz-option:has(input:checked) { border-color: var(--ink); background: var(--color-surface-alt); }
.quiz-option input { accent-color: #222222; }
.quiz-result { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -0.02em; }

.modal--game { text-align: center; }
.game-instructions { color: var(--color-text-muted); }
.game-body { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-3); margin-top: var(--space-4); }
.game-big { font-size: 4rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin: var(--space-4) 0; }
.game-hint { font-size: var(--fs-sm); color: var(--color-text-muted); margin: 0; }
.game-timer { height: 4px; background: var(--color-surface-alt); overflow: hidden; }
.game-timer span { display: block; height: 100%; background: var(--ink); transform-origin: left; animation: game-timer linear forwards; }
@keyframes game-timer { from { transform: scaleX(1); } to { transform: scaleX(0); } }

.tap-target {
  align-self: center;
  width: min(62vw, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font: 800 3rem/1 var(--font-body);
  letter-spacing: -0.04em;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.tap-target.is-hit { animation: tap-hit 0.18s ease-out; }
@keyframes tap-hit { 50% { transform: scale(0.92); } }
.tap-target:disabled { opacity: 0.5; }

.runner {
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  touch-action: manipulation;
  cursor: pointer;
}
.photo-pick { cursor: pointer; }
.photo-preview img { width: 100%; max-height: 50vh; object-fit: contain; background: var(--color-surface-alt); }

/* ------------------------------------------------------------
   Popup a schermo intero (quiz, domande, mini-giochi)
   ------------------------------------------------------------ */
html.has-fs-overlay, html.has-fs-overlay body { overflow: hidden; }
.fs-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  animation: fs-in 0.35s var(--ease-out);
}
@keyframes fs-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.fs-overlay__bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 56px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--color-border);
}
.fs-overlay__title {
  flex: 1;
  min-width: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fs-overlay__meta { display: flex; align-items: center; gap: var(--space-3); font-size: var(--fs-sm); font-weight: 600; }
.fs-time { font-variant-numeric: tabular-nums; }
.fs-time.is-urgent { animation: live-urgent 0.5s ease-in-out infinite alternate; }
@keyframes live-urgent { to { opacity: 0.35; } }
.fs-step { color: var(--color-text-muted); font-weight: 500; }
.fs-score {
  min-width: 42px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.fs-overlay__close {
  width: 40px;
  height: 40px;
  margin-right: -8px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.1rem;
  cursor: pointer;
}
.fs-overlay__progress { height: 4px; background: var(--color-surface-alt); overflow: hidden; }
.fs-overlay__progress span { display: block; height: 100%; background: var(--ink); transform-origin: left; }
.fs-overlay__body { position: relative; flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; }

.fs-intro, .fs-result, .fs-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-3);
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: var(--space-6) var(--gutter);
  text-align: center;
}
.fs-intro h2 { font-size: var(--fs-3xl); margin: 0; }
.fs-intro__text { color: var(--color-text-muted); font-size: var(--fs-lg); }
.fs-intro__meta { font-size: var(--fs-sm); color: var(--color-text-muted); }
.fs-intro__go, .fs-result .btn { margin-top: var(--space-4); min-height: 54px; font-size: var(--fs-lg); }
.fs-countdown {
  flex: 1;
  display: grid;
  place-items: center;
  font-size: clamp(6rem, 30vw, 12rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  animation: fs-pulse 0.7s ease-out infinite;
}
@keyframes fs-pulse { from { transform: scale(1.15); opacity: 0.4; } to { transform: scale(1); opacity: 1; } }
.fs-result__big { font-size: clamp(4rem, 20vw, 7rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; margin: 0; }
.fs-result__rank { font-size: var(--fs-lg); }
.fs-top {
  list-style: none;
  counter-reset: top;
  margin: var(--space-3) 0 0;
  padding: 0;
  text-align: left;
  border-top: 1px solid var(--color-border);
}
.fs-top li {
  counter-increment: top;
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--fs-sm);
}
.fs-top li::before { content: counter(top) '°'; width: 2em; color: var(--color-text-muted); }
.fs-top li span { flex: 1; }
.fs-error { margin: 0; padding: var(--space-2) var(--gutter); background: var(--ink); color: var(--paper); font-size: var(--fs-sm); font-family: var(--font-body); }
.fs-game { flex: 1; width: 100%; border: 0; display: block; background: var(--paper); }

/* Quiz a schermo intero */
.quiz-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-5) var(--gutter) var(--space-6);
}
.quiz-screen__points { font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: var(--space-2); }
.quiz-screen__question {
  font-size: clamp(1.5rem, 6vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 var(--space-6);
}
.quiz-answers { display: grid; gap: var(--space-3); margin-top: auto; }
.quiz-answers--two { grid-template-columns: 1fr 1fr; }
.quiz-answer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 64px;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font: 600 var(--fs-lg)/1.25 var(--font-body);
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.15s, color 0.15s, opacity 0.2s, transform 0.1s;
}
.quiz-answers--two .quiz-answer { justify-content: center; text-align: center; min-height: 96px; font-size: var(--fs-xl); }
.quiz-answer:active { transform: scale(0.98); }
.quiz-answer__letter {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: grid;
  place-items: center;
  font-size: var(--fs-sm);
}
.quiz-answer:disabled { cursor: default; opacity: 0.4; }
.quiz-answer.is-chosen { opacity: 1; background: var(--ink); color: var(--paper); }
.quiz-answer.is-correct { opacity: 1; background: var(--ink); color: var(--paper); }
.quiz-answer.is-correct::after { content: '✓'; margin-left: auto; font-size: 1.3em; color: var(--accent-on-dark); }
.quiz-answer.is-wrong { opacity: 1; background: var(--paper); color: var(--ink); text-decoration: line-through; }
.quiz-answer.is-wrong::after { content: '✕'; margin-left: auto; }
.quiz-screen__feedback { min-height: 2em; margin: var(--space-4) 0 0; text-align: center; font-size: var(--fs-xl); font-weight: 700; letter-spacing: -0.02em; }
.open-answer { display: grid; gap: var(--space-3); margin-top: auto; }
.open-answer .input { font-size: var(--fs-lg); padding: var(--space-3) var(--space-4); }

/* ------------------------------------------------------------
   Chi preferisce meno movimento vede tutto subito, senza effetti
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fx, .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  [data-scroll], .ambient { --p: 0.5; }
  .hero-stage { --p: 0; }
  .stage { --open: 1; --main: 1; --list: 1; --close: 0; height: auto; }
  .stage__sticky { position: relative; height: 100svh; }
  .manifesto__text .word { opacity: 1; }
}

/* ---------- Titoli degli eventi: Inter, come tutti i titoli del sito ---------- */
.stage__name { display: block; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.upcoming-card h3 { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -0.02em; }

/* ============================================================
   Parole "profonde" in Times New Roman
   I titoli restano in Inter; in Times vanno le cose da ascoltare con calma:
   manifesto, versetti, sottotitoli e descrizioni degli eventi, testi di
   "Chi siamo" e "Dove siamo", la frase della fascia video.
   Nei testi si può scrivere *corsivo*, **grassetto**, __sottolineato__.
   ============================================================ */
.manifesto__text,
.about__text .lead,
.where__text .lead,
.ambient__text,
.stage__subtitle,
.event-list__body p,
.upcoming-card__subtitle,
.event-head__subtitle,
.event-head .lead,
.event-text,
blockquote.verse,
.verse-ref {
  font-family: var(--font-logo);
}
/* il manifesto: grande, a peso normale, come una pagina di libro */
.manifesto__text { font-weight: 400; letter-spacing: -0.02em; line-height: 1.12; max-width: 20ch; }
.about__text .lead,
.where__text .lead { font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.45; color: var(--ink); }
.ambient__text { font-weight: 400; font-style: italic; letter-spacing: -0.01em; font-size: clamp(1.9rem, 4vw, 3.4rem); }
.stage__subtitle,
.event-list__body p,
.upcoming-card__subtitle,
.event-head__subtitle { font-style: italic; font-weight: 400; letter-spacing: 0; }
.stage__subtitle { font-size: clamp(1.25rem, 2.3vw, 1.8rem); }
.upcoming-card__subtitle { font-size: var(--fs-base); }
.event-head__subtitle { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.event-head .lead { font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.5; }
.event-text { font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.55; }
.verse-ref { font-style: italic; font-weight: 400; font-size: 1.1em; }

/* Versetto: grande, corsivo, riferimento in piccolo stampatello */
blockquote.verse { font-style: normal; padding-left: var(--space-5); border-left: 2px solid var(--accent); }
blockquote.verse > p { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); font-style: italic; line-height: 1.3; letter-spacing: -0.01em; }
blockquote.verse footer {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
blockquote.verse .verse-chapter { font-family: var(--font-body); }
blockquote.verse .verse-chapter div { font-family: var(--font-logo); font-size: 1.1rem; }

/* Formattazione nei testi: corsivo, grassetto, sottolineato con un filo terracotta */
.manifesto__text em, .lead em, .ambient__text em, .event-text em, blockquote.verse em { font-style: italic; }
.manifesto__text strong, .lead strong, .event-text strong, blockquote.verse strong { font-weight: 700; }
u {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.14em;
}
[data-dark] u, .ambient u, .stage u { text-decoration-color: var(--accent-on-dark); }
/* nel corsivo, il corsivo diventa dritto: così l'enfasi si vede lo stesso */
.ambient__text em, .stage__subtitle em, .event-head__subtitle em, blockquote.verse > p em { font-style: normal; }

/* ---------- Sondaggio: percentuali in diretta dopo il voto ---------- */
.poll-bars { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: var(--space-4); }
.poll-bars li { display: grid; gap: var(--space-2); }
.poll-bars__label { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); font-size: var(--fs-lg); font-weight: 600; }
.poll-bars__label small { font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-left: var(--space-2); }
.poll-bars__label strong { font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.poll-bars__track { height: 12px; border-radius: 99px; background: var(--color-surface-alt); overflow: hidden; }
.poll-bars__fill { width: 0; height: 100%; border-radius: inherit; background: rgba(34, 34, 34, 0.35); transition: width 0.9s var(--ease-out); }
.poll-bars li.is-lead .poll-bars__fill { background: var(--ink); }
.poll-bars li.is-mine .poll-bars__fill { background: var(--accent); }
.poll-results__total { margin: var(--space-5) 0 0; text-align: center; font-size: var(--fs-sm); color: var(--color-text-muted); }

/* ---------- Presentazione sul telefono: la slide riempie lo schermo ---------- */
.fs-overlay--slides { background: #111; color: var(--paper); }
.fs-overlay--slides .fs-overlay__bar { border-bottom-color: rgba(253, 253, 253, 0.12); }
.fs-overlay--slides .fs-overlay__close { color: var(--paper); }
.fs-overlay--slides .fs-step { color: rgba(253, 253, 253, 0.7); }
.slide-view { flex: 1; min-height: 0; display: grid; place-items: center; padding: var(--space-3); }
.slide-view img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.slide-view img.is-in { animation: slide-in 0.35s var(--ease-out); }
@keyframes slide-in { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: none; } }

/* ---------- Presentazione nella pagina dell'evento: striscia da scorrere ---------- */
.slides-strip { margin: var(--space-6) 0; }
.slides-strip h3 { font-size: var(--fs-2xl); letter-spacing: -0.03em; margin: 0 0 var(--space-4); }
.slides-strip__track {
  list-style: none;
  margin: 0;
  padding: 0 0 var(--space-3);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78%, 420px);
  gap: var(--space-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.slides-strip__track li { scroll-snap-align: start; }
.slides-strip__track img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: var(--color-surface-alt); border-radius: 10px; }

/* ============================================================
   Intro della home (intro.js): il video "I am" di ~3 secondi
   (pagine di giornale con "I am" evidenziato), poi il logo della home.
   Riempie tutto l'hero; "I am" è sempre al centro, quindi anche
   sul telefono in verticale resta intero.
   ============================================================ */
.intro { display: none; }
/* durante l'intro il video copre tutto lo schermo (position: fixed): sul telefono
   la barra di Safari cambia l'altezza e sotto non deve vedersi la sezione dopo */
.hero-stage.is-intro .intro {
  display: block;
  position: fixed;
  inset: 0 0 -160px 0;            /* anche sotto la barra di Safari */
  z-index: 60;
  overflow: hidden;
  background: #0b0b0b;
  cursor: pointer;
  transition: opacity 0.9s ease;
}
.hero-stage.is-revealed .intro { opacity: 0; pointer-events: none; }
.hero-stage.is-intro:not(.is-revealed) .hero-stage__logo,
.hero-stage.is-intro:not(.is-revealed) .hero-stage__hint { visibility: hidden; }
.site-header { transition: opacity 0.6s ease, transform 0.6s ease; }
html.is-intro-playing .site-header { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.intro__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100lvh;
  object-fit: cover;
  object-position: 50% 50%;
}

/* ============================================================
   Sfondo finale "moderno": luci sfumate che si muovono piano
   (terracotta, bianco caldo, un filo di blu) su nero, con grana fine.
   ============================================================ */
.hero-aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 120%, #2b2420 0%, #121212 55%, #0a0a0a 100%);
}
.hero-aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.95;
  mix-blend-mode: screen;
  will-change: transform;
}
.hero-aurora span:nth-child(1) {
  width: 62vmax; height: 62vmax; left: -12vmax; top: 18%;
  background: radial-gradient(circle, rgba(232, 118, 76, 0.95), rgba(184, 80, 46, 0.35) 40%, transparent 68%);
  animation: aurora-a 18s ease-in-out infinite alternate;
}
.hero-aurora span:nth-child(2) {
  width: 54vmax; height: 54vmax; right: -14vmax; top: -18%;
  background: radial-gradient(circle, rgba(255, 238, 214, 0.6), transparent 62%);
  animation: aurora-b 22s ease-in-out infinite alternate;
}
.hero-aurora span:nth-child(3) {
  width: 46vmax; height: 46vmax; left: 30%; bottom: -30%;
  background: radial-gradient(circle, rgba(96, 124, 214, 0.55), transparent 64%);
  animation: aurora-c 26s ease-in-out infinite alternate;
}
@keyframes aurora-a { to { transform: translate(18vw, -10vh) scale(1.15); } }
@keyframes aurora-b { to { transform: translate(-16vw, 14vh) scale(0.9); } }
@keyframes aurora-c { to { transform: translate(-12vw, -12vh) scale(1.2); } }
/* grana finissima e una griglia appena visibile: il tocco "tech" */
.hero-aurora i {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E"),
    linear-gradient(rgba(253, 253, 253, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(253, 253, 253, 0.06) 1px, transparent 1px);
  background-size: 140px 140px, 64px 64px, 64px 64px;
  mix-blend-mode: overlay;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.hero-stage__media .hero-aurora { animation: none; }
/* con lo sfondo moderno l'ombra dell'hero è più leggera: le luci restano vive */
.hero-stage:has(.hero-aurora) .hero-stage__shade {
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.35) 0%, transparent 30%, transparent 70%, rgba(10, 10, 10, 0.5) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .hero-aurora span { animation: none; }
}

/* Arrivo del logo: dissolvenza dall'ultima inquadratura, le luci si accendono */
.hero-stage.is-reveal-anim .hero-aurora { animation: intro-settle 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes intro-settle {
  from { transform: scale(1.12); filter: brightness(1.8); }
  to { transform: none; filter: none; }
}
.hero-stage.is-reveal-anim .logo-lockup { animation: intro-logo 1.3s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both; }
@keyframes intro-logo {
  from { opacity: 0; transform: scale(1.25); filter: blur(14px); }
  to { opacity: 1; transform: none; filter: none; }
}
.hero-stage.is-reveal-anim .logo-lockup__tag { animation: tag-in 1.1s var(--ease-out) 0.7s both; }

/* Pulsanti suono e salta: semplici, bianchi (spariscono alla fine) */
.intro-controls {
  position: fixed;
  right: var(--gutter);
  bottom: calc(var(--space-6) + env(safe-area-inset-bottom, 0px));
  z-index: 61;
  display: flex;
  gap: var(--space-2);
}
.intro-controls[hidden] { display: none; }
.intro-controls__btn {
  min-height: 36px;
  padding: 0 var(--space-4);
  border: 0;
  border-radius: 99px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  font: inherit;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}
.intro-controls__btn:hover { opacity: 0.85; }
@media (max-width: 599px) {
  .intro-controls { left: var(--gutter); right: var(--gutter); justify-content: center; }
}


/* Popup già visto (pagina ricaricata): non si riapre da solo, resta questo pulsante */
.live-chip {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 32px);
  padding: 10px 10px 10px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: 500 var(--fs-sm)/1.2 var(--font-body);
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  animation: live-chip-in 0.4s var(--ease-out) both;
}
.live-chip[hidden] { display: none; }
.live-chip strong { padding: 6px 12px; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 600; }
.live-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-on-dark); animation: live-chip-blink 1.4s ease-in-out infinite; }
@keyframes live-chip-in { from { opacity: 0; transform: translate(-50%, 12px); } }
@keyframes live-chip-blink { 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .live-chip, .live-chip__dot { animation: none; } }

/* ------------------------------------------------------------
   La mia area: dispositivi e collegamento di uno nuovo
   ------------------------------------------------------------ */
.entry-alt { margin: var(--space-5) 0 0; font-size: var(--fs-sm); color: var(--color-text-muted); }
.entry-alt a { color: var(--ink); font-weight: 600; }
.empty-state + .entry-alt { margin-top: calc(var(--space-6) * -1); }

.my-area > * + * { margin-top: var(--space-6); }
.my-area .page-intro { margin-bottom: 0; }

.link-card {
  padding: var(--space-6);
  border-radius: 18px;
  background: var(--ink);
  color: var(--paper);
}
.link-card .eyebrow { color: rgba(253, 253, 253, 0.6); }
.link-card h2 { margin: 0 0 var(--space-3); font-size: var(--fs-2xl); color: var(--paper); }
.link-card p { color: rgba(253, 253, 253, 0.8); }
.link-card a { color: var(--paper); }
.link-card form { margin-top: var(--space-5); }
.link-card .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.link-card .btn-secondary { background: transparent; color: var(--paper); border-color: rgba(253, 253, 253, 0.4); }
.link-card__grid { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); align-items: center; margin-top: var(--space-4); }
.link-card__qr { padding: 10px; border-radius: 12px; background: var(--paper); line-height: 0; }
.link-card__qr img, .link-card__qr canvas { width: 160px; height: 160px; }
.link-card__code p { margin: 0 0 var(--space-2); font-size: var(--fs-sm); }
.link-card__big {
  margin: var(--space-2) 0 !important;
  font-size: clamp(2rem, 8vw, 2.8rem) !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--paper) !important;
  font-variant-numeric: tabular-nums;
}
.link-card__time { color: rgba(253, 253, 253, 0.6) !important; }
@media (max-width: 520px) {
  .link-card { padding: var(--space-5); }
  .link-card__grid { grid-template-columns: 1fr; justify-items: start; }
}

.device-list { list-style: none; margin: var(--space-3) 0 0; padding: 0; border-top: 1px solid var(--color-border); }
.device-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--color-border); }
.device-row strong { font-weight: 600; }
.device-row small { display: block; margin-top: 2px; font-size: var(--fs-xs); color: var(--color-text-muted); }
.device-row__this { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--color-surface-alt); font-size: var(--fs-xs); font-weight: 600; }
.device-row .link-button { background: none; border: 0; padding: 0; font: inherit; font-size: var(--fs-sm); color: var(--color-text-muted); text-decoration: underline; cursor: pointer; }

.input--code { font-size: var(--fs-xl); letter-spacing: 0.14em; text-transform: uppercase; font-variant-numeric: tabular-nums; }

/* Video in onda sul telefono (popup): segue il proiettore, audio con un tocco */
.video-view { position: relative; }
.video-view video,
.video-view iframe { width: 100%; height: 100%; max-height: 100%; object-fit: contain; border: 0; background: #000; }
.video-view__sound {
  position: absolute;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(253, 253, 253, 0.92);
  color: var(--ink);
  font: 600 var(--fs-sm)/1 var(--font-body);
  white-space: nowrap;
  cursor: pointer;
}
.video-view__yt { display: grid; gap: var(--space-3); place-items: center; padding: var(--space-6); text-align: center; color: var(--paper); }
.video-view__yt p { margin: 0; }
.video-view__note { font-size: var(--fs-xs); opacity: 0.6; }


/* ============================================================
   Pagina evento — un asse solo, una cosa per volta.
   In alto la foto grande con data, titolo e sottotitolo sopra;
   sotto una colonna di lettura centrata: striscia Quando · Dove ·
   Versetto con il calendario, descrizione, contenuti, domande.
   Due stili di testo: Inter per titoli ed etichette, Times per leggere.
   ============================================================ */
.ev { padding-bottom: var(--space-9); }
.ev .back-link { display: inline-block; margin-bottom: var(--space-4); }

/* foto con titolo sopra */
.ev-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 440px;
  aspect-ratio: 4 / 5;
  max-height: 78vh;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.ev-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 1.8s var(--ease-out) both; }
.ev-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(17, 17, 17, 0.82) 0%, rgba(17, 17, 17, 0.35) 45%, rgba(17, 17, 17, 0) 75%); }
.ev-hero--plain { aspect-ratio: auto; min-height: 320px; }
.ev-hero--plain::after { display: none; }
.ev-hero__text { position: relative; z-index: 1; padding: clamp(22px, 5vw, 48px); }
.ev-hero__date { margin: 0 0 var(--space-3); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(253, 253, 253, 0.8); }
.ev-hero__date::first-letter { text-transform: uppercase; }
.ev-title { margin: 0; color: var(--paper); font-size: clamp(2.2rem, 7vw, 4.2rem); line-height: 1.02; letter-spacing: -0.035em; overflow-wrap: break-word; text-wrap: balance; }
.ev-subtitle { margin: var(--space-3) 0 0; font-family: var(--font-logo); font-style: italic; font-size: clamp(1.15rem, 3.4vw, 1.5rem); line-height: 1.35; color: rgba(253, 253, 253, 0.85); }
.ev-subtitle em { font-style: normal; }

/* colonna di lettura */
.ev-col { max-width: 720px; margin: 0 auto; }

/* Quando · Dove · Versetto: un riquadro morbido, una riga per voce con icona */
.ev-info { margin-top: var(--space-6); }
.ev-info__list { list-style: none; margin: 0; padding: 4px 18px; border-radius: 18px; background: var(--color-surface-alt); }
.ev-info__row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 0; }
.ev-info__row + .ev-info__row { border-top: 1px solid rgba(34, 34, 34, 0.07); }
.ev-info__row > svg { box-sizing: border-box; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--paper); color: var(--accent); }
.ev-info__label { display: block; margin-bottom: 2px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }
.ev-info__row strong { display: block; font-size: 1.05rem; font-weight: 600; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
.ev-info__verse { font-family: var(--font-logo); font-style: italic; font-weight: 400 !important; font-size: 1.2rem !important; }
.ev-info__link { display: inline-block; margin-top: 4px; font-size: var(--fs-sm); font-weight: 600; color: var(--accent); text-decoration: none; }
.ev-info__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.ev-info__cal { width: 100%; margin-top: var(--space-3); }
.ev-info__done { margin: var(--space-3) 0 0; font-size: var(--fs-sm); color: var(--color-text-muted); }
.ev-desc { margin: var(--space-6) 0 0; font-family: var(--font-logo); font-size: clamp(1.15rem, 3.2vw, 1.25rem); line-height: 1.7; }

.ev-label { margin: 0; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }

.ev-soon { display: flex; gap: 10px; align-items: flex-start; margin: var(--space-7) 0 0; line-height: 1.5; }
.ev-soon svg { flex: none; margin-top: 3px; color: var(--accent); }
.ev-note { margin: var(--space-7) 0 0; font-size: var(--fs-sm); color: var(--color-text-muted); }
.ev-note a { color: var(--ink); font-weight: 600; }

/* contenuti: tutto allineato allo stesso bordo sinistro */
.ev-body { margin-top: var(--space-9); display: grid; gap: var(--space-6); }
.ev-text { margin: 0; font-family: var(--font-logo); font-size: clamp(1.15rem, 3.2vw, 1.25rem); line-height: 1.75; }
.ev-text em { font-style: italic; }
.ev-text strong { font-weight: 700; }

.ev-verse { margin: var(--space-2) 0; padding: var(--space-1) 0 var(--space-1) var(--space-5); border-left: 2px solid var(--accent); }
.ev-verse blockquote { margin: 0; }
.ev-verse p { margin: 0; font-family: var(--font-logo); font-style: italic; font-size: clamp(1.4rem, 4.4vw, 1.85rem); line-height: 1.35; letter-spacing: -0.01em; }
.ev-verse p em { font-style: normal; }
.ev-verse figcaption { margin-top: var(--space-3); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }

.ev-photo { margin: var(--space-2) 0; }
.ev-photo img { width: 100%; display: block; border-radius: 16px; }
.ev-photo figcaption { margin-top: var(--space-2); font-size: var(--fs-sm); color: var(--color-text-muted); }

.ev-more { margin: var(--space-6) 0 0; }

/* Domande e Partecipa: stesso schema, niente riquadri */
.ev-ask, .ev-join { margin-top: var(--space-9); }
.ev-ask__title, .ev-join h2 { margin: 0; font-size: clamp(1.7rem, 5vw, 2.1rem); letter-spacing: -0.03em; }
.ev-ask__lead { display: flex; gap: 8px; align-items: flex-start; margin: var(--space-2) 0 var(--space-4); font-size: var(--fs-sm); color: var(--color-text-muted); line-height: 1.5; }
.ev-ask__lead svg { flex: none; margin-top: 2px; width: 16px; height: 16px; color: var(--accent); }
.ev-ask__lead strong { color: var(--ink); font-weight: 600; }
.ev-ask__msg { margin: 0 0 var(--space-3); font-size: var(--fs-sm); font-weight: 600; color: var(--color-success, #2e7d4f); }
.ev-ask__msg--error { color: var(--accent); }
.ev-ask__form { display: grid; gap: var(--space-3); }
.ev-ask__input { width: 100%; min-height: 120px; padding: 14px 16px; border: 0; border-radius: 16px; background: var(--color-surface-alt); color: var(--ink); font: 400 var(--fs-base)/1.5 var(--font-body); resize: vertical; }
.ev-ask__input::placeholder { color: var(--color-text-muted); }
.ev-ask__input:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.ev-ask__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.ev-ask__count { font-size: var(--fs-xs); color: var(--color-text-muted); font-variant-numeric: tabular-nums; }
.ev-ask__count.is-low { color: var(--accent); }
.ev-ask__send { min-height: 46px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font: 600 var(--fs-base)/1 var(--font-body); cursor: pointer; transition: opacity 0.2s, transform 0.15s; }
.ev-ask__send:active { transform: scale(0.97); }
.ev-ask__send:disabled { opacity: 0.3; cursor: default; }

.ev-join__lead { margin: var(--space-2) 0 var(--space-5); color: var(--color-text-muted); line-height: 1.5; }
.ev-join .form-card { padding: 0; border: 0; background: transparent; }
.ev-join .form-card .btn-primary { width: 100%; }
.ev-join .form-note { text-align: left; }
.ev-join .input { border-radius: 12px; }
.ev-join__guest { margin-top: var(--space-5); }
.ev-join__guest .link-button { padding: 0; border: 0; background: none; font: 600 var(--fs-sm)/1.4 var(--font-body); color: var(--ink); text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(34, 34, 34, 0.25); }

/* da computer: foto larga e bassa, striscia su una riga */
@media (min-width: 900px) {
  .ev-hero { aspect-ratio: 2.4 / 1; min-height: 420px; border-radius: 24px; }
  .ev-info { margin-top: var(--space-8); }
  .ev-info__list { padding: 6px 24px; }
  .ev-info__row { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 16px 0; }
  .ev-info__row > svg { width: 44px; height: 44px; padding: 11px; }
  .ev-info__row strong { font-size: 1.1rem; }
  .ev-info__cal { width: auto; }
  .ev-photo img { border-radius: 18px; }
}
/* schermi grandi: solo la foto si allarga quasi a tutta pagina */
@media (min-width: 1200px) {
  .ev {
    --ev-w: min(1360px, calc(100vw - 2 * var(--gutter)));
    width: var(--ev-w);
    margin-inline: calc((100% - var(--ev-w)) / 2);
  }
}
