.ana[data-astro-cid-lcdefpme] {
  position: relative;
  height: 900svh;
  background: var(--notte);
  color: oklch(95% .01 240);
}

.ana__stage[data-astro-cid-lcdefpme] {
  position: sticky;
  top: 72px;
  height: calc(100svh - 72px);
  overflow: hidden;
}

.ana__gl[data-astro-cid-lcdefpme] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.ana__carico[data-astro-cid-lcdefpme] {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  transition: opacity .6s;
}

.ana__carico[data-astro-cid-lcdefpme] span[data-astro-cid-lcdefpme] {
  font-size: 14px;
  color: oklch(80% .02 240);
  padding-bottom: 12px;
  background: linear-gradient(var(--acqua), var(--acqua)) 0 100% / calc(var(--v, 0) * 100%) 2px no-repeat;
}

.ana--pronta .ana__carico[data-astro-cid-lcdefpme] {
  opacity: 0;
}

.ana__testi[data-astro-cid-lcdefpme] {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.ana__testi[data-astro-cid-lcdefpme]:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--notte) 0 calc(max(24px, (100vw - 1200px) / 2) + 300px), transparent calc(max(24px, (100vw - 1200px) / 2) + 620px));
  opacity: .92;
}

@media (width <= 899px) {
  .ana__testi[data-astro-cid-lcdefpme]:before {
    display: none;
  }
}

.ana__cap[data-astro-cid-lcdefpme] {
  position: absolute;
  left: max(24px, 50vw - 600px);
  top: 50%;
  width: min(440px, 40vw);
  translate: 0 -50%;
  opacity: 0;
  transition: opacity .45s, translate .45s;
}

.ana__cap[data-astro-cid-lcdefpme].on {
  opacity: 1;
  pointer-events: auto;
  translate: 0 calc(-50% - 8px);
}

.ana__cap[data-astro-cid-lcdefpme] h1[data-astro-cid-lcdefpme], .ana__cap[data-astro-cid-lcdefpme] h2[data-astro-cid-lcdefpme] {
  font-size: clamp(2.4rem, 4.4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
  color: oklch(97% .008 85);
}

.ana__cap[data-astro-cid-lcdefpme] h2[data-astro-cid-lcdefpme] {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
}

.ana__cap[data-astro-cid-lcdefpme] p[data-astro-cid-lcdefpme] {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: oklch(84% .015 240);
  max-width: 38ch;
}

.ana__az[data-astro-cid-lcdefpme] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 28px;
}

.ana__az[data-astro-cid-lcdefpme] .cd-btn[data-astro-cid-lcdefpme] {
  background: var(--acqua);
  color: var(--notte);
}

.ana__link[data-astro-cid-lcdefpme] {
  color: oklch(95% .01 240);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.ana__passi[data-astro-cid-lcdefpme] {
  position: absolute;
  z-index: 3;
  left: max(24px, 50vw - 600px);
  bottom: 32px;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: oklch(70% .02 240);
  counter-reset: passo;
}

.ana__passo[data-astro-cid-lcdefpme] {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .3s;
}

.ana__passo[data-astro-cid-lcdefpme]:before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid;
  transition: background .3s;
}

.ana__passo[data-astro-cid-lcdefpme]:first-child.on {
  color: var(--fiamma);
}

.ana__passo[data-astro-cid-lcdefpme]:nth-child(2).on {
  color: var(--cura);
}

.ana__passo[data-astro-cid-lcdefpme]:nth-child(3).on {
  color: oklch(72% .14 22);
}

.ana__passo[data-astro-cid-lcdefpme].on:before {
  background: currentColor;
}

.ana__passo[data-astro-cid-lcdefpme].fatto {
  color: oklch(88% .01 240);
}

.ana__passo[data-astro-cid-lcdefpme].fatto:before {
  background: currentColor;
}

.ana__pins[data-astro-cid-lcdefpme] {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.ana__pin[data-astro-cid-lcdefpme] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity .3s;
  display: grid;
  justify-items: start;
  padding-left: 80px;
  translate: -6px -6px;
  white-space: nowrap;
}

.ana__pin[data-astro-cid-lcdefpme].on {
  opacity: 1;
}

.ana__pin[data-astro-cid-lcdefpme]:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid oklch(97% .008 85);
  box-sizing: border-box;
}

.ana__pin[data-astro-cid-lcdefpme]:after {
  content: "";
  position: absolute;
  left: 16px;
  top: 6px;
  width: 56px;
  height: 1px;
  background: oklch(97% .008 85 / .7);
}

