@font-face { font-family: "Gloock"; src: url("../fonts/gloock.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

.sc-cantina { --k-bg: #f4ecdf; --k-ink: #2a1a14; --k-muted: #74615a; --k-ac: #5a1424; --k-ac-ink: #f4ecdf; --k-surface: #fbf6ee; --k-line: rgba(42,26,20,.14);
  --k-display: "Gloock", Georgia, serif; --k-body: "DM Sans", system-ui, sans-serif; --k-dw: 400; --k-track: -.02em; --k-lh: 1; --k-r: 18px; --olive: #6b7a3a; --gold: #c9a24a; }
.sc-cantina em { color: var(--k-ac); }

.sc-cantina .k-nav { margin-bottom: -76px; background: transparent; backdrop-filter: none; }
.sc-cantina .k-nav.is-scrolled { background: rgba(244,236,223,.86); backdrop-filter: blur(14px); }
.cl-kick { margin: 0 0 16px; font: 600 12px "DM Sans"; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.sc-cantina h2 { margin: 0 0 40px; font: 400 clamp(46px, 5.6vw, 96px)/.95 "Gloock"; letter-spacing: -.02em; }
.sc-cantina em { font-style: normal; color: var(--gold); }

/* Hero con le stagioni su foto */
.cl-hero { position: relative; min-height: max(680px, 100svh); display: grid; align-content: end; padding: 140px var(--k-pad) 70px; overflow: hidden; isolation: isolate; color: #fbf3e6; }
.cl-seasons-ph { position: absolute; inset: 0; z-index: -2; }
.cl-seasons-ph .fx-ph { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s cubic-bezier(.2,.7,.2,1); }
.cl-seasons-ph .fx-ph img { transform: scale(1.12); transition: transform 7s cubic-bezier(.2,.7,.2,1); }
[data-season="primavera"] [data-ph="primavera"], [data-season="estate"] [data-ph="estate"], [data-season="vendemmia"] [data-ph="vendemmia"], [data-season="inverno"] [data-ph="inverno"] { opacity: 1; }
[data-season="primavera"] [data-ph="primavera"] img, [data-season="estate"] [data-ph="estate"] img, [data-season="vendemmia"] [data-ph="vendemmia"] img, [data-season="inverno"] [data-ph="inverno"] img { transform: scale(1); }
[data-ph="inverno"] img { filter: saturate(.25) brightness(.95) hue-rotate(-10deg); }
.cl-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,8,6,.45), transparent 35%, rgba(20,8,6,.7)); }
.cl-hero h1 { max-width: 980px; margin: 0 0 30px; font: 400 clamp(60px, 8.6vw, 150px)/.9 "Gloock"; letter-spacing: -.025em; }
.cl-hero h1 em { display: block; --fx-delay: 200ms; }
.seasons { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border: 1px solid rgba(255,255,255,.3); border-radius: 99px; background: rgba(20,8,6,.35); backdrop-filter: blur(12px); }
.seasons button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 99px; background: transparent; color: #fbf3e6; font-weight: 700; }
.seasons button[aria-checked="true"] { background: #fbf3e6; color: var(--k-ac); }
.s-note { max-width: 420px; margin: 14px 0 0; color: #f0e2cf; }

/* Viaggio bloccato */
.cl-journey { position: relative; height: 420vh; background: var(--k-ink); color: #f4ecdf; }
.cl-j-sticky { position: sticky; top: 0; display: grid; grid-template-columns: 1.1fr .9fr; height: 100vh; overflow: hidden; }
.cl-j-ph { position: relative; }
.cl-j-ph .fx-ph { position: absolute; inset: 0; clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(.77,0,.18,1); }
.cl-j-ph .fx-ph.on { clip-path: inset(0 0 0 0); z-index: 1; }
.cl-j-ph .fx-ph img { transform: scale(1.15); transition: transform 2s cubic-bezier(.16,1,.3,1); } .cl-j-ph .fx-ph.on img { transform: none; }
.cl-j-copy { align-self: center; padding: 0 var(--k-pad) 0 50px; }
.cl-j-copy h2 { color: #f4ecdf; }
.cl-steps { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.cl-steps li { display: grid; grid-template-columns: 50px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(244,236,223,.16); opacity: .35; transition: opacity .5s; }
.cl-steps li.on { opacity: 1; }
.cl-steps b { color: var(--gold); font: 400 22px "Gloock"; }
.cl-steps h3 { margin: 0 0 4px; font: 400 30px "Gloock"; } .cl-steps p { margin: 0; color: #cdbfae; max-height: 0; overflow: hidden; transition: max-height .6s; } .cl-steps li.on p { max-height: 80px; }
.cl-glass { position: absolute; right: 4%; bottom: 6vh; width: 90px; color: #f4ecdf; }
.cl-wine { fill: #8a1c2e; transition: y .2s; }

/* Tunnel delle botti */
.cl-cellar { --fx-zi: 30%; --fx-zx: 38%; }
.cl-cellar .fx-z-media img { transform: scale(calc(1.6 - var(--p, 0) * .6)); }
.cl-cellar-t { position: absolute; inset: 0; display: grid; place-content: center; margin: 0; text-align: center; color: #fff; font: 400 clamp(60px, 10vw, 180px)/.9 "Gloock"; text-shadow: 0 10px 50px rgba(0,0,0,.6); opacity: clamp(0, calc((var(--p, 0) - .45) * 3), 1); transform: scale(calc(.85 + var(--p, 0) * .15)); }
.cl-cellar-t em { color: var(--gold); }

/* Vini */
.cl-wines { padding: 130px var(--k-pad) 90px; }
.cl-w-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cl-w { overflow: hidden; border-radius: 6px; background: var(--k-surface); }
.cl-w .fx-ph { aspect-ratio: 3 / 4; }
.cl-w > div { padding: 22px 24px 26px; } .cl-w h3 { margin: 0 0 6px; font: 400 34px "Gloock"; } .cl-w p { margin: 0 0 10px; color: var(--k-muted); } .cl-w b { color: var(--k-ac); font-size: 18px; }

.pair { background: transparent; }
.pair .k-head p, .pair .wine p { color: #cdbfae; }
.pair .wheel .sec path { stroke: #2a0b12; }
.pair .glass path { stroke: #f4ecdf; }
.tast { position: relative; overflow: hidden; isolation: isolate; background: transparent; }
.tast-ph { position: absolute; inset: -15% 0; z-index: -1; opacity: .16; }
.tast-ph img { width: 100%; height: 100%; object-fit: cover; }

.p-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.wheel-wrap { position: relative; display: grid; justify-items: center; }
.pointer { color: var(--k-ac); font-size: 30px; margin-bottom: -8px; z-index: 2; }
.wheel { width: min(420px, 100%); touch-action: none; cursor: grab; }
.wheel .rot { transition: transform .8s cubic-bezier(.34,1.3,.64,1); }
.wheel.dragging .rot { transition: none; }
.wheel .sec path { stroke: var(--k-surface); stroke-width: 3; }
.wheel .sec text { font: 600 13px "DM Sans"; fill: #2a1a14; text-anchor: middle; }
.wheel .sec .em { font-size: 26px; }
.wheel .sec.on path { filter: brightness(1.08); }
.w-ctrl { display: flex; gap: 10px; margin-top: 12px; }
.wine { display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: center; }
.glass { width: 140px; }
[data-wine-fill] { transition: fill .8s, y .8s; }
.wine h3 { margin: 0 0 8px; font-size: 40px; }
.wine p { color: var(--k-muted); }
.wine b { font-size: 18px; }

.t-grid { display: grid; gap: 18px; }
.tast .k-chips button[aria-checked="true"] { background: var(--k-ac); color: #fff; border-color: var(--k-ac); }
.ppl { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; font-weight: 700; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--k-line); border-radius: 99px; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; }
.stepper output { min-width: 26px; text-align: center; }
.ppl b { font: 400 40px "Gloock"; color: var(--k-ac); }

@media (max-width: 899px) { .cl-j-sticky { grid-template-columns: 1fr; grid-template-rows: 42vh 1fr; } .cl-j-copy { padding: 20px var(--k-pad); align-self: start; } .cl-steps h3 { font-size: 24px; } .cl-glass { width: 56px; bottom: 3vh; } .cl-w-grid { grid-template-columns: 1fr; } .p-grid { grid-template-columns: 1fr; } .wine { grid-template-columns: 100px 1fr; } .glass { width: 100px; } }

@media (prefers-reduced-motion: reduce) { .cl-journey { height: auto; } .cl-j-sticky { position: relative; height: auto; grid-template-rows: none; } .cl-j-ph { min-height: 50vh; } .cl-j-ph .fx-ph { transition: none; } .cl-steps li { opacity: 1; } .cl-steps p { max-height: none; } .cl-cellar-t { opacity: 1; } }
