/* Optional editorial ornaments: one selected local WebP, no public theme script. */
body[data-decoration=graphic][data-theme=spring] .season-art{background-image:url("themes/spring-graphic-v1.webp")}
body[data-decoration=graphic][data-theme=summer] .season-art{background-image:url("themes/summer-graphic-v1.webp")}
body[data-decoration=graphic][data-theme=harvest] .season-art{background-image:url("themes/harvest-graphic-v1.webp")}
body[data-decoration=graphic][data-theme=winter] .season-art{background-image:url("themes/winter-graphic-v1.webp")}
body[data-decoration=graphic][data-theme=christmas] .season-art{background-image:url("themes/christmas-graphic-v1.webp")}
body[data-decoration=none] .season-art{display:none!important;background-image:none}
@media screen{
 body[data-decoration=graphic][data-layout=legacy][data-theme]:not([data-theme=base]) .menu-header{display:grid;grid-template-columns:minmax(0,1fr) clamp(150px,22vw,184px);column-gap:20px;row-gap:12px;align-items:center;padding:12px 0 16px;min-height:0;background:transparent;text-align:left}
 body[data-decoration=graphic][data-layout=legacy][data-theme]:not([data-theme=base]) .menu-header>div{padding:0;min-width:0}
 body[data-decoration=graphic][data-layout=legacy][data-theme]:not([data-theme=base]) .season-art{position:static;grid-column:2;grid-row:1;align-self:center;display:block;width:100%;height:auto;aspect-ratio:184/112;margin:0;background-repeat:no-repeat;background-position:center;background-size:contain}
 body[data-decoration=graphic][data-layout=legacy][data-theme]:not([data-theme=base]) .menu-header>.print-button{grid-column:1;grid-row:2;justify-self:start;max-width:100%;margin:0}
 body[data-decoration=none][data-layout=legacy][data-theme]:not([data-theme=base]) .menu-header{min-height:0;padding:16px}
 body[data-decoration=none][data-layout=legacy][data-theme]:not([data-theme=base]) .menu-header>div{padding:0}
 body[data-decoration=none][data-layout=legacy][data-theme]:not([data-theme=base]) .menu-header .restaurant-logo{max-width:100%}
 body[data-decoration=none][data-layout=legacy][data-theme]:not([data-theme=base]) .menu-header>.print-button{max-width:100%}
}
@media screen and (max-width:699px){
 body[data-decoration=graphic][data-layout=legacy][data-theme]:not([data-theme=base]) .menu-header{grid-template-columns:minmax(0,1fr) clamp(104px,32vw,128px);column-gap:16px;padding:8px 0 14px}
 body[data-decoration=graphic][data-layout=legacy][data-theme]:not([data-theme=base]) .menu-header>div{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px 14px;text-align:left;padding:0}
 body[data-decoration=graphic][data-layout=legacy][data-theme]:not([data-theme=base]) .menu-header .restaurant-logo{width:100px;height:40px;max-width:100%;margin:0;flex:0 0 auto;object-position:left center}
 body[data-decoration=graphic][data-layout=legacy][data-theme]:not([data-theme=base]) .menu-header h1{padding:0;border:0;font-size:clamp(1.5rem,5vw,1.8rem);max-width:100%}
 body[data-decoration=graphic][data-layout=legacy][data-theme]:not([data-theme=base]) .menu-header .eyebrow{margin:0}
}
@media print{body[data-decoration] .season-art{display:none!important}}
@media screen and (min-width:700px){
 body[data-decoration=graphic][data-layout=legacy][data-theme]:not([data-theme=base]):not([data-layout=classic]) .menu-header>div{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
 body[data-decoration=graphic][data-layout=legacy][data-theme]:not([data-theme=base]) .menu-header .restaurant-logo{max-width:100%;width:150px;height:60px;margin:0;flex:0 0 auto}
 body[data-decoration=graphic][data-layout=legacy][data-theme]:not([data-theme=base])[data-layout=classic] .menu-header .restaurant-logo{margin-bottom:8px}
}


/* The season occupies its own logo-row slot; it never sets the title size. */
@media screen{
 body[data-layout]:where(:not([data-layout=legacy])){--title-size:clamp(2.25rem,5vw,3.3rem);--art-width:104px;--art-tone:none}
 body[data-layout=modern]{--title-size:clamp(2.4rem,10vw,3.3rem);--art-width:88px}
 body[data-layout=bistro]{--title-size:clamp(3.6rem,14vw,4.8rem);--art-width:128px}
 body[data-layout=classic]{--art-width:76px;--art-tone:saturate(.55)}
 body[data-layout=nordic]{--art-width:68px;--art-tone:saturate(.45)}
 body[data-layout=market]{--title-size:clamp(2.7rem,15vw,4.8rem);--art-width:112px}
 body[data-layout=night]{--art-width:76px;--art-tone:saturate(.55) brightness(.95)}
 body[data-layout][data-theme]:where(:not([data-layout=legacy])) .menu-header h1{font-size:var(--title-size);hyphens:auto;text-wrap:balance}
 body[data-layout][data-theme]:where(:not([data-layout=legacy])) .menu-header{min-height:0;background:transparent;border-radius:0}
 body[data-decoration=none][data-layout][data-theme]:where(:not([data-layout=legacy])) .menu-header{padding:0 0 8px;border:0}
 body[data-decoration=none][data-layout][data-theme]:where(:not([data-layout=legacy])) .menu-header>div{padding:0}
 body[data-decoration=none][data-layout][data-theme]:where(:not([data-layout=legacy])) .restaurant-logo{max-width:100%;width:140px;height:48px}
 body[data-decoration=graphic][data-layout][data-theme]:not([data-theme=base]):where(:not([data-layout=legacy])) .menu-header{display:grid;grid-template-columns:minmax(0,1fr) var(--art-width);gap:0 16px;padding:0 0 8px;text-align:left;border:0}
 body[data-decoration=graphic][data-layout][data-theme]:not([data-theme=base]):where(:not([data-layout=legacy])) .menu-header>div{display:grid;grid-column:1/-1;grid-row:1;grid-template-columns:minmax(0,1fr) var(--art-width);grid-template-rows:minmax(max(52px,calc(var(--art-width)*112/184)),auto) auto auto auto;gap:0 16px;padding:0;min-width:0}
 body[data-decoration=graphic][data-layout][data-theme]:not([data-theme=base]):where(:not([data-layout=legacy])) .restaurant-logo{grid-column:1;grid-row:1;align-self:center;width:140px;height:48px;max-width:100%;margin:0 0 4px;object-position:left center}
 body[data-decoration=graphic][data-layout][data-theme]:not([data-theme=base]):where(:not([data-layout=legacy])) .eyebrow{grid-column:1/-1;grid-row:2}
 body[data-decoration=graphic][data-layout][data-theme]:not([data-theme=base]):where(:not([data-layout=legacy])) .menu-header h1{grid-column:1/-1;grid-row:3;min-width:0}
 body[data-decoration=graphic][data-layout][data-theme]:not([data-theme=base]):where(:not([data-layout=legacy])) .header-service{grid-column:1/-1;grid-row:4}
 body[data-decoration=graphic][data-layout][data-theme]:not([data-theme=base]):where(:not([data-layout=legacy])) .season-art{display:block;position:static;grid-column:2;grid-row:1;align-self:start;justify-self:end;width:var(--art-width);height:auto;aspect-ratio:184/112;margin:0;background-size:contain;background-position:center;background-repeat:no-repeat;filter:var(--art-tone)}
 body[data-decoration=graphic][data-layout=classic][data-theme]:not([data-theme=base]) .menu-header{border-bottom:1px solid var(--brand);text-align:center;padding-bottom:12px}
 body[data-decoration=graphic][data-layout=classic][data-theme]:not([data-theme=base]) .restaurant-logo{grid-column:1/-1;justify-self:center;max-width:calc(100% - 2*(var(--art-width) + 8px));object-position:center}
 body[data-decoration=graphic][data-layout=night][data-theme]:not([data-theme=base]) .menu-header .restaurant-logo{width:140px;height:52px;padding:8px 12px;margin:0 0 12px;object-position:center}
 body[data-decoration=graphic][data-layout=market][data-theme]:not([data-theme=base]) .menu-header h1{margin-top:8px}
 body[data-decoration=graphic][data-layout][data-theme]:not([data-theme=base]):where(:not([data-layout=legacy])) .menu-header>.print-button{grid-column:1/-1;margin-top:12px;max-width:100%;justify-self:start}
}
@media screen and (min-width:700px){
 body[data-layout=bistro]{--art-width:150px}
 body[data-layout=market]{--art-width:140px}
 body[data-layout=nordic]{--art-width:84px}
 body[data-layout=night],body[data-layout=classic]{--art-width:96px}
 body[data-decoration=graphic][data-layout=bistro][data-theme]:not([data-theme=base]) .menu-header>div,
 body[data-decoration=graphic][data-layout=market][data-theme]:not([data-theme=base]) .menu-header>div{grid-template-rows:minmax(max(86px,calc(var(--art-width)*112/184)),auto) auto auto auto}
}
@media screen and (max-width:359px){body[data-layout=bistro]{--title-size:2.9rem;--art-width:104px}}

@media screen{
 body[data-decoration=none][data-layout=classic][data-theme] .menu-header{border-bottom:1px solid var(--brand)}
 body[data-decoration=none][data-layout=night][data-theme] .menu-header .restaurant-logo{width:140px;height:52px;padding:8px 12px;margin:0 0 12px;object-position:center}
}
