/* 益鮟鱇魚三吃｜全站樣式
   顏色取自店裡：招牌與點菜單的黃、壁畫的橘、漁港磁磚的藍 */
:root {
  --sea: #eef4f7;
  --paper: #ffffff;
  --yellow: #ffc629;
  --yellow-soft: #fff3cc;
  --orange: #f0642d;
  --orange-dark: #d9521d;
  --blue: #1e5a86;
  --ink: #1c2530;
  --muted: #5d6b78;
  --line: #d9e3ea;
  --display: "LXGW WenKai TC", "Noto Sans TC", serif;
  --sans: "Noto Sans TC", system-ui, sans-serif;
  --num: "Outfit", "Noto Sans TC", sans-serif;
  --r: 18px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--sea); color: var(--ink); font-family: var(--sans); line-height: 1.8; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
ul { padding-left: 1.2em; }
p + p { margin-top: 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 820px; }

/* 點菜單上的黑底標籤，全站用來標段落 */
.tab { display: inline-block; background: var(--ink); color: var(--yellow); font-weight: 700; font-size: 14px; letter-spacing: .12em; padding: 3px 12px; border-radius: 6px; margin-bottom: 14px; }
.tab.light { background: var(--yellow); color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.3; }
h2 { font-size: clamp(30px, 4.6vw, 44px); margin-bottom: 22px; }
mark { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); color: inherit; padding: 0 .08em; }
.num { font-family: var(--num); font-weight: 700; font-variant-numeric: tabular-nums; }

/* 按鈕 */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 16px; line-height: 1.2; border: 2px solid transparent; transition: background .15s, transform .15s; }
.btn:active { transform: scale(.97); }
.btn-call { background: var(--orange); color: #fff; }
.btn-call:hover { background: var(--orange-dark); }
.btn-line { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--yellow-soft); }
.btn-text { color: var(--ink); padding-inline: 6px; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* 頁首 */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 20px; text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.seal { width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-size: 18px; font-family: var(--display); font-weight: 700; flex: none; }
.nav-links { display: flex; gap: 22px; font-size: 15px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { padding: 8px 18px; font-size: 15px; color: #fff; }
@media (max-width: 820px) { .nav-links a:not(.btn) { display: none; } }
@media (max-width: 720px) { .nav-links { display: none; } }

/* 首頁 hero */
.hero { padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 7.4vw, 84px); line-height: 1.15; }
.hero .sub { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 30em; }
.hero .names { margin-top: 10px; font-size: 13px; color: var(--muted); }
.prices { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.price-chip { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 8px 16px; font-size: 15px; }
.price-chip .num { font-size: 22px; color: var(--orange); margin-left: 6px; }
.cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-photo { position: relative; }
.hero-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--yellow); border-radius: var(--r); }
.hero-photo img { position: relative; border-radius: var(--r); aspect-ratio: 5/4; object-fit: cover; width: 100%; }
@media (max-width: 860px) {
  .hero { padding-top: 28px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { order: -1; margin-right: 18px; }
}

/* 引言帶 */
.quote { background: var(--yellow); padding: 56px 0; }
.quote blockquote { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 4vw, 40px); line-height: 1.45; }
.quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 15px; color: rgba(28,37,48,.75); }

/* 區塊 */
.block { padding: 88px 0; }
.block.white { background: var(--paper); }
.lead { font-size: 19px; color: var(--muted); margin: -8px 0 32px; max-width: 36em; }

