/* Terresa — 骨白 × 煙燻玫瑰 × 苔灰綠 × 深李子・雜誌內頁風
   骨白紙感底色、深李子色文字、苔灰綠與深李子區塊、煙燻玫瑰點綴、小而精緻的字、大量留白、中文直排短句 */
:root {
  --ink: #2b1f25;
  --ink-soft: #6c5d63;
  --paper: #ece8e4;
  --paper-alt: #dfd8d3;
  --wood: #2a1e24;
  --taupe: #6f735f;
  --gold: #a8817f;
  --gold-dark: #8a6462;
  --line: #d3cac5;
  --serif: "Noto Serif TC", "Songti TC", serif;
  --sans: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
  --max: 1080px;
  /* 紙張纖維質感 */
  --paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3  0 0 0 0 .22  0 0 0 0 .26  0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper) var(--paper-grain);
  line-height: 2;
  font-size: 15px;
  letter-spacing: .04em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.6; letter-spacing: .12em; }
h1 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin: 0 0 1.4rem; }
h3 { font-size: 1.08rem; margin: 0 0 .5rem; }
strong { font-weight: 600; }

.container { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 10vw, 128px); }
.section.alt { background: var(--paper-alt) var(--paper-grain); }
.eyebrow, .kicker {
  display: block;
  font-family: var(--serif);
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-dark);
  line-height: 1.6;
  margin-bottom: .8rem;
}
.lead { font-size: .98rem; color: var(--ink-soft); max-width: 640px; }
.todo { background: #f1dcdc; color: #7a3f45; padding: 0 .3em; }

/* 中文直排 */
.vt {
  writing-mode: vertical-rl;
  font-family: var(--serif);
  letter-spacing: .35em;
  line-height: 2.4;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(236, 232, 228, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.logo { font-family: var(--serif); font-size: 1.05rem; text-decoration: none; letter-spacing: .22em; }
.logo span { color: var(--gold-dark); font-size: .8em; letter-spacing: .12em; margin-left: .3em; }
.nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { text-decoration: none; font-size: .85rem; letter-spacing: .12em; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-dark); }
.lang { font-size: .75rem; border: 1px solid var(--line); padding: 1px 10px; border-radius: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 30px; text-decoration: none;
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
  font-size: .82rem; letter-spacing: .25em;
  transition: background .25s, color .25s, border-color .25s, transform .12s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn.ghost { background: transparent; }
.btn.light { color: #f1ece8; border-color: rgba(241, 236, 232, .6); }
.btn.light:hover { background: #f1ece8; color: var(--wood); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2rem; }
.btn-row.center { justify-content: center; }

/* ---------- 共用元件（其他頁面） ---------- */
.grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: rgba(255, 253, 252, .45); border: 1px solid var(--line); padding: 30px; }
.section.alt .card { background: rgba(255, 253, 252, .5); }
.card .price, .price { color: var(--gold-dark); font-family: var(--serif); letter-spacing: .08em; }

.price-list { border-top: 1px solid var(--line); }
.price-item { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.price-item p { margin: 4px 0 0; color: var(--ink-soft); font-size: .88rem; }
.price-item strong { white-space: nowrap; color: var(--gold-dark); font-family: var(--serif); font-weight: 400; letter-spacing: .08em; }

.member img { aspect-ratio: 4/5; object-fit: cover; background: var(--paper-alt); width: 100%; margin-bottom: 16px; }
.member ul { padding-left: 1.2em; color: var(--ink-soft); font-size: .9rem; }

.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gallery figure { margin: 0; }
.gallery img { aspect-ratio: 1; object-fit: cover; background: var(--paper-alt); width: 100%; }
.gallery figcaption { font-size: .8rem; color: var(--ink-soft); padding-top: 6px; }

.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1rem; letter-spacing: .08em; list-style: none; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-soft); margin: 12px 0 0; font-size: .92rem; }

.article { max-width: 720px; }
.article .meta { color: var(--ink-soft); font-size: .85rem; border-left: 2px solid var(--gold); padding-left: 14px; margin-bottom: 2.2rem; }
.tldr { background: rgba(255, 253, 252, .5); border-left: 2px solid var(--gold); padding: 18px 22px; margin: 1.6rem 0; font-size: .92rem; }
.breadcrumb { font-size: .78rem; color: var(--ink-soft); padding-top: 28px; letter-spacing: .1em; }
.breadcrumb a { text-decoration: none; }

.info { width: 100%; border-collapse: collapse; font-size: .92rem; }
.info th, .info td { text-align: left; padding: 14px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info th { width: 30%; font-weight: 400; font-family: var(--serif); color: var(--ink-soft); }
.map { width: 100%; aspect-ratio: 16/10; border: 0; background: var(--paper-alt); filter: grayscale(.35) saturate(.8); }

/* ---------- 首頁：滿版影片開場 ---------- */
.hero-film {
  position: relative;
  min-height: min(100svh, 920px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--wood);
  color: #f1ece8;
  text-align: center;
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.12) brightness(.55); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(32, 22, 28, .55) 0%, rgba(32, 22, 28, .15) 45%, rgba(32, 22, 28, .7) 100%); }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 96px 24px 64px; }
.hero-mark { font-family: var(--serif); font-size: .78rem; letter-spacing: .5em; margin: 0; padding-left: .5em; }
.hero-mark::before { content: ""; display: block; width: 1px; height: 40px; background: rgba(241, 236, 232, .6); margin: 0 auto 18px; }
.hero-vt { font-size: clamp(1.5rem, 3.4vw, 2.1rem); height: 10.5em; margin: 6px 0; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero-h1 { font-size: .82rem; letter-spacing: .32em; margin: 0; font-family: var(--sans); opacity: .9; }
.hero-more { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; font-size: .72rem; letter-spacing: .3em; text-decoration: none; opacity: .8; margin-top: 10px; }
.hero-more span { font-size: 1rem; animation: hero-bob 2.4s ease-in-out infinite; }
@keyframes hero-bob { 50% { transform: translateY(5px); } }

/* ---------- 首頁：紙張區塊 ---------- */
.paper-block { padding-block: clamp(80px, 12vw, 150px); text-align: center; }
.paper-block.alt { background: var(--paper-alt) var(--paper-grain); }
.poem-h { font-size: clamp(1.35rem, 2.8vw, 1.9rem); letter-spacing: .3em; line-height: 1.9; margin: 0 0 2.4rem; }
.prose { max-width: 30em; margin: 0 auto; font-size: .88rem; line-height: 2.3; color: var(--ink-soft); text-align: justify; }
.frame { width: min(340px, 72%); margin: clamp(48px, 8vw, 80px) auto; }
.frame img, .frame .ph { aspect-ratio: 3/4; width: 100%; object-fit: cover; }
.poem-small { font-size: .9rem; color: var(--ink-soft); margin: 0 auto; height: 8.5em; display: inline-block; text-align: left; }

/* 照片待放的佔位框 */
.ph {
  display: grid; place-items: center;
  background: linear-gradient(160deg, #33262c, #6f5d63 60%, #4a3a41);
  color: rgba(241, 236, 232, .75);
  font-size: .75rem; letter-spacing: .2em; line-height: 2;
  text-align: center;
}
.photo-band .ph { aspect-ratio: 21/9; width: 100%; min-height: 240px; }

/* ---------- 首頁：深色區塊（服務） ---------- */
.dark-block {
  background: var(--taupe);
  background-image: linear-gradient(180deg, #6f735f 0%, #5d614f 100%), var(--paper-grain);
  color: #f1ece8;
  padding-block: clamp(80px, 12vw, 150px);
}
.dark-block .kicker { color: #e2c3c0; }
.dark-block .poem-h { text-align: center; }
.dark-layout { display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 6vw, 80px); align-items: start; }
.svc-list { display: grid; gap: 0; border-top: 1px solid rgba(241, 236, 232, .25); }
.svc { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding: 26px 0; border-bottom: 1px solid rgba(241, 236, 232, .25); }
.svc-en { grid-column: 1 / -1; margin: 0; font-family: var(--serif); font-size: .62rem; letter-spacing: .35em; color: #e2c3c0; }
.svc h3 { margin: 0; font-size: 1.15rem; letter-spacing: .25em; }
.svc .svc-price { margin: 0; font-family: var(--serif); letter-spacing: .1em; white-space: nowrap; }
.svc .svc-desc { grid-column: 1 / -1; margin: 0; font-size: .85rem; color: rgba(241, 236, 232, .78); }
.svc .svc-meta { grid-column: 1 / -1; margin: 0; font-size: .75rem; letter-spacing: .12em; color: rgba(241, 236, 232, .6); }
.dark-block .poem-small { color: rgba(241, 236, 232, .8); height: 9em; }
.dark-block .note { font-size: .78rem; color: rgba(241, 236, 232, .65); margin-top: 1.4rem; }

/* ---------- 首頁：理念 / 流程 / 知識 ---------- */
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(28px, 5vw, 56px); max-width: 900px; margin: 0 auto; text-align: center; }
.trio h3 { letter-spacing: .25em; }
.trio p { font-size: .86rem; color: var(--ink-soft); margin: 0; }
.trio .num { font-family: var(--serif); color: var(--gold); font-size: .8rem; letter-spacing: .3em; display: block; margin-bottom: .6rem; }

.steps { list-style: none; padding: 0; margin: 0 auto; max-width: 640px; text-align: left; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.4em 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
.steps li::before { content: "0" counter(step); font-family: var(--serif); color: var(--gold); letter-spacing: .1em; }
.steps strong { color: var(--ink); font-weight: 400; font-family: var(--serif); letter-spacing: .15em; margin-right: .6em; }

.journal { max-width: 720px; margin: 0 auto; text-align: left; border-top: 1px solid var(--line); }
.journal a { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: color .2s, padding .25s; }
.journal a:hover { color: var(--gold-dark); padding-left: 6px; }
.journal time { font-family: var(--serif); font-size: .78rem; color: var(--gold-dark); letter-spacing: .1em; padding-top: 3px; }
.journal span { font-family: var(--serif); letter-spacing: .1em; }
.journal small { display: block; font-family: var(--sans); color: var(--ink-soft); font-size: .8rem; letter-spacing: .04em; }

/* ---------- 首頁：營業資訊（深木色） ---------- */
.wood-block { background: var(--wood); color: #f1ece8; padding-block: clamp(80px, 12vw, 140px); text-align: center; }
.wood-block .kicker { color: #d4a9a6; }
.visit-list { list-style: none; padding: 0; margin: 0 auto 1rem; max-width: 520px; font-size: .88rem; }
.visit-list li { display: grid; grid-template-columns: 6em 1fr; text-align: left; padding: 14px 0; border-bottom: 1px solid rgba(241, 236, 232, .15); }
.visit-list b { font-weight: 400; font-family: var(--serif); color: #d4a9a6; letter-spacing: .2em; }
.wood-block .poem-small { color: rgba(241, 236, 232, .7); height: 7.5em; margin-top: 3rem; }

/* ---------- Footer ---------- */
.site-footer { background: #1f171b; color: #a8999f; padding-block: 64px 28px; font-size: .82rem; }
.site-footer a { color: #ddd2d5; text-decoration: none; }
.site-footer .grid { margin-bottom: 36px; }
.site-footer h3 { color: #f1ece8; font-size: .95rem; letter-spacing: .2em; }
.copy { border-top: 1px solid #3a2d33; padding-top: 22px; font-size: .72rem; letter-spacing: .1em; }

/* ---------- 點按回饋：按壓縮放與卡片浮起 ---------- */
a, button, summary { -webkit-tap-highlight-color: transparent; }
.btn:active, .lang:active, .sound-toggle:active { transform: scale(.96); }
.card { transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(43, 31, 37, .08); }
.card:active { transform: translateY(-1px) scale(.99); }
.faq summary:active { color: var(--gold-dark); }
.sound-toggle {
  background: none; border: 1px solid #4a3a41; color: #a8999f; border-radius: 20px;
  padding: 2px 12px; font-size: .7rem; cursor: pointer; margin-left: 12px;
  transition: color .2s, border-color .2s, transform .12s ease;
}
.sound-toggle:hover { color: #f1ece8; border-color: #8d7c83; }

/* ---------- 窄螢幕 ---------- */
@media (max-width: 760px) {
  .nav { gap: 6px; padding-block: 10px 0; }
  .nav ul {
    flex-wrap: nowrap; overflow-x: auto; width: 100%; gap: 22px;
    padding-bottom: 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .nav ul::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .info th { width: 38%; }
  .dark-layout { grid-template-columns: 1fr; }
  .dark-layout .poem-small { justify-self: center; }
  .journal a { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .card, .lang, .sound-toggle, .journal a { transition: none; }
  .card:hover, .btn:active, .card:active { transform: none; }
  .hero-more span { animation: none; }
}

/* ---------- 微互動：按鈕色塊推進＋磁吸 ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  --mx: 0px; --my: 0px; --fill: var(--ink); --fill-text: var(--paper);
  transform: translate(var(--mx), var(--my));
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.btn:hover { background: transparent; color: var(--fill-text); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:active { transform: translate(var(--mx), var(--my)) scale(.96); }
.btn.solid { --fill: var(--gold-dark); --fill-text: var(--paper); }
.btn.solid:hover { background: var(--ink); border-color: var(--gold-dark); }
.btn.light { --fill: #f1ece8; --fill-text: var(--wood); }
.btn.light:hover { background: transparent; }
.nav a { position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--gold-dark); transform: scaleX(0); transform-origin: right; transition: transform .35s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a.lang::after { display: none; }

/* ---------- 滾動說故事 ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s ease var(--rd, 0ms), transform 1.1s cubic-bezier(.2, .7, .2, 1) var(--rd, 0ms); }
.rv.in { opacity: 1; transform: none; }
.rv-chars .ch { display: inline-block; opacity: 0; filter: blur(6px); transform: translateY(-8px); transition: opacity .9s ease var(--d), filter .9s ease var(--d), transform .9s ease var(--d); }
.rv-chars.in .ch { opacity: 1; filter: none; transform: none; }
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  background: linear-gradient(90deg, var(--gold), var(--taupe));
  transform: scaleX(0); transform-origin: left;
}

/* 視差：照片橫幅 */
.photo-band { overflow: hidden; }
.photo-band .ph { will-change: transform; }

/* WebGL 水波紋畫布 */
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease; }
.hero-film.gl-on .hero-gl { opacity: 1; }
.hero-film.gl-on .hero-media { opacity: 0; }

/* 即時營業狀態 */
.open-status { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .2em; margin: 0 0 2rem; }
.open-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9a9a8a; }
.open-status.is-open::before { background: #b9c79a; box-shadow: 0 0 0 0 rgba(185, 199, 154, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(185, 199, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(185, 199, 154, 0); } }

@media (prefers-reduced-motion: reduce) {
  .btn::before, .nav a::after { transition: none; }
  .open-status.is-open::before { animation: none; }
}

/* ---------- 英文版 ---------- */
html[lang="en"] body { letter-spacing: .01em; line-height: 1.85; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3,
html[lang="en"] .poem-h, html[lang="en"] .vt, html[lang="en"] .svc-price, html[lang="en"] .steps strong {
  font-family: "Bodoni Moda", "Didot", "Bodoni 72", var(--serif);
}
html[lang="en"] .poem-h { letter-spacing: .06em; font-style: italic; text-transform: none; }
html[lang="en"] .svc h3, html[lang="en"] .trio h3 { letter-spacing: .12em; }
html[lang="en"] .prose { text-align: left; font-size: .95rem; }
.en-vt { letter-spacing: .18em; font-style: italic; }
.hero-vt.en-vt { font-size: clamp(1.3rem, 2.8vw, 1.8rem); height: auto; max-height: 15em; }
.poem-small.en-vt { height: auto; }

/* 照片 */
.frame img { box-shadow: 0 24px 60px rgba(43, 31, 37, .12); }
.photo-band img { display: block; width: 100%; aspect-ratio: 21/9; min-height: 280px; object-fit: cover; object-position: 62% 30%; will-change: transform; }
.process-gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.process-gallery figure { margin: 0; }
.process-gallery img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.process-gallery figcaption { font-size: .78rem; color: var(--ink-soft); padding-top: 8px; letter-spacing: .08em; }
.member { display: grid; grid-template-columns: minmax(220px, 400px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.member img { aspect-ratio: 2/3; margin: 0; box-shadow: 0 24px 60px rgba(43, 31, 37, .12); }
.member-text p { font-size: .92rem; color: var(--ink-soft); }
.member-text h2 { margin-top: .4rem; }
@media (max-width: 760px) { .member { grid-template-columns: 1fr; } .member img { max-width: 420px; } }
.gallery.works { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.gallery.works img { aspect-ratio: 3/4; }
.gallery.works video { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--wood); }
.gallery.works.works-4 { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.has-badge { position: relative; }
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  background: rgba(42, 30, 36, .72); color: #f1ece8; backdrop-filter: blur(4px);
  font-size: .68rem; letter-spacing: .18em; padding: 3px 10px;
}

/* ---------- 點按水波 ---------- */
.tap-ring {
  /* 無實線：一圈「模糊＋淡淡亮光」的水波，像水面被點開 */
  position: fixed; width: 0; height: 0; z-index: 9999; pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .22) 56%, rgba(168, 129, 127, .08) 64%, rgba(255, 255, 255, 0) 74%);
  -webkit-backdrop-filter: blur(4px) saturate(1.2);
  backdrop-filter: blur(4px) saturate(1.2);
  -webkit-mask: radial-gradient(circle, transparent 36%, #000 54%, #000 62%, transparent 76%);
  mask: radial-gradient(circle, transparent 36%, #000 54%, #000 62%, transparent 76%);
  animation: tap-ring 1.15s cubic-bezier(.12, .7, .3, 1) both;
}
@keyframes tap-ring {
  0%   { width: 0; height: 0; opacity: 1; }
  55%  { opacity: .85; }
  100% { width: 260px; height: 260px; opacity: 0; }
}
.btn, .card, .journal a, .svc, .price-item, .lang { position: relative; overflow: hidden; }
.tap-ink {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(168, 129, 127, .32) 0%, rgba(168, 129, 127, 0) 62%);
  transform: scale(0); animation: tap-ink .75s cubic-bezier(.2, .7, .3, 1) forwards;
}
.dark-block .tap-ink, .wood-block .tap-ink, .btn.light .tap-ink { background: radial-gradient(circle, rgba(241, 236, 232, .35) 0%, rgba(241, 236, 232, 0) 62%); }
@keyframes tap-ink { to { transform: scale(1); opacity: 0; } }

/* ---------- 標題文字靈動 ---------- */
.wword { display: inline-block; white-space: nowrap; }
.wch { display: inline-block; transition: transform .55s cubic-bezier(.3, 1.9, .5, 1), color .3s; will-change: transform; }
h1 .wch:hover, h2 .wch:hover, .hero-mark .wch:hover, .logo .wch:hover, .settled .wch:hover {
  transform: translateY(-4px) rotate(-7deg) scale(1.08); color: var(--gold-dark); transition-delay: 0s;
}
.dark-block .wch:hover, .wood-block .wch:hover, .hero-film .wch:hover { color: #e2c3c0; }
.settled .ch { transition: transform .55s cubic-bezier(.3, 1.9, .5, 1), color .3s; transition-delay: 0s; }
.wch.waving { animation: wch-wave .8s cubic-bezier(.3, .7, .3, 1) both; }
@keyframes wch-wave {
  0%   { transform: none; }
  28%  { transform: translateY(calc(var(--amp) * -1)) rotate(var(--rot)); }
  58%  { transform: translateY(calc(var(--amp) * .35)) rotate(calc(var(--rot) * -.4)); }
  100% { transform: none; }
}
/* 首頁大字：輕輕呼吸般浮動 */
.hero-vt.settled .ch { animation: breathe 5.5s ease-in-out infinite; animation-delay: calc(var(--d) * 2); }
@keyframes breathe { 50% { transform: translateY(-3px); opacity: .82; } }

@media (prefers-reduced-motion: reduce) {
  .wch, .settled .ch { transition: none; }
  .hero-vt.settled .ch { animation: none; }
}
/* 首頁作品：霧眉／霧唇分區 */
.works-group { margin-top: clamp(40px, 6vw, 72px); text-align: left; }
.works-group:first-of-type { margin-top: 0; }
.works-head { display: flex; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 22px; }
.works-head .kicker { margin: 0; }
.works-head h3 { margin: 0; letter-spacing: .25em; }
.works-group .gallery.works { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* ---------- 部落格 ---------- */
.blog-hero { padding-block: clamp(24px, 4vw, 40px) clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.blog-hero h1 { margin-top: .2rem; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6rem; }
.cat-chips a {
  text-decoration: none; font-size: .82rem; letter-spacing: .14em;
  border: 1px solid var(--line); padding: 6px 16px; border-radius: 999px;
  transition: background .2s, color .2s, border-color .2s;
}
.cat-chips a:hover { border-color: var(--gold-dark); color: var(--gold-dark); }
.cat-chips a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.post-feature { margin-top: clamp(32px, 5vw, 56px); }
.post-feature a { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; text-decoration: none; }
.post-feature-img { overflow: hidden; aspect-ratio: 4/3; background: var(--paper-alt); }
.post-feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.post-feature a:hover .post-feature-img img { transform: scale(1.04); }
.post-feature h2 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); letter-spacing: .1em; margin: .4rem 0 .8rem; }
.post-feature p { color: var(--ink-soft); font-size: .92rem; }
.read-more { font-size: .8rem; letter-spacing: .2em; color: var(--gold-dark); }

.post-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.post-card { background: rgba(255, 253, 252, .45); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; position: relative; overflow: hidden; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(43, 31, 37, .08); }
.post-card-link { display: block; text-decoration: none; height: 100%; }
.post-card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-alt); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-img .ph { width: 100%; height: 100%; font-family: var(--serif); letter-spacing: .4em; }
.post-card-body { padding: 18px 20px 22px; }
.post-card-body h3 { font-size: 1rem; letter-spacing: .08em; margin: .3rem 0 .5rem; line-height: 1.6; }
.post-card-body p { font-size: .84rem; color: var(--ink-soft); margin: 0; }
.post-card-meta { display: flex; justify-content: space-between; gap: 12px; font-size: .72rem !important; letter-spacing: .14em; color: var(--gold-dark) !important; }

.post-cat a { font-size: .75rem; letter-spacing: .25em; text-decoration: none; color: var(--gold-dark); }
.post-cover { margin: 0 0 1.6rem; }
.post-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.article table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1rem 0 1.6rem; }
.article th, .article td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { font-weight: 400; font-family: var(--serif); color: var(--ink-soft); }
.article thead th { color: var(--ink); border-bottom-color: var(--ink-soft); }
.post-body ol, .post-body ul { padding-left: 1.3em; }
.related h2 { margin-bottom: 1.6rem; }

/* 公告列（後台「網站公告」有填寫時顯示） */
.notice-bar { background: var(--taupe); color: #f1ece8; text-align: center; font-size: .85rem; letter-spacing: .08em; padding: 10px 20px; }

@media (max-width: 760px) {
  .post-feature a { grid-template-columns: 1fr; }
}
