/* =====================================================================
   移花宮古法頭湯舒養 — 全站設計系統
   漢方 / 東方古典風格：暖米紙底、金棕、墨綠、朱紅點綴
   ===================================================================== */

:root {
  /* ── 色票（米灰調，降低黃色飽和度）── */
  --cream:       #f1eee6;   /* 主背景，米灰紙 */
  --cream-2:     #e7e3d9;   /* 次背景，較深米灰 */
  --paper:       #fbfaf6;   /* 卡片 / 純淺 */
  --paper-warm:  #f4f2ec;   /* 微暖淺底 */

  --ink:         #2b2419;   /* 標題 */
  --ink-soft:    #57503f;   /* 內文 */
  --ink-faint:   #8b8270;   /* 輔助文字 */

  --gold:        #9a7a40;   /* 主強調：金棕 */
  --gold-soft:   #bd9c5e;   /* 淺金 */
  --gold-deep:   #7c6132;   /* 深金棕 */

  --jade:        #3a4633;   /* 墨綠：深色區塊 / 按鈕 */
  --jade-deep:   #29322610; /* 佔位（不使用） */
  --jade-deep:   #283026;   /* 更深墨綠 */
  --clay:        #9d4f37;   /* 朱褐點綴 */
  --seal:        #b1382c;   /* 朱印・落款紅 */

  --line:        #d6d0bf;   /* 邊框線 */
  --line-soft:   #e3dece;   /* 淺邊框 */

  /* ── 字型 ── */
  --font-serif:   'Noto Serif TC', 'Songti TC', serif;
  --font-display: 'LXGW WenKai TC', 'Noto Serif TC', serif;  /* 楷體・題字感 */
  --font-sans:    'Noto Sans TC', system-ui, sans-serif;
  --font-en:      'Cormorant Garamond', serif;

  /* ── 版面 ── */
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-soft);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: normal;
}
h1, h2, h3, h4 { font-feature-settings: "palt" 1; }
/* 紙張纖維質感 — 全站極淡顆粒，避免「平面 AI 套版」感 */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin: 0;
}
p { margin: 0; }

/* ── 版面共用 ── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(52px, 6.5vw, 96px) 0; }
.section--tight { padding: clamp(40px, 5vw, 72px) 0; }
.bg-cream2 { background: var(--cream-2); }
.bg-paper  { background: var(--paper-warm); }
.bg-jade   { background: var(--jade); }

/* ── 小標籤 kicker ── */
.kicker {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-sans);
  font-size: 12.5px; letter-spacing: 0.22em;
  color: var(--gold-deep); font-weight: 600;
  margin-bottom: 18px; text-transform: uppercase;
}
.kicker::before {
  content: ''; width: 7px; height: 7px;
  background: var(--seal); transform: rotate(45deg); flex-shrink: 0;
}
.kicker--center { justify-content: center; }
.kicker--center::after {
  content: ''; width: 7px; height: 7px;
  background: var(--seal); transform: rotate(45deg); flex-shrink: 0;
}
.kicker--light { color: var(--gold-soft); }

/* ── 區塊標題 ── */
.section-title {
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.34; letter-spacing: 0.05em;
  color: var(--ink); font-weight: 700;
}
.section-title .light { color: var(--gold-deep); }
.section-lede {
  margin-top: 18px; max-width: 46ch;
  font-size: 16.5px; line-height: 2; color: var(--ink-soft);
}
.text-center { text-align: center; }
.text-center .section-lede { margin-left: auto; margin-right: auto; }

/* ── 漢方分隔飾紋 ── */
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; color: var(--gold); margin: 0 auto;
}
.ornament::before, .ornament::after {
  content: ''; height: 1px; width: clamp(40px, 12vw, 110px);
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament .diamond { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }

/* ── 按鈕 ──
   實心款（primary/gold/line）：折角剪裁，像朱印牌
   文字連結款（ghost/ghost-light）：底線從左展開、箭頭右滑、小朱菱漂入
   ※ 不再用死板的長方形 + border-radius:2px
*/
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.12em;
  border: 0; cursor: pointer;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
}
.btn .arrow { transition: transform .4s cubic-bezier(.4,0,.2,1); display: inline-block; }

