/* =========================================================
   厝邊灶腳｜示範網站樣式
   想創行銷「店家專屬行銷網站」產業示範：餐廳（品牌虛構）
   色票：米白紙底／醬油深褐／磚紅／竹綠／淺木色
   ========================================================= */

:root {
  --paper: #F6EFE4;
  --paper-2: #EEE3D2;
  --card: #FBF7F0;
  --ink: #2A1D15;
  --ink-2: #4A3A2E;
  --muted: #6E5A4B;
  --night: #1F150F;
  --brick: #B0452A;
  --brick-deep: #8E3520;
  --brick-soft: #F3DCD2;
  --brick-light: #EBA582;
  --bamboo: #5C6B3C;
  --bamboo-deep: #46522B;
  --bamboo-soft: #E2E6D3;
  --wood: #E3D3BC;
  --wood-deep: #CDB89A;
  --on-dark: #EFE4D3;
  --on-dark-muted: #BFAE98;

  /* 標題：霞鶩文楷 TC 700（Google Fonts text= 子集，只含頁面用到的字）；內文：系統字，不下載網路字型 */
  --font-hand: "LXGW WenKai TC", "Kaiti TC", "BiauKai", "STKaiti", "DFKai-SB", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Noto Sans CJK TC", "Microsoft JhengHei", Roboto, system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(42, 29, 21, .06), 0 10px 28px rgba(42, 29, 21, .08);
  --shadow-lift: 0 2px 6px rgba(42, 29, 21, .08), 0 22px 44px rgba(42, 29, 21, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --top-h: 108px;               /* 示範細條＋導覽列的高度，main.js 會依實際高度更新 */
  --focus: #B0452A;
}

/* ---------- 基礎 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html:has(dialog[open]) { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* 紙張顆粒：只襯在米白底的區塊下方 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .22 0 0 0 0 .13 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
picture { display: contents; }
img { height: auto; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-hand);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .03em;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--brick-deep); text-underline-offset: .24em; text-decoration-thickness: 1px; }
a:hover { color: var(--brick); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.nb { display: inline-block; text-indent: 0; } /* inline-block 會繼承父層 text-indent，歸零 */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip-link {
  position: absolute;
  left: 12px; top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--paper); }

