/* ============================================================
   漁火酒吧 YUHUO BAR — 頭城・燒烤・調酒・庭園
   夜色炭火視覺:近黑底 + 餘燼橘 + 暖金 + 米白
   ============================================================ */

:root {
  --ink: #0c0a07;          /* 全站底色:炭黑 */
  --coal: #15110a;         /* 區塊底 */
  --panel: #1d1710;        /* 卡片底 */
  --panel-2: #241c12;
  --line: #33291a;         /* 邊線 */
  --ember: #ff9d45;        /* 餘燼橘(主色) */
  --flame: #f07b3f;        /* 火焰橘紅 */
  --gold: #e8c17a;         /* 暖金 */
  --cream: #f3e7d0;        /* 米白(主文字) */
  --dim: #a08a67;          /* 次要文字 */
  --faint: #6f5f47;
  --header-h: 72px;
  --font-display: 'LXGW WenKai TC', 'Noto Serif TC', serif;
  --font-body: 'Noto Sans TC', 'PingFang TC', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
/* overflow-x:hidden 是 sticky 殺手 → 用 clip */
html, body { overflow-x: clip; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .02em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { width: min(1120px, 92%); margin-inline: auto; }

::selection { background: var(--flame); color: var(--ink); }

/* ---------- 法規警語(頂部細條) ---------- */
.law-strip {
  background: #000;
  color: var(--dim);
  text-align: center;
  font-size: 12px;
  letter-spacing: .25em;
  padding: 6px 10px;
  border-bottom: 1px solid var(--line);
}
.law-strip strong { color: var(--gold); font-weight: 500; }

/* ---------- Header(sticky 鐵律) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(12, 10, 7, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 193, 122, .14);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}
.brand .zh {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  background: linear-gradient(160deg, #f6d9a0 10%, var(--ember) 55%, #c96a2e 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px rgba(255, 157, 69, .25);
  white-space: nowrap;
}
.brand .en {
  font-size: 11px;
  letter-spacing: .38em;
  color: var(--dim);
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  letter-spacing: .12em;
  color: var(--cream);
  border-radius: 6px;
  transition: color .25s, background .25s;
}
.main-nav a:hover { color: var(--ember); background: rgba(255, 157, 69, .07); }
.main-nav a.active { color: var(--ember); }
.main-nav a.active::after {
  content: '';
  display: block;
  margin: 2px auto 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
}
.main-nav .nav-cta a {
  border: 1px solid rgba(255, 157, 69, .45);
  color: var(--ember);
}
.main-nav .nav-cta a:hover { background: var(--ember); color: var(--ink); }

/* 漢堡 */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.nav-open { overflow: hidden; }   /* 選單開啟鎖捲軸 */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92svh, 860px);
  display: grid;
  place-items: center;
  text-align: center;
  isolation: isolate;
  overflow: clip;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-size: cover;
  background-position: center 65%;
}
.hero::before {          /* 暗角 + 底部融入 */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(12,10,7,.08) 0%, rgba(12,10,7,.62) 78%),
    linear-gradient(to bottom, rgba(12,10,7,.55) 0%, rgba(12,10,7,.15) 28%, rgba(12,10,7,.2) 62%, var(--ink) 98%);
}
#embers {                 /* 餘燼粒子 canvas */
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-inner { padding: 120px 20px 140px; }

.hero-kicker {
  font-size: 14px;
  letter-spacing: .55em;
  text-indent: .55em;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(78px, 16vw, 168px);
  font-weight: 700;
  line-height: 1.05;
  background: linear-gradient(175deg, #fdeecb 5%, #f6c176 40%, var(--ember) 68%, #d4692a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 30px rgba(240, 123, 63, .35));
  animation: fireGlow 4.5s ease-in-out infinite;
}
@keyframes fireGlow {
  0%, 100% { filter: drop-shadow(0 6px 26px rgba(240,123,63,.30)); }
  50%      { filter: drop-shadow(0 6px 40px rgba(255,157,69,.55)); }
}
.hero-sub {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(19px, 3.4vw, 28px);
  color: var(--cream);
  letter-spacing: .3em;
  text-indent: .3em;
}
.hero-en {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: .5em;
  text-indent: .5em;
  color: var(--dim);
  text-transform: uppercase;
}
.hero-tags {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 8px;
}
.hero-tags span {
  border: 1px solid rgba(243, 231, 208, .28);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 14px;
  letter-spacing: .15em;
  color: var(--cream);
  background: rgba(12, 10, 7, .35);
  backdrop-filter: blur(4px);
}
.hero-cta {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 999px;
  font-size: 16px;
  letter-spacing: .2em;
  text-indent: .2em;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.btn-fire {
  background: linear-gradient(140deg, var(--ember), var(--flame));
  color: #1a0f05;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(240, 123, 63, .35);
}
.btn-fire:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(255, 157, 69, .5); }
.btn-ghost {
  border: 1px solid rgba(243, 231, 208, .4);
  color: var(--cream);
  background: rgba(12, 10, 7, .3);
}
.btn-ghost:hover { border-color: var(--ember); color: var(--ember); }

/* 捲動提示 */
.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--dim);
  font-size: 11px;
  letter-spacing: .4em;
  text-indent: .4em;
  animation: cueFloat 2.2s ease-in-out infinite;
}
@keyframes cueFloat {
  0%, 100% { transform: translate(-50%, 0); opacity: .55; }
  50%      { transform: translate(-50%, 8px); opacity: 1; }
}

