body {
  background-image: linear-gradient(135deg, #263f40, #1b3031 58%, #294547);
}

.site-header .wordmark b,
footer .wordmark b {
  font: 8px 'DM Mono', monospace;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--accent);
}

/* Le frecce delle date restano leggere come il link Linktree. */
.date-item > a:last-child {
  color: var(--accent);
  font: 18px 'DM Mono', monospace;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1;
}

/* Frecce testuali: mai rese come emoji dal telefono. */
.mobile-link-arrow {
  color: #142829;
  font-family: 'DM Mono', monospace;
  font-style: normal;
}

.date-item .mobile-link-arrow {
  color: var(--accent);
  font-size: 18px;
}

.bio-copy .mobile-link-arrow {
  display: none !important;
}

@media (max-width: 720px) {
  .mobile-link-arrow {
    display: none !important;
  }

  .date-item .mobile-link-arrow {
    display: inline !important;
  }
}

.hero-visual {
  background-image: linear-gradient(132deg, #466260, #243a3b 56%, #314b4c);
}

.media {
  background-image: linear-gradient(135deg, #254142, #1c3435);
}


.media-card,
.placeholder-media {
  background-image: linear-gradient(145deg, #536d6a, #294344);
}

.video-card {
  padding: 0;
  background: #101c1d;
}

.video-card iframe {
  width: 100%;
  height: 100%;
  min-height: 355px;
  border: 0;
}

.media-grid .video-card {
  grid-column: 1 / -1;
}

.instagram-card {
  padding: 0;
  background: #f7f5f1;
}

.instagram-card iframe {
  width: 100%;
  height: calc(100% - 38px);
  min-height: 315px;
  border: 0;
}

.instagram-card a {
  display: block;
  padding: 10px 12px;
  color: #1d3334;
  font: 9px 'DM Mono';
  letter-spacing: .6px;
  text-transform: uppercase;
}

.statement,
.epk {
  background-image: linear-gradient(135deg, #edeae3, #e3e2da);
}

.bandcamp {
  background: #f08da9;
}

.listen-card {
  margin-top: 64px;
}

.listen-card .listen-links {
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.listen-card .listen-links a {
  font-size: 20px;
  font-weight: 500;
}

.listen-card .listen-links .spotify-link {
  font-size: 34px;
  letter-spacing: -.04em;
}

.listen-card .listen-links i {
  font-style: normal;
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 64px;
}

.release-cover {
  display: block;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f7f4f0;
}

.release-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.release-cover span {
  position: absolute;
  right: 12px;
  bottom: 11px;
  color: var(--paper);
  font: 10px 'DM Mono', monospace;
  letter-spacing: .7px;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .8);
}

.release-cover i {
  color: var(--accent);
  font-style: normal;
}

.release-cover:hover img {
  transform: scale(1.035);
}

.project-videos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.project-video {
  min-height: 230px;
}

.hero-visual {
  isolation: isolate;
  width: 100%;
  background: transparent;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  z-index: 0;
  opacity: .92;
  filter: saturate(.88) contrast(1.02);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .14) 24%, rgba(0, 0, 0, .68) 51%, #000 74%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .14) 24%, rgba(0, 0, 0, .68) 51%, #000 74%);
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(20, 38, 39, .08) 38%, rgba(20, 38, 39, .38) 100%);
  pointer-events: none;
}

.hero-visual > p {
  z-index: 1;
}

.hero-visual > .hero-credit {
  position: absolute;
  right: 2.5%;
  bottom: 2.5%;
  margin: 0;
  color: var(--muted);
  font: 9px 'DM Mono', monospace;
  line-height: 1;
  letter-spacing: 1.4px;
}

main {
  display: flex;
  flex-direction: column;
}

.hero { order: 1; }
.statement { order: 2; }
.media { order: 3; }
.dates { order: 4; }
.contact { order: 5; }

.hero-copy {
  transform: translateY(-52px);
}

.header-actions,
.top-socials {
  display: flex;
  align-items: center;
}

.site-header {
  background: #263f40;
  border-bottom: 1px solid rgba(233, 230, 223, .14);
}

.header-actions {
  gap: 20px;
}

.top-socials {
  gap: 10px;
  font: 9px 'DM Mono';
  letter-spacing: .8px;
}

.top-socials a {
  color: var(--accent);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  color: var(--paper);
  opacity: .88;
  transition: color .2s ease, opacity .2s ease;
}

.instagram-link:hover {
  color: var(--accent);
  opacity: 1;
}

.instagram-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.contact-social-links {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 22px;
  font: 10px 'DM Mono', monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--deep);
}

.contact-social-links .social-placeholder {
  display: inline-flex;
  align-items: center;
  color: var(--deep);
  opacity: .42;
}

.contact-social-links svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(233, 230, 223, .3);
  font: 10px 'DM Mono';
  letter-spacing: .7px;
  cursor: pointer;
}

.language-toggle span { font-size: 14px; }

/* Più spazio tra lo stacco di colore e l'inizio della sezione Bio. */
.statement {
  padding-top: 175px;
  padding-left: 8%;
  padding-right: 8%;
  position: relative;
  overflow: hidden;
  background: #e9e6df;
}

.bio-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: .36;
  filter: saturate(.72) contrast(.92);
}

.bio-still {
  background: center / cover no-repeat url("assets/epk-background-playing.png");
}

.statement::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(233, 230, 223, .75);
}

.statement > :not(.bio-video) {
  position: relative;
  z-index: 1;
}

/* Bio senza immagine o video di sfondo. */
.statement .bio-video,
.statement .bio-still,
.statement::before {
  display: none;
}


.epk {
  padding-left: 8%;
  padding-right: 8%;
}

