/* Flying Dragon demo · one stylesheet, mobile first */

/* Latin fonts: Google Fonts files (latin slice) served from this site; Chinese loads from Google Fonts */
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/big-shoulders-display-8a3351e1.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 900; font-display: swap; src: url(fonts/big-shoulders-display-8a3351e1.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-0bc96cd0.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/ibm-plex-mono-0445e586.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/libre-franklin-b843e8bc.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/libre-franklin-b843e8bc.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/libre-franklin-b843e8bc.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Yellowtail"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/yellowtail-5af189eb.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Metric-matched fallbacks so the swap to web fonts doesn't shift the layout */
@font-face { font-family: "Libre Franklin Fallback"; src: local("Arial"); size-adjust: 104.64%; ascent-override: 92.32%; descent-override: 23.51%; line-gap-override: 0%; }
@font-face { font-family: "IBM Plex Mono Fallback"; src: local("Courier New"); size-adjust: 99.98%; ascent-override: 102.52%; descent-override: 27.50%; line-gap-override: 0%; }

:root {
  --sign-yellow: #F4D21F;
  --fascia: #141414;
  --placemat-red: #D3202A;
  --noodle-blue: #2B2D8C;
  --brick: #8C3A28;
  --chair-wood: #B4652E;
  --wall: #F5F1E6;
  --floor: #8E8B86;
  --floor-ink: #5E5B56; /* --floor darkened for text on --wall (4.5:1) */
  --ink: #161616;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", "IBM Plex Mono Fallback", ui-monospace, Menlo, Consolas, monospace;
  --body: "Libre Franklin", "Libre Franklin Fallback", system-ui, sans-serif;
  --script: "Yellowtail", cursive;
  --gutter: 16px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font: 400 1rem/1.55 var(--body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--noodle-blue); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: .95; letter-spacing: .01em; margin: 0 0 .4em; text-transform: uppercase; }
h1 { font-size: clamp(2.75rem, 11vw, 5.5rem); }
h2 { font-size: clamp(2.1rem, 7.5vw, 3.6rem); }
h3 { font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 800; }
p { margin: 0 0 1em; }

/* Chinese runs: script-matched font first */
[lang="zh-Hant"] { font-family: "Noto Sans TC", "Noto Sans SC", sans-serif; }
[lang="zh-Hans"] { font-family: "Noto Sans SC", "Noto Sans TC", sans-serif; }

:focus-visible { outline: 2px solid var(--placemat-red); outline-offset: 2px; }
.on-red :focus-visible, .on-dark :focus-visible { outline-color: var(--sign-yellow); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.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: absolute; left: 8px; top: -60px; z-index: 100; background: var(--sign-yellow); color: var(--ink); padding: 8px 12px; font: 700 .9rem var(--mono); }
.skip:focus { top: 8px; }
.only-mobile { display: inline-flex; }
@media (min-width: 768px) { .only-mobile, .btn.only-mobile { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.2em;
  font: 700 .95rem/1.1 var(--mono); text-transform: uppercase; letter-spacing: .04em; text-decoration: none;
  border: 2px solid var(--ink); background: transparent; color: var(--ink);
  cursor: pointer; transition: transform 100ms ease-out;
}
.btn:active { transform: scale(.97); }
.btn-yellow { background: var(--sign-yellow); border-color: var(--sign-yellow); color: var(--ink); }
.btn-yellow:hover { border-color: var(--ink); }
.btn-dark { background: var(--fascia); border-color: var(--fascia); color: #fff; }
.btn-red { background: var(--placemat-red); border-color: var(--placemat-red); color: #fff; }
.btn-red:hover { background: var(--brick); border-color: var(--brick); }
.btn-ghost-light { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- Motif 1: item code tags ---------- */
.code {
  display: inline-block; flex: none;
  font: 700 .78rem/1 var(--mono); letter-spacing: .02em;
  background: var(--placemat-red); color: #fff;
  padding: .32em .42em; min-width: 3.1em; text-align: center;
  backface-visibility: visible;
}
.code-big { font-size: 1.2rem; background: var(--sign-yellow); color: var(--placemat-red); padding: .25em .4em; }
@keyframes flip { from { transform: perspective(200px) rotateX(0); } to { transform: perspective(200px) rotateX(360deg); } }
.row:hover .code, .row:focus-within .code,
.plate:hover .code, .plate:focus-within .code,
.soup:hover .code, .soup:focus-within .code,
.snack:hover .code { animation: flip 300ms ease-out 1; }

/* ---------- Motif 3: highlighter bar + price strip ---------- */
.label { display: inline-flex; flex-direction: column; align-items: flex-start; max-width: 100%; }
.label-bar {
  background: var(--sign-yellow); color: var(--ink);
  font: 800 1.15rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em;
  padding: .3em .5em;
}
.label-bar .c { font-family: var(--mono); font-weight: 700; color: var(--placemat-red); margin-right: .35em; }
.label-strip {
  background: var(--fascia); color: #fff;
  font: 500 .9rem/1 var(--mono); padding: .45em .6em; display: flex; gap: .6em; align-items: baseline;
}
.label-strip [lang] { font-weight: 500; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--fascia); color: #fff; }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--sign-yellow); transform: scaleX(0); transform-origin: left; transition: transform 300ms ease-out;
}
.site-header.settled::after { transform: scaleX(1); }
.header-in { display: flex; align-items: center; gap: 12px; min-height: 64px; }

.wordmark {
  display: flex; align-items: center; gap: 8px; color: var(--sign-yellow); text-decoration: none;
  transform-origin: left center; transition: transform 300ms ease-out; margin-right: auto;
}
.settled .wordmark { transform: scale(.86); }
.wm-latin { display: flex; flex-direction: column; font: 900 1.45rem/.86 var(--display); letter-spacing: .02em; }
.wm-latin span span { display: inline-block; }
.wm-zh { font-weight: 700; font-size: .78rem; line-height: 1.05; writing-mode: vertical-rl; letter-spacing: .08em; align-self: flex-start; margin-top: 1px; }
.wordmark .l { animation: lit 140ms linear both; animation-delay: calc(var(--i) * 35ms); }
.wordmark .wm-zh { animation: fadein 400ms ease-out both; animation-delay: 520ms; }
@keyframes lit { from { opacity: .25; } to { opacity: 1; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

.nav { display: none; }
.nav a { color: #fff; text-decoration: none; font: 600 .95rem var(--body); padding: 10px 4px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--sign-yellow); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

.chip { display: inline-flex; align-items: center; gap: 8px; font: 500 .8rem/1.2 var(--mono); color: #fff; white-space: nowrap; }
.dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--floor); flex: none; }
.chip.open .dot { background: var(--sign-yellow); }
.chip.open .dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--sign-yellow);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.8); opacity: 0; } }
.header-chip { display: none; }
.chip-bar { border-top: 1px solid #2a2a2a; padding: 6px 0; }

.header-order { min-height: 40px; padding: .5em .8em; font-size: .8rem; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  background: none; border: 2px solid #fff; color: #fff; cursor: pointer; padding: 0;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
.sheet { display: none; background: var(--fascia); border-top: 1px solid #2a2a2a; }
.sheet.open { display: block; }
.sheet a { display: block; color: #fff; text-decoration: none; font: 900 2rem/1 var(--display); text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid #2a2a2a; }
.sheet a[aria-current="page"] { color: var(--sign-yellow); }

@media (min-width: 900px) {
  .nav { display: flex; gap: 18px; }
  .header-chip { display: inline-flex; }
  .chip-bar, .menu-toggle, .sheet, .sheet.open { display: none; }
  .header-order { min-height: 44px; font-size: .85rem; }
  .wm-latin { font-size: 1.65rem; }
}

/* ---------- Footer: Motif 4 billing block ---------- */
.site-footer { background: var(--fascia); color: #fff; padding: 56px 0 28px; margin-top: 0; }
.billing { text-align: center; }
.billing .bill-wordmark { color: var(--sign-yellow); font: 900 clamp(3rem, 15vw, 6rem)/.82 var(--display); letter-spacing: .02em; text-transform: uppercase; margin: 0; }
.billing .bill-wordmark [lang] { font-size: .3em; vertical-align: top; letter-spacing: .1em; margin-left: .2em; }
.bill-line { font: 800 clamp(1.4rem, 5vw, 2.2rem)/1 var(--display); text-transform: uppercase; letter-spacing: .03em; margin: 0 0 6px; }
.bill-credit { font: 500 .78rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: #d9d6cc; margin: 14px auto 0; max-width: 46ch; }
.bill-rule { width: 64px; height: 3px; background: var(--sign-yellow); margin: 18px auto; border: 0; }
.site-footer a { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin: 20px 0 0; padding: 0; list-style: none; font: 700 .9rem var(--mono); text-transform: uppercase; }
.footer-links a { color: var(--sign-yellow); text-decoration: none; padding: 8px 2px; display: inline-block; }
.footer-links a:hover { text-decoration: underline; }
.footer-last { margin-top: 28px; font: 500 .8rem var(--mono); color: #d9d6cc; }

/* ---------- Sections ---------- */
section { padding: 56px 0; }
.kicker { font: 700 .78rem/1.4 var(--mono); letter-spacing: .16em; color: var(--placemat-red); text-transform: uppercase; margin: 0 0 14px; }
.lede { font-size: 1.08rem; max-width: 52ch; }
.band-red { background: var(--placemat-red); color: #fff; }
.band-red a { color: #fff; }
.band-blue { background: var(--noodle-blue); color: #fff; }
.band-dark { background: var(--fascia); color: #fff; }
@media (min-width: 768px) { section { padding: 80px 0; } }

/* ---------- Home: hero ---------- */
.hero { padding: 24px 0 48px; }
.hero-grid { display: grid; gap: 28px; }
.hero-photo { position: relative; padding-bottom: 28px; }
.hero-photo::before { content: ""; position: absolute; left: -16px; right: -16px; bottom: 0; height: 36%; background: var(--sign-yellow); }
.hero-frame { position: relative; aspect-ratio: 1 / 1; border-radius: 50% 50% 46% 54% / 52% 48% 52% 48%; overflow: hidden; background: #ddd5c2; max-width: 560px; margin: 0 auto; }
.hero-frame picture, .hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame { animation: iris 700ms cubic-bezier(.2,.7,.2,1) both; }
@keyframes iris { from { clip-path: circle(0% at 50% 50%); } to { clip-path: circle(75% at 50% 50%); } }
.hero-label { position: absolute; left: 0; bottom: 6px; }
.hero-label .label-bar { animation: slidein 360ms ease-out both; animation-delay: 700ms; }
.hero-label .label-strip { animation: slidein 360ms ease-out both; animation-delay: 820ms; }
@keyframes slidein { from { transform: translateX(-28px); opacity: 0; } to { transform: none; opacity: 1; } }
.hero h1 { margin-bottom: .3em; }
.facts { font: 500 .85rem/1.5 var(--mono); margin-top: 20px; }
.facts strong { font-weight: 700; }
@media (min-width: 768px) {
  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: 45fr 55fr; align-items: center; gap: 40px; }
  .hero-text { order: -1; }
  .hero-photo::before { left: 0; right: -40px; }
  .hero-label { left: -24px; }
}

/* Marquee (animation 7) */
.marquee { background: var(--fascia); color: var(--sign-yellow); overflow: hidden; padding: 14px 0; font: 700 .9rem/1.3 var(--mono); letter-spacing: .06em; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { white-space: nowrap; padding-right: 1.2em; }
.marquee:hover .marquee-track, .marquee.paused .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Three plates (animation 8) */
.plates { display: grid; gap: 40px; margin-top: 28px; }
.plate figure { margin: 0; }
.plate .ph { overflow: hidden; aspect-ratio: 4 / 5; background: #ddd5c2; }
.plate .ph img { width: 100%; height: 100%; object-fit: cover; }
.plate .label { margin-top: -22px; position: relative; margin-left: 12px; }
.plate:nth-child(2) .ph img { object-position: 50% 80%; }
.plate p { margin: 12px 0 0 12px; max-width: 34ch; }
@media (min-width: 768px) {
  .plates { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .plate:nth-child(2) { margin-top: 56px; }
  .plate:nth-child(3) { margin-top: 18px; }
}

/* Reveal helpers (JS adds .js to <html>) */
.js .reveal-plate .ph { opacity: 0; transform: scale(.96); transition: opacity 500ms ease-out, transform 500ms ease-out; transition-delay: calc(var(--i, 0) * 120ms); }
.js .reveal-plate.is-in .ph { opacity: 1; transform: none; }
.js .reveal-bill > * { opacity: 0; transform: translateY(12px); transition: opacity 450ms ease-out, transform 450ms ease-out; transition-delay: calc(var(--i, 0) * 60ms); }
.js .reveal-bill.is-in > * { opacity: 1; transform: none; }

/* Small plates */
.snacks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0; }
.snack { margin: 0; }
.snack .ph { aspect-ratio: 1 / 1; overflow: hidden; border: 4px solid var(--fascia); }
.snack .ph img { width: 100%; height: 100%; object-fit: cover; }
.snack figcaption { margin-top: 8px; font: 700 .95rem/1.3 var(--mono); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.snack .code-big { font-size: 1.2rem; }
.ig-quote { font-style: italic; font-size: 1.1rem; margin-top: 14px; }
.small-plates .link-big { font: 700 1rem var(--mono); text-transform: uppercase; color: #fff; }
@media (min-width: 768px) { .snacks { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

/* Reviews */
.reviews { columns: 1; column-gap: 28px; margin-top: 28px; }
.review { break-inside: avoid; margin: 0 0 28px; padding: 0 0 20px; border-bottom: 2px solid var(--ink); }
.review::before { content: "\201C"; display: block; font: 700 3.4rem/.7 var(--mono); color: var(--placemat-red); margin-bottom: 4px; }
.review p { font-size: 1.1rem; margin: 0 0 10px; }
.review:nth-child(2) p { font-size: 1.25rem; }
.review cite { font: 500 .8rem var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .06em; }
@media (min-width: 768px) { .reviews { columns: 2; } }
@media (min-width: 1100px) { .reviews { columns: 3; } }

/* The room */
.room-grid { display: grid; gap: 32px; }
.room-photos { position: relative; padding-bottom: 22%; }
.room-photos .big { border: 6px solid var(--chair-wood); }
.room-photos .small { position: absolute; width: 52%; right: 0; bottom: 0; border: 6px solid var(--chair-wood); }
.room-quote { border-left: 6px solid var(--chair-wood); padding-left: 14px; margin: 18px 0 0; }
.room-quote p { font-size: 1.1rem; font-style: italic; margin-bottom: 6px; }
.room-quote cite { font: 500 .8rem var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .06em; }
@media (min-width: 900px) { .room-grid { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 56px; } .room-photos .big { width: 82%; } .room-photos .small { width: 46%; } }

/* Visit block (home) */
.visit-block { background: var(--sign-yellow); color: var(--ink); text-align: center; }
.visit-block .bill-wordmark, .visit-block .bill-credit { color: var(--ink); }
.visit-block .bill-rule { background: var(--ink); }
.visit-block .btn-row { justify-content: center; margin-top: 26px; }
.visit-block a.tel { color: var(--ink); }

/* ---------- Menu page ---------- */
.page-head { padding: 40px 0 24px; }
.page-head .sub { max-width: 60ch; }
.page-head .sub + .sub { color: var(--floor-ink); font-size: .95rem; }
.tabs-wrap { position: sticky; top: 64px; z-index: 20; background: var(--wall); border-bottom: 2px solid var(--ink); }
.tablist { position: relative; display: flex; overflow-x: auto; scrollbar-width: none; gap: 0; }
.tablist::-webkit-scrollbar { display: none; }
.tab {
  flex: none; background: none; border: 0; padding: 14px 14px 16px; cursor: pointer;
  font: 700 .85rem var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink);
}
.tab[aria-selected="true"] { color: var(--placemat-red); }
.tab-ind { position: absolute; left: 0; bottom: 0; height: 4px; width: 100px; background: var(--placemat-red); transform-origin: left; transition: transform 260ms cubic-bezier(.3,.7,.2,1); pointer-events: none; }
@media (min-width: 900px) { .tabs-wrap { top: 64px; } }

.panel { padding: 32px 0 8px; }
.panel.show { animation: fadein 180ms ease-out; }
.panel-grid { display: grid; gap: 28px; }
.panel-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-content: start; }
.panel-photos picture:only-child { grid-column: 1 / -1; }
.panel-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 6px solid var(--chair-wood); }
@media (min-width: 900px) { .panel-grid.has-photos { grid-template-columns: 1fr 340px; gap: 48px; } .panel-photos { grid-template-columns: 1fr; position: sticky; top: 140px; } }
.panel h3 .script { font-family: var(--script); font-weight: 400; text-transform: none; color: var(--placemat-red); font-size: 1.25em; letter-spacing: 0; }
.panel .note { font-size: .95rem; max-width: 62ch; }
.panel .note [lang] { font-weight: 500; }

.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: auto 1fr auto; column-gap: 10px; align-items: end; padding: 12px 0; border-bottom: 1px solid #ddd6c4; }
.row .code { align-self: start; margin-top: 2px; }
.row .name { grid-column: 2; min-width: 0; font-weight: 600; line-height: 1.3; }
.row .name small { font-weight: 500; color: var(--floor-ink); font-size: .85em; }
.row .zh { display: block; font-weight: 500; color: var(--floor-ink); font-size: .92rem; margin-top: 2px; }
.row .leader { display: none; }
.row .price { grid-column: 3; grid-row: 1; align-self: start; font: 700 1rem var(--mono); transition: transform 150ms ease-out; white-space: nowrap; }
.row:hover .price, .row:focus-within .price { transform: translateX(2px); color: var(--placemat-red); }
.row.no-code { grid-template-columns: 1fr auto; }
.row.no-code .name { grid-column: 1; }
.row.no-code .price { grid-column: 2; }
.row.dimsum { grid-template-columns: 1fr; }
.row.dimsum .zh { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin: 0 0 2px; }
.row.dimsum .desc { font-weight: 500; }
@media (min-width: 600px) {
  .row { grid-template-columns: auto minmax(0, max-content) minmax(24px, 1fr) auto; }
  .row .leader {
    display: block; grid-column: 3; height: 4px; margin-bottom: .45em; align-self: end;
    background-image: radial-gradient(circle, var(--floor) 1.2px, transparent 1.6px); background-size: 8px 4px; background-repeat: repeat-x;
  }
  .row .price { grid-column: 4; grid-row: auto; align-self: end; }
  .row.no-code { grid-template-columns: minmax(0, max-content) minmax(24px, 1fr) auto; }
  .row.no-code .leader { grid-column: 2; }
  .row.no-code .price { grid-column: 3; }
  .panel.show .leader { animation: draw 300ms ease-out both; animation-delay: calc(var(--i, 0) * 20ms); }
}
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.sub-h { margin-top: 36px; }
.combo { border: 3px solid var(--ink); padding: 22px; margin: 40px 0 0; background: #fff; max-width: 760px; }
.combo h2 { font-size: 2rem; }
.menu-cta { padding: 40px 0 64px; }
.menu-cta .btn-row { align-items: center; }

/* ---------- Noodles page ---------- */
.noodle-head { padding: 44px 0 40px; }
.overline { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.4rem; margin: 0 0 4px; letter-spacing: .03em; }
.overline .script { font-family: var(--script); font-weight: 400; text-transform: none; color: var(--sign-yellow); font-size: 1.8em; letter-spacing: 0; }
.noodle-head .sub { max-width: 48ch; font-size: 1.08rem; }
.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 4px solid var(--sign-yellow); }

.builder { padding: 40px 0 24px; }
.builder-grid { display: grid; gap: 28px; }
@media (min-width: 1000px) { .builder-grid { grid-template-columns: 1fr 360px; align-items: start; } }
.step { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.step legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 14px; font: 900 1.9rem/1 var(--display); text-transform: uppercase; }
.check { width: 28px; height: 28px; border-radius: 50%; background: var(--fascia); position: relative; transform: scale(0); transition: transform 220ms cubic-bezier(.3,1.6,.5,1); flex: none; }
.check::after { content: ""; position: absolute; left: 10px; top: 6px; width: 7px; height: 12px; border: solid var(--sign-yellow); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.step.done .check { transform: scale(1); }
.step-body.closed { display: none; }
.step-body.opening { animation: open 220ms ease-out; }
@keyframes open { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.step-hint { font: 500 .85rem var(--mono); color: var(--floor-ink); margin: -6px 0 12px; }

.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.soups { display: grid; gap: 8px; }
.soup label { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: start; padding: 12px; border: 2px solid var(--ink); background: #fff; cursor: pointer; }
.soup .nm { font-weight: 600; line-height: 1.3; }
.soup .nm small { display: block; font-weight: 500; color: var(--floor-ink); }
.soup .pr { font: 700 1rem var(--mono); }
.soup input:checked + label { background: var(--sign-yellow); box-shadow: inset 0 0 0 2px var(--ink); }
.choice input:focus-visible + label { outline: 2px solid var(--placemat-red); outline-offset: 2px; }

.swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 600px) { .swatches { grid-template-columns: repeat(3, 1fr); } }
.swatch label { display: block; cursor: pointer; padding: 8px; background: #fff; border: 2px solid transparent; transition: transform 180ms ease-out; }
.swatch .chipc { display: block; height: 54px; border: 1px solid rgba(0,0,0,.18); }
.swatch .nm { display: block; font-weight: 600; margin-top: 8px; line-height: 1.25; }
.swatch .nm [lang] { display: block; font-weight: 500; color: var(--floor-ink); font-size: .9rem; }
.swatch input:checked + label { transform: translateY(-4px); border-color: var(--fascia); outline: 2px solid var(--fascia); }

.broths { display: grid; gap: 8px; }
@media (min-width: 600px) { .broths { grid-template-columns: repeat(2, 1fr); } }
.broth label { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 2px solid var(--ink); background: #fff; cursor: pointer; font-weight: 600; }
.broth label .pr { font: 700 .95rem var(--mono); white-space: nowrap; }
.broth input:checked + label { background: var(--sign-yellow); box-shadow: inset 0 0 0 2px var(--ink); }
.broth[hidden] { display: none; }

.bowl { position: sticky; bottom: 0; z-index: 30; }
@media (min-width: 1000px) { .bowl { top: 96px; bottom: auto; } }
.bowl-in { background: var(--fascia); color: #fff; padding: 14px var(--gutter) 16px; border-top: 4px solid var(--sign-yellow); }
@media (min-width: 1000px) { .bowl-in { padding: 20px; border-top: 0; border-left: 6px solid var(--sign-yellow); } }
.bowl h2 { font-size: 1.6rem; color: var(--sign-yellow); margin: 0 0 6px; }
.bowl-sum { font: 500 .88rem/1.4 var(--mono); margin: 0 0 10px; min-height: 1.4em; overflow-wrap: anywhere; }
.bowl-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.total { position: relative; display: inline-block; height: 1.3em; overflow: hidden; font: 700 1.8rem/1.3 var(--mono); color: var(--sign-yellow); min-width: 5ch; }
.total span { display: block; }
.total .out { position: absolute; top: 0; left: 0; animation: rollout 200ms ease-in forwards; }
.total .in { animation: rollin 200ms ease-out; }
@keyframes rollout { to { transform: translateY(-100%); opacity: 0; } }
@keyframes rollin { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
.bowl-note { font: 500 .75rem var(--mono); color: #cfccc2; margin: 10px 0 0; }
.closing { padding: 32px 0 64px; }
.closing p { font: 800 1.6rem/1.1 var(--display); text-transform: uppercase; max-width: 30ch; }

/* ---------- Visit page ---------- */
.visit-photos { display: grid; gap: 16px; }
.night { position: relative; }
.night img { width: 100%; border: 6px solid var(--fascia); }
.lights { position: absolute; top: 10px; left: 14px; right: 14px; display: flex; justify-content: space-between; pointer-events: none; }
.lights i { width: 4px; height: 4px; border-radius: 50%; background: rgba(244, 210, 31, .7); animation: twinkle 3s ease-in-out infinite alternate; }
.lights.paused i { animation-play-state: paused; }
@keyframes twinkle { from { opacity: .4; } to { opacity: 1; } }
.day img { width: 100%; border: 6px solid var(--chair-wood); }
@media (min-width: 768px) { .visit-photos { grid-template-columns: 1.4fr 1fr; align-items: end; } }

.hours { width: 100%; max-width: 480px; border-collapse: collapse; font: 500 1rem var(--mono); }
.hours th, .hours td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #ddd6c4; position: relative; }
.hours th { font-weight: 700; }
.hours .closed { color: var(--placemat-red); font-weight: 700; }
.hours tr.today th::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 100%; background: var(--sign-yellow); z-index: -1; transform-origin: left; animation: bar 400ms ease-out both 200ms; }
.hours tr.today td::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 100%; background: var(--sign-yellow); z-index: -1; transform-origin: left; animation: bar 400ms ease-out both 260ms; }
.hours tr.today th, .hours tr.today td { z-index: 0; }
.hours tbody { position: relative; z-index: 0; }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.today-tag { font-size: .75rem; margin-left: 6px; }

.two-col { display: grid; gap: 32px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.map { width: 100%; aspect-ratio: 4 / 3; border: 4px solid var(--ink); display: block; }
.ticks { list-style: none; padding: 0; margin: 18px 0; }
.ticks li { padding: 8px 0 8px 22px; position: relative; border-bottom: 1px solid #ddd6c4; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 16px; width: 10px; height: 10px; background: var(--placemat-red); }

.form-grid { display: grid; gap: 16px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font: 700 .85rem var(--mono); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font: 400 1rem var(--body); color: var(--ink);
  background: #fff; border: 2px solid var(--ink); border-radius: 0;
}
.field textarea { min-height: 96px; resize: vertical; }
.field .hint { display: block; font: 500 .8rem var(--mono); color: var(--floor-ink); margin-top: 4px; }
.field .hint.err { color: var(--placemat-red); font-weight: 700; }
.reserve-grid { display: grid; gap: 32px; }
.reserve-grid .lights-photo img { width: 100%; border: 6px solid var(--chair-wood); }
@media (min-width: 900px) { .reserve-grid { grid-template-columns: 1fr 1.3fr; align-items: start; } }

/* ---------- Demo modal ---------- */
.modal { border: 0; padding: 0; max-width: min(520px, calc(100vw - 32px)); background: var(--wall); color: var(--ink); box-shadow: 10px 10px 0 var(--sign-yellow); }
.modal::backdrop { background: rgba(20, 20, 20, .72); }
.modal-in { padding: 28px 24px 24px; border-top: 8px solid var(--placemat-red); }
.modal h2 { font-size: 2.2rem; }
.modal[open] { animation: fadein 160ms ease-out; }

/* ---------- Reduced motion: final states, no loops ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal-plate .ph, .js .reveal-bill > * { opacity: 1; transform: none; }
  .marquee-track { width: auto; flex-wrap: wrap; padding: 0 var(--gutter); }
  .marquee-track span { white-space: normal; }
  .marquee-track [aria-hidden="true"] { display: none; }
  .lights i { opacity: .8; }
  .step.done .check { transform: scale(1); }
}

/* ---------- Additions ---------- */
.panel-h { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.panel h3 { font-size: clamp(1.4rem, 4.5vw, 1.9rem); }
.panel h3 [lang] { font-weight: 700; font-size: .8em; margin-right: .25em; }
.cta-note { margin-top: 16px; }
@media (min-width: 768px) { .strip img { aspect-ratio: 16 / 9; } }
#builder, #reserve, .tabs-wrap { scroll-margin-top: 110px; }
@media (min-width: 768px) { .night img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 70%; } }