/* 阿益的故事 */
.story { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.story img { border-radius: var(--r); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.story figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.timeline { margin-top: 30px; list-style: none; padding: 0; border-left: 3px solid var(--yellow); }
.timeline li { padding: 0 0 16px 22px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 9px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 3px solid var(--orange); }
.timeline b { display: block; font-family: var(--num); color: var(--orange); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; gap: 36px; } .story figure { max-width: 420px; } }

/* 三吃 */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tier { background: var(--sea); border-radius: var(--r); overflow: hidden; }
.tier img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.tier div { padding: 20px 22px 24px; }
.tier h3 { font-size: 26px; margin-bottom: 6px; }
.tier h3 small { font-family: var(--sans); font-size: 14px; color: var(--orange); font-weight: 700; margin-right: 8px; vertical-align: 3px; }
.tier p { color: var(--muted); font-size: 16px; }
.credit { font-size: 13px; color: var(--muted); margin-top: 12px; }
.credit a { color: inherit; }
.more { margin-top: 28px; background: var(--yellow-soft); border-radius: var(--r); padding: 22px 26px; }
.extra { margin-top: 28px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; background: var(--sea); border-radius: var(--r); padding: 28px; }
.extra img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; object-position: center 55%; }
.extra h3 { font-size: 26px; margin-bottom: 8px; }
.note { margin-top: 14px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .tiers, .extra { grid-template-columns: 1fr; } }