/* 燈串(SVG 掛在 hero 頂) */
.string-lights {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}
.string-lights .bulb { animation: bulbFlicker 3.8s ease-in-out infinite; }
.string-lights .bulb:nth-child(3n)  { animation-delay: .9s; }
.string-lights .bulb:nth-child(4n)  { animation-delay: 1.7s; }
.string-lights .bulb:nth-child(5n)  { animation-delay: 2.6s; }
@keyframes bulbFlicker {
  0%, 100% { opacity: .75; }
  50%      { opacity: 1; }
  72%      { opacity: .6; }
}

/* ---------- 跑馬燈 ---------- */
.ticker {
  border-block: 1px solid var(--line);
  background: var(--coal);
  overflow: clip;
  padding: 14px 0;
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: tick 36s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker-track span {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .2em;
  color: var(--dim);
  padding-inline: 18px;
  white-space: nowrap;
}
.ticker-track span::after {
  content: '🔥';
  margin-left: 32px;
  font-size: 13px;
  opacity: .8;
}

/* ---------- 區塊通用 ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-coal { background: var(--coal); border-block: 1px solid var(--line); }

.sec-head { margin-bottom: 48px; }
.sec-head.center { text-align: center; }
.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .4em;
  color: var(--ember);
  margin-bottom: 14px;
}
.sec-eyebrow::before, .sec-head.center .sec-eyebrow::after {
  content: '';
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ember));
}
.sec-head.center .sec-eyebrow::after { background: linear-gradient(90deg, var(--ember), transparent); }
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.3;
}
.sec-title em {
  font-style: normal;
  background: linear-gradient(160deg, var(--gold), var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sec-desc { margin-top: 14px; color: var(--dim); max-width: 640px; }
.sec-head.center .sec-desc { margin-inline: auto; }

/* 進場動畫 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 最新消息 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 157, 69, .5);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
}
.news-meta { display: flex; align-items: center; gap: 12px; }
.news-date {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 15px;
  letter-spacing: .08em;
}
.news-tag {
  font-size: 12px;
  letter-spacing: .18em;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 157, 69, .5);
  color: var(--ember);
}
.news-tag.tag-notice { border-color: rgba(232, 193, 122, .45); color: var(--gold); }
.news-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--cream);
  line-height: 1.45;
}
.news-card p { font-size: 14.5px; color: var(--dim); }
.news-more { margin-top: auto; font-size: 13px; letter-spacing: .2em; color: var(--ember); }

/* 消息列表頁 */
.news-list { display: flex; flex-direction: column; gap: 20px; max-width: 820px; margin-inline: auto; }
.news-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ember);
  border-radius: 12px;
  padding: 28px 30px;
}
.news-item h3 { font-family: var(--font-display); font-size: 22px; margin: 10px 0 8px; }
.news-item .body { color: var(--dim); font-size: 15px; }
.news-item .body strong { color: var(--gold); font-weight: 500; }

