/* Lucky Kitchen (All Day Dim Sum) demo: one stylesheet, mobile first (640 / 1024). */
:root {
  --menu-peach: #F9D9B0;
  --peach-deep: #F2BF86;
  --code-red: #D21F26;
  --roof-red: #A3262A;
  --sign-yellow: #F6C928;
  --mascot-orange: #EE9A2B;
  --ink: #1B1714;
  --steamer: #C9A26B;
  --cream: #FFF8EE;
  --ink-soft: #54453A;
  --roof-dark: #7A1A1E;
  --font-display: "Titan One", "Arial Black", sans-serif;
  --font-zh: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--cream); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.roof :focus-visible, .tip :focus-visible { outline-color: var(--sign-yellow); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--cream); color: var(--ink); padding: 12px 16px; font-weight: 700; }
.skip:focus { left: 8px; }

.paper {
  background-color: var(--menu-peach);
  background-image: radial-gradient(rgba(27, 23, 20, .07) 1px, transparent 1.6px);
  background-size: 16px 16px;
}
.zh { font-family: var(--font-zh); font-weight: 900; }
.muted { color: var(--ink-soft); font-size: .9em; }
.small { font-size: .95rem; }
.big { font-size: 1.2rem; line-height: 1.5; max-width: 40ch; }
.display { font-family: var(--font-display); font-size: clamp(2.6rem, 10vw, 5.2rem); line-height: 1; letter-spacing: .005em; display: block; text-wrap: balance; }
.h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 6vw, 2.8rem); line-height: 1.05; margin-bottom: 18px; }
.h3 { font-family: var(--font-body); font-weight: 700; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; margin: 28px 0 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--ink);
  background: transparent; color: var(--ink); font: 700 1rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 3px 0 var(--ink); }
