/* Hoa Dao · public site. Tokens live in /shared/tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--jade-900);
  overscroll-behavior: none;
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  overscroll-behavior: none;
  background: var(--rice-100);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--peach-500); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: var(--s-4); top: -60px; z-index: 60;
  padding: var(--s-2) var(--s-4); background: var(--rice-50); border-radius: var(--r-xs);
  text-decoration: none; transition: top var(--t-fast) var(--ease-out);
}
.skip:focus { top: var(--s-4); }

h1, h2, h3, .chapter-title, .dish-name, .brand-name, .hero-caption-name, .footer-name {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0;
}
h2 { font-size: var(--fs-2xl); line-height: var(--lh-tight); }
.wrap { width: 100%; max-width: var(--content); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- buttons & links ---------- */
.btn {
  --lift: 0px;
  display: inline-flex; align-items: center; gap: var(--s-3);
  min-height: 52px; padding: 0 var(--s-3) 0 var(--s-5);
  background: var(--peach-500); color: var(--ink-900);
  border: 0; border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--fs-md); text-decoration: none; white-space: nowrap;
  transform: translateY(var(--lift));
  box-shadow: 0 0 0 0 rgb(19 34 30 / 0);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.btn-petal {
  width: 28px; height: 28px; padding: 5px;
  border-radius: 50%; background: var(--ink-900); fill: var(--blossom-300);
  transition: transform var(--t-slow) var(--ease-out);
}
.btn:hover { --lift: -2px; box-shadow: 0 12px 22px -12px rgb(19 34 30 / 0.7); }
.btn:hover .btn-petal { transform: rotate(72deg); }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 80ms; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--wide { flex: 1; min-width: 0; justify-content: space-between; padding: 0 var(--s-5); }
.tray-form .btn--wide { width: 100%; }
.tray-form { display: grid; gap: var(--s-4); }
.btn-price { font-variant-numeric: tabular-nums; }

.link, .link-on-jade {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 500; text-decoration: underline; text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color var(--t-fast) var(--ease-out), color var(--t-fast);
}
.link { color: var(--jade-700); text-decoration-color: var(--jade-300); }
.link:hover { text-decoration-color: var(--peach-500); }
.link-on-jade { color: var(--ink-on-jade); text-decoration-color: rgb(246 237 220 / 0.35); }
.link-on-jade:hover { text-decoration-color: var(--peach-500); }

/* ---------- notice + nav ---------- */
.notice {
  position: fixed; inset: 0 0 auto; z-index: 41;
  padding: var(--s-2) var(--gutter);
  background: var(--peach-100); color: var(--ink-900);
  font-size: var(--fs-sm); font-weight: 500; text-align: center;
}
.nav {
  position: fixed; left: 0; right: 0; top: var(--notice-h, 0px); z-index: 40;
  display: flex; align-items: center; gap: var(--s-5);
  height: 76px; padding: 0 var(--gutter);
  color: var(--ink-on-jade);
  transition: background-color var(--t-med) var(--ease-out), height var(--t-med) var(--ease-out);
}
.nav.is-solid { background: var(--jade-800); height: 64px; }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; margin-right: auto; }
.brand-mark { width: 34px; height: 34px; fill: var(--blossom-300); }
.brand-core { fill: var(--peach-500); }
.brand-name { font-size: 1.5rem; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: var(--s-5); }
.nav-links a { text-decoration: none; font-size: var(--fs-sm); font-weight: 500; }
.nav-links a:not(.nav-call) { padding: var(--s-2) 0; transition: color var(--t-fast); }
.nav-links a:not(.nav-call):hover { color: var(--blossom-300); }
.nav-call {
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: 44px; padding: 0 var(--s-4);
  border-radius: var(--r-pill); background: rgb(246 237 220 / 0.1);
  font-variant-numeric: tabular-nums;
  transition: background-color var(--t-fast);
}
.nav-call:hover { background: rgb(246 237 220 / 0.18); }
.nav-call svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(60% 70% at 72% 52%, var(--jade-600) 0%, transparent 70%),
    var(--jade-700);
  color: var(--ink-on-jade);
  overflow: clip;
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center; gap: var(--s-6);
  max-width: var(--content); margin: 0 auto;
  min-height: min(100svh, 920px);
  padding: calc(108px + var(--notice-h, 0px)) var(--gutter) var(--s-9);
}
.hero h1 { font-size: var(--fs-3xl); line-height: 1.06; }
.hero h1 em { font-style: italic; color: var(--blossom-300); font-weight: 400; }
.hero-lead { max-width: 30em; margin-top: var(--s-5); color: var(--ink-on-jade-muted); font-size: var(--fs-lg); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-6); }