/* 鎏金翠玉款 — 實心 + 金邊 + 金色光澤掃過 + 金色光暈 */
.btn--primary, .btn--gold, .btn--line {
  padding: 14px 32px; border-radius: 4px;
  position: relative; overflow: hidden;
  letter-spacing: 0.14em;
}
.btn--primary { background: var(--jade); color: #f1e2c1; border: 1px solid rgba(189,156,94,.55); box-shadow: 0 4px 14px rgba(40,48,38,.18); }
.btn--gold    { background: var(--gold); color: #fff; border: 1px solid rgba(189,156,94,.6); box-shadow: 0 4px 14px rgba(124,97,50,.22); }
.btn--line {
  background: rgba(6, 199, 85, 0.62);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  color: #fff;
  box-shadow: 0 4px 14px rgba(6,199,85,.18);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn--line:hover { background: rgba(6, 199, 85, 0.85); }

/* 金色絲綢光澤片 — 預設藏在左側，hover 掃過 */
.btn--primary::before, .btn--gold::before, .btn--line::before {
  content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(
    100deg,
    rgba(255,255,255,0) 0%,
    rgba(247,231,206,.5) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-22deg);
  transition: left .85s cubic-bezier(.25,.46,.45,.94);
  pointer-events: none;
}
.btn--primary:hover, .btn--gold:hover, .btn--line:hover {
  transform: translateY(-2px);
}
.btn--primary:hover { box-shadow: 0 10px 28px rgba(189,156,94,.4); }
.btn--gold:hover    { box-shadow: 0 10px 28px rgba(189,156,94,.5); background: var(--gold-deep); }
.btn--line:hover    { box-shadow: 0 10px 28px rgba(6,199,85,.42); background: #05b04b; }
.btn--primary:hover::before, .btn--gold:hover::before, .btn--line:hover::before { left: 160%; }
.btn--primary:hover .arrow, .btn--gold:hover .arrow, .btn--line:hover .arrow { transform: translateX(5px); }

/* 墨痕款（次 CTA）— 預設無框，hover 由左上、右下兩個 L 角一筆畫出完整框線 */
.btn--ghost, .btn--ghost-light {
  background: transparent; border: 0;
  padding: 13px 28px; color: var(--ink);
  letter-spacing: 0.16em;
  transition: color .4s ease;
}
.btn--ghost-light { color: #fff; }
.btn--ghost::before, .btn--ghost::after,
.btn--ghost-light::before, .btn--ghost-light::after {
  content: ''; position: absolute; width: 0; height: 0;
  transition: width .32s ease, height .32s ease;
}
.btn--ghost::before { top: 0; left: 0; border-top: 1.5px solid var(--jade); border-left: 1.5px solid var(--jade); }
.btn--ghost::after  { bottom: 0; right: 0; border-bottom: 1.5px solid var(--jade); border-right: 1.5px solid var(--jade); }
.btn--ghost-light::before { top: 0; left: 0; border-top: 1.5px solid var(--gold-soft); border-left: 1.5px solid var(--gold-soft); }
.btn--ghost-light::after  { bottom: 0; right: 0; border-bottom: 1.5px solid var(--gold-soft); border-right: 1.5px solid var(--gold-soft); }
.btn--ghost:hover { color: var(--jade); }
.btn--ghost-light:hover { color: var(--gold-soft); }
.btn--ghost:hover::before, .btn--ghost:hover::after,
.btn--ghost-light:hover::before, .btn--ghost-light:hover::after {
  width: 100%; height: 100%;
}
.btn--ghost:hover::before, .btn--ghost-light:hover::before { transition: width .3s ease, height .3s ease .3s; }
.btn--ghost:hover::after, .btn--ghost-light:hover::after { transition: width .3s ease, height .3s ease .3s; }
.btn--ghost:hover .arrow, .btn--ghost-light:hover .arrow { transform: translateX(5px); }

/* =====================================================================
   頂部導覽
   ===================================================================== */
.topbar {
  background: var(--jade-deep); color: var(--gold-soft);
  font-size: 11.5px; letter-spacing: 0.14em;
  text-align: center; padding: 5px 16px;
}
.topbar span + span::before { content: '·'; margin: 0 14px; color: rgba(189,156,94,.5); }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,241,224,.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(43,35,22,.4); }
.header__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 6px var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px;
}
.brand {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  justify-self: center; text-decoration: none;
  transition: opacity .3s ease;
}
.brand:hover { opacity: .8; }
.brand__emblem { height: 48px; width: auto; max-width: none; margin-bottom: 3px; display: block; }
.brand__name-row { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; }
.brand__line {
  width: 24px; height: 1px; flex-shrink: 0;
  background: linear-gradient(to right, transparent, var(--gold) 50%, transparent);
}
.brand__name {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 17px; color: var(--ink); letter-spacing: 0.26em;
  padding-left: 0.26em; line-height: 1;
  white-space: nowrap;
}
.brand__en {
  font-family: var(--font-en); font-style: italic;
  font-size: 9.5px; color: var(--gold-deep);
  letter-spacing: 0.3em; text-transform: uppercase;
  padding-left: 0.3em; line-height: 1;
}
.nav {
  display: flex; align-items: center; gap: 30px;
  justify-self: start;
}
.nav__link {
  position: relative; font-family: var(--font-serif);
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  letter-spacing: 0.22em; padding: 6px 0; transition: color .3s;
}
.nav__link:not(:last-child) { padding-right: 0; }
.header__cta { justify-self: end; }
.nav__link::after {
  content: ''; position: absolute; left: 50%; bottom: 0;
  width: 0; height: 1.5px; background: var(--gold);
  transform: translateX(-50%); transition: width .35s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.header__cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; padding: 8px;
}
.nav-toggle span {
  display: block; height: 1.6px; background: var(--ink);
  margin: 5px 0; transition: all .3s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* 行動版選單 — 漢方水墨風 */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  background:
    linear-gradient(180deg, rgba(245,238,222,.94) 0%, rgba(245,238,222,.98) 70%),
    url('/images/page-hero-bg.jpg') center/cover no-repeat;
  padding: 0 var(--gutter) 28px;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .5s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0 20px; margin-bottom: 8px;
  border-bottom: 1px solid var(--gold-soft);
}
/* 沿用全域 .brand 樣式（emblem + 雙金線+移花宮 + Yihua Palace 三層），跟 header 一致 */
.mobile-menu__bar .brand { align-items: center; gap: 4px; }
.mobile-menu__close {
  background: none; border: 1px solid var(--gold-soft); border-radius: 50%;
  cursor: pointer; width: 40px; height: 40px; padding: 0; flex-shrink: 0;
  font-size: 24px; line-height: 1; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background .35s ease, color .35s ease, transform .4s ease, border-color .35s ease;
}
.mobile-menu__close:hover, .mobile-menu__close:active {
  background: var(--gold-deep); color: #fff; border-color: var(--gold-deep);
  transform: rotate(90deg);
}

.mobile-menu__list { list-style: none; margin: 0; padding: 14px 0 4px; }
.mobile-menu.is-open .mobile-menu__list li {
  animation: m-link-in .55s cubic-bezier(.25,.46,.45,.94) both;
  animation-delay: calc(.16s + var(--i, 0) * .08s);
}
@keyframes m-link-in {
  from { opacity: 0; transform: translateY(18px); filter: blur(4px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

.mobile-menu a.m-link {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-serif); font-weight: 500;
  font-size: 17px; color: var(--ink);
  padding: 14px 4px; letter-spacing: 0.18em;
  border-bottom: 1px solid rgba(189,156,94,.22);
  transition: padding-left .4s ease, color .35s ease;
  position: relative;
}
.mobile-menu a.m-link:hover, .mobile-menu a.m-link:active {
  padding-left: 12px; color: var(--gold-deep);
}
.mobile-menu .m-link__idx {
  font-family: var(--font-en); font-style: italic; font-size: 13px;
  color: var(--gold); min-width: 24px; letter-spacing: 0.08em; opacity: .8;
}
.mobile-menu .m-link__text { flex: 1; }
.mobile-menu .m-link__arrow {
  font-family: var(--font-en); font-size: 15px; color: var(--gold-soft);
  opacity: 0; transform: translateX(-8px);
  transition: opacity .35s ease, transform .35s ease;
}
.mobile-menu a.m-link:hover .m-link__arrow,
.mobile-menu a.m-link:active .m-link__arrow {
  opacity: 1; transform: translateX(0);
}

.mobile-menu .m-cta {
  margin-top: 4px; padding-top: 14px;
  border-top: 1px solid var(--gold-soft);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.mobile-menu .m-cta .btn { width: 100%; justify-content: center; }
.mobile-menu .m-socials { display: flex; gap: 14px; }
.mobile-menu .m-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--gold-soft); color: var(--gold-deep);
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}
.mobile-menu .m-socials a:hover, .mobile-menu .m-socials a:active {
  background: var(--gold-deep); color: #fff; border-color: var(--gold-deep);
  transform: translateY(-2px);
}
.mobile-menu .m-socials svg { width: 16px; height: 16px; fill: currentColor; }
.mobile-menu .m-seal { width: 56px; height: auto; opacity: .82; margin-top: 4px; }

/* =====================================================================
   Banner 輪播
   ===================================================================== */
.banner {
  position: relative; overflow: hidden;
  height: 64vh; min-height: 460px; max-height: 720px;
  background: var(--jade-deep);
}
.banner__track { height: 100%; }
.banner__slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1.1s ease;
}
.banner__slide.is-active { opacity: 1; visibility: visible; }
.banner__slide img.banner__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.06);
}
.banner__slide.is-active img.banner__bg {
  animation: bannerZoom 7s ease forwards;
}
@keyframes bannerZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(28,33,24,.78) 0%, rgba(28,33,24,.42) 48%, rgba(28,33,24,.2) 100%);
}
.banner__inner {
  position: relative; height: 100%;
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; flex-direction: column; justify-content: center;
}
.banner__content { max-width: 620px; color: #fff; }
.banner__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--clay); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  padding: 7px 16px; border-radius: 2px; margin-bottom: 18px;
}
.banner__kicker {
  font-family: var(--font-sans); font-size: 13.5px;
  letter-spacing: 0.24em; color: var(--gold-soft);
  font-weight: 600; margin-bottom: 16px;
}
.banner__title {
  font-family: var(--font-serif); color: #fff; font-weight: 700;
  font-size: clamp(36px, 5.6vw, 68px); line-height: 1.22;
  letter-spacing: 0.06em; margin-bottom: 14px;
  text-shadow: 0 2px 24px rgba(0,0,0,.3);
}
.banner__subtitle {
  font-family: var(--font-serif); font-size: clamp(16px, 2vw, 21px);
  color: rgba(255,255,255,.92); letter-spacing: 0.04em; margin-bottom: 16px;
}
.banner__lede {
  font-size: 15.5px; line-height: 1.95;
  color: rgba(255,255,255,.82); max-width: 42ch; margin-bottom: 28px;
}
.banner__cta { display: flex; gap: 12px; flex-wrap: wrap; }
/* slide 進場動畫 */
.banner__slide.is-active .banner__badge,
.banner__slide.is-active .banner__kicker,
.banner__slide.is-active .banner__title,
.banner__slide.is-active .banner__subtitle,
.banner__slide.is-active .banner__lede,
.banner__slide.is-active .banner__cta {
  animation: bannerUp .9s ease both;
}
.banner__slide.is-active .banner__kicker   { animation-delay: .15s; }
.banner__slide.is-active .banner__title    { animation-delay: .28s; }
.banner__slide.is-active .banner__subtitle { animation-delay: .4s; }
.banner__slide.is-active .banner__lede     { animation-delay: .5s; }
.banner__slide.is-active .banner__cta      { animation-delay: .6s; }
@keyframes bannerUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* 輪播控制 */
.banner__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5; width: 50px; height: 50px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.4);
  color: #fff; cursor: pointer; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; transition: all .3s ease;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.banner__arrow:hover { background: rgba(255,255,255,.95); color: var(--ink); }
.banner__arrow--prev { left: clamp(12px, 3vw, 32px); }
.banner__arrow--next { right: clamp(12px, 3vw, 32px); }
.banner__dots {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; gap: 12px;
}
.banner__dot {
  width: 36px; height: 3px; background: rgba(255,255,255,.35);
  border: 0; cursor: pointer; padding: 0; transition: background .3s;
}
.banner__dot.is-active { background: var(--gold-soft); }

/* =====================================================================
   首頁區塊
   ===================================================================== */
/* 品牌簡介 */
.intro { text-align: center; }
.intro__seal {
  width: 70px; height: 70px; margin: 0 auto 26px;
  border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.intro__seal img { width: 44px; }
.intro__text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.7vw, 30px); line-height: 1.95;
  color: var(--ink); letter-spacing: 0.05em; max-width: 26ch; margin: 0 auto;
}
.intro__sub { margin-top: 22px; color: var(--ink-soft); max-width: 52ch; margin-left: auto; margin-right: auto; }