.btn-red { background: var(--roof-red); border-color: var(--roof-red); color: #fff; }
.btn-red:hover { box-shadow: 0 3px 0 var(--roof-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 14px; }
.btn-col { display: grid; gap: 12px; max-width: 320px; margin-top: 20px; }

/* ---------- Header: the roof band ---------- */
.roof {
  position: relative; z-index: 30; background-color: var(--roof-red); color: #fff;
  background-image: repeating-linear-gradient(180deg, transparent 0 21px, rgba(0, 0, 0, .08) 21px 23px);
}
.roof::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='10'%3E%3Cpath d='M0 0H24V1A6 8 0 0 1 12 1A6 8 0 0 1 0 1Z' fill='%23A3262A'/%3E%3Cpath d='M24 1A6 8 0 0 1 12 1A6 8 0 0 1 0 1' fill='none' stroke='%237A1A1E' stroke-width='1.5'/%3E%3C/svg%3E") repeat-x;
  background-size: 24px 10px;
}
.roof-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 10px 16px 8px;
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand call" "nav nav" "chip chip";
  align-items: center; gap: 4px 12px;
}
.brand { grid-area: brand; display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 48px; min-width: 0; }
.brand .mark { width: 46px; height: 46px; flex: none; }
.brand-text { display: block; min-width: 0; }
.wordmark { display: block; font-family: var(--font-display); color: var(--sign-yellow); font-size: 1.45rem; line-height: 1; letter-spacing: .03em; white-space: nowrap; text-shadow: 0 2px 0 var(--roof-dark); }
.wordmark .l { display: inline-block; }
.zh-name { display: block; font-family: var(--font-zh); font-weight: 700; font-size: .8rem; letter-spacing: .3em; color: #FFE9C9; margin-top: 4px; }
.nav { grid-area: nav; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 0 6px; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; color: #fff; text-decoration: none; font-weight: 700; font-size: .98rem; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 6px; height: 3px; border-radius: 2px; background: var(--sign-yellow); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease); }
.nav a:hover::after, .nav a:focus-visible::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.chip { grid-area: chip; justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 4px; padding: 5px 12px; border-radius: 999px; background: var(--cream); color: var(--ink); font-size: .85rem; font-weight: 700; line-height: 1.3; }
.chip .dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #7d7168; flex: none; }
.chip.is-open .dot { background: #1D7A3A; }
.chip .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; opacity: 0; }
.hcall { grid-area: call; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--sign-yellow); color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
@media (max-width: 639px) { .hcall-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
@media (min-width: 640px) {
  .roof-inner { grid-template-columns: 1fr auto auto; grid-template-areas: "brand chip call" "nav nav nav"; padding: 12px 28px 8px; }
  .chip { justify-self: end; margin: 0; }
  .wordmark { font-size: 1.8rem; }
  .brand .mark { width: 54px; height: 54px; }
  .nav ul { justify-content: flex-start; gap: 0 26px; }
}
@media (min-width: 1024px) {
  .roof-inner { grid-template-columns: auto 1fr auto auto; grid-template-areas: "brand nav chip call"; gap: 0 22px; padding: 14px 28px 12px; }
  .nav ul { justify-content: center; }
}

/* ---------- Steamer rings ---------- */
.steamer { position: relative; border-radius: 50%; border: 12px solid var(--steamer); background: var(--steamer); }
.steamer::before, .steamer::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.steamer::before { inset: -24px; border: 3px solid var(--steamer); }
.steamer::after { inset: -40px; border: 2px solid rgba(201, 162, 107, .55); }
.steamer img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 3px #A8824D; }
.steamer.sm { border-width: 6px; }
.steamer.sm::before { inset: -11px; border-width: 2px; }
.steamer.sm::after { display: none; }
.badge {
  position: absolute; z-index: 3; top: -6px; left: -6px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--code-red); color: #fff;
  font: 700 .95rem/1 var(--font-body); box-shadow: 0 0 0 3px var(--cream);
}

/* ---------- Home ---------- */
.hero { padding: 40px 0 72px; overflow: hidden; }
.hero-grid { display: grid; gap: 64px; align-items: center; }
.eyebrow { font-family: var(--font-zh); font-weight: 700; color: var(--roof-red); font-size: 1.15rem; letter-spacing: .14em; margin-bottom: 12px; }
.hero h1 { margin-bottom: 20px; }
.lede { font-size: 1.15rem; max-width: 36ch; }
.rating { font-weight: 500; font-size: .98rem; }
.hero-art { padding: 40px; }
.hero-steamer { width: 100%; max-width: 440px; margin: 0 auto; }
.lid { position: absolute; z-index: 2; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); display: none; }
.wisps { position: absolute; z-index: 4; left: 50%; top: -18%; width: 34%; margin-left: -17%; overflow: visible; }
.wisp { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; opacity: 0; }
@media (min-width: 1024px) {
  .hero { padding: 56px 0 88px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
}

.allday { padding: 56px 0; }
.allday-grid { display: grid; grid-template-columns: auto 1fr; gap: 20px 28px; align-items: center; }
.clock { width: 92px; height: 92px; }
.clock .hand-h { transform-box: view-box; transform-origin: 50% 50%; transform: rotate(645deg); }
.allday .h2 { margin-bottom: 8px; }
.allday .big { margin: 0; }
@media (min-width: 640px) { .clock { width: 140px; height: 140px; } .allday-grid { gap: 20px 44px; } }

.favs { padding: 60px 0 48px; }
.strip { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 22px; }
.strip li { text-align: center; }
.strip .tile-art { position: relative; width: calc(100% - 24px); margin: 0 auto 18px; }
.strip .name { font-weight: 700; line-height: 1.3; margin: 0; }
.zh-n { font-family: var(--font-zh); font-weight: 700; color: var(--ink-soft); margin: 4px 0 0; font-size: .98rem; }
.more-link { margin: 40px 0 0; font-weight: 700; font-size: 1.1rem; }
.more-link a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 640px) { .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .strip { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 30px; } }

.tip { background: var(--roof-red); color: #fff; padding: 64px 0; }
.tip figure { margin: 0; }
.tip blockquote { margin: 0; }
.tip blockquote p { font-family: var(--font-display); font-size: clamp(1.6rem, 5vw, 2.9rem); line-height: 1.15; max-width: 24ch; margin-bottom: 18px; }
.tip figcaption { color: #FFE9C9; font-weight: 700; }

.reviews { padding: 64px 0; }
.quotes { display: grid; gap: 24px; }
.quote { margin: 0; padding: 26px 24px 22px; background: #fff; border: 2px solid var(--ink); border-radius: 4px; box-shadow: 6px 6px 0 var(--peach-deep); }
.quote blockquote { margin: 0; }
.quote p { font-size: 1.12rem; line-height: 1.5; margin-bottom: 14px; }
.quote figcaption { font-weight: 700; color: var(--roof-red); }
@media (min-width: 1024px) { .quotes { grid-template-columns: repeat(2, 1fr); gap: 32px; } .quotes-3 { grid-template-columns: repeat(3, 1fr); } }

.findus { padding: 64px 0; }
.findus-grid { display: grid; gap: 36px; align-items: center; }
.findus-photo img, .visit-media img { border-radius: 4px; border: 3px solid var(--ink); }
.findus-photo { max-width: 420px; }
.addr { font-weight: 700; font-size: 1.15rem; }
@media (min-width: 1024px) { .findus-grid { grid-template-columns: 420px 1fr; gap: 64px; } }

.hours { list-style: none; margin: 0 0 18px; padding: 0; max-width: 420px; }
.hours li { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 7px 8px; border-bottom: 1px dashed rgba(27, 23, 20, .35); }
.hours li > span { position: relative; z-index: 1; }
.hours .d { font-weight: 700; }
.hours li::before { content: ""; position: absolute; inset: 2px 0; border-radius: 3px; background: var(--sign-yellow); transform: scaleX(0); transform-origin: left; }
.hours li.today::before { transform: scaleX(1); }
.hours-sm li { padding: 4px 0; font-size: .95rem; }
.hours-big li { font-size: 1.1rem; padding: 10px 8px; }

/* ---------- Footer ---------- */
.site-foot { border-top: 6px solid var(--code-red); padding: 48px 0 28px; }
.foot-grid { display: grid; gap: 28px; }
.foot-mascot .mascot { width: 120px; height: 120px; }
.foot-name { font-size: 1.05rem; }
.foot-note { font-size: .95rem; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.foot-credit { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(27, 23, 20, .25); font-size: .9rem; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: auto 1fr; } }
@media (min-width: 1024px) { .foot-grid { grid-template-columns: auto 1.3fr 1fr .9fr; gap: 40px; } }

/* ---------- Demo modal ---------- */
dialog.demo { width: min(92vw, 460px); padding: 28px 26px 22px; border: 3px solid var(--ink); border-radius: 6px; background: var(--cream); color: var(--ink); box-shadow: 8px 8px 0 var(--code-red); }
dialog.demo::backdrop { background: rgba(27, 23, 20, .6); }
dialog.demo h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 12px; }
dialog.demo .btn-row { margin-bottom: 0; }

/* ---------- Menu ---------- */
.menu-head { padding: 44px 0 30px; }
.menu-h1 { margin-bottom: 20px; }
.zh-big { display: block; font-family: var(--font-zh); font-weight: 900; font-size: clamp(3.4rem, 14vw, 6.4rem); line-height: 1; margin-bottom: 8px; }
.jump { margin-top: 24px; max-width: 360px; }
.jump label { display: block; font-weight: 700; margin-bottom: 6px; }
.jump-row { display: flex; align-items: stretch; gap: 8px; }
.jump-d { display: grid; place-items: center; width: 48px; border-radius: 50%; background: var(--code-red); color: #fff; font-weight: 700; flex: none; }
.jump input { flex: 1; min-width: 0; }
.jump-status { min-height: 1.5em; margin: 8px 0 0; font-weight: 700; color: var(--roof-red); }
.tabs { position: sticky; top: 0; z-index: 20; background: var(--cream); border-bottom: 2px solid var(--ink); }
.tabs-inner { position: relative; display: flex; overflow-x: auto; scrollbar-width: none; padding: 0; }
.tabs-inner::-webkit-scrollbar { display: none; }
.tabs a { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 14px; text-decoration: none; font-weight: 700; white-space: nowrap; }
.tabs a .zh { font-size: 1.05rem; }
.tabs a[aria-current="true"] { color: var(--roof-red); }
.tab-ind { position: absolute; left: 0; bottom: 0; width: 100px; height: 4px; background: var(--code-red); transform-origin: left; transform: scaleX(0); transition: transform .38s var(--ease); }
@media (min-width: 1024px) { .tabs-inner { padding: 0 14px; justify-content: center; } }
.menu-body { padding-bottom: 56px; }
.msec { padding: 52px 0 12px; scroll-margin-top: 56px; }
.msec-title { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 30px; }
.msec-title .zh { font-size: clamp(2.8rem, 10vw, 4.6rem); line-height: 1.05; }
.msec-title .en { font-weight: 700; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; margin-top: 8px; }
.msec-title .en-big { font-family: var(--font-display); font-size: clamp(2.2rem, 8vw, 3.4rem); line-height: 1.05; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; grid-auto-flow: dense; }
.tile { position: relative; }
.tile .tile-art { position: relative; width: 76px; height: 76px; padding: 6px 0 0 6px; }
.tile .ring-icon { display: block; width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--steamer); background: repeating-radial-gradient(circle at center, var(--steamer) 0 1.5px, transparent 2px 7px); }
.tile .badge { top: -2px; left: -4px; width: 40px; height: 40px; font-size: .88rem; }
.tile .name { font-weight: 700; line-height: 1.3; margin: 10px 0 0; }
.tile.has-photo { grid-column: span 2; display: grid; grid-template-columns: minmax(120px, 42%) 1fr; gap: 22px; align-items: center; }
.tile.has-photo .tile-art { width: auto; height: auto; padding: 11px; }
.tile.has-photo .badge { top: 0; left: 0; width: 46px; height: 46px; font-size: .95rem; }
.tile.has-photo .name { font-size: 1.1rem; margin-top: 0; }
.tile.ping { outline: 3px solid var(--code-red); outline-offset: 8px; border-radius: 6px; }
.tile .badge::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 3px solid var(--code-red); opacity: 0; pointer-events: none; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px 26px; } }
.kitchen { display: grid; gap: 24px; align-items: center; margin-top: 56px; padding-top: 40px; border-top: 2px solid var(--ink); }
.kitchen img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 220px; border: 10px solid var(--steamer); }
.kitchen .big { margin: 0; }
@media (min-width: 640px) { .kitchen { grid-template-columns: auto 1fr; gap: 40px; } }