.icon { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: .7em 1.45em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 700 1rem/1.2 var(--font-sans);
  letter-spacing: .06em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.btn-primary { background: var(--brick); color: #fff; }
.btn-primary:hover { background: var(--brick-deep); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-light { border-color: rgba(246, 239, 228, .75); color: var(--paper); background: rgba(31, 21, 15, .18); }
.btn-ghost-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; color: var(--ink); }
.btn-green { background: var(--bamboo); color: #fff; }
.btn-green:hover { background: var(--bamboo-deep); color: #fff; }
.btn-sm { min-height: 44px; padding: .55em 1.15em; font-size: .95rem; }
.btn-lg { min-height: 54px; padding: .8em 1.75em; font-size: 1.05rem; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 44px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--brick-deep);
  text-decoration: none;
}
.link-arrow span { border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-light { color: #F4BE9C; }
.link-light:hover { color: #FFD9C0; }

/* ---------- 頂部：示範細條＋導覽 ---------- */
.site-top { position: sticky; top: 0; z-index: 50; }
.demo-bar {
  background: var(--night);
  color: #F1E6D6;
  font-size: .8125rem;
  line-height: 1.55;
  letter-spacing: .03em;
  --focus: #F2B48F;
}
.demo-short { display: none; }
.demo-bar .wrap { padding-block: 7px; text-align: center; }
.demo-bar p { margin: 0; }
.demo-bar strong { color: #fff; }
.demo-bar a {
  position: relative;
  margin-left: .6em;
  color: #F4BE9C;
  font-weight: 700;
  white-space: nowrap;
}
.demo-bar a::after { content: ""; position: absolute; inset: -12px -8px; } /* 放大點擊區到 44px 以上 */
.demo-bar a:hover { color: #FFD9C0; }

.site-header {
  position: relative;
  background: rgba(246, 239, 228, .95);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.is-scrolled .site-header { border-bottom-color: var(--wood); box-shadow: 0 8px 24px rgba(42, 29, 21, .07); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand-name {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: .1em;
  white-space: nowrap;
}
.brand-meta {
  display: flex;
  flex-direction: column;
  padding-left: 12px;
  border-left: 1px solid var(--wood-deep);
  font-size: .72rem;
  line-height: 1.4;
  letter-spacing: .06em;
  color: var(--muted);
}
.brand-roman { font-style: italic; letter-spacing: .04em; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { display: flex; gap: 2px; list-style: none; }
.site-nav a:not(.btn) {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--ink);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .08em;
  text-decoration: none;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 7px;
  height: 2px;
  border-radius: 2px;
  background: var(--brick);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .08em;
  white-space: nowrap;
  flex: none;
  cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 18px; height: 12px; }
.nav-toggle-bars::before,
.nav-toggle-bars::after,
.nav-toggle-bars span {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars span { top: 5px; }
.nav-toggle-bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span { opacity: 0; }

/* ---------- 共用排版 ---------- */
main { display: block; }
.section { padding-block: clamp(72px, 9vw, 128px); position: relative; }
.section-alt { background: var(--paper-2); }
.h2 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.2rem); line-height: 1.22; }
.h2-mark { position: relative; padding-bottom: 18px; }
.h2-mark::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 10'%3E%3Cpath d='M2 6c6-4 10-4 15 0s9 4 15 0 10-4 15 0 9 4 15 0' fill='none' stroke='%23B0452A' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
}
.on-dark .h2-mark::after,
.h2-mark.light::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 10'%3E%3Cpath d='M2 6c6-4 10-4 15 0s9 4 15 0 10-4 15 0 9 4 15 0' fill='none' stroke='%23EBA582' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-intro { margin: 0; font-size: 1.1rem; color: var(--muted); max-width: 36em; }
.fine { font-size: .85rem; color: var(--muted); letter-spacing: .04em; }
.on-dark { background: var(--ink); color: var(--on-dark); --focus: #F2B48F; }
.on-dark .h2, .on-dark h3 { color: var(--paper); }
.on-dark .fine { color: var(--on-dark-muted); }

/* ---------- 首頁：主視覺 ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(580px, calc(100svh - var(--top-h)), 880px);
  overflow: hidden;
  background: var(--night);
  color: var(--paper);
  --focus: #F2B48F;
}
.hero-media { position: absolute; inset: 0; z-index: -2; margin: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(24, 15, 9, .9) 0%, rgba(24, 15, 9, .7) 34%, rgba(24, 15, 9, .2) 66%, rgba(24, 15, 9, 0) 100%),
    linear-gradient(0deg, rgba(24, 15, 9, .6) 0%, rgba(24, 15, 9, 0) 42%);
}
.hero-inner { padding-block: 112px 136px; }
.hero-content { max-width: 820px; }
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .16em;
  color: #F6DCC6;
}
.hero-kicker::before { content: ""; width: 40px; height: 2px; flex: none; background: var(--brick-light); }
.hero-tagline {
  margin: 0 0 26px;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(2.5rem, 1.1rem + 4.7vw, 5.4rem);
  line-height: 1.2;
  letter-spacing: .04em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, .3);
}
.brush {
  padding-bottom: .12em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 18' preserveAspectRatio='none'%3E%3Cpath d='M4 12c44-6 96-8 150-7 50 1 96 4 142 0' fill='none' stroke='%23D9603F' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 100% / 100% .26em;
}
.hero-sub { max-width: 34em; margin-bottom: 34px; font-size: clamp(1rem, .92rem + .4vw, 1.2rem); color: #F1E6D6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-seal {
  position: absolute;
  top: 40px;
  right: var(--gutter);
  padding: 14px 10px;
  border-radius: 6px;
  background: var(--brick);
  color: var(--paper);
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(1.1rem, .8rem + .9vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
  transform: rotate(2deg);
}

/* 營業時間速覽 */
.hours-strip { position: relative; z-index: 3; margin-top: -52px; }
.hours-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding: 18px 28px;
  border: 1px solid var(--wood);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}
.hours-title { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; }
.hours-title .icon { color: var(--brick); width: 26px; height: 26px; }
.hours-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 .35em;
  min-height: 42px;
  padding: .5em 1.05em;
  border: 1px solid var(--wood);
  border-radius: 999px;
  background: var(--paper);
  font-size: .95rem;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.pill b { color: var(--brick-deep); }
.pill small { font-size: .86em; color: var(--muted); }
.pill-days { background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 700; }
.pill-off { border-style: dashed; border-color: var(--wood-deep); background: transparent; color: var(--muted); font-weight: 700; }

/* 招牌三道 */
.dish-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: clamp(20px, 3vw, 40px); list-style: none; }
.dish-cards > li:nth-child(2) { margin-top: 56px; }
.dish-card {
  height: auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.dish-card-media { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.dish-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dish-card-body { position: relative; padding: 26px 26px 30px; }
.dish-no {
  position: absolute;
  bottom: calc(100% + 14px); right: 22px;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--paper);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}
.dish-card-name { margin-bottom: 10px; font-size: 1.8rem; }
.dish-card p { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.95; }
@media (hover: hover) {
  .dish-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
  .dish-card:hover .dish-card-media img { transform: scale(1.04); }
}
.section-foot { margin-top: clamp(32px, 4vw, 52px); display: flex; justify-content: center; }

/* 店的故事（首頁） */
.story { overflow: hidden; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.story-media { position: relative; padding: 0 14% 14% 0; }
.story-photo { margin: 0; overflow: hidden; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-photo-main { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); }
.story-photo-sub {
  position: absolute;
  right: 0; bottom: 0;
  width: 36%;
  aspect-ratio: 2 / 3;
  border: 6px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 24px 44px rgba(0, 0, 0, .38);
}
.story-text .h2 { margin-bottom: 28px; }
.story-text p:not(.fine) { font-size: 1.06rem; line-height: 2.05; }
.story-text .fine { margin-bottom: 18px; }
.watermark {
  position: absolute;
  bottom: -.2em; right: -.04em;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(14rem, 32vw, 30rem);
  line-height: 1;
  color: rgba(246, 239, 228, .045);
  pointer-events: none;
  user-select: none;
}

/* 菜單入口 */
.menu-entry { padding-block: clamp(64px, 8vw, 112px); }
.menu-board {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px clamp(28px, 4vw, 56px);
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--card);
  box-shadow: inset 0 0 0 7px var(--card), inset 0 0 0 8px var(--wood-deep);
}
.menu-board .h2 { writing-mode: vertical-rl; font-size: clamp(2.6rem, 2rem + 2.6vw, 4.2rem); letter-spacing: .3em; line-height: 1; }
.menu-board p { margin: 0; font-size: 1.1rem; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; list-style: none; }
.cat-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--wood-deep);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: .95rem;
  text-decoration: none;
  transition: border-color .2s, color .2s, background-color .2s;
}
.cat-chips a:hover { border-color: var(--brick); color: var(--brick-deep); background: #fff; }

/* 怎麼訂位 */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); margin-bottom: 44px; list-style: none; }
.step {
  position: relative;
  height: 100%;
  padding: 24px 0 0;
  border-top: 2px solid var(--ink);
}
.step-no { display: block; margin-bottom: 14px; font-family: var(--font-hand); font-weight: 700; font-size: 3.4rem; line-height: 1; color: var(--brick); }
.step h3 { margin-bottom: 10px; font-size: 1.5rem; }
.step p { margin: 0; color: var(--ink-2); }
.booking-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* 常見問題 */
.faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--top-h) + 32px); }
.faq-item { border-bottom: 1px solid var(--wood-deep); }
.faq-item:first-child { border-top: 1px solid var(--wood-deep); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q" / "";
  align-self: flex-start;
  flex: none;
  width: 1.3em;
  font-family: var(--font-hand);
  font-size: 1.3rem;
  line-height: 1.728rem;
  color: var(--brick);
  transform: translateY(2px);
}
.faq-q { flex: 1; text-wrap: balance; } /* 問句不留單字孤行 */
.faq-icon { position: relative; flex: none; width: 34px; height: 34px; border: 1.5px solid var(--ink); border-radius: 50%; transition: background-color .25s, color .25s; }
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--ink); color: var(--paper); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item summary:hover .faq-q { color: var(--brick-deep); }
.faq-a { padding: 0 58px 26px calc(1.3em * 1.3 + 20px); color: var(--ink-2); }
.faq-a p { margin: 0; }

/* 收尾 CTA 帶 */
.cta-band {
  position: relative;
  overflow: hidden;
  background-color: var(--brick);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.08' stroke-width='1.5'%3E%3Ccircle cx='36' cy='36' r='9'/%3E%3Cpath d='M36 8c9 9 9 19 0 28-9-9-9-19 0-28zM36 64c9-9 9-19 0-28-9 9-9 19 0 28zM8 36c9-9 19-9 28 0-9 9-19 9-28 0zM64 36c-9-9-19-9-28 0 9 9 19 9 28 0z'/%3E%3C/g%3E%3C/svg%3E");
  color: #fff;
  --focus: #fff;
}
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding-block: clamp(56px, 7vw, 96px);
}
.cta-band .h2 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.cta-band .link-arrow { color: #fff; }
.cta-band .link-arrow:hover { color: #FFE6D8; }

/* ---------- 頁尾 ---------- */
.site-footer { padding-block: 72px 36px; background: var(--night); color: #D9CBB6; font-size: .92rem; --focus: #F2B48F; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px 64px; }
.footer-name { margin-bottom: 18px; font-family: var(--font-hand); font-weight: 700; font-size: 1.6rem; line-height: 1.4; color: var(--paper); }
.footer-name-sub { display: block; margin-top: 2px; font-family: var(--font-sans); font-size: 1rem; font-weight: 700; letter-spacing: .12em; color: var(--on-dark-muted); }
.footer-info { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 24px; }
.footer-info dt { font-weight: 700; color: var(--paper); }
.footer-info dd { margin: 0; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 18px; list-style: none; }
.footer-nav a, .footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: #F4BE9C; font-weight: 700; }
.footer-nav a { padding-right: 12px; }
.footer-nav a:hover, .footer-links a:hover { color: #FFD9C0; }
.footer-note { margin: 0 0 14px; line-height: 1.95; color: var(--on-dark-muted); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin: 0; }
.footer-links .sep { color: #7D6B58; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(246, 239, 228, .14);
  font-size: .82rem;
  color: #A8977F;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #F4BE9C; white-space: nowrap; }

/* ---------- 手機底部固定列 ---------- */
.mobile-bar { display: none; }

/* ---------- 示範說明視窗 ---------- */
.demo-dialog {
  width: 100%;
  max-width: min(540px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .38);
}
.demo-dialog::backdrop { background: rgba(24, 15, 9, .64); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.demo-dialog-inner { position: relative; padding: 40px 34px 22px; }
.dialog-x {
  position: absolute;
  top: 12px; right: 12px;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.dialog-x:hover { background: var(--paper-2); }
.dialog-x .icon { width: 22px; height: 22px; }
.seal {
  display: inline-grid;
  place-items: center;
  width: 58px; height: 58px;
  margin-bottom: 18px;
  border: 2.5px solid var(--brick);
  border-radius: 10px;
  color: var(--brick);
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: .08em;
  text-align: center;
  transform: rotate(-6deg);
}
.demo-dialog h2 { margin-bottom: 16px; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); line-height: 1.35; }
.demo-dialog h2:focus { outline: none; } /* 標題只是開啟時的焦點落點（tabindex=-1，非互動元件），不畫焦點框 */
.demo-dialog p { color: var(--ink-2); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 6px; }
.dialog-actions .btn { flex: 1 1 210px; }
.btn-text {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  border: 0;
  background: none;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .1em;
  cursor: pointer;
}
.btn-text:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .3em; }

/* ---------- 內頁共用 ---------- */
.page-hero { padding-block: clamp(28px, 4vw, 56px) clamp(48px, 6vw, 88px); }
.crumbs { display: flex; flex-wrap: wrap; margin-bottom: 18px; list-style: none; font-size: .88rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "›" / ""; margin: 0 .7em; color: var(--wood-deep); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.crumbs a:hover { color: var(--brick-deep); }
.h1 { margin-bottom: 26px; font-size: clamp(2.1rem, 1.35rem + 2.9vw, 3.6rem); line-height: 1.25; }
.lead { max-width: 32em; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.95; color: var(--ink-2); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero-media { margin: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-menu .page-hero-grid { align-items: start; }
.page-hero-menu .page-hero-media { aspect-ratio: 4 / 5; max-height: 640px; }

.price-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 0;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--brick-soft);
  color: #7E2D18;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.6;
}
.price-note .icon { color: var(--brick); }

/* ---------- 菜單頁 ---------- */
.legend-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding: 18px 24px;
  border: 1.5px dashed var(--wood-deep);
  border-radius: var(--radius);
}
.legend-title { font-family: var(--font-sans); font-size: .9rem; letter-spacing: .14em; color: var(--muted); }
.legend-list { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; }
.legend-list > div { display: flex; align-items: center; gap: 10px; }
.legend-list dt { flex: none; }
.legend-list dd { margin: 0; font-size: .92rem; color: var(--ink-2); line-height: 1.6; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; list-style: none; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  padding: .12em .72em;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .06em;
  white-space: nowrap;
}
.tag .icon { width: 1.05em; height: 1.05em; }
.tag-sig { background: var(--brick); color: #fff; }
.tag-spicy { background: var(--brick-soft); color: #8A3019; }
.tag-veg { background: var(--bamboo-soft); color: var(--bamboo-deep); }
.tag-pre { background: #EADFCB; color: #5A4636; }

.cat-nav {
  position: sticky;
  top: var(--top-h);
  z-index: 40;
  margin-top: 36px;
  border-block: 1px solid var(--wood);
  background: rgba(246, 239, 228, .96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.cat-nav-list {
  display: flex;
  gap: 6px;
  padding: 8px 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cat-nav-list::-webkit-scrollbar { display: none; }
.cat-nav-list li { flex: none; }
.cat-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .06em;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.cat-nav a:hover { background: var(--paper-2); color: var(--ink); }
.cat-nav a.is-active { background: var(--ink); color: var(--paper); }

.menu-cat { padding-block: clamp(52px, 6vw, 88px); border-bottom: 1px solid var(--wood); scroll-margin-top: calc(var(--top-h) + 60px); }
.menu-cat-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.menu-cat-head { position: sticky; top: calc(var(--top-h) + 96px); }
.menu-cat-title { display: flex; align-items: baseline; gap: 16px; }
.menu-cat-no { display: block; font-family: var(--font-hand); font-weight: 700; font-size: 1.05rem; letter-spacing: .24em; color: var(--brick); }
.menu-cat-head .h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.menu-cat-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.menu-cat-photos figure { margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; }
.menu-cat-photos img { width: 100%; height: 100%; object-fit: cover; }
.menu-list-head {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--muted);
}
.menu-list-head > div { display: flex; justify-content: space-between; }
.menu-list-head .dup { display: none; }
.menu-list { list-style: none; }
/* 招牌以外的分類：標題橫排在上，品項排成兩欄（像印刷菜單） */
.menu-cat:not(.menu-cat--feature) .menu-cat-grid { grid-template-columns: 1fr; gap: 22px; }
.menu-cat:not(.menu-cat--feature) .menu-cat-head { position: static; }
@media (min-width: 1024px) {
  .menu-cat:not(.menu-cat--feature) .menu-list,
  .menu-cat:not(.menu-cat--feature) .menu-list-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 72px; }
  .menu-cat:not(.menu-cat--feature) .menu-list-head .dup { display: flex; }
  /* 最後一列只有一道菜時不留半截底線：最後一列的品項不畫線，改由清單整條收邊 */
  .menu-cat:not(.menu-cat--feature) .menu-list { border-bottom: 1px solid var(--wood); }
  .menu-cat:not(.menu-cat--feature) .menu-item:last-child,
  .menu-cat:not(.menu-cat--feature) .menu-item:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}
.menu-item { padding: 18px 0 20px; border-bottom: 1px solid var(--wood); }
.menu-item-row { display: flex; align-items: baseline; gap: 12px; }
.menu-item-name { font-size: 1.42rem; line-height: 1.4; }
.menu-item-dots { flex: 1 1 auto; min-width: 24px; border-bottom: 2.5px dotted var(--wood-deep); transform: translateY(-.32em); }
.menu-item-price {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.42rem;
  line-height: 1.4;
  color: var(--brick-deep);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.menu-item-desc { margin: 4px 0 0; color: var(--ink-2); font-size: .98rem; line-height: 1.8; }
.menu-note { margin: 18px 0 0; font-size: .92rem; color: var(--muted); }

.combos-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.combos-media { position: sticky; top: calc(var(--top-h) + 96px); margin: 0; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.combos-media img { width: 100%; height: 100%; object-fit: cover; }
.combos-body .section-intro { margin-top: 20px; }
.combo-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 32px 0 22px; }
.combo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 26px;
  overflow: hidden;
  border: 1px solid var(--wood);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.combo-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--brick); }
.combo-card:nth-child(2)::before { background: var(--bamboo); }
.combo-title { font-size: 1.6rem; }
.combo-total { display: block; margin-top: 12px; font-family: var(--font-sans); font-size: .95rem; letter-spacing: .04em; color: var(--muted); }
.combo-total b { margin: 0 .12em; font-family: var(--font-hand); font-weight: 700; font-size: 2.7rem; line-height: 1; color: var(--brick); font-variant-numeric: tabular-nums; }
.combo-label { margin: 20px 0 8px; font-size: .85rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.combo-dishes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; list-style: none; }
.combo-dishes li { padding: .28em .85em; border: 1px solid var(--wood); border-radius: 999px; background: var(--paper); font-size: .9rem; line-height: 1.6; }
.combo-per { margin: auto 0 0; padding-top: 16px; border-top: 1.5px dashed var(--wood-deep); font-weight: 700; }
.combo-per b { font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.note { font-size: .92rem; color: var(--muted); }

/* ---------- 關於頁 ---------- */
.about-hero-media { margin: clamp(28px, 4vw, 48px) 0 0; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 21 / 9; box-shadow: var(--shadow-lift); }
.about-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.story-long-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.story-long-head { position: sticky; top: calc(var(--top-h) + 40px); }
.vertical-deco {
  margin-top: 36px;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(3rem, 2rem + 3vw, 5.4rem);
  line-height: 1;
  letter-spacing: .14em;
  writing-mode: vertical-rl;
  color: var(--wood);
  user-select: none;
}
.prose p { max-width: 36em; font-size: 1.06rem; line-height: 2.05; }
.prose .story-lead { text-indent: -.5em; font-family: var(--font-hand); font-weight: 700; font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.15rem); line-height: 1.6; color: var(--ink); margin-bottom: 1.1em; }
.prose .story-close { font-family: var(--font-hand); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); line-height: 1.7; color: var(--brick-deep); }

.kitchen-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.kitchen-media { margin: 0; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; }
.kitchen-media img { width: 100%; height: 100%; object-fit: cover; }
.points { display: grid; gap: 26px; margin-top: 36px; list-style: none; }
.point { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 18px; padding-bottom: 26px; border-bottom: 1px solid rgba(246, 239, 228, .14); }
.point:last-child { border-bottom: 0; padding-bottom: 0; }
.point-no { grid-row: span 2; font-family: var(--font-hand); font-weight: 700; font-size: 3.2rem; line-height: 1; color: var(--brick-light); }
.point h3 { font-size: 1.5rem; }
.point p { margin: 0; }

.seat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; }
.seat-card { height: 100%; padding: 24px 0 0; border-top: 1px solid var(--wood-deep); }
.seat-icon { width: 56px; height: 56px; margin-bottom: 18px; color: var(--brick); }
.seat-card h3 { margin-bottom: 8px; font-size: 1.4rem; }
.seat-card p { margin: 0; font-size: .96rem; color: var(--ink-2); }

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 22px;
  padding: 14px 20px;
  border-left: 4px solid var(--brick);
  border-radius: 0 12px 12px 0;
  background: var(--brick-soft);
  color: #7E2D18;
  font-weight: 700;
}
.notice .icon { margin-top: .3em; color: var(--brick); }
.address { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-bottom: clamp(28px, 4vw, 44px); font-size: 1.05rem; }
.address b { color: var(--muted); letter-spacing: .1em; }
.access-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.map-figure { margin: 0; padding: 14px; border: 1px solid var(--wood); border-radius: var(--radius-lg); background: var(--card); }
.map-figure figcaption { margin-top: 8px; font-size: .85rem; text-align: center; color: var(--muted); letter-spacing: .1em; }
.map-svg { width: 100%; height: auto; border-radius: 14px; }
.map-svg text { font-family: var(--font-hand); font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: #FBF5EA; stroke-width: 6px; stroke-linejoin: round; }
.map-svg .t-sm { font-size: 20px; }
.map-svg .t-md { font-size: 23px; }
.map-svg .t-brick { fill: var(--brick-deep); }
.map-svg .t-stamp { fill: var(--brick); stroke: none; font-size: 22px; letter-spacing: 3px; }
.transport { display: grid; gap: 16px; }
.transport-item { padding: 22px 24px; border: 1px solid var(--wood); border-radius: var(--radius); background: var(--card); }
.transport-item h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 1.28rem; }
.transport-item h3 .icon { width: 28px; height: 28px; color: var(--bamboo); }
.transport-item p { margin: 0; color: var(--ink-2); }

.hours-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.table-card { overflow: hidden; border: 1px solid var(--wood); border-radius: var(--radius-lg); background: var(--card); }
table.compact { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.compact th, table.compact td { padding: 14px 22px; border-bottom: 1px solid var(--wood); text-align: left; }
table.compact tbody tr:last-child th, table.compact tbody tr:last-child td { border-bottom: 0; }
table.compact thead th { background: var(--ink); color: var(--paper); font-size: .88rem; letter-spacing: .14em; }
table.compact tbody th { font-weight: 700; white-space: nowrap; }
table.compact td { white-space: nowrap; }
table.compact tr.is-closed td, table.compact tr.is-closed th { color: var(--muted); }
table.compact tr.is-today { background: var(--brick-soft); }
.today-badge { display: inline-block; margin-left: 8px; padding: 0 .6em; border-radius: 999px; background: var(--brick); color: #fff; font-size: .72rem; line-height: 1.75; vertical-align: 2px; }
.hours-note { margin: 16px 0 0; }

/* ---------- 動效（只有 html.motion 才啟用；沒有 JS 時內容完整可見） ---------- */
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.motion .hero-media img { animation: heroZoom .9s var(--ease) both; }
.motion .hero-content > * { animation: fadeUp .5s var(--ease) both; }
.motion .hero-content > :nth-child(2) { animation-delay: .1s; }
.motion .hero-content > :nth-child(3) { animation-delay: .2s; }
.motion .hero-content > :nth-child(4) { animation-delay: .3s; }
.motion [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .48s var(--ease), transform .48s var(--ease); transition-delay: var(--d, 0s); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }
.motion .demo-dialog[open] { animation: dialogIn .24s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .dish-card:hover, .dish-card:hover .dish-card-media img, .btn:hover { transform: none !important; }
}

/* ---------- 響應式 ---------- */
@media (max-width: 1023px) {
  .seat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-grid, .hours-grid, .story-long-grid { grid-template-columns: 1fr; }
  .faq-head, .story-long-head { position: static; }
  .vertical-deco { display: none; }
  .combo-cards { grid-template-columns: 1fr; }
}

@media (max-width: 859px) {
  .header-inner { min-height: 60px; flex-wrap: wrap; }
  .brand-name { font-size: 1.55rem; }
  /* 沒有 JS：導覽列直接換行顯示 */
  .site-nav { width: 100%; flex-wrap: wrap; gap: 8px 12px; padding-bottom: 10px; }
  .site-nav a:not(.btn) { padding: 0 10px; }
  /* 有 JS：收合成選單 */
  .nav-ready .header-inner { flex-wrap: nowrap; }
  .nav-ready .nav-toggle { display: inline-flex; }
  .nav-ready .site-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--gutter) 22px;
    border-bottom: 1px solid var(--wood);
    background: var(--paper);
    box-shadow: 0 22px 32px rgba(42, 29, 21, .14);
  }
  .nav-ready .site-nav.is-open { display: flex; }
  .nav-ready .site-nav ul { flex-direction: column; }
  .nav-ready .site-nav a:not(.btn) { display: flex; min-height: 54px; padding: 0 4px; border-bottom: 1px solid var(--wood); font-size: 1.1rem; }
  .nav-ready .site-nav a:not(.btn)::after { left: 4px; right: auto; width: 28px; bottom: 12px; }
  .nav-ready .site-nav .btn { margin-top: 16px; min-height: 50px; }
  .footer-actions { display: none; } /* 手機底部固定列已有同樣兩顆 */

  .story-grid, .page-hero-grid, .kitchen-grid, .access-grid, .combos-grid, .menu-cat-grid { grid-template-columns: 1fr; }
  .menu-cat-head, .combos-media { position: static; }
  .story-media { order: -1; }
  .page-hero-menu .page-hero-media { aspect-ratio: 16 / 9; } /* 手機另用 16:9 裁切，菜單更早出現 */
  .combos-media { aspect-ratio: 16 / 10; }
  .kitchen-media { aspect-ratio: 4 / 3; } /* 手機另用 4:3 橫裁（wok-land） */
  .menu-cat-photos { max-width: 520px; }

  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } /* 等於底部固定列高度，頁尾不被遮住 */
  .mobile-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--night);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, .2);
    --focus: #F2B48F;
  }
  .mobile-bar button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 56px;
    padding: 4px;
    border: 1px solid rgba(246, 239, 228, .2);
    border-radius: 12px;
    background: transparent;
    color: var(--paper);
    font: 700 .76rem/1.25 var(--font-sans);
    letter-spacing: .03em;
    cursor: pointer;
  }
  .mobile-bar button:first-child { border-color: var(--brick); background: var(--brick); }
  .mobile-bar .icon { width: 22px; height: 22px; }
}