/* 服務概覽（首頁） */
.svc-head {
  display: grid; grid-template-columns: 1fr auto; gap: 32px;
  align-items: end; margin-bottom: 52px;
}
.svc-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.svc-tile {
  position: relative; overflow: hidden;
  min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 38px; color: #fff; border-radius: 3px;
}
.svc-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 1.2s ease;
}
.svc-tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,33,24,.15) 0%, rgba(28,33,24,.85) 100%);
}
.svc-tile:hover img { transform: scale(1.07); }
.svc-tile__body { position: relative; z-index: 2; }
.svc-tile__no {
  font-family: var(--font-en); font-style: italic;
  font-size: 15px; color: var(--gold-soft); margin-bottom: 10px;
}
.svc-tile__name {
  font-family: var(--font-serif); font-size: 27px; font-weight: 700;
  color: #fff; letter-spacing: 0.06em; margin-bottom: 8px;
}
.svc-tile__en { font-family: var(--font-en); font-style: italic; font-size: 14px; color: var(--gold-soft); margin-bottom: 12px; }
.svc-tile__desc { font-size: 14.5px; line-height: 1.85; color: rgba(255,255,255,.85); margin-bottom: 18px; }
.svc-tile__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--gold-soft); letter-spacing: 0.1em;
}
.svc-tile:hover .svc-tile__link { color: #fff; }

/* 堅持 / 為什麼選移花宮 */
.commit-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.commit {
  padding: 34px 28px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper-warm); transition: background .3s ease;
}
.commit:hover { background: var(--paper); }
.commit__num {
  font-family: var(--font-en); font-style: italic;
  font-size: 26px; color: var(--gold-soft); margin-bottom: 14px;
}
.commit__title {
  font-family: var(--font-serif); font-size: 19px; font-weight: 700;
  color: var(--ink); margin-bottom: 10px; letter-spacing: 0.05em;
}
.commit__text { font-size: 14px; line-height: 1.85; color: var(--ink-soft); }

/* 空間氛圍 */
.space-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); }
.space-card { }
.space-card__img { overflow: hidden; aspect-ratio: 4/3; border-radius: 3px; margin-bottom: 22px; }
.space-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s cubic-bezier(.25,.46,.45,.94);
}
.space-card:hover .space-card__img img { transform: scale(1.05); }
.space-card__title { font-size: 22px; margin-bottom: 10px; color: var(--ink); }
.space-card__text { font-size: 15px; line-height: 1.9; color: var(--ink-soft); }

/* 流程 */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow-step { text-align: center; position: relative; }
.flow-step__no {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 26px; color: var(--gold-deep);
  background: var(--paper);
}
.flow-step__title { font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.flow-step__text { font-size: 14px; line-height: 1.8; color: var(--ink-soft); }

/* 顧客口碑 */
.testi-rating { text-align: center; margin-bottom: 44px; }
/* 顧客口碑區整體收高，縮短到加盟區的滾動距離 */
.section--testi { padding-top: clamp(52px, 6vw, 68px); padding-bottom: clamp(52px, 6vw, 68px); }
.section--testi .ed-head { margin-bottom: 30px; }
.section--testi .testi-rating { margin-bottom: 22px; }
.section--testi .testi-more { margin-top: 30px; }
.testi-rating__score {
  font-family: var(--font-en); font-size: 60px; font-weight: 600;
  color: var(--gold-deep); line-height: 1;
}
.testi-rating__stars { color: var(--gold); letter-spacing: 4px; font-size: 18px; margin: 8px 0; }
.testi-rating__note { font-size: 13px; color: var(--ink-faint); letter-spacing: 0.16em; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--paper); border: 1px solid var(--line);
  padding: 32px 28px; border-radius: 3px; position: relative;
}
.testi-card__quote {
  font-family: var(--font-en); font-size: 56px; color: var(--gold-soft);
  line-height: .6; height: 22px; opacity: .55;
}
.testi-card__text { font-size: 15px; line-height: 1.95; color: var(--ink-soft); margin-bottom: 18px; }
.testi-card__name { font-family: var(--font-serif); font-weight: 700; color: var(--ink); font-size: 15px; }
.testi-card__source { font-size: 12.5px; color: var(--ink-faint); letter-spacing: 0.1em; margin-top: 2px; }
.testi-more { text-align: center; margin-top: clamp(34px, 5vw, 52px); }
.testi-more__label { display: block; font-size: 13.5px; color: var(--ink-soft); letter-spacing: 0.16em; margin-bottom: 18px; }
.testi-more__links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* 窄手機把兩顆評論按鈕壓緊，維持同一排不換行 */
@media (max-width: 600px) {
  .testi-more__links { gap: 10px; flex-wrap: nowrap; }
  .testi-more__links .btn { padding: 11px 12px; gap: 6px; letter-spacing: 0.04em; font-size: 12.5px; }
}

/* 歡迎加盟 */
.franchise {
  position: relative; text-align: center;
  background: var(--jade); color: var(--cream);
  padding: clamp(64px, 9vw, 110px) var(--gutter);
  overflow: hidden;
}
.franchise::before, .franchise::after {
  content: ''; position: absolute; width: 220px; height: 220px;
  border: 1px solid rgba(189,156,94,.3); border-radius: 50%;
}
.franchise::before { top: -110px; left: -80px; }
.franchise::after { bottom: -130px; right: -90px; }
.franchise__inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.franchise__title {
  font-family: var(--font-serif); color: #fff; font-weight: 700;
  font-size: clamp(28px, 4vw, 44px); letter-spacing: 0.06em; line-height: 1.4;
}
.franchise__title .light { color: var(--gold-soft); display: block; font-size: .62em; margin-top: 10px; }
.franchise__text {
  margin: 24px auto 32px; max-width: 40ch;
  font-size: 16px; line-height: 2; color: rgba(248,241,224,.85);
}