.ana__pin[data-astro-cid-lcdefpme] b[data-astro-cid-lcdefpme] {
  font: 600 15px/1.2 var(--font-body);
  color: oklch(97% .008 85);
  margin-top: -4px;
}

.ana__pin[data-astro-cid-lcdefpme] [data-astro-cid-lcdefpme]:is(b, i) {
  background: var(--notte);
  padding: 2px 4px;
}

.ana__pin[data-astro-cid-lcdefpme] b[data-astro-cid-lcdefpme] {
  border-radius: 4px 4px 4px 0;
}

.ana__pin[data-astro-cid-lcdefpme] i[data-astro-cid-lcdefpme] {
  border-radius: 0 4px 4px;
}

.ana__pin--s[data-astro-cid-lcdefpme] b[data-astro-cid-lcdefpme] {
  border-radius: 4px 4px 0;
}

.ana__pin--s[data-astro-cid-lcdefpme] i[data-astro-cid-lcdefpme] {
  border-radius: 4px 0 4px 4px;
}

.ana__pin--l[data-astro-cid-lcdefpme] {
  padding-left: 152px;
}

.ana__pin--l[data-astro-cid-lcdefpme]:after {
  width: 128px;
}

.ana__pin--s[data-astro-cid-lcdefpme].ana__pin--l {
  padding: 0 152px 0 0;
}

.ana__pin[data-astro-cid-lcdefpme] i[data-astro-cid-lcdefpme] {
  font: italic 400 13px/1.3 var(--font-body);
  color: oklch(78% .02 240);
}

.ana__pin--s[data-astro-cid-lcdefpme] {
  padding: 0 80px 0 0;
  text-align: right;
  justify-items: end;
  translate: calc(6px - 100%) -6px;
}

.ana__pin--s[data-astro-cid-lcdefpme]:before {
  left: auto;
  right: 0;
}

.ana__pin--s[data-astro-cid-lcdefpme]:after {
  left: auto;
  right: 16px;
}

.ana--fine .ana__scorri[data-astro-cid-lcdefpme] {
  opacity: 0;
}

.ana__scorri[data-astro-cid-lcdefpme] {
  transition: opacity .3s;
  position: absolute;
  right: max(24px, 50vw - 600px);
  bottom: 32px;
  margin: 0;
  font-size: 14px;
  color: oklch(75% .02 240);
}

.ana--statica {
  height: auto;
}

.ana--statica .ana__stage[data-astro-cid-lcdefpme] {
  position: static;
  height: auto;
  padding-block: 64px;
}

.ana--statica .ana__testi[data-astro-cid-lcdefpme] {
  position: static;
  display: grid;
  gap: 48px;
}

.ana--statica .ana__cap[data-astro-cid-lcdefpme] {
  position: static;
  opacity: 1;
  translate: none;
  width: auto;
  margin-inline: 24px;
}

.ana--statica [data-astro-cid-lcdefpme]:is(.ana__gl, .ana__carico, .ana__pins, .ana__passi, .ana__scorri) {
  display: none;
}

@media (width <= 899px) {
  .ana__cap[data-astro-cid-lcdefpme] {
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 72px;
    width: auto;
    translate: 0;
    padding: 20px 0 0;
  }

  .ana__cap[data-astro-cid-lcdefpme].on {
    translate: 0 -6px;
  }

  .ana__cap[data-astro-cid-lcdefpme]:before {
    content: "";
    position: absolute;
    inset: -80px -16px;
    z-index: -1;
    background: linear-gradient(transparent, var(--notte) 45%);
  }

  .ana__cap[data-astro-cid-lcdefpme] h1[data-astro-cid-lcdefpme], .ana__cap[data-astro-cid-lcdefpme] h2[data-astro-cid-lcdefpme] {
    font-size: clamp(2rem, 8.6vw, 2.6rem);
  }

  .ana__cap[data-astro-cid-lcdefpme] p[data-astro-cid-lcdefpme] {
    font-size: 16px;
    margin-top: 12px;
  }

  .ana__passi[data-astro-cid-lcdefpme] {
    left: 16px;
    bottom: calc(20px + env(safe-area-inset-bottom));
    gap: 16px;
    font-size: 13px;
  }

  .ana__scorri[data-astro-cid-lcdefpme] {
    display: none;
  }

  .ana__pin[data-astro-cid-lcdefpme] b[data-astro-cid-lcdefpme] {
    font-size: 14px;
  }

  .ana__pin[data-astro-cid-lcdefpme], .ana__pin--l[data-astro-cid-lcdefpme] {
    padding-left: 48px;
  }

  .ana__pin[data-astro-cid-lcdefpme]:after, .ana__pin--l[data-astro-cid-lcdefpme]:after {
    width: 24px;
  }

  .ana__pin--s[data-astro-cid-lcdefpme], .ana__pin--s[data-astro-cid-lcdefpme].ana__pin--l {
    padding: 0 48px 0 0;
  }
}

