/* 豆所 Dozzo｜demo 網站樣式 */
:root {
  --sky: #62AEDD;       /* Logo 底色、杯子 */
  --navy: #1D4E89;      /* 招牌、深色區塊 */
  --blue: #2A74B5;      /* 藍色文字／強調 */
  --blue-mid: #2B68A8;  /* 門市區塊底色 */
  --cream: #F8F6F1;     /* 暖白背景 */
  --ink: #1E2A36;       /* 主要文字 */
  --ink-2: #5B6776;     /* 次要文字 */
  --ink-3: #3A4654;
  --line: #DCE6EF;
  --light-blue: #BFE0F5;
  --mute-blue: #A9C6E3;
  --milk: #F1E8DA;
  --tea: #D9C09B;
  --white: #FFFFFF;

  --font: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --font-en: 'Nunito', 'Noto Sans TC', sans-serif;
  --gutter: 80px;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
/* 不用 CSS 平滑捲動：會跟 GSAP 的頁面吸附打架，錨點改由 main.js 處理 */
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: var(--cream); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.mob-only { display: none !important; }

/* ---------- 文字 ---------- */
.eyebrow { font-size: 14px; letter-spacing: 5px; color: var(--ink-2); }
.eyebrow.on-dark { color: var(--mute-blue); }
.eyebrow.on-blue { color: #D6E6F5; }
.h-xl, .h-lg, .h-md, .hero-title { font-weight: 900; line-height: 1.2; }
.h-xl { font-size: clamp(44px, 5.6vw, 80px); display: flex; flex-direction: column; }
.h-lg { font-size: clamp(34px, 3.9vw, 56px); }
.h-md { font-size: 26px; }
.accent { color: var(--blue); }
.accent-light { color: var(--light-blue); }
.fine { font-size: 13px; color: var(--ink-2); line-height: 1.6; }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 32px; border-radius: 28px; border: 1.5px solid transparent;
  font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: scale(.97); }
.btn-sm { height: 44px; padding: 0 24px; font-size: 15px; }
.btn-block { display: flex; width: 100%; }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: #163D6C; }
.btn-navy:disabled { background: #9AAABB; cursor: not-allowed; }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: #22639C; }
.btn-line { border-color: var(--navy); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--navy); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: var(--white); }
.btn-ghost { border-color: var(--cream); color: var(--cream); }
.btn-ghost:hover { background: rgba(248, 246, 241, .14); }

/* ---------- 頁首 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(248, 246, 241, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-slot {
  width: 44px; height: 44px; border-radius: 50%; background: var(--sky); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0;
}
.brand-zh { font-size: 28px; font-weight: 900; letter-spacing: 3px; line-height: 1; }
.brand-en { font-family: var(--font-en); font-size: 20px; font-weight: 900; letter-spacing: 1px; color: var(--blue); line-height: 1; }
.nav-desk { display: flex; gap: 40px; font-size: 15px; }
.nav-desk a { text-decoration: none; padding: 10px 0; position: relative; }
.nav-desk a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s; }
.nav-desk a:hover::after, .nav-desk a.active::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); padding: 0; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle line { transition: transform .25s; transform-origin: 12px 12px; }
.menu-toggle[aria-expanded="true"] .l1 { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .l2 { transform: translateY(-4px) rotate(-45deg); }
.drawer {
  position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--cream);
  border-bottom: 1px solid var(--line); padding: 8px 24px 24px; display: flex; flex-direction: column;
}
.drawer[hidden] { display: none; }
.drawer a { text-decoration: none; font-size: 20px; font-weight: 700; padding: 14px 0; border-bottom: 1px solid var(--line); }

/* ---------- 杯子（首屏、留言牆共用） ---------- */
.cup { --u: 10px; position: relative; width: calc(26 * var(--u)); display: flex; flex-direction: column; align-items: center; filter: drop-shadow(0 24px 32px rgba(29, 78, 137, .14)); }
.cup-straw { width: calc(1.2 * var(--u)); height: calc(9 * var(--u)); background: var(--navy); border-radius: var(--u); margin-bottom: calc(-1.2 * var(--u)); transform: translateX(calc(3 * var(--u))) rotate(8deg); }
.cup-lid { width: 100%; height: calc(2.4 * var(--u)); background: var(--navy); border-radius: calc(1.2 * var(--u)); position: relative; z-index: 1; }
.cup-body { width: calc(24 * var(--u)); height: calc(36 * var(--u)); background: var(--white); clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%); display: flex; flex-direction: column; }
.cup-space { height: calc(3.6 * var(--u)); flex-shrink: 0; }
.cup-milk { height: calc(14 * var(--u)); flex-shrink: 0; background: linear-gradient(180deg, #F4EDE2 0%, var(--milk) 70%, #E8D9C1 100%); transform-origin: bottom center; transform: scaleY(0); }
.cup-milk.full { transform: none; }
.cup-tea { flex-grow: 1; background: linear-gradient(180deg, #DCC39F, #CFB287); }
.cup-sm { --u: 5px; }

/* ---------- 1 首屏 ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding-top: var(--header-h); display: flex; flex-direction: column; overflow: hidden; }
.hero-inner { flex-grow: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 40px; }
.hero-copy { display: flex; flex-direction: column; gap: 32px; }
.hero-title { font-size: clamp(56px, 7.2vw, 104px); line-height: 1.15; display: flex; flex-direction: column; }
.hero-title .line { display: block; }
.hero-lead { font-size: 19px; line-height: 1.8; color: var(--ink-3); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }
.cup-label { position: absolute; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; }
.cup-label i { display: block; width: 90px; height: 1px; background: var(--navy); }
.label-milk { left: calc(50% - 250px); top: 42%; opacity: 0; }
.label-milk span { display: inline-block; transform-origin: right center; }
.label-tea { right: calc(50% - 250px); top: 72%; }
.hero-foot { border-top: 1px solid var(--line); }
.hero-foot-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.scroll-hint { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: 4px; color: var(--ink-2); flex-shrink: 0; }
.scroll-hint i { display: block; width: 48px; height: 1px; background: var(--navy); }
.marquee { overflow: hidden; max-width: 560px; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 22s linear infinite; }
.marquee-track span { font-size: 22px; font-weight: 700; letter-spacing: 18px; color: var(--blue); padding-right: 18px; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 2 品牌故事 ---------- */
.story { position: relative; background: var(--navy); color: var(--cream); overflow: hidden; padding: 140px 0 110px; }
.story-bg { position: absolute; right: -40px; top: -40px; font-size: 720px; font-weight: 900; line-height: 1; color: #245A97; pointer-events: none; user-select: none; }
.story-inner { position: relative; display: flex; flex-direction: column; gap: 140px; }
.story-head { display: flex; flex-direction: column; gap: 32px; max-width: 640px; }
.story-lead { font-size: 19px; line-height: 1.9; color: #D6E4F2; }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.point { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; border-top: 1px solid #3D6FA8; }
.point-no { font-size: 28px; color: var(--mute-blue); }
.point h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.point p { font-size: 16px; line-height: 1.7; color: var(--mute-blue); }

/* ---------- 共用區塊標題 ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.sec-head > div { display: flex; flex-direction: column; gap: 16px; }
.sec-aside, .sec-sub { font-size: 15px; color: var(--ink-2); }

/* ---------- 3 菜單 ---------- */
.menu { padding: 120px 0 100px; }
.tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.tab {
  height: 120px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
  transition: background .25s, border-color .25s, color .25s, transform .2s;
}
.tab:hover { border-color: var(--navy); transform: translateY(-2px); }
.tab-char { font-size: 48px; font-weight: 900; line-height: 1; color: var(--blue); transition: color .25s; }
.tab-name { font-size: 14px; font-weight: 700; }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.tab[aria-selected="true"] .tab-char { color: var(--light-blue); }
.menu-panel { display: flex; gap: 48px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 40px; min-height: 440px; }
.panel-intro { width: 280px; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; }
.panel-char { font-size: 160px; font-weight: 900; line-height: 1; color: var(--blue); }
.panel-name { font-size: 24px; font-weight: 700; }
.panel-tag { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.items { flex-grow: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-content: start; }
.item { padding: 20px 22px; border-radius: 16px; background: var(--cream); display: flex; flex-direction: column; gap: 6px; }
.item-name { font-size: 24px; font-weight: 900; line-height: 1.3; }
.item-desc { font-size: 14px; color: var(--ink-2); min-height: 22px; }
.item-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 8px; }
.size { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--navy); white-space: nowrap; }
.size.L { background: var(--navy); color: var(--cream); }
.price { font-size: 20px; font-weight: 700; }
.price.tbd { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.menu .fine { margin-top: 20px; }

/* ---------- 4 人氣推薦 ---------- */
.popular { background: var(--white); padding: 120px 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; gap: 20px; padding: 20px; border-radius: 20px; background: var(--cream); }
.photo { width: 140px; height: 180px; flex-shrink: 0; border-radius: 14px; overflow: hidden; position: relative; }
.photo-fill { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 12px; font-size: 12px; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.card:hover .photo-fill, .card:hover .photo img { transform: scale(1.08); }
.card-body { display: flex; flex-direction: column; justify-content: center; gap: 6px; flex-grow: 1; min-width: 0; }
.card-name { font-size: 26px; font-weight: 900; line-height: 1.3; }
.card-desc { font-size: 14px; color: var(--ink-2); }
.card .item-foot { margin-top: 10px; }
.card .price { font-size: 22px; }

/* ---------- 5 季節限定 ---------- */
.season { padding: 120px 0; }
.season-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: start; }
.season-visual-wrap { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 32px; }
.season-head { display: flex; flex-direction: column; gap: 16px; }
.season-visual { height: min(520px, 56vh); border-radius: 24px; background: var(--blue-mid); color: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.season-list { display: flex; flex-direction: column; gap: 64px; padding-top: 140px; }
.s-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--navy); }
.s-group-head h3 { font-size: 30px; font-weight: 900; }
.s-group-head span { font-size: 13px; color: var(--ink-2); }
.s-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.s-row h4 { margin: 0; font-size: 19px; font-weight: 700; }
.s-row p { font-size: 14px; color: var(--ink-2); }

/* ---------- 6 留言牆 ---------- */
.wall { padding: 120px 0 100px; overflow: hidden; }
.wall .sec-head { margin-bottom: 24px; }
.wall-stage { position: relative; height: 520px; }
.wall-cup { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.wall-cup .cup { --u: 9px; }
.bubble {
  position: absolute; left: var(--x); top: var(--y); max-width: 280px;
  padding: 12px 18px; border-radius: 22px; border: 1px solid var(--line); background: var(--white); color: var(--ink);
  font-size: 15px; line-height: 1.5; text-align: left; cursor: pointer; box-shadow: 0 6px 18px rgba(29, 78, 137, .06);
  transition: background .25s, color .25s, border-color .25s;
}
.bubble:hover { border-color: var(--navy); }
.bubble[aria-pressed="true"] { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.bubble-in { display: block; animation: floaty 3.2s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-12px); } }
.wall-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 24px; }
.quote { width: min(560px, 100%); min-height: 96px; padding: 20px 24px; border-radius: 18px; background: var(--navy); color: var(--cream); display: flex; flex-direction: column; gap: 8px; }
.quote-text { font-size: 22px; font-weight: 700; line-height: 1.5; }
.quote-meta { font-size: 14px; color: var(--mute-blue); }
.wall-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

/* ---------- 7 門市 ---------- */
.visit { background: var(--blue-mid); color: var(--cream); padding: 110px 0 96px; }
.visit-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; }
.map { border-radius: 24px; overflow: hidden; background: #255E9A; min-height: 460px; }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }
.visit-info { display: flex; flex-direction: column; gap: 36px; justify-content: center; }
.visit-info .h-lg { font-size: clamp(40px, 4.4vw, 64px); margin-top: 16px; }
.info > div { display: flex; gap: 24px; padding: 18px 0; border-top: 1px solid #5B8FC6; }
.info > div:last-child { border-bottom: 1px solid #5B8FC6; }
.info dt { font-size: 15px; color: #D6E6F5; width: 88px; flex-shrink: 0; }
.info dd { font-size: 17px; }
.visit-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer { background: var(--navy); color: var(--cream); }
.footer-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.brand-foot .brand-zh { font-size: 22px; }
.brand-foot .brand-en { font-size: 19px; color: var(--light-blue); }
.footer-nav { display: flex; gap: 32px; font-size: 14px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.copy { font-size: 13px; color: var(--mute-blue); }

/* ---------- 留一句話表單 ---------- */
.comment { width: min(440px, calc(100% - 32px)); border: 0; border-radius: 24px; padding: 40px 32px 32px; background: var(--cream); color: var(--ink); }
.comment::backdrop { background: rgba(30, 42, 54, .55); }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 22px; }
.dialog-close:hover { background: var(--line); }
.comment-form { display: flex; flex-direction: column; gap: 10px; }
.comment-form .h-md { margin: 4px 0 12px; }
.comment-form label { font-size: 15px; font-weight: 700; margin-top: 6px; }
.field { position: relative; }
.comment textarea, .comment input, .comment select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px;
}
.comment textarea { resize: none; padding-bottom: 30px; }
.comment select, .comment input { height: 48px; padding-top: 0; padding-bottom: 0; }
.comment textarea:focus, .comment input:focus, .comment select:focus { outline: none; border-color: var(--blue); }
.count { position: absolute; right: 14px; bottom: 10px; font-size: 13px; color: var(--ink-2); }
.count.full { color: #B4452F; font-weight: 700; }
.comment .btn-block { margin-top: 14px; }
.thanks { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 0 0; }
.thanks[hidden] { display: none; }
.thanks-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--sky); color: var(--white); display: flex; align-items: center; justify-content: center; }
.thanks .btn { margin-top: 12px; }

/* ---------- 平板 ---------- */
@media (max-width: 1180px) {
  :root { --gutter: 48px; }
  .nav-desk { gap: 24px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel-intro { width: 220px; }
  .panel-char { font-size: 120px; }
}

/* ---------- 手機 ---------- */
@media (max-width: 860px) {
  :root { --gutter: 24px; --header-h: 64px; }
  .desk-only { display: none !important; }
  .mob-only { display: flex !important; }
  .nav-desk, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .logo-slot { width: 36px; height: 36px; }
  .brand-zh { font-size: 24px; letter-spacing: 2px; }
  .brand-en { font-size: 20px; }
  .eyebrow { font-size: 13px; letter-spacing: 4px; }

  .hero-inner { grid-template-columns: 1fr; align-content: start; padding-top: 12vh; gap: 0; }
  .hero-copy { gap: 24px; position: relative; z-index: 2; }
  .hero-title { font-size: clamp(48px, 15vw, 64px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { display: none; }
  .hero-visual { position: absolute; right: 16px; bottom: 120px; min-height: 0; }
  .hero .cup { --u: 5.2px; }
  .cup-label { display: none; }
  .hero-foot { border-top: 0; }
  .hero-foot-inner { height: auto; padding-bottom: 32px; justify-content: center; }
  .scroll-hint { flex-direction: column-reverse; gap: 10px; font-size: 12px; }
  .scroll-hint i { width: 1px; height: 40px; }
  .marquee { display: none; }

  .story { padding: 88px 0 56px; }
  .story-bg { font-size: 360px; right: -60px; top: 40px; }
  .story-inner { gap: 64px; }
  .story-head { gap: 24px; }
  .h-xl { font-size: 44px; }
  .story-lead { font-size: 16px; line-height: 1.8; }
  .points { grid-template-columns: 1fr; gap: 0; }
  .point { flex-direction: row; gap: 20px; padding: 22px 0; border-top-color: #3D6FA8; }
  .point:last-child { border-bottom: 1px solid #3D6FA8; }
  .point-no { font-size: 20px; width: 28px; flex-shrink: 0; }
  .point h3 { font-size: 18px; margin-bottom: 4px; }
  .point p { font-size: 14px; }

  .sec-head { margin-bottom: 28px; }
  .sec-head > div { gap: 12px; }
  .sec-aside { display: none; }
  .h-lg { font-size: 36px; }

  .menu { padding: 80px 0 64px; }
  .tabs { gap: 6px; margin-bottom: 16px; }
  .tab { height: 64px; border-radius: 12px; }
  .tab-char { font-size: 28px; }
  .tab-name { display: none; }
  .menu-panel { flex-direction: column; gap: 20px; padding: 24px 20px; border-radius: 20px; min-height: 0; }
  .panel-intro { width: auto; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; row-gap: 2px; }
  .panel-char { font-size: 72px; grid-row: 1 / 3; }
  .panel-name { font-size: 20px; align-self: end; }
  .panel-tag { font-size: 14px; }
  .items { grid-template-columns: 1fr; gap: 10px; }
  .item { padding: 14px 16px; }
  .item-name { font-size: 20px; }
  .item-desc { min-height: 0; }

  .popular { padding: 80px 0 64px; }
  .cards { grid-template-columns: 1fr; gap: 0; margin-bottom: 28px; }
  .card { padding: 0 0 16px; margin-bottom: 16px; background: transparent; border-radius: 0; border-bottom: 1px solid var(--line); gap: 16px; }
  .photo { width: 104px; height: 132px; border-radius: 12px; }
  .photo-fill { font-size: 11px; padding-bottom: 10px; }
  .card-name { font-size: 24px; }
  .card .price { font-size: 20px; }

  .season { padding: 80px 0 64px; }
  .season-inner { grid-template-columns: 1fr; gap: 32px; }
  .season-visual-wrap { position: static; gap: 24px; }
  .season-visual { height: 220px; }
  .season-list { padding-top: 0; gap: 40px; }
  .s-group-head h3 { font-size: 24px; }
  .s-row h4 { font-size: 17px; }

  .wall { padding: 80px 0 64px; }
  .wall-stage { height: 460px; }
  .wall-cup .cup { --u: 4.2px; }
  .bubble { left: var(--mx); top: var(--my); max-width: 44%; font-size: 14px; padding: 10px 14px; border-radius: 18px; }
  .bubble.desk-bubble { display: none; }
  .bubble-in { animation-name: floaty-sm; }
  @keyframes floaty-sm { from { transform: translateY(0); } to { transform: translateY(-8px); } }
  .wall-foot { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 16px; }
  .quote { width: 100%; min-height: 0; padding: 14px 18px; border-radius: 16px; }
  .quote-text { font-size: 17px; }
  .quote-meta { font-size: 12px; }
  .wall-cta { align-items: stretch; text-align: center; }
  .wall-cta .btn { width: 100%; height: 52px; }

  .visit { padding: 72px 0 40px; }
  .visit-inner { grid-template-columns: 1fr; gap: 28px; }
  .visit-info { order: -1; gap: 24px; }
  .visit-info .h-lg { font-size: 40px; margin-top: 12px; }
  .info > div { gap: 16px; padding: 14px 0; }
  .info dt { font-size: 14px; width: 64px; }
  .info dd { font-size: 15px; }
  .map, .map iframe { min-height: 220px; border-radius: 14px; }
  .visit-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .visit-actions .btn-cream { grid-column: span 2; height: 52px; }
  .visit-actions .btn-ghost { height: 48px; padding: 0 12px; }

  .footer-inner { flex-direction: column; align-items: flex-start; padding-top: 32px; padding-bottom: 32px; }
  .footer-nav { gap: 8px 20px; }
  .footer-nav a { padding: 8px 0; }
}

/* ---------- 電腦版：每個區塊至少一整頁高，吸附時像翻頁 ---------- */
@media (min-width: 861px) {
  .story, .origin, .menu, .popular, .season, .wall { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  .menu, .season, .wall, .popular { padding-top: calc(var(--header-h) + 24px); padding-bottom: 48px; }
  .menu .sec-head, .popular .sec-head { margin-bottom: 32px; }
  .menu-panel { min-height: 0; }
  .season-list { padding-top: 96px; }
  .visit { min-height: calc(100vh - 96px); display: flex; flex-direction: column; justify-content: center; }
}

/* ---------- 減少動態效果（網址加 ?motion=on 會加上 .force-motion，強制播放動畫） ---------- */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .marquee-track, html:not(.force-motion) .bubble-in { animation: none; }
  html:not(.force-motion) .cup-milk { transform: none; }
  html:not(.force-motion) .label-milk { opacity: 1; }
  html:not(.force-motion) *, html:not(.force-motion) *::before, html:not(.force-motion) *::after { transition-duration: .01ms !important; }
}

/* 季節限定：M／L 兩種價格 */
.s-prices { white-space: nowrap; font-size: 18px; }

/* ---------- LINE 官方帳號 ---------- */
.line-ico { flex-shrink: 0; }
.line-card {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px;
  background: var(--cream); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.line-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .12); }
.line-badge { width: 44px; height: 44px; border-radius: 12px; background: #06C755; color: #FFFFFF; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.line-text { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; }
.line-text strong { font-size: 17px; }
.line-text span { font-size: 14px; color: var(--ink-2); }
.line-arrow { flex-shrink: 0; color: var(--navy); }
.drawer .drawer-line { display: flex; align-items: center; gap: 10px; color: #04843A; border-bottom: 0; }
.btn-line-green { border-color: #06C755; color: #04843A; background: transparent; margin-top: 4px; }
.btn-line-green:hover { background: #06C755; color: #FFFFFF; }
@media (max-width: 860px) {
  .line-card { padding: 14px 16px; gap: 12px; margin-bottom: 16px; }
  .line-text strong { font-size: 16px; }
  .line-text span { font-size: 13px; }
}

/* ---------- 品牌故事：濃度比較 ---------- */
.story-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.story-head { max-width: none; }
.density { margin: 0; padding: 28px 32px; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid #3D6FA8; display: flex; flex-direction: column; gap: 18px; }
.density-title { font-size: 14px; letter-spacing: 4px; color: var(--mute-blue); }
.bar-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 78px; align-items: center; gap: 14px; }
.bar-label { font-size: 15px; color: #D6E4F2; }
.bar { height: 14px; border-radius: 7px; background: rgba(255, 255, 255, .1); overflow: hidden; display: block; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: 7px; background: var(--mute-blue); transform-origin: left center; }
.bar-row.hi .bar { height: 22px; border-radius: 11px; }
.bar-row.hi .bar i { background: linear-gradient(90deg, #F1E8DA, #FFFFFF); border-radius: 11px; }
.bar-val { font-size: 15px; color: #D6E4F2; text-align: right; white-space: nowrap; }
.bar-row.hi .bar-label { color: #FFFFFF; font-weight: 700; }
.bar-row.hi .bar-val { color: #FFFFFF; font-weight: 700; }
.bar-row.hi .bar-val b { font-size: 34px; font-weight: 900; line-height: 1; color: var(--light-blue); }
.density-note { font-size: 13px; color: var(--mute-blue); }

/* ---------- 豆所的誕生 ---------- */
.origin { padding: 120px 0 100px; background: var(--cream); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; padding-top: 34px; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--navy); transform-origin: left center; transform: scaleX(var(--line, 1)); }
.t-step { position: relative; display: flex; flex-direction: column; gap: 8px; }
.t-dot { position: absolute; top: -34px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--cream); border: 3px solid var(--navy); box-sizing: border-box; }
.t-step:last-child .t-dot { background: var(--sky); border-color: var(--sky); }
.t-no { font-family: var(--font-en); font-size: 14px; font-weight: 900; color: var(--blue); letter-spacing: 2px; }
.t-step h3 { font-size: 20px; font-weight: 900; line-height: 1.4; }
.t-step p:last-child { font-size: 15px; line-height: 1.75; color: var(--ink-3); }
.origin-quote { margin: 72px 0 0; padding: 36px 0 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.origin-quote p { font-size: clamp(26px, 2.6vw, 38px); font-weight: 900; line-height: 1.5; color: var(--navy); }
.origin-quote cite { font-style: normal; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.mob-br { display: none; }

@media (max-width: 1180px) {
  .story-top { grid-template-columns: 1fr; gap: 40px; }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .timeline::before { display: none; }
  .t-dot { display: none; }
  .timeline { padding-top: 0; }
}
@media (max-width: 860px) {
  .density { padding: 20px; gap: 14px; }
  .bar-row { grid-template-columns: 80px minmax(0, 1fr) 64px; gap: 10px; }
  .bar-label, .bar-val { font-size: 13px; }
  .bar-row.hi .bar-val b { font-size: 26px; }
  .origin { padding: 80px 0 64px; }
  .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 28px; }
  .timeline::before { display: block; left: 8px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; transform-origin: center top; transform: scaleY(var(--line, 1)); }
  .t-dot { display: block; top: 4px; left: -28px; }
  .t-step { padding-bottom: 28px; gap: 4px; }
  .t-step h3 { font-size: 18px; }
  .t-step p:last-child { font-size: 14px; }
  .origin-quote { margin-top: 16px; padding-top: 28px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .origin-quote p { font-size: 24px; }
  .mob-br { display: inline; }
}
