/* ============================================================
   NSOC Landing — REDESIGN scroll-driven (Canva Gianluca)
   Hero 3D + menu liquido + sticky reveal + prisma.
   Convive con landing.css (drop/preordine/countdown/success).
   Mobile-first (375px). Tema: nero radicale, riflettore.
   ============================================================ */

body.nsoc-scroll {
  background: #000;
  color: var(--white);
}
.nsoc-scroll .goo-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Lenis smooth-scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* sezioni custom: niente padding verticale globale, gestito ad-hoc */
.hero3d, .reveal3d, .prism { padding: 0; }
.reveal3d { overflow: visible; }   /* serve allo sticky */

/* ============================================================
   COMPONENTI LIQUIDI (menu 2-linee + CTA) — vibe skylrk.com
   ============================================================ */
.liquid-blob {
  position: absolute;
  left: 50%; top: 50%;
  width: 140%; aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(0);
  background: var(--white);
  border-radius: 47% 53% 44% 56% / 55% 48% 52% 45%;
  filter: blur(2px);
  transition: transform .55s var(--ease-out-expo);
  pointer-events: none;
  z-index: 0;
  animation: blobMorph 7s ease-in-out infinite;
}
@keyframes blobMorph {
  0%,100% { border-radius: 47% 53% 44% 56% / 55% 48% 52% 45%; }
  50%     { border-radius: 56% 44% 59% 41% / 43% 57% 43% 57%; }
}

