/* ============================================================
   王致力醫師 — v5 視覺層 (v5.css)
   載入順序：site.css / style.css → design.css → v5.css（最後）。

   主題：「一條線，一個關節」。
   標誌是「力」的橫折當腿、轉折處一個圓當膝；v5 把這個圖形語言
   延伸到整站——線會畫出來、關節會彎、編號是真的索引。
   字體、色票、最小字級、對比全部沿用 DESIGN.md，這一層只動
   「尺度、節奏、動態」三件事。

   動態原則（取代 DESIGN.md 第 8 節的「只有淡入」）：
   1. 動態只用來交代「順序」與「回應」，不做裝飾性的閃爍。
   2. 一律 transform／opacity／clip-path，不動版面。
   3. prefers-reduced-motion 時全部關掉，內容照常可讀。
   4. 沒有 JS 時所有內容照常顯示（隱藏狀態只由 JS 加上）。
   ============================================================ */

:root {
  --max: 1280px;
  --radius-lg: 20px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --gut: var(--pad);
  --nav-h: 82px;
  /* 對比修正：小字用的灰階全部拉到 4.5:1 以上，大數字 3:1 以上 */
  --ink-50: #5a6f7b;
  --ink-30: #788f9b;
  --ink-20: #aebfc8;   /* 只給線條與圖形，不給文字 */
  /* 品牌藍 #007EA7 在近白底上只有 4.4:1，小字改用深一階的 --indigo-ink（6.3:1）；
     按鈕底色、圖形、大標仍用原本的品牌藍 */
  --blue: var(--indigo-ink);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --expo: cubic-bezier(0.16, 1, 0.3, 1);
}

::selection { background: var(--indigo); color: #fff; }

.kicker, .crumb, .tile .more, .tile .hook, .pain-btn .hook, .pain-btn .go, .num-item .cap,
.flow .when, .prose a, .dd-head, .num-item a, .tl time, .tx-index a:hover b, .qa details[open] summary { color: var(--indigo-ink); }

/* 跳到主要內容：平常藏在畫面外，鍵盤 Tab 到才出現 */
.skip-link {
  position: fixed;
  left: 1rem; top: 0.75rem;
  z-index: 200;
  padding: 0.7rem 1.2rem;
  background: var(--navy-deep);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius);
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

/* 珊瑚紅當文字用時加深一階（白底 5:1），框線與標記仍用原色 */
aside.urgent b { color: #c2412d; }

/* 疼痛部位卡片的人物圖改用 WebP（460KB → 54KB） */
.pain-btn .figure { background-image: url("/assets/figure-sketch.webp"); }

/* 照護專區的兩步驟選單由 JS 填入：先把高度留好，內容不會被往下推 */
.finder [data-slot="sit"]:empty { min-height: 215px; }
@media (max-width: 640px) { .finder [data-slot="sit"]:empty { min-height: 443px; } }

main:focus { outline: none; }

.kicker i, .sec-head .en, .vlabel, .facts .year, .brand, .tx-index .n, .doc-hero .en-name,
.bm-switch label i, .sched .off, .cal .c-off, .sched .pill-off, .cal-wk, .cal-chips .c-off { color: var(--ink-50); }

:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 4px;
}

html { scroll-padding-top: calc(var(--nav-h) + 1rem); }

/* 跨頁轉場：支援的瀏覽器換頁時內容淡出、新頁上移淡入，頁眉不動 */
@view-transition { navigation: auto; }

@media (prefers-reduced-motion: no-preference) {
  .nav { view-transition-name: site-nav; }
  ::view-transition-old(root) { animation: v-fade-out 0.22s ease both; }
  ::view-transition-new(root) { animation: v-page-in 0.6s var(--expo) both; }
  ::view-transition-group(site-nav) { animation-duration: 0s; }
}

@keyframes v-fade-out { to { opacity: 0; } }
@keyframes v-page-in { from { opacity: 0; transform: translateY(14px); } }

/* ------------------------------------------------------------
   1. 進場：只有 JS 判定「還在畫面下方」的元素才會先藏起來
   ------------------------------------------------------------ */

[data-rv] {
  opacity: 0;
  transform: translateY(22px);
}

[data-rv].in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.95s var(--expo);
  transition-delay: calc(var(--i, 0) * 70ms);
}

[data-rv="clip"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0 round var(--radius-lg));
}

[data-rv="clip"].in {
  clip-path: inset(0 0 0 0 round var(--radius-lg));
  transition: clip-path 1.3s var(--expo);
}

[data-rv="clip"] img { transform: scale(1.14); }
[data-rv="clip"].in img { transform: none; transition: transform 1.7s var(--expo); }

/* ------------------------------------------------------------
   2. 頁眉：捲動進度線、往下捲收起、往上捲回來
   ------------------------------------------------------------ */

.nav {
  transition: transform 0.55s var(--expo), box-shadow 0.3s ease, background 0.3s ease;
  will-change: transform;
}

.nav.is-hidden { transform: translateY(-101%); }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--hair), 0 10px 30px rgba(22, 50, 63, 0.05); border-bottom-color: transparent; }

