/* =========================================================
   FATTORE ANSALDI — stylesheet condiviso
   Palette e tipografia: identità brand esistente (invariate)
   Struttura pensata per rimappare 1:1 sui moduli Divi 5
   ---------------------------------------------------------
   INDICE
   00. Design tokens
   01. Reset & base
   02. Effetti globali (grain, progress, loader)
   03. Navigazione
   04. Hero (homepage)
   05. Sezioni & shell
   06. Manifesto
   07. About / progetto
   08. Vini (rail + duello)
   09. Tenuta
   10. Pagina prodotto (PDP)
   11. Footer
   12. Modal / age gate
   13. Reveal & accessibilità
   14. Responsive
   ========================================================= */

/* ---------- 00. DESIGN TOKENS ---------- */
:root {
  --cream: #F5F1E9;
  --cream-2: #EAE4D8;
  --ink: #121212;
  --wine: #871F3D;
  --lime: #BDE040;
  --blue: #405EA7;

  --muted: #3a352f;
  --muted-2: #6b6358;

  --serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --disp: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --disp-weight: 900;
  /* Inter Tight ultra bold */

  /* Hero homepage "Questioni di vino" — personalizzabili.
     Cambia qui oppure sovrascrivi nel Builder (Design > Testo intestazione).
     Le regole sotto usano queste variabili senza !important sulla misura,
     così il Builder vince se imposti una misura lì. */
  --hero-l1-size: clamp(3rem, 12.5vw, 12rem);
  --hero-l2-size: clamp(3rem, 12.5vw, 12rem);
  --hero-l1-ls: -.02em;
  --hero-l2-ls: -.03em;
  --hero-l1-lh: .84;
  --hero-l2-lh: .9;
  --hero-h1-margin: 20px 0 6px;
  --hero-h1-gap: -.02em;

  /* Scala headings (desktop → tablet → mobile).
     La hero (homepage) ha una scala propria e non usa questi token. */
  --h1: 70px;
  --h2: 52px;
  --h3: 40px;
  --h4: 30px;
  --h5: 24px;
  --h6: 20px;

  /* Floor di leggibilità per il testo funzionale (label, tag, breadcrumb, legalese). */
  --fs-xs: .6875rem;
  /* 11px */

  --ease: cubic-bezier(.22, 1, .36, 1);

  /* accent pagina prodotto: sovrascritto per singolo vino */
  --accent: var(--wine);
  --accent-soft: rgba(135, 31, 61, .12);

  /* Ruoli text-safe (colorize).
     L'accent vivo resta per grafica/decorazione (bordi, ombre, halo, display);
     queste varianti derivano dalla stessa tinta e garantiscono WCAG AA
     quando il colore porta TESTO piccolo. */
  --accent-ink: var(--accent);
  /* accent per testo su superfici chiare; per-vino se serve */
  --lime-on-blue: #D4EA6E;
  /* lime su --blue → 4.68:1 */
  --blue-2: #DCE4F5;
  /* testo secondario su --blue → 4.87:1 */
  --on-ink-2: #C9C3B8;
  /* testo secondario su --ink → 10.69:1 */

  --maxw: 1240px;
  --gutter: clamp(20px, 6vw, 80px);
}

/* ---------- 01. RESET & BASE ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%
}

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  /* dove supportato non crea un contenitore di scroll su body */
}

body.no-scroll {
  overflow: hidden
}

/* Scala headings: i token sono sovrascritti nei breakpoint (§14).
   Le heading "etichetta" (kicker, gruppi scheda, colonne footer, age gate)
   mantengono la propria micro-dimensione più sotto, per specificità. */
h1 {
  font-size: var(--h1)
}

h2 {
  font-size: var(--h2)
}

h3 {
  font-size: var(--h3)
}

h4 {
  font-size: var(--h4)
}

h5 {
  font-size: var(--h5)
}

h6 {
  font-size: var(--h6)
}

::selection {
  background: var(--lime);
  color: var(--ink)
}

img {
  display: block;
  max-width: 100%
}

/* Fallback webp via <picture>: il wrapper non deve alterare il layout,
   l'<img> resta l'elemento che partecipa al layout (flex/grid/assoluto). */
picture {
  display: contents
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font-family: inherit
}

:focus-visible {
  outline: 3px solid var(--wine);
  outline-offset: 3px
}

/* Indicatore focus su superfici scure: --wine non raggiunge 3:1 su --ink. */
.sec.dark :focus-visible,
.about :focus-visible,
.legend :focus-visible,
footer :focus-visible {
  outline-color: var(--lime)
}

.skip {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 500;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: translateY(-200%);
  transition: transform .25s var(--ease);
}

