/* 方食府 — 視覺系統
   紙、墨、一抹紅。食物是唯一的主角；介面退到背景。 */
/* 只有彎引號（’‘“”）改用西文字型，其餘照舊；中文字型會把它畫成全形，「FANG’s」看起來像「FANG’ s」 */
@font-face { font-family: "Latin Quotes"; src: local("Georgia"), local("Times New Roman"), local("Noto Serif"), local("DejaVu Serif"); unicode-range: U+2018-2019, U+201C-201D; }
:root:not(:lang(zh)) { --serif: "Latin Quotes", "Noto Serif TC", "Songti TC", "PMingLiU", Georgia, serif; }
:root {
  --paper: #F6F1E8;
  --paper-2: #EEE6D8;
  --card: #FFFDF9;
  --ink: #1D1915;
  --ink-2: #5B5248;
  --ink-3: #8A8076;
  --line: #E0D5C4;
  --red: #C0281C;        /* 取自招牌「FANG's」的紅 */
  --red-deep: #9C1F15;
  --night: #16120F;
  --night-2: #2A231D;
  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", "Segoe UI", sans-serif;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgb(29 25 21 / .05), 0 8px 28px -12px rgb(29 25 21 / .18);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.65 var(--sans); letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.18; letter-spacing: -0.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3, .h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
figure { margin: 0; }
.zh { font-family: var(--serif); font-weight: 500; color: var(--ink-2); }
h2 .zh { display: block; font-size: .55em; letter-spacing: .12em; margin-top: .35em; color: var(--ink-3); }
.muted { color: var(--ink-3); }
.small { font-size: .85rem; }
.center { text-align: center; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }

.eyebrow { font: 600 .78rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; }
.eyebrow .zh { color: var(--ink-3); letter-spacing: .1em; margin-left: .5em; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; min-height: 48px; padding: 0 1.4em;
  border-radius: 999px; font: 600 .98rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); color: #fff; }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 1em; font-size: .9rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 1rem; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.header-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.wordmark { display: inline-flex; align-items: baseline; gap: .5em; text-decoration: none; white-space: nowrap; flex: none; }
.wm-zh { font: 700 1.45rem/1 var(--serif); letter-spacing: .04em; }
.wm-en { font: 700 1rem/1 var(--sans); color: var(--red); letter-spacing: .02em; }
.nav-desktop { display: flex; gap: 4px; margin-left: auto; }
.nav-desktop a { position: relative; padding: 8px 12px; border-radius: 999px; font-size: .95rem; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.nav-desktop a:hover { color: var(--ink); background: var(--paper-2); }
.nav-desktop a[aria-current="page"] { color: var(--ink); }
.nav-desktop a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--red); border-radius: 2px; }
.nav-zh { display: none; }
.header-call svg { width: 16px; height: 16px; }
.nav-mobile { display: none; margin-left: auto; }
.nav-mobile summary { list-style: none; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.nav-mobile[open] summary span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-mobile[open] summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav-mobile nav { position: absolute; left: 0; right: 0; top: 68px; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; display: grid; }
.nav-mobile nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font: 600 1.15rem/1.2 var(--serif); text-decoration: none; }
.nav-mobile .nav-zh { display: inline; font: 400 .85rem var(--serif); color: var(--ink-3); }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(28px, 5vw, 56px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
/* 中文版：中文字比英文寬，標題縮一點才不會留下單獨一兩個字 */
html[lang^="zh"] h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); letter-spacing: .02em; }
html[lang^="zh"] .hero h1 { word-break: keep-all; }
html[lang="zh-Hans"] { --serif: "Noto Serif SC", "Songti SC", "Noto Serif TC", serif; --sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
.hero-zh { font: 500 1.2rem/1.4 var(--serif); letter-spacing: .14em; color: var(--ink-2); margin-bottom: 1.4rem; }
.hero-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.open-status { display: inline-flex; align-items: center; gap: .55em; font-size: .92rem; font-weight: 500; color: var(--ink-2); margin: .2rem 0 0; }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.open-status[data-state="open"]::before { background: #2E8B57; box-shadow: 0 0 0 4px rgb(46 139 87 / .15); }
.open-status[data-state="closed"]::before { background: var(--red); }

/* ---------- Facts ---------- */
.facts { border-block: 1px solid var(--line); background: var(--card); }
.facts-row { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; gap: 24px; padding-block: 22px; font-size: .95rem; }
.facts-row > div { display: grid; gap: 4px; }
.fact-k { font: 600 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 112px) 0; }
.section-tight { padding-top: 16px; }
.section-soft { background: var(--paper-2); }
.section-ink { background: var(--night); color: #F3ECE1; }
.section-ink .eyebrow { color: #E9806F; }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.split-rev > :first-child { order: 0; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.6em; }
.ticks li::before { content: ""; position: absolute; left: .15em; top: .62em; width: .7em; height: .38em; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }

/* Dishes */
.dish-grid { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.dish-card a { display: block; text-decoration: none; color: inherit; }
.dish-img { overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.dish-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.dish-card a:hover img { transform: scale(1.035); }
.dish-meta { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding-top: 14px; }
.dish-meta h3 { margin: 0; font-size: 1.12rem; }
.dish-meta .zh { grid-column: 1; margin: .2em 0 0; font-size: .92rem; }
.dish-meta .price { grid-column: 2; grid-row: 1; margin: 0; font-weight: 600; }

/* Story teaser */
.story-teaser { text-align: center; }
.quote { font: 500 clamp(1.5rem, 3.4vw, 2.4rem)/1.35 var(--serif); letter-spacing: -0.01em; margin-bottom: .8em; text-wrap: balance; }
.quote-zh { font: 500 1.1rem/1.8 var(--serif); letter-spacing: .08em; opacity: .75; }
.section-ink .link-arrow { color: #fff; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font: 600 1.08rem/1.4 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 300 1.6rem/1 var(--sans); color: var(--ink-3); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 8px; }

/* Hours */
.hours { margin: 1.2rem 0 1rem; display: grid; gap: 0; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* ---------- Page heads ---------- */
.page-head { padding: clamp(40px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); }
.wide-media img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--r-lg); }

/* ---------- Menu ---------- */
.menu-nav { position: sticky; top: 68px; z-index: 10; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .9rem; font-weight: 500; text-decoration: none; }
.chips a:hover { border-color: var(--ink); color: var(--ink); }
.menu { padding-block: 24px 64px; }
.menu-section { padding-top: clamp(40px, 6vw, 64px); }
.menu-section > h2 { padding-bottom: 16px; border-bottom: 2px solid var(--ink); margin-bottom: 0; }
.menu-section > h2 .zh { display: inline; font-size: .6em; margin-left: .6em; letter-spacing: .1em; }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 56px); }
.menu-item { display: grid; grid-template-columns: 132px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }
.menu-item:target { background: linear-gradient(90deg, rgb(192 40 28 / .06), transparent); }
.mi-img img { width: 132px; height: 132px; object-fit: cover; border-radius: 12px; background: var(--paper-2); }
.mi-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mi-head h3 { margin: 0; font-size: 1.08rem; }
.code { font: 600 .72rem/1 var(--sans); letter-spacing: .06em; color: var(--ink-3); margin-right: .55em; vertical-align: .15em; }
.price { font: 600 1rem/1 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mi-zh { margin: .25em 0 .4em; font-size: .95rem; }
.mi-note { font-size: .88rem; color: var(--ink-2); margin: 0 0 .4em; }
.mi-desc { font-size: .92rem; color: var(--ink-2); margin: 0 0 .3em; }
.mi-more summary { cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--red); list-style: none; }
.mi-more summary::-webkit-details-marker { display: none; }
.mi-more summary::after { content: " +"; }
.mi-more[open] summary::after { content: " −"; }
.mi-more div { font-size: .9rem; color: var(--ink-2); padding-top: 8px; }
.mi-more p { margin-bottom: .6em; }

/* ---------- Prose / article ---------- */
.prose .pair { padding: 28px 0; border-bottom: 1px solid var(--line); }
.prose .pair p:first-child { font: 500 1.22rem/1.6 var(--serif); margin-bottom: .6em; }
.prose .pair .zh { display: block; font-size: 1.02rem; line-height: 1.9; letter-spacing: .03em; margin: 0; }
.prose .pair-close p:first-child { font-size: 1.5rem; }
/* 品牌故事（v0.6.0）：舊站的「一句中文、一句英文」對照，中文在上、英文在下 */
.verse .stanza { padding: 26px 0; border-bottom: 1px solid var(--line); }
.verse .vl { margin: 0 0 .85em; }
.verse .vl:last-child { margin-bottom: 0; }
.verse .v-zh { display: block; font: 500 1.16rem/1.75 var(--serif); letter-spacing: .06em; color: var(--ink); }
.verse .v-en { display: block; font: 400 .98rem/1.55 var(--sans); color: var(--ink-2); margin-top: .1em; }
.verse .stanza-close { border-bottom: 0; padding-bottom: 0; }
.verse .stanza-close .v-zh { font-size: 1.5rem; color: var(--red); }
.verse .stanza-close .v-en { font: italic 500 1.05rem/1.5 var(--serif); }
/* 品牌故事頁（v0.5.1）：舊站的方師傅手繪像＋四張店內照 */
.story-home { font: italic 500 1.08rem/1.6 var(--serif); color: var(--red); letter-spacing: .02em; margin-top: .6em; }
/* 品牌故事頁（v0.10.0）：一欄置中、照片穿插在段落之間；留白取代分隔線 */
.story-head { text-align: center; padding-bottom: clamp(36px, 6vw, 72px); }
.story-head .quote { max-width: 22em; margin-left: auto; margin-right: auto; }
.story-hero { margin: 0; }
.story-hero img { display: block; width: 100%; height: clamp(300px, 52vw, 680px); object-fit: cover; }
.story { padding: clamp(56px, 9vw, 120px) var(--gutter) clamp(64px, 10vw, 140px); }
.story-text { max-width: 34rem; margin: 0 auto; text-align: center; }
.story .verse, .story .stanza { border: 0; }
.story .stanza { padding: 0; margin: 0 0 clamp(40px, 6vw, 64px); }
.story .stanza:last-child { margin-bottom: 0; }
.story .vl { margin: 0 0 1.05em; }
.story .v-zh { font-size: 1.24rem; line-height: 1.8; letter-spacing: .08em; }
.story .v-en { font-size: 1rem; color: var(--ink-3); }
.story .pair { border: 0; padding: 0; margin: 0 0 clamp(40px, 6vw, 64px); }
/* 菲、宿是整段譯文：長段落置中難讀，靠左；只有一句一句的中英對照才置中 */
.story.is-pairs .story-text { text-align: left; }
.story.is-pairs .pair p:first-child { font-size: 1.12rem; }
.story.is-pairs .story-end { text-align: center; }
.story-fig { margin: clamp(56px, 8vw, 96px) auto; }
.story-fig img { display: block; width: 100%; height: auto; border-radius: 6px; }
.story-portrait { max-width: 380px; }
.story-portrait img { border-radius: 4px; box-shadow: 0 30px 60px -30px rgb(29 25 21 / .35); }
.story-wide { max-width: 960px; }
.story-pair { max-width: 960px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); align-items: start; }
.story-pair-item { margin: 0; }
.story-pair-item img { aspect-ratio: 4 / 5; object-fit: cover; }
.story-end { margin-top: clamp(72px, 10vw, 128px); }
.story .stanza-close .v-zh { font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: .12em; }
.story .stanza-close .v-en { margin-top: .6em; }
@media (max-width: 600px) {
  .story-pair { grid-template-columns: 1fr; }
  .story-pair-item img { aspect-ratio: auto; }
}
.article { padding-bottom: 80px; }
.article h2 { margin-top: 2.2em; font-size: 1.5rem; }
.article p { margin-bottom: .55em; }
.article p[lang] { font-family: var(--serif); color: var(--ink-2); }
.article figure { margin: 2rem 0; }
.article figure img { border-radius: var(--r); width: 100%; }
.bento-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 1.6rem; }
.bento-facts div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 4px; }
.bento-facts b { font: 700 1.35rem/1.1 var(--serif); }
.bento-facts span { font-size: .85rem; color: var(--ink-3); }
.link-list { padding-left: 1.1em; }
.bento-grid { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }
.bento-pic { margin: 0 0 12px; overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.bento-pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.bento-card h3 { font-size: 1.05rem; margin: 0; }
.bento-zh { margin: .2em 0 .4em; font-size: .9rem; }
.bento-lead { font-size: .9rem; color: var(--ink-2); margin: 0; }
.bento-rules { counter-reset: r; list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: 0; }
.bento-rules li { counter-increment: r; position: relative; padding: 14px 0 14px 2.6em; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.bento-rules li::before { content: counter(r); position: absolute; left: 0; top: 13px; width: 1.75em; height: 1.75em; border-radius: 50%; background: var(--ink); color: var(--paper); font: 600 .8rem/1.75em var(--sans); text-align: center; }
.bento-rules .zh { font-size: .9rem; color: var(--ink-3); }
.full-original, .more-photos { border-top: 1px solid var(--line); }
.full-original > summary, .more-photos > summary { cursor: pointer; list-style: none; padding: 20px 0; font: 600 1.02rem/1.4 var(--sans); color: var(--red); text-align: center; }
.full-original > summary::-webkit-details-marker, .more-photos > summary::-webkit-details-marker { display: none; }
.full-original > summary::after, .more-photos > summary::after { content: " +"; }
.full-original[open] > summary::after, .more-photos[open] > summary::after { content: " −"; }
.full-original .article { padding-bottom: 0; }
.section-more { padding: 32px 0 72px; }
.link-list li { margin-bottom: .5em; }

.notice { margin-top: 1.4rem; padding: 14px 18px; border-left: 3px solid var(--red); background: var(--card); border-radius: 0 var(--r) var(--r) 0; font-size: .95rem; color: var(--ink-2); }
.notice span { font-family: var(--serif); }

/* ---------- Gallery / map ---------- */
.gallery { columns: 4 220px; column-gap: 14px; }
.wrap > .gallery:first-child { padding-bottom: 8px; }
.more-photos { margin-bottom: 80px; }
.more-photos .gallery { padding-top: 8px; }
.gallery figure { break-inside: avoid; margin-bottom: 14px; }
.gallery img { width: 100%; border-radius: 10px; }
.map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--r-lg); background: var(--paper-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #CFC5B8; padding: 64px 0 24px; font-size: .95rem; }
.site-footer a { color: #F3ECE1; }
.site-footer .muted { color: #8E8478; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.wordmark-footer .wm-zh { color: #F3ECE1; }
.footer-h { font: 600 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #8E8478; margin-bottom: 1rem; }
.footer-links { display: grid; gap: .4rem; }
.footer-links a { text-decoration: none; }
.footer-base { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--night-2); font-size: .82rem; }


/* ---------- Languages ---------- */
.lang-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; font: 600 .72rem/1 var(--sans); letter-spacing: .06em; }
.lang-switch a { padding: 7px 9px; border-radius: 999px; text-decoration: none; color: var(--ink-3); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.mt-notice { background: var(--paper-2); border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--ink-2); padding: 8px 0; }
.mt-notice a { font-weight: 600; }
.footer-langs { margin-top: 1.2rem; }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }

@media (max-width: 960px) {
  .nav-desktop, .header-call { display: none; }
  .nav-mobile { display: block; margin-left: 8px; }
  .lang-switch { margin-left: auto; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .split-rev > :first-child { order: 1; }
  .dish-grid { grid-template-columns: 1fr 1fr; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .menu-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .facts-row { grid-template-columns: 1fr; gap: 14px; }
  .dish-grid { grid-template-columns: 1fr; }
  .menu-item { grid-template-columns: 96px 1fr; gap: 14px; }
  .mi-img img { width: 96px; height: 96px; }
  .bento-facts { grid-template-columns: 1fr 1fr; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery figure { margin-bottom: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-row { gap: 10px; }
  .wm-zh { font-size: 1.3rem; }
  .lang-switch a { padding: 6px 7px; }
}
@media (max-width: 420px) {
  /* 五種語言的切換鈕＋選單鈕要擠得進 360px 手機：英文字標先收起來（中文「方食府」保留） */
  .wordmark .wm-en { display: none; }
  .header-row { gap: 6px; }
  .lang-switch a { padding: 6px 6px; }
  .action-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  }
  .action-bar a { display: grid; justify-items: center; gap: 2px; padding: 6px 0; font-size: .74rem; font-weight: 600; text-decoration: none; color: var(--ink); }
  .action-bar svg { width: 22px; height: 22px; fill: currentColor; }
  .action-bar a:first-child { color: var(--red); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* 首頁補回的舊站圖片（v0.7.0） */
.poster-grid { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; gap: clamp(12px, 2vw, 20px); align-items: start; }
.poster-grid img { width: 100%; height: auto; border-radius: var(--r); box-shadow: var(--shadow); }
.poster-5 { grid-template-columns: repeat(5, 1fr); }
/* 一張橫式＋兩張直式：欄寬照比例分，三張一樣高 */
.poster-new { grid-template-columns: 1.5fr .667fr .665fr; margin-bottom: 0; }
.section-glow { background-size: cover; background-position: center 80%; }
.split-media.letter img { aspect-ratio: 802 / 1200; object-fit: contain; max-width: 480px; margin: 0 auto; display: block; }
.news-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px); align-items: start; }
.news-card { background: var(--card); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.news-card > a { display: block; color: inherit; text-decoration: none; }
.news-card h3 { font-size: 1.1rem; margin: 16px 20px 18px; }
.news-card > a:hover h3 { color: var(--red); }
.news-img img { display: block; width: 100%; height: auto; }
.news-img-dark { background: #2A1408; display: flex; justify-content: center; align-items: center; aspect-ratio: 3 / 2; padding: 16px; }
.news-img-dark img { width: auto; height: 100%; }
.news-article { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; }
.news-article .news-body { padding: 8px 12px 12px; }
.news-article p { font-size: .95rem; color: var(--ink-2); margin: 0 20px 14px; }
@media (max-width: 900px) {
  .poster-5 { grid-template-columns: repeat(2, 1fr); }
  .poster-5 > li:last-child { grid-column: span 2; }
  .news-grid, .news-article { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .poster-new { grid-template-columns: 1fr 1fr; }
  .poster-new > li:first-child { grid-column: span 2; }
}

/* 照片放大（v0.9.0） */
.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; }
.zoom { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; font: inherit; color: inherit; cursor: zoom-in; border-radius: inherit; }
.mi-img .zoom { width: auto; }
.zoom:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.zoom-dialog { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; overflow: visible; cursor: zoom-out; }
.zoom-dialog::backdrop { background: rgb(10 8 6 / .88); }
.zoom-dialog img { display: block; width: auto; height: auto; max-width: min(96vw, 1200px); max-height: 84vh; margin: 0 auto; border-radius: 10px; box-shadow: 0 20px 60px rgb(0 0 0 / .5); }
.zoom-cap { color: #EDE5D9; text-align: center; font-size: .92rem; line-height: 1.5; max-width: 60ch; margin: 12px auto 0; padding: 0 16px; }
.zoom-close { position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .16); color: #fff; font-size: 28px; line-height: 44px; cursor: pointer; }
.zoom-close:hover, .zoom-close:focus-visible { background: rgb(255 255 255 / .3); }