/* CTA a pillola */
.liquid-cta {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  /* Altezza ridotta (60px → 46px): sugli schermi corti tipo 375×667 la freccetta "scorri" sotto
     arrivava a sovrapporsi al pulsante di 4px (Gianluca, 26/07). Resta sopra i 44px di area
     tattile minima. */
  padding: 0.55rem 2.1rem;
  border: 1px solid rgba(247,240,232,0.55);
  border-radius: 999px;
  /* glass frostato al posto del fondo piatto */
  background: rgba(247,240,232,0.06);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
  color: var(--white);
  /* Carattere unico per tutti i pulsanti: 17px peso light, spaziatura normale (come il corpo
     tipo "non ti serve"). Prima 12px semi con 1,44px di spaziatura, da etichetta di sistema. */
  font-weight: var(--w-light);
  font-size: 17px;
  letter-spacing: normal;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.liquid-cta .liquid-cta-label { position: relative; z-index: 1; transition: color .35s ease; }
/* La tipografia dei pulsanti sta ora nella regola .liquid-cta qui sopra: vale per l'hero e per il
   pulsante finale sotto il prisma. I tre delle card prezzo (.tbtn) sono allineati in landing.css. */
.liquid-cta:hover .liquid-blob,
.liquid-cta:focus-visible .liquid-blob { transform: translate(-50%, -50%) scale(1.25); }
.liquid-cta:hover .liquid-cta-label,
.liquid-cta:focus-visible .liquid-cta-label { color: #000; }
.liquid-cta:active { transform: scale(0.97); }

/* Variante piena: bianco su nero, si inverte all'hover (il blob e' scuro).
   Nata per distinguere "Ordina Ora" dal secondo pulsante dell'hero; quel secondo
   pulsante e' stato tolto il 07/08 ma l'aspetto pieno e' piaciuto ed e' rimasto. */
.liquid-cta.is-solid {
  background: var(--white); border-color: var(--white);
  color: var(--black); box-shadow: none;
}
.liquid-cta.is-solid .liquid-blob { background: var(--black); }
.liquid-cta.is-solid:hover .liquid-cta-label,
.liquid-cta.is-solid:focus-visible .liquid-cta-label { color: var(--white); }
/* Schermi bassi: recupera il fiato fra il pulsante e la freccetta di scorrimento,
   che e' in posizione assoluta in fondo all'hero.
   .hero3d .hero3d-copy e non .hero3d-copy: la regola generica di .hero3d-copy sta
   piu' avanti in questo file e, a parita' di specificita', vincerebbe lei. */
@media (max-height: 720px) {
  .hero3d .hero3d-copy { gap: var(--space-2); }
}

/* ============================================================
   TOPBAR — wordmark + menu liquido
   ============================================================ */
/* offset anchor per il topbar fisso: le sezioni non finiscono sotto l'header quando si arriva dal menu */
#hero, #hook, #why, #story, #waitlist, #end, #subscribe, #faq, #contatti { scroll-margin-top: 84px; }

.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem var(--space-3);
  transition: padding .4s var(--ease-out-expo), background .4s ease, backdrop-filter .4s ease;
}
.topbar.is-scrolled {
  padding: 0.5rem var(--space-3);
  /* glass molto più marcato */
  background: rgba(12,12,13,0.32);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  backdrop-filter: blur(22px) saturate(1.6);
  border-bottom: 1px solid rgba(247,240,232,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 8px 30px -16px rgba(0,0,0,0.55);
}
/* come il footer: COUTURE centrato sotto NOT SO ORDINARY */
.topbar-wm { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.1em; text-decoration: none; }
/* Logo ORIGINALE come immagine (topbar, prisma finale, footer). Larghezze pari a quelle che aveva
   il wordmark testuale, così l'impaginazione non si muove: 186px desktop, 140px sotto i 640px.
   height auto + width/height nell'<img> → nessun salto di layout in caricamento. */
.wm-logo { display: block; width: 186px; height: auto; }
@media (max-width: 640px) { .wm-logo { width: 140px; } }
.topbar-wm .wm-main { font-size: clamp(1rem, 3.6vw, 1.35rem); }
.topbar-wm .wm-sub { font-size: clamp(0.5rem, 1.5vw, 0.62rem); letter-spacing: 0.42em; padding-left: 0.42em; }

/* Gruppo destro della topbar: pulsante "Lista privilegiata" + hamburger.
   La topbar e' space-between con DUE figli (logo | gruppo): senza questo
   contenitore i tre elementi si distribuirebbero sulla riga. */
.topbar-right { display: flex; align-items: center; gap: 0.6rem; }

.topbar-cta {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(247,240,232,0.55);
  border-radius: 999px;
  background: rgba(247,240,232,0.06);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
  color: var(--white);
  font-weight: var(--w-light); font-size: 14px; line-height: 1;
  letter-spacing: normal; white-space: nowrap;
  text-decoration: none; overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.topbar-cta-label { position: relative; z-index: 1; transition: color .35s ease; }
.topbar-cta:hover .liquid-blob,
.topbar-cta:focus-visible .liquid-blob { transform: translate(-50%, -50%) scale(1.25); }
.topbar-cta:hover .topbar-cta-label,
.topbar-cta:focus-visible .topbar-cta-label { color: #000; }
.topbar-cta:active { transform: scale(0.97); }
/* A 390px il wordmark scende a 140px: il pulsante si stringe per stare
   sulla stessa riga senza mandare a capo ne' comprimere l'hamburger. */
@media (max-width: 640px) {
  .topbar-cta { padding: 0.42rem 0.8rem; font-size: 12px; }
  .topbar-right { gap: 0.45rem; }
}
@media (max-width: 360px) {
  .topbar-cta { padding: 0.4rem 0.65rem; font-size: 11px; }
}

/* bottone 2-linee liquido */
.navmenu { position: relative; }
.navmenu-toggle {
  position: relative;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.navmenu-lines { position: relative; z-index: 1; width: 20px; height: 12px; display: block; }
.navmenu-lines i {
  position: absolute; left: 0; width: 100%; height: 1.5px;
  background: var(--white); border-radius: 2px;
  transition: transform .4s var(--ease-out-expo), opacity .25s ease, background .3s ease;
}
.navmenu-lines i:nth-child(1) { top: 2px; }
.navmenu-lines i:nth-child(2) { bottom: 2px; }
.navmenu-toggle:hover .liquid-blob,
.navmenu-toggle:focus-visible .liquid-blob { transform: translate(-50%, -50%) scale(0.9); }
.navmenu-toggle:hover .navmenu-lines i { background: #000; }
/* stato aperto → X */
.navmenu.is-open .navmenu-lines i:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.navmenu.is-open .navmenu-lines i:nth-child(2) { bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }
.navmenu.is-open .navmenu-toggle .liquid-blob { transform: translate(-50%,-50%) scale(0.9); }
.navmenu.is-open .navmenu-lines i { background: #000; }

/* pannello dropdown */
.navmenu-panel {
  position: absolute; right: 0; top: calc(100% + 12px);
  min-width: 220px;
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 1rem;
  background: rgba(10,10,11,0.92);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  opacity: 0; transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity .35s var(--ease-out-expo), transform .35s var(--ease-out-expo);
}
.navmenu.is-open .navmenu-panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.navmenu-item {
  display: block; padding: 0.7rem 0.9rem;
  color: var(--white); text-decoration: none;
  font-weight: var(--w-semi); font-size: 18px;
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  border-radius: 10px; transition: background .25s ease, padding-left .25s ease;
}
.navmenu-item:hover { background: rgba(255,255,255,0.08); padding-left: 1.2rem; }
.navmenu-langs { display: flex; gap: 0.5rem; margin-top: 0.6rem; padding-top: 0.7rem; border-top: 1px solid var(--hairline); }
.navmenu-lang {
  flex: 1; padding: 0.5rem 0; cursor: pointer;
  background: transparent; border: 1px solid var(--hairline); border-radius: 8px;
  color: var(--white-soft); font-weight: var(--w-semi); font-size: var(--fs-xs);
  letter-spacing: var(--tracking-wide); transition: all .25s ease;
}
.navmenu-lang.is-active, .navmenu-lang:hover { background: var(--white); color: #000; border-color: var(--white); }

/* ============================================================
   1. HERO 3D — riflettore + cappello che ruota
   ============================================================ */
.hero3d {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  background: #000;
  isolation: isolate;
}
/* riflettore (spot) dietro al prodotto */
.hero3d-spot {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%);
  width: min(120vw, 1100px); aspect-ratio: 1;
  background: radial-gradient(circle at 50% 42%,
     rgba(247,240,232,0.20) 0%,
     rgba(247,240,232,0.08) 26%,
     rgba(247,240,232,0.02) 46%,
     transparent 64%);
  z-index: -2; pointer-events: none;
}
/* effetto "nuvola" morbido in movimento */
.hero3d-cloud {
  position: absolute; left: 50%; top: 58%; transform: translate(-50%,-50%);
  width: min(150vw, 1400px); height: 60vh;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(120,130,150,0.10), transparent 70%);
  filter: blur(40px);
  z-index: -2; pointer-events: none;
  animation: cloudDrift 16s ease-in-out infinite alternate;
}
@keyframes cloudDrift {
  0%   { transform: translate(-54%, -50%) scale(1); opacity: .8; }
  100% { transform: translate(-46%, -52%) scale(1.12); opacity: 1; }
}

.hero3d-stage { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; }
/* spin a sequenza immagini */
.cap-spin {
  width: min(86vw, 560px);
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: grab; touch-action: pan-y;
  -webkit-user-select: none; user-select: none;
}
.cap-spin.is-grabbing { cursor: grabbing; }
.cap-spin-img {
  width: 100%; height: 100%; object-fit: contain;
  pointer-events: none; -webkit-user-drag: none;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.6));
}

/* HERO slideshow (foto reali del cappello, sostituisce il cap-spin) */
.hero-slides {
  position: relative;
  width: min(86vw, 560px); aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  touch-action: pan-y;
}
.hero-slides-track { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0; margin: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(1.03); pointer-events: none;
  transition: opacity .45s var(--ease-out-expo), transform .55s var(--ease-out-expo);
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-slide img {
  width: 100%; height: 100%; object-fit: contain;
  -webkit-user-drag: none; user-select: none;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.6));
}
/* nav sotto lo stage: frecce chevron semplici AI LATI dei puntini (no pallino, ok mobile) */
.hero-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: var(--space-2); }
.hero-arrow {
  background: none; border: none; padding: 2px 8px;
  color: var(--white-soft); font-size: 22px; line-height: 1;
  cursor: pointer; opacity: .6; transition: opacity .3s ease;
  -webkit-tap-highlight-color: transparent;
}
.hero-arrow:hover { opacity: 1; }
.hero-dots { display: flex; gap: 9px; justify-content: center; }
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0; border: none; cursor: pointer;
  background: rgba(247,240,232,0.32);
  transition: transform .3s var(--ease-out-expo), background .3s ease;
}
.hero-dot.is-active { background: var(--white); transform: scale(1.5); box-shadow: 0 0 10px 1px rgba(247,240,232,0.6); }

.hero3d-drag {
  margin-top: -1.2rem;
  font-size: 12px; letter-spacing: var(--tracking-widest);
  text-transform: uppercase; color: var(--white-dim);
  animation: dragBounce 2.4s ease-in-out infinite;
}
.hero3d-drag.is-hidden { opacity: 0; transition: opacity .5s ease; }
@keyframes dragBounce {
  0%,100% { transform: translateX(10px);  opacity: .45; }
  50%     { transform: translateX(-10px); opacity: .9; }
}

.hero3d-copy { margin-top: var(--space-3); display: flex; flex-direction: column; align-items: center; gap: var(--space-3); width: 100%; }
/* badge stato "Private sales aperta" — pillola glass con pallino live */
.hero3d-badge {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.4em 0.9em; border-radius: 999px;
  /* Stesso testo del corpo tipo "non ti serve" (.reveal3d-t): 17px, peso light, spaziatura
     normale — non più la pillola piccola e spaziata da etichetta di sistema (Gianluca, 26/07). */
  font-size: 17px; font-weight: var(--w-light); letter-spacing: normal;
  color: var(--white-soft);
  background: rgba(247,240,232,0.05);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(247,240,232,0.16);
}
.hero3d-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 8px 1px rgba(61,220,132,0.7); animation: badgePulse 2s ease-in-out infinite; }
@keyframes badgePulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(0.8); } }
/* Payoff dell'hero — stesso carattere dei titoletti tipo "No logo frontale" (.reveal3d-k):
   peso bold e spaziatura normale, non più il thin sussurrato (Gianluca, 26/07).
   CENTRATURA: prima era una griglia 1fr auto 1fr, che centra la "x" e non la frase: essendo
   "a precious head" più lungo di "a precious hat", il blocco risultava spostato a destra di
   8px su mobile e 23px su desktop. Con flex + justify-content:center si centra la FRASE. */
