/* ==========================================================================
   Gambino Vini — stile
   Palette e font: vedi DIREZIONE.md
   ========================================================================== */

:root {
  --lava: #0D0B0A;
  --cenere: #26221F;
  --vino: #8E1B2A;
  --vino-hover: #A3253A;
  --crema: #F2ECE3;
  --crema-2: #EAE3D7;
  --pietra: #E4DBCD;
  --linea: #CFC4B4;
  --inchiostro: #1A1715;
  --testo-2: #6B635B;
  --testo-2-dark: #A79E94;

  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(20px, 6vw, 96px);
  --header-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--lava);
  color: var(--crema);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;   /* clip: non rompe gli elementi fissati in Safari */
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { list-style: none; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--vino); outline-offset: 3px; }
::selection { background: var(--vino); color: var(--crema); }

.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;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  background: var(--crema); color: var(--inchiostro); padding: 10px 16px;
}
.skip:focus { top: 16px; }

/* ---------- Tipografia ---------- */
h1, h2, .chapter__title, .gallery__title, .strip__title, .half__title, .land__quote {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.04;
}
h2 { font-size: clamp(34px, 4.6vw, 64px); }
h2 em, h1 em, .chapter__title em, .gallery__title em, .strip__title em, h3 em { font-style: italic; }

.label {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.5;
}
[data-tone="light"] .label { color: var(--testo-2); }
[data-tone="dark"] .label { color: var(--testo-2-dark); }

