/* Layout: night-street storefront. Lacquer black ground, lantern red bands, gold labels; content in a 1240px column. */
:root {
  color-scheme: dark;
  --ink: #120E0C;        /* page ground */
  --ink-deep: #0B0908;   /* header / footer */
  --lacquer: #1E1714;    /* cards, alt sections */
  --lacquer-2: #2A1F1A;
  --line: #3A2E27;
  --paper: #F4E9D2;      /* main text */
  --muted: #CDBFA8;
  --red: #C2201A;        /* buttons */
  --red-band: #B81F18;   /* full-width bands */
  --red-text: #EF4B3A;   /* red text on dark */
  --gold: #D9A64A;

  --f-display: 'Oswald', 'Noto Sans SC', 'Arial Narrow', sans-serif;
  --f-han: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --f-body: 'Nunito Sans', 'Noto Sans SC', system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 18px;
  --sec: clamp(64px, 9vw, 104px);
  --top-safe: env(safe-area-inset-top, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(88px + var(--top-safe)); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.sel { user-select: all; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

.eyebrow {
  margin: 0;
  font-family: var(--f-display);
  font-size: .95rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow--light { color: var(--paper); }
.h2 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  text-transform: uppercase;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 30px;
  border-radius: 999px;
  font-family: var(--f-display); font-weight: 600; font-size: 1.05rem;
  letter-spacing: .14em; text-transform: uppercase;
  border: 2px solid transparent;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: var(--paper); }
.btn--red:hover { background: var(--red-text); }
.btn--ghost { border-color: var(--paper); color: var(--paper); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: .95rem; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: var(--top-safe); z-index: 20;
  background: color-mix(in srgb, var(--ink-deep) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 56px; height: 56px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__zh { font-family: var(--f-han); font-weight: 900; font-size: 1.2rem; }
.brand__latin { font-family: var(--f-display); font-weight: 600; font-size: .85rem; letter-spacing: .18em; color: var(--red-text); }
.brand__slogan { font-family: var(--f-display); font-size: .8rem; letter-spacing: .16em; color: var(--muted); }
.nav { flex: 1 1 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 26px; font-family: var(--f-display); letter-spacing: .12em; text-transform: uppercase; }
.nav a { position: relative; padding-block: 12px; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--red-text); transform: scaleX(0); transition: transform .25s ease; }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav a[aria-current="true"] { color: var(--gold); }
.topbar__tools { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button {
  min-width: 48px; height: 44px; border: 0; cursor: pointer;
  background: transparent; color: var(--muted);
  font-family: var(--f-display); font-size: .92rem; letter-spacing: .08em;
}
.lang button[lang="zh"] { font-family: 'Noto Sans SC', sans-serif; letter-spacing: 0; min-width: 56px; }
.lang button[aria-pressed="true"] { background: var(--red); color: var(--paper); }

@media (max-width: 760px) {
  .topbar__row { gap: 6px 12px; }
  .brand img { width: 46px; height: 46px; }
  .topbar__tools { margin-left: auto; }
  .topbar__tools .btn { display: none; }
  .nav { order: 3; flex-basis: 100%; justify-content: space-between; gap: 0 12px; font-size: .9rem; overflow-x: auto; }
}

/* ---------- hero ---------- */
.hero { background: radial-gradient(circle at 76% 52%, #4A120E 0%, var(--ink) 58%); overflow: hidden; }
.hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; padding-block: clamp(40px, 7vw, 88px); }
.hero__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero__title {
  margin: 0;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.8rem, 7.4vw, 6.2rem); line-height: 1; text-transform: uppercase;
}
.hero__title em { font-style: normal; color: var(--red-text); }
:lang(zh-Hans) .hero__title { font-family: var(--f-han); font-weight: 900; line-height: 1.15; }
.hero__sub { margin: 0; font-size: 1.25rem; color: var(--muted); max-width: 30rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__art { flex: 1 1 340px; min-width: 0; position: relative; display: flex; justify-content: center; }
.hero__art img { width: min(100%, 540px); height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); animation: float 6s ease-in-out infinite; }
.seal {
  position: absolute; top: 8%; left: 2%;
  writing-mode: vertical-rl;
  font-family: var(--f-han); font-weight: 900; font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1;
  color: var(--paper); background: var(--red); padding: 12px 8px; border-radius: 4px;
  transform: rotate(-6deg);
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 4px var(--red);
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(-1.5deg); } }

/* ---------- ticker ---------- */
.ticker { background: var(--red); color: var(--paper); overflow: hidden; border-block: 1px solid #000; }
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker__track span { white-space: nowrap; padding: 14px 0; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; letter-spacing: .22em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- best seller ---------- */
.best { background: var(--ink); padding-block: var(--sec); }
.best__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 56px; }
.best__img { flex: 1 1 380px; min-width: 0; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.best__copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.best__badge { margin: 0; display: flex; align-items: baseline; gap: 14px; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .24em; color: var(--gold); }
.best__badge span:first-child { font-size: clamp(3.5rem, 8vw, 6rem); font-weight: 700; letter-spacing: 0; line-height: .9; color: var(--red-text); }
.best__name { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; text-transform: uppercase; }
:lang(zh-Hans) .best__name { font-family: var(--f-han); font-weight: 900; }
.best__zh { margin: 0; font-family: var(--f-han); font-weight: 900; font-size: 1.4rem; color: var(--muted); }
.best__note { margin: 6px 0 0; font-size: 1.15rem; color: var(--muted); max-width: 32rem; }
.best__price { margin: 6px 0 0; font-family: var(--f-display); font-size: 2rem; color: var(--gold); font-variant-numeric: tabular-nums; }

/* ---------- what is it ---------- */
.what { background: var(--red-band); padding-block: var(--sec); }
.what__title { margin: 12px 0 36px; font-family: var(--f-display); font-weight: 700; font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: 1.05; text-transform: uppercase; }
:lang(zh-Hans) .what__title, :lang(zh-Hans) .cta__title { font-family: var(--f-han); font-weight: 900; }
.what__dark { color: var(--ink); }
.what__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; border-top: 2px solid var(--paper); padding-top: 28px; }
.what__cols h3 { margin: 0 0 6px; font-family: var(--f-display); font-weight: 600; font-size: 1.45rem; letter-spacing: .08em; text-transform: uppercase; }
.what__cols p { margin: 0; font-size: 1.08rem; max-width: 34ch; }

/* ---------- menu ---------- */
.menu-sec { position: relative; overflow: hidden; padding-block: var(--sec) calc(var(--sec) * .4); }
.menu-sec:nth-of-type(even) { background: var(--lacquer); }
.menu-sec__bg {
  position: absolute; top: 12px; right: -1vw; z-index: 0;
  font-family: var(--f-han); font-weight: 900; font-size: clamp(9rem, 24vw, 22rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(239, 75, 58, .22);
  pointer-events: none; user-select: none;
}
.menu-sec .wrap { position: relative; z-index: 1; }
.menu-sec__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; border-bottom: 2px solid var(--red); padding-bottom: 14px; margin-bottom: 28px; }
.menu-sec__zh { font-family: var(--f-han); font-weight: 900; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--red-text); }
:lang(zh-Hans) .menu-sec .h2 { font-family: var(--f-han); font-weight: 900; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }

.card {
  display: flex; flex-direction: column;
  background: var(--lacquer-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.menu-sec:nth-of-type(even) .card { background: var(--ink); }
.card:hover { transform: translateY(-6px); border-color: var(--red-text); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--lacquer); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 22px; flex: 1; }
.card__tags { display: flex; gap: 6px; margin-bottom: 4px; }
.tag { font-family: var(--f-display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.tag--hot { background: var(--red); color: var(--paper); }
.tag--gold { background: var(--gold); color: var(--ink); }
.card__name { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; line-height: 1.2; letter-spacing: .03em; text-transform: uppercase; }
:lang(zh-Hans) .card__name { font-family: 'Noto Sans SC', sans-serif; font-weight: 700; letter-spacing: 0; }
.card__sub { margin: 0; color: var(--muted); font-size: .98rem; }
.card__sub:lang(zh) { font-family: 'Noto Sans SC', sans-serif; }
.card__desc { margin: 8px 0 0; font-size: .95rem; line-height: 1.55; color: var(--paper); opacity: .88; }
.card__allergens { margin: 2px 0 0; font-size: .85rem; color: var(--muted); }
.card__price { margin: auto 0 0; padding-top: 10px; font-family: var(--f-display); font-size: 1.35rem; color: var(--gold); font-variant-numeric: tabular-nums; }

/* scroll-in: content is visible at rest; entering only adds a short rise */
.is-in { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { transform: translateY(22px); } to { transform: none; } }

/* ---------- story ---------- */
.story { padding-block: var(--sec); }
.story__grid { display: flex; flex-direction: column; gap: 32px; }
.story__copy { display: flex; flex-direction: column; gap: 12px; max-width: 46rem; }
.story__copy p { margin: 0; font-size: 1.15rem; }
.story__img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: center 70%; border-radius: var(--radius); }

/* ---------- visit ---------- */
.visit { background: var(--lacquer); padding-block: var(--sec); }
.visit__grid { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-start; }
.visit__head { flex: 1 1 280px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.visit__title { font-family: var(--f-han); font-weight: 900; text-transform: none; }
.visit__facts { flex: 2 1 420px; min-width: 0; margin: 0; display: grid; gap: 0; }
.visit__facts > div { display: grid; grid-template-columns: minmax(110px, 180px) 1fr; gap: 16px; padding-block: 18px; border-top: 1px solid var(--line); }
.visit__facts > div:last-child { border-bottom: 1px solid var(--line); }
.visit__facts dt { font-family: var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); }
.visit__facts dd { margin: 0; font-size: 1.15rem; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .visit__facts > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- order CTA ---------- */
.cta { background: var(--red-band); padding-block: clamp(56px, 7vw, 80px); }
.cta__grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta__title { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(2.3rem, 5.6vw, 4.2rem); line-height: 1.05; text-transform: uppercase; }
.cta p { margin: 14px 0 0; font-size: 1.15rem; }
.cta__links { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.footer { background: var(--ink-deep); border-top: 1px solid var(--line); }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-block: 48px 28px; }
.brand--foot img { width: 88px; height: 88px; }
.footer__social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.footer__label { margin: 0; flex-basis: 100%; font-family: var(--f-display); letter-spacing: .14em; text-transform: uppercase; }
.textlink { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.footer__legal { padding-block: 18px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

/* ---------- legal page ---------- */
.legal { padding-block: 48px 72px; max-width: 760px; }
.legal h1 { margin: 10px 0 6px; }
.legal h2 { margin: 36px 0 8px; font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.legal p, .legal li { line-height: 1.7; }
.legal ul { padding-left: 1.2em; display: grid; gap: 8px; }
.legal code { background: var(--lacquer-2); padding: 1px 6px; border-radius: 4px; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