.hero3d-tagline {
  font-family: var(--font-sans); font-style: normal;
  font-weight: var(--w-bold);
  /* line-height dichiarato ESPLICITAMENTE perche questo elemento e un <h1> (prima era un
     <p>): reset.css imposta `h1..h6 { line-height: 1.15 }` mentre da <p> ereditava l'1.6
     del body. Senza questa riga il ri-tagging semantico cambierebbe l'altezza delle righe
     del payoff. Le altre proprieta che il reset degli heading toccherebbe (font-weight,
     letter-spacing) sono gia dichiarate qui sotto, quindi vincono per specificita. */
  line-height: 1.6;
  /* Su mobile la STESSA dimensione dei titoletti "No logo frontale" (20px): stesso carattere,
     stesso peso, stessa misura. Su desktop sale a 40px (media query più sotto). */
  font-size: 20px; color: var(--white);
  letter-spacing: -0.4px;
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center;
  width: 100%; column-gap: 0.5em; row-gap: 0.1em; padding: 0 8px;
}
.hero3d-tagline .t-side { font-style: normal; }
.hero3d-tagline .t-x { opacity: .5; font-style: normal; }

.hero3d-scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  text-decoration: none; color: var(--white-soft);
}
/* Schermi bassi (iPhone SE, o qualsiasi telefono con la barra del browser che mangia altezza):
   la freccetta scende verso il bordo, così non finisce addosso al pulsante "Ordina ora". */