/* 進度線：純 CSS 捲動時間軸，不支援的瀏覽器就沒有這條線 */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .nav::after {
      content: "";
      position: absolute;
      left: 0; right: 0; bottom: -1px;
      height: 2px;
      background: var(--indigo);
      transform-origin: 0 50%;
      transform: scaleX(0);
      animation: v-progress linear both;
      animation-timeline: scroll(root block);
      pointer-events: none;
    }
  }
}

@keyframes v-progress { to { transform: scaleX(1); } }

.nav-item > a, .nav-top { transition: color 0.2s ease, border-color 0.2s ease; }
.nav-item > a:hover, .nav-top:hover, .nav-item.open .nav-top { border-bottom-color: var(--indigo-ink); color: var(--indigo-ink); }

.caret { display: inline-block; transition: transform 0.35s var(--expo); }
.nav-item.open .caret { transform: rotate(180deg); }

@media (min-width: 1181px) {
  .dropdown { border-radius: 14px; padding: 0.7rem; box-shadow: 0 24px 60px -12px rgba(0, 57, 79, 0.22); }
  .dropdown-wide { padding: 1rem; }
  .dropdown a { border-radius: 8px; transition: background 0.18s ease, color 0.18s ease, padding 0.3s var(--expo); }
  .dropdown a:hover { background: var(--indigo-wash); color: var(--indigo-ink); padding-left: 1.4rem; }
  .dropdown a.sub:hover { padding-left: 2.4rem; }
}

@media (min-width: 1181px) and (prefers-reduced-motion: no-preference) {
  .nav-item.open > .dropdown { animation: v-dd 0.32s var(--expo) both; transform-origin: 50% 0; }
}

@keyframes v-dd { from { opacity: 0; transform: translateY(-8px) scale(0.985); } }

@media (max-width: 1180px) {
  .nav-links.open { max-height: calc(100dvh - var(--nav-h)); height: calc(100dvh - var(--nav-h)); padding: 0.5rem var(--pad) 3rem; }
  .nav-item.has-menu > .nav-top-link { font-size: 1.35rem; font-weight: 700; padding: 1.15rem 0; }
  .nav-cta { margin-left: 0; }
}

@media (max-width: 1180px) and (prefers-reduced-motion: no-preference) {
  .nav-links.open { animation: v-menu 0.4s var(--expo) both; }
  .nav-links.open .nav-item { animation: v-menu-item 0.6s var(--expo) both; }
  .nav-links.open .nav-item:nth-child(2) { animation-delay: 40ms; }
  .nav-links.open .nav-item:nth-child(3) { animation-delay: 80ms; }
  .nav-links.open .nav-item:nth-child(4) { animation-delay: 120ms; }
  .nav-links.open .nav-item:nth-child(5) { animation-delay: 160ms; }
}

@keyframes v-menu { from { opacity: 0; } }
@keyframes v-menu-item { from { opacity: 0; transform: translateY(14px); } }

/* ------------------------------------------------------------
   3. 按鈕與文字連結：填色由左掃入，箭頭往前一步
   ------------------------------------------------------------ */

.btn, .nav-cta {
  background-image: linear-gradient(var(--navy-deep), var(--navy-deep));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 0.55s var(--expo), color 0.3s ease, border-color 0.3s ease;
}

.btn:hover, .nav-cta:hover { background-size: 100% 100%; border-color: var(--navy-deep); }

.btn-ghost, .btn-light, .hero-act .btn-light {
  background-color: transparent;
  background-image: linear-gradient(var(--indigo), var(--indigo));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  border: 1px solid var(--indigo);
  color: var(--indigo) !important;
}

.btn-ghost:hover, .btn-light:hover, .hero-act .btn-light:hover { background-size: 100% 100%; }

.btn-ghost:hover, .btn-light:hover, .hero-act .btn-light:hover {
  background-color: transparent;
  border-color: var(--indigo);
  color: #fff !important;
}

.nav-cta { background-color: var(--indigo) !important; }

.more {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--indigo-ink);
  letter-spacing: 0.04em;
}

.more i, .go { font-style: normal; display: inline-block; transition: transform 0.45s var(--expo); }
a:hover > .more i, a.more:hover i, .tile:hover .more i { transform: translateX(6px); }

/* ------------------------------------------------------------
   4. 首頁 Hero：一塊內縮的大面板、頂天立地的標題
   ------------------------------------------------------------ */

.v-hero { padding: 0.75rem clamp(0.75rem, 1.2vw, 1.25rem) 0; }

.v-hero-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  min-height: calc(100svh - var(--nav-h) - 5.4rem);
  display: flex;
  align-items: flex-end;
}

.v-hero-media { position: absolute; inset: 0; z-index: -2; display: block; }

/* 插畫四邊有手繪的留白筆觸，放大 10% 把它裁到面板外，邊緣才乾淨 */
.v-hero-media img {
  position: absolute;
  left: -5%; top: -5%;
  width: 110%;
  height: 110%;
  max-width: none;
  object-fit: cover;
  object-position: 74% 30%;
}

/* 文字側鋪一層紙色，插畫留在右邊 */
.v-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,
    rgba(246, 250, 252, 0.98) 0%,
    rgba(246, 250, 252, 0.9) 26%,
    rgba(246, 250, 252, 0.45) 46%,
    rgba(246, 250, 252, 0) 64%);
}

.v-hero-copy {
  width: 100%;
  padding: clamp(1.5rem, 4.6vw, 4.5rem);
  padding-top: 6rem;
}

