/* MALGA / Il buono: a photographic story directed by scrolling. */
.terroir{--terroir-top:112px;margin:0 3%;color:var(--green);position:relative}
.terroir .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.terroir-intro{display:grid;grid-template-columns:1.25fr .75fr;align-items:end;gap:8%;padding:28px 3.3% 54px}
.terroir-intro h2{font-size:clamp(53px,6.8vw,100px);line-height:1.02;letter-spacing:-4.7px;margin:0}
.terroir-intro h2 em{font-weight:400;letter-spacing:inherit;color:#748162}
.terroir-intro p{font-size:18px;line-height:1.7;max-width:370px;margin:0 0 6px}
.terroir-scroll{position:relative}
.terroir-stage{position:relative;background:#1e2d20;color:#fffdf4;border-radius:42px;overflow:hidden;isolation:isolate;min-height:650px}
.terroir-topline{position:absolute;top:31px;left:4%;right:4%;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:20px;pointer-events:none}
.terroir-topline>span{font-size:13px;letter-spacing:.15px;color:#f8f6eed9;text-shadow:0 1px 8px #10231799}
.terroir-play{display:none;align-items:center;gap:10px;border:1px solid #f8f6ee55;background:#192a204d;backdrop-filter:blur(14px);padding:10px 16px;border-radius:30px;font-size:12px;pointer-events:auto;color:#fffdf4}
.terroir-play svg{width:15px;height:15px;fill:currentColor}
.terroir-play .icon-pause{display:none}.terroir-play[aria-pressed=true] .icon-play{display:none}.terroir-play[aria-pressed=true] .icon-pause{display:block}
.terroir-scene{position:relative;min-height:650px;overflow:hidden;background:#203124}
.terroir-scene>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% 50%;display:block}
.terroir-scene.is-pasture>img{object-position:100% 50%;width:150%;max-width:none;left:-50%}
.terroir-scene.is-filatura>img{object-position:65% 42%}
.terroir-scene:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0a2019c9 0%,#0e241b8f 25%,#192d200d 65%),linear-gradient(0deg,#0e2019d9 0%,transparent 45%,#0b21183d 100%);pointer-events:none}
.terroir-copy{position:relative;z-index:2;max-width:610px;padding:200px 5% 150px}
.terroir-copy .scene-thought{font-size:19px;line-height:1.4;margin:0 0 14px;color:#f8f6eede}
.terroir-copy h3{font:400 clamp(76px,10.7vw,160px)/.92 var(--serif);letter-spacing:-7px;margin:0 0 25px;color:#fffdf4}
.terroir-copy h3 em{font-weight:400}
.terroir-copy .scene-explain{font-size:17px;line-height:1.65;max-width:380px;margin:0;color:#f7f4e8}
.terroir-copy .scene-sense{display:block;font-family:var(--serif);font-style:italic;font-size:22px;color:#ded8be;margin-top:23px}
.terroir-rail{display:none}
.terroir-caption{display:flex;justify-content:space-between;gap:20px;padding:18px 3.3% 0;color:#737d6a;font-size:11px}
.terroir-caption p{margin:0;max-width:650px}.terroir-caption .terroir-instruction{color:var(--green);font-size:12px;white-space:nowrap}
.terroir-enhanced .terroir-scroll{height:450svh}
.terroir-enhanced .terroir-stage{position:sticky;top:var(--terroir-top);height:calc(100svh - var(--terroir-top) - 16px);min-height:580px;max-height:900px}
.terroir-enhanced .terroir-scene{position:absolute;inset:0;min-height:0;visibility:hidden;z-index:0;clip-path:circle(0% at 72% 47%);pointer-events:none;transition:clip-path 1.15s cubic-bezier(.22,.72,.2,1),visibility 0s 1.2s}
.terroir-enhanced .terroir-scene.is-behind{visibility:visible;clip-path:circle(150% at 72% 47%);z-index:1;transition:none}
.terroir-enhanced .terroir-scene.is-current{visibility:visible;clip-path:circle(150% at 72% 47%);z-index:2;pointer-events:auto;transition:clip-path 1.15s cubic-bezier(.22,.72,.2,1),visibility 0s}
.terroir-enhanced .terroir-scene.snap{transition:none}
.terroir-enhanced .terroir-copy{position:absolute;left:5%;right:5%;bottom:156px;max-width:560px;padding:0}
.terroir-enhanced .terroir-copy>*{opacity:0;transform:translateY(22px);transition:opacity .4s,transform .5s}
.terroir-enhanced .is-current .terroir-copy>*{opacity:1;transform:translateY(0);transition:opacity .6s .32s,transform .75s .25s}
.terroir-enhanced .is-current .terroir-copy h3{transition-delay:.4s}
.terroir-enhanced .is-current .terroir-copy .scene-explain{transition-delay:.5s}
.terroir-enhanced .is-current .terroir-copy .scene-sense{transition-delay:.6s}
.terroir-enhanced .terroir-play{display:flex}
.terroir-enhanced .terroir-rail{display:flex;position:absolute;z-index:5;bottom:25px;left:4%;right:4%;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding:8px 3px 4px}
.terroir-rail::-webkit-scrollbar{display:none}
.terroir-chapter{flex:1;min-width:75px;max-width:170px;text-align:left;position:relative;color:#fffdf4}
.terroir-thumb{height:49px;display:block;border-radius:14px;overflow:hidden;position:relative;border:1px solid #f8f6ee35;opacity:.55;transition:opacity .4s,border-color .4s}
.terroir-thumb img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.terroir-chapter.is-active .terroir-thumb,.terroir-chapter:hover .terroir-thumb{opacity:1;border-color:#fffdf4}
.terroir-chapter>span:last-child{display:block;font-size:12px;line-height:1.4;margin-top:9px;color:#f8f6eea9;white-space:nowrap;transition:color .3s}
.terroir-chapter.is-active>span:last-child{color:#fffdf4}
.terroir-chapter:after{content:'';height:2px;background:#ede5c7;position:absolute;bottom:-4px;left:0;width:100%;transform-origin:left;transform:scaleX(0);transition:transform .5s}
.terroir-chapter.is-complete:after{transform:scaleX(1);background:#b5c4a4}
.terroir-chapter.is-active:after{transform:scaleX(var(--chapter-fill,0))}
.terroir-enhanced.is-playing .terroir-stage{--playback-on:1}
.terroir-end{display:grid;grid-template-columns:1.15fr 1fr;gap:7%;align-items:center;padding:100px 3.3% 45px}
.terroir-plating{position:relative;aspect-ratio:1.03;min-width:0;overflow:hidden;border-radius:45% 45% 36px 36px;background:#243527;display:block;width:100%;padding:0;color:var(--cream);isolation:isolate;cursor:zoom-in}
.terroir-plating>img{width:100%;height:100%;object-fit:cover;object-position:77% 50%;transition:transform 1.1s cubic-bezier(.2,.7,.2,1);display:block}
.terroir-plating:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#13291b9c,transparent 35%);pointer-events:none}
.terroir-plating[aria-pressed=true]{cursor:zoom-out}
.terroir-plating[aria-pressed=true]>img{transform:scale(1.85);transform-origin:75% 57%}
.terroir-plating>span{position:absolute;bottom:27px;left:7%;right:7%;z-index:2;display:flex;justify-content:space-between;align-items:center;font-size:11px}
.terroir-plating svg{width:30px;height:30px;border:1px solid #fff8;padding:6px;border-radius:50%;fill:none;stroke:currentColor;stroke-width:1.5;box-sizing:content-box}
.terroir-offer{min-width:0}
.terroir-offer>p:first-child{font-size:16px;color:#778269;margin:0 0 15px}
.terroir-offer h3{font-size:clamp(42px,4.9vw,72px);line-height:1.06;letter-spacing:-3px;font-weight:400;margin:0 0 24px}
.terroir-offer h3 em{font-weight:400;color:#748162}
.terroir-offer>.terroir-tasting{font-size:17px;line-height:1.75;max-width:410px;margin:0 0 28px}
.terroir-offer .terroir-product-name{font-family:var(--serif);font-size:28px;font-weight:500;display:block;margin-bottom:4px}
.terroir-offer .terroir-product-description{font-size:13px;color:#738067;display:block;margin-bottom:20px}
.terroir-formats{display:flex;gap:10px;margin:0 0 15px;padding:0;border:0;min-width:0}
.terroir-formats legend{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.terroir-formats label{position:relative;flex:1;max-width:180px;cursor:pointer}
.terroir-formats input{position:absolute;opacity:0}
.terroir-formats span{display:flex;justify-content:space-between;gap:8px;border:1px solid #c8d0be;padding:13px 17px;border-radius:16px;font-size:13px;transition:background .2s,border-color .2s}
.terroir-formats input:checked+span{border-color:#748162;background:#e7ebdf}
.terroir-formats input:focus-visible+span{outline:3px solid var(--clay);outline-offset:3px}
.terroir-buy{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 24px;width:100%;max-width:425px;border-radius:32px;background:var(--green);color:var(--cream);font-size:15px;font-weight:700;transition:background .2s,transform .2s}
.terroir-buy:hover{background:#b96243;transform:translateY(-2px)}
.terroir-buy strong{font-size:19px;font-weight:600}
.terroir-offer .terroir-detail{font-size:12px;border-bottom:1px solid #a3b095;padding:5px 0;margin-top:15px}
.terroir-offer .terroir-small{font-size:10px;color:#748162;margin:17px 0 0;line-height:1.7;max-width:425px}
body:has(.terroir.is-active) .conversion-banner{opacity:0;pointer-events:none}
.terroir button:focus-visible{outline:3px solid #d4a580;outline-offset:4px}
@media(min-width:1700px){.terroir{max-width:1680px;margin-inline:auto}.terroir-enhanced .terroir-stage{max-height:1000px}.terroir-copy .scene-explain{font-size:19px}}
@media(max-width:1100px){.terroir-intro h2{font-size:73px;letter-spacing:-3.5px}.terroir-intro p{font-size:16px}.terroir-copy h3{font-size:114px;letter-spacing:-5px}.terroir-copy .scene-thought{font-size:17px}.terroir-copy .scene-explain{font-size:16px;max-width:330px}.terroir-copy .scene-sense{font-size:20px}.terroir-end{gap:5%}.terroir-offer h3{font-size:53px;letter-spacing:-2.4px}.terroir-offer>.terroir-tasting{font-size:15px}.terroir-plating{aspect-ratio:.84}}
@media(max-width:850px){.terroir{--terroir-top:92px}.terroir-intro{grid-template-columns:1fr;gap:25px;padding-bottom:38px}.terroir-intro h2{font-size:70px}.terroir-intro p{max-width:520px;font-size:16px}.terroir-enhanced .terroir-stage{min-height:570px}.terroir-copy h3{font-size:105px}.terroir-copy .scene-explain{max-width:330px}.terroir-copy .scene-sense{font-size:20px;margin-top:15px}.terroir-enhanced .terroir-copy{bottom:150px}.terroir-scene>img{object-position:62% 50%}.terroir-scene:after{background:linear-gradient(90deg,#10261cb0,#11291b15 80%),linear-gradient(0deg,#0c211ae8 0%,#10231a85 40%,transparent 80%)}.terroir-topline{top:26px}.terroir-topline>span{font-size:11px}.terroir-play{font-size:11px;padding:9px 12px}.terroir-rail{gap:10px}.terroir-chapter{min-width:80px}.terroir-end{grid-template-columns:1fr 1fr;padding-top:65px}.terroir-offer h3{font-size:43px;letter-spacing:-2px}.terroir-offer>.terroir-tasting{font-size:14px}.terroir-offer .terroir-product-name{font-size:24px}.terroir-formats span{padding:11px;font-size:11px}.terroir-buy{padding:15px;font-size:12px;gap:8px}.terroir-buy strong{font-size:17px}.terroir-offer .terroir-product-description{font-size:11px}.terroir-caption{font-size:10px}.terroir-caption .terroir-instruction{font-size:10px}}
@media(max-width:580px){.terroir{--terroir-top:84px;margin:0 3%}.terroir-intro{padding:0 3.3% 32px;gap:21px}.terroir-intro h2{font-size:clamp(45px,13vw,65px);letter-spacing:-2.4px}.terroir-intro p{font-size:15px;max-width:350px}.terroir-enhanced .terroir-scroll{height:420svh}.terroir-stage{border-radius:29px;min-height:580px}.terroir-enhanced .terroir-stage{height:calc(100svh - var(--terroir-top) - 10px);min-height:0;max-height:850px}.terroir-topline{top:20px;left:6%;right:6%;gap:10px}.terroir-topline>span{font-size:10px;max-width:130px;line-height:1.5}.terroir-play{font-size:10px;gap:7px;padding:8px 11px}.terroir-play svg{width:12px;height:12px}.terroir-scene{min-height:590px}.terroir-scene>img{object-position:64% 43%}.terroir-scene.is-pasture>img{width:185%;left:-85%;object-position:100% 50%}.terroir-scene.is-filatura>img{object-position:50% 30%}.terroir-scene:after{background:linear-gradient(0deg,#10221bea 0%,#0f271cb3 27%,#0e261b15 74%),linear-gradient(180deg,#10291b77,transparent 20%)}.terroir-enhanced .terroir-copy{left:7%;right:7%;bottom:127px;max-width:330px}.terroir-copy{padding:240px 7% 60px}.terroir-copy h3{font-size:clamp(66px,21vw,92px);letter-spacing:-4px;line-height:.96;margin-bottom:16px}.terroir-copy .scene-thought{font-size:14px;margin-bottom:11px}.terroir-copy .scene-explain{font-size:14px;line-height:1.6;max-width:300px}.terroir-copy .scene-sense{display:none}.terroir-enhanced .terroir-rail{left:6%;right:6%;bottom:18px;gap:9px}.terroir-chapter{min-width:65px;max-width:75px}.terroir-thumb{height:39px;border-radius:11px}.terroir-chapter>span:last-child{font-size:10px;margin-top:7px}.terroir-caption{display:block;padding:16px 5% 0;font-size:9px}.terroir-caption .terroir-instruction{display:block;font-size:11px;margin-bottom:7px}.terroir-end{grid-template-columns:1fr;padding:52px 3.3% 30px;gap:34px}.terroir-plating{aspect-ratio:1.05;border-radius:45% 45% 28px 28px;max-width:430px;margin:auto}.terroir-plating>span{bottom:23px;font-size:10px}.terroir-plating svg{width:23px;height:23px;padding:5px}.terroir-offer>p:first-child{font-size:14px}.terroir-offer h3{font-size:53px;letter-spacing:-2.8px;margin-bottom:20px;max-width:380px}.terroir-offer>.terroir-tasting{font-size:16px;max-width:370px}.terroir-offer .terroir-product-name{font-size:27px}.terroir-offer .terroir-product-description{font-size:12px}.terroir-formats span{font-size:13px;padding:13px 16px}.terroir-buy{font-size:14px;padding:17px 20px}.terroir-buy strong{font-size:19px}.terroir-offer .terroir-detail{font-size:12px}.terroir-offer .terroir-small{font-size:10px}}
@media(max-height:660px) and (min-width:581px){.terroir-enhanced .terroir-scroll{height:auto}.terroir-enhanced .terroir-stage{position:relative;top:0;height:650px;min-height:650px}.terroir-copy h3{font-size:100px}}
@media(max-height:660px) and (max-width:580px){.terroir-copy .scene-thought{display:none}.terroir-copy h3{font-size:64px;margin-bottom:12px}.terroir-copy .scene-explain{font-size:12px}.terroir-enhanced .terroir-copy{bottom:117px}.terroir-topline{top:15px}}
@media(prefers-reduced-motion:reduce){.terroir-enhanced .terroir-scroll{height:auto}.terroir-enhanced .terroir-stage{position:relative;top:0;height:640px;min-height:600px}.terroir-enhanced .terroir-scene,.terroir-enhanced .terroir-copy>*{transition:none!important}.terroir-plating>img{transition:none}.terroir-play{display:none!important}.terroir-copy>*{transform:none!important}.terroir-caption .terroir-instruction{display:none}}