/* ---------- Pulsanti e link ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  height: 50px; padding: 0 28px;
  border-radius: 999px;
  background: var(--vino); color: var(--crema);
  font-size: 14px; font-weight: 500; letter-spacing: .04em;
  border: 1px solid transparent;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--vino-hover); }
.btn--light { background: var(--crema); color: var(--inchiostro); }
.btn--light:hover { background: #fff; }
.btn--ghost { background: transparent; color: var(--inchiostro); border-color: var(--inchiostro); }
.btn--ghost:hover { background: var(--inchiostro); color: var(--crema); }
.btn--ghost-light { background: transparent; color: var(--crema); border-color: rgba(242,236,227,.7); }
.btn--sm { height: 40px; padding: 0 20px; font-size: 13px; }

.link {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: 14px; font-weight: 500; letter-spacing: .03em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size .5s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link--light { color: var(--crema); }

/* ==========================================================================
   INTRO
   ========================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 200;
  pointer-events: auto;
}
.intro__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
html.js .intro { background: var(--crema); }
html.js .intro.is-drawing { background: none; }
.intro__count {
  position: absolute; right: var(--gutter); bottom: 32px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em;
  color: var(--inchiostro);
}
html:not(.js) .intro { display: none; }
.intro.is-done { display: none; }

/* Bottiglia 3D fissa sopra la pagina */
.bottle3d {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 60; pointer-events: none;
  visibility: hidden; opacity: 0;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
  color: var(--crema);
  transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease);
  border-bottom: 1px solid transparent;
}
.header[data-tone="light"] {
  background: rgba(242,236,227,.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--inchiostro);
  border-bottom-color: rgba(26,23,21,.08);
}
.header__nav { display: flex; gap: 30px; font-size: 13.5px; letter-spacing: .03em; }
.header__nav a, .header__link { position: relative; opacity: .9; transition: opacity .3s; }
.header__nav a:hover, .header__link:hover { opacity: 1; }
.header__nav a::after, .header__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.header__nav a:hover::after, .header__link:hover::after { transform: scaleX(1); transform-origin: left; }
.header__brand { display: block; width: 150px; }
.header__brand svg { width: 100%; height: auto; display: block; fill: currentColor; }
.header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 28px; font-size: 13.5px; letter-spacing: .03em; }
.header__menu { display: none; align-items: center; gap: 12px; justify-self: end; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.header__menu-icon { width: 22px; height: 8px; position: relative; }
.header__menu-icon::before, .header__menu-icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease);
}
.header__menu-icon::before { top: 0; }
.header__menu-icon::after { bottom: 0; }
.header__menu[aria-expanded="true"] .header__menu-icon::before { transform: translateY(3.25px) rotate(45deg); }
.header__menu[aria-expanded="true"] .header__menu-icon::after { transform: translateY(-3.25px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--lava); color: var(--crema);
  padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu[hidden] { display: none; }
.menu ul { display: grid; gap: 6px; }
.menu li a { font-family: var(--f-display); font-size: clamp(34px, 9vw, 52px); line-height: 1.15; }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; background: #050404; }
html.js .hero { height: 520vh; }
html.js .hero.is-static { height: 100vh; height: 100svh; }
.hero__sticky {
  position: relative; top: 0;   /* fissato dall'animazione (GSAP pin), non da CSS sticky */ height: 100vh; height: 100svh; overflow: hidden;
  background: #050404 url("assets/poster.jpg") center / cover no-repeat;
}
html.js .hero__sticky { background-image: none; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,4,4,.72) 0%, rgba(5,4,4,.25) 45%, rgba(5,4,4,0) 70%),
    linear-gradient(0deg, rgba(5,4,4,.6) 0%, rgba(5,4,4,0) 40%);
}
.hero__fade { position: absolute; inset: 0; background: #050404; opacity: 0; pointer-events: none; display: none; }
html.has-bottle3d .hero__fade { display: block; }
.hero__copy {
  position: absolute; left: var(--gutter); bottom: clamp(48px, 12vh, 120px);
  width: min(860px, calc(100% - 2 * var(--gutter)));
}
.hero__copy .label { margin-bottom: 22px; }
.hero__title { font-size: clamp(40px, 5.4vw, 80px); line-height: 1.02; }
.type { font-style: italic; color: #E9C9B2; }
.type__cursor {
  display: inline-block; width: .42em; height: .78em; margin-left: .08em;
  background: var(--vino); vertical-align: -.04em;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero__lead { margin-top: 22px; max-width: 470px; color: rgba(242,236,227,.82); font-size: 16.5px; }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }

.hero__chapters { position: absolute; right: var(--gutter); bottom: clamp(48px, 14vh, 140px); width: min(360px, 40vw); }
.chapter { position: absolute; right: 0; bottom: 0; width: 100%; opacity: 0; visibility: hidden; }
.chapter .label { margin-bottom: 14px; color: #E9C9B2; }
.chapter__title { font-size: clamp(28px, 2.8vw, 42px); }
.chapter__text { margin-top: 14px; font-size: 15.5px; color: rgba(242,236,227,.8); }

.hero__rail {
  position: absolute; right: 26px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 140px; background: rgba(242,236,227,.2);
}
.hero__rail-fill { position: absolute; inset: 0; background: var(--crema); transform-origin: top; transform: scaleY(0); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(242,236,227,.7);
  padding-top: 34px;
}
.hero__scroll::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 26px; background: rgba(242,236,227,.6);
  transform-origin: top; animation: drip 2.2s var(--ease) infinite;
}
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero.is-static .hero__chapters, .hero.is-static .hero__rail, .hero.is-static .hero__scroll { display: none; }

/* ==========================================================================
   COLLEZIONE (carosello bottiglie)
   ========================================================================== */
.collection {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 36px) 0 48px;
  background: linear-gradient(180deg, #050404 0%, #1E1B19 22%, #2A2624 55%, #1A1715 100%);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.collection__head { padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.collection__head h2 { font-size: clamp(30px, 3vw, 44px); }
.collection__head .label { width: 100%; }

.carousel { position: relative; flex: 1; min-height: clamp(320px, 48vh, 580px); margin-top: 16px; touch-action: pan-y; cursor: grab; user-select: none; }
.carousel.is-dragging { cursor: grabbing; }
.carousel__track {
  position: absolute; top: 0; bottom: 0; left: 0;
  display: flex; align-items: center;
  transition: transform 1s var(--ease);
  will-change: transform;
}
.carousel.is-dragging .carousel__track { transition: none; }
.bottle {
  --w: clamp(150px, 17vw, 270px);
  flex: 0 0 var(--w); width: var(--w); height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: opacity .6s var(--ease);
}
.bottle.is-hidden { display: none; }
.bottle__btn { height: 82%; display: flex; align-items: center; justify-content: center; position: relative; }
.bottle__btn img {
  height: 100%; width: auto; max-width: none;
  transform: scale(.78);
  filter: grayscale(.85) brightness(.42) contrast(1.05);
  transition: transform 1.1s var(--ease), filter 1.1s var(--ease);
  pointer-events: none;
}
.bottle__btn::after {
  content: ""; position: absolute; left: 50%; bottom: 6%; width: 46%; height: 18px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0,0,0,.55), rgba(0,0,0,0));
  z-index: -1; opacity: .5; transition: opacity 1s var(--ease);
}
.bottle:not(.is-active) .bottle__btn:hover img { filter: grayscale(.5) brightness(.6); }
.bottle.is-active .bottle__btn img { transform: scale(1.06) rotate(-9deg); filter: none; }
.bottle.is-active .bottle__btn::after { opacity: 1; }

.carousel__arrow {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(242,236,227,.28);
  transition: background .4s var(--ease), border-color .4s var(--ease), opacity .4s;
}
.carousel__arrow:hover { background: rgba(242,236,227,.08); border-color: rgba(242,236,227,.6); }
.carousel__arrow[disabled] { opacity: .2; pointer-events: none; }
.carousel__arrow--prev { left: var(--gutter); }
.carousel__arrow--next { right: var(--gutter); }
.carousel__arrow svg, .round svg, .sheet__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }

.collection__meta { text-align: center; display: grid; justify-items: center; gap: 14px; padding: 0 var(--gutter); }
.collection__caption { min-height: 64px; }
.collection__name { font-family: var(--f-display); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; }
.collection__area { margin-top: 6px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--testo-2-dark); }
.collection__dots { display: flex; gap: 8px; }
.collection__dots span { width: 5px; height: 5px; border-radius: 50%; background: rgba(242,236,227,.25); transition: background .4s, transform .4s; }
.collection__dots span.is-active { background: var(--crema); transform: scale(1.3); }
.collection__open { margin-top: 4px; }

.collection__filters {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 48px;
  display: flex; justify-content: space-between; pointer-events: none;
}
.pill { pointer-events: auto; position: relative; display: inline-flex; }
.pill::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px;
  border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor;
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.filter {
  appearance: none; -webkit-appearance: none;
  height: 40px; padding: 0 44px 0 20px; border-radius: 999px;
  background: transparent; color: var(--crema);
  border: 1px solid rgba(242,236,227,.35);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer;
}
.filter:hover { border-color: rgba(242,236,227,.7); }
.filter option { color: var(--inchiostro); background: var(--crema); }

/* ---------- Scheda vino (dialog) ---------- */
.sheet {
  width: min(1180px, calc(100% - 32px)); max-width: none;
  height: min(820px, calc(100% - 48px)); max-height: none;
  padding: 0; border: 0; border-radius: 4px;
  background: var(--crema); color: var(--inchiostro);
  overflow: hidden;
}
.sheet::backdrop { background: rgba(13,11,10,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet[open] { animation: sheetIn .8s var(--ease); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(30px); } }
.sheet__close {
  position: absolute; top: 18px; right: 18px; z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--crema); border: 1px solid var(--linea);
}
.sheet__close:hover { background: var(--pietra); }
.wine { display: grid; grid-template-columns: 1fr 1.1fr; height: 100%; }
.wine[hidden] { display: none; }
.wine__visual {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 60%, color-mix(in srgb, var(--tint, #8E1B2A) 22%, var(--crema)) 0%, var(--pietra) 70%);
  display: grid; place-items: center;
}
.wine__grapes { position: absolute; width: 78%; max-width: 520px; opacity: .55; left: 50%; top: 50%; transform: translate(-50%, -50%); mix-blend-mode: multiply; }
.wine__bottle { position: relative; height: 82%; width: auto; transform: rotate(-6deg); filter: drop-shadow(0 30px 30px rgba(26,23,21,.25)); }
.wine__body { overflow-y: auto; padding: 64px 56px 48px; overscroll-behavior: contain; }
.wine__name { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 4vw, 60px); line-height: 1; margin-top: 14px; }
.wine__tagline { font-family: var(--f-display); font-style: italic; font-size: 21px; margin: 12px 0 22px; color: var(--vino); }
.wine__body > p:not(.label):not(.wine__tagline):not(.wine__award) { color: #3A3430; }
.specs { margin-top: 30px; border-top: 1px solid var(--linea); }
.specs div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--linea); font-size: 15px; }
.specs dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--testo-2); padding-top: 3px; }
.wine__award { margin-top: 22px; font-size: 14px; padding: 14px 16px; background: var(--crema-2); border-left: 2px solid var(--vino); }
.wine__actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }

/* ==========================================================================
   SEZIONI CHIARE — base
   ========================================================================== */
.method, .land, .gallery, .family, .reviews, .news, .strip { background: var(--crema); color: var(--inchiostro); }
.experiences { background: var(--crema-2); color: var(--inchiostro); }
.method, .land, .family, .experiences, .reviews, .news { padding: clamp(96px, 13vw, 180px) var(--gutter); }

/* ---------- Metodo ---------- */
.method__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; }
.method__head .label { grid-column: 1 / -1; }
.method__lead { color: var(--testo-2); max-width: 520px; }
.method__grid { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.accordion { border-bottom: 1px solid var(--linea); }
.acc { border-top: 1px solid var(--linea); }
.acc h3 { font-weight: 400; }
.acc button {
  width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 26px 0; text-align: left;
  font-family: var(--f-display); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15;
  transition: color .4s;
}
.acc button:hover { color: var(--vino); }
.acc__num { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; color: var(--testo-2); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.acc__panel > p { overflow: hidden; color: var(--testo-2); max-width: 460px; }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc.is-open .acc__panel > p { padding-bottom: 28px; }
.method__media { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--pietra); }
.method__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(100% 0 0 0); transform: scale(1.08);
  transition: clip-path 1.2s var(--ease), transform 1.6s var(--ease);
}
.method__media img.is-active { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 1; }
.method__media img.was-active { clip-path: inset(0 0 0 0); z-index: 0; }

/* ---------- Territorio ---------- */
.land { padding-bottom: clamp(80px, 10vw, 140px); }
.land__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 64px; align-items: end; }
.land__head .label { grid-column: 1 / -1; }
.land__title { font-size: clamp(56px, 10vw, 168px); line-height: .92; letter-spacing: -0.03em; }
.land__lead { color: var(--testo-2); max-width: 500px; }
.stats { margin-top: clamp(64px, 8vw, 110px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { border-top: 1px solid var(--inchiostro); padding-top: 22px; }
.stat__value { font-family: var(--f-display); font-size: clamp(48px, 5vw, 76px); line-height: 1; letter-spacing: -0.02em; }
.stat__value small { font-size: .38em; margin-left: .2em; letter-spacing: 0; }
.stat__text { margin-top: 14px; font-size: 15px; color: var(--testo-2); max-width: 260px; }

.land__wide { margin: clamp(80px, 10vw, 140px) calc(-1 * var(--gutter)) 0; }
.land__wide-frame { position: relative; height: clamp(420px, 88vh, 900px); overflow: hidden; }
.land__wide-frame img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; }
.land__wide figcaption { padding: 16px var(--gutter) 0; }

.land__story { margin-top: clamp(80px, 10vw, 140px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px 80px; align-items: start; }
.land__quote { font-style: italic; font-size: clamp(28px, 2.8vw, 42px); line-height: 1.18; }
.land__cols { display: grid; gap: 22px; color: var(--testo-2); }

.varietals { margin-top: clamp(80px, 10vw, 140px); display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 1px solid var(--inchiostro); }
.varietal { padding: 34px 0 10px; }
.varietal h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3vw, 46px); line-height: 1.05; margin: 14px 0 14px; }
.varietal > p:last-child { color: var(--testo-2); max-width: 420px; }
.varietals__note { grid-column: 1 / -1; margin-top: 40px; padding: 26px 30px; background: var(--crema-2); font-size: 15.5px; max-width: 880px; }

