/* Brazilian Mama's Food — digital menu (concept). Mobile-first. */
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  /* palette: tomato, Brazil green, gold, dark wood, warm paper */
  --paper: oklch(0.972 0.012 85);
  --paper-2: oklch(0.945 0.018 82);
  --card: oklch(0.992 0.006 85);
  --ink: oklch(0.225 0.02 45);
  --ink-2: oklch(0.43 0.02 50);
  --line: oklch(0.885 0.02 80);
  --wood: oklch(0.205 0.018 42);
  --wood-2: oklch(0.27 0.022 45);
  --on-wood: oklch(0.955 0.015 85);
  --on-wood-2: oklch(0.8 0.02 80);
  --tomato: oklch(0.55 0.2 28);
  --tomato-d: oklch(0.47 0.18 28);
  --green: oklch(0.44 0.11 152);
  --green-d: oklch(0.37 0.1 152);
  --gold: oklch(0.82 0.13 88);
  --gold-d: oklch(0.52 0.1 80);

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
  --r: 14px; --r-s: 10px;
  --shadow: 0 1px 2px oklch(0.2 0.02 45 / .06), 0 8px 24px oklch(0.2 0.02 45 / .07);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --fast: 160ms; --mid: 320ms;
  --top-h: 64px; --cats-h: 52px;
  --wrap: 1200px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + var(--cats-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.5 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, fieldset { margin: 0; padding: 0; }
ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2.5px solid var(--gold-d); outline-offset: 3px; border-radius: 6px; }
.top :focus-visible, .hero :focus-visible, .foot :focus-visible, .orderbar:focus-visible { outline-color: var(--gold); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--gold); color: var(--ink); padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 40; background: var(--wood); color: var(--on-wood); min-height: var(--top-h); padding-top: env(safe-area-inset-top); display: flex; border-bottom: 1px solid oklch(1 0 0 / .1); }
.top__in { min-height: var(--top-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.mark { display: inline-flex; flex-direction: column; justify-content: center; line-height: 1; text-decoration: none; padding-block: 8px; }
.mark__a { font: 600 .625rem/1.3 var(--text); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.mark__b { font: italic 600 1.3rem/1.2 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.top__tools { display: flex; align-items: center; gap: var(--s2); }
.lang { display: flex; border: 1px solid oklch(1 0 0 / .22); border-radius: 999px; padding: 2px; }
.lang button { min-width: 44px; height: 44px; border-radius: 999px; font-weight: 600; font-size: .8125rem; letter-spacing: .06em; color: var(--on-wood-2); transition: background var(--fast) var(--ease), color var(--fast) var(--ease); }
.lang button[aria-pressed="true"] { background: var(--on-wood); color: var(--wood); }
.lang button:not([aria-pressed="true"]):hover { color: var(--on-wood); }
.bagbtn { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid oklch(1 0 0 / .22); transition: background var(--fast) var(--ease), transform var(--fast) var(--ease); }
.bagbtn:hover { background: oklch(1 0 0 / .08); }
.bagbtn:active { transform: scale(.94); }
.bagbtn__n { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding-inline: 6px; border-radius: 999px; background: var(--tomato); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--wood); }
.bagbtn__n[hidden] { display: none; }
.bump { animation: bump var(--mid) var(--ease); }
@keyframes bump { 40% { transform: scale(1.28); } }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--wood); color: var(--on-wood); isolation: isolate; overflow: clip; }
.hero__photo { position: absolute; inset: 0 0 auto 0; height: clamp(250px, 46svh, 420px); z-index: -2; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.205 0.018 42 / .35) 0%, oklch(0.205 0.018 42 / 0) 22%, oklch(0.205 0.018 42 / .1) 45%, oklch(0.205 0.018 42 / .82) 78%, var(--wood) 100%); }
.hero__in { position: relative; min-height: calc(100svh - var(--top-h)); display: flex; flex-direction: column; justify-content: flex-end; padding-block: 120px var(--s5); }
.hero__copy { max-width: 36rem; }

