/* =====================================================================
   Marginalia – stile del sito pubblico
   ===================================================================== */

:root {
  --bg: #0a0910;
  --surface: #13111d;
  --surface-2: #1b1828;
  --line: rgb(255 255 255 / 0.09);
  --ink: #f4f1ea;
  --muted: #a7a3b8;
  --cream: #f0e3cc;
  --purple: #5d4e9c;
  --purple-light: #8d7ed0;
  --teal: #4ebdc8;
  --danger: #e0607e;

  --font-display: 'Bebas Neue', 'Oswald', Impact, sans-serif;
  --font-body: 'Montserrat', system-ui, sans-serif;

  --max: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 14px;
  --radius-lg: 24px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  background-image:
    radial-gradient(60rem 40rem at 85% -10%, rgb(93 78 156 / 0.22), transparent 70%),
    radial-gradient(50rem 30rem at -10% 30%, rgb(78 189 200 / 0.08), transparent 70%);
  background-repeat: no-repeat;
}

img { max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: -999px; top: .5rem; z-index: 100;
  padding: .6rem 1rem; background: var(--teal); color: var(--bg); border-radius: 8px;
}
.skip:focus { left: .5rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.preview-bar {
  position: sticky; top: 0; z-index: 60;
  padding: .5rem 1rem; text-align: center; font-size: .85rem; font-weight: 600;
  background: #e0b04e; color: #1b1400;
}

/* ---------- layout ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding: clamp(1.25rem, 3vw, 2rem) 0; }
.section--tight { padding: .75rem 0; }
main > .section:last-child { padding-bottom: clamp(2.5rem, 6vw, 4rem); }

/* ---------- tipografia ---------- */
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: .02em; line-height: .95; margin: 0; }
.h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 2.8rem); letter-spacing: .03em; line-height: 1;
  color: var(--purple-light); margin: 0 0 1.5rem;
}
.kicker {
  margin: 0 0 .6rem; font-size: .85rem; font-weight: 600;
  letter-spacing: .25em; text-transform: uppercase; color: var(--teal);
}
.kicker--muted { color: var(--muted); font-size: .8rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); }

.prose p { margin: 0 0 1.1rem; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--teal); font-weight: 600; }
.prose h3 {
  font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; line-height: 1.1;
  color: var(--purple-light); margin: 1.6rem 0 .6rem;
}
.prose ul, .prose ol { text-align: left; display: inline-block; margin: 0 0 1.1rem; }
.prose blockquote { margin: 1.2rem 0; padding-left: 1rem; border-left: 3px solid var(--purple); color: var(--cream); font-style: italic; }
.prose--lead > p:first-child { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); }

/* ---------- bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px;
  font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .05em; text-decoration: none;
  border: 1px solid var(--line); color: var(--ink); background: var(--surface-2);
  cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { color: var(--ink); transform: translateY(-2px); border-color: var(--teal); }
.btn--primary { background: var(--purple); border-color: var(--purple); box-shadow: 0 10px 30px -10px rgb(93 78 156 / .8); }
.btn--primary:hover { background: #6c5cb3; border-color: #6c5cb3; }
.btn--ghost { background: transparent; color: var(--teal); border-color: rgb(78 189 200 / .4); }

.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.btn-row--left { justify-content: flex-start; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(10 9 16 / .6);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); background: rgb(10 9 16 / .85); }
.header__inner {
  max-width: var(--max); margin: 0 auto; padding: .6rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
/* il logo non deve mai restringersi accanto al menu, altrimenti si deforma */
.header__logo { flex: none; display: block; }
.header__logo img { display: block; height: 56px; width: auto; max-width: none; aspect-ratio: 600 / 364; object-fit: contain; margin: -8px -14px; }
.header__nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.header__nav a {
  display: block; padding: .5rem .8rem; border-radius: 999px;
  font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .04em;
  color: var(--teal); text-decoration: none; transition: color .2s, background .2s;
}
.header__nav a:hover { color: var(--ink); background: rgb(78 189 200 / .12); }
.header__nav a[aria-current='page'] { color: var(--ink); background: var(--purple); }