.skip:focus {
  transform: translateY(0)
}

.wrap {
  width: min(var(--maxw), 92%);
  margin: 0 auto;
  position: relative;
  z-index: 3
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0
}

/* ---------- 02. GLOBAL FX ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: radial-gradient(rgba(0, 0, 0, .5) .5px, transparent .5px);
  background-size: 3px 3px;
}

#progress {
  /* La barra vive sempre sopra la nav fissa, che da "scrolled" ha fondo cream:
     il lime (1.34:1 su cream) sarebbe illeggibile, il wine no (8.13:1). */
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--wine);
  z-index: 210;
  transform: scaleX(0);
  transform-origin: 0 50%;
}

@supports (animation-timeline: scroll()) {
  #progress {
    animation: progress linear both;
    animation-timeline: scroll(root block)
  }

  @keyframes progress {
    from {
      transform: scaleX(0)
    }

    to {
      transform: scaleX(1)
    }
  }
}

/* loader */
#loader {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 26px;
  transition: transform .9s var(--ease);
  /* Rete di sicurezza: lo splash si chiude comunque, anche se il JS non parte. */
  animation: loaderOut .9s var(--ease) 1.7s forwards;
}

@keyframes loaderOut {
  to {
    transform: translateY(-101%)
  }
}

#loader.done {
  transform: translateY(-101%)
}

#loader img {
  width: min(360px, 60vw)
}

#loader .bar {
  width: min(360px, 60vw);
  height: 2px;
  background: rgba(245, 241, 233, .2);
  overflow: hidden
}

#loader .bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--lime);
  animation: load 1.4s var(--ease) forwards
}

@keyframes load {
  to {
    width: 100%
  }
}

#loader .tag {
  font-size: var(--fs-xs);
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--lime)
}

/* ---------- 03. NAVIGAZIONE ---------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}

nav.scrolled {
  background: rgba(245, 241, 233, .9);
  backdrop-filter: blur(12px);
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0 1px 0 rgba(18, 18, 18, .1)
}

/* Senza JS il sentinel non viene osservato e la nav resterebbe trasparente sopra le sezioni
   scure, con i link ink su ink. Fallback opaco: senza blur serve più densità. */
html:not(.js) nav {
  background: rgba(245, 241, 233, .96)
}

.logo img {
  height: 50px;
  width: auto;
  transform-origin: left center;
  transition: transform .4s var(--ease)
}

nav.scrolled .logo img {
  transform: scale(.81)
}

.menu {
  display: flex;
  gap: clamp(16px, 3vw, 36px);
  align-items: center
}

.menu a {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  padding: 4px 0
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s var(--ease)
}

.menu a[aria-current]::after {
  transform: scaleX(1)
}

.menu .cta {
  border: 1.5px solid var(--ink);
  padding: 10px 18px;
  border-radius: 100px;
  transition: .3s var(--ease)
}

.menu .cta::after {
  display: none
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--ink);
  background: transparent;
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  z-index: 160
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ink);
  transition: .3s var(--ease)
}

.menu-toggle span:nth-child(1) {
  top: 16px
}

.menu-toggle span:nth-child(2) {
  top: 22px
}

.menu-toggle span:nth-child(3) {
  top: 28px
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg)
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg)
}

