:root {
  /* Palette Colori: Eleganza Luminosa */
  --color-bg: #FCFAF8;
  --color-text: #1C1B1A;
  --color-text-muted: #8C857B;
  --color-accent: #B8A38F;
  --color-dark: #111111;
  
  /* Tipografia (Coppia Ibrida + Accento Editoriale) */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-accent: 'Italiana', serif;
  
  /* Spaziature */
  --space-sm: 1rem;
  --space-md: 2.5rem;
  --space-lg: 5rem;
  --space-xl: 10rem;
}

/* =========================================
   RESETS & FOUNDATION
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; background-color: var(--color-bg); color: var(--color-text); scroll-behavior: initial; }
body { font-family: var(--font-sans); font-weight: 300; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; color: var(--color-text); }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

/* Lenis Smooth Scroll Base */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* =========================================
   TYPOGRAPHY & UTILITIES
   ========================================= */
.subtitle {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  display: block;
}
.title-large {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 2.5rem;
  font-style: italic;
  letter-spacing: -1px;
}
.body-text {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text-muted);
}
.section-padding { padding: var(--space-xl) 5%; }
.container { max-width: 1400px; margin: 0 auto; }
.text-center { text-align: center; }

/* =========================================
   MENU CLASSICO EDITORIALE (Split Layout)
   ========================================= */
.nav-editorial {
  position: fixed; top: 0; left: 0; width: 100%;
  padding: 2.5rem 5%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  z-index: 1000; color: #FCFAF8;
  transition: background-color 0.5s ease, padding 0.5s ease, color 0.5s ease;
}
.nav-editorial.nav-dark-text {
  color: var(--color-text);
}
.nav-editorial.scrolled {
  background-color: rgba(252, 250, 248, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem 5%;
  color: var(--color-text);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  line-height: 1;
}
.logo-mark {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-links { display: none; }
.nav-spacer { width: 50px; } /* Specchio del bottone hamburger per centratura perfetta */

/* HAMBURGER BTN (Always visible) */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1000;
  padding: 10px;
  color: inherit;
  grid-column: 3;
  justify-self: end;
}
.hamburger-line {
  width: 30px;
  height: 1px;
  background-color: currentColor;
  transition: transform 0.4s cubic-bezier(0.8, 0, 0.2, 1), opacity 0.4s ease;
}
/* X animation: linea 1 e 3 si incrociano, linea 2 scompare */
.nav-editorial.menu-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-editorial.menu-open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-editorial.menu-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Quando il menu è aperto, togliamo lo sfondo bianco e forziamo il testo chiaro */
.nav-editorial.menu-open {
  background-color: transparent !important;
  color: #FCFAF8 !important;
  border-bottom: none !important;
  backdrop-filter: none !important;
}


/* MOBILE MENU OVERLAY */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-dark);
  color: #FCFAF8;
  z-index: 900;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); /* Starts hidden at the top */
  visibility: hidden;
}

/* Aggiunta Grana Cinematografica (Noise) */
.mobile-menu-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
}

.mobile-menu-inner {
  text-align: right;
  width: 100%;
  padding-right: 10%;
}

/* Ancore Relazionali (Social Laterali) */
.mobile-menu-socials {
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  z-index: 2;
}

.mobile-menu-socials a {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #FCFAF8;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0.5;
}