/* ---------- Galleria orizzontale ---------- */
.gallery { overflow: hidden; }
.gallery__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: calc(var(--header-h) + 8px) 0 40px; }
.gallery__head { padding: 0 var(--gutter); display: flex; align-items: baseline; gap: 28px; }
.gallery__title { font-size: clamp(30px, 3.4vw, 50px); }
.gallery__track { display: flex; gap: 22px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.g { height: min(60vh, 600px); flex: 0 0 auto; }
.g--l { aspect-ratio: 3 / 2; }
.g--p { aspect-ratio: 2 / 3; }
.g img { width: 100%; height: calc(100% - 30px); object-fit: cover; }
.g figcaption { margin-top: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--testo-2); }

/* ---------- Famiglia ---------- */
.family__intro { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.family__portrait { aspect-ratio: 2 / 3; overflow: hidden; }
.family__portrait img { width: 100%; height: 100%; object-fit: cover; }
.family__text h2 { margin: 18px 0 28px; }
.family__lead { font-family: var(--f-display); font-size: clamp(21px, 1.8vw, 26px); line-height: 1.35; margin-bottom: 22px; }
.family__text > p:last-child { color: var(--testo-2); max-width: 520px; }

.timeline { margin-top: clamp(96px, 11vw, 160px); display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; border-top: 1px solid var(--inchiostro); padding-top: 30px; }
.tl__year { font-family: var(--f-display); font-size: clamp(32px, 2.8vw, 44px); line-height: 1; letter-spacing: -0.02em; }
.tl h3 { font-family: var(--f-mono); font-size: 11.5px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; margin: 18px 0 10px; }
.tl > p:last-child { font-size: 14.5px; color: var(--testo-2); line-height: 1.55; }

.family__team { margin-top: clamp(96px, 11vw, 160px); }
.family__team img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 45%; }
.family__team figcaption { margin-top: 18px; display: flex; gap: 24px; align-items: baseline; color: var(--testo-2); font-size: 15px; }
.family__faces { margin-top: 22px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.family__faces img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.2); transition: filter .6s var(--ease); }
.family__faces img:hover { filter: none; }

/* ---------- Esperienze ---------- */
.experiences__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.experiences__head h2 { margin-top: 16px; }
.experiences__nav { display: flex; gap: 10px; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--inchiostro); display: grid; place-items: center; transition: background .4s var(--ease), color .4s var(--ease); }
.round:hover { background: var(--inchiostro); color: var(--crema); }
.cards {
  margin: 56px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter);
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}
.cards::-webkit-scrollbar { display: none; }
.card { flex: 0 0 clamp(270px, 25vw, 360px); scroll-snap-align: start; }
.card__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--pietra); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.badge { position: absolute; left: 14px; top: 14px; background: var(--inchiostro); color: var(--crema); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; }
.card h3 { font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 1.1; margin: 22px 0 10px; }
.card p { font-size: 15px; color: var(--testo-2); margin-bottom: 18px; }
.experiences__note { margin-top: 40px; font-size: 14px; color: var(--testo-2); }

/* ---------- Wine Club ---------- */
.club { position: relative; min-height: 100vh; display: flex; align-items: flex-end; padding: 140px var(--gutter) clamp(56px, 9vw, 110px); overflow: hidden; color: var(--crema); }
.club__bg { position: absolute; inset: -10% 0; }
.club__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.club::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(13,11,10,.86) 0%, rgba(13,11,10,.5) 45%, rgba(13,11,10,.1) 80%), linear-gradient(0deg, rgba(13,11,10,.6), rgba(13,11,10,0) 50%); }
.club__content { position: relative; z-index: 2; max-width: 560px; }
.club__content h2 { font-size: clamp(44px, 6vw, 92px); margin: 16px 0 22px; }
.club__lead { color: rgba(242,236,227,.85); }
.club__perks { margin: 34px 0 40px; border-top: 1px solid rgba(242,236,227,.25); }
.club__perks li { padding: 14px 0; border-bottom: 1px solid rgba(242,236,227,.25); font-size: 15px; color: rgba(242,236,227,.8); }
.club__perks span { display: block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--crema); margin-bottom: 2px; }