.header__toggle {
  display: none; position: relative; z-index: 2;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer;
}
.header__toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px;
  background: var(--teal); border-radius: 2px; transition: transform .3s, opacity .2s;
}
.header__toggle span:nth-child(1) { top: 14px; }
.header__toggle span:nth-child(2) { top: 21px; }
.header__toggle span:nth-child(3) { top: 28px; }
.is-open .header__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-open .header__toggle span:nth-child(2) { opacity: 0; }
.is-open .header__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 959px) {
  .header__toggle { display: block; }
  .header__nav {
    position: fixed; inset: 0; height: 100dvh; background: var(--bg);
    display: grid; place-items: center;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .is-open .header__nav { opacity: 1; visibility: visible; }
  .header__nav ul { flex-direction: column; align-items: center; gap: .5rem; }
  .header__nav a { font-size: 2.2rem; padding: .3rem 1.4rem; }
}

/* ---------- footer + sostegno ---------- */
.support { padding: 2rem var(--gutter) 4rem; }
.support__card {
  max-width: 760px; margin: 0 auto; text-align: center;
  padding: 2.5rem 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background:
    radial-gradient(120% 120% at 0% 0%, rgb(93 78 156 / .35), transparent 60%),
    radial-gradient(120% 120% at 100% 100%, rgb(78 189 200 / .18), transparent 60%),
    var(--surface);
}
.support__title {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--teal); margin: 0 0 1.2rem; letter-spacing: .03em; line-height: 1;
}
.support__text { color: var(--muted); margin: -.6rem 0 1.4rem; }
.support .btn img { height: 22px; width: auto; filter: brightness(0) invert(1); }

.footer { border-top: 1px solid var(--line); padding: 3rem var(--gutter) 1.5rem; font-size: .95rem; }
.footer__inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: start;
}
.footer__logo { width: 220px; height: auto; margin: -1.5rem 0 0 -1rem; }
.footer__title {
  font-family: var(--font-display); font-weight: 400; font-size: 1.4rem;
  letter-spacing: .06em; color: var(--purple-light); margin: 0 0 .5rem;
}
.footer p { margin: 0 0 .5rem; color: var(--muted); }
.footer strong { color: var(--ink); }
.footer a { color: var(--teal); }
.footer__social { display: flex; gap: .6rem; margin-top: .8rem; }
.footer__social a {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--line);
  transition: background .2s, color .2s, border-color .2s;
}
.footer__social a:hover { background: var(--purple); color: var(--ink); border-color: var(--purple); }
.footer__copy {
  max-width: var(--max); margin: 2.5rem auto 0; padding-top: 1.2rem;
  border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); text-align: center;
}

/* ---------- blocco: testata home ---------- */
.home-hero { text-align: center; padding: clamp(1rem, 4vw, 3rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.home-hero__logo {
  width: min(620px, 100%); margin: 0 auto -1rem; display: block;
  filter: drop-shadow(0 0 50px rgb(93 78 156 / .45));
  animation: float 8s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-8px); } }
