/*BRAND*/:root{--brand:#553346;--brand-ink:#ffffff;--accent:#c6a672;--paper:#faf7f2;--ink:#1d1b19;--display:"Noto Kufi Arabic";--sans:"Readex Pro"}/*/BRAND*/

/* The menu as a counter of cups: every item in its disc, name and price under it, four or five to a row (two on a
   phone); the section names as a sticky row of pills. */
body{line-height:1.6}
header{padding:1.1rem var(--m) 1rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;max-width:84rem;margin:0 auto}
.intro{max-width:84rem;margin:0 auto;padding:clamp(1.5rem,4vw,3.5rem) var(--m) clamp(1.25rem,2.5vw,2rem);display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:1rem 3rem}
h1{font-size:clamp(3rem,9vw,7rem);line-height:1.2}
.intro p{font-size:var(--s3);margin:0;max-width:34ch;color:var(--muted)}
/* category tabs: one horizontal row, sticky; the row scrolls sideways, never the page */
.catbar{position:sticky;top:0;z-index:5;background:var(--day);padding:.75rem max(var(--m),calc((100% - 84rem)/2 + var(--m)))}
.cats{display:flex;gap:.5rem;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;border-radius:999px}
.cats::-webkit-scrollbar{display:none}
.cats a{flex:none;display:inline-flex;align-items:center;min-height:2.75rem;text-decoration:none;padding:0 1.3rem;border-radius:999px;background:var(--day-2);font-size:var(--s2);font-weight:600;white-space:nowrap;transition:background-color .2s,color .2s}
.cats a:hover{background:var(--t1)}.cats a:active{transform:scale(.96)}
.cats a.on{background:var(--lit);color:var(--lit-ink)}
main{padding:0 var(--m) 6rem;max-width:84rem;margin:0 auto}
section{padding-top:clamp(4rem,7vw,6rem);scroll-margin-top:4.5rem}
section:first-child{padding-top:2.5rem}
h2{font-size:var(--s5);line-height:1.3;margin:0 0 clamp(1.5rem,3vw,2.5rem)}
ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,14rem),1fr));gap:clamp(2rem,3vw,3rem) clamp(1rem,2vw,2rem)}
@media(max-width:620px){ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
.card{scroll-margin-top:5rem;display:flex;flex-direction:column;align-items:center;gap:1rem;text-align:center;color:inherit;text-decoration:none;min-height:100%}
.card:active{transform:scale(.98)}
.card .tile{order:-1;width:100%;transition:transform .3s}
.card:hover .tile img{transform:scale(calc(var(--z,1) * 1.06))}
.card b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-weight:800;font-size:var(--s2);line-height:1.5}
.card em,.card strong{font-variant-numeric:tabular-nums}
.card em{display:inline-block;margin:.3rem .5rem 0;font-style:normal;color:var(--lit);font-weight:800}
.card .cal{display:inline-block;font-size:1rem;color:var(--muted)}
/* an item with no real photo: a disc of plain tint with its name and price (no fake picture) */
.noimg .card{min-height:0;min-width:0}/* a dish without a photo stays an ordinary row with its price where the photo would be (2026-11-03: the disc version grew wider than the column) */.noimg .card em{display:none}
.noimg .card strong{font-weight:800;font-size:var(--s2);color:var(--lit);white-space:nowrap}
.mk{width:1.1em;height:1.1em;fill:currentColor;vertical-align:-.15em}
.notice{max-width:84rem;margin:0 auto;padding:2rem var(--m) 4rem;text-wrap:pretty;color:var(--muted);font-size:1rem;line-height:1.8}
.notice h2{font-size:var(--s3);color:var(--text);margin:0 0 .5rem}
.notice p{margin:0;max-width:68ch}
.state{color:var(--muted);padding:3rem 0}
#dish{border:0;padding:0;margin:0;width:100%;max-width:none;height:100dvh;max-height:none;background:var(--day);color:var(--text);overflow:auto;overscroll-behavior:contain}
#dish::backdrop{background:rgb(0 0 0/.5)}
#dish .x{position:sticky;top:0;z-index:2;display:block;width:100%;text-align:start;border:0;background:var(--day);font:inherit;font-size:1rem;font-weight:600;padding:1rem var(--m);cursor:pointer;color:var(--lit);min-height:3.25rem}
#dish .tile{width:min(86%,52vh);margin:.5rem auto 0}
/* the dialog photo's .hero class must not pick up motion.css's dark page hero (2026-11-03: dish photo looked black) */
#dish .tile.hero{display:block;min-height:0;isolation:auto;background:#fff;color:inherit}#dish .tile.hero::before{content:none}
#dish .in{padding:1.5rem var(--m) 3rem;max-width:40rem;margin:0 auto;text-align:center}
#dish h2{margin:0 0 .5rem;font-size:var(--s4)}#dish em{font-size:var(--s3);font-style:normal;font-weight:800;color:var(--lit)}
#dish .desc{font-size:var(--s2);line-height:1.8;margin:1rem 0}#dish .nut{font-size:var(--s2);margin:.9rem 0 0}#dish .alg{color:var(--muted);margin:.5rem 0 0}
@media(min-width:700px){#dish{max-width:36rem;height:auto;max-height:92vh;margin:auto;border-radius:var(--r)}}
footer{background:var(--field);color:var(--field-ink);padding:2.5rem var(--m);display:flex;justify-content:space-between;align-items:center;gap:1.25rem;flex-wrap:wrap;font-size:1rem}
footer a{color:inherit;display:inline-flex;align-items:center;min-height:2.75rem}

.card b{-webkit-line-clamp:3}#cats a{min-height:44px;display:inline-flex;align-items:center}.card .cal{font-size:.875rem}