.wordmark { display: grid; justify-items: start; font-family: var(--display); line-height: .9; letter-spacing: -.02em; rotate: -4deg; transform-origin: 0 100%; margin-bottom: var(--s4); }
.wordmark__a { display: inline-flex; align-items: center; gap: .35em; font-size: clamp(1.35rem, 5.6vw, 2.6rem); font-weight: 400; letter-spacing: 0; color: var(--on-wood); margin-left: .15em; text-shadow: 0 2px 14px oklch(0.15 0.02 45 / .7); }
.wordmark__a svg { width: 1em; height: 1em; stroke: none; fill: oklch(0.7 0.17 148); }
.wordmark__b { font-size: clamp(5.4rem, 25vw, 9rem); font-style: italic; font-weight: 700; color: oklch(0.6 0.215 29); -webkit-text-stroke: .062em oklch(0.975 0.012 85); paint-order: stroke fill; text-shadow: 0 .09em .3em oklch(0.12 0.02 45 / .6); padding-inline: .04em .08em; margin-top: .02em; }
.wordmark__c { font-size: clamp(3rem, 13.5vw, 5rem); font-style: italic; font-weight: 600; color: oklch(0.975 0.012 85); justify-self: end; margin-top: -.3em; margin-right: -.1em; text-shadow: 0 2px 4px oklch(0.15 0.02 45 / .5), 0 6px 26px oklch(0.12 0.02 45 / .75); position: relative; }
.wordmark__c::after { content: ""; position: absolute; left: .1em; right: 0; bottom: -.12em; height: .07em; border-radius: 1em; background: var(--gold); }

.hero__promise { font-size: 1.0625rem; line-height: 1.45; color: var(--on-wood); max-width: 30rem; text-wrap: pretty; }
.status { margin-top: var(--s4); display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 12px; border-radius: 999px; background: oklch(0.16 0.015 42 / .72); border: 1px solid oklch(1 0 0 / .18); font-size: .9375rem; }
.status strong { font-weight: 700; }
.status span { color: var(--on-wood-2); }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: oklch(0.68 0.19 30); flex: none; }
.status[data-open="true"] .status__dot { background: oklch(0.78 0.2 148); box-shadow: 0 0 0 0 oklch(0.78 0.2 148 / .6); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 9px oklch(0.78 0.2 148 / 0); } }
.hero__hours { margin-top: var(--s2); font-size: .875rem; color: var(--on-wood-2); }
.hero__clock { white-space: nowrap; }
.hero__cta { margin-top: var(--s4); display: grid; gap: var(--s3); }