.home-hero__tag {
  font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.05; letter-spacing: .03em; color: var(--teal); margin: 0 0 .6rem;
}
.home-hero__tag strong { font-weight: 400; color: var(--purple-light); white-space: nowrap; }
.home-hero__sub { max-width: 640px; margin: 0 auto 2rem; color: var(--muted); font-size: clamp(1rem, 2vw, 1.15rem); }
.home-hero__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.fact {
  display: flex; flex-direction: column; gap: .15rem; min-width: 230px;
  padding: 1rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: rgb(19 17 29 / .7);
}
.fact__label { font-size: .72rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.fact__value { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; color: var(--ink); }
.fact__link { font-size: .9rem; }

/* ---------- blocco: titolo pagina ---------- */
.page-hero { padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(1rem, 3vw, 1.5rem); text-align: center; }
.page-hero__back {
  display: inline-flex; gap: .4rem; margin-bottom: 1.2rem;
  font-size: .9rem; text-decoration: none; color: var(--muted);
}
.page-hero__back:hover { color: var(--teal); }
.page-hero__title {
  font-size: clamp(3rem, 10vw, 6rem); color: var(--purple-light);
  text-shadow: 0 0 40px rgb(93 78 156 / .5);
}
.page-hero__links { margin-top: 1.5rem; }

.switch {
  display: inline-flex; flex-wrap: wrap; justify-content: center; margin-top: 1.5rem; padding: 4px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
}
.switch a {
  padding: .5rem 1.1rem; border-radius: 999px; font-size: .9rem; font-weight: 600;
  text-decoration: none; color: var(--muted); transition: background .2s, color .2s;
}
.switch a:hover { color: var(--ink); }
.switch a[aria-current='page'] { background: var(--purple); color: var(--ink); }

/* ---------- blocco: riquadri ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.cards--tiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.cards--days, .cards--boxes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cards .card--wide { grid-column: 1 / -1; }
.cards .card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  text-decoration: none; color: var(--ink); overflow: hidden;
  transition: transform .3s, border-color .3s;
}
a.card:hover { transform: translateY(-4px); border-color: rgb(78 189 200 / .5); color: var(--ink); }
.card__arrow { margin-top: 1rem; font-size: 1.4rem; color: var(--teal); transition: transform .3s; }
a.card:hover .card__arrow { transform: translateX(6px); }
.card__text { color: var(--muted); font-size: .95rem; }

.card--tiles { padding: 1.6rem 1.6rem 1.4rem; border-radius: var(--radius-lg); }
.card--tiles::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(80% 100% at 100% 0%, rgb(93 78 156 / .35), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.card--tiles:hover::before { opacity: 1; }
.card--tiles > * { position: relative; }
.card__num { font-size: .8rem; font-weight: 600; letter-spacing: .2em; color: var(--purple-light); }
.card--tiles .card__title {
  font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--teal); margin: .4rem 0 .5rem;
}
.card--tiles .card__text { flex: 1; }

.card--days {
  padding: 2rem; border-radius: var(--radius-lg);
  background: radial-gradient(100% 100% at 100% 0%, rgb(93 78 156 / .3), transparent 70%), var(--surface);
}
.card--days .card__kicker { font-size: .85rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--teal); }
.card--days .card__title {
  font-family: var(--font-display); font-size: clamp(3rem, 9vw, 4.5rem); line-height: 1;
  color: var(--purple-light); margin: .3rem 0 .8rem;
}
.card--days .card__arrow { position: absolute; right: 1.8rem; bottom: 1.6rem; margin: 0; font-size: 1.6rem; }

.card--boxes { padding: 1.8rem; gap: .4rem; }
.card--boxes .card__kicker { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.card--boxes .card__title { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--teal); margin-bottom: .4rem; }
.card--boxes .card__text { margin-bottom: .8rem; }
.card__buttons { margin-top: auto; }

/* ---------- blocco: numeri ---------- */
.stats {
  list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); text-align: center;
}
.stats li { padding: 1.4rem 1rem; font-weight: 600; }
.stats small { font-weight: 400; color: var(--muted); }
.stats__value {
  display: block; font-family: var(--font-display); font-size: 3.2rem; font-weight: 400;
  line-height: 1; color: var(--purple-light);
}
.stats__note { text-align: center; font-size: 1.1rem; color: var(--muted); }

/* ---------- blocco: foto/loghi ---------- */
.people {
  list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(.8rem, 2vw, 1.4rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
}
@media (max-width: 480px) { .people { grid-template-columns: repeat(2, 1fr); } }
.person figure { margin: 0; }
.person__img {
  aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
}
.person__img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease, filter .5s ease;
}
.people--photo .person__img img { filter: grayscale(.2) contrast(1.05); }
.people--logo .person__img { background: #fff; }
.people--logo .person__img img { object-fit: contain; }
.person:hover .person__img img { transform: scale(1.05); filter: none; }
.person figcaption { padding: .7rem .2rem 0; text-align: center; line-height: 1.3; }
.person__name { display: block; font-weight: 600; color: var(--teal); font-size: .95rem; }
.person__role {
  display: block; margin-top: .2rem; font-size: .75rem;
  letter-spacing: .15em; text-transform: uppercase; color: var(--muted);
}

/* ---------- blocco: programma ---------- */
.timeline { --time-w: 7.2rem; list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ''; position: absolute; top: .5rem; bottom: .5rem; left: calc(var(--time-w) + .75rem);
  width: 1px; background: linear-gradient(var(--purple), var(--teal)); opacity: .5;
}
.slot { position: relative; display: grid; grid-template-columns: var(--time-w) 1fr; gap: 1.5rem; padding: .6rem 0; }
.slot::before {
  content: ''; position: absolute; left: calc(var(--time-w) + .75rem - 5px); top: 1.9rem;
  width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--teal);
}
.slot__time {
  padding-top: 1.15rem; text-align: right;
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; color: var(--purple-light);
}
.slot__body {
  padding: 1rem 1.3rem; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface); transition: border-color .2s;
}
.slot__body:hover { border-color: rgb(78 189 200 / .4); }
.slot__body p { margin: 0; }
.slot__label {
  font-size: .75rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .3rem !important;
}
.slot__title { font-style: italic; font-size: 1.08rem; line-height: 1.4; color: var(--cream); }
.slot__people { margin-top: .45rem !important; font-size: .88rem; color: var(--muted); }
.slot--tavola .slot__body {
  border-color: rgb(93 78 156 / .7);
  background: radial-gradient(100% 140% at 0% 0%, rgb(93 78 156 / .35), transparent 70%), var(--surface);
}
.slot--tavola .slot__label {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 400;
  letter-spacing: .03em; text-transform: none; color: var(--purple-light);
}
.slot--tavola::before { background: var(--purple); border-color: var(--purple-light); }
.slot--pausa .slot__body { background: transparent; border-style: dashed; }
.slot--pausa .slot__title {
  font-style: normal; font-family: var(--font-display); font-size: 1.6rem;
  letter-spacing: .04em; color: var(--purple-light);
}
.slot--pausa::before { background: var(--purple-light); border-color: var(--purple-light); }
@media (max-width: 560px) {
  .timeline { --time-w: 0px; }
  .timeline::before { left: 6px; }
  .slot { grid-template-columns: 1fr; gap: .3rem; padding-left: 1.6rem; }
  .slot::before { left: 1px; top: 1.05rem; }
  .slot__time { text-align: left; padding-top: .5rem; font-size: 1.35rem; }
}