/* ---------- 04. HERO ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px var(--gutter) 230px;
  background: var(--cream);
}

.hero .torus {
  position: absolute;
  top: 50%;
  right: -4%;
  width: min(52vw, 660px);
  transform: translateY(-50%);
  z-index: 1;
  animation: spin 40s linear infinite
}

.hero .burst {
  position: absolute;
  left: -6%;
  top: 12%;
  width: min(34vw, 420px);
  z-index: 1;
  animation: spin 26s linear infinite reverse
}

.hero .eq {
  position: absolute;
  right: 12%;
  bottom: 8%;
  z-index: 2;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(5rem, 18vw, 15rem);
  line-height: 1;
  color: var(--blue);
}

.hero-bottles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none
}

.hero-bottles .bottle {
  position: absolute;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) rotate(var(--r, 0deg))
}

.hero-bottles .bottle img {
  height: 100%;
  width: auto;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 26px 34px rgba(18, 18, 18, .22));
  animation: floaty 8s ease-in-out infinite;
}

.hero-bottles .b1 {
  left: 1%;
  bottom: 4%;
  height: clamp(240px, 46vh, 560px);
  --r: -11deg
}

.hero-bottles .b1 img {
  animation-duration: 9.5s
}

.hero-bottles .b2 {
  right: 17%;
  bottom: 2%;
  height: clamp(180px, 34vh, 420px);
  --r: 9deg
}

.hero-bottles .b2 img {
  animation-duration: 11s;
  animation-delay: .8s
}

.hero-bottles .b3 {
  right: 1%;
  top: 15%;
  height: clamp(150px, 26vh, 320px);
  --r: 14deg
}

.hero-bottles .b3 img {
  animation-duration: 8.5s;
  animation-delay: 1.6s
}

.hero-bottles .b4 {
  right: 3%;
  top: 45%;
  left: auto;
  height: clamp(120px, 20vh, 250px);
  --r: 7deg
}

.hero-bottles .b4 img {
  animation-duration: 10.5s;
  animation-delay: .4s
}

.hero-bottles .b5 {
  left: 46%;
  top: 12%;
  height: clamp(150px, 28vh, 340px);
  --r: 8deg
}

.hero-bottles .b5 img {
  animation-duration: 9s;
  animation-delay: 1.1s
}

.hero-bottles .b6 {
  left: 57%;
  top: 38%;
  height: clamp(130px, 22vh, 280px);
  --r: -13deg
}

.hero-bottles .b6 img {
  animation-duration: 11.5s;
  animation-delay: .2s
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0) rotate(-4deg)
  }

  50% {
    transform: translateY(-26px) rotate(4deg)
  }
}

@keyframes floatyY {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-16px)
  }
}

@keyframes faPdpFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-2deg)
  }

  50% {
    transform: translateY(-22px) rotate(2deg)
  }
}

.hero-photos {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none
}

.hero-photos .ph {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 6px solid var(--cream);
  outline: 2px solid var(--ink);
  box-shadow: 14px 16px 0 rgba(18, 18, 18, .85);
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) rotate(var(--r, 0deg));
}

.hero-photos .ph-anim {
  display: block;
  width: 100%;
  height: 100%;
  animation: floatyY 9s ease-in-out infinite
}

.hero-photos .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.07)
}

.hero-photos figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px 8px;
  font-size: var(--fs-xs);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cream);
  background: linear-gradient(transparent, rgba(18, 18, 18, .85));
}

.hero-photos .p1 {
  left: 0;
  top: 12%;
  width: clamp(140px, 14vw, 210px);
  aspect-ratio: 4/5;
  --r: -7deg;
  z-index: 1
}

.hero-photos .p1 .ph-anim {
  animation-duration: 10s
}

.hero-photos .p2 {
  left: 84%;
  top: 12%;
  width: clamp(130px, 13vw, 205px);
  aspect-ratio: 3/4;
  --r: 6deg;
  z-index: 2
}

.hero-photos .p2 .ph-anim {
  animation-duration: 11.5s;
  animation-delay: .7s
}

.hero-photos .p3 {
  left: 78%;
  top: 54%;
  width: clamp(120px, 12vw, 190px);
  aspect-ratio: 1/1;
  --r: -4deg;
  z-index: 1
}

.hero-photos .p3 .ph-anim {
  animation-duration: 9s;
  animation-delay: 1.4s
}

.hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 700;
  position: relative;
  z-index: 3
}

.hero-copy .eyebrow::before {
  content: "";
  width: 44px;
  height: 2px;
  background: var(--wine)
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: min(1080px, 92vw);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center
}

.hero-copy h1 {
  position: relative;
  z-index: 3;
  margin: var(--hero-h1-margin);
  width: 100%
}

.hero-copy h1 .l1 {
  display: block;
  font-family: var(--disp);
  font-weight: var(--disp-weight);
  font-size: var(--hero-l1-size);
  line-height: var(--hero-l1-lh);
  letter-spacing: var(--hero-l1-ls);
  text-transform: uppercase;
}

.hero-copy h1 .l2 {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: var(--hero-l2-size);
  line-height: var(--hero-l2-lh);
  letter-spacing: var(--hero-l2-ls);
  color: var(--wine);
  margin-top: var(--hero-h1-gap);
  padding-bottom: .06em;
}

.hero-copy .sub {
  position: relative;
  z-index: 3;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 300;
  max-width: 48ch;
  color: var(--muted);
  margin-top: 22px
}

.hero-copy .sub b {
  font-weight: 600;
  color: var(--ink)
}

.hero-copy .hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 34px;
  position: relative;
  z-index: 3
}

.hero .scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 190px;
  z-index: 3;
  font-size: var(--fs-xs);
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-2);
  writing-mode: vertical-rl
}

.hero .ribbon.lime {
  bottom: 132px
}

.hero .ribbon.ink {
  bottom: 64px
}

/* bottoni */
.btn {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 15px 24px;
  border: 2px solid var(--ink);
  background: transparent;
  cursor: pointer;
  transition: .25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.btn.solid {
  background: var(--ink);
  color: var(--cream)
}

.btn.accent {
  border-color: var(--accent)
}

.btn[disabled] {
  opacity: .5;
  pointer-events: none
}

/* ---------- 05. SEZIONI ---------- */
.sec {
  position: relative;
  padding: clamp(90px, 13vw, 170px) 0;
  overflow: hidden
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(50px, 8vw, 90px);
  position: relative;
  z-index: 3
}

.sec-head .idx {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--wine)
}

