@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #f4f2ed;
  --black: #111111;
  --green: #3a5240;
  --green-light: #5a7a62;
  --grey: #888;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', sans-serif;
}

html {
  scroll-behavior: auto;
}

body {
  background: var(--cream);
  color: var(--black);
  font-family: var(--font-sans);
  font-weight: 300;
  overflow-x: hidden;
}

/* ─── INTRO SCROLL SECTION ─── */

#intro-scroll {
  position: relative;
  height: 600vh;
}

#intro-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #0a0e0b;
}

#intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

#intro-video::-webkit-media-controls { display: none !important; }
#intro-video::-webkit-media-controls-panel { display: none !important; }
#intro-video::-webkit-media-controls-play-button { display: none !important; }
#intro-video::-webkit-media-controls-start-playback-button { display: none !important; }

#intro-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: none;
}

#intro-logo img {
  width: clamp(200px, 30vw, 420px);
  filter: brightness(0) invert(1);
}

#scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 1;
  transition: opacity 0.4s ease;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

#scroll-hint .arrow {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}

#scroll-hint .arrow::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.9);
  animation: scrollArrow 1.8s ease-in-out infinite;
}

@keyframes scrollArrow {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ─── FEATURED BANNER ─── */

#featured-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

#featured-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

#featured-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 201;
  min-height: 88vh;
  background: linear-gradient(150deg, #2a4a30 0%, #1a2e1e 40%, #0a0d0b 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 48px 50px;
  overflow: hidden;
  transform: translateY(-100%);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

#featured-banner.visible {
  transform: translateY(0);
}

#featured-banner.hidden {
  display: none;
}

#featured-banner.minimized {
  min-height: 0;
  height: 36px;
  top: var(--navbar-height, 108px);
  padding: 0 32px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

body.on-video #featured-banner.minimized {
  background: transparent;
  box-shadow: none;
}

#featured-banner.minimized > *:not(#featured-mini-bar) {
  display: none;
}

#featured-mini-bar {
  display: none;
  align-items: center;
  gap: 10px;
  color: rgba(244,242,237,0.7);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}

#featured-banner.minimized #featured-mini-bar {
  display: flex;
}

#featured-close {
  position: absolute;
  top: 28px;
  right: 32px;
  background: none;
  border: none;
  color: rgba(244,242,237,0.5);
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s;
  z-index: 10;
}

#featured-close:hover { color: var(--cream); }

.featured-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 48px;
}

.featured-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(244,242,237,0.5);
}

.featured-mese {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244,242,237,0.3);
}

.featured-slider {
  position: relative;
  overflow: hidden;
}

.featured-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 0 60px;
}

.featured-text {
  color: var(--cream);
}

.featured-tipo {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,242,237,0.4);
  margin-bottom: 16px;
}

.featured-artist {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 5rem);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 8px;
}

.featured-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(244,242,237,0.7);
  margin-bottom: 12px;
}

.featured-lavoro {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244,242,237,0.35);
  margin-bottom: 28px;
}

.featured-desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(244,242,237,0.6);
  max-width: 480px;
  margin-bottom: 36px;
}

.featured-spotify {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(244,242,237,0.3);
  padding: 12px 24px;
  border-radius: 40px;
  transition: background 0.3s, border-color 0.3s;
}

.featured-spotify:hover {
  background: rgba(244,242,237,0.1);
  border-color: rgba(244,242,237,0.7);
}

.featured-spotify svg { opacity: 0.7; }

.featured-cover {
  position: relative;
}

.featured-cover img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  margin: 0 auto;
}

.featured-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(244,242,237,0.1);
  border: 1px solid rgba(244,242,237,0.2);
  color: var(--cream);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 5;
}

.featured-btn:hover { background: rgba(244,242,237,0.2); }
.featured-prev { left: 0; }
.featured-next { right: 0; }

.featured-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.featured-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(244,242,237,0.25);
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}

.featured-dot.active {
  background: var(--cream);
  transform: scale(1.3);
}

@media (max-width: 900px) {
  .featured-slide {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 40px;
  }
  .featured-cover img { max-width: 280px; }
  #featured-banner { padding: 80px 24px 60px; }
}

/* ─── NAVBAR ─── */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 103;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
  background: rgba(244, 242, 237, 0.95);
  backdrop-filter: blur(8px);
  padding: 16px 48px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

#navbar.on-video {
  background: transparent;
}

.nav-logo img {
  height: 72px;
  width: auto;
}

.nav-logo img.dark { display: block; }
.nav-logo img.light { display: none; }

#navbar.on-video .nav-logo img.dark { display: none; }
#navbar.on-video .nav-logo img.light { display: block; }

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

nav ul li a {
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  transition: opacity 0.2s;
}

nav ul li a:hover { opacity: 0.5; }

#navbar.on-video nav ul li a { color: rgba(255,255,255,0.85); }