@media (max-height: 720px) { .hero3d-scroll { bottom: 0.5rem; } }
.hero3d-scroll-txt { font-size: var(--fs-xs); letter-spacing: var(--tracking-widest); text-transform: uppercase; }
/* indicatore scroll: chevron sobrio che ondeggia (sostituisce la linea+dot) */
.hero3d-scroll-chevron { width: 26px; height: 26px; color: var(--white-soft); animation: chevronBob 2.2s ease-in-out infinite; }
@keyframes chevronBob { 0%,100% { transform: translateY(-3px); opacity: .5; } 50% { transform: translateY(4px); opacity: 1; } }
/* legacy line+dot (non più usata, tenuta per retro-compat) */
.hero3d-scroll-line { width: 1px; height: 42px; background: linear-gradient(var(--white), transparent); overflow: hidden; position: relative; }
.hero3d-scroll-line::after { content: ""; position: absolute; top: -42px; left: 0; width: 100%; height: 42px; background: var(--white); animation: scrollDot 2s ease-in-out infinite; }
@keyframes scrollDot { 0% { top: -42px; } 60%,100% { top: 42px; } }

@media (min-width: 768px) {
  .cap-spin { width: min(64vw, 640px); }
  .hero-slides { width: min(64vw, 640px); }
  .hero3d-tagline { font-size: 40px; }
  /* desktop: nascondo il chevron (si sovrapponeva al CTA "Ordina ora"); resta solo da mobile */
  .hero3d-scroll { display: none; }
}

/* ============================================================
   2. REVEAL — "è un altro tipo di lusso" (sticky scroll)
   ============================================================ */
.reveal3d { background: #000; padding: var(--space-5) 0 var(--space-7); }
.reveal3d-head { text-align: center; padding: 0 var(--space-3); margin-bottom: var(--space-7); }
.reveal3d-eyebrow { display: block; font-size: 12px; letter-spacing: var(--tracking-widest); text-transform: uppercase; color: var(--white-dim); margin-bottom: var(--space-2); }
.reveal3d-title { font-weight: var(--w-thin); font-size: 30px; line-height: 1.1; letter-spacing: normal; }
.reveal3d-title .strong { font-weight: var(--w-black); }

.reveal3d-stage { position: relative; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-3); }

/* MEDIA sticky — QUADRATO GRANDE (quasi tutto schermo); il testo scorre sotto */
.reveal3d-media {
  position: sticky; top: 92px;   /* gap dall'header: non si incolla al topbar */
  width: 100%;
  aspect-ratio: 1 / 1;          /* quadrato grande, largo quanto la colonna */
  max-height: 80svh;
  margin: 0 auto var(--space-4);
  z-index: 2;
  border-radius: 20px;
  /* vetro come CORNICE del quadrato grande (rim interno sottile), non mat che rimpicciolisce */
  background: rgba(247, 240, 232, 0.05);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid rgba(247, 240, 232, 0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 16px 50px -20px rgba(0,0,0,0.6);
  padding: 6px;
}
.reveal3d-steps { position: relative; z-index: 1; }
.reveal3d-fig {
  position: absolute; inset: 6px;
  margin: 0; border-radius: 15px; overflow: hidden;
  opacity: 0; transform: scale(1.04);
  transition: opacity .7s var(--ease-out-expo), transform .9s var(--ease-out-expo);
}
.reveal3d-fig.is-active { opacity: 1; transform: scale(1); }
.reveal3d-fig img {
  width: 100%; height: 100%;
  object-fit: cover;            /* la foto riempie il quadrato grande */
  display: block;
  background: #0a0a0b;
}
/* slot con 2 immagini che si alternano (es. "Senti la magia": uomo/donna) */
.reveal3d-alt {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; background: #0a0a0b; z-index: 2;
  opacity: 0; transition: opacity 1.1s var(--ease-out-expo);
}
.reveal-loop.show-alt .reveal3d-alt { opacity: 1; }
/* slot "persone" in 4:5 (non quadrato): su desktop mostro l'intera 4:5 nel riquadro quadrato */
.reveal3d-fig.reveal-portrait img { object-fit: contain; }

/* STEPS */
.reveal3d-step { padding: var(--space-5) 0; opacity: .32; transition: opacity .45s ease; }
.reveal3d-step.is-active { opacity: 1; }
.reveal3d-num { font-size: 12px; letter-spacing: var(--tracking-widest); color: var(--white-dim); }
.reveal3d-k { font-size: 20px; font-weight: var(--w-bold); margin: 0.3rem 0 0.6rem; }
.reveal3d-t { font-size: 17px; color: var(--white-soft); max-width: 46ch; }

/* pallini verticali a destra: appaiono con le immagini (in-view) e l'attivo scende col progredire */
.reveal3d-dots {
  position: fixed; right: 14px; top: 50%; transform: translateY(-50%);
  z-index: 6; display: flex; flex-direction: column; gap: 11px;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease-out-expo);
}
.reveal3d.in-view .reveal3d-dots { opacity: 1; }
/* pallini più grossi, con ombra dietro (leggibili sopra l'immagine), niente bordo/pillola (sa di tech) */
.reveal3d-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(247,240,232,0.32);
  box-shadow: 0 2px 7px rgba(0,0,0,0.6); transition: transform .3s var(--ease-out-expo), background .3s ease; }