@media (width <= 768px) {
  .ana__passi[data-astro-cid-lcdefpme] {
    bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .ana__cap[data-astro-cid-lcdefpme] {
    bottom: 132px;
  }
}

.zone[data-astro-cid-lcdefpme] {
  padding-block: 112px 96px;
  display: grid;
  grid-template-columns: .9fr 1.4fr;
  gap: 48px 80px;
}

.zone[data-astro-cid-lcdefpme] h2[data-astro-cid-lcdefpme], .visita[data-astro-cid-lcdefpme] h2[data-astro-cid-lcdefpme], .sedi[data-astro-cid-lcdefpme] h2[data-astro-cid-lcdefpme], .chi[data-astro-cid-lcdefpme] h2[data-astro-cid-lcdefpme] {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.zone__head[data-astro-cid-lcdefpme] p[data-astro-cid-lcdefpme] {
  color: var(--ink-soft);
  margin-top: 16px;
}

.zone__head[data-astro-cid-lcdefpme] a[data-astro-cid-lcdefpme], .visita__head[data-astro-cid-lcdefpme] a[data-astro-cid-lcdefpme], .chi__link[data-astro-cid-lcdefpme] {
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.zone__list[data-astro-cid-lcdefpme] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.zone__list[data-astro-cid-lcdefpme] li[data-astro-cid-lcdefpme] {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.zone__list[data-astro-cid-lcdefpme] li[data-astro-cid-lcdefpme]:nth-child(-n+3) {
  border-top: 2px solid var(--dolore);
}

.zone__list[data-astro-cid-lcdefpme] h3[data-astro-cid-lcdefpme] {
  font-size: 26px;
  line-height: 1.1;
}

.zone__list[data-astro-cid-lcdefpme] p[data-astro-cid-lcdefpme] {
  color: var(--ink-soft);
  margin: 10px 0 0;
  font-size: 16px;
}

.chi[data-astro-cid-lcdefpme] {
  background: var(--surface);
  padding-block: 96px;
}

.chi__in[data-astro-cid-lcdefpme] {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.chi__foto[data-astro-cid-lcdefpme] {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.chi__txt[data-astro-cid-lcdefpme] p[data-astro-cid-lcdefpme] {
  max-width: 58ch;
}

.chi__albo[data-astro-cid-lcdefpme] {
  color: var(--ink-soft);
  font-size: 15px;
}

.visita[data-astro-cid-lcdefpme] {
  padding-block: 112px 96px;
  display: grid;
  grid-template-columns: .9fr 1.4fr;
  gap: 48px 80px;
  align-items: start;
}

.visita__head[data-astro-cid-lcdefpme] p[data-astro-cid-lcdefpme] {
  color: var(--ink-soft);
}

.sedi[data-astro-cid-lcdefpme] {
  padding-block: 32px 112px;
}

.sedi[data-astro-cid-lcdefpme] ul[data-astro-cid-lcdefpme] {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.sedi[data-astro-cid-lcdefpme] li[data-astro-cid-lcdefpme] {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.sedi[data-astro-cid-lcdefpme] h3[data-astro-cid-lcdefpme] {
  font-size: 26px;
}

.sedi[data-astro-cid-lcdefpme] p[data-astro-cid-lcdefpme] {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
}

@media (width <= 900px) {
  .zone[data-astro-cid-lcdefpme], .visita[data-astro-cid-lcdefpme] {
    grid-template-columns: 1fr;
    padding-block: 80px 64px;
  }

  .zone__list[data-astro-cid-lcdefpme] {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .chi__in[data-astro-cid-lcdefpme] {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .chi__foto[data-astro-cid-lcdefpme] {
    max-width: 360px;
  }

  .sedi[data-astro-cid-lcdefpme] ul[data-astro-cid-lcdefpme] {
    grid-template-columns: 1fr 1fr;
  }
}
