/* =========================================================
   Area V — presentazione
   ========================================================= */

:root {
  --ink: #05050a;
  --ink-2: #0c0c14;
  --ink-3: #14141f;
  --line: #262636;
  --paper: #f4f2ee;
  --mute: #9b9bad;
  --red: #e4142c;
  --red-soft: #ff4053;
  --gold: #f6c451;
  --gold-deep: #b8862a;
  --white: #ffffff;

  --shell: min(1320px, 92vw);
  --slide-pad: clamp(28px, 5vh, 72px);
  --r: 18px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow: hidden;
}

/* rumore di fondo, tiene insieme i neri */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .05;
  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='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- barra alta ---------- */
.topbar {
  position: fixed;
  z-index: 50;
  top: 0; left: 0; right: 0;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(14px, 3vw, 34px);
  background: linear-gradient(180deg, rgba(5,5,10,.92), rgba(5,5,10,0));
  pointer-events: none;
}

.topbar__brand { display: flex; align-items: center; gap: 11px; pointer-events: auto; }

.mark {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  font-family: Anton, Impact, sans-serif;
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
  background: var(--gold);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  padding-bottom: 6px;
}

.topbar__title { font-size: 13.5px; font-weight: 700; letter-spacing: .02em; }
.topbar__title em { color: var(--mute); font-style: normal; font-weight: 500; }

.topbar__nav { display: flex; align-items: center; gap: 8px; pointer-events: auto; }

.counter { font-size: 12.5px; color: var(--mute); font-variant-numeric: tabular-nums; margin-right: 4px; }
.counter b { color: var(--paper); }

.ghostbtn {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--paper);
  border-radius: 9px;
  font-size: 14px;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
}
.ghostbtn:hover { border-color: var(--gold); background: rgba(246,196,81,.1); }
.ghostbtn:active { transform: scale(.94); }

/* ---------- indice laterale ---------- */
.rail {
  position: fixed;
  z-index: 50;
  right: clamp(10px, 1.6vw, 20px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rail button {
  position: relative;
  width: 9px; height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  cursor: pointer;
  transition: background .25s, transform .25s;
}
.rail button[aria-current="true"] { background: var(--gold); transform: scale(1.5); }
.rail button::after {
  content: attr(data-label);
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap;
  font-size: 11.5px;
  color: var(--paper);
  background: rgba(10,10,18,.92);
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: 7px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.rail button:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- impalcatura slide ---------- */
.deck {
  height: 100vh;
  height: 100svh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.deck::-webkit-scrollbar { display: none; }

.slide {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  align-content: center;
  padding: calc(58px + var(--slide-pad)) 0 var(--slide-pad);
  border-top: 1px solid rgba(255,255,255,.05);
  overflow: hidden;
}
.slide:first-child { border-top: 0; }
.slide--dark { background: radial-gradient(120% 90% at 50% 0%, #101019 0%, #05050a 62%); }

.wrap { width: var(--shell); margin: 0 auto; }
.wrap--narrow { max-width: 820px; }

/* ---------- tipografia ---------- */
.display {
  font-family: Anton, Impact, "Haettenschweiler", sans-serif;
  font-weight: 400;
  font-size: clamp(46px, 8.4vw, 128px);
  line-height: .89;
  letter-spacing: -.015em;
  text-transform: uppercase;
  margin: 12px 0 22px;
}
.display--end { font-size: clamp(40px, 7vw, 100px); }

.title {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 3.5vw, 54px);
  line-height: 1.02;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 10px 0 18px;
}
.title--wide { font-size: clamp(34px, 4.4vw, 68px); margin-bottom: 34px; }

.hl {
  color: var(--gold);
  -webkit-text-stroke: 0;
  text-shadow: 0 0 34px rgba(246,196,81,.28);
}

.kicker {
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--red-soft);
}

.lede { font-size: clamp(16px, 1.35vw, 20px); color: #ddd9d2; max-width: 62ch; margin: 0 0 26px; }
.body { font-size: clamp(14.5px, 1.05vw, 17px); color: #cfcbc4; max-width: 56ch; margin: 0 0 16px; }
.body--center { margin: 0 auto 30px; text-align: center; }
.body strong, .lede strong { color: var(--white); font-weight: 700; }
.micro { font-size: 12.5px; color: var(--mute); line-height: 1.5; }

/* ---------- copertina ---------- */
.slide--hero { align-content: end; padding-bottom: clamp(48px, 9vh, 110px); }

.hero__stage { position: absolute; inset: 0; overflow: hidden; }
.hero__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
  opacity: .5;
  filter: saturate(.85) contrast(1.05);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.75) 46%, transparent 88%);
  animation: heroin 1.6s var(--ease) both;
}
@keyframes heroin { from { opacity: 0; transform: scale(1.06); } to { opacity: .5; transform: none; } }
.hero__stage::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(100% 70% at 50% 108%, rgba(228,20,44,.3), transparent 62%);
}
.hero__v {
  position: absolute;
  left: 50%; bottom: -12vh;
  width: 118vw; height: 76vh;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(246,196,81,.16), rgba(246,196,81,0) 72%);
  clip-path: polygon(0 0, 50% 100%, 100% 0, 100% 3%, 50% 96%, 0 3%);
  filter: blur(.4px);
  animation: vpulse 7s var(--ease) infinite;
}
@keyframes vpulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

.hero__beam {
  position: absolute;
  bottom: -20vh;
  width: 34vw; height: 130vh;
  background: linear-gradient(180deg, rgba(255,255,255,.09), transparent 70%);
  filter: blur(22px);
  transform-origin: 50% 100%;
}
.hero__beam--a { left: 8vw; animation: sweepA 12s ease-in-out infinite; }
.hero__beam--b { right: 8vw; animation: sweepB 15s ease-in-out infinite; }
@keyframes sweepA { 0%,100% { transform: rotate(-16deg); } 50% { transform: rotate(12deg); } }
@keyframes sweepB { 0%,100% { transform: rotate(14deg); } 50% { transform: rotate(-10deg); } }

.hero__content { position: relative; z-index: 2; }

.statrow {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 4vw, 64px);
  margin: 0 0 22px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}