.mobile-menu-socials a:hover {
  opacity: 1;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-links a {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  color: #FCFAF8;
  display: inline-block;
  overflow: hidden; /* For line stagger */
  line-height: 1.2;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Hover Focus Effect */
.mobile-nav-links:has(a:hover) a:not(:hover) {
  opacity: 0.25;
}
.mobile-nav-links a:hover {
  transform: translateX(-15px); /* Spostamento leggero a sinistra visto che è allineato a destra */
}

/* Numerazione Tipografica */
.nav-num {
  font-family: var(--font-sans);
  font-size: clamp(0.7rem, 2vw, 0.9rem);
  font-style: normal;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-right: 1.5vw;
  vertical-align: super;
  font-weight: 400;
  opacity: 0.8;
}

.mobile-nav-links a span {
  display: inline-block;
  transform: translateY(100%); /* Initial state for GSAP */
}

.mobile-menu-footer {
  margin-top: 4rem;
  opacity: 0; /* Initial state for GSAP */
}

.mobile-menu-footer p {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

/* =========================================
   HERO: IL SIPARIO CINEMATICO
   ========================================= */
.hero {
  position: relative; height: 100vh; width: 100%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background-color: #000; /* Sfondo nero assoluto dietro al video */
}

/* Gradiente protettivo per garantire sempre la lettura del testo e del menu */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 1; z-index: 0;
  transform: scale(1.05); /* Margine per il parallax */
}

/* Switch Video tra Mobile e Desktop */
.hero-video-mobile {
  display: none;
}

@media (max-width: 768px) {
  .hero-video-desktop {
    display: none;
  }
  .hero-video-mobile {
    display: block;
  }
}

/* Layout in basso (AAAAAA++) */
.hero-content {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  padding: 3rem 5%;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  z-index: 2; color: #FCFAF8;
}

.hero-content .subtitle { 
  color: #FCFAF8; 
  opacity: 0.95; 
  letter-spacing: 5px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.6);
  margin-bottom: 0.2rem; /* Estremamente vicino al titolo per coesione editoriale */
  text-align: center;
}

.hero-title {
  color: #FCFAF8; 
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 7rem); /* Appena più grande ora che ha tutto lo spazio in larghezza */
  font-style: italic; font-weight: 400;
  line-height: 1; letter-spacing: -1px;
  text-shadow: 0 10px 40px rgba(0,0,0,0.6);
  margin: 0;
  white-space: nowrap; /* Evita che vada a capo su desktop */
  text-align: center;
}

/* Hero Eyebrow — Etichetta di categoria sopra il sottotitolo */
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #FCFAF8;
  opacity: 0.55;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  margin-bottom: 0.8rem;
  text-align: center;
}

/* =========================================
   SEZIONE: THE EXPERIENCE (DITTICO)
   ========================================= */
.experience { background-color: var(--color-bg); }

.experience-layout {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 6rem;
  align-items: center;
}

.experience-text {
  text-align: left;
}

.experience-text .title-large {
  font-size: clamp(2.5rem, 5vw, 4.5rem); /* Leggermente più compatto per la colonna sinistra */
}

.experience-text .paragraph {
  max-width: 90%;
}

/* Link Editoriale — CTA sussurrata (riutilizzabile) */
.editorial-link {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 0.3rem;
  margin-top: 2.5rem;
  transition: opacity 0.3s ease;
}
.editorial-link:hover { opacity: 0.5; }

/* Variante chiara per sezioni scure */
.editorial-link--light {
  color: #FCFAF8;
  border-bottom-color: rgba(252, 250, 248, 0.5);
}

.experience-visual {
  width: 100%;
}

.diptych-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #E2DDD5; /* Placeholder colore sabbia elegante */
}

.diptych-image {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
}

.diptych-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================
   SEZIONE: THE AUTHORITY (NUMERI)
   ========================================= */
.authority {
  padding: 5rem 5%;
  border-top: 1px solid rgba(28, 27, 26, 0.08);
  border-bottom: 1px solid rgba(28, 27, 26, 0.08);
  background-color: var(--color-bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 5vw, 5.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  color: var(--color-text);
  display: inline;
}

.stat-suffix {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-style: italic;
  color: var(--color-accent);
  line-height: 1;
  display: inline;
  vertical-align: super;
  margin-left: -0.1em;
}

.stat-number--symbol {
  font-style: normal;
  font-size: clamp(3rem, 4.5vw, 4.5rem);
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-top: 0.8rem;
}

/* =========================================
   SEZIONE: FEATURED FILMS (MASONRY)
   ========================================= */
.featured-films { background-color: #F5F2EF; }

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 5rem;
  padding-bottom: 5rem; /* Respiro sul fondo per le colonne sfasate */
}

/* Sfalsamento colonne per effetto Masonry (Centrale più in alto) */
.masonry-item:nth-child(3n+1) { margin-top: 6rem; } /* Sinistra scende */
.masonry-item:nth-child(3n+2) { margin-top: 0; }    /* Centrale fissa in alto */
.masonry-item:nth-child(3n+3) { margin-top: 6rem; } /* Destra scende simmetrica */

.masonry-item {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3; /* Proporzione più verticale (Classic 35mm Portrait) */
  overflow: hidden;
  background-color: #E2DDD5; /* Colore di attesa elegante */
  cursor: pointer;
}

/* Contenitore interno per Parallax puro */
.masonry-image {
  position: absolute;
  top: -15%; /* Spazio extra per far viaggiare l'immagine in su e in giù */
  left: 0;
  width: 100%;
  height: 130%;
}

.masonry-image img,
.masonry-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.masonry-item:hover .masonry-image img,
.masonry-item:hover .masonry-image video {
  transform: scale(1.05); /* Micro-zoom di lusso al passaggio del mouse */
}

/* =========================================
   SEZIONE: THE JOURNEY (TIMELINE INTERATTIVA)
   ========================================= */
.journey {
  background-color: #F5F2EF;
}

.timeline {
  max-width: 800px;
  margin: 5rem auto 0;
}

/* Track — la linea orizzontale con i 4 nodi */
.timeline-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 2rem;
}