.v-eyebrow {
  margin: 0 0 clamp(1rem, 2vw, 1.75rem);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ink-70);
}

.v-eyebrow i { font-style: normal; color: var(--ink-50); margin: 0 0.5em; letter-spacing: 0; }

.v-hero h1 {
  margin: 0 0 clamp(1.25rem, 2.4vw, 2.25rem);
  font-size: clamp(3.1rem, 9.4vw, 9rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: nowrap;
}

.v-hero h1 .ln { display: block; overflow: hidden; padding: 0.04em 0 0.08em; margin-bottom: -0.08em; }
.v-hero h1 .ln > span { display: inline-block; }
.v-hero h1 em { font-style: normal; color: var(--indigo); }

.v-hero .hero-sub {
  margin: 0 0 clamp(1.5rem, 2.6vw, 2.5rem);
  font-size: clamp(1.125rem, 1.7vw, 1.5rem);
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: var(--ink-70);
  max-width: 22em;
}

.v-scroll {
  position: absolute;
  right: clamp(1.25rem, 3vw, 2.75rem);
  bottom: clamp(1.5rem, 3.4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.v-scroll span { writing-mode: vertical-rl; }

.v-scroll i {
  display: block;
  width: 1px;
  height: 4.5rem;
  background: rgba(22, 50, 63, 0.25);
  position: relative;
  overflow: hidden;
}

.v-scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(-100%);
}

/* 目次條：就在 Hero 面板下方，編號對應下面每一個區塊 */
.v-hero-index ol {
  list-style: none;
  margin: 0 auto;
  padding: 1.15rem clamp(0.5rem, 3.4vw, 3.25rem);
  display: flex;
  justify-content: space-between;
  gap: 0 1.75rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.v-hero-index ol::-webkit-scrollbar { display: none; }

.v-hero-index a {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-70);
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.v-hero-index .n { font-size: 0.8125rem; color: var(--ink-50); letter-spacing: 0.1em; font-variant-numeric: tabular-nums; transition: color 0.2s ease; }

.v-hero-index a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.2rem;
  height: 1px;
  background: var(--indigo);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.5s var(--expo);
}

.v-hero-index a:hover { color: var(--ink); }
.v-hero-index a:hover .n { color: var(--indigo-ink); }
.v-hero-index a:hover::after { transform: scaleX(1); }

@media (prefers-reduced-motion: no-preference) {
  .v-hero-panel { animation: v-panel 1.5s var(--expo) both; }
  .v-hero-media { animation: v-zoom 2.2s var(--expo) both; }
  .v-hero h1 .ln > span { animation: v-line 1.25s var(--expo) both; animation-delay: 0.25s; }
  .v-hero h1 .ln + .ln > span { animation-delay: 0.37s; }
  .v-eyebrow { animation: v-rise 1s var(--expo) 0.15s both; }
  .v-hero .hero-sub { animation: v-rise 1s var(--expo) 0.6s both; }
  .v-hero .hero-act { animation: v-rise 1s var(--expo) 0.72s both; }
  .v-scroll, .v-hero-index { animation: v-rise 1s var(--expo) 0.95s both; }
  .v-scroll i::after { animation: v-drip 2.4s var(--ease) 1.6s infinite; }

  @supports (animation-timeline: scroll()) {
    .v-hero-media img {
      animation: v-parallax linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 100vh;
    }
  }
}

@keyframes v-panel { from { clip-path: inset(5% 3% 5% 3% round var(--radius-lg)); } to { clip-path: inset(0 0 0 0 round var(--radius-lg)); } }
@keyframes v-zoom { from { transform: scale(1.14); } }
@keyframes v-line { from { transform: translateY(112%); } }
@keyframes v-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes v-drip { 0% { transform: translateY(-100%); } 55%, 100% { transform: translateY(100%); } }
@keyframes v-parallax { to { transform: translateY(9%) scale(1.06); } }

@media (max-width: 760px) {
  .v-hero-panel { min-height: calc(100svh - var(--nav-h) - 5rem); }
  .v-hero-media img { object-position: 60% 0; height: 66%; top: -4%; }
  .v-hero-panel::before {
    background: linear-gradient(0deg,
      rgba(246, 250, 252, 1) 0%,
      rgba(246, 250, 252, 0.96) 42%,
      rgba(246, 250, 252, 0.4) 60%,
      rgba(246, 250, 252, 0) 74%);
  }
  .v-hero-copy { padding: 1.5rem 1.25rem 1.75rem; }
  .v-eyebrow { font-size: 0.9375rem; letter-spacing: 0.08em; }
  .v-eyebrow i { margin: 0 0.25em; }
  .v-hero h1 { font-size: clamp(3rem, 15.5vw, 4.6rem); }
  .v-hero .hero-sub { font-size: 1.0625rem; margin-bottom: 1.4rem; }
  .v-hero .hero-sub br { display: none; }
  .v-hero .hero-act { flex-wrap: nowrap; gap: 0.6rem; }
  .v-hero .hero-act .btn { flex: 1 1 0; font-size: 1.0625rem; padding: 0.9rem 0.5rem; min-height: 56px; white-space: nowrap; letter-spacing: 0.02em; }
  .v-scroll { display: none; }
  .v-hero-index ol { justify-content: flex-start; padding: 0.9rem 0.6rem; gap: 0 1.5rem; }
}

/* ------------------------------------------------------------
   5. 區塊節奏與標題
   ------------------------------------------------------------ */

.v-sec { padding: clamp(4.5rem, 8.6vw, 8rem) 0; }

.v-head { margin: 0 0 clamp(2.5rem, 5.5vw, 4.75rem); }

.v-idx {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 clamp(1rem, 1.8vw, 1.6rem);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-50);
  line-height: 1.4;
}

.v-idx b { font-weight: 500; color: var(--indigo-ink); letter-spacing: 0.1em; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 1rem; }
.v-idx b::after { content: ""; width: 2.75rem; height: 1px; background: var(--hair-strong); }
.v-idx i { font-style: normal; }

.v-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4.7vw, 3.9rem);
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.v-head .lede { margin: clamp(1.25rem, 2vw, 2rem) 0 0; font-size: clamp(1.125rem, 1.4vw, 1.25rem); max-width: 34em; color: var(--ink-70); }