.sec-head h2 {
  font-family: var(--disp);
  font-weight: var(--disp-weight);
  font-size: var(--h2);
  line-height: .9;
  letter-spacing: -.02em;
  margin-top: 10px
}

.sec-head h2 em {
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  color: var(--wine)
}

.sec-head .note {
  font-size: .9rem;
  color: var(--muted);
  max-width: 34ch;
  font-weight: 300
}

.sec-head .sec-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.35;
  color: var(--muted);
  max-width: 40ch;
  text-align: right
}

.sec.dark {
  background: var(--ink);
  color: var(--cream)
}

.sec.dark .idx {
  color: var(--lime)
}

.sec.dark h2 {
  color: var(--cream)
}

.sec.dark h2 em {
  color: var(--lime)
}

.sec.dark .note,
.sec.dark .sec-lead {
  color: var(--on-ink-2)
}

.sec.blue {
  background: var(--blue);
  color: var(--cream)
}

/* nastri marquee */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  display: flex
}

.marquee span {
  display: inline-block;
  padding-right: 2.5rem;
  font-weight: 500;
  padding-top: 5px;
  padding-bottom: 5px;
  letter-spacing: -.01em;
  animation: scroll 22s linear infinite;
  font-size: clamp(1rem, 2vw, 1.6rem);
  text-transform: uppercase;
}

@keyframes scroll {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-100%)
  }
}

.ribbon {
  position: absolute;
  left: -5%;
  width: 110%;
  padding: 12px 0;
  z-index: 2;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.ribbon.lime {
  background: var(--lime);
  color: var(--ink);
  transform: none
}

.ribbon.ink {
  background: var(--ink);
  color: var(--cream);
  transform: none
}

.ribbon.ink span {
  color: var(--cream)
}

/* ---------- 06. MANIFESTO ---------- */
.man-grid {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
  position: relative;
  z-index: 3
}

.man-copy p.man-statement {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.2vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--ink);
  max-width: 24ch;
  margin-bottom: 1em
}

.man-copy p.man-statement .x {
  color: var(--blue);
  font-style: italic
}

.man-copy p.man-statement em {
  color: var(--wine);
  font-style: italic
}

.man-copy p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: var(--muted);
  max-width: 54ch
}

.man-copy p+p {
  margin-top: 1.2em
}

.man-photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border: 2px solid var(--ink);
  min-height: 440px;
  align-self: stretch
}

.man-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease)
}

.man-photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-size: var(--fs-xs);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cream);
  text-shadow: 0 1px 14px rgba(0, 0, 0, .85)
}

.promise {
  margin-top: clamp(60px, 8vw, 110px);
  position: relative;
  z-index: 3;
  background: var(--ink);
  color: var(--cream);
  padding: clamp(34px, 5vw, 70px);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  line-height: 1.3;
  letter-spacing: -.01em;
  max-width: 60ch;
}

.promise::before {
  content: "\201C";
  position: absolute;
  top: -.1em;
  left: .1em;
  font-size: 6em;
  color: var(--lime);
  opacity: .5;
  line-height: 1
}

.promise b {
  color: var(--lime);
  font-weight: 600
}

/* ---------- 07. ABOUT ---------- */
.about {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden
}

.about .giant {
  position: absolute;
  right: -12%;
  top: 50%;
  transform: translateY(-50%);
  width: min(58vw, 720px);
  opacity: .06;
  z-index: 1
}

.about .burst {
  position: absolute;
  left: -8%;
  bottom: -12%;
  width: min(34vw, 420px);
  z-index: 1;
  opacity: .9
}

.about .title {
  font-family: var(--disp);
  font-weight: var(--disp-weight);
  font-size: var(--h2);
  line-height: .9;
  letter-spacing: -.02em;
  margin: 18px 0 44px;
  max-width: 16ch;
  position: relative;
  z-index: 3
}

.about .title em {
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  color: var(--lime)
}

.about .kicker {
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 700;
  position: relative;
  z-index: 3
}

.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.6fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  position: relative;
  z-index: 3
}

.about .portrait {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245, 241, 233, .22)
}

.about .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.1) contrast(1.03)
}

.about .cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 52px)
}

.about p {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 300;
  color: #ddd7cc;
  max-width: 52ch
}

.about p+p {
  margin-top: 1.4em
}