.timeline-line {
  position: absolute;
  top: calc(2rem + 15px);
  left: 2rem;
  right: 2rem;
  height: 1px;
  background-color: rgba(28, 27, 26, 0.15);
  z-index: 0;
}

/* Nodo — pallino cliccabile */
.timeline-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.node-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(28, 27, 26, 0.3);
  background-color: #F5F2EF;
  transition: all 0.4s ease;
}

.timeline-node.active .node-dot {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.3);
}

.timeline-node:hover .node-dot {
  border-color: var(--color-accent);
  transform: scale(1.15);
}

.node-label {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

.timeline-node.active .node-label {
  color: var(--color-accent);
}

.node-title {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.timeline-node.active .node-title {
  color: var(--color-text);
}

.timeline-panels {
  position: relative;
  margin-top: 2rem; /* Ridotto per stare sotto al sottotitolo THE JOURNEY */
  min-height: 120px;
}

.timeline-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.timeline-panel.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.journey-title {
  font-family: var(--font-sans);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 300;
  color: var(--color-text);
  margin-bottom: 1.5rem; /* Aumentato per staccarlo dalla descrizione */
}

.journey-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 450px;
  margin: 0 auto;
}

/* =========================================
   SEZIONE: TESTIMONIALS / LOVE LETTERS
   ========================================= */
.testimonials {
  background-color: var(--color-bg);
  border-top: 1px solid rgba(28, 27, 26, 0.08);
}

.testimonials .title-large {
  margin-bottom: 0;
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  margin: 5rem auto 0;
  padding: 4rem 0; /* increased padding to prevent vertical stagger clipping */
  position: relative;
}

/* Fading edges per dare l'effetto di dissolvenza cinematografica */
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 15vw;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg) 0%, transparent 100%);
}
.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 100s linear infinite;
  will-change: transform;
}
.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  gap: 3rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 1.5rem)); }
}

/* Manteniamo l'effetto lettere sfalsate */
.marquee-content .testimonial-card:nth-child(odd) { transform: translateY(0); }
.marquee-content .testimonial-card:nth-child(even) { transform: translateY(2.5rem); }

.testimonial-card {
  width: 420px; /* Larghezza fissa per scorrimento fluido */
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  border: 1px solid rgba(28, 27, 26, 0.08);
  background-color: #FCFAF8;
  transition: border-color 0.4s ease;
  cursor: default;
}
.testimonial-card:hover {
  border-color: rgba(28, 27, 26, 0.2);
}

.trust-bar {
  text-align: center;
  margin-top: 5rem; /* Spazio dal marquee (tiene conto del padding) */
}
.trust-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.8rem;
  border: 1px solid rgba(28, 27, 26, 0.1);
  border-radius: 40px;
  transition: all 0.4s ease;
  background-color: transparent;
}
.trust-link:hover {
  border-color: rgba(28, 27, 26, 0.3);
  background-color: #F5F2EF; /* Leggero stacco elegante */
}
.trust-stars {
  color: var(--color-accent);
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.trust-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  color: var(--color-text);
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-style: italic;
  color: var(--color-accent);
  line-height: 0.5;
  margin-bottom: 1.5rem;
  display: block;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(28, 27, 26, 0.08);
}