/* ---------- 四大招牌 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  position: relative;
  border-radius: 16px;
  overflow: clip;
  border: 1px solid var(--line);
  background: var(--panel);
  min-width: 0;
  aspect-ratio: 3 / 4.1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  transition: transform .35s, border-color .35s;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(255, 157, 69, .55); }
.feature-card .bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}
.feature-card:hover .bg { transform: scale(1.06); }
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(12,10,7,.94) 8%, rgba(12,10,7,.45) 45%, rgba(12,10,7,.12) 75%);
}
.feature-body { padding: 22px 22px 24px; }
.feature-body .no {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--ember);
}
.feature-body h3 {
  font-family: var(--font-display);
  font-size: 25px;
  color: var(--cream);
  margin: 6px 0 8px;
}
.feature-body p { font-size: 13.5px; color: rgba(243, 231, 208, .82); }

/* ---------- 自己烤三步驟 ---------- */
.diy {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.diy-photo {
  border-radius: 18px;
  overflow: clip;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
}
.steps { display: flex; flex-direction: column; gap: 26px; margin-top: 34px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-no {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  background: radial-gradient(circle at 35% 30%, #ffd9a0, var(--ember) 55%, #b85c22);
  box-shadow: 0 0 24px rgba(255, 157, 69, .4), inset 0 -3px 8px rgba(120, 50, 10, .55);
}
.step h4 { font-family: var(--font-display); font-size: 20px; color: var(--gold); margin-bottom: 4px; }
.step p { font-size: 14.5px; color: var(--dim); }

/* ---------- 空間 ---------- */
.space-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.space-card {
  position: relative;
  border-radius: 16px;
  overflow: clip;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  min-width: 0;
  isolation: isolate;
}
.space-card img, .space-card .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.space-card:hover img { transform: scale(1.05); }
.space-card figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 34px 18px 14px;
  background: linear-gradient(to top, rgba(12,10,7,.92), transparent);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: .1em;
  color: var(--cream);
}
.space-card figcaption small { display: block; font-size: 12px; color: var(--dim); letter-spacing: .05em; }

/* 空間頁交錯大圖 */
.zone {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 54px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px dashed var(--line);
}
.zone:last-of-type { border-bottom: none; }
.zone:nth-of-type(even) .zone-photo { order: 2; }
.zone-photo {
  border-radius: 18px;
  overflow: clip;
  border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .5);
  min-width: 0;
}
.zone-body .sec-eyebrow { margin-bottom: 8px; }
.zone-body h3 { font-family: var(--font-display); font-size: 30px; color: var(--cream); margin-bottom: 14px; }
.zone-body p { color: var(--dim); font-size: 15px; margin-bottom: 10px; }
.zone-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.zone-facts span {
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--gold);
  border: 1px solid rgba(232, 193, 122, .35);
  border-radius: 999px;
  padding: 4px 14px;
}

/* ---------- 菜單 ---------- */
.menu-hero {
  position: relative;
  padding: 130px 0 70px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(240, 123, 63, .16), transparent 62%),
    var(--coal);
  border-bottom: 1px solid var(--line);
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 700;
  background: linear-gradient(170deg, #fdeecb, var(--ember) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero-sub { color: var(--dim); letter-spacing: .3em; text-indent: .3em; margin-top: 10px; font-size: 14px; }

.menu-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 60;
  background: rgba(12, 10, 7, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.menu-nav ul {
  display: flex;
  gap: 4px;
  width: max-content;
  margin-inline: auto;
  padding: 10px 16px;
}
.menu-nav a {
  display: block;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  letter-spacing: .15em;
  color: var(--dim);
  white-space: nowrap;
  transition: color .25s, background .25s;
}
.menu-nav a:hover { color: var(--ember); background: rgba(255, 157, 69, .08); }

.menu-section { padding: 72px 0 20px; }
.menu-cat-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 8px; flex-wrap: wrap; }
.menu-cat-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 38px);
  color: var(--cream);
}
.menu-cat-head .en { font-size: 12px; letter-spacing: .35em; color: var(--faint); text-transform: uppercase; }
.menu-cat-note { color: var(--dim); font-size: 14px; margin-bottom: 34px; }
.menu-cat-note strong { color: var(--ember); font-weight: 500; }