.v-head-wide { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.v-head-wide .v-idx { grid-column: 1 / -1; }
.v-head-wide .lede { margin: 0; padding-bottom: 0.5rem; }

.v-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }

.v-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.v-sticky { position: sticky; top: calc(var(--nav-h) + 2.5rem); margin-bottom: 0; }

@media (max-width: 900px) {
  .v-head-wide, .v-split { grid-template-columns: 1fr; }
  .v-head-wide .lede { margin-top: 1.25rem; }
  .v-sticky { position: static; margin-bottom: 2.5rem; }
}

/* ------------------------------------------------------------
   6. 01 疼痛部位：左邊一個人、右邊六行大字，互相對應
   ------------------------------------------------------------ */

.v-pain-grid {
  display: grid;
  grid-template-columns: minmax(220px, 4fr) minmax(0, 8fr);
  column-gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.v-figure {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.6vw, 2.5rem);
  display: flex;
  justify-content: center;
}

.v-figure-in { position: relative; height: min(68vh, 640px); aspect-ratio: 389 / 1100; }
.v-figure-in img { width: 100%; height: 100%; display: block; }

.v-dot {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--sheet);
  border: 2px solid var(--ink-20);
  cursor: pointer;
  transition: transform 0.5s var(--expo), background 0.25s ease, border-color 0.25s ease;
}

.v-dot::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; }

.v-dot.on {
  background: var(--vermilion);
  border-color: var(--vermilion);
  transform: scale(1.5);
  box-shadow: 0 0 0 5px rgba(224, 90, 69, 0.2);
}

@media (prefers-reduced-motion: no-preference) {
  .v-dot.on { animation: v-pulse 2s ease-out infinite; }
}

@keyframes v-pulse {
  0% { box-shadow: 0 0 0 0 rgba(224, 90, 69, 0.38); }
  100% { box-shadow: 0 0 0 13px rgba(224, 90, 69, 0); }
}

.v-pain-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.v-pain-list li { border-bottom: 1px solid var(--hair-strong); }

.v-pain-list a {
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 1rem;
  padding: clamp(1.25rem, 2.3vw, 2rem) 0;
  transition: opacity 0.35s ease;
}

.v-pain-list .n { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.1em; color: var(--ink-50); font-variant-numeric: tabular-nums; transition: color 0.25s ease; }
.v-pain-list .t { display: block; transition: transform 0.6s var(--expo); }
.v-pain-list b { display: block; font-size: clamp(1.5rem, 2.9vw, 2.4rem); line-height: 1.35; font-weight: 700; color: var(--ink); letter-spacing: 0.01em; transition: color 0.25s ease; }
.v-pain-list em { display: block; font-style: normal; font-size: 1.0625rem; line-height: 1.7; color: var(--ink-70); margin-top: 0.3rem; }