/* HAMBURGER */
#menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 102;
}

#menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s;
  transform-origin: center;
}

#navbar.scrolled #menu-toggle span,
#navbar:not(.on-video) #menu-toggle span {
  background: var(--black);
}

#menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#menu-toggle.open span:nth-child(2) { opacity: 0; }
#menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* MENU MOBILE OVERLAY */
#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 101;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#mobile-menu.open {
  opacity: 1;
}

#mobile-menu ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

#mobile-menu ul li a {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 300;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

#mobile-menu ul li a:hover { opacity: 0.5; }

/* ─── HOME PAGE ─── */

#home {
  background: var(--cream);
}

/* HERO STATEMENT */
.hero-statement {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.hero-text-center {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 48px 80px;
  width: 100%;
}

.hero-text {
  display: flex;
  align-items: center;
  padding: 80px 48px;
}

.hero-statement h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(3.5rem, 7vw, 9rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.hero-statement h1 em {
  font-style: italic;
  color: var(--green);
}

.hero-image-full {
  width: 100%;
  overflow: hidden;
}

.hero-image-full img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  display: block;
  filter: grayscale(15%);
}

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%);
}

/* SECTION BASE */
section {
  padding: 80px 48px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--grey);
}

/* LO STUDIO */
#studio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

#studio .studio-text {
  grid-column: 1;
}

#studio .studio-image {
  grid-column: 2;
  grid-row: 1 / 3;
}

/* STUDIO SLIDER */
.studio-slider {
  grid-column: 2;
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
  pointer-events: none;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s;
  opacity: 0;
  z-index: 2;
}

.studio-slider:hover .slider-btn { opacity: 1; }
.slider-btn:hover { background: #fff; }
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }

.slider-counter {
  display: none;
}

.studio-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 32px;
}

.studio-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  max-width: 480px;
}

/* PRODUZIONI */
#produzioni {
  background: var(--black);
  color: var(--cream);
}

#produzioni .section-label { color: rgba(244,242,237,0.4); }
#produzioni .section-label::after { background: rgba(244,242,237,0.4); }

.produzioni-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  margin-top: 0;
}

.produzione-item {
  padding: 48px 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  transition: background 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.produzione-item:hover {
  background: rgba(255,255,255,0.06);
}

.produzione-item .num {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

.produzione-item h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 16px;
  line-height: 1.2;
}

.produzione-item p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  flex: 1;
}

.produzione-cta {
  display: inline-block;
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s ease;
}

.produzione-item:hover .produzione-cta {
  color: rgba(255,255,255,0.8);
}

/* MODAL PRODUZIONI */
#produzione-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

#produzione-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

#produzione-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.97);
  z-index: 401;
  width: min(760px, 92vw);
  max-height: 88vh;
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 48px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

#produzione-modal.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

#produzione-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s;
  z-index: 10;
}

#produzione-close:hover { color: rgba(255,255,255,0.9); }

.pmodal-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 36px;
}

.pmodal-num {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25);
  padding-top: 6px;
  flex-shrink: 0;
}

.pmodal-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 12px;
}

.pmodal-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
}

.pmodal-embed {
  border-radius: 4px;
  overflow: hidden;
}

.pmodal-embed iframe {
  display: block;
  width: 100%;
  border: none;
  border-radius: 4px;
}

.pmodal-coming-soon {
  padding: 48px 0;
  text-align: center;
  color: rgba(255,255,255,0.25);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* LAVORI / GALLERY INFINITA */
#lavori {
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}

#lavori .section-header {
  padding: 0 48px;
  margin-bottom: 40px;
}

#lavori h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 300;
}

.marquee-track {
  display: flex;
  gap: 4px;
  width: max-content;
  animation: marquee 80s linear infinite;
}

.marquee-track.is-hovered {
  animation-play-state: paused;
}

.marquee-track.is-dragging {
  cursor: grabbing !important;
  user-select: none;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  flex: 0 0 auto;
  width: clamp(200px, 18vw, 260px);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.marquee-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: filter 0.4s ease, transform 0.4s ease;
}

.marquee-item:hover img {
  filter: grayscale(100%) brightness(0.35);
  transform: scale(1.04);
}

.marquee-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.marquee-item:hover .marquee-overlay {
  opacity: 1;
}

.overlay-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.overlay-artist {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: #fff;
  line-height: 1.2;
}

.overlay-title {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  line-height: 1.2;
}

.overlay-tags {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}

/* TEAM */
#team {
  background: var(--cream);
}

#team h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 300;
  margin-bottom: 80px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.team-member a {
  display: block;
  overflow: hidden;
  margin-bottom: 24px;
}

.team-member img,
.team-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(20%);
  display: block;
  transition: filter 0.4s ease, transform 0.4s ease;
}

.team-member a:hover img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.team-photo-placeholder {
  background: #e0ddd7;
}