.dish-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}
.dish {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: clip;
  min-width: 0;
  transition: transform .3s, border-color .3s;
  display: flex;
  flex-direction: column;
}
.dish:hover { transform: translateY(-4px); border-color: rgba(255, 157, 69, .45); }
.dish-photo { aspect-ratio: 1 / 1; overflow: clip; position: relative; }
.dish-photo img { width: 100%; height: 100%; object-fit: cover; }
.dish-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.dish-name {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--cream);
}
.dish-name .price { color: var(--ember); font-size: 17px; white-space: nowrap; }
.dish-desc { font-size: 13px; color: var(--dim); }
.dish-badges { margin-top: auto; padding-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  font-size: 11px;
  letter-spacing: .12em;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 157, 69, .5);
  color: var(--ember);
}
.badge.hot { border-color: rgba(224, 82, 60, .6); color: #ff7a5c; }
.badge.rec { background: linear-gradient(140deg, var(--ember), var(--flame)); border: none; color: #1a0f05; font-weight: 700; }

/* 純文字酒單列(調酒/啤酒) */
.drink-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 44px; margin-bottom: 40px; }
.drink {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 18px;
  padding: 16px 4px;
  border-bottom: 1px dashed var(--line);
  min-width: 0;
}
.drink-name { font-family: var(--font-display); font-size: 19px; color: var(--cream); }
.drink-name small { display: block; font-size: 11.5px; letter-spacing: .18em; color: var(--faint); text-transform: uppercase; margin-top: 2px; }
.drink-price { font-family: var(--font-display); color: var(--ember); font-size: 18px; align-self: start; }
.drink-desc { grid-column: 1 / -1; font-size: 13px; color: var(--dim); }

/* ---------- 空圖佔位格(AI 生圖用) ---------- */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  background:
    repeating-linear-gradient(-45deg, rgba(232,193,122,.045) 0 10px, transparent 10px 20px),
    radial-gradient(circle at 50% 45%, #241c12, #15110a 80%);
  border: 1px dashed rgba(232, 193, 122, .3);
  color: var(--faint);
  padding: 18px 12px;
}
.dish-photo .ph, .space-card .ph { border: none; border-bottom: 1px dashed rgba(232,193,122,.2); }
.ph .flame { font-size: 26px; filter: grayscale(35%) brightness(.9); opacity: .8; }
.ph .label { font-size: 13px; letter-spacing: .15em; color: var(--dim); }
.ph .file {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 10.5px;
  color: var(--faint);
  word-break: break-all;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, .35);
}
.ph-block { position: relative; border-radius: 18px; overflow: clip; aspect-ratio: 16 / 10; }
.ph-tall { aspect-ratio: 3 / 4; }
.ph-block .ph { position: absolute; inset: 0; }

/* 佔位格塞進各種容器時的定位 */
.dish-photo { position: relative; }
.dish-photo .ph { position: absolute; inset: 0; }
.feature-card img.bg { width: 100%; height: 100%; object-fit: cover; }
.feature-card .ph { position: absolute; inset: 0; z-index: -2; }
.zone-photo img, .diy-photo img { width: 100%; }

/* ---------- 露天電影 / 活動帶 ---------- */
.event-band {
  position: relative;
  padding: 110px 0;
  text-align: center;
  isolation: isolate;
  overflow: clip;
  border-block: 1px solid var(--line);
}
.event-band .band-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center 30%;
  filter: brightness(.9);
}
.event-band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(12, 10, 7, .72);
}
.event-band h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5.5vw, 48px);
  color: var(--cream);
}
.event-band h2 em {
  font-style: normal;
  background: linear-gradient(160deg, var(--gold), var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.event-band p { color: rgba(243, 231, 208, .85); max-width: 560px; margin: 16px auto 0; }

/* ---------- 找到我們 ---------- */
.visit-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: stretch;
}
.visit-info { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-ico {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 19px;
  background: rgba(255, 157, 69, .1);
  border: 1px solid rgba(255, 157, 69, .3);
}
.info-row h4 { font-size: 13px; letter-spacing: .25em; color: var(--ember); margin-bottom: 3px; }
.info-row p { color: var(--cream); font-size: 15.5px; }
.info-row small { color: var(--faint); font-size: 12.5px; display: block; margin-top: 2px; }
.map-frame {
  border-radius: 18px;
  overflow: clip;
  border: 1px solid var(--line);
  min-height: 380px;
  filter: grayscale(30%) contrast(1.05) brightness(.9);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- 警語(footer 前,粗體版) ---------- */
.law-band {
  background: #000;
  border-block: 1px solid var(--line);
  padding: 18px 16px;
  text-align: center;
}
.law-band p {
  font-family: var(--font-display);
  font-size: clamp(15px, 2.8vw, 20px);
  letter-spacing: .3em;
  text-indent: .3em;
  color: var(--gold);
}
.law-band small { display: block; margin-top: 4px; font-size: 12px; color: var(--faint); letter-spacing: .15em; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--coal);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 54px;
}
.footer-brand img {
  width: 148px;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(255, 157, 69, .18);
  margin-bottom: 18px;
}
.footer-brand p { color: var(--dim); font-size: 14px; max-width: 300px; }
.footer-col h4 {
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--ember);
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--dim); font-size: 14.5px; transition: color .25s; }
.footer-col a:hover { color: var(--ember); }
.footer-col p { color: var(--dim); font-size: 14.5px; margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--faint);
  font-size: 12.5px;
  letter-spacing: .06em;
}