.reveal3d-dot.is-past { background: rgba(247,240,232,0.55); }
.reveal3d-dot.is-active { background: var(--white); transform: scale(1.7);
  box-shadow: 0 0 11px 1px rgba(247,240,232,0.65), 0 2px 7px rgba(0,0,0,0.6); }


/* immagine inline nello step: visibile SOLO su mobile (desktop usa la media sticky) */
.reveal3d-step-media { display: none; }

/* MOBILE = stile skylrk: l'immagine GALLEGGIA su un alone soffuso e il TESTO sta sotto, INSIEME.
   Blocchi impilati, scroll normale. Niente sticky né pallini su mobile. Desktop invariato (override sotto). */
@media (max-width: 899px) {
  .reveal3d-media { display: none; }
  .reveal3d-stage { padding: 0 var(--space-3); }
  .reveal3d-step {
    min-height: auto; opacity: 1; padding: var(--space-3) 0 var(--space-7);
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-2);
  }
  .reveal3d-step-media {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 100%; max-width: 340px; aspect-ratio: 1 / 1; margin: 0 auto var(--space-2);
  }
  /* alone "isola di vetro" dietro all'immagine */
  .reveal3d-step-media::before {
    content: ""; position: absolute; inset: 4%; border-radius: 28px; z-index: 0;
    background: radial-gradient(circle at 50% 45%, rgba(247,240,232,0.13), rgba(247,240,232,0.03) 55%, transparent 72%);
    filter: blur(16px);
  }
  /* foto incorniciate: clip per contenere lo zoom dentro la cornice */
  .reveal3d-step-media:not(.is-clear) { overflow: hidden; border-radius: 20px; border: 1px solid rgba(247,240,232,0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 22px 50px -24px rgba(0,0,0,0.6); }
  .reveal3d-step-media img {
    position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover;
    background: #0a0a0b; will-change: transform; transform-origin: center;
  }
  /* slot con 2 immagini in loop (uomo/donna): l'alternativa deve SOVRAPPORSI, non impilarsi.
     Regola piu' specifica di ".reveal3d-step-media img" (che forzava position:relative). */
  .reveal3d-step-media .reveal3d-alt { position: absolute; inset: 0; z-index: 2; }
  /* slot "persone": riquadro in 4:5 (piu' verticale del quadrato) su mobile */
  .reveal3d-step-media.reveal-portrait { aspect-ratio: 4 / 5; max-width: 300px; }
  /* prima immagine: cappello trasparente che galleggia, senza cornice */
  .reveal3d-step-media.is-clear img {
    object-fit: contain; background: transparent;
    filter: drop-shadow(0 18px 40px rgba(0,0,0,0.5));
  }
  .reveal3d-k { margin-top: var(--space-1); }
  .reveal3d-t { margin-left: auto; margin-right: auto; }
  /* pallini: riattivati su mobile, evidenziano lo step al centro mentre scorri */
  .reveal3d-dots { right: 12px; }
}

@media (min-width: 900px) {
  .reveal3d { padding: var(--space-8) 0; }
  .reveal3d-stage { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: start; }
  /* desktop: quadrato GRANDE di vetro, sticky e centrato nella colonna sinistra (INVARIATO) */
  .reveal3d-media { position: sticky; top: 12vh; height: auto; aspect-ratio: 1/1; max-height: 82svh; width: 100%; margin: 0; align-self: start; }
  .reveal3d-steps { padding: 12vh 0; }
  .reveal3d-step { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }
}

/* ============================================================
   2b. HOOK — il gancio (micro-sezione tipografica dopo l'hero)
   ============================================================ */