.about .statement {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--cream);
  max-width: 30ch
}

.about .sig {
  margin-top: 50px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem
}

.about .sig span {
  display: block;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lime);
  font-family: var(--sans);
  font-style: normal;
  margin-top: 6px
}

/* ---------- 08. VINI ---------- */
.wines {
  background: var(--cream)
}

.rail {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px var(--gutter) 30px;
  position: relative;
  z-index: 3;
  scrollbar-width: thin;
  scrollbar-color: var(--ink) rgba(18, 18, 18, .12)
}

.rail::-webkit-scrollbar {
  height: 8px
}

.rail::-webkit-scrollbar-thumb {
  background: var(--ink)
}

.rail::-webkit-scrollbar-track {
  background: rgba(18, 18, 18, .12)
}

.wcard {
  display: flex;
  flex-direction: column;
  scroll-snap-align: center;
  flex: 0 0 min(84vw, 440px);
  border: 2px solid var(--ink);
  background: var(--cream);
  position: relative;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.wcard .stage {
  height: clamp(380px, 46vw, 520px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 34px 22px;
  overflow: hidden;
  background: radial-gradient(80% 60% at 50% 100%, var(--wine-soft, rgba(135, 31, 61, .12)), transparent 70%)
}

.wcard img {
  height: 100%;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .7s var(--ease)
}

.wcard .info {
  padding: 22px;
  border-top: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  flex: 1
}

.wcard .tag {
  font-size: var(--fs-xs);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 700
}

.wcard h3 {
  font-family: var(--disp);
  font-weight: var(--disp-weight);
  font-size: var(--h3);
  line-height: .95;
  margin: 4px 0 6px
}

.wcard .grapes {
  font-size: .82rem;
  color: var(--muted)
}

.wcard .poem {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.4
}

.wcard .open {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: var(--fs-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700
}

.wcard .open::after {
  content: "\2192";
  transition: transform .3s var(--ease)
}

/* duello */
.duel {
  margin-top: clamp(50px, 7vw, 90px);
  background: var(--cream-2);
  border: 2px solid var(--ink);
  padding: clamp(26px, 4vw, 50px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  position: relative;
  z-index: 3
}

.duel h3 {
  font-family: var(--disp);
  font-weight: var(--disp-weight);
  font-size: var(--h3);
  line-height: 1
}

.duel p {
  font-size: .95rem;
  color: var(--muted);
  margin-top: 8px;
  max-width: 46ch
}

.duel .ctrl {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.duel .coin {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px dashed rgba(18, 18, 18, .3);
  padding-top: 26px
}

.duel .num {
  font-family: var(--disp);
  font-weight: var(--disp-weight);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  min-width: 2ch;
  color: var(--ink)
}

.duel .verdict {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem)
}

.duel .verdict b {
  font-style: normal;
  font-family: var(--disp);
  font-weight: var(--disp-weight);
  text-transform: uppercase
}

/* ---------- 09. TENUTA ---------- */
.tenuta {
  background: var(--blue);
  color: var(--cream)
}

.tenuta .burst {
  position: absolute;
  top: -16%;
  right: -9%;
  width: min(30vw, 360px);
  z-index: 1;
  opacity: .22
}

.tenuta .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center
}

.tenuta .kicker {
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--lime-on-blue);
  font-weight: 700
}

.tenuta h2 {
  font-family: var(--disp);
  font-weight: var(--disp-weight);
  font-size: var(--h2);
  line-height: .92;
  margin: 18px 0 30px
}

.tenuta h2 em {
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  color: var(--lime-on-blue)
}

.tenuta p {
  font-weight: 300;
  color: #e8edf7;
  max-width: 50ch;
  font-size: 1.05rem
}

.tenuta p+p {
  margin-top: 1.3em
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px)
}

.stat {
  border-top: 3px solid var(--lime-on-blue);
  padding-top: 16px
}

.stat .num {
  font-family: var(--disp);
  font-weight: var(--disp-weight);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1
}

.stat .num em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--lime-on-blue)
}

.stat .lab {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-2);
  margin-top: 6px
}

.photopair {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(60px, 8vw, 110px);
  position: relative;
  z-index: 3
}

.photopair figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background: var(--ink)
}

.photopair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease)
}

.photopair figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-size: var(--fs-xs);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cream);
  text-shadow: 0 1px 14px rgba(0, 0, 0, .8)
}

/* ---------- 10. PAGINA PRODOTTO (PDP) ---------- */
.breadcrumb {
  position: absolute;
  top: 96px;
  left: var(--gutter);
  z-index: 4;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: var(--fs-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-2)
}

.breadcrumb a:hover {
  color: var(--wine)
}