/* 預約 CTA 區 */
.cta-band {
  position: relative; text-align: center;
  padding: clamp(60px, 8vw, 100px) var(--gutter);
  background:
    linear-gradient(rgba(28,33,24,.84), rgba(28,33,24,.84)),
    url('/images/lobby-design.jpg') center/cover fixed;
  color: #fff;
}
.cta-band__title { font-family: var(--font-serif); color: #fff; font-size: clamp(26px, 3.6vw, 42px); letter-spacing: 0.06em; }
.cta-band__text { margin: 18px auto 30px; max-width: 44ch; color: rgba(255,255,255,.85); font-size: 16px; line-height: 1.95; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) {
  .cta-band__actions {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 10px; max-width: 340px; margin: 0 auto;
  }
  .cta-band__actions .btn { width: 100%; justify-content: center; padding-left: 8px; padding-right: 8px; font-size: 13.5px; }
  .cta-band__actions > .btn--ghost-light { grid-column: 1 / -1; }
}

/* =====================================================================
   內頁共用
   ===================================================================== */
.page-hero {
  position: relative; padding: clamp(56px, 7vw, 100px) 0 clamp(36px, 4vw, 55px);
  background: var(--cream-2);
  text-align: center; overflow: hidden;
}
.page-hero--bg-ink {
  background-image: url('/images/page-hero-bg.jpg');
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
  background-color: var(--cream-2);
  min-height: clamp(260px, 26vw, 380px);
  padding: clamp(40px, 5vw, 70px) 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero--bg-ink::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg,
    rgba(245,238,222,.2) 0%,
    rgba(245,238,222,.45) 55%,
    rgba(245,238,222,.7) 100%);
}
.page-hero--bg-ink > .container { position: relative; z-index: 2; }
.page-hero--bg-ink > .corner-frame { z-index: 3; }
.page-hero__kicker {
  font-family: var(--font-en); font-style: italic;
  font-size: 17px; color: var(--gold-deep); letter-spacing: 0.08em; margin-bottom: 12px;
}
.page-hero__title { font-size: clamp(32px, 5vw, 56px); color: var(--ink); letter-spacing: 0.08em; }
.page-hero__lede { margin: 18px auto 0; max-width: 50ch; color: var(--ink-soft); font-size: 16px; line-height: 1.95; }
.breadcrumb {
  font-size: 13px; color: var(--ink-faint); letter-spacing: 0.06em; margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb span { margin: 0 8px; opacity: .6; }

/* 關於頁 */
.about-origin { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.about-origin__img { position: relative; }
.about-origin__img img { width: 100%; border-radius: 3px; }
.about-origin__img::after {
  content: ''; position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold); z-index: -1;
}
.about-origin__text p { margin-bottom: 16px; font-size: 16px; line-height: 2; color: var(--ink-soft); }
.about-origin__text p:first-of-type {
  font-family: var(--font-serif); font-size: 21px; color: var(--ink); line-height: 1.9;
}

.vm-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 70px); }
.vm-vision {
  background: var(--jade); color: var(--cream);
  padding: clamp(36px, 5vw, 56px); border-radius: 3px;
  display: flex; flex-direction: column; justify-content: center;
}
.vm-vision .kicker { color: var(--gold-soft); }
.vm-vision .kicker::before { background: var(--gold-soft); }
.vm-vision__text {
  font-family: var(--font-serif); font-size: clamp(20px, 2.5vw, 27px);
  line-height: 1.9; color: #fff; letter-spacing: 0.04em;
}
.vm-mission__list { margin-top: 8px; }
.vm-mission__item {
  display: flex; gap: 18px; padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.vm-mission__item:last-child { border-bottom: 0; }
.vm-mission__no {
  font-family: var(--font-en); font-style: italic; font-size: 20px;
  color: var(--gold-soft); flex-shrink: 0; padding-top: 2px;
}
.vm-mission__text { font-family: var(--font-serif); font-size: 18px; color: var(--ink); letter-spacing: 0.04em; }

/* 時間軸 */
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 14px; top: 8px; bottom: 8px;
  width: 1px; background: var(--line);
}
.timeline-item { position: relative; padding: 0 0 38px 56px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item__dot {
  position: absolute; left: 7px; top: 6px;
  width: 15px; height: 15px; background: var(--gold);
  border-radius: 50%; border: 3px solid var(--cream);
}
.timeline-item__year {
  font-family: var(--font-en); font-size: 19px; font-weight: 600;
  color: var(--gold-deep); letter-spacing: 0.04em; margin-bottom: 4px;
}
.timeline-item__title { font-size: 20px; color: var(--ink); margin-bottom: 6px; }
.timeline-item__text { font-size: 15px; line-height: 1.85; color: var(--ink-soft); }
.timeline-item--cont { margin-top: -16px; }

/* 集團 */
.group-band {
  background: var(--cream-2); border: 1px solid var(--line);
  padding: clamp(36px, 5vw, 60px); border-radius: 3px; text-align: center;
}
.group-band__name { font-size: 26px; color: var(--ink); margin-bottom: 14px; letter-spacing: 0.08em; }
.group-band__text { max-width: 56ch; margin: 0 auto; font-size: 15.5px; line-height: 2; color: var(--ink-soft); }

/* =====================================================================
   服務項目頁
   ===================================================================== */
.svc-section + .svc-section { margin-top: clamp(56px, 8vw, 100px); }
.svc-section__head { margin-bottom: 40px; }
.svc-section__name { font-size: clamp(26px, 3.4vw, 38px); color: var(--ink); letter-spacing: 0.06em; }
.svc-section__en { font-family: var(--font-en); font-style: italic; color: var(--gold-deep); font-size: 17px; margin-top: 6px; }
.svc-section__desc { margin-top: 14px; max-width: 56ch; color: var(--ink-soft); font-size: 15.5px; line-height: 1.95; }

/* svc-section 主視覺版 — 圖 + 文字並排 */
.svc-section--with-media .svc-section__head {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(30px, 5vw, 64px); align-items: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.svc-section--reverse .svc-section__head { direction: rtl; }
.svc-section--reverse .svc-section__text { direction: ltr; }
.svc-section--reverse .svc-section__media { direction: ltr; }
.svc-section__media {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; border-radius: 4px;
  box-shadow: 0 20px 40px -24px rgba(43,35,22,.35);
}
.svc-section__media--portrait {
  aspect-ratio: 4/5;
  max-width: 420px;
  width: 100%;
  justify-self: end;
}
.svc-section--reverse .svc-section__media--portrait { justify-self: start; }

/* 左偏排版：圖左 + 文字左，右側大留白（跟 reverse 形成節奏對比） */
.svc-section--align-left .svc-section__head {
  grid-template-columns: auto minmax(0, 480px);
  justify-content: start;
  gap: clamp(36px, 5vw, 72px);
}
.svc-section--align-left .svc-section__media--portrait { justify-self: start; }
.svc-section__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.25,.46,.45,.94);
}
.svc-section--with-media:hover .svc-section__media img { transform: scale(1.04); }
.svc-section__text .kicker { display: inline-block; margin-bottom: 12px; }
.svc-section__text .svc-section__name { margin-bottom: 0; }
.svc-section__text .svc-section__desc { margin-top: 18px; }

@media (max-width: 820px) {
  .svc-section--with-media .svc-section__head { grid-template-columns: 1fr; }
  .svc-section--reverse .svc-section__head { direction: ltr; }
  .svc-section__media--portrait,
  .svc-section--reverse .svc-section__media--portrait {
    justify-self: center;
    max-width: 360px;
  }
}

.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.course-card {
  position: relative; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 3px; padding: 42px 34px;
  display: flex; flex-direction: column;
  /* transition 只放在 :hover，離開時瞬間歸位避免多卡換卡很花 */
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -28px rgba(43,35,22,.4);
  border-color: var(--gold-soft);
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
/* 水墨渲染 — hover 時從左上角慢慢暈開（像墨滴落卡上） */
.course-card::before {
  content: ''; position: absolute;
  top: -10%; left: -10%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle,
    rgba(189,156,94,.32) 0%,
    rgba(189,156,94,.14) 35%,
    rgba(189,156,94,.04) 60%,
    transparent 75%);
  border-radius: 50%;
  filter: blur(28px);
  transform: scale(0);
  transform-origin: top left;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}
.course-card > * { position: relative; z-index: 1; }
.course-card:hover::before {
  transform: scale(4);
  opacity: 1;
  transition: transform 2.8s cubic-bezier(.25,.46,.45,.94), opacity 1s ease;
}

/* 號碼 — 跟五感 sense__mark 同樣式：雙圈 + font-display 30px */
.course-card__code {
  width: 66px; height: 66px; flex-shrink: 0;
  border: 1px solid var(--gold); color: var(--gold-deep);
  font-family: var(--font-display); font-weight: 700; font-size: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; margin-bottom: 26px;
  position: relative;
}
.course-card__code::after {
  content: ''; position: absolute; inset: 5px;
  border: 1px solid var(--line); border-radius: 50%;
}
.course-card:hover .course-card__code {
  background: var(--gold); color: #fff;
  transition: background .5s ease, color .5s ease;
}

.course-card__name { font-size: 26px; color: var(--ink); letter-spacing: 0.06em; margin-bottom: 8px; line-height: 1.4; }
.course-card__tagline {
  font-size: 14px; color: var(--gold-deep); letter-spacing: 0.08em; font-weight: 600;
  padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}
.course-card__meta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  font-size: 14px; color: var(--ink-soft);
  padding: 0 0 16px;
  margin-bottom: 16px;
}
.course-card__meta .dur { font-weight: 700; color: var(--ink); font-size: 15px; }
.course-card__meta-note { font-size: 12px; color: var(--ink-faint); letter-spacing: 0.04em; }
.course-card__desc { font-size: 14.5px; line-height: 1.95; color: var(--ink-soft); margin-bottom: 22px; }

.course-card__highlights { list-style: none; padding: 0; margin: 0 0 26px; }
.course-card__highlights li {
  position: relative; padding-left: 22px; margin-bottom: 10px;
  font-size: 14px; color: var(--ink); line-height: 1.6;
}
.course-card__highlights li::before {
  content: '✦'; position: absolute; left: 0; top: 0;
  color: var(--gold); font-size: 13px; line-height: 1.4;
}

.course-card__price {
  margin-top: auto; padding-top: 16px;
  border-top: 1.5px solid var(--gold-soft);
  display: flex; flex-direction: column; gap: 8px;
  font-variant-numeric: tabular-nums;
}
.price-original {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 6px 4px;
  font-size: 14px; color: var(--ink);
}
.price-original__lbl { letter-spacing: 0.08em; font-weight: 600; }
.price-original__val {
  font-family: var(--font-serif); font-weight: 600;
  letter-spacing: 0.02em;
}
.price-block {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 6px 4px;
}
.price-block__lbl {
  font-size: 11.5px; letter-spacing: 0.1em;
  padding: 5px 10px; border-radius: 3px;
  color: #fff; font-weight: 600; line-height: 1.2;
  white-space: nowrap; flex-shrink: 0;
}
.price-block__val {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(18px, 1.9vw, 22px);
  letter-spacing: 0.02em; line-height: 1;
  white-space: nowrap;
}
.price-block--first .price-block__lbl { background: var(--clay); }
.price-block--first .price-block__val { color: var(--clay); }
.price-block--second .price-block__lbl { background: var(--gold-deep); }
.price-block--second .price-block__val { color: var(--gold-deep); }
.course-card__note { font-size: 12px; color: var(--ink-faint); margin-top: 10px; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 24px 40px 24px 0; position: relative;
  font-family: var(--font-serif); font-size: 18px; color: var(--ink);
  letter-spacing: 0.03em; line-height: 1.6;
}
.faq-item__q::after {
  content: '+'; position: absolute; right: 4px; top: 22px;
  font-size: 24px; color: var(--gold); font-family: var(--font-sans);
  transition: transform .3s ease;
}
.faq-item.is-open .faq-item__q::after { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}
.faq-item.is-open .faq-item__a { padding: 0 40px 26px 0; }
.faq-item__a p { font-size: 15px; line-height: 2; color: var(--ink-soft); }