/* round seal, a nod to her round logo */
.seal { position: absolute; top: 18px; right: 0; width: 104px; aspect-ratio: 1; filter: drop-shadow(0 8px 18px oklch(0.1 0.02 45 / .55)); pointer-events: none; }
.seal svg { width: 100%; height: 100%; stroke: none; display: block; overflow: visible; }
.seal__disc { fill: var(--green-d); }
.seal__rim { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.seal__ring text { font: 600 14.5px var(--text); letter-spacing: .14em; fill: var(--gold); text-transform: uppercase; }
.seal__ring { transform-origin: 100px 100px; }
.seal__m { font: italic 700 64px var(--display); fill: oklch(0.975 0.012 85); }
.seal__leaf { fill: oklch(0.78 0.17 140); }
.seal__tom { fill: oklch(0.62 0.21 29); }

/* house favorite card */
.fav { margin-top: var(--s5); display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: var(--s3); width: 100%; padding: 8px 14px 8px 8px; text-align: left; background: var(--paper); color: var(--ink); border-radius: var(--r); box-shadow: 0 2px 4px oklch(0.1 0.02 45 / .3), 0 18px 40px oklch(0.1 0.02 45 / .45); transition: transform var(--mid) var(--ease), box-shadow var(--mid) var(--ease); }
.fav__img { width: 84px; height: 84px; border-radius: 9px; overflow: hidden; }
.fav__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.fav__t { display: grid; gap: 3px; min-width: 0; }
.fav__l { display: inline-flex; align-items: center; gap: 6px; font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tomato-d); }
.fav__l .dot { width: 7px; height: 7px; background: var(--tomato); }
.fav__n { font: 500 1.25rem/1.1 var(--display); letter-spacing: -.01em; }
.fav__p { font: 500 1rem/1 var(--display); color: var(--ink-2); font-variant-numeric: lining-nums tabular-nums; }
.fav__go { width: 40px; height: 40px; border-radius: 50%; background: var(--tomato); color: #fff; display: grid; place-items: center; transition: background var(--fast) var(--ease), transform var(--mid) var(--ease); }
.fav__go svg { width: 18px; height: 18px; stroke-width: 2.2; }
.fav:active { transform: scale(.985); }
@media (hover: hover) {
  .fav:hover { transform: translateY(-3px); box-shadow: 0 2px 4px oklch(0.1 0.02 45 / .3), 0 26px 50px oklch(0.1 0.02 45 / .5); }
  .fav:hover .fav__img img { transform: scale(1.05); }
  .fav:hover .fav__go { background: var(--tomato-d); transform: translateX(3px); }
}

/* what she sells, in Brazil green */
.strip { background: var(--green-d); color: oklch(0.97 0.02 100); border-top: 1px solid oklch(0.82 0.13 88 / .5); }
.strip ul { display: grid; grid-template-columns: 1fr 1fr; }
.strip li { display: flex; }
.strip a, .strip span.strip__i { display: flex; align-items: center; gap: 10px; min-height: 52px; width: 100%; padding: 8px 0; font-weight: 600; font-size: .9375rem; text-decoration: none; line-height: 1.2; }
.strip li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; align-self: center; margin-right: 10px; }
.strip a { text-decoration: underline; text-decoration-color: oklch(1 0 0 / 0); text-underline-offset: 5px; transition: text-decoration-color var(--fast) var(--ease), color var(--fast) var(--ease); }
.strip a:hover { text-decoration-color: var(--gold); color: #fff; }
.strip :focus-visible { outline-color: var(--gold); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: 999px; font-weight: 650; font-size: 1rem; text-decoration: none; text-align: center; transition: background var(--fast) var(--ease), transform var(--fast) var(--ease), border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--tomato { background: var(--tomato); color: #fff; }
.btn--tomato:hover { background: var(--tomato-d); }
.btn--ghost { border: 1.5px solid oklch(1 0 0 / .45); color: var(--on-wood); background: oklch(0.16 0.015 42 / .55); }
.btn--ghost:hover { background: oklch(0.16 0.015 42 / .8); border-color: oklch(1 0 0 / .8); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-d); }
.btn--line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn .wa { width: 20px; height: 20px; }

/* one entrance: the table comes into focus, the name lands, the seal stamps in */
@media (prefers-reduced-motion: no-preference) {
  .is-entering .hero__photo img { animation: heroPhoto 1700ms cubic-bezier(.16, 1, .3, 1) both; }
  .is-entering .wordmark__a { animation: rise 800ms cubic-bezier(.16, 1, .3, 1) 150ms both; }
  .is-entering .wordmark__b { animation: land 1000ms cubic-bezier(.16, 1, .3, 1) 220ms both; }
  .is-entering .wordmark__c { animation: land 900ms cubic-bezier(.16, 1, .3, 1) 420ms both; }
  .is-entering .hero__promise, .is-entering .status, .is-entering .hero__hours, .is-entering .hero__cta { animation: rise 800ms cubic-bezier(.16, 1, .3, 1) both; }
  .hero__promise { animation-delay: 560ms; }
  .status { animation-delay: 640ms; }
  .hero__hours { animation-delay: 700ms; }
  .hero__cta { animation-delay: 760ms; }
  .is-entering .seal { animation: stamp 900ms cubic-bezier(.16, 1, .3, 1) 900ms both; }
  .seal__ring { animation: spin 38s linear infinite; }
  .is-entering .fav { animation: rise 900ms cubic-bezier(.16, 1, .3, 1) 1050ms both; }
}
@keyframes heroPhoto { from { transform: scale(1.14); filter: blur(10px) brightness(.55); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes land { from { opacity: 0; transform: translateY(.35em) rotate(5deg) scale(.94); filter: blur(6px); } }
@keyframes stamp { from { opacity: 0; transform: scale(1.5) rotate(-50deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__stage { position: relative; }
.hero__fav { padding-bottom: var(--s5); }
.hero__fav .fav { margin-top: 0; }

/* ---------- category nav ---------- */
.cats { position: sticky; top: var(--top-h); z-index: 30; background: color-mix(in oklch, var(--paper) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); height: var(--cats-h); }
.cats .wrap { padding-inline: 0; height: 100%; }
.cats__list { display: flex; gap: 2px; height: 100%; overflow-x: auto; scrollbar-width: none; padding-inline: calc(var(--gutter) - 10px); scroll-padding-inline: var(--gutter); }
.cats__list::-webkit-scrollbar { display: none; }
.cats__list a { position: relative; display: flex; align-items: center; height: 100%; padding-inline: 10px; white-space: nowrap; text-decoration: none; font-weight: 600; font-size: .9375rem; color: var(--ink-2); transition: color var(--fast) var(--ease); }
.cats__list a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--tomato); transform: scaleX(0); transition: transform var(--mid) var(--ease); }
.cats__list a:hover { color: var(--ink); }
.cats__list a[aria-current="true"] { color: var(--ink); }
.cats__list a[aria-current="true"]::after { transform: scaleX(1); }

/* ---------- tools ---------- */
.menu { padding-block: var(--s5) var(--s7); outline: none; }
.pkg { display: grid; gap: var(--s4); margin-bottom: var(--s6); padding: var(--s5); border-radius: var(--r); background: var(--green-d); color: oklch(0.97 0.02 100); }
.pkg__k { font: 600 .75rem/1 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.pkg h2 { margin-top: var(--s2); font: 500 clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem)/1.05 var(--display); font-style: italic; text-wrap: balance; }
.pkg__p { margin-top: var(--s3); max-width: 38rem; color: oklch(0.93 0.025 100); text-wrap: pretty; }
.pkg__pay { display: grid; gap: 2px; padding-top: var(--s4); border-top: 1px solid oklch(0.82 0.13 88 / .45); font-size: .9375rem; }
.pkg__pay strong { font-weight: 600; }
.pkg__pay span { color: var(--gold); font-variant-numeric: tabular-nums; }
.paynote { display: grid; gap: 2px; margin-top: var(--s4); padding: 10px 12px; border-radius: var(--r-s); background: oklch(0.94 0.04 150); color: oklch(0.3 0.07 152); font-size: .875rem; line-height: 1.35; }
.paynote span { font-variant-numeric: tabular-nums; }
.tools { display: grid; gap: var(--s3); }
.search { position: relative; }
.search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--ink-2); pointer-events: none; }
.search input { width: 100%; height: 52px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); padding: 0 18px 0 48px; font-size: 1rem; transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.search input::placeholder { color: var(--ink-2); opacity: 1; }
.search input:hover { border-color: oklch(0.75 0.03 80); }
.search input:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px oklch(0.82 0.13 88 / .55); }
.filters { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font-weight: 600; font-size: .9375rem; transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease); }
.chip:hover { border-color: var(--ink-2); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--tag, var(--ink-2)); }
[data-tag="fav"] { --tag: var(--tomato); }
[data-tag="fit"] { --tag: var(--green); }
[data-tag="kids"] { --tag: oklch(0.72 0.15 75); }
[data-tag="veg"] { --tag: oklch(0.62 0.16 135); }
.tools__count { font-size: .875rem; color: var(--ink-2); min-height: 1.3em; }

