/* The photos carry the materials; this layer places live text and controls. */
.stage .shade{background:#302b20ba;backdrop-filter:blur(5px)}
.object-stage[data-object="flavors"]{width:min(1100px,96vw);top:90px;bottom:18px;translate:-50% 0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:12px 28px 16px;scrollbar-width:thin;scrollbar-color:#d5bd9666 transparent}
.flavors-heading{text-align:center;color:#fff3d8;margin:0 0 8px}.flavors-heading .eyebrow{color:#ebd5ad;margin-bottom:10px}.flavors-heading h3{font-size:clamp(26px,3vw,42px);margin:0}
.flavor-pair{display:grid;grid-template-columns:1fr 1fr;gap:36px}.flavor-presentation{min-width:0;display:flex;flex-direction:column}.flavor-photo{display:block;width:100%;height:auto;aspect-ratio:1402/1122;object-fit:contain}
.flavor-copy{padding:0 22px;color:#fff3dc;flex:1;display:flex;flex-direction:column}.flavor-copy h4{font-size:30px;margin:10px 0}.flavor-copy p{font-size:14px;line-height:1.7;max-width:330px;margin-bottom:14px}.flavor-copy .detail-actions{margin-top:auto;gap:20px}.flavor-copy .detail-actions button{color:#ffe7bb;font-size:13px;border-bottom:1px solid #c9a77c;min-width:65px}.flavor-copy .ink-button{padding:11px 22px;font-size:13px;background:#8c3b2b}
.object-stage[data-object="flavors"]>.close{position:sticky;float:right;top:0;right:0;margin:0 -22px -46px 0}
.object-stage[data-object="flavors"] .object-footer{margin-top:22px;position:relative;bottom:auto;right:auto;translate:none;display:flex}
.object-stage[data-object="buy"]{top:90px;bottom:18px;translate:-50% 0;width:min(990px,94vw,calc((100dvh - 290px)*1.5));max-height:none;overflow:auto;padding-top:10px;scrollbar-width:thin}
.shop-scene{padding:0;display:block}.shop-heading{background:none;box-shadow:none;transform:none;color:#fff3dc;padding:0;margin:0 auto 16px;width:auto}.shop-heading .eyebrow{color:#ebd5ad}.shop-heading h3{font-size:clamp(26px,3vw,38px);margin:8px 0}.shop-heading p{font-size:13px}
.photo-counter{position:relative;aspect-ratio:3/2}.counter-photo{width:100%;height:100%;display:block;object-fit:contain}.counter-ticket{position:absolute;top:55%;left:13%;width:32%;height:28%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.counter-ticket[data-ticket="garlic"]{left:54%}.counter-ticket .eyebrow{font-size:9px;letter-spacing:.1em}.counter-ticket h4{font-size:clamp(20px,2.6vw,34px);margin:10px 0 16px;line-height:1.1}.counter-ticket .ink-button{min-height:44px;font-size:13px;padding:10px 22px}
.object-stage[data-object="buy"]>.close{right:0;top:0}.object-stage[data-object="buy"] .object-footer{display:flex;position:relative;bottom:auto;right:auto;translate:none;margin:15px 0 0}
.object-stage[data-object="contacts"]{width:min(1000px,96vw,calc((100dvh - 135px)*1.24955));top:calc(50% + 25px);translate:-50% -50%;max-height:none}.post-scene{padding:0;margin:0;max-width:none;aspect-ratio:1402/1122;isolation:isolate}.letter-photo{position:absolute;inset:0;z-index:-1;display:block;pointer-events:none;mask-image:linear-gradient(#000 0 94%,transparent 100%)}.letter-photo img{width:100%;height:100%;display:block;object-fit:contain}
.letter-copy{position:absolute;left:26%;top:13%;width:54%;color:#503925}.letter-copy>.eyebrow{font-size:9px;margin-bottom:12px}.letter-copy h3{font-size:clamp(26px,3vw,40px);margin:0 0 8px}.letter-copy .email{font-size:clamp(22px,2.5vw,31px);padding:0;margin:0 0 12px}.letter-copy .sender{font-size:clamp(12px,1.05vw,15px);line-height:1.7;margin:0 0 18px;max-width:90%}.letter-copy .ink-button{font-size:12px;min-height:44px;padding:10px 18px}
.object-stage[data-object="contacts"]>.close{right:15%;top:6%;border:0;box-shadow:none;background:#f8edceaa}.object-stage[data-object="contacts"] .object-footer{margin-top:-2%;position:relative;display:flex;bottom:auto;right:auto;translate:none}
@media(max-width:700px){
 .object-stage[data-object="flavors"]{top:76px;bottom:12px;width:100%;padding:10px 13px 12px}.flavors-heading{padding:0 25px;margin-bottom:10px}.flavors-heading .eyebrow{font-size:8px;margin-bottom:8px}.flavors-heading h3{font-size:25px}.flavor-pair{gap:10px}.flavor-copy{padding:0 4px}.flavor-copy h4{font-size:22px;margin:8px 0;min-height:55px;display:flex;align-items:center}.flavor-copy p{font-size:12px;line-height:1.65;margin-bottom:12px}.flavor-copy .detail-actions{gap:6px;flex-direction:column;align-items:stretch}.flavor-copy .detail-actions button,.flavor-copy .ink-button{font-size:12px;min-height:44px;justify-content:center;padding:8px}.object-stage[data-object="flavors"]>.close{margin-right:0}
 .object-stage[data-object="buy"]{width:calc(100vw - 20px);top:calc(50% + 30px);bottom:auto;translate:-50% -50%;overflow:visible;padding:0}.shop-heading{padding:0 35px;margin-bottom:22px}.shop-heading h3{font-size:27px}.shop-heading p{font-size:12px}.shop-heading .eyebrow{font-size:9px}.counter-ticket .eyebrow{display:none}.counter-ticket h4{font-size:clamp(17px,4.6vw,25px);margin:0 0 7px;min-height:38px;display:flex;align-items:center}.counter-ticket{top:52%;height:32%}.counter-ticket .ink-button{font-size:11px;padding:8px 10px;gap:8px}
}
@media(max-width:700px) and (max-aspect-ratio:1/1){
 .object-stage[data-object="contacts"]{width:calc(100vw - 18px);top:calc(50% + 26px)}.post-scene{width:min(100%,calc((100dvh - 142px)*.6));margin:auto;height:auto;aspect-ratio:3/5}.letter-photo{mask-image:none}.letter-copy{left:19%;top:12%;width:69%}.letter-copy>.eyebrow{font-size:8px;margin-bottom:10px}.letter-copy h3{font-size:27px;line-height:1.2;margin-bottom:12px}.letter-copy .email{font-size:23px;margin-bottom:14px}.letter-copy .sender{font-size:12px;line-height:1.8;max-width:none;margin-bottom:18px}.letter-copy .ink-button{font-size:11px;padding:10px 12px;gap:8px;white-space:nowrap}.object-stage[data-object="contacts"]>.close{right:9%;top:2%}.object-stage[data-object="contacts"] .object-footer{margin-top:3px}
}
@media(max-height:680px) and (max-aspect-ratio:1/1){
 .flavors-heading h3{font-size:22px}.flavors-heading{margin-bottom:0}.flavors-heading .eyebrow{display:none}.flavor-copy h4{font-size:20px;margin:4px 0;min-height:48px}.flavor-copy p{font-size:11px;line-height:1.55;margin-bottom:7px}.object-stage[data-object="flavors"] .object-footer{margin-top:10px}
 .letter-copy{top:11%;left:18%;width:70%}.letter-copy>.eyebrow{font-size:7px;margin-bottom:7px}.letter-copy h3{font-size:23px;margin-bottom:8px}.letter-copy .email{font-size:20px;margin-bottom:8px}.letter-copy .sender{font-size:11px;line-height:1.6;margin-bottom:12px}.letter-copy .ink-button{font-size:10px;padding:8px}
}
@media(max-height:550px) and (min-aspect-ratio:1/1){
 .object-stage[data-object="flavors"]{top:66px;bottom:7px;width:min(1060px,100vw);padding:0 24px 12px}.flavors-heading{display:none}.flavor-pair{gap:24px}.flavor-presentation{display:grid;grid-template-columns:45% 55%;align-items:center}.flavor-copy{padding:0 7px}.flavor-copy h4{font-size:22px;min-height:0;margin:5px 0}.flavor-copy p{font-size:11px;line-height:1.5;margin-bottom:7px}.flavor-copy .detail-actions{gap:5px;flex-direction:row;flex-wrap:wrap}.flavor-copy .detail-actions button,.flavor-copy .ink-button{font-size:10px;padding:8px;min-width:44px}.object-stage[data-object="flavors"] .object-footer{display:none}
 .object-stage[data-object="buy"]{width:min(800px,95vw);top:68px;bottom:6px;translate:-50% 0;padding:0}.shop-scene{display:grid;grid-template-columns:25% 75%;align-items:center;gap:0;padding:0}.shop-heading{padding:0 10px;margin:0;transform:none}.shop-heading h3{font-size:23px}.shop-heading .eyebrow{font-size:8px}.shop-heading p{font-size:11px}.counter-ticket h4{font-size:23px;margin:0 0 8px;min-height:0}.counter-ticket .eyebrow{display:none}.counter-ticket .ink-button{font-size:11px;padding:7px 12px}.counter-ticket{top:53%;height:31%}.object-stage[data-object="buy"] .object-footer{display:none}
 .object-stage[data-object="contacts"]{width:min(900px,96vw);top:calc(50% + 29px)}.post-scene{width:100%;height:calc(100dvh - 86px);aspect-ratio:auto;overflow:hidden}.letter-photo{inset:0 0 auto;height:calc((100dvh - 86px)*1.7);mask-image:linear-gradient(#000 0 60%,transparent 87%)}.letter-photo img{object-fit:contain;object-position:center top}.letter-copy{left:28%;top:17%;width:48%}.letter-copy>.eyebrow{display:none}.letter-copy h3{font-size:25px;margin:0 0 3px}.letter-copy .email{font-size:23px;margin:0 0 5px}.letter-copy .sender{font-size:11px;line-height:1.55;margin:0 0 8px;max-width:100%}.letter-copy .ink-button{font-size:10px;padding:8px 12px}.object-stage[data-object="contacts"]>.close{top:4%;right:12%}.object-stage[data-object="contacts"] .object-footer{display:none}
}
@media(max-height:350px) and (min-aspect-ratio:1/1){
 .counter-ticket h4{font-size:18px;margin-bottom:4px}.counter-ticket .ink-button{font-size:10px;padding:7px}.shop-heading h3{font-size:20px}.letter-copy{top:11%;left:27%;width:50%}.letter-copy h3{font-size:22px}.letter-copy .email{font-size:21px;margin:0}.letter-copy .sender{font-size:10px;margin-bottom:4px}.letter-copy .ink-button{font-size:10px}
}
@media(forced-colors:active){.letter-copy,.counter-ticket,.flavor-copy,.flavors-heading{background:Canvas;color:CanvasText}}
/* Final framing uses each artwork's native proportions, never a stretched crop. */
@media(max-width:700px) and (max-aspect-ratio:1/1){
 .flavors-heading{padding:0 52px 0 12px}.flavors-heading h3{font-size:23px}
 .post-scene{aspect-ratio:971/1619}.letter-copy{width:64%;left:20%}
}
@media(max-height:550px) and (min-aspect-ratio:1/1){
 .object-stage[data-object="contacts"]{width:min(900px,96vw,calc((100dvh - 92px)*2.50063))}
 .post-scene{width:100%;height:auto;aspect-ratio:1983/793;overflow:visible}
 .letter-photo{inset:0;height:100%;mask-image:none}.letter-photo img{object-fit:contain}
 .letter-copy{left:17%;top:13%;width:53%}.letter-copy h3{font-size:25px;margin:0 0 2px}.letter-copy .email{font-size:23px;margin:0 0 3px}.letter-copy .sender{font-size:11px;line-height:1.5;margin:0 0 6px}.letter-copy .ink-button{font-size:10px}
 .object-stage[data-object="contacts"]>.close{top:0;right:0}
}
@media(max-height:350px) and (min-aspect-ratio:1/1){
 .letter-copy{top:12%;left:17%;width:55%}.letter-copy h3{font-size:20px;margin:0}.letter-copy .email{font-size:20px;margin:0}.letter-copy .sender{font-size:10px;line-height:1.4;margin:0 0 3px}.letter-copy .ink-button{font-size:10px;padding:7px 10px}
}

/* The full letter stays readable, with scrolling instead of shrinking its type. */
@media(max-width:900px) and (max-aspect-ratio:1/1), (max-height:550px){
 .object-stage[data-object="contacts"]{width:min(600px,calc(100vw - 18px));top:78px;bottom:10px;translate:-50% 0;max-height:none;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d5bd96 transparent}
 .post-scene{width:min(460px,100%);height:auto;min-height:780px;padding:94px 0 260px;margin:0 auto;aspect-ratio:auto;overflow:visible}
 .letter-photo{inset:0;height:100%;mask-image:none}
 .letter-photo img{object-fit:cover;object-position:50% 0}
 .letter-copy{position:relative;left:auto;top:auto;width:68%;margin:0 auto}
 .letter-copy>.eyebrow{display:block;font-size:11px;line-height:1.5;margin-bottom:10px}
 .letter-copy h3{font-size:28px;line-height:1.25;margin:0 0 10px}
 .letter-copy .email{font-size:23px;line-height:1.5;margin:0 0 8px}
 .letter-copy .sender{font-size:14px;line-height:1.6;max-width:none;margin:0 0 14px}
 .letter-copy .ink-button,.letter-copy .copy-email{font-size:13px;line-height:1.4;padding:10px 12px;min-height:46px;white-space:normal}
 .object-stage[data-object="contacts"]>.close{position:sticky;float:right;top:6px;right:0;margin:6px 6px -52px 0;background:#faf1dd;border:1px solid #cdbb98}
 .object-stage[data-object="contacts"] .object-footer{display:flex;position:relative;bottom:auto;right:auto;translate:none;margin:0;padding:6px 0 12px}
}
@media(max-height:550px){.object-stage[data-object="contacts"]{top:68px;bottom:8px}}
/* On a laptop, actions fit before the lower edge of the flavor panel. */
@media(min-width:701px) and (min-height:551px) and (max-height:800px){
 .flavor-photo{max-height:calc(100dvh - 420px);object-fit:contain}
 .flavor-copy h4{font-size:27px;margin:8px 0}
 .flavor-copy p{margin-bottom:10px}
}

/* Fit both flavors between the fixed menu and navigation. Text and 44px
   controls keep their space; only the contain-fitted photos use the remainder. */
.stage[data-state] .object-stage[data-object="flavors"]{overflow:clip}
.stage .serving-scene{height:100%;min-height:0;display:flex;flex-direction:column}
.stage .serving-scene .flavors-heading{flex:none}
.stage .serving-scene .flavor-pair{flex:1;min-height:0;align-items:stretch}
.stage .serving-scene .flavor-presentation{min-height:0;display:flex;flex-direction:column}
.stage .serving-scene .flavor-photo{flex:1;min-height:0;height:0;max-height:none;aspect-ratio:auto;object-fit:contain}
.stage .serving-scene .flavor-copy{flex:none}
.stage .serving-scene .flavor-copy h4{margin:8px 0;min-height:0}
.stage .serving-scene .flavor-copy p{margin:0 0 10px}
.stage .serving-scene .flavor-copy .flavor-facts{margin:0 0 8px}
.stage .serving-scene .detail-actions{margin:0;gap:8px}
.stage .serving-scene .market-link--wb{gap:6px;padding-inline:8px}
.stage .serving-scene .market-link__status{font:700 10px/1 var(--sans)}
@media(min-width:701px) and (max-width:1100px){
 .stage .serving-scene .market-link--wb{flex-direction:column;gap:2px;padding-block:4px}
 .stage .serving-scene .market-link--wb img{width:64px;height:13px}
 .stage .serving-scene .market-link__status{font-size:8px;min-height:13px;padding:1px 3px}
}
@media(max-width:700px) and (max-aspect-ratio:1/1){
 .stage .serving-scene .flavor-copy h4{min-height:48px;margin:4px 0}
 .stage .serving-scene .flavor-copy p{font-size:12px;line-height:1.5;margin:0 0 8px}
 .stage .serving-scene .flavor-copy .flavor-facts{font-size:11px;line-height:1.4;margin:0 0 6px}
 .stage .serving-scene .detail-actions{gap:6px}
}
/* Short portrait windows give each flavor a row, with its photo beside the
   full description. All three actions then share one row within that flavor. */
@media(max-width:700px) and (max-height:680px) and (max-aspect-ratio:1/1), (max-height:550px) and (min-aspect-ratio:1/1){
 .stage .object-stage[data-object="flavors"]{padding:0 8px}
 .stage .serving-scene .flavors-heading{display:none}
 .stage .serving-scene .flavor-pair{gap:8px}
 .stage .serving-scene .flavor-presentation{display:grid;grid-template-columns:28% minmax(0,1fr);align-items:center;gap:6px}
 .stage .serving-scene .flavor-photo{width:100%;height:100%;max-height:100%;flex:none}
 .stage .serving-scene .flavor-copy{padding:0;min-width:0}
 .stage .serving-scene .flavor-copy h4{font-size:18px;line-height:1.15;min-height:0;margin:0 0 3px}
 .stage .serving-scene .flavor-copy p{max-width:none;font-size:11px;line-height:1.35;margin:0 0 3px}
 .stage .serving-scene .flavor-copy .flavor-facts{font-size:10px;line-height:1.3;margin:0 0 4px}
 .stage .serving-scene .detail-actions{display:grid;grid-template-columns:46px minmax(0,1fr);gap:5px;align-items:stretch}
 .stage .serving-scene .detail-actions>button{align-self:stretch;min-width:0;min-height:44px;font-size:10px;padding:4px 0}
 .stage .serving-scene .marketplaces{grid-template-columns:1fr 1fr;max-width:none;gap:4px}
 .stage .serving-scene .market-link{min-height:44px;padding:4px;gap:2px}
 .stage .serving-scene .market-link--ozon img{width:54px;height:15px}
 .stage .serving-scene .market-link--ozon>span{display:none}
 .stage .serving-scene .market-link--wb{flex-direction:column;gap:3px}
 .stage .serving-scene .market-link--wb img{width:48px;height:10px}
 .stage .serving-scene .market-link__status{min-height:13px;font:700 7px/1 var(--sans);padding:1px 3px}
 .stage .serving-scene .market-note{display:none}
}
@media(max-width:700px) and (max-height:680px) and (max-aspect-ratio:1/1){
 .stage .serving-scene .flavor-pair{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr))}
}
/* The one-row mobile menu gives the artwork and captions more room. */
@media(max-width:700px), (max-width:1000px) and (max-height:550px) and (pointer:coarse){
 .stage .serving-scene .flavor-copy p{font-size:13px;line-height:1.55}
 .stage .serving-scene .flavor-copy .flavor-facts{font-size:11.5px}
}
@media(max-width:700px) and (max-height:680px), (max-width:1000px) and (max-height:550px) and (pointer:coarse){
 .stage .serving-scene .flavor-copy h4{font-size:20px;line-height:1.2}
 .stage .serving-scene .flavor-copy p{font-size:12px;line-height:1.45}
 .stage .serving-scene .flavor-copy .flavor-facts{font-size:11px}
}
@media(max-width:700px) and (min-height:780px) and (max-aspect-ratio:1/1){
 .stage .serving-scene .flavor-pair{flex:none;height:auto;width:100%;margin-block:auto}
 .stage .serving-scene .flavor-photo{flex:none;height:auto;aspect-ratio:1402/1122}
 .stage .serving-scene .flavor-copy{flex:1}
 .stage .serving-scene .detail-actions{margin-top:auto}
}