@media (max-width: 719px) {
  .demo-bar { font-size: .78rem; }
  .demo-long { display: none; }
  .demo-short { display: inline; }
  .demo-bar .wrap { padding-block: 6px; }
  .brand-meta { font-size: .66rem; padding-left: 10px; }

  .hero { min-height: clamp(560px, calc(100svh - var(--top-h) - 76px), 740px); }
  .hero::before {
    background: linear-gradient(0deg, rgba(24, 15, 9, .94) 0%, rgba(24, 15, 9, .78) 44%, rgba(24, 15, 9, .22) 76%, rgba(24, 15, 9, .08) 100%);
  }
  .hero-media img { object-position: 50% 50%; } /* 手機另用直式裁切（hero-portrait），三杯中卷砂鍋在標題上方 */
  .hero-inner { padding-block: 96px 84px; }
  .hero-kicker { font-size: .9rem; letter-spacing: .12em; margin-bottom: 16px; text-shadow: 0 1px 12px rgba(0, 0, 0, .55); }
  .hero-kicker::before { width: 24px; }
  .hero-sub { margin-bottom: 26px; }
  .hero-actions .btn { flex: 1 1 140px; }
  .hero-seal { top: 20px; padding: 10px 7px; font-size: 1rem; }

  .hours-strip { margin-top: -36px; }
  .hours-card { flex-direction: column; align-items: stretch; gap: 12px; padding: 18px 18px 20px; }
  .hours-list { flex-direction: column; gap: 8px; }
  .pill { border-radius: 12px; }

  .dish-cards { grid-template-columns: 1fr; gap: 24px; }
  .dish-cards > li:nth-child(2) { margin-top: 0; }
  .dish-card-media { aspect-ratio: 4 / 3; }
  .dish-card-body { padding: 22px 20px 24px; }
  .dish-no { font-size: 3rem; }

  .story-media { padding: 0 18% 18% 0; }
  .story-photo-sub { width: 40%; border-width: 5px; }

  .menu-board { grid-template-columns: 1fr; text-align: left; }
  .menu-board .h2 { writing-mode: horizontal-tb; letter-spacing: .12em; }
  .menu-board .btn { justify-self: start; }

  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step { padding: 20px 0 4px; display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; }
  .step-no { grid-row: span 2; margin: 0; font-size: 2.8rem; }
  .booking-actions .btn { flex: 1 1 100%; }

  .faq-item summary { gap: 14px; font-size: 1.02rem; }
  .faq-a { padding: 0 8px 22px calc(1.3em * 1.3 + 14px); }

  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-actions .btn { flex: 1 1 100%; }

  .crumbs { margin-bottom: 8px; }
  .legend-box { padding: 16px 18px; }
  .legend-list { flex-direction: column; gap: 10px; }
  .legend-list > div { align-items: flex-start; }
  .cat-nav { margin-top: 28px; }
  .cat-nav .wrap { padding-inline: 0; }
  .cat-nav-list {
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent 100%);
  }
  .menu-item-name, .menu-item-price { font-size: 1.28rem; }

  .about-hero-media { aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .map-figure { padding: 8px; }
  .map-svg .t-sm { font-size: 24px; }
  .map-svg .t-md { font-size: 26px; }
  .seat-grid { grid-template-columns: 1fr; gap: 14px; }
  .seat-card { display: grid; grid-template-columns: 52px 1fr; gap: 2px 16px; padding: 20px 0 4px; }
  .seat-icon { grid-row: span 2; width: 48px; height: 48px; margin: 4px 0 0; }
  .point { grid-template-columns: 48px minmax(0, 1fr); }
  .point-no { font-size: 2.6rem; }
  table.compact th, table.compact td { padding: 12px 10px; }
  table.compact th:first-child, table.compact td:first-child { padding-left: 16px; }
  .demo-dialog-inner { padding: 34px 22px 16px; }
}

@media (max-width: 389px) {
  .brand-meta { display: none; }
  .hero-tagline { font-size: 2.15rem; }
}