/* ---------- 404 ---------- */
.page-404 {
  min-height: 70svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 20px;
}
.page-404 .big {
  font-family: var(--font-display);
  font-size: clamp(90px, 20vw, 180px);
  background: linear-gradient(175deg, #fdeecb, var(--ember) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.page-404 h1 { font-family: var(--font-display); font-size: 26px; margin: 14px 0 10px; }
.page-404 p { color: var(--dim); margin-bottom: 30px; }

/* ============================================================
   RWD — 斷點 900px(與 js/main.js 的 MQ 同數字,改要一起改)
   ============================================================ */
@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .brand .zh { font-size: 25px; }
  .brand .en { display: none; }

  .nav-toggle { display: flex; }
  /* ⚠️ header 有 backdrop-filter,子元素 fixed 會被改成相對 header
     → 用 absolute 掛在 sticky header 下緣,高度自己算 */
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100svh - var(--header-h));
    width: min(320px, 84vw);
    background: rgba(14, 11, 7, .97);
    backdrop-filter: blur(18px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .35s ease;
    padding: 28px 22px;
    overflow-y: auto;
  }
  .main-nav.open { transform: none; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 15px 14px; font-size: 17px; border-radius: 10px; }
  .main-nav .nav-cta { margin-top: 14px; }
  .main-nav .nav-cta a { text-align: center; }

  .section { padding: 64px 0; }
  .news-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card { aspect-ratio: 3 / 3.6; }

  .diy { grid-template-columns: 1fr; gap: 34px; }
  .space-grid { grid-template-columns: 1fr 1fr; }

  .zone { grid-template-columns: 1fr; gap: 26px; padding: 44px 0; }
  .zone:nth-of-type(even) .zone-photo { order: 0; }

  .dish-grid { grid-template-columns: 1fr 1fr; }
  .drink-list { grid-template-columns: 1fr; }

  .visit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 480px) {
  .space-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 90px 14px 120px; }
  .hero-tags span { font-size: 12.5px; padding: 5px 13px; }
  .btn { padding: 13px 28px; font-size: 15px; }
  .dish-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dish-body { padding: 10px 11px 12px; }
  .dish-name { font-size: 15.5px; }
  .dish-name .price { font-size: 14.5px; }
  .dish-desc { font-size: 12px; }
}

/* 減少動態偏好 */
@media (prefers-reduced-motion: reduce) {
  .hero-title, .string-lights .bulb, .scroll-cue { animation: none; }
  .ticker-track { animation: none; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   加料:火塘求籤 / 營業狀態 / 烤功小抄
   ============================================================ */

/* ---------- 營業狀態(JS 填內容) ---------- */
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: .18em;
  border: 1px solid rgba(232, 193, 122, .4);
  background: rgba(12, 10, 7, .55);
  backdrop-filter: blur(6px);
  color: var(--cream);
}
.open-badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7a6a50;
}
.open-badge.is-open .dot {
  background: var(--ember);
  box-shadow: 0 0 12px var(--ember);
  animation: dotPulse 1.6s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.35); opacity: .7; }
}

/* ---------- 火塘求籤 ---------- */
.fortune-sec {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(ellipse at 50% 110%, rgba(240, 123, 63, .18), transparent 60%),
    linear-gradient(rgba(12, 10, 7, .82), rgba(12, 10, 7, .9)),
    url('../images/fortune-firepit.jpg') center / cover no-repeat,
    var(--coal);
  border-block: 1px solid var(--line);
}
.fortune-stage {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
  max-width: 880px;
  margin-inline: auto;
}