/* ---------- sections ---------- */
.sec { padding-top: var(--s7); }
.sec:first-child { padding-top: var(--s5); }
.sec__head { display: grid; gap: 6px; margin-bottom: var(--s5); }
.sec__n { font: 600 .75rem/1 var(--text); letter-spacing: .2em; color: var(--gold-d); }
.sec h2 { font: 500 clamp(2rem, 8vw, 3rem)/1.02 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.sec h2 em { font-style: italic; color: var(--tomato); font-weight: 500; }
.sec__lead { color: var(--ink-2); max-width: 36rem; text-wrap: pretty; }
.cards { display: grid; gap: var(--s4); }

.dish { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform var(--mid) var(--ease), box-shadow var(--mid) var(--ease), border-color var(--mid) var(--ease); }
.dish__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.dish__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.dish__body { padding: var(--s4) var(--s4) var(--s2); display: grid; gap: 6px; flex: 1; align-content: start; }
.dish__side { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.tag .dot { width: 7px; height: 7px; }
.dish h3 { font: 500 1.4rem/1.12 var(--display); letter-spacing: -.01em; }
.dish__open { text-align: left; font: inherit; letter-spacing: inherit; }
.dish__open::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r); }
.dish__open:focus-visible { outline: none; }
.dish__open:focus-visible::after { outline: 2.5px solid var(--gold-d); outline-offset: 2px; }
.dish__alt { font: italic 400 .9375rem/1.3 var(--display); color: var(--ink-2); }
.dish__desc { color: var(--ink-2); font-size: .9375rem; line-height: 1.45; text-wrap: pretty; }
.dish__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s2) var(--s3) var(--s3) var(--s4); }
.price { font: 500 1.25rem/1 var(--display); font-variant-numeric: lining-nums tabular-nums; }
.price small { font: 500 .75rem/1 var(--text); color: var(--ink-2); letter-spacing: .04em; margin-right: 4px; }
.add { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 18px 8px 12px; border-radius: 999px; background: var(--tomato); color: #fff; font-weight: 650; font-size: .9375rem; transition: background var(--fast) var(--ease), transform var(--fast) var(--ease); }
.add svg { width: 18px; height: 18px; stroke-width: 2.2; }
.add:hover { background: var(--tomato-d); }
.add:active { transform: scale(.94); }
.add--quote { text-decoration: none; background: transparent; color: var(--green-d); border: 1.5px solid var(--green); padding-inline: 16px; }
.add--quote:hover { background: var(--green); color: #fff; }
.add__n { min-width: 22px; height: 22px; padding-inline: 6px; margin-right: -8px; border-radius: 999px; background: #fff; color: var(--tomato-d); font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.add.pop { animation: bump var(--mid) var(--ease); }
@media (hover: hover) {
  .dish:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: oklch(0.82 0.03 80); }
  .dish:hover .dish__media img { transform: scale(1.03); }
}

/* text-only dishes: the printed-menu lines */
.lines { margin-top: var(--s5); border-top: 1px solid var(--ink); }
.lines__t { font: 600 .75rem/1 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); padding-block: var(--s4) var(--s1); }
.lines__list { display: grid; }
.dish--line { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; overflow: visible; padding-block: var(--s4); }
.dish--line .dish__body { padding: 0; }
.dish--line .dish__foot { padding: var(--s3) 0 0; }
.dish--line .dish__open::after { border-radius: 8px; inset: 4px -8px; }
.dish--line h3 { font-size: 1.25rem; }
@media (hover: hover) { .dish--line:hover { transform: none; box-shadow: none; border-color: var(--line); } .dish--line:hover h3 { color: var(--tomato-d); } }

.empty { text-align: center; padding: var(--s8) var(--s4); display: grid; gap: var(--s3); justify-items: center; color: var(--ink-2); }
.empty[hidden] { display: none; }
.empty__t { font: 500 1.6rem/1.15 var(--display); color: var(--ink); }
.note { margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid var(--line); font-size: .8125rem; color: var(--ink-2); }

/* ---------- footer ---------- */
.foot { background: var(--wood); color: var(--on-wood); padding-block: var(--s7) calc(var(--s7) + 76px); }
.foot__in { display: grid; gap: var(--s6); }
.foot h2 { font: 600 .75rem/1 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s3); }
.foot p { line-height: 1.5; }
.foot a { text-decoration-color: oklch(1 0 0 / .35); text-underline-offset: 4px; display: inline-block; padding-block: 10px; transition: text-decoration-color var(--fast) var(--ease); }
.foot a:hover { text-decoration-color: var(--gold); }
.foot .dim { color: var(--on-wood-2); font-size: .875rem; }
.mark--foot .mark__b { font-size: 2rem; }
.foot__flag { display: flex; gap: 6px; margin-top: var(--s4); }
.foot__flag i { width: 28px; height: 4px; border-radius: 4px; background: var(--green); }
.foot__flag i:nth-child(2) { background: var(--gold); }
.foot__flag i:nth-child(3) { background: var(--tomato); }
.foot__base { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid oklch(1 0 0 / .14); font-size: .8125rem; color: var(--on-wood-2); display: grid; gap: var(--s1); }

