/* B1 has its layout from first paint; the data/links/order still come from CMS. */
@media(max-width:760px) and (min-height:600px){
 #menu .rp-categories{display:flex;flex-direction:column;gap:clamp(24px,7svh,64px);isolation:isolate;padding-bottom:20px}
 #menu .rp-category{--mb-depth:0;position:sticky;top:calc(88px + var(--mb-depth)*14px);z-index:1;flex-shrink:0;min-height:140px;margin:0;padding:20px;border:1px solid var(--wine-12);border-radius:24px;background:var(--beige);color:var(--wine-ink);font-size:clamp(1.65rem,7vw,2.15rem);line-height:1.25;transform:scale(var(--mb-scale,1));transform-origin:50% 0;text-decoration:none}
 #menu .rp-category:nth-child(2){--mb-depth:1;z-index:2}
 #menu .rp-category:nth-child(3){--mb-depth:2;z-index:3}
 #menu .rp-category:nth-child(4){--mb-depth:3;z-index:4}
 #menu .rp-category:nth-child(n+5){--mb-depth:4;z-index:5}
 #menu .rp-category:nth-child(3n+2){background:var(--beige-deep)}
 #menu .rp-category:nth-child(3n){background:var(--wine);color:var(--paper);border-color:var(--wine)}
 #menu .rp-category:last-child{margin-bottom:0}
 #menu .rp-category:focus{z-index:10;transform:none}
 #menu .rp-category:focus-visible{outline:3px solid currentColor;outline-offset:-9px}
 #menu .rp-category:after{font-size:1.3rem}
}
@media(prefers-reduced-motion:reduce) and (max-width:760px){
 #menu .rp-category{position:static;transform:none!important;min-height:100px;margin-bottom:0}
 #menu .rp-categories{display:grid;gap:16px;padding-bottom:0}
}