/* ---------- The Room ---------- */
.room-head { padding: 44px 0 40px; }
.room-head h1 { margin-bottom: 28px; }
.room-hero { position: relative; overflow: hidden; border: 3px solid var(--ink); border-radius: 4px; }
.room-hero img { width: 100%; }
.window-light { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(100deg, rgba(255, 244, 190, 0) 10%, rgba(255, 244, 190, .62) 40%, rgba(255, 238, 160, .38) 65%, rgba(255, 244, 190, 0) 90%); }
.room-lede { margin: 28px 0 0; max-width: 46ch; }
.room-row { padding: 48px 0; }
.photo-row { display: grid; gap: 18px; }
.photo-row img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; border: 3px solid var(--ink); }
@media (min-width: 640px) { .photo-row { grid-template-columns: 1fr 1fr; } .pr-wide { grid-column: span 2; } }
@media (min-width: 1024px) { .photo-row { grid-template-columns: 2fr 1fr 1fr; height: 380px; } .pr-wide { grid-column: auto; } .photo-row > div { min-height: 0; } }
.good { padding: 60px 0; }
.good-grid { display: grid; gap: 32px; align-items: center; }
.good-list { list-style: none; margin: 0; padding: 0; max-width: 560px; }
.good-list li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px dashed rgba(27, 23, 20, .35); font-size: 1.08rem; }
.good-list li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--code-red); box-shadow: 0 0 0 3px var(--peach-deep); }
.foot-mascot-room .mascot { width: 200px; height: 200px; margin: 0 auto; }
@media (min-width: 1024px) { .good-grid { grid-template-columns: 1fr auto; } }
.since { font-family: var(--font-display); font-size: 1.4rem; margin-top: 24px; color: var(--roof-red); }