/* 媒體 */
.media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.media-card { background: var(--paper); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.media-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(30,90,134,.12); }
.thumb { position: relative; aspect-ratio: 16/9; background: var(--ink); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .play { position: absolute; inset: 0; display: grid; place-items: center; }
.thumb .play span { width: 60px; height: 60px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-size: 20px; }
.media-body { padding: 18px 22px 22px; }
.media-body .src { font-size: 13px; color: var(--blue); font-weight: 700; }
.media-body h3 { font-family: var(--sans); font-size: 18px; margin-top: 4px; line-height: 1.5; }
.media-body p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.media-body .big { font-family: var(--display); font-size: 20px; line-height: 1.6; color: var(--ink); }
@media (max-width: 720px) { .media-grid { grid-template-columns: 1fr; } }

/* 店家資訊 */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.info { display: grid; grid-template-columns: auto 1fr; gap: 12px 20px; align-items: baseline; }
.info dt { font-size: 14px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.info dd { font-size: 17px; }
.info dd a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.how { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.how figure img { border-radius: 12px; aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.how .wide { grid-column: 1 / -1; }
.how .wide img { aspect-ratio: 16/9; }
.how figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.map { border: 0; width: 100%; height: 560px; border-radius: var(--r); position: sticky; top: 88px; }
@media (max-width: 860px) { .map { position: static; height: 380px; } }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* 內頁（攻略、菜單） */
.crumb { font-size: 13px; color: var(--muted); padding-top: 28px; }
.crumb a { color: inherit; text-decoration: none; }
.page-head { padding: 18px 0 8px; }
.page-head h1 { font-size: clamp(34px, 6vw, 54px); }
.intro { margin-top: 16px; font-size: 18px; color: var(--muted); }
.answer { margin-top: 26px; background: var(--paper); border-radius: var(--r); padding: 20px 24px; border: 2px solid var(--yellow); }
.answer ul { list-style: none; padding: 0; }
.answer li + li { margin-top: 6px; }
.answer b { background: var(--yellow); padding: 0 6px; border-radius: 4px; margin-right: 6px; }
.cover { margin-top: 32px; border-radius: var(--r); aspect-ratio: 16/9; object-fit: cover; width: 100%; }
article section, .page section { padding-top: 52px; }
article h2, .page h2 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 14px; }
article h3 { font-size: 21px; margin: 22px 0 4px; }
.dishes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 6px; }
.dishes figure img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; }
.dishes figcaption { font-size: 15px; font-weight: 700; margin-top: 6px; text-align: center; }
@media (max-width: 560px) { .dishes { grid-template-columns: 1fr; } }
.schedule { width: 100%; border-collapse: collapse; margin-top: 12px; background: var(--paper); border-radius: var(--r); overflow: hidden; }
.schedule th, .schedule td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule th { font-family: var(--num); white-space: nowrap; color: var(--orange); }
.tip { margin-top: 14px; font-size: 15px; color: var(--muted); }
.shop { margin-top: 60px; background: var(--paper); border-radius: var(--r); padding: 30px 28px; border-top: 8px solid var(--yellow); }
.shop .btn { margin-top: 20px; }
.updated { font-size: 13px; color: var(--muted); margin-top: 32px; }

/* 菜單頁 */
.menu-list { list-style: none; padding: 0; background: var(--paper); border-radius: var(--r); padding: 6px 22px; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.row:last-child { border-bottom: 0; }
.row .price { font-family: var(--num); font-weight: 700; color: var(--orange); white-space: nowrap; font-variant-numeric: tabular-nums; }
.row .desc { display: block; font-size: 14px; color: var(--muted); }
.row.big .name { font-family: var(--display); font-weight: 700; font-size: 23px; }
.row.big .price { font-size: 24px; }
.sets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.set { background: var(--yellow); border-radius: var(--r); padding: 22px 20px 16px; }
.set h3 { font-size: 26px; }
.set-price { font-family: var(--num); font-weight: 700; font-size: 30px; line-height: 1.2; }
.set-price span { display: block; font-family: var(--sans); font-size: 13px; font-weight: 500; color: rgba(28,37,48,.75); margin-top: 2px; }
.set ul { list-style: none; padding: 0; margin-top: 14px; background: var(--paper); border-radius: 12px; padding: 4px 14px; }
.set li { font-size: 15px; padding: 9px 0; line-height: 1.6; border-bottom: 1px solid var(--line); }
.set li:last-child { border-bottom: 0; }
.set li .tab { font-size: 12px; padding: 1px 8px; margin: 0 6px 2px 0; letter-spacing: .05em; }
@media (max-width: 860px) { .sets { grid-template-columns: 1fr; } }
.cats { columns: 2; column-gap: 22px; }
.cat { break-inside: avoid; background: var(--paper); border-radius: var(--r); padding: 18px 22px 6px; margin-bottom: 22px; }
.cat h3 { font-size: 22px; }
.cat h3 .sub { font-family: var(--sans); font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 8px; }
.cat ul { list-style: none; padding: 0; }
@media (max-width: 680px) { .cats { columns: 1; } }
.page .info { background: var(--paper); border-radius: var(--r); padding: 22px 24px; }
.photo img { border-radius: var(--r); }
.photo figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* 頁尾、手機底部列 */
footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 34px 0 100px; font-size: 14px; margin-top: 0; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
main + footer { margin-top: 72px; }
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar { display: flex; position: fixed; inset: auto 0 0; z-index: 20; box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
  .callbar a { flex: 1; text-align: center; padding: 15px 0; font-weight: 700; text-decoration: none; color: var(--ink); background: var(--paper); }
  .callbar a:first-child { background: var(--orange); color: #fff; }
  .callbar a + a { border-left: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .media-card { transition: none; } }
@media (max-width: 520px) {
  .prices { gap: 8px; }
  .price-chip { padding: 6px 12px; font-size: 14px; }
  .price-chip .num { font-size: 18px; margin-left: 4px; }
}

/* 今天有沒有開（js/open.js） */
.open-now { display:inline-flex; align-items:center; gap:8px; margin:0 0 14px; padding:6px 14px 6px 12px; border-radius:999px; background:var(--paper); border:1px solid var(--line); font-size:15px; font-weight:700; color:var(--ink); }
.open-now::before { content:""; width:9px; height:9px; border-radius:50%; background:var(--muted); }
.open-now.is-open::before { background:#1f9d55; box-shadow:0 0 0 3px rgba(31,157,85,.18); }

/* 菜單頁菜色照片 */
.dish-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:18px 0 0; }
.dish-strip figure { margin:0; }
.dish-strip img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:10px; }
.dish-strip figcaption { margin-top:6px; font-size:14px; color:var(--muted); text-align:center; }
@media (max-width:520px) { .dish-strip { gap:8px; } .dish-strip figcaption { font-size:13px; } }