.breadcrumb .sep {
  opacity: .5
}

.pdp {
  background: var(--cream);
  padding: 185px 0 clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden
}

.pdp::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 55% at 78% 42%, var(--accent-soft), transparent 70%);
  z-index: 0
}

.pdp-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center
}

.pdp-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: clamp(420px, 64vh, 640px)
}

/* Halo rimosso su richiesta */
.pdp-stage .halo {
  display: none
}

.pdp-stage img {
  position: relative;
  z-index: 1;
  height: clamp(400px, 62vh, 620px);
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 30px 40px rgba(18, 18, 18, .25));
  will-change: transform;
  animation: faPdpFloat 6s ease-in-out infinite
}

.pdp-stage .disc {
  position: absolute;
  z-index: 0;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  width: min(80%, 460px);
  height: 26px;
  background: rgba(18, 18, 18, .16);
  border-radius: 50%;
  filter: blur(14px)
}

.pdp-meta .pdp-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .7rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-ink)
}

.pdp-meta .pdp-tag::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--accent)
}

.pdp h1 {
  font-family: var(--disp);
  font-weight: var(--disp-weight);
  font-size: var(--h1);
  line-height: .9;
  letter-spacing: -.02em;
  margin: 16px 0 10px
}

.pdp .grapes {
  font-size: .9rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500
}

.pdp .poem {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.45;
  color: var(--muted);
  margin: 26px 0 0;
  max-width: 42ch;
  border-left: 4px solid var(--accent);
  padding-left: 22px
}

.pdp-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px
}

.pdp .factbar {
  display: flex;
  gap: clamp(18px, 3vw, 38px);
  flex-wrap: wrap;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(18, 18, 18, .14)
}

.pdp .fact .k {
  font-size: var(--fs-xs);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700
}

.pdp .fact .v {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.1;
  margin-top: 2px
}

/* legenda / storia */
.legend {
  background: var(--ink);
  color: var(--cream)
}

.legend .wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center
}

.legend .kicker {
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 700
}

.legend h2 {
  font-family: var(--disp);
  font-weight: var(--disp-weight);
  font-size: var(--h2);
  line-height: .92;
  margin: 16px 0 26px
}

.legend h2 em {
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  color: var(--lime)
}

.legend p {
  font-weight: 300;
  color: #ddd7cc;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 56ch
}

.legend p+p {
  margin-top: 1.3em
}

.legend .lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.3;
  color: var(--cream);
  max-width: 34ch
}

/* scheda tecnica — card raggruppate (no tabella riga-per-riga) */
.spec-wrap {
  position: relative;
  z-index: 3
}

.spec-groups {
  display: grid;
  gap: clamp(24px, 3vw, 40px)
}

.spec-group {}

.spec-group>h3 {
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent-ink);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px
}

.spec-group>h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(18, 18, 18, .14)
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px
}

.spec-item {
  background: var(--cream-2);
  border: 1px solid rgba(18, 18, 18, .12);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px
}

.spec-item .k {
  font-size: var(--fs-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700
}

.spec-item .v {
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.35
}

.spec-item .v em {
  font-family: var(--serif);
  font-style: italic
}

/* degustazione */
.tasting {
  background: var(--blue);
  color: var(--cream)
}

.tasting .kicker {
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--lime-on-blue);
  font-weight: 700
}

.tasting h2 {
  font-family: var(--disp);
  font-weight: var(--disp-weight);
  font-size: var(--h2);
  line-height: .92;
  margin: 16px 0 40px
}

.tasting h2 em {
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  color: var(--lime-on-blue)
}

.tasting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 34px)
}

.tasting-card {
  border-top: 3px solid var(--lime-on-blue);
  padding-top: 20px
}

.tasting-card h3 {
  font-size: .7rem;
  letter-spacing: .22em;
  color: var(--lime-on-blue);
  font-weight: 800;
  margin-bottom: 12px
}

.tasting-card p {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.45;
  color: #eef2fb
}

.tasting-note {
  margin-top: 36px;
  font-size: .78rem;
  color: var(--blue-2);
  font-style: italic
}

/* altri vini — stessa veste della sezione "4 anime, una storia" */
.others {
  background: var(--cream);
  color: var(--ink)
}

.others .sec-head h2 {
  color: var(--ink)
}

.others .sec-head h2 em {
  color: var(--wine)
}

.others .idx {
  color: var(--wine)
}

.others .note {
  color: var(--muted)
}

.others .rail {
  padding-bottom: 10px
}

.others .wcard {
  background: var(--cream);
  color: var(--ink)
}

/* ---------- 11. FOOTER ---------- */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden
}

.foot-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 3
}

.foot-brand img {
  width: min(360px, 70vw)
}