/* ---------- floating order bar ---------- */
.orderbar { position: fixed; z-index: 35; left: var(--gutter); right: var(--gutter); bottom: calc(12px + env(safe-area-inset-bottom)); height: 58px; border-radius: 999px; background: var(--green); color: #fff; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s3); padding: 0 22px 0 10px; font-weight: 650; box-shadow: 0 10px 30px oklch(0.2 0.05 150 / .35); transition: transform var(--mid) var(--ease), opacity var(--mid) var(--ease), background var(--fast) var(--ease); }
.orderbar[hidden] { display: none; }
.orderbar:hover { background: var(--green-d); }
.orderbar:active { transform: scale(.98); }
@starting-style { .orderbar { transform: translateY(90px); opacity: 0; } }
.orderbar__n { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--green-d); display: grid; place-items: center; font-weight: 700; }
.orderbar__t { text-align: left; }
.orderbar__p { font-variant-numeric: tabular-nums; }

/* ---------- dialogs ---------- */
dialog { border: 0; padding: 0; color: var(--ink); background: var(--paper); max-width: none; max-height: none; }
dialog::backdrop { background: oklch(0.15 0.02 45 / .6); }
.iconbtn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: oklch(1 0 0 / .92); color: var(--ink); box-shadow: 0 2px 10px oklch(0 0 0 / .18); transition: transform var(--fast) var(--ease), background var(--fast) var(--ease); }
.iconbtn:hover { background: #fff; transform: scale(1.05); }
.iconbtn:active { transform: scale(.94); }
.iconbtn--plain { box-shadow: none; background: var(--paper-2); }

.sheet, .drawer { position: fixed; inset: auto 0 0 0; width: 100%; margin: 0; max-height: min(92dvh, 860px); border-radius: 22px 22px 0 0; overflow: hidden; }
.sheet[open], .drawer[open] { display: flex; flex-direction: column; }
.drawer { height: 94dvh; max-height: none; }
.sheet__x { position: absolute; top: 12px; right: 12px; z-index: 3; }
.sheet__scroll, .drawer__scroll { overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; }
.sheet__media { aspect-ratio: 4 / 3; background: var(--paper-2); max-height: 40dvh; width: 100%; }
.sheet__media img { width: 100%; height: 100%; object-fit: cover; }
.sheet__plain { background: var(--wood); color: var(--on-wood); padding: var(--s7) var(--s5) var(--s5); }
.sheet__plain p { font: italic 500 2.2rem/1 var(--display); color: var(--gold); }
.sheet__content { padding: var(--s5) var(--gutter) var(--s5); display: grid; gap: var(--s3); }
.sheet__content h2 { font: 500 2rem/1.05 var(--display); letter-spacing: -.02em; padding-right: 40px; text-wrap: balance; }
.sheet__noimg h2 { padding-right: 48px; }
.sheet__long { color: var(--ink-2); line-height: 1.55; text-wrap: pretty; }
.opt { margin-top: var(--s3); }
.opt legend { font: 600 .75rem/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); padding: 0; margin-bottom: var(--s2); }
.opt__list { display: grid; gap: var(--s2); }
.opt label { display: flex; align-items: center; gap: var(--s3); min-height: 50px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--card); cursor: pointer; transition: border-color var(--fast) var(--ease), background var(--fast) var(--ease); }
.opt label:hover { border-color: var(--ink-2); }
.opt label:has(input:checked) { border-color: var(--ink); background: var(--paper-2); }
.opt label:has(input:focus-visible) { outline: 2.5px solid var(--gold-d); outline-offset: 2px; }
.opt input { appearance: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--ink-2); margin: 0; flex: none; display: grid; place-items: center; outline: none; }
.opt input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--tomato); transform: scale(0); transition: transform var(--fast) var(--ease); }
.opt input:checked { border-color: var(--tomato); }
.opt input:checked::after { transform: scale(1); }
.opt__l { flex: 1; }
.opt__d { color: var(--ink-2); font-variant-numeric: tabular-nums; font-size: .9375rem; white-space: nowrap; }
.sheet__bar { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--gutter) calc(var(--s3) + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
.sheet__bar .btn { flex: 1; padding-inline: 14px; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); flex: none; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; transition: background var(--fast) var(--ease); }
.stepper button:hover { background: var(--paper-2); }
.stepper button:active { background: var(--line); }
.stepper svg { width: 18px; height: 18px; stroke-width: 2; }
.stepper output { min-width: 24px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.sheet__bar .stepper button { width: 48px; height: 48px; }

.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: var(--s4) var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__head h2 { font: 500 1.75rem/1 var(--display); letter-spacing: -.01em; }
.drawer__scroll { padding: 0 var(--gutter) var(--s4); }
.lineitem { display: grid; grid-template-columns: 1fr auto; gap: 6px var(--s3); padding-block: var(--s4); border-bottom: 1px solid var(--line); }
.lineitem h3 { font: 500 1.15rem/1.2 var(--display); }
.lineitem__o { font-size: .875rem; color: var(--ink-2); grid-column: 1; }
.lineitem__p { font: 500 1.05rem/1.2 var(--display); font-variant-numeric: tabular-nums; text-align: right; }
.lineitem__c { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.linkbtn { min-height: 44px; padding-inline: 4px; font-size: .875rem; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); transition: color var(--fast) var(--ease); }
.linkbtn:hover { color: var(--tomato-d); }
.field { display: grid; gap: 6px; margin-top: var(--s4); }
.field label { font-size: .875rem; font-weight: 600; }
.field label span { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--card); padding: 12px 14px; font-size: 1rem; transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.field textarea { min-height: 84px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-2); opacity: 1; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px oklch(0.82 0.13 88 / .55); }
.bagempty { text-align: center; padding: var(--s7) var(--s4); display: grid; gap: var(--s3); justify-items: center; color: var(--ink-2); }
.bagempty p:first-child { font: 500 1.5rem/1.15 var(--display); color: var(--ink); }
.closednote { margin-top: var(--s4); padding: 12px 14px; border-radius: var(--r-s); background: oklch(0.93 0.05 88); font-size: .875rem; color: oklch(0.33 0.05 70); }
.drawer__foot { padding: var(--s3) var(--gutter) calc(var(--s3) + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: var(--s2); background: var(--paper); }
.drawer__foot:empty { display: none; }
.total { display: flex; align-items: baseline; justify-content: space-between; }
.total span { font-weight: 600; }
.total strong { font: 500 1.6rem/1 var(--display); font-variant-numeric: tabular-nums; }
.fine { font-size: .8125rem; color: var(--ink-2); line-height: 1.4; }

@media (prefers-reduced-motion: no-preference) {
  .sheet, .drawer { transition: transform var(--mid) var(--ease), opacity var(--mid) var(--ease), overlay var(--mid) allow-discrete, display var(--mid) allow-discrete; transform: translateY(100%); opacity: 0; }
  .sheet[open], .drawer[open] { transform: none; opacity: 1; }
  @starting-style { .sheet[open], .drawer[open] { transform: translateY(100%); opacity: 0; } }
  dialog::backdrop { transition: opacity var(--mid) ease, overlay var(--mid) allow-discrete, display var(--mid) allow-discrete; opacity: 0; }
  dialog[open]::backdrop { opacity: 1; }
  @starting-style { dialog[open]::backdrop { opacity: 0; } }
}

@media (max-width: 959px) { .cta-in-view .orderbar { transform: translateY(96px); opacity: 0; visibility: hidden; pointer-events: none; transition: transform var(--mid) var(--ease), opacity var(--mid) var(--ease), visibility 0s linear var(--mid); } }

/* ---------- tablet ---------- */
@media (min-width: 600px) {
  :root { --gutter: 28px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
  .lines__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s7); }
  .hero__cta { display: flex; flex-wrap: wrap; }
  .hero__photo { height: clamp(320px, 50svh, 520px); }
  .hero__in { padding-top: 200px; }
  .seal { width: 136px; top: 28px; }
  .hero__fav .fav { max-width: 420px; }
  .strip ul { grid-template-columns: repeat(4, auto); justify-content: space-between; column-gap: var(--s4); }
  .cards[data-odd] > .dish:first-child { grid-column: span 2; flex-direction: row; flex-wrap: wrap; }
  .cards[data-odd] > .dish:first-child .dish__media { width: 50%; aspect-ratio: auto; min-height: 300px; align-self: stretch; }
  .cards[data-odd] > .dish:first-child .dish__side { width: 50%; display: flex; flex-direction: column; }
  .cards[data-odd] > .dish:first-child h3 { font-size: 1.9rem; }
  .cards[data-odd] > .dish:first-child .dish__body { padding: var(--s5) var(--s5) var(--s2); align-content: center; }
  .cards[data-odd] > .dish:first-child .dish__foot { padding: var(--s2) var(--s4) var(--s5) var(--s5); }
  .sec__grid--side[data-p="1"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s5); align-items: start; }
  .sec__grid--side[data-p="1"] .cards { grid-template-columns: 1fr; }
  .sec__grid--side[data-p="1"] .lines { margin-top: 0; }
  .sec__grid--side[data-p="1"] .lines__list { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
  .sheet { inset: 0; margin: auto; width: min(560px, calc(100% - 48px)); height: fit-content; border-radius: 22px; }
  .drawer { inset: 0 0 0 auto; width: min(460px, 100%); height: 100dvh; max-height: none; border-radius: 0; }
  .sheet__content { padding-inline: var(--s5); }
  .sheet__bar { padding-inline: var(--s5); }
  .drawer__head, .drawer__scroll, .drawer__foot { padding-inline: var(--s5); }
  @media (prefers-reduced-motion: no-preference) {
    .sheet { transform: translateY(24px) scale(.98); }
    .drawer { transform: translateX(100%); opacity: 1; }
    @starting-style { .sheet[open] { transform: translateY(24px) scale(.98); } .drawer[open] { transform: translateX(100%); opacity: 1; } }
  }
}