.hook { background: var(--black-deep); padding: var(--space-8) var(--space-3); display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.hook-inner { max-width: 920px; margin: 0 auto; text-align: center; }
.hook-line { font-family: var(--font-sans); font-weight: var(--w-thin); font-size: 30px; line-height: 1.15; letter-spacing: normal; color: var(--white); }
.hook-line em { font-style: normal; font-weight: var(--w-black); }
.hook-line-2 { margin-top: var(--space-3); font-size: 17px; line-height: 1.5; letter-spacing: normal; color: var(--white-soft); }
.hook-list { list-style: none; padding: 0; margin: var(--space-2) 0 0; }
.hook-list li { font-size: 17px; line-height: 1.7; letter-spacing: normal; color: var(--white-soft); }
.hook-strike { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .55; }

/* ============================================================
   3. WHY2 — perché (editoriale condensato)
   ============================================================ */
.why2 { background-color: var(--twill-base); background-image: var(--twill); background-size: 160px 160px, auto, auto; padding: var(--space-8) var(--space-3); }
.why2-intro { max-width: 760px; margin: 0 auto var(--space-7); text-align: center; }
.why2-lead { font-size: var(--fs-lg); font-weight: var(--w-light); line-height: 1.4; }
.why2-strike { text-decoration: line-through; text-decoration-thickness: 1px; opacity: .5; }
.why2-turn { margin-top: var(--space-3); font-size: var(--fs-md); color: var(--white-soft); }
.why2-turn strong { color: var(--white); font-weight: var(--w-black); }
.why2-rows { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-4); }
.why2-row { padding: var(--space-4); border: 1px solid var(--hairline); border-radius: 16px; background: rgba(255,255,255,0.015); }
.why2-tag { display: block; font-size: var(--fs-xs); letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--white); font-weight: var(--w-bold); margin-bottom: 0.6rem; }
.why2-txt { font-size: var(--fs-md); color: var(--white-soft); }
.why2-close { text-align: center; margin-top: var(--space-7); font-size: var(--fs-lg); color: var(--white-soft); }

@media (min-width: 768px) {
  .why2-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
}

/* ============================================================
   3. STORIA — Montappone (blocco a scorrimento orizzontale)
   ============================================================ */
.hstory { background: var(--black-deep); padding: var(--space-7) 0 var(--space-6); }
.hstory-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0 5vw var(--space-3); }
.hstory-eye { font-size: var(--fs-xs); letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--white-dim); }
.hstory-hint { font-size: 0.72rem; letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--white-soft); display: inline-flex; align-items: center; gap: 0.5em; }
.hstory-hint i { width: 26px; height: 1px; background: var(--white-soft); position: relative; display: inline-block; }
.hstory-hint i::after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-top: 1px solid var(--white-soft); border-right: 1px solid var(--white-soft); transform: rotate(45deg); }

.htrack { display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  padding: 0 5vw var(--space-3); scrollbar-width: none; -ms-overflow-style: none; cursor: grab; }
.htrack::-webkit-scrollbar { display: none; }
.htrack.is-drag { cursor: grabbing; scroll-snap-type: none; }

.hpanel { position: relative; flex: 0 0 86vw; max-width: 880px; height: 74svh; min-height: 440px;
  scroll-snap-align: center; border-radius: 6px; overflow: hidden; background: var(--black-soft); }
.hpanel-bg { position: absolute; inset: 0; background: url('/img/montappone/_ph.svg') center/cover no-repeat; filter: grayscale(.2) brightness(.62); }
.hpanel-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.86) 0%, rgba(0,0,0,.25) 48%, rgba(0,0,0,.15) 100%); }
.hpanel-in { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1.4rem, 4vw, 2.6rem); }
.hpanel-eye { font-size: 0.74rem; letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--white-dim); margin-bottom: 0.7rem; }
.hpanel-big { font-weight: var(--w-thin); font-size: 30px; line-height: 1.15; letter-spacing: normal; max-width: 24ch; }
.hpanel-big b { font-weight: var(--w-black); }
.hpanel-body { margin-top: 0.9rem; font-size: 17px; line-height: 1.6; color: var(--white-soft); max-width: 46ch; }
.hpanel--name .hpanel-in { justify-content: center; align-items: center; text-align: center; }
.hpanel-name { font-weight: var(--w-black); font-size: 30px; letter-spacing: normal; line-height: 1.1; }
/* Sottotitolo del pannello 2: stesso font, dimensione e peso del testo degli altri pannelli
   (.hpanel-body) — richiesta Gianluca, call 25/7. */
.hpanel-sub { margin-top: 0.6rem; font-weight: var(--w-thin); font-size: 17px; line-height: 1.6; letter-spacing: normal; text-transform: none; color: var(--white-soft); }
.hpanel--end { background: var(--black-deep); }
.hpanel--end .hpanel-in { justify-content: center; align-items: center; text-align: center; }
.hpanel--end .hpanel-big { max-width: 18ch; }
.hpanel-onesto { margin-top: 1.1rem; font-weight: var(--w-thin); font-size: 17px; letter-spacing: normal; color: var(--white); }
.hpanel-pay { margin-top: 1.4rem; font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--white-soft); }

/* MOBILE — foto sopra intera + testo sotto (Gianluca, call 25/7).
   Prima la foto era fondo a tutta card in portrait: veniva tagliata e il testo sopra era illeggibile.
   Le foto Montappone sono 16:9 → con la banda in aspect-ratio 16/9 si vedono per intero, zero crop. */