/* =====================================================================
   分店資訊頁
   ===================================================================== */
.branch-list { display: flex; flex-direction: column; gap: clamp(32px, 5vw, 64px); }
.branch-card {
  display: grid; grid-template-columns: 1.05fr 1fr;
  background: var(--paper); border: 1px solid var(--line); border-radius: 3px;
  overflow: hidden;
}
.branch-card:nth-child(even) { grid-template-columns: 1fr 1.05fr; }
.branch-card:nth-child(even) .branch-card__media { order: 2; }
.branch-card__media { position: relative; min-height: 320px; overflow: hidden; }
.branch-card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s cubic-bezier(.25,.46,.45,.94);
}
.branch-card:hover .branch-card__media img { transform: scale(1.05); }
.branch-card__badge {
  position: absolute; top: 18px; left: 18px;
  background: var(--gold); color: #fff;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em;
  padding: 6px 14px; border-radius: 2px;
}
.branch-card__body { padding: clamp(30px, 4vw, 50px); display: flex; flex-direction: column; }
.branch-card__name { font-size: 28px; color: var(--ink); letter-spacing: 0.06em; margin-bottom: 6px; }
.branch-card__district { font-size: 13.5px; color: var(--gold-deep); letter-spacing: 0.08em; margin-bottom: 22px; }
.branch-info { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.branch-info__row { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.7; }
.branch-info__label {
  flex-shrink: 0; width: 68px; color: var(--gold-deep);
  font-family: var(--font-serif); font-weight: 700;
}
.branch-info__val { color: var(--ink-soft); }
.branch-parking { display: flex; flex-direction: column; gap: 5px; }
.branch-parking__link {
  display: inline-flex; align-items: center; gap: 4px; width: fit-content;
  color: var(--ink-soft); text-decoration: none; transition: color .3s ease;
}
.branch-pin {
  flex-shrink: 0; width: 15px; height: 15px; color: var(--gold-deep);
  opacity: .8; transition: opacity .3s ease, transform .3s ease;
}
.branch-addr { display: flex; align-items: flex-start; gap: 6px; }
.branch-addr .branch-pin { margin-top: 3px; }
/* 窄手機：LINE 預約 + 查看地圖 平分一排不跨行 */
.btn-short { display: none; }
@media (max-width: 600px) {
  .branch-card__actions { flex-wrap: nowrap; gap: 10px; }
  .branch-card__actions .btn {
    flex: 1 1 0; min-width: 0; justify-content: center;
    padding: 13px 12px; font-size: 13px; letter-spacing: 0.04em; white-space: nowrap;
  }
  .btn-full { display: none; }
  .btn-short { display: inline; }
}
.branch-parking__link:hover { color: var(--gold-deep); }
.branch-parking__link:hover .branch-pin { opacity: 1; transform: scale(1.08); }
.branch-card__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }

.branch-future {
  text-align: center; border: 1px dashed var(--line);
  padding: 48px var(--gutter); border-radius: 3px; background: var(--paper-warm);
}
.branch-future__title { font-size: 22px; color: var(--ink); margin-bottom: 10px; }
.branch-future__text { font-size: 15px; color: var(--ink-soft); }