.v-pain-list .go, .tx-index .go {
  width: 3.25rem; height: 3.25rem;
  border-radius: 50%;
  border: 1px solid var(--hair-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  font-size: 1.1rem;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.5s var(--expo);
}

@media (hover: hover) {
  .v-pain-list:hover a:not(:hover) { opacity: 0.42; }
}

.v-pain-list a.on .t { transform: translateX(0.75rem); }
.v-pain-list a.on b { color: var(--indigo); }
.v-pain-list a.on .n { color: var(--indigo-ink); }
.v-pain-list a.on .go { background: var(--indigo); border-color: var(--indigo); color: #fff; transform: translateX(-4px); }

@media (max-width: 760px) {
  .v-pain-grid { grid-template-columns: 84px minmax(0, 1fr); column-gap: 1.1rem; }
  .v-figure { padding: 0.75rem 0.5rem; border-radius: 14px; top: calc(var(--nav-h) + 1rem); }
  .v-figure-in { height: auto; width: 100%; }
  .v-dot { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
  .v-pain-list a { grid-template-columns: minmax(0, 1fr) auto; padding: 1.15rem 0; }
  .v-pain-list .n { display: none; }
  .v-pain-list b { font-size: 1.3rem; }
  .v-pain-list em { font-size: 1rem; }
  .v-pain-list .go { width: 2.5rem; height: 2.5rem; font-size: 1rem; }
  .v-pain-list a.on .t { transform: translateX(0.3rem); }
}

/* ------------------------------------------------------------
   6b. 標語帶：一行大字，跟著捲動往左走
   ------------------------------------------------------------ */

.v-band { overflow: hidden; padding: 0 0 clamp(3.5rem, 7vw, 6.5rem); }

.v-band-track {
  margin: 0;
  display: flex;
  width: max-content;
  white-space: nowrap;
  font-size: clamp(4.2rem, 13.5vw, 13rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--hair);
  will-change: transform;
}

.v-band-track span { padding-right: 0.6em; display: flex; }
/* 文字放在偽元素裡：純裝飾，不進無障礙樹，也不算對比 */
.v-band-track span > * { font-style: normal; font-weight: inherit; text-decoration: none; }
.v-band-track span > i::before { content: "從"; }
.v-band-track span > b::before { content: "一針"; }
.v-band-track span > u::before { content: "到"; }
.v-band-track span > s::before { content: "一個關節"; }
.v-band-track b, .v-band-track s { color: var(--indigo-wash); }
.v-band-track span:nth-child(2) b, .v-band-track span:nth-child(2) s { color: var(--indigo); }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .v-band-track {
      animation: v-band linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
  }
}

@keyframes v-band { from { transform: translateX(-4%); } to { transform: translateX(-42%); } }

/* ------------------------------------------------------------
   7. 02 治療特色：標題釘住，三點往上走
   ------------------------------------------------------------ */

.v-point {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 0 1.5rem;
  padding: clamp(2rem, 3.6vw, 3.25rem) 0;
  border-top: 1px solid var(--hair-strong);
}

.v-point:first-child { border-top: 2px solid var(--ink); }
.v-point:last-child { padding-bottom: 0; }

.v-point .n { font-size: clamp(2.6rem, 4.6vw, 4rem); font-weight: 500; line-height: 1; color: var(--ink-30); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.v-point h3 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.5; }
.v-point .cap { border: 0; padding: 0; margin: 0.4rem 0 1.1rem; max-width: none; color: var(--indigo-ink); font-size: 1.0625rem; font-weight: 500; letter-spacing: 0.04em; }
.v-point p:last-child { margin: 0; color: var(--ink-70); max-width: 34em; }

@media (max-width: 760px) {
  .v-point { grid-template-columns: 1fr; }
  .v-point .n { margin-bottom: 1rem; }
}

/* ------------------------------------------------------------
   8. 03 關節退化：兩個會彎的關節
   ------------------------------------------------------------ */

.v-joints { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.v-joint {
  display: grid;
  grid-template-columns: clamp(110px, 14vw, 190px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
  padding: clamp(1.75rem, 3.4vw, 3.25rem);
  background: var(--sheet);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.v-joint:hover { border-color: var(--indigo); }

.v-joint-art { width: 100%; height: auto; overflow: visible; }
.v-joint-art .bone { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.v-joint-art .hinge { fill: var(--sheet); stroke: var(--indigo); stroke-width: 5; transition: fill 0.4s ease; }
.v-joint-art .flex { transform-box: view-box; transform-origin: 100px 120px; transition: transform 1.1s var(--expo); }
.v-joint-hip .v-joint-art .flex { transform-origin: 104px 76px; }

.v-joint:hover .flex, .v-joint:focus-visible .flex { transform: rotate(34deg); }
.v-joint-hip:hover .flex, .v-joint-hip:focus-visible .flex { transform: rotate(-24deg); }
.v-joint:hover .hinge { fill: var(--indigo-wash); }

/* 捲動時關節慢慢彎：卡片經過畫面中段的過程，就是一次屈伸 */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (hover: none) {
    .v-joint .flex { animation: v-flex linear both; animation-timeline: view(); animation-range: entry 30% exit 70%; }
    .v-joint-hip .flex { animation-name: v-flex-hip; }
  }
}

@keyframes v-flex { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(34deg); } }
@keyframes v-flex-hip { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-24deg); } }

.v-joint h3 { margin: 0 0 0.35rem; font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.4; }
.v-joint .hook { margin: 0 0 0.8rem; color: var(--indigo-ink); font-weight: 500; font-size: 1.0625rem; }
.v-joint p { margin: 0 0 1.4rem; color: var(--ink-70); }

@media (max-width: 900px) { .v-joints { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .v-joint { grid-template-columns: 72px minmax(0, 1fr); gap: 1rem; padding: 1.5rem 1.25rem; } }

/* ------------------------------------------------------------
   9. 04 治療方式：兩欄索引，線從左邊畫過去
   ------------------------------------------------------------ */

.v-tx { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.v-tx .tx-index { columns: 1; }
.v-tx .tx-group { margin: 0 0 1rem; color: var(--ink-70); font-size: 1rem; }
.v-tx-all { margin: 2.5rem 0 0; }

.tx-index li { position: relative; }

.tx-index li::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--indigo);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.7s var(--expo);
}

.tx-index li:hover::after, .tx-index li:focus-within::after { transform: scaleX(1); }

.tx-index a { align-items: center; padding: 1.2rem 0; }
.tx-index a > span:nth-child(2) { transition: transform 0.6s var(--expo); }
.tx-index a:hover > span:nth-child(2) { transform: translateX(0.5rem); }
.tx-index .go { width: 2.75rem; height: 2.75rem; font-size: 1rem; color: var(--ink-50); }
.tx-index a:hover .go { background: var(--indigo); border-color: var(--indigo); color: #fff; transform: none; }

@media (max-width: 900px) {
  .v-tx { grid-template-columns: 1fr; row-gap: 3rem; }
}

/* ------------------------------------------------------------
   10. 05 就醫流程：一條線串四個關節
   ------------------------------------------------------------ */

.v-steps {
  list-style: none;
  margin: 0;
  padding: 3.25rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 3rem);
  position: relative;
}

.v-steps::before, .v-steps::after {
  content: "";
  position: absolute;
  top: 9px; left: 0; right: 0;
  height: 2px;
  background: var(--hair);
}

.v-steps::after { background: var(--indigo); transform-origin: 0 50%; }

.v-step { position: relative; }

.v-step::before {
  content: "";
  position: absolute;
  top: -3.25rem; left: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--indigo);
  z-index: 1;
}

.v-step .n { display: block; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 500; line-height: 1; letter-spacing: -0.03em; color: var(--ink-30); margin-bottom: 1rem; font-variant-numeric: tabular-nums; }
.v-step h3 { margin: 0 0 0.5rem; font-size: 1.35rem; }
.v-step p { margin: 0; color: var(--ink-70); font-size: 1.0625rem; line-height: 1.85; max-width: 16em; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .v-steps::after {
      animation: v-progress linear both;
      animation-timeline: view();
      animation-range: entry 35% cover 62%;
      transform: scaleX(0);
    }
  }
}