.testimonial-name {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: var(--color-text);
}

.testimonial-location {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
}

/* =========================================
   SEZIONE: OUR VISION
   ========================================= */
.vision { background-color: var(--color-dark); color: #FCFAF8; }
.vision h2 { color: #FCFAF8; }
.vision .subtitle { color: var(--color-accent); }
.vision-content {
  display: flex; gap: 6rem; align-items: center; margin-top: 4rem;
}
.vision-image {
  flex: 5; height: 85vh; overflow: hidden;
  background-color: #2A2A2A; /* Placeholder visibile sul nero */
  border-radius: 4px;
}
.vision-image img { width: 100%; height: 100%; object-fit: cover; }
.vision-text {
  flex: 6; padding-right: 5%;
}
.vision-text .body-text { color: #ccc; margin: 0; margin-bottom: 2rem; max-width: 100%; }

/* Sovrascrittura testo per sezioni chiare che usano il layout vision (es. The Approach) */
.the-approach .vision-text .body-text { color: var(--color-text-muted); }

/* =========================================
   CINEMATIC INTERMEZZO
   ========================================= */
.cinematic-intermezzo {
  width: 100%;
  height: 70vh; /* Formato epico panoramico */
  overflow: hidden;
  position: relative;
  background-color: #1C1B1A; /* Placeholder scuro */
}
.cinematic-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
.cinematic-image {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%; /* Spazio extra per il parallax */
  background-color: #2a2826; /* Leggero stacco per il placeholder */
}
.cinematic-image video, .cinematic-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cinematic-overlay-text {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  z-index: 2;
  text-align: right;
  pointer-events: none;
}

.cinematic-text-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  line-height: 1.2;
  color: #FCFAF8;
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.cinematic-text-sans {
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 2vw, 1.1rem);
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #FCFAF8;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* =========================================
   SEZIONE: INQUIRE (CONTACT)
   ========================================= */
.inquire { background-color: var(--color-bg); border-top: 1px solid rgba(0,0,0,0.05); }
.inquire-content { display: flex; gap: 8rem; align-items: flex-start; margin-top: 0; }
.inquire-text { flex: 1; }
.inquire-text .title-large { margin-bottom: 0; }
.inquire-form { flex: 1; width: 100%; display: flex; flex-direction: column; gap: 3rem; margin-top: 4rem; }

/* Stile Form Luxury */
.form-group { position: relative; }
.inquire-form input:not([type="checkbox"]), .inquire-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(28, 27, 26, 0.2);
  padding: 1rem 0;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--color-text);
  transition: border-color 0.4s ease;
  resize: none;
}
.inquire-form input:focus, .inquire-form textarea:focus {
  outline: none;
  border-bottom-color: var(--color-text);
}
.inquire-form input::placeholder, .inquire-form textarea::placeholder {
  color: var(--color-text-muted);
  font-weight: 300;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
}
/* Checkbox consenso privacy: dimensione fissa, il testo occupa il resto della riga */
.form-consent input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--color-text);
  cursor: pointer;
}
.form-consent label { max-width: 46ch; }
.btn-submit {
  align-self: flex-start;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-text);
  padding: 0.5rem 0;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-text);
  cursor: pointer;
  transition: opacity 0.3s ease;
  margin-top: 1rem;
}
.btn-submit:hover { opacity: 0.5; }

/* Booking Status Badge */
.booking-status {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-accent);
  margin-top: 2rem;
  padding: 0.6rem 0;
  border-top: 1px solid rgba(28, 27, 26, 0.08);
  border-bottom: 1px solid rgba(28, 27, 26, 0.08);
  display: inline-block;
}

/* Contatti Diretti sotto il form */
.inquire-direct {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(28, 27, 26, 0.08);
}

.inquire-direct-label {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-text-muted);
  margin-bottom: 0.8rem;
}

.inquire-direct-links {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.inquire-direct-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 0.2rem;
  transition: opacity 0.3s ease;
}