/* ---------- Visit ---------- */
.visit-head { padding: 44px 0 52px; }
.visit-grid { display: grid; gap: 28px; }
.visit-head h1 { margin-bottom: 8px; }
@media (min-width: 1024px) { .visit-grid { grid-template-columns: 1fr 1fr; align-items: end; } }
.visit-media { padding: 52px 0; }
.media-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .media-grid { grid-template-columns: 420px 1fr; gap: 40px; } }
.map-card { display: block; position: relative; text-decoration: none; border: 3px solid var(--ink); border-radius: 4px; overflow: hidden; background: var(--menu-peach); }
.map-card .map { width: 100%; height: auto; }
.map-cta { display: flex; align-items: center; min-height: 48px; padding: 0 16px; background: var(--ink); color: var(--cream); font-weight: 700; }
.map-card:hover .map-cta { text-decoration: underline; }
.book { padding: 60px 0 72px; }
.form { display: grid; gap: 20px; max-width: 620px; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .field:nth-child(6), .form-error, .form .btn { grid-column: 1 / -1; } .form .btn { justify-self: start; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label { position: relative; justify-self: start; font-weight: 700; padding-bottom: 3px; }
.field label::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--code-red); transform: scaleX(0); transform-origin: left; }
.field:focus-within label::after { transform: scaleX(1); }
input, select, textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 4px; }
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--code-red); outline-offset: 1px; }
.hint { font-size: .92rem; color: var(--ink-soft); margin: 2px 0 0; }
.form-error { margin: 0; font-weight: 700; color: var(--roof-red); min-height: 0; }
.form-error:empty { display: none; }