@media (max-width: 760px) {
  .v-steps { grid-template-columns: 1fr; padding: 0 0 0 2.75rem; gap: 2.25rem; }
  .v-steps::before, .v-steps::after { top: 0; bottom: 0; left: 9px; right: auto; width: 2px; height: auto; transform-origin: 50% 0; }
  .v-step::before { top: 0.6rem; left: -2.75rem; }
  .v-step p { max-width: none; }
  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      .v-steps::after { animation-name: v-progress-y; transform: scaleY(0); animation-range: entry 20% cover 70%; }
    }
  }
}

@keyframes v-progress-y { to { transform: scaleY(1); } }

/* ------------------------------------------------------------
   11. 06 門診據點
   ------------------------------------------------------------ */

.v-locs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.v-loc {
  background: var(--sheet);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.v-loc .ph { margin: 0; border-radius: 0; aspect-ratio: 16 / 9; }
.v-loc .ph img { border-radius: 0; transition: transform 1.4s var(--expo), filter 0.4s ease; }
.v-loc .ph picture { display: block; width: 100%; height: 100%; }
.v-loc .ph picture img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15) contrast(1.04) saturate(0.95) brightness(1.03); }
.v-loc:hover .ph img { transform: scale(1.045); }

.v-loc-body { padding: clamp(1.5rem, 2.8vw, 2.5rem); display: flex; flex-direction: column; flex: 1; }

.v-loc .tag {
  align-self: flex-start;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--ink-70);
  line-height: 1.5;
}

.v-loc h3 { margin: 1rem 0 1.25rem; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.4; }

.v-loc dl { margin: 0 0 1.75rem; flex: 1; }
.v-loc dl div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; padding: 0.8rem 0; border-top: 1px solid var(--hair); }
.v-loc dt { color: var(--ink-50); font-weight: 500; font-size: 1rem; letter-spacing: 0.08em; }
.v-loc dd { margin: 0; color: var(--ink); line-height: 1.75; }
.v-loc dd a { border-bottom: 1px solid var(--hair-strong); transition: color 0.2s ease, border-color 0.2s ease; }
.v-loc dd a:hover { color: var(--indigo-ink); border-color: var(--indigo-ink); }