/* ---------- blocco: mappa stand ---------- */
.standmap {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start;
}
@media (max-width: 860px) { .standmap { grid-template-columns: 1fr; } }
.standmap__map { margin: 0; position: sticky; top: 90px; }
@media (max-width: 860px) { .standmap__map { position: static; } }
.standmap__map a { display: block; position: relative; }
.standmap__map img { display: block; width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.standmap__zoom {
  position: absolute; right: .8rem; bottom: .8rem; padding: .35rem .8rem; border-radius: 999px;
  font-size: .8rem; font-weight: 600; background: rgb(10 9 16 / .8); color: var(--teal); border: 1px solid var(--line);
}
.search input {
  width: 100%; min-height: 48px; padding: .7rem 1.1rem; margin-bottom: 1.5rem;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit;
}
.search input:focus { outline: none; border-color: var(--teal); }
.standmap__empty { color: var(--muted); }
.zone { margin-bottom: 1.5rem; }
.zone__title {
  font-family: var(--font-display); font-weight: 400; font-size: 1.3rem;
  letter-spacing: .08em; color: var(--purple-light); margin: 0 0 .4rem;
}
.zone ul { list-style: none; margin: 0; padding: 0; }
.zone li { display: flex; gap: .9rem; align-items: baseline; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.zone__code { flex: none; min-width: 2.4rem; font-family: var(--font-display); font-size: 1.2rem; color: var(--teal); }

/* ---------- blocco: locandine ---------- */
.posters {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 380px)); justify-content: center;
}
.posters figure { margin: 0; }
.posters img {
  display: block; width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgb(93 78 156 / .7); transition: transform .4s;
}
.posters li:hover img { transform: translateY(-6px) rotate(-.6deg); }
.posters figcaption {
  margin-top: .8rem; text-align: center;
  font-family: var(--font-display); font-size: 1.6rem; color: var(--teal);
}

/* ---------- blocco: immagine / logo con link ---------- */
.figure { margin: 0; text-align: center; }
.figure img { border-radius: var(--radius-lg); border: 1px solid var(--line); }
.figure--small img { max-width: 420px; }
.figure figcaption { margin-top: .6rem; color: var(--muted); font-size: .9rem; }
.partner { text-align: center; }
.partner img { width: min(400px, 100%); border-radius: var(--radius); transition: opacity .2s; }
.partner a:hover img { opacity: .85; }

/* ---------- blocco: gallery ---------- */
.gallery {
  list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}
.gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgb(5 4 9 / .94); padding: 3.5rem 1rem 1rem;
}
.lightbox img { max-width: 100%; max-height: calc(100dvh - 7rem); border-radius: var(--radius); }
.lightbox p { margin: .8rem 0 0; text-align: center; color: var(--muted); }
.lightbox button {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.4rem; cursor: pointer;
}
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; }
.lightbox__next { right: 1rem; top: 50%; }

/* ---------- blocco: coming soon ---------- */
.soon { text-align: center; padding: clamp(2.5rem, 8vw, 5rem) 1.5rem; border-style: dashed; }
.soon__title {
  font-family: var(--font-display); font-size: clamp(3rem, 10vw, 5rem); line-height: 1;
  margin: 0; color: var(--teal); animation: flicker 4s infinite;
}
@keyframes flicker {
  0%, 92%, 100% { opacity: 1; }
  93% { opacity: .4; }
  95% { opacity: 1; }
  96% { opacity: .6; }
}
.soon__text { color: var(--muted); margin: .8rem 0 1.5rem; }

/* ---------- comparsa allo scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .home-hero__logo, .soon__title { animation: none; }
}
