:root {
  color-scheme: light;
  font: 100%/1.6 system-ui, sans-serif;
  color: #142e49;
  background: #eaf7ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(155deg, #def3ff 8%, #bae4fb 50%, #eaf7ff 100%);
}

.contenitore {
  width: min(68rem, calc(100% - clamp(2rem, 8vw, 7rem)));
  margin-inline: auto;
}

.barra { border-bottom: 1px solid #729ab6; }

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
  list-style: none;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  font-weight: 650;
}

a {
  color: #174c73;
  text-underline-offset: .2em;
  text-decoration-thickness: .08em;
}

a:focus-visible {
  outline: 3px solid #142e49;
  outline-offset: 3px;
  background: #fff;
}

.salta {
  position: absolute;
  top: .5rem;
  left: .5rem;
  padding: .5rem 1rem;
  background: #fff;
  z-index: 1;
}

.salta:not(:focus) {
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.introduzione { padding-block: clamp(3rem, 9vw, 7rem) clamp(2rem, 6vw, 4.5rem); }

h1, h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 6.75rem);
  line-height: 1.03;
  letter-spacing: -.045em;
}

h1 span { color: #1b5076; }

p {
  max-width: 66ch;
  margin: .75rem 0 0;
  overflow-wrap: anywhere;
}

.ruoli {
  margin-top: 1.25rem;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

.riquadri {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.riquadro {
  padding: clamp(1.25rem, 5vw, 2.5rem);
  border: 1px solid #729ab6;
  border-radius: .9rem;
  background: #fff;
  scroll-margin-top: 1rem;
}

.musica { grid-column: 1 / -1; }

.profili {
  margin: 1rem 0 0;
  padding-inline-start: 1.3rem;
}

.profili li + li { margin-block-start: .35rem; }

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.15;
}

@media (max-width: 42rem) {
  nav ul { justify-content: flex-start; }
  .riquadri { grid-template-columns: minmax(0, 1fr); }
}