@media (max-width: 860px) { .v-locs { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .v-loc dl div { grid-template-columns: 1fr; gap: 0.1rem; } }

/* ------------------------------------------------------------
   12. 07 關於我
   ------------------------------------------------------------ */

.v-doc-grid {
  display: grid;
  grid-template-columns: minmax(260px, 5fr) minmax(0, 6fr) auto;
  column-gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.v-doc-photo { margin: 0; border-radius: var(--radius-lg); max-height: 82vh; }
.v-doc-photo picture { display: block; width: 100%; height: 100%; }
.v-doc-photo picture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; border-radius: 0; filter: grayscale(0.15) contrast(1.04) saturate(0.95) brightness(1.03); }

.v-doc-info .v-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.v-doc-info .v-head h2 { font-size: 1.25rem; font-weight: 500; color: var(--ink-70); letter-spacing: 0.2em; }

.v-doc-name {
  margin: 0;
  font-size: clamp(3.4rem, 8.4vw, 7.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.v-doc-name small { font-size: 0.26em; font-weight: 500; letter-spacing: 0.2em; color: var(--ink-50); margin-left: 0.9em; }

.v-doc-en { margin: 0.9rem 0 clamp(1.5rem, 3vw, 2.5rem); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-50); }

.v-doc-info .doc-title { font-size: 1.1875rem; margin: 0 0 1.5rem; }
.v-doc-info .doc-spec { border-top: 1px solid var(--hair-strong); padding-top: 1.25rem; margin-bottom: 2.25rem; font-size: 1.0625rem; }
.v-doc-grid .vlabel { align-self: start; letter-spacing: 0.6em; }

@media (max-width: 860px) {
  .v-doc-grid { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .v-doc-photo { max-width: 26rem; }
  .v-doc-grid .vlabel { display: none; }
}

/* ------------------------------------------------------------
   13. 08 文章、評價帶、法遵
   ------------------------------------------------------------ */

.v-posts { border-bottom: 1px solid var(--hair-strong); }

.v-post { display: block; padding: clamp(1.75rem, 3vw, 2.75rem) 0; border-top: 1px solid var(--hair-strong); }
.v-post:first-child { border-top: 2px solid var(--ink); }
.v-post time { display: block; font-size: 0.9375rem; letter-spacing: 0.14em; color: var(--ink-50); font-variant-numeric: tabular-nums; margin-bottom: 0.6rem; }
.v-post h3 { margin: 0 0 0.7rem; font-size: clamp(1.4rem, 2.3vw, 1.9rem); line-height: 1.5; transition: color 0.25s ease; }
.v-post p { margin: 0 0 1.2rem; color: var(--ink-70); max-width: 34em; }
.v-post:hover h3 { color: var(--indigo); }

.v-reviews { padding: clamp(3.5rem, 7vw, 6rem) 0; }

.v-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  padding: clamp(1.75rem, 3.4vw, 3rem);
  background: var(--sheet);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
}

.v-strip h2 { margin: 0 0 0.3rem; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.5; }
.v-strip p { margin: 0; color: var(--ink-70); }

.v-legal .risk { margin-top: 0; border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.75rem); }

/* ------------------------------------------------------------
   14. 頁尾：四欄 ＋ 壓在最底的大字署名
   ------------------------------------------------------------ */

.v-foot { position: relative; overflow: hidden; padding: clamp(4rem, 8vw, 7rem) 0 0; }
.v-foot .foot-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2.5rem; }
.v-foot-name { margin: 0 0 0.4rem; font-size: 1.3rem; font-weight: 700; color: #fff; letter-spacing: 0.06em; }
.v-foot-spec { margin: 0; color: rgba(255, 255, 255, 0.7); }
.v-foot li { margin-bottom: 0.55rem; }
.v-foot a { position: relative; transition: color 0.2s ease; }
.v-foot a:hover { color: #fff; text-decoration: none; }
.v-foot li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.5s var(--expo); }
.v-foot li a:hover::after { transform: scaleX(1); }
.v-foot .foot-bottom { margin-top: clamp(2.5rem, 5vw, 4.5rem); }

.v-foot-word {
  margin: clamp(1.5rem, 4vw, 3.5rem) 0 -0.17em;
  font-size: 19.4vw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.055);
  user-select: none;
  pointer-events: none;
}

.v-foot-word::before { content: attr(data-t); }

@media (max-width: 980px) { .v-foot .foot-grid { grid-template-columns: 1fr 1fr; } .v-foot-id { grid-column: 1 / -1; } }
@media (max-width: 520px) { .v-foot .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; } }

/* ------------------------------------------------------------
   15. 內頁：標題區放大、區塊改成「左標題、右內文」的編排
   ------------------------------------------------------------ */

.page-head { padding: clamp(2.75rem, 6.5vw, 5.5rem) var(--pad) clamp(0.5rem, 1.5vw, 1.25rem); }

/* 內頁開頭的主圖：橫幅比例，不要一張圖就佔滿整個畫面 */
.page-head + .sec > .shell > figure.ph:first-child { aspect-ratio: 21 / 9; }
@media (max-width: 760px) { .page-head + .sec > .shell > figure.ph:first-child { aspect-ratio: 3 / 2; } }

.page-head h1 {
  font-size: clamp(2.2rem, 5.6vw, 4.4rem);
  line-height: 1.22;
  margin: 0.6rem 0 0.6rem;
  max-width: 16em;
}

.page-head .crumb {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: none;
  font-weight: 500;
  color: var(--ink-50);
  transition: color 0.2s ease;
  margin-bottom: clamp(1rem, 2.5vw, 2.25rem);
}

.page-head .crumb:hover { color: var(--indigo-ink); }
.page-head .kicker { margin-bottom: 0.4rem; }
.crumb-path { color: var(--ink-50); letter-spacing: 0.08em; }

@media (prefers-reduced-motion: no-preference) {
  /* 開場動畫的延遲壓在 0.12 秒內：主內容是 LCP，不能為了好看讓它晚出來 */
  .page-head > * { animation: v-rise 0.9s var(--expo) both; }
  .page-head > :nth-child(2) { animation-delay: 0.03s; }
  .page-head > :nth-child(3) { animation-delay: 0.06s; }
  .page-head > :nth-child(4) { animation-delay: 0.09s; }
  .page-head + .sec { animation: v-rise-t 1s var(--expo) 0.05s both; }
}

@keyframes v-rise-t { from { transform: translateY(20px); } }