/* 聯絡 / 社群 */
.contact-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px; max-width: 880px; margin: 0 auto;
}
.contact-card {
  text-align: center; background: var(--paper); border: 1px solid var(--line);
  padding: 34px 24px; border-radius: 3px;
}
.contact-card__qr {
  width: 100%; max-width: 150px; aspect-ratio: 1 / 1; height: auto; margin: 0 auto 18px;
  border: 1px solid var(--line); padding: 10px; background: #fff;
}
.contact-card__qr img { width: 100%; height: 100%; object-fit: contain; }
.contact-card__name { font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.contact-card__text { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 14px; }

/* =====================================================================
   頁尾
   ===================================================================== */
.footer { background: var(--jade-deep); color: rgba(248,241,224,.78); }
.footer__top {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(54px, 7vw, 84px) var(--gutter) 50px;
  display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 44px;
}
.footer__brand-emblem { height: 64px; width: auto; max-width: none; margin-bottom: 18px; display: block; }
.footer__brand-name { font-family: var(--font-serif); font-size: 22px; color: var(--cream); letter-spacing: 0.14em; margin-bottom: 6px; }
.footer__brand-en { font-family: var(--font-en); font-style: italic; font-size: 12px; color: var(--gold-soft); letter-spacing: 0.1em; margin-bottom: 16px; }
.footer__brand-text { font-size: 14px; line-height: 1.9; color: rgba(248,241,224,.6); max-width: 34ch; }
.footer__col { padding-top: 82px; /* 對齊「移花宮古法頭湯舒養」標題（emblem 64 + margin 18） */ }
.footer__col h4 {
  font-family: var(--font-serif); font-size: 15px; color: var(--cream);
  letter-spacing: 0.14em; margin-bottom: 18px; font-weight: 700;
}
.footer__col a, .footer__col p {
  display: block; font-size: 14px; color: rgba(248,241,224,.7);
  padding: 5px 0; transition: color .25s;
}
.footer__col a:hover { color: var(--gold-soft); }
.footer__nav-row {
  display: flex; flex-direction: column; gap: 2px;
  width: 100%; min-width: 0;
}
.footer__nav-row a {
  display: block; padding: 5px 0; white-space: nowrap;
}
.footer__branch { padding: 6px 0 10px; }
.footer__branch + .footer__branch { padding-top: 12px; border-top: 1px dashed rgba(189,156,94,.18); }
.footer__branch-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px;
  line-height: 1;
}
.footer__branch-name {
  font-family: var(--font-serif); font-size: 14.5px; color: var(--cream);
  font-weight: 700; letter-spacing: 0.06em;
  line-height: 1;
}
a.footer__branch-line {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: transparent; color: var(--gold-soft);
  border: 1px solid rgba(189,156,94,.45);
  padding: 0; flex-shrink: 0;
  transition: background .3s ease, transform .3s ease, color .3s ease, border-color .3s ease;
}
a.footer__branch-line:hover {
  background: var(--gold-deep); color: var(--cream);
  border-color: var(--gold-deep); transform: translateY(-2px);
}
.footer__branch-line svg { width: 14px; height: 14px; fill: currentColor; display: block; }
.footer__branch-addr {
  display: inline-flex !important; align-items: center; gap: 6px;
  font-size: 13px; color: rgba(248,241,224,.6) !important;
  padding: 2px 0 !important; line-height: 1.6;
  transition: color .25s ease;
}
.footer__branch-addr:hover { color: var(--gold-soft) !important; }
.footer__branch-arrow {
  font-family: var(--font-en); font-size: 14px; color: var(--gold-soft);
  opacity: 0; transform: translateX(-4px);
  transition: opacity .3s ease, transform .3s ease;
}
.footer__branch-addr:hover .footer__branch-arrow {
  opacity: 1; transform: translateX(0);
}
.footer__socials { display: flex; gap: 12px; }
.footer__bottom-left { display: flex; flex-direction: column; gap: 4px; }
.footer__tagline { font-size: 11.5px; color: rgba(248,241,224,.4); letter-spacing: 0.14em; }
.footer__social {
  width: 38px; height: 38px; border: 1px solid rgba(189,156,94,.4);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--gold-soft); letter-spacing: 0.04em; transition: all .3s;
}
.footer__social svg { width: 17px; height: 17px; }
.footer__social:hover { background: var(--gold); color: #fff; border-color: var(--gold); transform: translateY(-2px); }
.footer__bottom {
  border-top: 1px solid rgba(189,156,94,.18);
  max-width: var(--maxw); margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(248,241,224,.5); letter-spacing: 0.04em;
}

/* =====================================================================
   LINE 浮動鈕
   ===================================================================== */
.line-fab-wrap { position: fixed; right: 22px; bottom: 22px; z-index: 60; }
.line-fab {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(6, 199, 85, 0.85);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  color: #fff;
  padding: 13px 20px 13px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.06em;
  box-shadow: 0 14px 32px -12px rgba(6,199,85,.4), 0 4px 12px rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer; font-family: inherit;
  transition: background .35s ease, transform .35s ease, box-shadow .3s ease, opacity .4s ease;
}
.line-fab:hover {
  transform: translateY(-3px);
  background: rgba(6, 199, 85, 0.96);
  box-shadow: 0 18px 36px -10px rgba(6,199,85,.55), 0 6px 14px rgba(0,0,0,.15);
}
.line-fab-wrap.is-hidden { opacity: 0; pointer-events: none; transform: translateY(20px); transition: opacity .4s ease, transform .4s ease; }

.line-fab-popup {
  position: absolute; bottom: calc(100% + 12px); right: 0;
  background: rgba(248, 241, 224, 0.78);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(189, 156, 94, 0.45);
  border-radius: 10px;
  box-shadow: 0 18px 40px -12px rgba(43,35,22,.22), 0 6px 16px rgba(0,0,0,.08);
  padding: 14px; min-width: 260px;
  max-height: calc(100vh - 130px); overflow-y: auto;
  display: flex; flex-direction: column; gap: 6px;
  transform-origin: bottom right;
  animation: line-popup-in .28s cubic-bezier(.34, 1.56, .64, 1) both;
}
.line-fab-popup__foot {
  margin-top: 8px; padding-top: 10px;
  border-top: 1px dashed rgba(189,156,94,.4);
  font-size: 12.5px; color: var(--ink-soft);
  text-align: center; letter-spacing: 0.06em;
  text-decoration: none;
  transition: color .25s ease;
}
.line-fab-popup__foot:hover { color: var(--gold-deep); }
.line-fab-popup[hidden] { display: none; }
@keyframes line-popup-in {
  from { opacity: 0; transform: scale(.85) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.line-fab-popup__head {
  font-family: var(--font-serif); font-size: 13px; color: var(--ink-soft);
  letter-spacing: 0.12em; padding: 4px 8px 8px; text-align: center;
  border-bottom: 1px dashed rgba(189,156,94,.4); margin-bottom: 4px;
}
.line-fab-popup__item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 10px; border-radius: 6px;
  text-decoration: none; color: var(--ink);
  transition: background .25s ease, transform .25s ease;
}
.line-fab-popup__item:hover {
  background: linear-gradient(90deg, rgba(189,156,94,.18), rgba(189,156,94,.04));
  transform: translateX(2px);
}
.line-fab-popup__item:hover .line-fab-popup__name { color: var(--gold-deep); }
.line-fab-popup__item:hover .line-fab-popup__sub { color: var(--ink); }
.line-fab-popup__icon {
  width: 28px; height: 28px; flex-shrink: 0;
  color: #06C755;
  background: #fff; border-radius: 50%;
  padding: 4px; box-sizing: border-box;
}
.line-fab-popup__info { flex: 1; min-width: 0; }
.line-fab-popup__name {
  font-family: var(--font-serif); font-size: 15px; font-weight: 700;
  color: var(--ink); letter-spacing: 0.04em;
}
.line-fab-popup__sub {
  font-size: 12px; color: var(--ink-soft);
  margin-top: 2px; letter-spacing: 0.04em;
}
.line-fab-popup__arrow {
  font-family: var(--font-en); font-size: 16px; color: var(--gold-soft);
  flex-shrink: 0; opacity: 0; transform: translateX(-4px);
  transition: opacity .25s ease, transform .25s ease;
}
.line-fab-popup__item:hover .line-fab-popup__arrow {
  opacity: 1; transform: translateX(0);
}
.line-fab__icon {
  width: 22px; height: 22px; color: #fff; flex-shrink: 0;
  display: block;
}

/* =====================================================================
   進場動畫 — 電影感（blur + scale + lift）
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(.985);
  filter: blur(6px);
  transition:
    opacity .95s cubic-bezier(.25,.46,.45,.94),
    transform 1.05s cubic-bezier(.25,.46,.45,.94),
    filter .85s ease-out;
  will-change: transform, opacity, filter;
}
.reveal.is-in { opacity: 1; transform: none; filter: blur(0); }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }

/* 變體：放大進場（用在大圖／印章類） */
.reveal--scale { transform: scale(.92); filter: blur(8px); }
.reveal--scale.is-in { transform: scale(1); filter: blur(0); }
/* 變體：從右側滑入（用在副標、引言） */
.reveal--right { transform: translateX(40px) scale(.99); }
.reveal--right.is-in { transform: none; }
/* 變體：clip-path 由下而上揭開（用在大標） */
.reveal--clip { opacity: 1; filter: none; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(.7,0,.3,1); }
.reveal--clip.is-in { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--scale, .reveal--right, .reveal--clip {
    opacity: 1; transform: none; filter: none; clip-path: none; transition: none;
  }
  .banner__slide.is-active img.banner__bg { animation: none; }
}

/* =====================================================================
   卡片 hover — 金色光暈（與鎏金翠玉按鈕同語言）
   ===================================================================== */
.course-card, .svc-tile, .commit, .testi-card, .branch-card, .contact-card, .space-card {
  transition: transform .55s cubic-bezier(.25,.46,.45,.94), box-shadow .55s ease, border-color .55s ease;
}
.course-card:hover { box-shadow: 0 26px 60px -32px rgba(43,35,22,.45), 0 0 28px -6px rgba(189,156,94,.32); border-color: var(--gold-soft); }
.svc-tile:hover { box-shadow: 0 30px 60px -32px rgba(43,35,22,.55), 0 0 36px -10px rgba(189,156,94,.4); }
.commit:hover { box-shadow: 0 14px 30px -16px rgba(43,35,22,.22) inset; }
.testi-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -20px rgba(43,35,22,.3), 0 0 22px -8px rgba(189,156,94,.28); border-color: var(--gold-soft); }
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -22px rgba(43,35,22,.35), 0 0 22px -8px rgba(189,156,94,.3); border-color: var(--gold-soft); }
.space-card:hover { transform: translateY(-3px); }

/* =====================================================================
   空間視差 — 用現代 CSS scroll-driven animation
   ===================================================================== */
@supports (animation-timeline: view()) {
  .space-card__img img {
    animation: spaceParallax linear both;
    animation-timeline: view();
    animation-range: cover 0% cover 100%;
    animation-composition: add;
  }
  @keyframes spaceParallax {
    from { transform: translateY(-6%) scale(1.08); }
    to   { transform: translateY(6%) scale(1.08); }
  }
}

/* =====================================================================
   編輯感版式 — 直書、朱印、漢字序號、不對稱標題
   （讓版面有真人編排的節奏，避免置中套版感）
   ===================================================================== */

/* ── 直書文字 ── */
.vtext {
  writing-mode: vertical-rl; text-orientation: upright;
  font-family: var(--font-display);
  letter-spacing: 0.22em; line-height: 1;
}

/* ── 朱印・落款 ── */
.seal {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
  color: #fff; background: var(--seal);
  border-radius: 3px; letter-spacing: 0.12em;
  box-shadow: 0 1px 0 rgba(0,0,0,.15) inset;
}
.seal--sm { width: 38px; height: 38px; font-size: 13px; writing-mode: vertical-rl; padding: 4px 0; line-height: 1.15; }
.seal--lg { width: 62px; height: 62px; font-size: 19px; writing-mode: vertical-rl; padding: 7px 0; line-height: 1.12; }
.seal--wide { padding: 6px 12px; font-size: 13px; }
.seal-stamp {
  width: clamp(40px, 4.8vw, 56px);
  height: auto;
  display: block; flex-shrink: 0;
}
@media (max-width: 760px) {
  .seal-stamp { width: 28px; }
}

/* ── 漢字序號（大寫數字）── */
.cn-num {
  font-family: var(--font-display); font-weight: 400;
  color: var(--gold-soft); line-height: 1;
}

/* ── 編輯感區塊標題（不對稱・左置・直書副標）── */
.ed-head {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: clamp(20px, 3vw, 40px);
  align-items: start; margin-bottom: clamp(36px, 5vw, 60px);
  position: relative;
}
.ed-head__side {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding-top: 6px;
}
.ed-head__side .vtext {
  font-size: 14px; color: var(--gold-deep); font-weight: 700;
  letter-spacing: 0.3em;
}
.ed-head__side .rule { width: 1px; flex: 1; min-height: 40px; background: var(--gold); opacity: .5; }
.ed-head__eyebrow {
  font-family: var(--font-en); font-style: italic;
  font-size: 17px; color: var(--gold-deep); letter-spacing: 0.06em;
  display: block; margin-bottom: 12px;
}
.ed-head__title {
  font-family: var(--font-serif); font-weight: 700; color: var(--ink);
  font-size: clamp(29px, 4vw, 47px); line-height: 1.32; letter-spacing: 0.05em;
}
.ed-head__title em {
  font-style: normal; color: var(--gold-deep);
  font-family: var(--font-display);
}
.ed-head__lede {
  margin-top: 18px; max-width: 42ch; color: var(--ink-soft);
  font-size: 16px; line-height: 2;
}
.ed-head__aside { align-self: end; padding-bottom: 6px; }
/* 置中變體（少數區塊用，仍帶直書側標） */
.ed-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.ed-head--center .ed-head__lede { margin-left: auto; margin-right: auto; }
.ed-head--center .ed-head__seal-row {
  display: flex; align-items: center; gap: 16px; margin-bottom: 18px;
}
.ed-head--center .ed-head__seal-row .ln { width: 46px; height: 1px; background: var(--gold); }

