/* Menu page: opening, plate strip, filter chips, dish rows. Chrome lives in site.css. */

/* Opening: the h1 leans up the angle, the strip below is the page's index. */
.menu-open{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,4rem);align-items:center;padding:clamp(3rem,9vh,5.5rem) var(--pad) 1.4rem}
.menu-open h1{margin:0;max-width:13ch;font-size:clamp(2.6rem,3.6vw + 1.2rem,4.7rem);line-height:1.04;letter-spacing:-.02em}
.menu-open__side .lead{margin-bottom:.8rem}
.menu-open__hint{max-width:40ch;margin:0 0 1.2rem;font-size:var(--fs-body);color:var(--ink-soft)}
@media (max-width:720px){
  .menu-open{grid-template-columns:1fr;padding-top:1.6rem;gap:1rem}
  .menu-open h1{max-width:none}
}

/* Strip: seven platter ovals, one dish name each. The rim fills masa once visited. */
.strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.6rem;padding:.4rem var(--pad) clamp(1.5rem,4vh,2.5rem)}
.strip__oval{position:relative;display:grid;place-items:center;aspect-ratio:5 / 2;padding:0 1.1rem;border-radius:50%;background:var(--panel);box-shadow:inset 0 0 0 2px var(--rule);color:var(--ink);font-size:1rem;font-weight:500;line-height:1.15;text-align:center;text-decoration:none;transition:color 240ms var(--ease)}
.strip__oval:hover{color:var(--accent)}
.strip__oval::after{content:"";position:absolute;inset:0;border-radius:50%;padding:.28rem;background:conic-gradient(from -90deg,var(--accent) calc(var(--trace) * 1%),transparent 0);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;opacity:0;pointer-events:none}
.strip__oval.is-seen{color:var(--accent)}
.strip__oval.is-seen::after{opacity:1;animation:trace 800ms var(--ease) forwards}
.strip__oval.is-seen.is-done::after{animation:none;--trace:100}

/* Phone: the seven names wrap onto rows inside the window, each oval at least
   as wide as its name and stretched to fill its row. Nothing scrolls sideways,
   no name is cut. */
@media (max-width:720px){
  .strip{display:flex;flex-wrap:wrap;gap:.55rem;padding:.5rem var(--pad) 1.2rem}
  .strip__oval{flex:1 1 auto;max-width:100%;min-width:0;aspect-ratio:auto;min-height:3.4rem;padding:.7rem 1.4rem;font-size:1rem;line-height:1.2;overflow-wrap:break-word}
}

/* Ledger wrapper and chapter labels. */
.menu-ledger{margin-inline:var(--pad)}
.row[hidden],.dish[hidden]{display:none}
.row__label span{display:block}
.row__label .num{font-size:1.45rem;line-height:1.2}
.row--dish{scroll-margin-top:1rem;padding-block:clamp(1.2rem,3.5vh,2.2rem)}
.row--lift{padding-block:clamp(1rem,2.5vh,1.6rem) clamp(1.2rem,3vh,2rem)}
.row--lift .row__body{padding-top:clamp(2.8rem,4.6vw,3.9rem)}
.row--lift h2{max-width:16ch}
.row--lift .btn-row{margin-top:1.1rem}
@media (max-width:720px){
  .lab-word{display:none}
  .row__label .num{font-size:1.1rem}
  .row--lift .row__body{padding-top:.2rem}
}

/* Panels under a lifted heading fill the whole right column; the plus sets its
   copy in two columns so the oxblood is filled, not half used. */
.row--lift .panel{width:100%;max-width:none}
.row--lift .panel p{max-width:none}
@media (min-width:900px){
  #plus .panel{column-count:2;column-gap:clamp(1.6rem,3.5vw,3rem)}
  #plus .panel p{break-inside:avoid-column}
}

/* The highlight rule: one width for every dish row, drawn at rest, full column. */
.hl{display:block;width:100%;max-width:none;height:.2rem;margin:0 0 1.1rem;border:0;background:var(--accent);transform:none}

/* Note: the quiet small print inside a panel. */
.note{font-size:var(--fs-small);line-height:1.5;color:var(--ink-soft);margin-top:clamp(.9rem,2vh,1.3rem)}
.note a{color:var(--ink)}
.note p + p{margin-top:.8em}

/* Filter chips: platter ovals that wrap onto a second row rather than leave the
   column at the right edge. */
.filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.1rem;padding:.35rem 0 .6rem}
.no-js .filters{display:none}
.chip{flex:0 1 auto;min-height:2.75rem;padding:.45rem 1.15rem;border:0;border-radius:50%;background:transparent;box-shadow:inset 0 0 0 2px var(--rule);color:var(--ink);font-family:'Alegreya Sans','Segoe UI',system-ui,sans-serif;font-size:1rem;font-weight:500;line-height:1.2;white-space:nowrap;cursor:pointer;transition:background-color 240ms var(--ease),color 240ms var(--ease)}
.chip:hover{color:var(--accent)}
.chip[aria-pressed="true"]{background:var(--accent);color:var(--ground);box-shadow:none}
.filters__count{min-height:1.4em;margin:.2rem 0 0;font-size:var(--fs-small);color:var(--ink-soft)}

/* Dishes: wide platters alternate with pairs of smaller ones. Every dish row
   shares one column width; the text panel of a single dish starts level with
   the top of its oval and with the same width each time. */
.dishes{display:grid;gap:clamp(1.2rem,3vw,2.5rem);align-items:start;width:100%}
.dishes--two{grid-template-columns:repeat(2,minmax(0,1fr))}
.dish{display:grid;gap:.9rem;align-content:start;min-width:0;width:100%}
.dish--wide{grid-template-columns:minmax(0,2.15fr) minmax(0,1fr);gap:clamp(1.2rem,3vw,2.6rem);align-items:start}
.dish__plate{margin-block:clamp(.6rem,2.6vw,2rem)}
.dishes--two .dish__plate{max-width:21rem;margin-block:clamp(.5rem,1.6vw,1.2rem)}
.dish__text{background:var(--panel);padding:clamp(.9rem,1.6vw,1.3rem);align-self:start;width:100%;min-width:0}
.dish--wide .dish__text{margin-top:clamp(.6rem,2.6vw,2rem)}
.dish__kind{margin:0 0 .3rem;font-family:'Jost','Trebuchet MS',system-ui,sans-serif;font-size:.95rem;font-weight:500;color:var(--accent)}
.entry{margin:0}
.entry__name{font-size:var(--fs-h3);font-weight:500;line-height:1.15;flex:1 1 auto;min-width:0}
.entry__price{font-size:var(--fs-h3);color:var(--accent);flex:0 0 auto;margin-left:auto}
.dish--wide .entry{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.25rem .8rem}
.dish__line{margin:.45rem 0 0;font-size:var(--fs-body);line-height:1.45;max-width:52ch}
.dish__note{margin:.5rem 0 0;font-size:var(--fs-small);color:var(--ink-soft)}
@media (max-width:900px){.dish--wide{grid-template-columns:minmax(0,1fr);align-items:start}.dish--wide .dish__text{margin-top:0}}
@media (max-width:720px){
  .dishes--two{grid-template-columns:minmax(0,1fr)}
  .dish__plate,.dishes--two .dish__plate{margin-block:.2rem;max-width:none}
}

/* Reduced motion: rims and rules stand finished. */
@media (prefers-reduced-motion:reduce){
  .strip__oval.is-seen::after{--trace:100}
}