.hero-stage { position: relative; display: grid; justify-items: center; }
.hero-plate {
  --spin: 0deg;
  position: relative; width: min(100%, 600px); aspect-ratio: 1;
}
.hero-plate::before {
  content: ""; position: absolute; inset: 10% 4% 0 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(13 24 21 / 0.7), rgb(13 24 21 / 0.25) 70%, transparent);
  transform: translate(3%, 7%);
}
.hero-plate img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  transform: rotate(var(--spin));
  will-change: transform;
}
.hero-caption {
  display: inline-flex; align-items: baseline; gap: var(--s-3);
  margin-top: var(--s-3); padding: var(--s-2) var(--s-1);
  background: none; border: 0; color: var(--ink-on-jade);
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px;
  transition: text-decoration-color var(--t-fast);
}
.hero-caption:hover { text-decoration-color: var(--peach-500); }
.hero-caption-name { font-size: var(--fs-xl); font-style: italic; }
.hero-caption-price { color: var(--ink-on-jade-muted); font-variant-numeric: tabular-nums; }
.hero-picker { display: flex; gap: var(--s-3); margin-top: var(--s-4); }
.pick {
  position: relative; width: 64px; height: 64px; padding: 4px;
  border: 0; border-radius: 50%; background: rgb(246 237 220 / 0.06);
  box-shadow: inset 0 0 0 1px rgb(246 237 220 / 0.14);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out), background-color var(--t-med);
}
.pick img { width: 100%; height: 100%; object-fit: contain; transition: transform var(--t-slow) var(--ease-out); }
.pick:hover img { transform: rotate(24deg); }
.pick:active { transform: scale(0.94); }
.pick[aria-checked="true"] { background: rgb(246 237 220 / 0.1); box-shadow: inset 0 0 0 2px var(--peach-500); }

.edge {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 64px;
  background: var(--rice-100);
  -webkit-mask: url("/assets/img/edge.svg") center / 100% 100% no-repeat;
  mask: url("/assets/img/edge.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}
.edge--top { top: -1px; bottom: auto; transform: scaleY(-1); }

/* ---------- daily ---------- */
.paper { background: var(--rice-100); }
.daily { padding: var(--s-8) 0 var(--s-9); }
.daily-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-5); }
.daily-intro p { margin-top: var(--s-2); color: var(--ink-700); }
.daily-intro .link { min-height: 0; margin-left: var(--s-2); }
.daily-intro .daily-status { color: var(--peach-700); font-weight: 500; }
.daily-intro .daily-status:empty { display: none; }