@media (max-width: 760px) {
  .ed-head { grid-template-columns: 1fr; gap: 16px; }
  .ed-head__side { flex-direction: row; padding-top: 0; }
  .ed-head__side .vtext { writing-mode: horizontal-tb; }
  .ed-head__side .rule { width: 28px; height: 1px; min-height: 0; flex: none; align-self: center; }
}

/* =====================================================================
   漢方裝飾 — 編框角飾 + 國畫水墨元素
   ===================================================================== */
/* ── 編框：四角角飾 + 細框線 ── */
.corner-frame {
  position: absolute; inset: clamp(12px, 2vw, 22px);
  pointer-events: none; z-index: 4;
  border: 1px solid rgba(154,122,64,.3);
}
.corner-frame .cf {
  position: absolute; width: clamp(34px, 5vw, 52px); height: clamp(34px, 5vw, 52px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M0 0H46M0 0V46' fill='none' stroke='%239a7a40' stroke-width='2'/%3E%3Cpath d='M10 10H32M10 10V32' fill='none' stroke='%239a7a40' stroke-width='1.2'/%3E%3Cpath d='M10 4.5 15.5 10 10 15.5 4.5 10Z' fill='%239a7a40'/%3E%3C/svg%3E") no-repeat center / contain;
}
.corner-frame .cf--tl { top: -1px; left: -1px; }
.corner-frame .cf--tr { top: -1px; right: -1px; transform: rotate(90deg); }
.corner-frame .cf--br { bottom: -1px; right: -1px; transform: rotate(180deg); }
.corner-frame .cf--bl { bottom: -1px; left: -1px; transform: rotate(270deg); }
.corner-frame--light { border-color: rgba(189,156,94,.42); }
.corner-frame--light .cf {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M0 0H46M0 0V46' fill='none' stroke='%23bd9c5e' stroke-width='2'/%3E%3Cpath d='M10 10H32M10 10V32' fill='none' stroke='%23bd9c5e' stroke-width='1.2'/%3E%3Cpath d='M10 4.5 15.5 10 10 15.5 4.5 10Z' fill='%23bd9c5e'/%3E%3C/svg%3E");
}

/* ── 國畫水墨裝飾元素 ── */
/* 區塊主視覺 banner — 通用 16:7 寬橫圖，用於 section 頂部 */
.section-banner {
  position: relative;
  aspect-ratio: 16/7;
  overflow: hidden; border-radius: 4px;
  margin-bottom: clamp(40px, 6vw, 64px);
  box-shadow: 0 24px 50px -28px rgba(43,35,22,.3);
}
.section-banner img {
  width: 100%; height: 100%; object-fit: cover;
}
.section-banner--wide { aspect-ratio: 21/9; }

.has-deco { position: relative; overflow: hidden; }
.ink-deco {
  position: absolute; pointer-events: none; z-index: 0;
  mix-blend-mode: multiply; opacity: .28;
}
.ink-deco--pavilion { width: clamp(150px, 20vw, 280px); }
.ink-deco--bamboo { width: clamp(80px, 10vw, 130px); }
/* 內頁 hero 的 deco：再縮一些藏到邊角 */
.page-hero .ink-deco { opacity: .22; }
.page-hero .ink-deco--pavilion { width: clamp(120px, 16vw, 200px); top: -16px; right: -20px; }
.page-hero .ink-deco--bamboo { width: clamp(60px, 8vw, 100px); top: -10px; left: -16px; }
.ink-deco.tr { top: 0; right: 0; }
.ink-deco.tl { top: 0; left: 0; }
.ink-deco.br { bottom: 0; right: 0; }
.ink-deco.bl { bottom: 0; left: 0; }
/* 確保內容浮在裝飾之上（corner-frame 維持 absolute，不可改 position） */
.has-deco > .container { position: relative; z-index: 2; }

/* ── 蓮花印記分隔（升級版 ornament）── */
.ornament .lotus {
  width: 26px; height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='%239a7a40' stroke-width='1.4'%3E%3Cpath d='M16 27c0-7 0-11 0-11'/%3E%3Cpath d='M16 16c-4-3-7-2-7-2s0 5 7 5'/%3E%3Cpath d='M16 16c4-3 7-2 7-2s0 5-7 5'/%3E%3Cpath d='M16 16c0-5 0-8 0-8s-4 3-4 6 4 2 4 2'/%3E%3Cpath d='M16 16c0-5 0-8 0-8s4 3 4 6-4 2-4 2'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}

/* =====================================================================
   品牌數據・五感・宮主・聯名商品・店長
   ===================================================================== */

/* ── 品牌數據（深色窄帶，與前後米色區塊形成節奏對比）── */
.stats-band { background: var(--jade-deep); padding: clamp(40px,5vw,62px) 0; }
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat {
  text-align: center; padding: 6px clamp(10px,2vw,28px);
  border-right: 1px solid rgba(189,156,94,.22);
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.stat:last-child { border-right: 0; }
.stat:hover { transform: translateY(-6px); }
.stat__num {
  font-family: var(--font-display); font-weight: 700;
  color: var(--gold-soft); line-height: 1;
  font-size: clamp(34px, 4.6vw, 56px);
  transition: color .35s ease;
  display: flex; align-items: center; justify-content: center;
  min-height: clamp(34px, 4.6vw, 56px);
}
.stat:hover .stat__num { color: var(--cream); }
.stat__num--stars {
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: 2px;
  color: #D4A24A;
}
.stat__num .u { font-size: .42em; margin-left: 3px; color: var(--cream); opacity: .7; }
.stat__label {
  margin-top: 12px; font-size: 13.5px; letter-spacing: 0.14em;
  color: rgba(241,238,230,.62);
}

/* ── 五感舒養 ── */
.senses {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
}
.sense {
  padding: 40px 24px; text-align: center;
  border-right: 1px solid var(--line);
  transition: background .4s ease;
}
.sense:last-child { border-right: 0; }
.sense:hover { background: var(--paper-warm); }
.sense__mark {
  width: 66px; height: 66px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 30px; font-weight: 700;
  color: var(--gold-deep);
  border: 1px solid var(--gold); border-radius: 50%;
  position: relative;
}
.sense__mark::after {
  content: ''; position: absolute; inset: 5px;
  border: 1px solid var(--line); border-radius: 50%;
}
.sense:hover .sense__mark { background: var(--gold); color: #fff; }
.sense__title { font-family: var(--font-serif); font-size: 19px; color: var(--ink); margin-bottom: 8px; letter-spacing: .06em; }
.sense__text { font-size: 13.5px; line-height: 1.85; color: var(--ink-soft); }

/* ── 宮主的話 ── */
.founder {
  display: grid; grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(28px, 5vw, 76px); align-items: center;
}
.founder__media {
  position: relative;
  padding: 14px;
  background: linear-gradient(135deg, rgba(189,156,94,.18) 0%, rgba(189,156,94,.05) 50%, rgba(189,156,94,.18) 100%);
  border-radius: 4px;
}
.founder__media::before {
  /* 內框細金線 — 國畫卷軸感 */
  content: ''; position: absolute; inset: 8px;
  border: 1px solid rgba(189,156,94,.4);
  border-radius: 3px;
  pointer-events: none; z-index: 2;
}
.founder__media img {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover; object-position: center 22%;
  border-radius: 2px;
  box-shadow: 0 18px 40px -18px rgba(43,35,22,.4);
  display: block;
}
.founder__media .seal {
  position: absolute; right: -22px; bottom: 34px;
}
.founder__sign-seal {
  width: 28px; height: auto; display: block; flex-shrink: 0;
  border-radius: 3px;
}
@media (max-width: 760px) {
  .founder__sign-seal { width: 24px; }
}
.founder__quote {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 2.7vw, 33px); line-height: 1.7;
  color: var(--ink); letter-spacing: 0.04em;
  margin: 18px 0 26px; position: relative; padding-left: 26px;
}
.founder__quote::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 3px; background: var(--seal);
}
.founder__bio p { font-size: 15.5px; line-height: 2.05; color: var(--ink-soft); margin-bottom: 14px; }
.founder__sign {
  display: flex; align-items: center; gap: 14px; margin-top: 24px;
  padding-top: 20px; border-top: 1px solid var(--line);
}
.founder__sign-name { font-family: var(--font-serif); font-weight: 700; color: var(--ink); font-size: 17px; }
.founder__sign-role { font-size: 13px; color: var(--ink-faint); letter-spacing: .08em; }

/* ── 聯名商品（編輯感清單）── */
.product-list { border-top: 1px solid var(--line); }
.product-row {
  display: grid; grid-template-columns: 88px 1.3fr 2fr;
  gap: clamp(16px, 3vw, 44px); align-items: center;
  padding: 30px 8px; border-bottom: 1px solid var(--line);
  transition: background .35s ease;
}
.product-row:hover { background: var(--paper-warm); }
.product-row__no { font-family: var(--font-display); font-size: 30px; color: var(--gold-soft); }
.product-row__name { font-family: var(--font-serif); font-size: 21px; color: var(--ink); letter-spacing: .05em; }
.product-row__tag {
  display: inline-block; margin-top: 8px;
  font-size: 12px; letter-spacing: .08em; color: var(--gold-deep);
  border: 1px solid var(--line); padding: 3px 10px; border-radius: 2px;
}
.product-row__desc { font-size: 14.5px; line-height: 1.9; color: var(--ink-soft); }
.product-row__mark { font-family: var(--font-display); font-size: 22px; color: var(--line); }
.product-note { margin-top: 22px; font-size: 13px; color: var(--ink-faint); }

/* ── 店長的話（分店卡內）── */
.branch-manager {
  margin: 18px 0 22px; padding: 18px 20px;
  background: var(--paper-warm); border-left: 3px solid var(--gold);
}
.branch-manager__words {
  font-family: var(--font-serif); font-size: 14.5px; line-height: 1.85;
  color: var(--ink); letter-spacing: .03em;
}
.branch-manager__by { margin-top: 10px; font-size: 12.5px; color: var(--gold-deep); letter-spacing: .06em; }

/* ── 首頁不對稱導言 ── */
.lead__grid {
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(28px, 6vw, 88px); align-items: center;
}
.lead__rail { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.lead__rail-line { width: 1px; height: clamp(70px, 12vh, 130px); background: var(--gold); opacity: .55; }
.lead__motto { font-size: 15px; color: var(--gold-deep); font-weight: 700; letter-spacing: 0.34em; }
.lead__title {
  font-family: var(--font-serif); font-weight: 700; color: var(--ink);
  font-size: clamp(32px, 5vw, 60px); line-height: 1.3; letter-spacing: 0.05em;
  margin: 14px 0 22px;
}
.lead__title em {
  font-style: normal; display: block; margin-top: 8px;
  font-family: var(--font-display); color: var(--gold-deep);
  font-size: .68em; font-weight: 700;
}
.lead__text { max-width: 50ch; font-size: 16.5px; line-height: 2.05; color: var(--ink-soft); }
.lead__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ── 內頁 ── */
.section--first { padding-top: clamp(48px, 6vw, 80px); }

@media (max-width: 760px) {
  .lead__grid { grid-template-columns: 1fr; gap: 24px; }
  .lead__rail { flex-direction: row; gap: 16px; align-self: start; }
  .lead__rail-line { width: 40px; height: 1px; }
  .lead__motto { writing-mode: horizontal-tb; letter-spacing: 0.2em; font-size: 13px; }
}

/* =====================================================================
   RWD
   ===================================================================== */
@media (max-width: 1024px) {
  .footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "brand brand"
      "nav   br"
      "nav   br";
    gap: 28px 32px;
  }
  .footer__top > .footer__brand { grid-area: brand; }
  .footer__top > .footer__col:nth-child(2) { grid-area: nav; }
  .footer__top > .footer__col:nth-child(3) { grid-area: br; }
  .footer__col { padding-top: 20px; border-top: 1px solid rgba(189,156,94,.18); }
  .commit-grid { grid-template-columns: repeat(2, 1fr); }
}
/* nav 切換漢堡的斷點 — 提早到 1100px 避免中間區間 nav 字換行 */
@media (max-width: 1100px) {
  .nav, .header__cta .btn { display: none; }
  .nav-toggle { display: block; }
  .header__inner { grid-template-columns: auto 1fr; }
  .brand { justify-self: start; align-items: center; }
  .nav__link { white-space: nowrap; }
}
@media (max-width: 900px) {
  .nav, .header__cta .btn { display: none; }
  .nav-toggle { display: block; }
  .header__inner { grid-template-columns: auto 1fr; }
  .brand { justify-self: start; align-items: center; }
  .brand__name { font-size: 16px; letter-spacing: 0.22em; padding-left: 0.22em; }
  .brand__line { width: 20px; }
  .brand__name-row { gap: 10px; }
  .brand__emblem { height: 44px; }
  .brand__en { font-size: 9px; letter-spacing: 0.26em; }
  .banner { height: 78vh; max-height: none; min-height: 520px; }
  .banner__overlay { background: linear-gradient(180deg, rgba(28,33,24,.35) 0%, rgba(28,33,24,.86) 100%); }
  .banner__content { max-width: 100%; }
  .banner__arrow { display: none; } /* 手機改用滑動 + 圓點，避免蓋住文字 */
  .banner__kicker { font-size: 12px; letter-spacing: 0.14em; }
  .banner__inner { justify-content: flex-end; padding-bottom: 56px; }
  .svc-overview { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .space-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr 1fr; }
  .about-origin { grid-template-columns: 1fr; }
  .about-origin__img::after { inset: 10px -10px -10px 10px; }
  .vm-grid { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .branch-card, .branch-card:nth-child(even) { grid-template-columns: 1fr; }
  .branch-card:nth-child(even) .branch-card__media { order: 0; }
  .branch-card__media { min-height: 240px; }
  .contact-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); max-width: 460px; margin: 0 auto; gap: 14px; }
  .footer__top { gap: 18px 16px; }
  .footer__branch-name { font-size: 13.5px; }
  .footer__branch-addr { font-size: 12px; line-height: 1.55; }
  .contact-card { padding: 16px 12px; }
  .contact-card__qr { max-width: 150px; }
  .contact-card .btn { width: 100%; justify-content: center; padding: 11px 8px; letter-spacing: 0.06em; font-size: 12.5px; }
  .svc-head { grid-template-columns: 1fr; }
  .cta-band { background-attachment: scroll; }
  .senses { grid-template-columns: 1fr 1fr 1fr; }
  .sense:nth-child(3), .sense:nth-child(5) { border-right: 0; }
  .sense:nth-child(1), .sense:nth-child(2), .sense:nth-child(3) { border-bottom: 1px solid var(--line); }
  .founder { grid-template-columns: 1fr; }
  .founder__media { max-width: 420px; }
  .founder__media .seal { right: 16px; }
  .product-row { grid-template-columns: 56px 1fr; gap: 8px 20px; }
  .product-row__desc { grid-column: 2; }
  .product-row__mark { display: none; }
}
@media (max-width: 540px) {
  body { font-size: 15.5px; }
  .commit-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 1px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(189,156,94,.22); padding-bottom: 22px; }
  .stat:nth-child(3), .stat:nth-child(4) { padding-top: 22px; }
  .senses { grid-template-columns: 1fr; }
  .sense { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 16px; }
  .sense:last-child { border-bottom: 0; }
  .banner__arrow { width: 40px; height: 40px; font-size: 16px; }
  .banner__arrow--prev { left: 8px; }
  .banner__arrow--next { right: 8px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }
  .topbar { font-size: 10.5px; letter-spacing: 0.06em; padding: 6px 10px; white-space: nowrap; overflow: hidden; }
  .topbar span + span::before { margin: 0 8px; }

  /* ─── 手機 header 瘦身（讓 banner 在小視口能完整顯示） ─── */
  .header__inner { padding: 6px var(--gutter); gap: 12px; }
  .brand { gap: 2px; }
  .brand__emblem { height: 38px; margin-bottom: 2px; }
  .brand__name-row { gap: 8px; }
  .brand__line { width: 16px; }
  .brand__name { font-size: 15.5px; letter-spacing: 0.2em; padding-left: 0.2em; }
  .brand__en { font-size: 8.5px; letter-spacing: 0.22em; padding-left: 0.22em; }
  .nav-toggle { width: 36px; height: 36px; padding: 6px; }

  /* banner 高度：留下方 peek 讓使用者知道還有內容（dvh 排除瀏覽器列） */
  .banner { height: 62vh; height: 62dvh; min-height: 400px; max-height: calc(100vh - 200px); }
  .banner__inner { padding-bottom: 40px; }
}