/* 籤筒 */
.qiantong {
  position: relative;
  width: 150px;
  height: 190px;
  margin-inline: auto;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transform-origin: 50% 90%;
}
.qiantong:hover { filter: brightness(1.12); }
.qiantong.shaking { animation: qtShake .7s ease-in-out; }
@keyframes qtShake {
  0%, 100% { transform: rotate(0); }
  15% { transform: rotate(-9deg); }
  35% { transform: rotate(8deg); }
  55% { transform: rotate(-6deg); }
  75% { transform: rotate(4deg); }
}
.qiantong .barrel {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 118px;
  height: 128px;
  border-radius: 12px 12px 18px 18px;
  background: linear-gradient(105deg, #3a2b18 0%, #5b432a 30%, #6b4f30 50%, #4a3620 75%, #2e2212 100%);
  border: 1px solid #201709;
  box-shadow: inset 0 10px 14px rgba(0,0,0,.55), 0 14px 34px rgba(0,0,0,.5);
}
.qiantong .barrel::after {
  content: '漁火籤';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--gold);
  text-shadow: 0 1px 2px rgba(0,0,0,.8);
}
.qiantong .stick {
  position: absolute;
  bottom: 108px;
  width: 9px;
  height: 82px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #caa36a, #8a6a3e);
  box-shadow: 1px 0 2px rgba(0,0,0,.4);
}
.qiantong .stick:nth-child(2) { left: 34px; height: 74px; transform: rotate(-7deg); }
.qiantong .stick:nth-child(3) { left: 52px; height: 88px; transform: rotate(-2deg); }
.qiantong .stick:nth-child(4) { left: 70px; height: 78px; transform: rotate(3deg); }
.qiantong .stick:nth-child(5) { left: 88px; height: 84px; transform: rotate(8deg); }
.qiantong .stick:nth-child(6) { left: 104px; height: 70px; transform: rotate(12deg); }
.qiantong .hint {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12.5px;
  letter-spacing: .3em;
  color: var(--dim);
  animation: cueFloat 2.4s ease-in-out infinite;
}

/* 籤詩卡 */
.fortune-card {
  position: relative;
  min-height: 320px;
  border-radius: 16px;
  border: 1px solid rgba(232, 193, 122, .35);
  background:
    repeating-linear-gradient(0deg, rgba(232,193,122,.035) 0 2px, transparent 2px 26px),
    url('../images/fortune-firepit.jpg') center / cover;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .95);
  padding: 30px 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: stretch;
  min-width: 0;
  overflow: clip;
}
.fortune-card.waiting {
  display: grid;
  place-items: center;
  grid-template-columns: 1fr;
  color: rgba(243, 231, 208, .86);
  font-size: 15px;
  letter-spacing: .2em;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0,0,0,.95);
}
.fortune-card.dealt { animation: cardIn .55s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(24px) rotate(1.5deg) scale(.96); }
  to   { opacity: 1; transform: none; }
}
.fortune-poem {
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 2.1;
  letter-spacing: .18em;
  color: var(--cream);
  padding: 8px 6px;
  border-left: 1px solid rgba(232, 193, 122, .25);
  border-right: 1px solid rgba(232, 193, 122, .25);
  min-height: 240px;
}
.fortune-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.fortune-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fortune-grade {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #ff6b4a;
  border: 2px solid #c8402a;
  border-radius: 8px;
  padding: 5px 12px;
  transform: rotate(-4deg);
  box-shadow: 0 0 0 1px rgba(200, 64, 42, .25) inset;
  background: rgba(200, 64, 42, .08);
}
.fortune-title {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
  color: var(--gold);
}
.fortune-row { display: flex; gap: 10px; align-items: baseline; font-size: 15px; }
.fortune-row .k {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 5px;
  padding: 1px 9px;
  letter-spacing: .2em;
}
.fortune-row .k.ji { background: #8a8a8a; }
.fortune-row .v { color: var(--cream); min-width: 0; }
.fortune-cta { margin-top: auto; padding-top: 8px; }
.fortune-cta a { font-size: 13.5px; letter-spacing: .2em; color: var(--ember); }

/* ---------- 烤功小抄 ---------- */
.tips-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin: 6px 0 40px;
  padding: 18px 24px;
  border-radius: 14px;
  border: 1px dashed rgba(232, 193, 122, .4);
  background: rgba(232, 193, 122, .05);
}
.tips-strip .t-head {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}
.tips-strip ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.tips-strip li { font-size: 13.5px; color: var(--dim); }
.tips-strip li::before { content: '🔥 '; font-size: 11px; }

@media (max-width: 900px) {
  .fortune-stage { grid-template-columns: 1fr; gap: 40px; }
  .fortune-card { grid-template-columns: auto 1fr; padding: 24px 20px; gap: 18px; }
  .fortune-card.waiting { grid-template-columns: 1fr; }
  .fortune-poem { font-size: 19px; min-height: 200px; }
  .tips-strip { grid-template-columns: 1fr; gap: 8px; }
}
