/* parts/menu.css: owned by the menu workstream. Loaded after styles.css.
   Typography-first menu: no cards, no boxes. Rendered by js/parts/menu.js. */

.menu-note[hidden] { display: none; }

.menu-render {
  --mr-serif: var(--serif, "Outfit", system-ui, sans-serif);
  --mr-ivory: #f2e8de;
  --mr-leader: rgba(242, 232, 222, 0.28);
  max-width: 820px;
  margin-top: clamp(28px, 4vw, 48px);
  animation: none;
}

@keyframes mr-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.menu-render__group {
  font-family: var(--serif, "Outfit", system-ui, sans-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 33px);
  color: var(--mr-ivory);
  margin: clamp(56px, 7vw, 88px) 0 0;
}
.menu-render__group:first-child { margin-top: 0; }

/* Category */
.mc { margin-top: clamp(48px, 6vw, 76px); }
.menu-render > .mc:first-child { margin-top: 0; }
.menu-render__group + .mc { margin-top: clamp(28px, 4vw, 44px); }

.mc__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.mc__title {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mr-ivory);
}
.mc__ja {
  font-family: "Noto Serif JP", serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.mc__note {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--muted);
  font-style: italic;
}

.mc__items { list-style: none; }

/* Item */
.mi { padding: clamp(22px, 2.6vw, 30px) 0 0; }
.mi:last-child { padding-bottom: 0; }

.mi__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.mi__name {
  font-family: var(--mr-serif, var(--serif, "Outfit", system-ui, sans-serif));
  font-size: clamp(19px, 1.9vw, 24px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.005em;
  color: var(--mr-ivory);
}
.mi__leader {
  flex: 1 1 24px;
  min-width: 20px;
  align-self: end;
  height: 0;
  margin-bottom: 0.7em;
  border-bottom: 1px dotted var(--mr-leader);
}
.mi__price {
  flex: none;
  font-family: var(--mr-serif, var(--serif, "Outfit", system-ui, sans-serif));
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--mr-ivory);
}

.mi__ja {
  margin-top: 4px;
  font-family: "Noto Serif JP", serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.mi__desc {
  margin-top: 8px;
  max-width: 54ch;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.58);
}
.mi__tags {
  margin-top: 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 232, 222, 0.45);
}

@media (max-width: 600px) {
  .mi__row { gap: 10px; }
  .mi__name { font-size: 18px; }
  .mi__price { font-size: 16px; }
  .mc__head { gap: 12px; flex-wrap: wrap; }
  .mi__desc { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .menu-render { animation: none; }
}

/* ===== Menu page landing: title bar + one menu at a time (scoped to main.menu-page) ===== */

/* Bar sits right under the page header and sticks under the site header while reading a menu. */
.menu-page > .menu-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 6;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: center;
  gap: clamp(22px, 3.4vw, 56px);
  -webkit-overflow-scrolling: touch;
  scroll-padding-inline: 20px;
}
.menu-page > .menu-tabs::-webkit-scrollbar { display: none; }
.menu-page > .menu-tabs .pill { flex: none; font-size: clamp(15px, 1.45vw, 20px); }
.menu-page > .menu-tabs .pill[hidden] { display: none; }

@media (max-width: 1100px) {
  .menu-page > .menu-tabs { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .menu-page > .menu-tabs {
    justify-content: flex-start;
    gap: 26px;
    padding: 12px 20px;
  }
  .menu-page > .menu-tabs .pill,
  .menu-page > .menu-tabs .pill:hover,
  .menu-page > .menu-tabs .pill.is-active { font-size: 15px; letter-spacing: 0.01em; }
  /* Edge fade so it reads as a scrollable row */
  .menu-page > .menu-tabs {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%);
  }
}

/* Tabs mode (JS on): only the chosen menu shows. Without JS every menu stays on the page. */
.menu-tabs-on > [data-menu-panel]:not(.is-current) { display: none; }
.menu-tabs-on > [data-menu-panel].is-current { animation: mr-in 0.45s var(--ease-out, ease-out) both; }
.menu-page .menu-section { scroll-margin-top: calc(var(--header-h, 80px) + 64px); }
.menu-page .menu-anchor { display: block; position: relative; top: calc(-1 * (var(--header-h, 80px) + 64px)); }
.menu-page > [data-menu-panel] { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 110px); }

/* Section titles: still the big red, but lighter (client: "make these less bold") */
.menu-page .menu-section h2.big-red-title,
.menu-page .menu-section h2.menu-title {
  font-size: clamp(42px, 5.6vw, 88px) !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em;
  line-height: 1.02 !important;
  margin: 0;
}
@media (max-width: 560px) {
  .menu-page .menu-section h2.big-red-title,
  .menu-page .menu-section h2.menu-title { font-size: clamp(38px, 11.5vw, 56px) !important; }
}
.menu-page .menu-section__head p:empty { display: none; }

/* Menu body */
.menu-page .menu-render { max-width: 860px; }
.mc__head { flex-wrap: wrap; row-gap: 4px; }
.mc__title { font-size: 12px; }
.mc__desc {
  margin-top: 14px;
  max-width: 62ch;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: pre-line;
}
.mc--text .mc__desc {
  padding: 16px 18px;
  border: 1px solid rgba(232, 32, 47, 0.45);
  color: rgba(242, 232, 222, 0.78);
}
.mi__desc { white-space: pre-line; font-size: 13px; }
.mi__tags { letter-spacing: 0.16em; }
.mi__tag--star { color: #f2e8de; }
.mi__tag--star::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 7px 1px 0;
  border-radius: 50%;
  background: var(--red, #e8202f);
  vertical-align: middle;
}
.mi__tag--spicy { color: var(--red, #e8202f); }
.mi__tag-sep { color: rgba(242, 232, 222, 0.3); }

/* Price grid (Sushi Selection: Nigiri / Hosomaki / Sashimi) */
.mg { --mg-cols: 3; }
.mg__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(var(--mg-cols), minmax(52px, 96px));
  align-items: baseline;
  column-gap: clamp(8px, 2vw, 24px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mg__row:last-child { border-bottom: 0; }
.mg__row--head { padding: 16px 0 6px; border-bottom: 0; }
.mg__col {
  text-align: right;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 232, 222, 0.55);
  line-height: 1.35;
}
.mg__row .mi__name { font-size: clamp(16px, 1.6vw, 20px); font-weight: 400; }
.mg__price {
  text-align: right;
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  color: #f2e8de;
}
.mg__price.is-none { color: rgba(242, 232, 222, 0.3); }
@media (max-width: 600px) {
  .mg__row { grid-template-columns: minmax(0, 1fr) repeat(var(--mg-cols), 50px); column-gap: 8px; }
  .mg__col { font-size: 9px; letter-spacing: 0.08em; }
  .mg__row .mi__name { font-size: 15px; }
  .mg__price { font-size: 15px; }
}

/* Allergy, raw and gratuity notes under a menu */
.menu-notes {
  max-width: 860px;
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.65;
}
.menu-notes[hidden] { display: none; }
.menu-notes p + p { margin-top: 10px; }
.menu-notes p:empty { display: none; }
.menu-notes__legend { font-size: 11px; letter-spacing: 0.08em; color: rgba(242, 232, 222, 0.6); }
.menu-notes__allergies { font-size: 14px; color: rgba(242, 232, 222, 0.82); }
.menu-notes__advisory { max-width: 62ch; margin-inline: auto; }
.menu-page #food .menu-notes + .fullbleed { margin-top: clamp(56px, 7vw, 90px); }