.foot-brand small {
  display: block;
  font-size: .7rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 600;
  margin-top: 16px
}

.foot-col h3 {
  font-size: .7rem;
  letter-spacing: .2em;
  color: #b8b0a0;
  margin-bottom: 14px;
  font-weight: 700
}

.foot-col a,
.foot-col p {
  display: block;
  font-weight: 300;
  margin-bottom: 8px;
  color: #ddd7cc
}

.foot-col a:hover {
  color: var(--lime)
}

.foot-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .75rem;
  color: #8d877c;
  position: relative;
  z-index: 3
}

.foot-marquee {
  border-top: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  margin-top: 50px
}

.foot-marquee .marquee span {
  font-family: var(--disp);
  font-weight: var(--disp-weight);
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  color: var(--lime);
  text-transform: uppercase
}

/* ---------- 12. MODAL / AGE GATE ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 350;
  display: none
}

.modal.open {
  display: block
}

.modal .backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, .65);
  backdrop-filter: blur(5px);
  animation: fade .3s var(--ease)
}

.modal .panel {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(1000px, 94%);
  height: min(90vh, 740px);
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  overflow: hidden;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .7);
  animation: up .45s var(--ease);
  border: 2px solid var(--ink)
}

@keyframes fade {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes up {
  from {
    opacity: 0;
    transform: translateY(28px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.modal .close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lime);
  border: 2px solid var(--ink);
  cursor: pointer;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  z-index: 3;
  transition: .3s
}

.modal .close:hover {
  background: var(--ink);
  color: var(--cream);
  transform: rotate(90deg)
}

/* age gate */
.agegate {
  position: fixed;
  inset: 0;
  z-index: 420;
  background: var(--ink);
  display: none;
  place-items: center;
  padding: 24px
}

.agegate.open {
  display: grid
}

.agegate[hidden] {
  display: none
}

.agegate .card {
  width: min(520px, 100%);
  background: var(--cream);
  border: 2px solid var(--ink);
  padding: clamp(30px, 6vw, 56px);
  text-align: center;
  box-shadow: 16px 16px 0 var(--lime)
}

.agegate .card img {
  width: min(280px, 70%);
  margin: 0 auto 22px
}

.agegate .card h2 {
  font-family: var(--disp);
  font-weight: var(--disp-weight);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1
}

.agegate .card p {
  font-size: .95rem;
  color: var(--muted);
  margin: 14px 0 26px
}

.agegate .card .row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap
}

.agegate .card .msg {
  font-family: var(--serif);
  font-style: italic;
  color: var(--wine);
  margin-top: 18px;
  min-height: 1.4em
}

.agegate .legal {
  margin-top: 22px;
  font-size: var(--fs-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2)
}

/* ---------- 12b. HOVER / TOUCH ----------
   Gli stati :hover valgono solo dove il dispositivo li supporta davvero: su touch
   resterebbero "appiccicosi" dopo il tap. Per il touch, feedback su :active. */
@media (hover:hover) {
  .menu a:hover::after {
    transform: scaleX(1)
  }

  .menu .cta:hover {
    background: var(--lime);
    border-color: var(--lime);
    transform: rotate(-2deg)
  }

  .btn:hover {
    background: var(--ink);
    color: var(--cream);
    transform: translateY(-3px)
  }

  .btn.solid:hover {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--ink)
  }

  .btn.accent:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--cream)
  }

  .man-photo:hover img {
    transform: scale(1.05)
  }

  .photopair figure:hover img {
    transform: scale(1.05)
  }

  .wcard:hover {
    transform: translateY(-10px) rotate(-1deg);
    box-shadow: 14px 14px 0 var(--lime)
  }

  .wcard:nth-child(even):hover {
    box-shadow: 14px 14px 0 var(--blue)
  }

  .wcard:hover img {
    transform: translateY(-10px) scale(1.03)
  }

  .wcard:hover .open::after {
    transform: translateX(5px)
  }
}

@media (hover:none) {
  .btn:active {
    background: var(--ink);
    color: var(--cream);
    transform: translateY(-3px)
  }

  .btn.solid:active {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--ink)
  }

  .menu .cta:active {
    background: var(--lime);
    border-color: var(--lime);
    transform: rotate(-2deg)
  }

  .wcard:active {
    transform: translateY(-10px) rotate(-1deg);
    box-shadow: 14px 14px 0 var(--lime)
  }

  .man-photo:active img {
    transform: scale(1.05)
  }
}

/* Target di tocco sui link secondari quando il puntatore è grossolano. */
@media (pointer:coarse) {
  .foot-col a {
    padding: 12px 0
  }
}