.statrow div { display: grid; }
.statrow dt { order: 2; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.statrow dd {
  order: 1;
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown { display: flex; align-items: baseline; gap: 12px; margin: 0; font-size: 13px; color: var(--mute); }
.countdown b {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(17px, 1.6vw, 24px);
  color: var(--gold);
  letter-spacing: .01em;
  font-weight: 400;
}

.scrollhint {
  position: absolute;
  left: 50%; bottom: 16px;
  transform: translateX(-50%);
  margin: 0;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mute);
  animation: bob 2.6s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); opacity: .55; } 50% { transform: translateX(-50%) translateY(-5px); opacity: 1; } }
kbd {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 5px;
}

/* ---------- griglie ---------- */
.grid { display: grid; gap: clamp(24px, 3.4vw, 56px); align-items: center; }
.grid--map { grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); }
.grid--sim { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.col { min-width: 0; }

.figbox {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(228,20,44,.1), transparent 60%),
    linear-gradient(180deg, #0b0b13, #08080e);
  padding: 12px 12px 0;
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.9);
}
.figbox__cap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: baseline;
  padding: 11px 4px 12px;
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 10px;
  font-size: 12.5px;
}
.figbox__cap > span:first-child { font-weight: 700; }

.stadium svg, canvas { display: block; width: 100%; height: auto; }

/* ---------- legenda mappa ---------- */
.legend { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 2px; }
.legend li { display: block; }
.legend button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: none;
  color: var(--paper);
  font: inherit;
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
  transition: background .18s, border-color .18s;
}
.legend button:hover, .legend button[aria-pressed="true"] {
  background: rgba(255,255,255,.05);
  border-color: var(--line);
}
.legend button[aria-pressed="true"] { border-color: var(--gold); }
.legend .dot { width: 11px; height: 11px; border-radius: 3px; flex: none; }
.legend .price { margin-left: auto; color: var(--mute); font-variant-numeric: tabular-nums; font-size: 12.5px; }

/* ---------- statistiche simulazione ---------- */
.simstats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 18px;
}
.simstats div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  background: rgba(255,255,255,.02);
}
.simstats b {
  display: block;
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.simstats span { font-size: 11.5px; color: var(--mute); line-height: 1.35; display: block; }
.simstats--wide b { color: var(--gold); }

/* ---------- bottoni ---------- */
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
.btn {
  appearance: none;
  border: 0;
  border-radius: 11px;
  padding: 12px 20px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ink);
  background: var(--gold);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform .15s, box-shadow .2s, background .2s;
  box-shadow: 0 10px 30px -14px rgba(246,196,81,.7);
}
.btn:hover { transform: translateY(-1px); background: #ffd473; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .38; cursor: not-allowed; box-shadow: none; transform: none; }
.btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(255,255,255,.05); border-color: var(--paper); }