@media (min-width: 1024px) {
  .sec > .shell > .panel:has(> h3:first-child):not(.grid + .panel) {
    display: grid;
    grid-template-columns: minmax(12rem, 17rem) minmax(0, 1fr);
    column-gap: clamp(2.5rem, 5vw, 5rem);
    background: transparent;
    border: 0;
    border-top: 1px solid var(--hair-strong);
    border-radius: 0;
    padding: clamp(2.5rem, 4vw, 3.75rem) 0;
    margin: 0;
  }

  .sec > .shell > .panel:has(> h3:first-child):not(.grid + .panel) > h3:first-child {
    grid-column: 1;
    grid-row: 1 / span 80;
    align-self: start;
    position: sticky;
    top: calc(var(--nav-h) + 2rem);
    display: block;
    border: 0;
    padding: 0;
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.55;
  }

  .sec > .shell > .panel:has(> h3:first-child):not(.grid + .panel) > :not(h3:first-child) { grid-column: 2; min-width: 0; }
  .sec > .shell > .panel:has(> h3:first-child):not(.grid + .panel) > p:nth-child(2),
  .sec > .shell > .panel:has(> h3:first-child):not(.grid + .panel) > :nth-child(2) { margin-top: 0; }
  .sec > .shell > .panel:has(> h3:first-child):not(.grid + .panel) > p + p { margin-top: 0; }
}

.tile, .clinic, .loc, .panel, .risk, .callout { transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.6s var(--expo); }

.tbl thead th { background: transparent; border-bottom: 2px solid var(--ink); color: var(--ink); letter-spacing: 0.06em; }
.tbl tbody tr { transition: background 0.2s ease; }
.tbl tbody tr:hover { background: var(--paper-2); }

.callout { border-radius: var(--radius); border-left-width: 3px; }

.ph { border-radius: var(--radius-lg); }
.ph > img { border-radius: 0; }

/* 醫師介紹頁開頭 */
.v-dochero { padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5.5rem); }
.v-dochero .crumb { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; letter-spacing: 0.08em; text-transform: none; font-weight: 500; color: var(--ink-50); margin-bottom: clamp(1rem, 3vw, 2.5rem); transition: color 0.2s ease; }
.v-dochero .crumb:hover { color: var(--indigo-ink); }
.v-dochero h1 { margin: 0 0 clamp(1.25rem, 2.6vw, 2.25rem); font-size: 1.25rem; font-weight: 500; letter-spacing: 0.2em; color: var(--ink-70); line-height: 1.5; }
.v-dochero .v-doc-grid { grid-template-columns: minmax(260px, 5fr) minmax(0, 6fr); }
.v-doc-lic { margin: 0; color: var(--ink-70); font-size: 1.0625rem; border-top: 1px solid var(--hair-strong); padding-top: 1.25rem; }

@media (prefers-reduced-motion: no-preference) {
  .v-dochero .v-doc-photo { animation: v-clip-in 1.4s var(--expo) both; }
  .v-dochero .v-doc-photo img { animation: v-zoom 1.9s var(--expo) both; }
  .v-dochero .v-doc-info > * { animation: v-rise 1s var(--expo) both; }
  .v-dochero .v-doc-info > :nth-child(2) { animation-delay: 0.08s; }
  .v-dochero .v-doc-info > :nth-child(3) { animation-delay: 0.16s; }
  .v-dochero .v-doc-info > :nth-child(4) { animation-delay: 0.24s; }
  .v-dochero .v-doc-info > :nth-child(5) { animation-delay: 0.32s; }
  .v-dochero .v-doc-info > :nth-child(6) { animation-delay: 0.4s; }
  .v-dochero .v-doc-info > :nth-child(7) { animation-delay: 0.48s; }
}

@keyframes v-clip-in { from { clip-path: inset(0 0 100% 0 round var(--radius-lg)); } to { clip-path: inset(0 0 0 0 round var(--radius-lg)); } }

@media (max-width: 860px) { .v-dochero .v-doc-grid { grid-template-columns: 1fr; } }

/* 文章頁（style.css 的 .wrap／.post-*） */
.prose h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }

.post-head { padding-top: clamp(2.5rem, 6vw, 5rem); }
.post-head .back { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-50); font-size: 1rem; letter-spacing: 0.08em; text-decoration: none; transition: color 0.2s ease; }
.post-head .back:hover { color: var(--indigo-ink); }
.post-title { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.32; letter-spacing: 0.01em; text-wrap: balance; }

@media (prefers-reduced-motion: no-preference) {
  .post-head > * { animation: v-rise 1s var(--expo) both; }
  .post-head > :nth-child(2) { animation-delay: 0.03s; }
  .post-head > :nth-child(3) { animation-delay: 0.06s; }
  .post-head + .post-body, .post-head ~ article { animation: v-rise-t 1s var(--expo) 0.05s both; }
}

@media print {
  [data-rv] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .v-foot-word, .v-scroll, .v-hero-index { display: none; }
}

/* 文章頁：全站頁尾接在文章後面，文章自己的小頁尾收成一行註記 */
.site-foot { border-top: 1px solid var(--hair); margin-top: var(--s5); padding: var(--s3) 0 var(--s6); color: var(--ink-50); font-size: 1rem; }
.site-foot p { margin: 0; }

.foot .foot-h { font-family: var(--sans); font-size: 0.8125rem; letter-spacing: 0.28em; color: rgba(255, 255, 255, 0.62); text-transform: uppercase; margin: 0 0 1rem; font-weight: 700; line-height: 1.5; }