.days {
  display: inline-flex; gap: var(--s-1); padding: var(--s-1);
  border-radius: var(--r-pill); background: var(--rice-200);
}
.day {
  position: relative; min-width: 56px; min-height: 44px; padding: 0 var(--s-4);
  border: 0; border-radius: var(--r-pill); background: transparent;
  font-weight: 500; font-size: var(--fs-sm); color: var(--ink-700);
  transition: background-color var(--t-med) var(--ease-out), color var(--t-med);
}
.day:hover { color: var(--ink-900); }
.day[aria-selected="true"] { background: var(--jade-700); color: var(--rice-50); }
.day.is-today::after {
  content: ""; position: absolute; top: 7px; right: 9px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--peach-500);
}
.day-full { display: none; }
.daily-panels { margin-top: var(--s-6); }
.daily-panel { animation: panel-in var(--t-med) var(--ease-out); }
.daily-panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.daily-soup {
  display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); align-items: baseline;
  padding: var(--s-4) 0; border-top: var(--line-strong); border-bottom: var(--line);
}
.daily-soup span { flex: none; font-weight: 600; color: var(--peach-700); }
.daily-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-5) var(--s-4); padding-top: var(--s-6); }
.daily-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.plate--daily { max-width: 168px; margin-bottom: var(--s-3); }
.daily-item:hover .plate img { --r: 12deg; --y: -4px; }
.daily-name { font-family: var(--font-display); font-size: var(--fs-md); line-height: var(--lh-snug); }
.daily-detail {
  margin-top: 2px; font-size: var(--fs-xs); line-height: 1.45; color: var(--ink-500);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.daily-price { margin-top: var(--s-2); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.daily-empty { padding: var(--s-5) 0; color: var(--ink-500); }

/* ---------- plates ---------- */
.plate {
  position: relative; display: block; aspect-ratio: 1; width: 100%;
  filter: drop-shadow(0 14px 12px rgb(19 34 30 / 0.2)) drop-shadow(0 3px 3px rgb(19 34 30 / 0.12));
}
.plate img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain;
  transform: rotate(var(--r, 0deg)) translateY(var(--y, 0px)) scale(var(--s, 1));
  transition: transform var(--t-slow) var(--ease-out);
}
.plate--text {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-2);
  width: 78%; margin-left: auto; margin-right: auto; padding: 12%;
  border-radius: 50%;
  background: var(--rice-50);
  box-shadow: inset 0 0 0 1px var(--rice-300), inset 0 0 0 9px var(--rice-50), inset 0 0 0 10px var(--rice-200);
  text-align: center;
}
.plate--text svg { width: 22%; fill: var(--blossom-300); }
.plate--text span { font-family: var(--font-display); font-style: italic; font-size: var(--fs-md); line-height: 1.2; color: var(--jade-700); }
.plate--sm { width: 64px; }
.plate--sm.plate--text { width: 64px; padding: 10px; gap: 0; box-shadow: inset 0 0 0 1px var(--rice-300); }
.plate--sm.plate--text span { display: none; }
.plate--sm.plate--text svg { width: 60%; }

/* ---------- menu ---------- */
.menu { padding: var(--s-8) 0 var(--s-9); border-top: var(--line); }
.menu-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-3) var(--s-6); align-items: end; }
.menu-head p { grid-column: 1; color: var(--ink-700); max-width: 34em; }
.menu-head .search { grid-column: 2; grid-row: 1 / span 2; width: 360px; }
.search {
  display: flex; align-items: center; gap: var(--s-2);
  width: min(360px, 100%); min-height: 48px; padding: 0 var(--s-4);
  background: var(--rice-50); border: var(--line-strong); border-radius: var(--r-pill);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.search:focus-within { border-color: var(--jade-600); box-shadow: 0 0 0 3px rgb(45 77 69 / 0.14); }
.search svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--ink-500); stroke-width: 1.6; stroke-linecap: round; }
.search input { width: 100%; min-width: 0; border: 0; background: none; outline: none; font-size: var(--fs-sm); }
.search input::placeholder { color: var(--ink-500); }

.chapters {
  position: sticky; top: calc(var(--notice-h, 0px) + 64px); z-index: 20;
  margin-top: var(--s-6);
  background: var(--rice-100);
  border-bottom: var(--line);
}
.chapters-track {
  display: flex; gap: var(--s-2); overflow-x: auto; scrollbar-width: none;
  padding-top: var(--s-3); padding-bottom: var(--s-3);
  scroll-snap-type: x proximity;
}
.chapters-track::-webkit-scrollbar { display: none; }
.chap-link {
  flex: none; display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-4) 0 var(--s-1);
  border-radius: var(--r-pill); background: var(--rice-50);
  box-shadow: inset 0 0 0 1px var(--rice-200);
  text-decoration: none; font-size: var(--fs-sm); font-weight: 500; white-space: nowrap;
  scroll-snap-align: start;
  transition: background-color var(--t-med) var(--ease-out), color var(--t-med), box-shadow var(--t-med);
}
.chap-link img { width: 40px; height: 40px; object-fit: contain; transition: transform var(--t-slow) var(--ease-out); }
.chap-link:not(:has(img)) { padding-left: var(--s-4); }
.chap-link:hover img { transform: rotate(30deg); }
.chap-link.is-active { background: var(--jade-700); color: var(--rice-50); box-shadow: none; }