.team-member h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 4px;
}

.team-member .role {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 16px;
}

.team-member p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

/* CONTATTI */
#contatti {
  background: var(--green);
  color: var(--cream);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 80px 48px;
}

#contatti .section-label { color: rgba(244,242,237,0.5); }
#contatti .section-label::after { background: rgba(244,242,237,0.5); }

.contatti-headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  max-width: 700px;
  margin-bottom: 64px;
}

.contatti-info {
  display: flex;
  gap: 80px;
  align-items: flex-end;
  justify-content: space-between;
}

.contatti-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contatti-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 18px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.contatti-links a:hover { opacity: 1; }

.footer-logo img {
  height: 160px;
  width: auto;
  filter: brightness(0) saturate(0) invert(1);
  opacity: 0.9;
}

.footer-icons {
  display: flex;
  gap: 20px;
  margin-top: 32px;
}

.footer-icons a {
  color: rgba(244,242,237,0.7);
  transition: color 0.2s, opacity 0.2s;
  display: flex;
  align-items: center;
}

.footer-icons a:hover {
  color: #fff;
  opacity: 1;
}

.copyright {
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.4;
  margin-top: 48px;
}

/* ─── RESPONSIVE ─── */

/* ─── TABLET (iPad) ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .featured-slide { gap: 48px; padding: 0 40px; }
  .featured-artist { font-size: 3rem; }
}

@media (max-width: 900px) {
  /* Navbar */
  #navbar { padding: 20px 24px; }
  #navbar.scrolled { padding: 14px 24px; }
  nav ul { gap: 20px; }
  nav ul li a { font-size: 11px; }
  .nav-logo img { height: 52px; }

  /* Sezioni */
  section { padding: 60px 24px; }

  /* Hero */
  .hero-statement { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: 60px 24px; }
  .hero-image { height: 55vw; min-height: 280px; }

  /* Studio */
  #studio { grid-template-columns: 1fr; gap: 40px; }
  .studio-slider {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 4/3;
  }

  /* Produzioni */
  .produzioni-grid { grid-template-columns: 1fr 1fr; }

  /* Team */
  .team-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* Contatti */
  .contatti-info { flex-direction: column; align-items: flex-start; gap: 40px; }
  .footer-logo img { height: 120px; }

  /* Featured banner */
  #featured-banner { padding: 60px 32px 48px; min-height: auto; }
  .featured-slide {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 32px;
  }
  .featured-cover { order: -1; }
  .featured-cover img { max-width: 260px; }
  .featured-artist { font-size: 2.5rem; }
  .featured-title { font-size: 1.6rem; }
  .featured-desc { font-size: 13px; }
  .featured-btn { display: none; }
}

/* ─── MOBILE ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  /* Navbar */
  #navbar { padding: 16px 20px; }
  .nav-logo img { height: 40px; }
  nav ul { display: none; }
  #menu-toggle { display: flex; }

  /* Sezioni */
  section { padding: 48px 20px; }

  /* Hero */
  .hero-statement { grid-template-columns: 1fr; }
  .hero-text { padding: 48px 20px; }
  .hero-statement h1 { font-size: 2.4rem; }
  .hero-image { height: 60vw; min-height: 220px; }

  /* Intro */
  #scroll-hint { bottom: 24px; }

  /* Studio */
  .studio-slider { aspect-ratio: 1/1; }
  .slider-btn { opacity: 1; width: 36px; height: 36px; }

  /* Produzioni */
  .produzioni-grid { grid-template-columns: 1fr; }
  .produzione-item { padding: 32px 20px; }

  /* Marquee */
  .marquee-item { width: clamp(150px, 42vw, 200px); }
  /* Su mobile mostra overlay sempre visibile al tap */
  .marquee-item .marquee-overlay { opacity: 0; }
  .marquee-item:active .marquee-overlay { opacity: 1; }

  /* Team */
  .team-grid { grid-template-columns: 1fr; gap: 48px; }

  /* Contatti */
  #contatti { padding: 60px 20px; }
  .contatti-headline { font-size: 2.5rem; }
  .footer-logo img { height: 90px; }

  /* Featured banner */
  #featured-banner { padding: 56px 20px 40px; }
  .featured-header { margin-bottom: 28px; }
  .featured-artist { font-size: 2rem; }
  .featured-title { font-size: 1.3rem; }
  .featured-desc { font-size: 13px; max-width: 100%; }
  .featured-cover img { max-width: 200px; }
  .featured-spotify { font-size: 11px; padding: 10px 18px; }
  .featured-dots { margin-top: 24px; }
  #featured-close { top: 16px; right: 16px; }
}

/* BACK TO TOP */
#back-to-top {
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 300;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(244,242,237,0.92);
  backdrop-filter: blur(8px);
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#back-to-top:hover {
  background: rgba(244,242,237,1);
}