@media (max-width: 767px) {
  .hpanel { height: auto; min-height: 0; }
  .hpanel-bg { position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 9;
    background-position: center; filter: grayscale(.1) brightness(.95); }
  .hpanel-scrim { display: none; }
  .hpanel-in { position: relative; inset: auto; justify-content: flex-start;
    background: var(--black-soft); padding: 1.3rem 1.2rem 1.6rem; }
  .hpanel--name .hpanel-in, .hpanel--end .hpanel-in { align-items: flex-start; text-align: left; }
  /* Pannello di chiusura: non ha foto, quindi riempie tutta l'altezza della riga (i pannelli si
     allineano al più alto) e centra il testo in verticale. */
  .hpanel--end .hpanel-in { height: 100%; justify-content: center; }
  .hpanel-big, .hpanel-name { font-size: 26px; }
  .hpanel-big { max-width: none; }
  .hpanel-body { max-width: none; }
}

.hdots { display: flex; gap: 8px; justify-content: center; padding: 0.2rem 0 0; }
.hdot { width: 7px; height: 7px; border-radius: 50%; background: rgba(247,240,232,.28); transition: transform .3s, background .3s; }
.hdot.is-active { background: var(--white); transform: scale(1.5); }

/* ============================================================
   3b. VALUE PROPOSITION — poco prima del drop
   ============================================================ */
.valueprop { background: var(--black-deep); padding: var(--space-8) var(--space-3); display: flex; align-items: center; justify-content: center; min-height: 70vh; }
.valueprop-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.valueprop-q { font-family: var(--font-sans); font-weight: var(--w-thin); font-size: var(--fs-xl); line-height: 1.15; letter-spacing: var(--tracking-squeeze); color: var(--white); }
.valueprop-strike { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .5; }
.valueprop-body { margin-top: var(--space-4); font-size: var(--fs-md); color: var(--white-soft); max-width: 56ch; margin-left: auto; margin-right: auto; line-height: 1.5; }
.valueprop-punch { margin-top: var(--space-5); font-family: var(--font-sans); font-weight: var(--w-thin); font-size: 20px; line-height: 1.2; letter-spacing: normal; color: var(--white-soft); }
.valueprop-punch .strong { font-weight: var(--w-black); color: var(--white); }

/* ============================================================
   6. FAQ — accordion nativo <details>
   ============================================================ */
.faq { background: var(--twill-base); background-image: var(--twill); background-size: 160px 160px, auto, auto; padding: var(--space-8) var(--space-3); }
.faq-title { text-align: center; font-weight: var(--w-thin); font-size: 30px; letter-spacing: normal; margin-bottom: var(--space-6); }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--hairline); }
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-q { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  padding: var(--space-4) var(--space-1); font-size: 20px; font-weight: var(--w-semi); color: var(--white); }
.faq-q::-webkit-details-marker { display: none; }
.faq-ico { position: relative; flex: 0 0 auto; width: 14px; height: 14px; }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; background: var(--white-soft); transition: transform .3s var(--ease-out-expo), opacity .3s ease; }
.faq-ico::before { top: 6px; left: 0; width: 14px; height: 2px; }            /* — */
.faq-ico::after  { top: 0; left: 6px; width: 2px; height: 14px; }            /* | */
.faq-item[open] .faq-ico::after { transform: scaleY(0); opacity: 0; }        /* → diventa − */
.faq-a { overflow: hidden; padding: 0 var(--space-1) var(--space-4); color: var(--white-soft); font-size: 17px; line-height: 1.6; max-width: 64ch; }
/* Seconda frase della risposta (es. cos'è la certificazione GOTS): stessa tipografia e stesso
   colore del paragrafo sopra — cambia solo lo stacco verticale (Gianluca, 26/07). */
.faq-note { margin-top: 0.9rem; }

/* ============================================================
   5. PRISM — chiusura "Launching soon"
   ============================================================ */
.prism {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-5); background: #000; text-align: center; padding: var(--space-7) var(--space-3);
}
.prism-wm { display: flex; flex-direction: column; align-items: center; gap: 0.3em; }
.prism-stage { position: relative; display: flex; flex-direction: column; align-items: center; }
/* cubo di vetro WebGL che rifrange il testo */
.prism-canvas {
  /* Il limite di altezza entra nel calcolo della LARGHEZZA, non come max-height:
     con `max-height` il box veniva troncato in altezza mentre la larghezza restava,
     il rapporto 560/820 saltava e il testo rifratto usciva dai bordi — sembrava
     tagliato (segnalato 07/08, succede su ogni finestra piu' bassa di ~870px).
     Cosi' il rapporto e' sempre rispettato e il cubo si rimpicciolisce e basta. */
  width: min(86vw, 380px, calc(64vh * 560 / 820));
  aspect-ratio: 560 / 820;
  display: block; background: #000;
}
.prism-fallback {
  display: none; font-size: var(--fs-xl); font-weight: var(--w-black);
  text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--white);
}
/* titolo reale solo per SEO/screen-reader (il testo è già nel video) */
.prism-title-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ============================================================
   5b. SUBSCRIBE — iscrizione alla lista privilegiata
   Vive DENTRO .prism, fra il wordmark e il cubo di vetro.
   ============================================================ */