.menu-body { padding-top: var(--s-4); }
.chapter { padding-top: var(--s-8); }
.chapter.is-filtered-out, .cat.is-filtered-out, .dish.is-filtered-out, .row.is-filtered-out { display: none; }
.chapter-title { font-size: var(--fs-2xl); line-height: var(--lh-tight); padding-bottom: var(--s-4); border-bottom: var(--line-strong); }
.cat { padding-top: var(--s-6); }
.cat-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-1) var(--s-3); margin-bottom: var(--s-4); }
.cat-head h4 { font-size: var(--fs-lg); font-weight: 600; line-height: var(--lh-snug); }
.cat-head p { font-size: var(--fs-sm); color: var(--ink-500); }

.plates { display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: var(--s-6) var(--s-5); }
.dish-open {
  display: flex; flex-direction: column; align-items: center; width: 100%; height: 100%;
  padding: 0 0 var(--s-2); border: 0; background: none; text-align: center;
}
.dish-open .plate { max-width: 232px; margin-bottom: var(--s-3); }
.dish-open:hover .plate img, .dish-open:focus-visible .plate img { --r: 14deg; --y: -6px; --s: 1.03; }
.dish-open:active .plate img { --s: 0.98; transition-duration: 120ms; }
.dish-name { font-size: var(--fs-lg); line-height: var(--lh-snug); }
.dish-sub {
  margin-top: var(--s-1); max-width: 22em; font-size: var(--fs-sm); line-height: 1.45; color: var(--ink-500);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dish-meta { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: var(--s-1) var(--s-2); margin-top: var(--s-2); }
.dish-price { font-weight: 600; font-variant-numeric: tabular-nums; }
.dish-flag { font-size: var(--fs-xs); font-weight: 600; color: var(--peach-700); line-height: 1.9; }
.dish-flag--sold { color: var(--ink-500); }
.dish-variants {
  margin-top: 2px; max-width: 20em; font-size: var(--fs-xs); color: var(--ink-500);
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.dish.is-sold .plate img { filter: grayscale(0.85); opacity: 0.6; }

.cat--list { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-6); align-items: start; }
.cat--list:not(:has(.cat-plate)) .cat-list { grid-column: 2; }
.cat-plate { position: sticky; top: 200px; max-width: 280px; justify-self: center; width: 100%; }
.rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-6); }
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; align-items: center; gap: var(--s-3);
  padding: var(--s-2) 0; border-bottom: var(--line);
}
.row-open { display: grid; gap: 2px; min-height: 44px; padding: var(--s-2) 0; border: 0; background: none; text-align: left; }
.row-name { font-weight: 500; line-height: var(--lh-snug); }
.row-detail { font-size: var(--fs-xs); line-height: 1.45; color: var(--ink-500); }
.row-open:hover .row-name { text-decoration: underline; text-decoration-color: var(--peach-500); text-underline-offset: 4px; }
.row-price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row-add {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: var(--rice-50); box-shadow: inset 0 0 0 1px var(--rice-300);
  transition: background-color var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.row-add svg { width: 18px; height: 18px; fill: none; stroke: var(--jade-700); stroke-width: 1.8; stroke-linecap: round; }
.row-add:hover { background: var(--peach-100); }
.row-add:active { transform: scale(0.92); }
.row-add:disabled { opacity: 0.4; cursor: not-allowed; }
.row.is-sold .row-name { color: var(--ink-500); }

.search-empty { padding: var(--s-7) 0; color: var(--ink-700); }
.allergens { margin-top: var(--s-8); padding-top: var(--s-4); border-top: var(--line); font-size: var(--fs-sm); color: var(--ink-500); }

/* ---------- story ---------- */
.story {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: var(--s-7);
  max-width: var(--content); margin: 0 auto; padding: 0 var(--gutter) var(--s-10);
}
.story-photo { overflow: hidden; border-radius: var(--r-xs); aspect-ratio: 16 / 10; background: var(--jade-900); }
.story-photo img { width: 100%; height: 112%; object-fit: cover; transform: translateY(var(--parallax, -6%)); will-change: transform; }
.story-copy p { margin-top: var(--s-4); color: var(--ink-700); max-width: 28em; }

/* ---------- contact ---------- */
.contact { position: relative; background: var(--jade-700); color: var(--ink-on-jade); padding: var(--s-10) 0 var(--s-9); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: center; }
.facts { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.facts div { display: grid; grid-template-columns: 96px 1fr; gap: var(--s-4); padding-bottom: var(--s-4); border-bottom: var(--line-on-jade); }
.facts dt { color: var(--ink-on-jade-muted); font-size: var(--fs-sm); padding-top: 2px; }
.facts dd { font-size: var(--fs-md); }
.facts a { text-decoration: none; font-variant-numeric: tabular-nums; font-weight: 600; }
.facts a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-6); }
.map { aspect-ratio: 4 / 3; border-radius: var(--r-xs); overflow: hidden; background: var(--jade-800); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- footer ---------- */
.footer { background: var(--jade-950); color: var(--ink-on-jade-muted); padding: var(--s-8) 0 var(--s-6); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 2fr 2fr 1fr; gap: var(--s-6); padding-bottom: var(--s-6); border-bottom: var(--line-on-jade); }
.footer-brand .brand-mark { width: 40px; height: 40px; }
.footer-name { margin-top: var(--s-3); font-size: var(--fs-xl); color: var(--ink-on-jade); line-height: 1.2; }
.footer-label { color: var(--ink-on-jade); font-weight: 600; margin-bottom: var(--s-2); }
.footer p + p { margin-top: var(--s-1); }
.footer nav { display: grid; align-content: start; gap: var(--s-1); }
.footer a { text-decoration: none; }
.footer nav a { display: inline-flex; min-height: 32px; align-items: center; }
.footer a:hover { color: var(--ink-on-jade); text-decoration: underline; text-underline-offset: 4px; }
.medweb { padding-top: var(--s-5); display: grid; gap: var(--s-1); font-size: var(--fs-xs); }
.medweb a { color: var(--ink-on-jade); }

/* ---------- dish sheet ---------- */
dialog { padding: 0; border: 0; color: inherit; }
dialog::backdrop { background: rgb(19 34 30 / 0.56); }
.sheet {
  width: min(920px, calc(100vw - 48px)); max-height: min(88svh, 720px);
  border-radius: var(--r-sm); background: var(--rice-50); box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.sheet[open] { animation: sheet-in var(--t-med) var(--ease-out); }
.sheet[open]::backdrop { animation: fade-in var(--t-med) var(--ease-out); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.sheet-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-height: inherit; }
.sheet-close {
  position: absolute; top: var(--s-3); right: var(--s-3); z-index: 3;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: var(--rice-100);
  transition: background-color var(--t-fast), transform var(--t-fast);
}
.sheet-close svg { width: 18px; height: 18px; fill: none; stroke: var(--ink-900); stroke-width: 1.7; stroke-linecap: round; }
.sheet-close:hover { background: var(--rice-200); }
.sheet-close:active { transform: scale(0.92); }
.sheet-plate { display: grid; place-items: center; padding: var(--s-6); background: var(--jade-700); }
.sheet-plate .plate { max-width: 380px; }
.sheet-plate .plate img { animation: plate-spin-in var(--t-slow) var(--ease-out); }
.sheet-plate .plate--text { background: var(--rice-100); }
@keyframes plate-spin-in { from { transform: rotate(-40deg) scale(0.9); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-body { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-7) var(--s-6) var(--s-6); overflow-y: auto; }
.sheet-body h3 { font-size: var(--fs-2xl); line-height: var(--lh-tight); padding-right: var(--s-7); }
.sheet-sub { color: var(--ink-700); }
.sheet-desc { font-size: var(--fs-sm); color: var(--ink-500); }
.sheet-desc:empty, .sheet-sub:empty { display: none; }
.variants { margin: var(--s-2) 0 0; padding: 0; border: 0; }
.variants[hidden] { display: none; }
.variants legend { padding: 0; margin-bottom: var(--s-2); font-size: var(--fs-sm); font-weight: 600; }
.variant-list { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.variant { position: relative; }
.variant input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.variant span {
  display: inline-flex; align-items: baseline; gap: var(--s-2);
  min-height: 44px; padding: 10px var(--s-4);
  border-radius: var(--r-pill); background: var(--rice-100); box-shadow: inset 0 0 0 1px var(--rice-300);
  font-size: var(--fs-sm); font-weight: 500;
  transition: background-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.variant small { font-size: var(--fs-xs); font-variant-numeric: tabular-nums; color: var(--ink-500); }
.variant input:checked + span { background: var(--jade-700); color: var(--rice-50); box-shadow: none; }
.variant input:checked + span small { color: var(--jade-100); }
.variant input:focus-visible + span { outline: 2px solid var(--peach-500); outline-offset: 2px; }
.variant input:disabled + span { opacity: 0.45; text-decoration: line-through; }
.variant s { color: var(--ink-500); font-size: var(--fs-xs); }
.sheet-foot { display: flex; align-items: center; gap: var(--s-3); margin-top: auto; padding-top: var(--s-4); }
.qty { display: inline-flex; align-items: center; border-radius: var(--r-pill); background: var(--rice-100); box-shadow: inset 0 0 0 1px var(--rice-300); }
.qty button { display: grid; place-items: center; width: 44px; height: 52px; border: 0; background: none; }
.qty svg { width: 16px; height: 16px; fill: none; stroke: var(--ink-900); stroke-width: 1.8; stroke-linecap: round; }
.qty output { min-width: 20px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- order tray ---------- */
.tray-button {
  position: fixed; right: var(--gutter); bottom: calc(var(--s-5) + env(safe-area-inset-bottom)); z-index: 30;
  display: inline-flex; align-items: center; gap: var(--s-3);
  min-height: 56px; padding: 0 var(--s-5);
  border: 0; border-radius: var(--r-pill); background: var(--jade-900); color: var(--rice-50);
  font-weight: 600; box-shadow: var(--shadow-pop);
  transition: transform var(--t-fast) var(--ease-out);
}
.tray-button[hidden] { display: none; }
.tray-button:hover { transform: translateY(-2px); }
.tray-button:active { transform: scale(0.97); }
.tray-button.is-bump { animation: bump 420ms var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.06); } 100% { transform: none; } }
.tray-count {
  display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px;
  border-radius: var(--r-pill); background: var(--peach-500); color: var(--ink-900); font-size: var(--fs-xs);
}
.tray-total { font-variant-numeric: tabular-nums; color: var(--jade-100); font-weight: 500; }
.tray {
  margin: 0 0 0 auto; width: min(440px, 100vw); height: 100%; max-height: none;
  background: var(--rice-50); box-shadow: var(--shadow-pop);
}
.tray[open] { animation: tray-in var(--t-med) var(--ease-out); }
@keyframes tray-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.tray-inner { display: flex; flex-direction: column; height: 100%; padding: var(--s-5); gap: var(--s-4); overflow-y: auto; }
.tray-head { display: flex; align-items: center; justify-content: space-between; }
.tray-head h3 { font-size: var(--fs-xl); }
.tray-head .sheet-close { position: static; }
.tray-lines { display: grid; }
.tray-line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: var(--s-3); align-items: center; padding: var(--s-3) 0; border-bottom: var(--line); }
.tray-line .plate { width: 56px; }
.tray-line-name { font-weight: 500; line-height: var(--lh-snug); }
.tray-line-meta { font-size: var(--fs-xs); color: var(--ink-500); }
.tray-line .qty button { width: 36px; height: 40px; }
.tray-sum { display: flex; justify-content: space-between; padding: var(--s-2) 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.field { display: grid; gap: var(--s-1); font-size: var(--fs-sm); font-weight: 500; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: var(--s-3) var(--s-4);
  border: var(--line-strong); border-radius: var(--r-sm); background: var(--rice-100); font: inherit; font-weight: 400;
}
.field input { background: var(--rice-100); }
.field input:focus { outline: none; border-color: var(--jade-600); box-shadow: 0 0 0 3px rgb(45 77 69 / 0.14); }
.tray-note { font-size: var(--fs-xs); color: var(--ink-500); }
.tray-empty, .tray-done { color: var(--ink-700); }
.tray-done h4 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-xl); color: var(--ink-900); margin-bottom: var(--s-2); }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
  .hero-plate img, .story-photo img { transform: none !important; }
}

/* ---------- tablet ---------- */
@media (max-width: 1023px) {
  .daily-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); }
  .cat--list { grid-template-columns: 1fr; }
  .cat--list:not(:has(.cat-plate)) .cat-list { grid-column: auto; }
  .cat-plate { display: none; }
  .story { grid-template-columns: 1fr; gap: var(--s-5); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- phone + small tablet ---------- */
@media (max-width: 819px) {
  html { scroll-padding-top: 120px; }
  .nav { height: 64px; }
  .nav-toggle {
    display: grid; place-content: center; gap: 6px; width: 48px; height: 48px; margin-right: -8px;
    border: 0; background: none;
  }
  .nav-toggle span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform var(--t-med) var(--ease-out); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-links {
    position: fixed; left: 0; right: 0; top: calc(var(--notice-h, 0px) + 64px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--s-2) var(--gutter) var(--s-5);
    background: var(--jade-800);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
  }
  .nav.is-open { background: var(--jade-800); }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-links a:not(.nav-call) { padding: var(--s-4) 0; font-size: var(--fs-md); border-bottom: var(--line-on-jade); }
  .nav-call { margin-top: var(--s-4); justify-content: center; min-height: 52px; background: var(--peach-500); color: var(--ink-900); font-size: var(--fs-md); }

  .hero-inner {
    grid-template-columns: 1fr; gap: 0; min-height: 0;
    padding: calc(88px + var(--notice-h, 0px)) var(--gutter) var(--s-9);
  }
  .hero-copy { display: contents; }
  .hero h1 { order: 1; font-size: clamp(2.125rem, 8.6vw, 2.75rem); }
  .hero-stage { order: 2; margin: var(--s-3) 0 0; }
  .hero-plate { width: min(86vw, 420px); }
  .hero-lead { order: 3; margin-top: var(--s-4); font-size: var(--fs-md); }
  .hero-actions { order: 4; margin-top: var(--s-5); }
  .hero-caption { margin-top: 0; }
  .hero-picker { margin-top: var(--s-2); }
  .pick { width: 56px; height: 56px; }

  .daily { padding: var(--s-7) 0 var(--s-8); }
  .daily-top { align-items: stretch; }
  .days { display: flex; width: 100%; }
  .day { flex: 1; min-width: 0; padding: 0; }
  .daily-list { grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-3); }
  .plate--daily { max-width: 140px; }

  .menu { padding-top: var(--s-7); }
  .menu-head { grid-template-columns: 1fr; }
  .menu-head .search { grid-column: 1; grid-row: auto; width: 100%; margin-top: var(--s-2); }
  .chapters { top: calc(var(--notice-h, 0px) + 64px); margin-top: var(--s-5); }
  .chapters-track { padding-left: var(--gutter); padding-right: var(--gutter); }
  .chapter { padding-top: var(--s-7); }
  .plates { grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-3); }
  .dish-open .plate { max-width: 170px; }
  .dish-name { font-size: var(--fs-md); }
  .dish-sub { font-size: var(--fs-xs); }
  .rows { grid-template-columns: 1fr; }

  .story { padding-bottom: var(--s-9); }
  .contact { padding: var(--s-9) 0 var(--s-8); }
  .facts div { grid-template-columns: 84px 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .sheet {
    width: 100vw; max-width: 100vw; max-height: 92svh; margin: auto 0 0;
    border-radius: var(--r-sheet) var(--r-sheet) 0 0;
  }
  .sheet[open] { animation-name: sheet-up; }
  @keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .sheet-inner { grid-template-columns: minmax(0, 1fr); overflow-y: auto; }
  .btn-long { display: none; }
  .sheet-plate { padding: var(--s-5) var(--s-5) var(--s-4); }
  .sheet-plate .plate { max-width: 240px; }
  .sheet-body { padding: var(--s-5) var(--gutter) calc(var(--s-5) + env(safe-area-inset-bottom)); overflow: visible; }
  .sheet-body h3 { padding-right: 0; }
  .sheet-foot { position: sticky; bottom: 0; background: var(--rice-50); padding-bottom: var(--s-2); }
  .tray { margin: auto 0 0; width: 100vw; max-width: 100vw; height: auto; max-height: 92svh; border-radius: var(--r-sheet) var(--r-sheet) 0 0; }
  .tray[open] { animation-name: sheet-up; }
  .tray-button { left: var(--gutter); right: var(--gutter); justify-content: center; }
  body.has-tray { padding-bottom: 88px; }
}

@media (max-width: 359px) {
  .nav-links a { font-size: var(--fs-sm); }
  .plates { gap: var(--s-5) var(--s-2); }
  .day-short { font-size: var(--fs-xs); }
  .btn { padding-left: var(--s-4); }
}