.media {
  padding-left: 8%;
  padding-right: 8%;
}

.media-top {
  display: block;
}

.media-top h2 {
  text-align: left;
}

.press-quotes {
  margin: 46px 0 62px;
  max-width: 880px;
  border-top: 1px solid rgba(20, 40, 41, .22);
  padding-top: 17px;
}

.press-quotes-label {
  margin: 0 0 20px;
  color: #657876;
  font: 10px 'DM Mono', monospace;
  letter-spacing: 1.2px;
}

.press-quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.epk-bio .bio-copy {
  max-width: 780px;
  margin-top: 42px;
}

.epk-bio .bio-copy p {
  margin-bottom: 1.45em;
}

.press-quote {
  margin: 0;
  padding: 20px;
  background: rgba(20, 40, 41, .055);
  border-left: 2px solid var(--accent);
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.press-quote.featured {
  grid-column: span 2;
  min-height: 126px;
  background: var(--deep);
  color: var(--paper);
}

.press-quote p {
  margin: 0 0 14px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.08;
}

.press-quote:not(.featured) p {
  font-size: clamp(17px, 1.45vw, 22px);
}

.press-quote cite {
  color: #657876;
  font: 9px 'DM Mono', monospace;
  font-style: normal;
  letter-spacing: .65px;
  text-transform: uppercase;
}

.press-quote.featured cite { color: #b6c3bd; }
.press-quote cite a { border-bottom: 1px solid var(--accent); }

.bio-copy {
  max-width: 680px;
  margin-top: 36px;
  color: #445451;
  font-size: 15px;
  line-height: 1.8;
}

.bio-summary {
  max-width: 680px;
  margin-top: 36px;
  color: #445451;
  font-size: 16px;
  line-height: 1.85;
}

.bio-summary p { margin: 0 0 1.35em; }

.bio-copy p {
  margin: 0 0 1.4em;
}

.bio-copy {
  display: none;
}

.bio-copy.expanded {
  display: block;
}

.bio-toggle {
  margin-top: 12px;
  padding: 0 0 9px;
  border: 0;
  border-bottom: 1px solid var(--accent);
  background: transparent;
  color: #a24e68;
  cursor: pointer;
  font: 11px 'DM Mono', monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.bio-link {
  color: #a24e68;
  border-bottom: 1px solid currentColor;
}

.bio-link em {
  font-style: italic;
}

.photo-archive {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 180px;
  gap: 10px;
  margin-top: 12px;
}

.gallery-item {
  display: block;
  overflow: hidden;
  background: #183031;
}

.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

/* Composizione desktop: ogni immagine ha una posizione precisa, senza vuoti. */
.photo-archive .gallery-item:nth-child(1) { grid-column: 1 / span 2; grid-row: 1; }
.photo-archive .gallery-item:nth-child(2) { grid-column: 3; grid-row: 1 / span 2; }
.photo-archive .gallery-item:nth-child(3) { grid-column: 4; grid-row: 1 / span 2; }
.photo-archive .gallery-item:nth-child(4) { grid-column: 1 / span 2; grid-row: 2; }
.photo-archive .gallery-item:nth-child(5) { grid-column: 5; grid-row: 1; }
.photo-archive .gallery-item:nth-child(6) { grid-column: 5; grid-row: 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

@media (max-width: 720px) {
  .press-quotes { margin: 34px 0 48px; }
  .press-quotes-grid { grid-template-columns: 1fr; }
  .press-quote.featured { grid-column: auto; min-height: 0; }
  .press-quote { min-height: 0; padding: 18px; }
  .press-quote p, .press-quote:not(.featured) p { font-size: 21px; }
  .hero-visual {
    width: 100%;
  }

  .language-toggle { margin-left: 4px; }
  .photo-archive {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }

  .photo-archive .gallery-item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .release-grid {
    grid-template-columns: 1fr;
  }

  .project-videos {
    grid-template-columns: 1fr;
  }

  .release-cover {
    aspect-ratio: 1;
  }
}

.epk-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
  margin-top: 88px;
}

.epk {
  position: relative;
  overflow: hidden;
  background-color: #e9e6df;
  background-image:
    linear-gradient(90deg, rgba(233, 230, 223, .98) 0%, rgba(233, 230, 223, .93) 42%, rgba(233, 230, 223, .74) 100%),
    url("assets/epk-background-playing.png");
  background-position: center, center 52%;
  background-size: cover, cover;
}

.contact-main .socials {
  margin-top: 36px;
}

.date-item .date-event-link {
  display: block;
  color: inherit;
  font-size: inherit;
  text-align: left;
}

.contact {
  background: #e9e6df;
  color: #142829;
}

.contact .section-number,
.contact-main > p {
  color: #657876;
}

.contact .socials,
.contact .socials a {
  border-color: rgba(20, 40, 41, .25);
}

@media (min-width: 721px) {
  .epk {
    padding-top: 105px;
    padding-bottom: 105px;
  }
}

.epk-button {
  min-height: 76px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #9eaaa6;
  font: 11px 'DM Mono';
  letter-spacing: .5px;
  text-transform: uppercase;
}

.epk-button small {
  color: #647773;
  font-size: 8px;
}

@media (max-width: 720px) {
  .hero-copy {
    transform: none;
  }

  .header-actions {
    gap: 12px;
  }

  .statement {
    padding-top: 105px;
    padding-left: 7%;
    padding-right: 7%;
  }

  .epk {
    padding-left: 7%;
    padding-right: 7%;
  }

  .epk-links {
    grid-template-columns: 1fr;
  }

  .media {
    padding-left: 6%;
    padding-right: 6%;
  }


  .video-card iframe {
    min-height: 240px;
  }

  .instagram-card iframe {
    min-height: 202px;
  }
}