.inquire-direct-links a:hover { opacity: 0.5; }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background-color: #0A0A0A; color: #FCFAF8;
  padding: 6rem 5%; text-align: center;
}
.footer-brand {
  font-family: var(--font-serif); font-size: 3rem; font-style: italic;
  margin-bottom: 2.5rem; display: block;
}
.footer-links {
  display: flex; justify-content: center; gap: 3rem; list-style: none; margin-bottom: 4rem;
}
.footer-links a {
  font-family: var(--font-sans); font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 2px; color: #888; transition: color 0.3s;
}
.footer-links a:hover { color: #FCFAF8; }
.footer-copy { font-size: 0.75rem; color: #444; letter-spacing: 1px; }

/* =========================================
   SEZIONE: DESTINATIONS HOVER REVEAL
   ========================================= */
.destinations { background-color: var(--color-bg); }

.destinations-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem; /* Gap ridotto per avvicinarli */
  align-items: center;
}

.dest-list-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: auto; /* Spinge tutto il blocco testo verso destra (verso l'immagine) */
  margin-right: 2rem; /* Lascia un po' di respiro dall'immagine */
  width: max-content; /* Permette al margin-left: auto di funzionare stringendo il div */
  position: relative;
  z-index: 10; /* Assicura che la linea non vada dietro la foto/video */
}

.dest-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem; /* Ridotto per compattare la lista mantenendo spazio per l'hover */
}

.dest-item {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 5rem);
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px rgba(28, 27, 26, 0.3);
  cursor: pointer;
  transition: color 0.4s ease, transform 0.4s ease;
  line-height: 1;
  position: relative;
  display: inline-block;
  transform-origin: left center;
}

.dest-item:hover, .dest-item.active {
  color: var(--color-text);
  -webkit-text-stroke: 0;
  transform: translateX(20px);
}

.dest-item::after {
  content: "WATCH FILM"; /* Tolti i trattini, testo pulito */
  position: absolute;
  left: 0; /* Allineato all'inizio della parola */
  top: 95%; /* Vicino per le parole senza lettere discendenti (Paris, Rome, ecc.) */
  transform: translateY(-10px); /* Parte leggermente più in alto per l'animazione */
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent); /* Colore dorato/accent per staccare dal testo nero */
  -webkit-text-stroke: 0;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  margin-left: 0; /* Reset */
}

/* Regola speciale per Capri (p) e Puglia (g) per evitare sovrapposizioni */
.dest-item:first-child::after,
.dest-item:last-child::after {
  top: 110%; 
}

.dest-item:hover::after, .dest-item.active::after {
  opacity: 1;
  transform: translateY(5px); /* Scende morbidamente verso il basso */
}

.dest-visual {
  aspect-ratio: 2 / 3; /* Proporzione portrait verticale (classic 35mm) */
  height: 80vh; /* Mantiene la stessa altezza di prima */
  max-width: 100%; 
  position: relative;
  transition: aspect-ratio 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

/* CSS Slideshow for Destinations without video */
.css-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.css-slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: slideshow-fade 10s infinite;
}

.css-slideshow img:nth-child(1) { animation-delay: 0s; }
.css-slideshow img:nth-child(2) { animation-delay: 2.5s; }
.css-slideshow img:nth-child(3) { animation-delay: 5.0s; }
.css-slideshow img:nth-child(4) { animation-delay: 7.5s; }

