
/* ======================= PAGINA CRONOLOGIA (Racconto) ======================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ph-head { padding: 72px 0 56px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.ph-head h1 { font-size: clamp(52px, 6.6vw, 104px); font-weight: 800; font-stretch: 125%; letter-spacing: -.035em; line-height: .9; }
.ph-head h1 span { color: var(--green); }
.ph-head .lead { font-size: 19px; color: var(--ink-2); max-width: 56ch; margin-top: 22px; }
.go { font-size: 15px; font-weight: 700; color: var(--green); text-decoration: none; }
.go:hover { text-decoration: underline; }
.pl { display: block; font-size: 13px; font-weight: 700; font-stretch: 80%; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.empty { display: grid; place-items: center; width: 100%; height: 100%; color: var(--muted); font-size: 14px; background: var(--paper-2); }

/* racconto a scorrimento: la data resta ferma, gli eventi scorrono */
.ce { padding: 72px 0 110px; }
.story { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.pin { position: sticky; top: 130px; }
.pin .phase { display: block; font-size: 15px; font-weight: 700; color: var(--green-pale); letter-spacing: .02em; }
.pin .big { font-size: clamp(48px, 5.6vw, 88px); font-weight: 800; font-stretch: 118%; letter-spacing: -.035em; line-height: .95; margin: 12px 0 26px; transition: opacity .25s; }
.pin .prog { height: 4px; background: var(--black-2); }
.pin .prog i { display: block; height: 100%; width: 0; background: var(--green-2); transition: width .4s cubic-bezier(.23,1,.32,1); }
.pin .of { display: block; margin-top: 10px; font-size: 14px; color: var(--on-black-2); }
.steps { list-style: none; margin: 0; display: flex; flex-direction: column; gap: 22vh; padding: 6vh 0 20vh; }
.step { opacity: .35; transition: opacity .4s; }
.step.on { opacity: 1; }
.step figure { aspect-ratio: 16 / 10; overflow: hidden; background: var(--black-2); }
.step figure img { width: 100%; height: 100%; object-fit: cover; }
.step .tx { padding-top: 18px; }
.step .pl { color: var(--on-black-2); }
.step h2 { font-size: 28px; font-weight: 700; font-stretch: 106%; line-height: 1.15; margin: 6px 0 8px; }
.step p { font-size: 17px; color: #d6d5cb; margin-bottom: 12px; max-width: 54ch; }
.ce .go { color: var(--green-pale); }
.ce .prep { color: var(--on-black-2); }
.ce .empty { background: var(--black-2); color: var(--on-black-2); }

@media (max-width: 1020px) {
  .story { grid-template-columns: 1fr; gap: 24px; }
  .pin { position: sticky; top: 76px; z-index: 5; background: var(--black); padding: 14px 0 12px; }
  .pin .big { font-size: 9vw; margin: 4px 0 12px; }
  .steps { gap: 14vh; padding-top: 2vh; }
  .step { opacity: 1; }
}
@media (max-width: 640px) {
  .ph-head { padding: 44px 0 40px; }
  .ph-head h1 { font-size: 13vw; }
  .step h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .step { opacity: 1; } }
