/* =========================================================
   COLORI E CARATTERI (presi dal sito Wix originale)
   Cambiando questi valori cambia tutto il sito.
   ========================================================= */
:root {
  --dark: #202020;        /* intestazione, testi, piè di pagina */
  --hero-bg: #333333;     /* sfondo dell'intestazione grande se il video non carica */
  --gray: #EDEBEB;        /* riquadri grigi delle schede */
  --coral: #FA6254;       /* voce di menu attiva, pulsante, barra finale */
  --orange: #F78550;      /* scritta scorrevole DROP THE BASS */
  --video-blue: #35465C;  /* segnaposto delle copertine video */
  --title: Georgia, Palatino, "Book Antiqua", "Palatino Linotype", serif;
  --body: "Noto Serif", Georgia, serif;
  --brand: "Work Sans", sans-serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 75px; }
body { margin: 0; background: #fff; color: var(--dark); font-family: var(--title); }
img { max-width: 100%; }
h2 { font-family: var(--title); font-weight: 700; font-size: clamp(2.1rem, 5vw, 3.5rem); text-align: center; margin: 0; line-height: 1.2; }

/* ===== Intestazione ===== */
.topbar { position: sticky; top: 0; z-index: 20; height: 75px; display: flex; align-items: center;
  padding: 0 3.6vw 0 4.3vw; background: var(--dark); }
.brand { display: flex; align-items: center; gap: 22px; color: #fff; text-decoration: none;
  font-family: var(--brand); font-weight: 600; font-size: 18px; letter-spacing: 2.7px; }
.brand-logo { width: 38px; height: 50px; }
.menu { display: flex; gap: 34px; margin-left: auto; margin-right: 40px; }
.menu a { color: #fff; text-decoration: none; font-size: 16px; }
.menu a:hover, .menu a.active { color: var(--coral); }
.social-top { display: flex; gap: 15px; }
.social-top img { display: block; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer; }

@media (max-width: 1000px) {
  .menu-toggle { display: block; }
  .social-top { margin-left: 16px; }
  .menu { display: none; position: absolute; top: 75px; left: 0; right: 0; margin: 0; flex-direction: column; gap: 0; background: var(--dark); }
  .menu.open { display: flex; }
  .menu a { padding: 14px 24px; border-top: 1px solid #333; }
}
@media (max-width: 480px) { .brand span { font-size: 15px; letter-spacing: 1.5px; } .social-top { display: none; } }

/* ===== Hero con video e bordo curvo ===== */
.hero { position: relative; height: min(817px, 64vw); min-height: 420px; background: var(--hero-bg); overflow: hidden;
  border-bottom-left-radius: 50% 23%; border-bottom-right-radius: 50% 23%; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background: linear-gradient(transparent, #000); }
.hero-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 3%; text-align: center; color: #fff; }
.hero-text h1 { margin: 0; font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1.1; text-shadow: 0 2px 6px rgba(0,0,0,.5); }
.subtitle { margin: .3rem 0 0; font-weight: 700; font-size: clamp(1.1rem, 2.1vw, 1.7rem); line-height: 1.2; text-shadow: 0 2px 4px rgba(0,0,0,.6); }

/* ===== Bio ===== */
.bio { max-width: 535px; margin: 0 auto; padding: 10px 24px 8px; }
.bio-text { font-family: var(--body); font-size: 14px; line-height: 1.6; max-height: 360px; overflow: hidden; position: relative; }
.bio-text p { margin: 1em 0; }
.bio-text:not(.open)::after { content: "…"; position: absolute; right: 0; bottom: 0; background: #fff; padding-left: 4px; }
.bio-text.open { max-height: none; }
.bio-text.open::after { display: none; }
.read-more { background: none; border: 0; padding: 0; margin: 6px 0 8px; font-family: var(--body); font-size: 14px; text-decoration: underline; cursor: pointer; color: #000; }
.bio-img { display: block; width: 100%; height: auto; }

/* ===== Loghi scorrevoli ===== */
.logo-slider { position: relative; max-width: 980px; margin: 8px auto 0; }
.logo-track { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.logo-track::-webkit-scrollbar { display: none; }
.logo-track img { height: 85px; width: auto; flex: none; display: block; }
.slide-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px;
  border: 0; background: rgba(255,255,255,.75); font-size: 30px; line-height: 1; cursor: pointer; color: #000; }
.slide-btn.prev { left: 24px; } .slide-btn.next { right: 24px; }

/* ===== Scritta scorrevole ===== */
.marquee { overflow: hidden; white-space: nowrap; padding: 4px 0; }
.marquee-inner { display: inline-flex; align-items: center; gap: 28px; animation: scroll 22s linear infinite; }
.marquee span { font-family: var(--sans); font-weight: 800; font-size: clamp(3rem, 6.7vw, 86px); color: var(--orange); line-height: 1.1; }
.marquee img { height: clamp(52px, 6.9vw, 88px); width: auto; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-inner { animation: none; } }

/* ===== Drop the Bass, the series ===== */
.series { position: relative; background: #000 center / cover no-repeat; min-height: 516px; display: grid; place-items: center; }
.series::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.series-content { position: relative; text-align: center; color: #fff; padding: 60px 20px; width: 100%; }
.series h3 { font-size: clamp(2.2rem, 5.6vw, 72px); margin: 0 0 28px; }
.play-link { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; color: #fff; cursor: pointer; font-family: var(--title); font-size: 18px; }
.play-circle { display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid #fff; border-radius: 50%; font-size: 14px; padding-left: 3px; }
.underline { border-bottom: 1px solid #fff; padding-bottom: 2px; }
.all-videos { display: block; width: fit-content; margin: 120px auto 0; padding: 12px 24px; border: 1px solid #fff; color: #fff; text-decoration: none; font-size: 16px; }
.all-videos span { font-size: 24px; margin-left: 10px; vertical-align: -2px; }
.series-content iframe { width: min(960px, 100%); aspect-ratio: 16/9; border: 0; display: block; margin: 0 auto; }

/* ===== Griglia video ===== */
.videos { max-width: 1152px; margin: 0 auto; padding: 44px 20px 80px; }
.videos-label { font-family: var(--sans); font-size: 14px; margin: 0 0 18px 16px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
.vcard h4, .vcard p { font-family: var(--sans); margin: 0 20px; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.vcard h4 { font-size: 18px; line-height: 22px; margin-top: 24px; -webkit-line-clamp: 2; }
.vcard p { font-size: 14px; line-height: 17px; margin-top: 12px; -webkit-line-clamp: 2; }
.yt { position: relative; aspect-ratio: 16/9; background: var(--video-blue) center / cover no-repeat; cursor: pointer; }
.yt::before { content: "▶"; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px;
  display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 16px; padding-left: 3px; }
.dur { position: absolute; right: 12px; bottom: 10px; color: #fff; font-family: var(--sans); font-size: 12px; text-shadow: 0 0 3px #000; }
.yt.playing::before, .yt.playing .dur { display: none; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }

/* ===== Blocchi con schede (discografia, collabs, friends, produzioni) ===== */
.block { padding-top: 30px; }
.block-sub { text-align: center; font-size: 16px; margin: 6px 0 8px; }
.gray { max-width: 1200px; margin: 18px auto 0; background: var(--gray); padding: 40px 24px 90px; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 287px)); column-gap: 39px; row-gap: 32px; justify-content: center; padding-right: 18px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 287px)); }
.card { position: relative; display: block; color: var(--dark); text-decoration: none; padding-bottom: 50px; }
.card img { display: block; width: 100%; height: auto; aspect-ratio: 287 / 323; object-fit: cover; }
.caption { position: absolute; left: 17%; right: -18px; bottom: 0; background: #fff; padding: 12px 12px 14px; }
.caption strong { display: block; font-size: 20px; line-height: 1.3; }
.caption span { display: block; font-size: 16px; margin-top: 4px; padding-left: 3px; }
a.card:hover img { opacity: .9; }
@media (max-width: 1000px) { .cards, .cards-3 { grid-template-columns: repeat(2, minmax(0, 287px)); column-gap: 24px; } .caption strong { font-size: 18px; } }
@media (max-width: 600px) { .cards, .cards-3 { grid-template-columns: minmax(0, 287px); } .caption { left: 30px; } }

/* ===== Corso ===== */
.course { display: grid; grid-template-columns: 427px 1fr; column-gap: 127px; max-width: 1240px; margin-top: 0; }
.course-img { min-height: 350px; background: center / cover no-repeat; }
.course-text { padding: 30px 40px 20px 0; max-width: 610px; }
.course-text h2 { text-align: left; }
.course-sub { font-family: var(--brand); font-weight: 600; font-size: 26px; margin: 0 0 0 2px; }
.course-text hr { width: 60px; margin: 12px 0 18px 4px; border: 0; border-top: 1px solid var(--dark); }
.course-text p:not(.course-sub) { font-size: 16px; line-height: 1.8; margin: 0 0 22px 3px; }
.button { display: inline-block; width: 130px; padding: 12px 0; text-align: center; background: var(--coral); color: #fff;
  text-decoration: none; font-family: var(--sans); font-size: 14px; }
.button:hover { background: #e2554a; }
@media (max-width: 900px) {
  .course { grid-template-columns: 1fr; }
  .course-img { min-height: 260px; }
  .course-text { padding: 30px 24px; }
}

/* ===== Contatti ===== */
.contacts { width: fit-content; margin: 0 auto; padding: 40px 24px 70px; }
.contacts h2 { text-align: left; }
.mail { display: flex; align-items: center; gap: 41px; font-size: 16px; margin: 22px 0 18px; }
.mail a { color: var(--dark); text-decoration: none; }
.social { display: flex; gap: 10px; }
.social img { display: block; }

/* ===== Piè di pagina ===== */
.footer-dark { background: var(--dark); height: 300px; }
.footer-bar { background: var(--coral); text-align: center; font-size: 13px; padding: 15px 10px; }
@media (max-width: 680px) { .footer-dark { height: 80px; } }