@keyframes slideshow-fade {
  0%   { opacity: 0; transform: scale(1.05); }
  5%   { opacity: 1; transform: scale(1); }
  25%  { opacity: 1; transform: scale(1); }
  30%  { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

.dest-images-desktop {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.dest-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0; /* Gestito da JS */
  z-index: 1;
  transform: scale(1.05); /* Effetto zoom-out al fade in */
}

.dest-img.active {
  opacity: 1;
  z-index: 2;
  transform: scale(1);
  transition: opacity 0.8s ease, transform 0.8s ease; 
}

.placeholder-box {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
}
/* Fallback per evitare il collasso dei div vuoti su browser mobili meno recenti */
@supports not (aspect-ratio: 4/5) {
  .placeholder-box::before {
    content: "";
    display: block;
    padding-bottom: 125%; /* 5/4 = 1.25 */
  }
}

.dest-carousel-mobile {
  display: none; 
}

/* Video embed dentro Destination Cards */
.dest-img--video {
  overflow: hidden;
}
.dest-img--video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.placeholder-box--video {
  position: relative;
  overflow: hidden;
}
.placeholder-box--video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================
   ANIMATION CLASSES (GSAP)
   ========================================= */
/* Stato iniziale per gli elementi che dovranno apparire */
.gsap-reveal { opacity: 0; visibility: hidden; }

/* =========================================
   RESPONSIVE (Mobile e Tablet base)
   ========================================= */
@media (max-width: 1024px) {
  .nav-editorial { 
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.5rem 5%;
  }
  .nav-links { display: none; } 
  .hamburger-btn { display: flex; grid-column: 3; justify-self: flex-end; }
  .nav-brand { grid-column: 2; margin: 0 auto; }
  .nav-editorial.scrolled .hamburger-btn { color: var(--color-text); }
  .nav-editorial.menu-open { 
    color: #FCFAF8 !important; 
    background-color: transparent !important;
    backdrop-filter: none !important;
    border-bottom: none !important;
  }
  
  .vision-content { flex-direction: column; }
  .vision-image { height: 50vh; width: 100%; }
  
  /* DESTINATIONS MOBILE (CAROUSEL) */
  .destinations-layout { grid-template-columns: 1fr; gap: 2rem; }
  .dest-list { display: none; } /* Nascondi lista hover su mobile */
  
  /* Annulla margin auto per mobile così torna centrato/a sinistra */
  .dest-list-wrapper { margin-left: 0; margin-right: 0; width: 100%; }
  
  .dest-visual { 
    height: auto; 
    aspect-ratio: auto; /* IMPORTANTE: Reset dell'aspect ratio per non costringere l'altezza del carosello */
    width: 100%; /* Previene il collasso/espansione */
    min-width: 0; /* Previene il Grid Blowout causato dal carosello flex */
  }
  .dest-images-desktop { display: none; }
  
  .dest-carousel-mobile {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 1.5rem;
    padding-bottom: 2rem;
  }
  .dest-carousel-mobile::-webkit-scrollbar { display: none; } /* Hide Chrome/Safari scrollbar */
  
  .mobile-slide {
    flex: 0 0 85%;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .mobile-slide h3 {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 2.5rem;
    text-align: center;
    color: var(--color-text);
  }  /* Reset Masonry a 2 Colonne su Tablet */
  .masonry-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .masonry-item:nth-child(3n+1), .masonry-item:nth-child(3n+2), .masonry-item:nth-child(3n+3) { margin-top: 0; }
  .masonry-item:nth-child(2n+2) { margin-top: 4rem; }
  
  /* Authority Stats — 2x2 Grid su Mobile */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }
  
  /* Journey Timeline — Mobile */
  .timeline-track { padding: 0 0.5rem; }
  .timeline-panels { margin-top: 3.5rem; min-height: 140px; }
  
  /* Testimonials — 1 Colonna su Mobile */
  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; }
  .testimonial-card:nth-child(n) { margin-top: 0; }
  
  .experience-layout { grid-template-columns: 1fr; gap: 4rem; }
  .experience-text { text-align: center; }
  .experience-text .paragraph { max-width: 100%; }
  .diptych-wrapper { aspect-ratio: 4 / 3; } /* Orizzontale su tablet/mobile */
  
  .inquire-content { flex-direction: column; gap: 4rem; }
  
  /* Hero Mobile Adjustments */
  .hero-content { padding: 2.5rem 5%; }
  .hero-title { white-space: normal; font-size: 3.5rem; }
}

@media (max-width: 600px) {
  /* Masonry a 2 Colonne compatte su Mobile (stile editorial grid) */
  .masonry-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 4px; /* Gap strettissimo come da screenshot */
    margin-top: 2rem;
  }
  .masonry-item:nth-child(n) { margin-top: 0; } /* Rimuove gli sfalsamenti */
  .masonry-item { aspect-ratio: 2 / 3; } /* Ritorniamo alla proporzione verticale come su desktop */
  .hide-on-mobile { display: none !important; }
  
  .hero-content { padding: 2rem 5%; }
  .hero-title { font-size: 3rem; }
}