/* =========================================================
   Motion. Everything above is the final (static) state.
   Initial states only apply when motion is allowed.
   Mobile (<640px) keeps motions 1, 4, 6, 10 and 12.
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  /* 1. Sign light-up */
  .wordmark .l { animation: signOn .5s linear both; animation-delay: calc(120ms + var(--i, 0) * 40ms); }
  /* 4. Section reveals */
  .js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  /* 6. Steamer lid lift */
  .lid { display: block; animation: lidLift .7s cubic-bezier(.55, 0, .3, 1) .45s forwards; }
  /* 12. Find by number ring pulse */
  .tile.ping { outline-color: transparent; }
  .tile.ping .badge::after { animation: ping 1.1s var(--ease) both; }
  .tile.ping .badge { animation: badgeNudge 1.1s var(--ease) both; }
  /* 10. Sticky tab underline slides (transition on .tab-ind) */
}
@media (prefers-reduced-motion: reduce) {
  .tab-ind { transition: none; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 640px) {
  /* 2. Nav underline: transition defined on .nav a::after */
  /* 3. Open-now pulse (loop 1 of 2) */
  .chip.is-open .dot::after { animation: pulse 2.4s ease-out infinite; }
  /* 5. Badge stamp */
  .js [data-io] .badge { opacity: 0; transform: scale(1.25) rotate(-14deg); transition: opacity .35s ease, transform .45s cubic-bezier(.3, 1.5, .5, 1); transition-delay: calc(var(--d, 0ms) + 180ms); }
  .js [data-io].in .badge { opacity: 1; transform: none; }
  .js .strip li .badge { transition-delay: calc(var(--i) * 100ms + 380ms); }
  /* 7. All-day clock */
  .js .clock .hand-h { transform: rotate(315deg); transition: transform 2.6s cubic-bezier(.45, 0, .2, 1) .2s; }
  .js .clock.in .hand-h { transform: rotate(645deg); }
  /* 8. Dish strip */
  .js .strip li { opacity: 0; transform: translateX(48px); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: calc(var(--i) * 100ms); }
  .js .strip.in li { opacity: 1; transform: none; }
  /* 9. Steam wisps (loop 2 of 2) */
  .wisp { animation: wisp 4s ease-in-out 1.3s infinite; }
  .wisp + .wisp { animation-delay: 3.3s; }
  /* 11. Grid cascade */
  .js .grid .tile { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--d, 0ms); }
  .js .grid.in .tile { opacity: 1; transform: none; }
  /* 13. Chinese title brush-in */
  .js .msec-title .brush { clip-path: inset(0 100% 0 0); transition: clip-path .9s cubic-bezier(.6, 0, .2, 1); }
  .js .msec-title.in .brush { clip-path: inset(0 0 0 0); }
  /* 14. Window light */
  .room-hero.in .window-light { animation: light 2.8s ease-in-out .2s both; }
  /* 15. Quote cards tilt in */
  .js .quotes .quote { opacity: 0; transform: rotate(2deg) translateY(14px); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i) * 140ms); }
  .js .quotes.in .quote { opacity: 1; transform: none; }
  /* 16. Hours highlight sweep */
  .js .hours li.today::before { transform: scaleX(0); transition: transform .7s cubic-bezier(.6, 0, .2, 1) .3s; }
  .js .hours.in li.today::before { transform: scaleX(1); }
  /* 17. Map pin drop */
  .js .map .pin { opacity: 0; transform: translateY(-12px); transition: opacity .25s ease .2s, transform .6s cubic-bezier(.3, 1.8, .5, 1) .2s; }
  .js .map.in .pin { opacity: 1; transform: none; }
  /* 18. Form focus underline sweep */
  .field label::after { transition: transform .32s var(--ease); }
}

@keyframes signOn { 0% { opacity: 0; } 30% { opacity: .85; } 45% { opacity: .25; } 62% { opacity: 1; } 75% { opacity: .55; } 100% { opacity: 1; } }
@keyframes lidLift { to { transform: translateY(-70%) rotate(-7deg); opacity: 0; visibility: hidden; } }
@keyframes pulse { 0% { opacity: .6; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(2.6); } }
@keyframes wisp { 0% { opacity: 0; transform: translateY(16px); } 35% { opacity: .9; } 100% { opacity: 0; transform: translateY(-34px); } }
@keyframes ping { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(2.8); } }
@keyframes badgeNudge { 0% { transform: scale(1); } 25% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes light { 0% { opacity: 1; clip-path: inset(0 100% 0 0); } 60% { opacity: 1; clip-path: inset(0 0 0 0); } 100% { opacity: 0; clip-path: inset(0 0 0 0); } }

/* ---------- Fixes after visual review ---------- */
.quotes + .rating { margin-top: 28px; }
@media (min-width: 1024px) { .room-hero img { aspect-ratio: 16 / 8; object-fit: cover; } }
:lang(zh) { font-family: var(--font-zh); }
