:root {
  --ink: #0b1f3a;
  --navy: #102b4f;
  --blue: #244f78;
  --cream: #f1eadc;
  --paper: #f8f4eb;
  --rust: #c45b3f;
  --gold: #c8aa70;
  --white: #fffdf8;
  --muted: #687587;
  --line: rgba(11, 31, 58, .16);
  --header-height: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 146px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; font-weight: 300; }
html[data-lang="en"] body { font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; width: 100%; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: .8rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }

.menu-header { position: fixed; z-index: 30; inset: 0 0 auto; height: var(--header-height); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 4vw; color: white; background: rgba(8, 25, 48, .95); border-bottom: 1px solid rgba(255, 255, 255, .18); }
.back-link { justify-self: start; display: inline-flex; align-items: center; gap: .7rem; font-size: .76rem; letter-spacing: .12em; }
.back-link span:first-child { font-size: 1.2rem; transition: transform .2s; }
.back-link:hover span:first-child { transform: translateX(-4px); }
.wordmark { display: flex; flex-direction: column; align-items: center; line-height: 1; letter-spacing: .12em; }
.wordmark-cn { font-family: "Songti SC", "STSong", serif; font-size: 1.55rem; font-weight: 600; }
.wordmark-en { margin-top: .42rem; font-size: .5rem; letter-spacing: .2em; white-space: nowrap; }
.language-toggle { justify-self: end; display: inline-flex; align-items: center; gap: .42rem; min-height: 42px; padding: .55rem .7rem; border: 0; background: transparent; color: rgba(255, 255, 255, .55); cursor: pointer; font-size: .67rem; letter-spacing: .08em; }
.language-toggle i { color: rgba(255, 255, 255, .28); font-style: normal; }
html[data-lang="zh"] [data-lang-option="zh"], html[data-lang="en"] [data-lang-option="en"] { color: white; font-weight: 600; }

.menu-hero { position: relative; height: min(830px, 92svh); min-height: 670px; margin-top: var(--header-height); overflow: hidden; color: white; }
.menu-hero > img { height: 100%; object-fit: cover; object-position: center 48%; animation: hero-in 1.2s ease-out both; }
.menu-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 16, 35, .42), rgba(4, 16, 35, .3) 42%, rgba(4, 16, 35, .9)); }
.menu-hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 6rem 6vw 2.5rem; text-align: center; }
.eyebrow, .kicker { margin: 0 0 1.25rem; color: var(--rust); font-size: .66rem; font-weight: 600; letter-spacing: .27em; text-transform: uppercase; }
.menu-hero .eyebrow { color: var(--gold); }
.hero-seal { width: 94px; height: 94px; margin: 0 0 1.4rem; object-fit: contain; filter: brightness(0) invert(1) drop-shadow(0 7px 18px rgba(3, 16, 40, .36)); }
.menu-hero h1 { margin: 0; font-family: "Songti SC", "STSong", serif; font-size: clamp(3.2rem, 6vw, 6rem); font-weight: 400; line-height: 1.22; letter-spacing: .07em; text-shadow: 0 4px 30px rgba(0, 0, 0, .24); }
html[data-lang="en"] .menu-hero h1, html[data-lang="en"] h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: .01em; }
.menu-hero-copy > p:not(.eyebrow) { margin: 1.4rem 0 0; font-size: .9rem; line-height: 1.9; letter-spacing: .12em; }
.hero-facts { width: min(900px, 90vw); margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, .28); }
.hero-facts span { min-height: 88px; padding: 1.25rem 1.5rem 0; border-right: 1px solid rgba(255, 255, 255, .22); }
.hero-facts span:last-child { border-right: 0; }
.hero-facts small, .hero-facts strong { display: block; }
.hero-facts small { margin-bottom: .55rem; color: rgba(255, 255, 255, .66); font-size: .58rem; letter-spacing: .16em; }
.hero-facts strong { font-size: .82rem; font-weight: 400; letter-spacing: .06em; }

.order-guide { max-width: 1280px; margin: 0 auto; padding: 7rem 5vw; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1.2rem; align-items: stretch; }
.guide-intro { padding-right: 4vw; }
.guide-intro h2, .menu-toolbar h2, .menu-note-panel h2, .menu-cta h2 { margin: 0 0 1.2rem; font-family: "Songti SC", "STSong", serif; font-size: clamp(2rem, 3.6vw, 3.8rem); line-height: 1.3; font-weight: 400; }
.guide-intro > p:last-child { max-width: 31rem; margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.9; }
.guide-card { min-height: 245px; padding: 2rem; display: flex; flex-direction: column; border: 1px solid var(--line); background: rgba(255, 255, 255, .38); }
.guide-card > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--rust); border-radius: 50%; color: var(--rust); font-family: Georgia, serif; font-size: 1.2rem; }
.guide-card div { margin: auto 0 1rem; }
.guide-card strong { display: block; margin-bottom: .55rem; font-family: "Songti SC", "STSong", serif; font-size: 1.28rem; font-weight: 500; }
.guide-card p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.guide-card em { padding-top: 1rem; border-top: 1px solid var(--line); color: var(--blue); font-style: normal; font-size: .9rem; }