/* ---------- 13. REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease)
}

.reveal.in {
  opacity: 1;
  transform: none
}

html:not(.js) .reveal {
  opacity: 1;
  transform: none
}

/* rimosso il custom cursor: accessibilità + performance */

/* ---------- 14. RESPONSIVE ---------- */
@media(max-width:900px) {
  /* Scala headings — tablet */
  :root {
    --h1: 56px;
    --h2: 44px;
    --h3: 34px;
    --h4: 28px;
    --h5: 22px;
    --h6: 19px
  }

  .menu {
    gap: 0
  }

  .menu-toggle {
    display: block
  }

  .menu {
    position: fixed;
    inset: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    transform: translateY(-102%);
    visibility: hidden;
    transition: transform .5s var(--ease), visibility .5s var(--ease);
    z-index: 155;
  }

  .menu.open {
    transform: none;
    visibility: visible
  }

  .menu a {
    font-size: 1.1rem;
    letter-spacing: .1em;
    padding: 10px 0
  }

  .menu a::after {
    display: none
  }

  .menu .cta {
    font-size: 1rem;
    border-radius: 0;
    padding: 14px 26px
  }

  .man-grid,
  .tenuta .wrap,
  .duel,
  .about-grid,
  .legend .wrap {
    grid-template-columns: 1fr
  }

  .photopair {
    grid-template-columns: 1fr
  }

  .man-photo {
    min-height: 340px
  }

  .sec-head {
    flex-direction: column;
    align-items: flex-start
  }

  .sec-head .sec-lead {
    text-align: left;
    max-width: none
  }

  .hero .torus {
    opacity: .5
  }

  .hero-bottles .b3,
  .hero-bottles .b5,
  .hero-bottles .b6 {
    display: none
  }

  /* Ziparu resta in scena anche su tablet, in alto a sinistra. */
  .hero-bottles .b4 {
    display: block;
    left: 2%;
    right: auto;
    top: 8%;
    height: clamp(90px, 16vh, 160px);
    --r: -8deg
  }

  .hero-bottles .b1 {
    height: clamp(200px, 36vh, 400px)
  }

  .hero-bottles .b2 {
    height: clamp(160px, 28vh, 320px);
    right: 8%
  }

  .hero-photos .p1 {
    left: auto;
    right: 4%;
    top: 9%;
    width: clamp(130px, 30vw, 210px)
  }

  .hero-photos .p2 {
    left: auto;
    right: 34%;
    top: auto;
    bottom: 24%;
    width: clamp(110px, 24vw, 170px)
  }

  .hero-photos .p3 {
    display: none
  }

  .modal .panel {
    grid-template-columns: 1fr;
    height: 94vh
  }

  .pdp-inner {
    grid-template-columns: 1fr
  }

  .pdp-stage {
    order: -1;
    min-height: clamp(340px, 52vh, 460px)
  }

  .pdp-stage img {
    height: clamp(320px, 46vh, 420px)
  }

  .tasting-grid {
    grid-template-columns: 1fr
  }
}

@media(max-width:560px) {
  /* Scala headings — mobile */
  :root {
    --h1: 42px;
    --h2: 34px;
    --h3: 28px;
    --h4: 24px;
    --h5: 20px;
    --h6: 18px
  }

  .spec-grid {
    grid-template-columns: 1fr
  }

  .hero {
    padding-top: 110px
  }

  .hero-copy {
    max-width: 100%
  }

  .hero-copy h1 .l1,
  .hero-copy h1 .l2 {
    font-size: clamp(2.5rem, 14.5vw, 3.8rem)
  }

  .hero-bottles .b4,
  .hero-bottles .b3,
  .hero-bottles .b5,
  .hero-bottles .b6 {
    display: none
  }

  .hero-bottles .b1 {
    height: clamp(130px, 26vh, 210px)
  }

  .hero-bottles .b2 {
    display: block;
    height: clamp(100px, 18vh, 160px);
    right: 2%
  }

  .hero-photos {
    display: none
  }

  .stats {
    grid-template-columns: 1fr 1fr
  }

  .pdp .factbar {
    gap: 18px
  }
}

/* ---------- PREFERS-REDUCED-MOTION ---------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important
  }

  .marquee span {
    animation: none
  }

  .hero .torus,
  .hero .burst,
  .hero-bottles .bottle img,
  .hero-photos .ph-anim {
    animation: none
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important
  }

  #progress {
    display: none
  }

  #loader {
    animation-delay: 0s
  }
}

/* ---------- STAMPA ---------- */
@media print {

  .grain,
  #progress,
  nav,
  .agegate,
  .modal,
  .foot-marquee,
  .hero-bottles,
  .hero-photos {
    display: none
  }

  body {
    background: #fff
  }
}