/* ---------- slide della selezione ---------- */
.selgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(20px, 2.6vw, 40px);
  align-items: start;
}
.figbox--sel { padding: 12px 12px 0; }
.selside { display: grid; gap: clamp(12px, 2vh, 20px); }

/* ---------- tele grandi, sole nella slide ---------- */
.figbox--wide { padding: 14px 14px 0; }
.widerow {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2vw, 32px);
  margin-top: clamp(10px, 1.6vh, 18px);
}
.widerow .btn { flex: none; white-space: nowrap; font-size: 12.5px; padding: 9px 15px; }
.steprow {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(8px, 1vw, 18px);
}
.steprow li {
  border-top: 2px solid rgba(255,255,255,.1);
  padding: 8px 0 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: #74748a;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.steprow li b {
  display: block;
  font-size: 12px;
  color: #a8a49d;
  font-weight: 700;
  margin-bottom: 3px;
  letter-spacing: .02em;
}
.steprow li.is-on { border-color: var(--gold); color: #c3bfb8; }
.steprow li.is-on b { color: var(--gold); }

.seltl { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.seltl li {
  position: relative;
  padding: 9px 12px 9px 30px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.seltl li::before {
  content: "";
  position: absolute;
  left: 12px; top: 15px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2f2f3d;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.seltl li b {
  display: block;
  font-size: 13.5px;
  color: #cfcbc4;
  letter-spacing: .01em;
}
.seltl li span { font-size: 12.5px; color: var(--mute); line-height: 1.45; }
.seltl li.is-on {
  background: rgba(246,196,81,.08);
  border-color: rgba(246,196,81,.35);
}
.seltl li.is-on::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(246,196,81,.18); }
.seltl li.is-on b { color: var(--white); }

/* ---------- le due strade ---------- */
.fork {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 34px);
  margin-bottom: clamp(16px, 2.4vh, 28px);
}
.opt {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(14px, 2vh, 22px) clamp(16px, 1.8vw, 24px);
  background: rgba(255,255,255,.02);
}
.opt--a { border-color: rgba(246,196,81,.45); background: rgba(246,196,81,.05); }
.opt header { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.opt__tag {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mute);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 3px 9px;
  white-space: nowrap;
}
.opt--a .opt__tag { color: var(--gold); border-color: rgba(246,196,81,.5); }
.opt h3 {
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(19px, 1.9vw, 27px);
  font-weight: 400;
  letter-spacing: .01em;
}
.opt ul { margin: 0 0 12px; padding-left: 18px; display: grid; gap: 5px; }
.opt li { font-size: 13px; line-height: 1.45; color: #b9b5ae; }
.opt li::marker { color: var(--mute); }
.opt--a li::marker { color: var(--gold); }
.opt__out {
  margin: 0;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--mute);
}
.opt__out b { color: #cfcbc4; }

.howto {
  list-style: none;
  margin: clamp(14px, 2.2vh, 24px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
}
.howto li {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--mute);
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,.12);
}
.howto li b { color: #cfcbc4; font-weight: 600; }

/* ---------- fotografie ---------- */
.photo { margin: 0 0 clamp(16px, 2.6vh, 30px); }
.photo img {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  filter: saturate(.92) contrast(1.04);
  box-shadow: 0 30px 60px -34px rgba(0,0,0,.9);
}
.photo figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--mute);
  letter-spacing: .01em;
}
.photo--wide img { aspect-ratio: 21 / 8; max-height: 29vh; object-position: 50% 78%; }
.photo--tall { margin: 0; }
.photo--tall img { aspect-ratio: 4 / 3; max-height: 40vh; object-position: 50% 62%; }
.photo--band { margin: 16px 0 0; }
.photo--band img { aspect-ratio: 4 / 3; max-height: 22vh; }

/* ---------- slide problema ---------- */
.probgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
  margin-bottom: clamp(20px, 3.4vh, 38px);
}
.probgrid .probs { grid-template-columns: minmax(0, 1fr); gap: clamp(12px, 1.8vh, 22px); margin-bottom: 0; }
.probgrid .prob b { font-size: clamp(30px, 3.1vw, 46px); }
.probs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
  margin-bottom: clamp(24px, 4vh, 42px);
}
.prob {
  border-top: 2px solid var(--red);
  padding-top: 16px;
}
.prob b {
  display: block;
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 66px);
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.prob p { margin: 0; font-size: 14px; color: #c8c4bd; }

.closerow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}
.proof {
  border: 1px solid rgba(246,196,81,.35);
  background: rgba(246,196,81,.06);
  border-radius: 14px;
  padding: 14px 16px;
}
.proof b {
  display: block;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.proof p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #cfcbc4; }

.micro--note {
  border-left: 2px solid rgba(246,196,81,.5);
  padding-left: 12px;
  margin: -4px 0 2px;
}

.quote { margin: 0; padding-left: 18px; border-left: 2px solid var(--red); }
.quote p {
  margin: 0 0 8px;
  font-size: clamp(15px, 1.35vw, 20px);
  line-height: 1.4;
  color: var(--white);
  font-style: italic;
}
.quote cite {
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute);
}