/* ---------- Recensioni ---------- */
.reviews__head h2 { margin-top: 16px; }
.reviews__grid { margin-top: 56px; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.award img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 50% 30%; }
.award figcaption { margin-top: 20px; }
.award__line { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--linea); }
.award__line strong { font-family: var(--f-display); font-weight: 400; font-size: 21px; }
.award__line span { font-size: 14px; color: var(--testo-2); }
.quotes { display: grid; gap: 0; border-top: 1px solid var(--linea); }
.quote { padding: 36px 0; border-bottom: 1px solid var(--linea); }
.quote blockquote { margin: 0; font-family: var(--f-display); font-style: italic; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.3; }
.quote__by { margin-top: 16px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--testo-2); }
.reviews__more { margin-top: 40px; }

/* ---------- News ---------- */
.news { padding-top: 0; }
.news__head h2 { margin-top: 16px; }
.news__list { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.news__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.news__item h3 { font-family: var(--f-display); font-weight: 400; font-size: 23px; line-height: 1.15; margin: 18px 0 8px; }
.news__item p { font-size: 14.5px; color: var(--testo-2); }
.news__press { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 20px; align-items: baseline; font-family: var(--f-display); font-size: 20px; }

/* ---------- Fascia + pannelli ---------- */
.strip { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px 40px; padding: 48px var(--gutter); border-top: 1px solid var(--linea); }
.strip__title { font-size: clamp(26px, 2.6vw, 38px); }
.strip__tags { grid-column: 1; color: var(--testo-2); }
.strip__tags span { margin: 0 8px; opacity: .5; }
.strip .btn { grid-column: 2; grid-row: 1 / 3; }
.halves { display: grid; grid-template-columns: 1fr 1fr; }
.half { position: relative; min-height: clamp(520px, 92vh, 900px); overflow: hidden; display: flex; align-items: flex-end; color: var(--crema); }
.half img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.half::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(13,11,10,.82) 0%, rgba(13,11,10,.25) 50%, rgba(13,11,10,.05) 100%); }
.half:hover img { transform: scale(1.04); }
.half__text { position: relative; z-index: 2; padding: clamp(28px, 4vw, 56px); max-width: 520px; }
.half__title { font-size: clamp(36px, 3.8vw, 58px); margin-bottom: 14px; }
.half__text p:not(.half__title) { color: rgba(242,236,227,.85); font-size: 15.5px; margin-bottom: 26px; }
.half:hover .btn--ghost-light { background: var(--crema); color: var(--inchiostro); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--lava); color: var(--crema); padding: clamp(80px, 10vw, 140px) var(--gutter) 36px; }
.footer__top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: end; padding-bottom: 64px; border-bottom: 1px solid rgba(242,236,227,.14); }
.footer__logo { width: min(520px, 100%); height: auto; fill: var(--crema); }
.footer__claim { color: var(--testo-2-dark); max-width: 520px; font-size: 15.5px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 56px 0; font-size: 15px; }
.footer__cols .label { margin-bottom: 18px; }
.footer__cols p + p { margin-top: 14px; }
.footer__cols address { margin-bottom: 14px; }
.footer__cols a:not(.link):hover { color: #E9C9B2; }
.footer__list { display: grid; gap: 6px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 28px; border-top: 1px solid rgba(242,236,227,.14); font-size: 13px; color: var(--testo-2-dark); }
.footer__bottom a:hover { color: var(--crema); }
.footer__credit { flex-basis: 100%; font-size: 12px; opacity: .8; }
.footer__credit a { text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   Animazioni d'ingresso (attive solo con JS)
   ========================================================================== */
html.js .rv { opacity: 0; transform: translateY(40px); }
html.js .rv-img { clip-path: inset(12% 6% 12% 6%); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .header__nav { gap: 20px; }
  .header__actions { gap: 18px; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .news__list { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header { grid-template-columns: 1fr auto; }
  .header__nav, .header__actions { display: none; }
  .header__brand { width: 124px; }
  .header__menu { display: inline-flex; }

  .hero__copy { bottom: 88px; }
  .hero__chapters { left: var(--gutter); right: var(--gutter); width: auto; bottom: 88px; }
  .hero__rail { right: 12px; height: 100px; }

  .collection { padding-bottom: 40px; }
  .carousel { min-height: 50vh; margin-top: 12px; }
  .bottle { --w: 34vw; }
  .carousel__arrow { width: 44px; height: 44px; }
  .collection__filters { position: static; order: 3; justify-content: center; gap: 12px; margin-top: 26px; }

  .wine { grid-template-columns: 1fr; grid-template-rows: auto 1fr; overflow-y: auto; }
  .wine__visual { height: 42vh; min-height: 300px; }
  .wine__body { overflow: visible; padding: 36px 24px 40px; }
  .specs div { grid-template-columns: 1fr; gap: 4px; }

  .method__head, .land__head, .land__story, .family__intro, .reviews__grid, .method__grid, .footer__top { grid-template-columns: 1fr; }
  .method__media { aspect-ratio: 4 / 3.4; order: -1; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .varietals { grid-template-columns: 1fr; }
  .family__portrait { aspect-ratio: 4 / 5; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .family__team img { aspect-ratio: 4 / 3; }
  .family__faces { grid-template-columns: repeat(5, 62%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .family__faces li { scroll-snap-align: start; }
  .family__team figcaption { flex-direction: column; gap: 6px; }
  .experiences__nav { display: none; }

  .gallery__pin { height: auto; padding: 96px 0; }
  .gallery__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gallery__track::-webkit-scrollbar { display: none; }
  .g { height: auto; scroll-snap-align: center; }
  .g--l { aspect-ratio: auto; width: 84vw; }
  .g--p { aspect-ratio: auto; width: 60vw; }
  .g--l img { height: auto; aspect-ratio: 3 / 2; }
  .g--p img { height: auto; aspect-ratio: 2 / 3; }
  .gallery__track { align-items: flex-end; }
  .gallery__head { flex-direction: column; gap: 10px; }

  .strip { grid-template-columns: 1fr; }
  .strip .btn { grid-column: 1; grid-row: auto; justify-self: start; }
  .halves { grid-template-columns: 1fr; }
  .half { min-height: 78vh; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero__title { font-size: 40px; }
  .hero__lead { font-size: 15.5px; }
  .hero__cta { gap: 20px; }
  .bottle { --w: 44vw; }
  .carousel__arrow { display: none; }
  .timeline { grid-template-columns: 1fr; }
  .news__list { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.js .rv { opacity: 1; transform: none; }
  html.js .rv-img { clip-path: none; }
}

/* ==========================================================================
   PAGINA PRENOTA
   ========================================================================== */
.page-booking { background: var(--crema); color: var(--inchiostro); }
.header--static { position: sticky; }
.header__back { justify-self: start; font-size: 13.5px; }
.header__phone { justify-self: end; font-size: 13.5px; letter-spacing: .03em; }
.booking { padding: clamp(56px, 8vw, 110px) var(--gutter) clamp(80px, 10vw, 140px); }
.booking__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 80px; align-items: start; }
.booking__head .label:first-child { grid-column: 1 / -1; }
.booking h1 { font-size: clamp(40px, 5.6vw, 84px); }
.booking__lead { color: var(--testo-2); margin-bottom: 28px; }
.booking__notes { grid-column: 2; border-top: 1px solid var(--linea); }
.booking__notes li { padding: 14px 0; border-bottom: 1px solid var(--linea); font-size: 15px; }
.booking__notes .label { display: block; margin-bottom: 2px; }
.booking__widget { margin-top: clamp(48px, 6vw, 80px); min-height: 420px; }
.booking__alt { margin-top: 48px; color: var(--testo-2); }
.footer--slim { padding: 28px var(--gutter); }
.footer--slim .footer__bottom { border-top: 0; padding-top: 0; }
@media (max-width: 900px) {
  .header--static { grid-template-columns: auto 1fr auto; gap: 12px; }
  .header--static .header__brand { justify-self: center; }
  .header__phone { display: none; }
  .booking__head { grid-template-columns: 1fr; }
  .booking__notes { grid-column: 1; }
}
