/* One product stage, five chapters. The page always keeps its native scroll. */
.flavor-scroll{--flavor-scene-progress:0;--flavor-scene-drift:0px;--flavor-scene-top:100px;--flavor-scene-ink:#10204b;position:relative;margin:1.5rem 0 0;min-width:0;isolation:isolate}
.flavor-scroll.is-scroll-driven{height:300vh;height:300svh;min-height:1500px}
.flavor-scroll__stage{min-width:0;position:relative}
.flavor-scroll.is-scroll-driven .flavor-scroll__stage{position:sticky;top:var(--flavor-scene-top)}
.flavor-scroll #flavor-explorer{display:flex;flex-direction:column;min-height:0;border:0;box-shadow:none;overflow:hidden;animation:none;transform:none;opacity:1}
.flavor-scroll #flavor-explorer .flavor-tabs{display:flex;flex-direction:row;padding:0;border:0;overflow-x:auto;scrollbar-width:thin;scroll-padding-inline:.5rem;overscroll-behavior-x:contain}
.flavor-scroll #flavor-explorer .flavor-tab{flex:1 0 140px;min-width:0;min-height:58px;padding:.7rem .8rem;grid-template-columns:auto 8px minmax(0,1fr);gap:.5rem;font-size:.75rem;line-height:1.45;border:0;border-bottom:3px solid transparent;border-radius:0;transition:background .18s,color .18s,border-color .18s}
.flavor-scroll #flavor-explorer .flavor-tab:is(:hover,:focus-visible){background:#253b64;color:#fff;border-bottom-color:var(--tab-tone)}
.flavor-scroll #flavor-explorer .flavor-tab.is-active{background:var(--tab-tone);color:#10204b;border-bottom-color:var(--tab-tone)}
.flavor-scroll #flavor-explorer .flavor-number{font-size:.625rem;letter-spacing:0}
.flavor-scroll #flavor-explorer .flavor-dot{width:8px;height:8px;border:1px solid currentColor}
.flavor-scroll #flavor-panel{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:clamp(1.25rem,4vw,4rem);min-height:0;padding:clamp(1.2rem,2.4vw,2.5rem);overflow:hidden}
.flavor-scroll.is-scroll-driven #flavor-panel{height:clamp(440px,calc(100svh - 246px),650px)}
.flavor-scroll #flavor-panel::after{height:5px}
.flavor-scroll #flavor-word{font-size:clamp(5rem,10vw,10rem);top:.4rem;left:1rem;line-height:1;color:#ffffff12}
.flavor-scroll #flavor-media{width:100%;height:auto;aspect-ratio:1;max-width:530px;max-height:100%;justify-self:center;align-self:center;overflow:hidden;border-radius:4px;transform:translate3d(0,var(--flavor-scene-drift),0)}
.flavor-scroll #flavor-media img{width:100%;height:100%;object-fit:contain}
.flavor-scroll #flavor-content{align-self:center;padding:0;min-width:0}
.flavor-scroll #flavor-content .flavor-progress{margin:0 0 1rem;font-size:.7rem}
.flavor-scroll #flavor-name{font-size:clamp(2rem,3.6vw,4rem);line-height:1.08!important;letter-spacing:-.055em!important;margin-bottom:.75rem}
.flavor-scroll #flavor-note{margin-bottom:1rem;font-size:.95rem;line-height:1.65}
.flavor-scroll #flavor-profile .profile-bars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin:.75rem 0}
.flavor-scroll #flavor-profile .profile-bar{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end;gap:.4rem;font-size:.625rem;line-height:1.5}
.flavor-scroll #flavor-profile .profile-track{width:100%}
.flavor-scroll #flavor-profile .profile-note{font-size:.65rem;margin:.6rem 0}
.flavor-scroll #flavor-profile .profile-pairing{font-size:.8rem;line-height:1.6;margin-bottom:.8rem}
.flavor-scroll #flavor-content .button{min-height:46px;padding:.7rem 1rem;font-size:.8rem}
.flavor-scroll #flavor-content .flavor-page-link{display:inline-flex;align-items:center;min-height:40px;margin:.3rem 0;font-size:.75rem;line-height:1.5}
.flavor-scroll.is-scroll-driven #flavor-content .flavor-page-link{display:none}
.flavor-scroll #flavor-content .flavor-controls{display:flex;gap:.5rem;margin-top:.6rem}
.flavor-scroll #flavor-content .flavor-controls button{min-height:44px;padding:.6rem .85rem;font-size:.7rem;letter-spacing:.02em}
.flavor-scroll__footer{position:relative;display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:54px;padding:.7rem 1rem;background:#102747;color:#e8f0ff;border-bottom:1px solid #ffffff24;font-size:.75rem;line-height:1.5}
.flavor-scroll__footer::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--tone,var(--acid));transform:scaleX(var(--flavor-scene-progress));transform-origin:left}
.flavor-scroll__footer p{margin:0;display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}
.flavor-scroll__footer b{color:var(--tone,var(--acid));font-size:.875rem}
.flavor-scroll__hint{color:#bacbe5}
.flavor-scroll__footer a{display:inline-flex;align-items:center;min-height:44px;color:#e8f0ff;text-decoration:underline;text-underline-offset:4px;font-weight:700;white-space:nowrap}
.flavor-scroll__footer a:focus-visible{outline:2px solid #d7ff16;outline-offset:3px}
html[data-catalog-theme=light] .flavor-scroll__footer{background:#eef2fc;color:#10204b;border-color:#bac7e2}
html[data-catalog-theme=light] .flavor-scroll__footer a,html[data-catalog-theme=light] .flavor-scroll__hint{color:#43557b}
html[data-catalog-theme=light] .flavor-scroll__footer b{color:#1c26aa}
.flavor-scroll:not(.is-scroll-driven) .flavor-scroll__hint{display:none}
@media(max-width:1100px) and (min-width:761px){
 .flavor-scroll #flavor-panel{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:1.5rem}
 .flavor-scroll #flavor-name{font-size:clamp(1.8rem,3.6vw,3rem)}
 .flavor-scroll #flavor-profile .profile-bar{grid-template-columns:112px minmax(0,1fr)}
}
@media(max-width:760px){
 .flavor-scroll{margin-top:1rem;--flavor-scene-top:82px}
 .flavor-scroll.is-scroll-driven{height:290vh;height:290svh;min-height:1300px}
 .flavor-scroll #flavor-explorer .flavor-tabs{scrollbar-width:none}
 .flavor-scroll #flavor-explorer .flavor-tabs::-webkit-scrollbar{display:none}
 .flavor-scroll #flavor-explorer .flavor-tab{flex:0 0 auto;min-width:125px;max-width:180px;min-height:52px;font-size:.6875rem;padding:.65rem .7rem}
 .flavor-scroll #flavor-panel,.flavor-scroll.is-scroll-driven #flavor-panel{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);height:auto;min-height:300px;gap:.8rem;padding:1rem .8rem 1.2rem}
 .flavor-scroll #flavor-media{aspect-ratio:3/4;align-self:center;max-height:300px;transform:translate3d(0,calc(var(--flavor-scene-drift) * .6),0)}
 .flavor-scroll #flavor-media img{object-fit:cover}
 .flavor-scroll #flavor-word{inset:0;display:flex;align-items:center;justify-content:center;padding-inline:12px;font-size:18vw;line-height:1.15;text-align:center;color:var(--tone);opacity:.2;pointer-events:none}
 .flavor-scroll #flavor-content .flavor-progress{font-size:.625rem;margin-bottom:.6rem}
 .flavor-scroll #flavor-name{font-size:clamp(1.35rem,5.5vw,2rem);line-height:1.12!important;letter-spacing:-.045em!important;margin-bottom:.6rem;overflow-wrap:normal;hyphens:auto}
 .flavor-scroll #flavor-note{font-size:.8125rem;line-height:1.6;margin:0 0 .6rem}
 .flavor-scroll #flavor-profile{display:none}
 .flavor-scroll #flavor-content .flavor-page-link{display:none}
 .flavor-scroll #flavor-content .button{width:100%;font-size:.8125rem;padding:.6rem .45rem;line-height:1.5;min-height:44px}
 .flavor-scroll #flavor-content .flavor-controls{display:grid;grid-template-columns:1fr 1fr;gap:.3rem;margin-top:.6rem}
 .flavor-scroll #flavor-content .flavor-controls button{min-height:44px;padding:.5rem .2rem;font-size:.75rem;letter-spacing:0;line-height:1.5}
 .flavor-scroll__footer{font-size:.6875rem;padding:.4rem .65rem;gap:.5rem;min-height:52px}
 .flavor-scroll__footer p{gap:.35rem}
 .flavor-scroll__hint{max-width:15ch;line-height:1.5}
 .flavor-scroll__footer a{font-size:.625rem;white-space:normal;max-width:13ch;text-align:right;justify-content:flex-end}
}
@media(max-width:360px){
 .flavor-scroll #flavor-panel,.flavor-scroll.is-scroll-driven #flavor-panel{gap:.6rem;padding:.8rem .6rem 1rem;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)}
 .flavor-scroll #flavor-name{font-size:1.25rem}
 .flavor-scroll #flavor-note{font-size:.8125rem}
}
@media(max-height:700px) and (min-width:761px){
 .flavor-scroll #flavor-profile .profile-bars,.flavor-scroll #flavor-profile .profile-note{display:none}
 .flavor-scroll #flavor-profile .profile-pairing{font-size:.75rem}
 .flavor-scroll #flavor-name{font-size:2rem}
 .flavor-scroll #flavor-content .flavor-page-link{display:none}
 .flavor-scroll.is-scroll-driven #flavor-panel{height:380px}
}
@media(prefers-reduced-motion:reduce){
 .flavor-scroll #flavor-media{transform:none}
 .flavor-scroll #flavor-explorer .flavor-tab{transition:none}
}
/* A phone is a portrait stage: give the bottle and long names their full width. */
@media(max-width:760px){
 .flavor-scroll #flavor-panel,.flavor-scroll.is-scroll-driven #flavor-panel{grid-template-columns:minmax(0,1fr);gap:.5rem;padding:.75rem .9rem .85rem;min-height:0;height:auto}
 .flavor-scroll #flavor-media{height:clamp(140px,23svh,210px);max-height:none;aspect-ratio:auto;width:100%;max-width:none;align-self:center}
 .flavor-scroll #flavor-media img{height:100%;width:100%;object-fit:contain}
 .flavor-scroll #flavor-content{text-align:center;width:100%}
 .flavor-scroll #flavor-content .flavor-progress{display:none}
 .flavor-scroll #flavor-name{font-size:clamp(1.35rem,5.8vw,1.7rem);line-height:1.15!important;letter-spacing:-.04em!important;hyphens:none;overflow-wrap:normal;margin:.2rem 0 .5rem}
 .flavor-scroll #flavor-note{font-size:.8125rem;line-height:1.5;margin:0 0 .65rem}
 .flavor-scroll #flavor-content .button{width:100%;min-height:44px;font-size:.8125rem;padding:.5rem .75rem}
 .flavor-scroll #flavor-content .flavor-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin-top:.6rem}
 .flavor-scroll #flavor-content .flavor-controls button{font-size:.75rem;min-height:44px;padding:.5rem;line-height:1.3}
 .flavor-scroll__footer{font-size:.75rem;min-height:58px}
 .flavor-scroll__hint{font-size:.6875rem;max-width:20ch}
 .flavor-scroll__footer a{font-size:.6875rem;max-width:14ch}
}
@media(max-width:760px) and (max-height:700px){.flavor-scroll #flavor-media{height:140px}.flavor-scroll__hint{display:none}}
/* The source raspberry photo has white export padding; crop that padding only. */
.flavor-scroll #flavor-image-current[src*="lahev-4"]{width:auto;max-width:none;left:50%;right:auto;translate:-50% 0;clip-path:inset(0 12.5%)}