.pull {
  max-width: 74ch;
  margin: 0;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  font-size: clamp(15px, 1.25vw, 19px);
  color: #ddd9d2;
}

/* ---------- passi + bracciale ---------- */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) clamp(230px, 22vw, 300px); gap: clamp(24px, 3vw, 48px); align-items: start; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
/* sette passi in colonna non ci starebbero: da desktop vanno su due file */
@media (min-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
}
.step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0 16px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
  opacity: .48;
  transform: translateY(6px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), border-color .45s, background .45s;
}
.step.is-on { opacity: 1; transform: none; border-color: rgba(246,196,81,.55); background: rgba(246,196,81,.05); }
.step__n {
  grid-row: 1 / span 2;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-family: Anton, Impact, sans-serif;
  font-size: 17px;
  color: var(--mute);
}
.step.is-on .step__n { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.step--key { border-left: 3px solid rgba(95,211,154,.55); }
.step--key.is-on { border-color: rgba(246,196,81,.55); border-left-color: #5fd39a; }
.step h3 { margin: 6px 0 4px; font-size: 15.5px; letter-spacing: .01em; }
.step p { margin: 0; font-size: 13.5px; color: #c3bfb8; }
.step em { color: var(--gold); font-style: italic; }

.band { position: sticky; top: 90px; }
.band__strap {
  position: relative;
  border-radius: 16px;
  padding: 16px 16px 14px;
  color: #14100a;
  background: linear-gradient(160deg, #ffe6a6, #f6c451 42%, #d79f33);
  box-shadow: 0 26px 60px -26px rgba(246,196,81,.5), inset 0 1px 0 rgba(255,255,255,.6);
  animation: bandin .8s var(--ease) both;
}
@keyframes bandin { from { opacity: 0; transform: translateY(14px) rotate(-2deg); } to { opacity: 1; transform: none; } }
.band__head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.band__logo { font-family: Anton, Impact, sans-serif; letter-spacing: .04em; font-size: 15px; }
.band__logo b { color: var(--red); }
.band__area { background: #14100a; color: var(--gold); padding: 3px 8px; border-radius: 20px; letter-spacing: .16em; }
.band__name {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(19px, 1.9vw, 26px);
  line-height: 1.05;
  margin: 12px 0 6px;
  text-transform: uppercase;
  min-height: 1.05em;
}
.band__meta { display: flex; gap: 14px; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .78; }
.band__meta b { font-variant-numeric: tabular-nums; }
.band__code {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px dashed rgba(20,16,10,.35);
}
.qrfake {
  width: 62px; height: 62px;
  flex: none;
  border-radius: 4px;
  background: #14100a;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  grid-template-rows: repeat(11, 1fr);
  gap: 1px;
}
.qrfake i { background: transparent; border-radius: 1px; }
.qrfake i.on { background: var(--gold); }
.band__codetext { display: grid; gap: 3px; font-size: 10.5px; letter-spacing: .04em; }
.band__codetext span:first-child { font-weight: 800; font-variant-numeric: tabular-nums; }
.band__codetext span:last-child { opacity: .7; text-transform: uppercase; font-size: 9.5px; }
.band__strip {
  margin: 14px -16px -14px;
  height: 22px;
  border-radius: 0 0 16px 16px;
  background: repeating-linear-gradient(135deg, #14100a 0 8px, #241c0e 8px 16px);
}

/* ---------- parametri ---------- */
.knobs { display: grid; gap: 14px; margin: 0 0 18px; }
.knob { display: grid; gap: 7px; }
.knob > span { font-size: 12.5px; color: var(--mute); display: flex; justify-content: space-between; }
.knob b { color: var(--paper); font-variant-numeric: tabular-nums; font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 16px; }
input[type="range"] {
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold) var(--fill, 40%), #26262f var(--fill, 40%));
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--gold);
  box-shadow: 0 2px 8px rgba(0,0,0,.6);
}
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
}
.switch { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: var(--mute); cursor: pointer; }
.switch input { accent-color: var(--gold); width: 16px; height: 16px; margin: 1px 0 0; flex: none; }

.tickerlist {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 26px;
}
.tickerlist li {
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid rgba(246,196,81,.4);
  color: var(--gold);
  background: rgba(246,196,81,.07);
  animation: pop .3s var(--ease) both;
}
@keyframes pop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }

/* ---------- confronto ---------- */
.compare { display: grid; gap: 4px; margin-bottom: clamp(14px, 1.9vh, 22px); }
.crow {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(10px, 1.6vw, 26px);
  align-items: center;
  padding: clamp(6px, .92vh, 10px) 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.crow--head { border-bottom: 1px solid var(--line); padding-bottom: 9px; }
.crow--head span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.crow--head span:nth-child(3) { color: var(--gold); }
.crow__k { font-size: 13.5px; color: #c8c4bd; }
.crow__v { font-size: clamp(15px, 1.35vw, 19px); font-weight: 700; }
.crow__v--old { color: #8e8b85; }
.crow__v--new { color: var(--gold); }

/* ---------- date ---------- */
.dates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 10px;
}
.datecard {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  transition: border-color .25s, transform .25s;
}
.datecard:hover { border-color: rgba(246,196,81,.6); transform: translateY(-2px); }
.datecard__n { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.datecard__d {
  font-family: Anton, Impact, sans-serif;
  font-size: 27px;
  line-height: 1.05;
  margin: 3px 0 1px;
}
.datecard__w { font-size: 11.5px; color: var(--mute); text-transform: capitalize; }
.datecard__t { margin: 11px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.datecard__t li { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: #b9b5ae; }
.datecard__t li b { color: var(--paper); font-weight: 600; font-variant-numeric: tabular-nums; }
.datecard__cut { padding-top: 4px; border-top: 1px dashed rgba(228,20,44,.4); color: #d9a3ab !important; }
.datecard__cut b { color: #ff8a99 !important; }
.chip {
  display: inline-block;
  margin-top: 11px;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid currentColor;
}
.chip--wait { color: var(--mute); }
.chip--open { color: var(--gold); }
.chip--done { color: #6f9e79; }

/* ---------- chiusura ---------- */
.slide--end {
  background:
    radial-gradient(90% 70% at 50% 110%, rgba(228,20,44,.24), transparent 60%),
    radial-gradient(70% 60% at 50% -10%, rgba(246,196,81,.12), transparent 60%),
    var(--ink);
  text-align: center;
}
.slide--end .lede { margin-left: auto; margin-right: auto; }
/* ---------- rimando al filmato ---------- */
.filmlink {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid rgba(246,196,81,.4);
  border-radius: 9px;
  padding: 7px 12px;
  margin-right: 6px;
  transition: background .18s, border-color .18s;
}
.filmlink:hover { background: rgba(246,196,81,.12); border-color: var(--gold); }

.filmrow {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}
.filmcard {
  padding: 16px 18px;
  border: 1px solid rgba(246,196,81,.35);
  border-radius: 16px;
  background: rgba(246,196,81,.06);
  text-align: left;
}
.filmcard__k { margin: 0 0 5px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.filmcard h3 { margin: 0 0 6px; font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.15; }
.filmcard__b { margin: 0 0 12px; font-size: 12.5px; line-height: 1.45; color: var(--mute); }
.filmcard__cta { display: flex; gap: 14px; align-items: center; margin: 0; }
.filmcard__cta .btn { padding: 9px 18px; font-size: 13px; }
.filmcard__dl { font-size: 12.5px; color: var(--mute); }
.filmcard__dl:hover { color: var(--paper); }
.filmcard--b { border-color: var(--line); background: rgba(255,255,255,.02); }
.filmcard--b .filmcard__k { color: var(--mute); }

.heroend { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.heroend .countdown { margin: 0; }
.heroend .btn { padding: 10px 17px; font-size: 13px; }
.heroend .btn em { font-style: normal; opacity: .65; }

.forkclose { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.forkclose .pull { flex: 1; min-width: 320px; margin: 0; }
.forkclose .btn { white-space: nowrap; font-size: 13px; padding: 11px 18px; }
.forkclose .btn em { font-style: normal; opacity: .6; }

@media (max-width: 860px) {
  .filmrow { grid-template-columns: 1fr; }
  .forkclose .btn { width: 100%; text-align: center; }
}

.sources {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.sources ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 3px; }
/* le fonti sono tante: in una colonna sola non entrano nello schermo, e per via
   dello scorrimento a scatti la coda dell'elenco resterebbe irraggiungibile.
   Da desktop il blocco esce dalla colonna di testo e va su più colonne. */
@media (min-width: 900px) {
  /* niente transform per centrarlo: la comparsa in scorrimento usa già il
     transform, e se lo tocchiamo qui il blocco esce dallo schermo a destra */
  .sources {
    width: min(1280px, 92vw);
    margin-left: calc(50% - min(640px, 46vw));
  }
  .sources ul { display: block; column-count: 2; column-gap: 40px; font-size: 10px; line-height: 1.5; }
  .sources li { break-inside: avoid; margin-bottom: 3px; }
}
@media (min-width: 1240px) {
  .sources ul { column-count: 3; }
}

.ticks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 7px; }
.ticks li { position: relative; padding-left: 24px; font-size: 13.5px; color: #c3bfb8; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 3px; top: 6px;
  width: 9px; height: 5px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- comparse ---------- */
.reveal { opacity: 0; transform: translateY(16px); }
.is-live .reveal {
  animation: rise .75s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * .11s);
}
.reveal[data-d="1"] { --d: 1; }
.reveal[data-d="2"] { --d: 2; }
.reveal[data-d="3"] { --d: 3; }
.reveal[data-d="4"] { --d: 4; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- SVG stadio ---------- */
.st-label { font-family: Inter, sans-serif; font-size: 12px; font-weight: 700; fill: #f4f2ee; letter-spacing: .06em; text-transform: uppercase; }
.st-label--sm { font-size: 10px; font-weight: 600; fill: #9b9bad; letter-spacing: .12em; }
.st-zone { transition: opacity .3s, filter .3s; cursor: pointer; }
.stadium.dim .st-zone:not(.is-sel) { opacity: .34; }
.st-areav { opacity: 0; transition: opacity .7s var(--ease); }
.stadium.showv .st-areav { opacity: 1; }
.st-areav-pulse { animation: vglow 2.6s ease-in-out infinite; }
@keyframes vglow { 0%,100% { opacity: .35; } 50% { opacity: .85; } }
.st-runner { opacity: 0; }

/* =========================================================
   Adattamenti
   ========================================================= */
@media (max-width: 1080px) {
  .grid--map, .grid--sim { grid-template-columns: minmax(0, 1fr); }
  .selgrid { grid-template-columns: minmax(0, 1fr); }
  .col--fig { order: -1; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .band { position: static; max-width: 320px; }
  .probs { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .prob b { font-size: 40px; }
  .probgrid { grid-template-columns: minmax(0, 1fr); }
  .closerow { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .fork { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .photo--tall { order: -1; }
  .photo--tall img { max-height: 32vh; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  /* sul telefono le slide sono più alte dello schermo: con l'aggancio,
     anche di prossimità, la coda di una slide lunga resta irraggiungibile */
  .deck { scroll-snap-type: none; }
  .slide { min-height: auto; padding: 88px 0 54px; }
  .slide--hero { min-height: 100svh; }
  .rail { display: none; }
  .simstats { grid-template-columns: minmax(0, 1fr); }
  .photo--wide img { aspect-ratio: 3 / 2; max-height: none; }
  .photo--band img { max-height: none; }
  .statrow { gap: 18px 30px; }
  .crow { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 0; }
  .crow--head { display: none; }
  .crow__v::before { content: attr(data-tag) " · "; color: var(--mute); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
  .scrollhint { display: none; }
  .topbar__title em { display: none; }

  /* Le tele hanno il testo dentro, in scala: se le stringiamo alla larghezza del
     telefono diventa illeggibile. Meglio tenerle grandi e farle scorrere di lato. */
  .figscroll {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .figscroll::-webkit-scrollbar { display: none; }
  .figscroll canvas { min-width: 760px; }
  .figscroll + .fighint { display: block; }
  /* la tela occupa già tutta la larghezza: con margini interni più stretti si
     guadagna un pezzo di scena a ogni lato */
  .figbox, .figbox--wide, .figbox--sel { padding-left: 7px; padding-right: 7px; }
}

.fighint {
  display: none;
  margin: 7px 2px 0;
  font-size: 11.5px;
  color: #6f6f85;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
  .deck { scroll-behavior: auto; }
}