.category-nav { position: sticky; z-index: 18; top: var(--header-height); background: rgba(248, 244, 235, .96); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.category-scroll { max-width: 1280px; margin: auto; padding: 0 5vw; display: flex; overflow-x: auto; scrollbar-width: none; }
.category-scroll::-webkit-scrollbar { display: none; }
.category-scroll a { flex: 0 0 auto; padding: 1.1rem 1.05rem .95rem; border-bottom: 2px solid transparent; color: var(--muted); font-size: .7rem; letter-spacing: .08em; white-space: nowrap; }
.category-scroll a:hover, .category-scroll a:focus-visible, .category-scroll a.active { border-color: var(--rust); color: var(--ink); }

.menu-toolbar { max-width: 1280px; margin: 0 auto; padding: 7rem 5vw 3rem; display: flex; align-items: end; justify-content: space-between; gap: 3rem; }
.menu-toolbar h2 { margin: 0; }
.filter-group { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .65rem; }
.filter-group button { min-height: 42px; padding: .62rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; color: var(--muted); font-size: .72rem; }
.filter-group button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: white; }

.menu-sections { max-width: 1280px; margin: 0 auto; padding: 0 5vw 6rem; }
.menu-category { scroll-margin-top: 150px; padding: 4.5rem 0; border-top: 1px solid var(--line); }
.menu-category[hidden] { display: none; }
.category-heading { margin-bottom: 2.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; }
.category-number { display: block; margin-bottom: .7rem; color: var(--rust); font-size: .62rem; letter-spacing: .18em; }
.category-heading h2 { margin: 0; font-family: "Songti SC", "STSong", serif; font-size: clamp(2.1rem, 3.8vw, 3.7rem); font-weight: 400; line-height: 1.2; }
.category-heading h2 small { display: block; margin-top: .65rem; color: var(--blue); font-family: inherit; font-size: .76rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
.category-heading > p { margin: 0; max-width: 34rem; color: var(--muted); font-size: .8rem; line-height: 1.9; }
.dish-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 6vw; }
.dish-card { min-height: 104px; padding: 1.35rem 0; display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; border-bottom: 1px solid var(--line); }
.dish-card[hidden] { display: none; }
.dish-title-row { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.dish-card h3 { margin: 0; font-family: "Songti SC", "STSong", serif; font-size: 1.06rem; font-weight: 500; line-height: 1.45; }
html[data-lang="en"] .dish-card h3, html[data-lang="en"] .guide-card strong { font-family: Georgia, "Times New Roman", serif; }
.dish-card p { margin: .5rem 0 0; color: var(--muted); font-size: .74rem; line-height: 1.65; }
.dish-card > strong { padding-top: .12rem; font-size: .9rem; font-weight: 500; white-space: nowrap; }
.tag { min-width: 22px; height: 22px; padding: 0 .35rem; display: inline-grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .55rem; line-height: 1; }
.tag.signature { color: var(--rust); }
.tag.vegetarian { color: #4f7a57; }
.tag.spicy { color: #b34736; }
.empty-state { padding: 4rem; border-top: 1px solid var(--line); color: var(--muted); text-align: center; }

.menu-legend { max-width: 1160px; margin: 0 auto 7rem; padding: 2.2rem 3rem; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: rgba(255, 255, 255, .34); }
.menu-legend > div { padding: .2rem 1.8rem; display: flex; align-items: center; gap: 1rem; border-right: 1px solid var(--line); }
.menu-legend > div:last-child { border-right: 0; }
.legend-mark { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .7rem; }
.legend-mark.signature { color: var(--rust); }
.legend-mark.vegetarian { color: #4f7a57; }
.legend-mark.spicy { color: #b34736; }
.menu-legend p { margin: 0; }
.menu-legend strong, .menu-legend small { display: block; }
.menu-legend strong { margin-bottom: .25rem; font-size: .78rem; font-weight: 500; }
.menu-legend small { color: var(--muted); font-size: .66rem; line-height: 1.55; }

.menu-note-panel { padding: 7rem max(7vw, calc((100vw - 1100px) / 2)); background: var(--cream); text-align: center; }
.menu-note-panel h2 { font-size: clamp(2.2rem, 4vw, 4.2rem); }
.menu-note-panel > p:last-child { max-width: 790px; margin: 0 auto; color: var(--muted); font-size: .82rem; line-height: 2; }

.menu-cta { padding: 8rem 5vw; background: linear-gradient(135deg, #0b1f3a, #173b66); color: var(--cream); text-align: center; }
.menu-cta .kicker { color: var(--gold); }
.menu-cta h2 { font-size: clamp(2.5rem, 4.8vw, 4.8rem); }
.menu-cta > p:not(.kicker) { color: #bbc5d2; }
.menu-cta > div { margin-top: 2.3rem; display: flex; justify-content: center; gap: .85rem; flex-wrap: wrap; }
.button { min-height: 50px; padding: .9rem 1.35rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .55); font-size: .76rem; letter-spacing: .06em; }
.button.primary { background: var(--cream); color: var(--ink); border-color: var(--cream); }

footer { padding: 5rem 5vw 3rem; background: #07182d; color: var(--cream); text-align: center; }
.footer-wordmark { display: inline-flex; flex-direction: column; align-items: center; }
.footer-wordmark strong { font-family: "Songti SC", "STSong", serif; font-size: 1.65rem; font-weight: 500; letter-spacing: .12em; }
.footer-wordmark span { margin-top: .55rem; font-size: .5rem; letter-spacing: .19em; }
footer p { margin: 1.7rem 0 2.6rem; color: #aeb9c8; font-size: .78rem; }
footer small { color: #718198; font-size: .58rem; letter-spacing: .1em; }
.mobile-actions { display: none; }

@keyframes hero-in { from { transform: scale(1.04); } to { transform: scale(1); } }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@media (max-width: 850px) {
  :root { --header-height: 68px; }
  html { scroll-padding-top: 124px; }
  .menu-header { padding: 0 1rem; }
  .back-link { font-size: .67rem; letter-spacing: .05em; }
  .back-link span:first-child { display: none; }
  .wordmark-cn { font-size: 1.2rem; }
  .wordmark-en { font-size: .36rem; letter-spacing: .12em; }
  .language-toggle { padding-inline: .3rem; font-size: .6rem; }
  .menu-hero { min-height: 650px; height: 86svh; }
  .menu-hero-copy { padding: 4.5rem 1.3rem 1.2rem; }
  .hero-seal { width: 78px; height: 78px; }
  .menu-hero h1 { font-size: clamp(2.6rem, 13vw, 4rem); line-height: 1.24; }
  html[data-lang="en"] .menu-hero h1 { font-size: clamp(2.35rem, 11vw, 3.3rem); }
  .menu-hero-copy > p:not(.eyebrow) { font-size: .78rem; line-height: 1.8; }
  .hero-facts { width: 100%; grid-template-columns: 1fr; }
  .hero-facts span { min-height: auto; padding: .75rem .2rem; display: flex; align-items: center; justify-content: space-between; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
  .hero-facts span:last-child { border-bottom: 0; }
  .hero-facts small, .hero-facts strong { margin: 0; }
  .order-guide { padding: 5rem 1.2rem; grid-template-columns: 1fr; }
  .guide-intro { padding: 0 0 1rem; }
  .guide-intro h2, .menu-toolbar h2, .menu-note-panel h2, .menu-cta h2 { font-size: 2.25rem; }
  .guide-card { min-height: 210px; }
  .category-scroll { padding: 0 .35rem; }
  .category-scroll a { padding-inline: .85rem; }
  .menu-toolbar { padding: 5rem 1.2rem 2.5rem; display: block; }
  .filter-group { margin-top: 1.8rem; justify-content: flex-start; }
  .menu-sections { padding: 0 1.2rem 4rem; }
  .menu-category { padding: 3.5rem 0; }
  .category-heading { grid-template-columns: 1fr; gap: 1.2rem; }
  .category-heading h2 { font-size: 2.45rem; }
  .dish-grid { grid-template-columns: 1fr; }
  .dish-card { min-height: 98px; }
  .menu-legend { margin: 0 1.2rem 5rem; padding: 1rem 1.2rem; grid-template-columns: 1fr; }
  .menu-legend > div { padding: 1rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .menu-legend > div:last-child { border-bottom: 0; }
  .menu-note-panel, .menu-cta { padding: 5.5rem 1.3rem; }
  footer { padding-bottom: 7rem; }
  .mobile-actions { position: fixed; z-index: 24; left: 1rem; right: 1rem; bottom: 1rem; display: grid; grid-template-columns: 1fr 1fr; background: rgba(11, 31, 58, .97); color: white; box-shadow: 0 10px 30px rgba(4, 16, 35, .3); }
  .mobile-actions a { min-height: 52px; display: grid; place-items: center; border-right: 1px solid rgba(255, 255, 255, .22); font-size: .76rem; }
  .mobile-actions a:last-child { border-right: 0; }
}

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