/* ---------- desktop ---------- */
@media (min-width: 960px) {
  :root { --gutter: 40px; --top-h: 76px; --cats-h: 56px; }
  .mark__b { font-size: 1.5rem; }
  .hero__photo { inset: 0; height: auto; }
  .hero__photo img { object-position: 100% 50%; }
  .hero__photo::after { background: linear-gradient(90deg, oklch(0.205 0.018 42 / .9) 0%, oklch(0.205 0.018 42 / .66) 28%, oklch(0.205 0.018 42 / .18) 52%, oklch(0.205 0.018 42 / 0) 66%), linear-gradient(180deg, oklch(0.205 0.018 42 / .4) 0%, oklch(0.205 0.018 42 / 0) 22%); }
  .hero__in { min-height: clamp(600px, calc(100svh - var(--top-h) - 58px), 900px); justify-content: center; padding-block: var(--s7); }
  .hero__copy { max-width: 34rem; }
  .wordmark { width: max-content; margin-bottom: var(--s6); }
  .wordmark__a { font-size: clamp(2rem, 2.9vw, 3.1rem); }
  .wordmark__b { font-size: clamp(8rem, 12.2vw, 13rem); }
  .wordmark__c { font-size: clamp(4.4rem, 6.6vw, 7rem); margin-right: -1.05em; }
  .hero__promise { font-size: 1.1875rem; }
  .seal { top: 7%; right: auto; left: 51%; width: clamp(150px, 11.5vw, 200px); }
  .hero__fav { position: absolute; inset: auto 0 36px 0; pointer-events: none; padding-bottom: 0; }
  .hero__fav .fav { width: 350px; max-width: none; margin-left: auto; pointer-events: auto; }
  .strip a, .strip span.strip__i { min-height: 58px; font-size: 1rem; }
  .cats .wrap { padding-inline: var(--gutter); }
  .cats__list { padding-inline: 0; margin-inline: -10px; gap: 12px; }
  .tools { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .tools__count { grid-column: 1 / -1; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards[data-odd]:not([data-r3="2"]) > .dish:first-child { grid-column: auto; flex-direction: column; flex-wrap: nowrap; }
  .cards[data-odd]:not([data-r3="2"]) > .dish:first-child .dish__media { width: auto; aspect-ratio: 4 / 3; min-height: 0; align-self: auto; }
  .cards[data-odd]:not([data-r3="2"]) > .dish:first-child .dish__side { width: auto; flex: 1; }
  .cards[data-odd]:not([data-r3="2"]) > .dish:first-child h3 { font-size: 1.4rem; }
  .cards[data-odd]:not([data-r3="2"]) > .dish:first-child .dish__body { padding: var(--s4) var(--s4) var(--s2); align-content: start; }
  .cards[data-odd]:not([data-r3="2"]) > .dish:first-child .dish__foot { padding: var(--s2) var(--s3) var(--s3) var(--s4); }
  .sec__grid--side { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--s5); align-items: start; }
  .sec__grid--side .cards { grid-template-columns: subgrid; }
  .sec__grid--side[data-p="1"] .cards { grid-column: span 1; }
  .sec__grid--side[data-p="2"] .cards { grid-column: span 2; }
  .sec__grid--side[data-p="1"] .lines { grid-column: span 2; }
  .sec__grid--side .lines { margin-top: 0; }
  .sec__grid--side .lines__list { grid-template-columns: 1fr; }
  .sec__grid--side .lines__t { padding-top: var(--s4); }
  .sec { padding-top: var(--s8); }
  .sec__head { grid-template-columns: auto 1fr; align-items: end; column-gap: var(--s6); }
  .sec__n { grid-column: 1 / -1; }
  .sec__lead { justify-self: end; text-align: right; padding-bottom: 6px; }
  .orderbar { left: auto; right: var(--gutter); width: 340px; bottom: 24px; }
  .foot { padding-bottom: var(--s7); }
  .foot__in { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .foot__brand { grid-column: auto; }
  .foot__base { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 1700px) { :root { --wrap: 1440px; --gutter: 48px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media (min-width: 768px) {
  .pkg { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: var(--s7); padding: var(--s6) var(--s7); }
  .pkg__pay { padding-top: 0; padding-left: var(--s6); border-top: 0; border-left: 1px solid oklch(0.82 0.13 88 / .45); }
}

/* "illustrative prices" notice switched off in the admin panel */
.no-ill .note, .no-ill [data-i18n="proposal"] { display: none; }
[hidden] { display: none !important; }