.subscribe {
  width: min(560px, 92vw);
  display: flex; flex-direction: column; align-items: center;
  gap: var(--space-2);
  text-align: center;
}
.subscribe-title {
  font-weight: var(--w-bold); letter-spacing: -0.4px; line-height: 1.25;
  font-size: clamp(1.35rem, 4.6vw, 2rem); color: var(--white);
}
.subscribe-sub {
  font-size: 17px; font-weight: var(--w-light); line-height: 1.5;
  color: var(--white-soft); max-width: 42ch;
}
.subscribe-form { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 0.7rem; margin-top: var(--space-1); }

/* Campo a pillola: stesso vetro dei pulsanti liquidi (le .form-row rettangolari
   di landing.css sono il residuo del design precedente e stonerebbero qui). */
.subscribe-field {
  display: flex; align-items: center; width: min(420px, 100%);
  border: 1px solid rgba(247,240,232,0.55);
  border-radius: 999px;
  background: rgba(247,240,232,0.06);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
  padding: 3px;
  transition: border-color .35s ease;
}
/* Niente outline blu di sistema: il campo attivo si segnala col proprio bordo. */
.subscribe-field:focus-within { border-color: rgba(247,240,232,0.9); }
.subscribe-input {
  flex: 1; min-width: 0; min-height: 46px; padding: 0 1.1rem;
  background: transparent; border: none; color: var(--white);
  font-family: var(--font-sans); font-size: 16px; font-weight: var(--w-light);
}
.subscribe-input::placeholder { color: var(--white-dim); }
.subscribe-input:focus { outline: none; }
.subscribe-submit {
  position: relative; flex-shrink: 0;
  width: 46px; height: 46px; display: grid; place-items: center;
  border: none; border-radius: 999px;
  background: var(--white); color: var(--black);
  font-size: 1.15rem; cursor: pointer; overflow: hidden;
  transition: opacity .3s ease, transform .3s ease;
}
.subscribe-submit:hover { transform: scale(1.06); }
.subscribe-submit:disabled { opacity: .45; cursor: default; transform: none; }

.subscribe-msg { font-size: var(--fs-sm); min-height: 1.4em; color: var(--white-soft); }
.subscribe-msg.is-error { color: #E89A8A; }
.subscribe-privacy { font-size: var(--fs-xs); color: var(--white-dim); line-height: 1.6; max-width: 46ch; }
.subscribe-privacy a { color: var(--white-soft); text-decoration: underline; text-underline-offset: 2px; }
.subscribe-privacy a:hover { color: var(--white); }
.subscribe-turnstile { display: flex; justify-content: center; }

/* Conferma inline (nessun popup): il campo esce, il segno di spunta si disegna. */
.subscribe-form.is-done .subscribe-field,
.subscribe-form.is-done .subscribe-turnstile { display: none; }
.subscribe-done { display: none; flex-direction: column; align-items: center; gap: 0.65rem; }
.subscribe-form.is-done .subscribe-done { display: flex; }
.subscribe-check { width: 34px; height: 34px; color: var(--white); }
.subscribe-check circle, .subscribe-check path {
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: subCheck .75s var(--ease-out-expo) forwards;
}
.subscribe-check path { animation-delay: .28s; }
@keyframes subCheck { to { stroke-dashoffset: 0; } }
.subscribe-done-text {
  font-size: 17px; font-weight: var(--w-light); color: var(--white);
  opacity: 0; animation: subFade .6s ease .5s forwards;
}
@keyframes subFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ============================================================
   REDUCED MOTION — degrada tutto a statico/leggibile
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .liquid-blob, .hero3d-cloud, .hero3d-drag, .hero3d-scroll-line::after { animation: none !important; }
  .hero3d-drag { opacity: .6; transform: none; }
  .reveal3d-fig { opacity: 1 !important; position: relative; transform: none; transition: none; }
  .reveal3d-media { position: relative; height: auto; }
  .reveal3d-fig:not(.is-active) { display: none; }
  /* la conferma dell'iscrizione resta leggibile, senza disegno ne' dissolvenza */
  .subscribe-check circle, .subscribe-check path { animation: none; stroke-dashoffset: 0; }
  .subscribe-done-text { animation: none; opacity: 1; }
}

/* ============================================================
   NIENTE CAPS LOCK nei contenuti (Gianluca, call 03/07).
   Azzera text-transform:uppercase su copy/label/pulsanti/eyebrow.
   Il logo wordmark (.wm-main/.wm-sub) NON e incluso: resta com'e.
   ============================================================ */
.navmenu-item,
.liquid-cta, .liquid-cta-label,
.hero3d-drag, .hero3d-badge, .hero3d-scroll-txt,
.reveal3d-eyebrow,
.hstory-eye, .hstory-hint, .hpanel-eye, .hpanel-sub, .hpanel-pay,
.drop-eyebrow, .drop-title,
.tier .tname, .tier .vemail, .tier .done, .tier .tbadge,
.tbtn, .dl-name, .countdown-label,
.tier-priv > summary {
  text-transform: none;
}
