/* =========================================================
   2026 花蓮國際石雕藝術季 — Desktop 模擬頁
   Tokens 對應 Figma Variables（kdDX4eSr9PESmzF94J6Qhc）
   版面：12 欄 / margin 40 / gutter 24，支援 1366–1920
   ========================================================= */

:root {
  /* color */
  --black: #000000;
  --white: #ffffff;
  --dark: #131313;
  --brown: #dba561;
  --color-accent-secondary: #64c0ab;
  --logo: #231815;
  --teal: var(--color-accent-secondary);

  /* font */
  --font-zh: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-en-serif: "EB Garamond", "Garamond", "Times New Roman", serif;
  --font-en-sans: "Outfit", "Helvetica Neue", Arial, sans-serif;

  /* spacing / radius / size */
  --spacing-stack: 16px;
  --spacing-inline-gap: 12px;
  --spacing-inline-gap-s: 8px;
  --spacing-block-gap: 48px;
  --spacing-card-padding: 24px;
  --radius-card: 8px;
  --radius-round: 99999px;
  --button-h: 40px;

  /* layout — 由 js 依視窗寬度覆寫（預設為 1440 設計稿數值） */
  --edge: 0px;
  --col: 91.33px;
  --r: 40px;
  --c1: 40px;  --c2: 155.33px; --c3: 270.67px; --c4: 386px;
  --c5: 501.33px; --c6: 616.67px; --c7: 732px; --c8: 847.33px;
  --c9: 962.67px; --c10: 1078px; --c11: 1193.33px; --c12: 1308.67px;

  /* motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --kv-tex: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: var(--font-zh);
  font-size: 16px;
  line-height: 28px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, dl, dd, ul, address { margin: 0; padding: 0; }
ul { list-style: none; }
address { font-style: normal; }
.sr, .t-h1.is-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: #000; color: #fff; padding: 8px 16px; transition: top .2s; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ---------- 文字樣式（Figma text styles） ---------- */
.t-display { font: italic 400 56px/60px var(--font-en-serif); letter-spacing: 0; white-space: nowrap; }
.t-h1 { font: 600 40px/56px var(--font-zh); }

/* ---------- Motion 基礎：線條畫出 / 文字浮出 ---------- */
.js-line {
  position: absolute; display: block; background: currentColor;
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1.25s var(--ease-io) calc(var(--d, 0) * 1ms);
}
.js-line.v { transform: scaleY(0); transform-origin: center top; }
.is-in .js-line, .is-in.js-line { transform: none; }
/* 桌機縮放（1024–1365）時線條仍為 1 個實際像素（--hair 由 main.js 依縮放比寫入） */
@media (min-width: 1024px) {
  .js-line.js-line:not(.v) { height: var(--hair, 1px); }
  .js-line.js-line.v { width: var(--hair, 1px); }
}

.rise { display: block; overflow: hidden; }
.rise__i {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 1s var(--ease-out) calc(var(--d, 0) * 1ms);
}
.is-in .rise__i { transform: none; }
.is-done .rise { overflow: visible; }

.fade {
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s ease calc(var(--d, 0) * 1ms), transform 1.1s var(--ease-out) calc(var(--d, 0) * 1ms);
}
.is-in .fade, .is-in.fade { opacity: 1; transform: none; }

/* split 字元 */
[data-split] .w { display: inline-block; white-space: nowrap; clip-path: inset(-.4em -.5em -.2em -.5em); }
[data-split] .ch {
  display: inline-block;
  transform: translateY(135%) rotate(6deg);
  transform-origin: left bottom;
  transition: transform 1.05s var(--ease-out) calc((var(--d, 0) + var(--ci, 0) * 38) * 1ms);
}
.is-in [data-split] .ch, [data-split].is-in .ch { transform: none; }
.is-done [data-split] .w { clip-path: none; }

/* ---------- Button（Figma button component） ---------- */
.btn {
  --bc: var(--black); --fc: var(--white);
  display: inline-flex; align-items: stretch; height: var(--button-h);
  color: var(--fc); white-space: nowrap; position: relative;
}
.btn::before, .btn::after {
  content: ""; display: block; height: 100%; background: var(--bc);
  transition: clip-path .45s var(--ease-out), background-color .3s ease, transform .45s var(--ease-out);
}
.btn::before { width: 15px; margin-right: -.5px; clip-path: polygon(100% 0, 0 17.5%, 10% 70%, 100% 100%); }
.btn::after { width: 13.5px; margin-left: -.5px; clip-path: polygon(0 100%, 0 0, 63% 19.25%, 100% 61.25%); }
.btn > span {
  display: flex; align-items: center; padding: 0 var(--spacing-stack);
  background: var(--bc); font: 600 16px/20px var(--font-zh);
  transition: background-color .3s ease;
}
.btn--s > span { padding: 0 12px; font-size: 14px; line-height: 18px; }
.btn { transition: transform .35s var(--ease-out); transform-origin: 50% 50%; }
.btn:hover, .btn:focus-visible { transform: rotate(5deg); }
.btn:active { transform: rotate(5deg) scale(.96); }

/* Button outline（Figma button / Property 1=outline） */
.btn-o {
  display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 var(--spacing-card-padding);
  border: 1px solid var(--black); border-radius: var(--radius-round); background: rgba(255, 255, 255, .99);
  font: 400 12px/18px var(--font-zh); color: var(--black); white-space: nowrap; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, transform .2s ease;
}
.btn-o:hover, .btn-o:focus-visible { background: var(--black); color: var(--white); }
.btn-o:active { transform: scale(.96); }
.ul { background: linear-gradient(currentColor, currentColor) left 100% / 0 1px no-repeat; transition: background-size .45s var(--ease-out); }
.ul:hover, .ul:focus-visible { background-size: 100% 1px; }

/* 手機／平板專用元素（桌機隱藏） */
.mh, .mm, .mdate, .kv-kanji--m, .artist__name, .artist__peek, .ticks { display: none; }
@media (min-width: 1024px) { body { min-width: 1366px; } }

/* =========================================================
   HEADER（固定）
   ========================================================= */
.hdr { position: fixed; inset: 0 0 auto 0; height: 0; z-index: 50; color: var(--black); }
.hdr__band { position: fixed; inset: 0 0 auto 0; height: 113px; pointer-events: none; }
.hdr__band::before, .hdr__band::after { content: ""; position: absolute; inset: 0; transition: opacity .45s ease; }
.hdr__band::before { background: linear-gradient(var(--white) 57px, rgba(255, 255, 255, 0) 113px); }
.hdr__band::after { opacity: 0; background: linear-gradient(rgba(0, 0, 0, .92) 50px, rgba(0, 0, 0, 0) 113px); }
.hdr.is-dark .hdr__band::before { opacity: 0; }
.hdr.is-dark .hdr__band::after { opacity: 1; }
.hdr__logo {
  position: fixed; left: var(--c1); top: 39px; width: 86px; color: var(--logo);
  opacity: 0; transform: translateY(12px); transition: opacity 1s ease .1s, transform 1.2s var(--ease-out) .1s, color .4s ease;
}
.is-in .hdr__logo, .hdr.is-in .hdr__logo { opacity: 1; transform: none; }
.logo-svg g { fill: currentColor; }
.logo-svg .logo-mark { transform-box: fill-box; transform-origin: 50% 60%; transition: transform .6s var(--ease-out); }
.hdr__logo:hover .logo-mark { transform: rotate(-6deg) scale(1.06); }
.hdr__vline { position: fixed; left: var(--c2); top: 40px; width: 1px; height: 524px; color: var(--black); transition: transform 1.25s var(--ease-io) calc(var(--d, 0) * 1ms), color .4s ease; }
/* 社群連結（date 區塊、手機選單共用） */
.social { display: flex; gap: var(--spacing-inline-gap-s); color: inherit; }
.social a { display: flex; align-items: center; justify-content: center; width: 26px; height: 30px; transition: transform .4s var(--ease-out), color .3s ease; }
.social svg { width: 26px; height: 26px; fill: currentColor; }
.social a:hover { color: var(--teal); transform: translateY(-3px) rotate(-8deg); }

.menu {
  position: fixed; left: var(--c2); right: var(--r); top: 40px;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 0 0 var(--spacing-stack) var(--spacing-block-gap);
  font: 600 14px/16px var(--font-zh);
  transition: color .4s ease;
}
.menu__items { display: flex; gap: var(--spacing-stack); align-items: center; }
.menu__items a { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 0 0 6px; margin-bottom: -6px; transition: color .25s ease; }
.menu__items a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.menu__items a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu__items a.is-active { color: var(--teal); }
.menu__news { color: var(--brown); }
.menu__items a.is-soon, .mm__items a.is-soon { cursor: default; }
.menu__items a.is-soon:hover { color: inherit; }
.menu__items a.is-soon:hover::after { transform: scaleX(0); }
.menu__items a.menu__news:hover { color: var(--brown); }
.menu__news svg { fill: currentColor; transition: transform .35s var(--ease-out); }
.menu__news:hover svg { transform: translate(2px, -2px); }
.menu__rule { left: 0; right: 0; bottom: 0; height: 1px; }
.lang { display: flex; gap: var(--spacing-stack); }
.lang a { position: relative; }
.lang .is-current { color: inherit; }
.lang__en { font: 500 14px/16px var(--font-en-sans); text-transform: uppercase; }
/* 非目前語言淡出；英文版尚未開放時（aria-disabled）不可點 */
.lang a:not(.is-current) { opacity: .3; transition: opacity .3s; }
.lang a:not(.is-current):hover { opacity: 1; }
.lang a[aria-disabled]:hover { opacity: .55; }
.lang a[aria-disabled] { cursor: not-allowed; }
.lang__en[data-tip]::after {
  content: attr(data-tip); position: absolute; right: 0; top: calc(100% + 12px);
  font: 500 12px/16px var(--font-en-sans); text-transform: none; white-space: nowrap;
  background: var(--black); color: var(--white); padding: 4px 8px; opacity: 0; transform: translateY(-4px);
  transition: opacity .25s, transform .25s; pointer-events: none;
}
.lang__en[data-tip]:hover::after { opacity: 1; transform: none; }
.hdr.is-dark .menu { color: var(--white); }
.hdr.is-dark .lang a:not(.is-current) { opacity: .45; }
.hdr.is-dark .lang a:not(.is-current):not([aria-disabled]):hover { opacity: 1; }
.hdr.is-inv .hdr__logo, .hdr.is-inv .hdr__vline { color: var(--white); mix-blend-mode: difference; }

/* =========================================================
   DATE DOCK（固定左下）
   ========================================================= */
.dock {
  position: fixed; left: var(--c1); bottom: 32px; z-index: 40; width: 460px;
  color: var(--black); transition: color .4s ease, opacity .5s ease, transform .6s var(--ease-out);
}
.dock__date { font: 500 36px/27px var(--font-en-sans); letter-spacing: -.5px; height: 27px; overflow: visible; padding-top: 1px; }
.dock__date .rise__i { line-height: 27px; }
.dock__zh { margin-top: 16px; font: 700 30px/29px var(--font-zh); letter-spacing: 3.8px; }
.dock__en { margin-top: 10px; font: 600 11px/14.6px var(--font-en-sans); letter-spacing: .6px; text-transform: uppercase; }
.dock__btn { margin-top: 16px; }
.dock__social { margin-top: 16px; }
/* 經過深色影片時以 difference 反白（部分重疊也正確） */
.dock.is-inv { color: var(--white); mix-blend-mode: difference; }
/* 離開第一屏後隱藏，捲到頁面最底部再出現 */
.dock.is-away { opacity: 0; transform: translateY(24px); pointer-events: none; visibility: hidden; transition: opacity .45s ease, transform .6s var(--ease-out), visibility 0s linear .6s; }
.dock:not(.is-away) { visibility: visible; }
.dock.is-inv .btn { --bc: var(--white); --fc: var(--black); }

/* =========================================================
   bg-kv（共用：遮罩外框 + 內部紋理）
   ========================================================= */
.bg-kv {
  position: absolute; z-index: 0; pointer-events: none;
  will-change: transform; transform-origin: 50% 40%;
}
.bg-kv__tex {
  position: absolute; inset: -9%;
  background-color: #e8f3ef;
  background-image: var(--kv-tex), linear-gradient(135deg, #f4faf8 0%, #bfe3d9 45%, #f3e5d0 100%);
  background-size: cover; background-position: var(--tex-pos, 50% 50%);
  will-change: transform;
  opacity: 0; transition: opacity 1.2s ease;
}
.tex-ready .bg-kv__tex { opacity: 1; }
.bg-kv--hero, .bg-kv--ex {
  left: -2%; width: 104%; height: 721px;
  clip-path: polygon(0 153px, 22.94% 12px, 36.82% 0, 69.88% 0, 93.24% 43px, 100% 172px, 100% 100%, 0 100%);
}
/* 第一屏背景滿版：高度隨視窗延伸到 sec1 底部（設計稿 900 高時為 721） */
.bg-kv--hero { top: 168px; height: auto; bottom: 11px; }
.bg-kv--ex { top: 410px; --tex-pos: 72% 30%; }
.bg-kv--camp {
  left: 26.39%; top: 213px; width: 93.54%; height: 1008px; --tex-pos: 30% 70%;
  clip-path: polygon(0 33.49%, 20.97% 8.27%, 58.52% 0, 77.92% 3.61%, 93.06% 11.23%, 100% 23.5%, 100% 100%, 8.69% 84.31%);
}

/* =========================================================
   sec-1 KV
   ========================================================= */
.sec1 { position: relative; height: max(900px, var(--vh100, 100vh)); overflow: hidden; }
/* bg-green：綠色漸層固定在畫面底部（桌機／手機皆同） */
.sec1__fade {
  position: fixed; left: 0; right: 0; bottom: 0; height: 140px; z-index: 30; opacity: .9; pointer-events: none;
  background: linear-gradient(rgba(100, 192, 171, 0) 26.6%, var(--teal) 80%);
}
.kv {
  position: absolute; z-index: 2; top: 112px; right: var(--r); width: 760px; height: 228px;
  margin: 0; font-weight: 400;
}
.kv__layer { position: absolute; inset: 0; will-change: transform; }
.kv__h { left: .87px; top: var(--y); width: 758.8px; height: 1px; }
.kv__v { left: 136.7px; top: 84.3px; width: 1px; height: 126px; }
.kv-kanji { position: absolute; left: 292.2px; top: -1.3px; width: 247px; height: 83px; overflow: hidden; }
.kv-kanji .glyph {
  transform: translateY(86px);
  transition: transform 1.2s var(--ease-out) calc((500 + var(--i) * 110) * 1ms);
}
.is-in .kv-kanji .glyph { transform: none; }
.kv__en { position: absolute; font: italic 400 76px/76px var(--font-en-serif); white-space: nowrap; }
.kv__en--1 { left: 0; top: 16.4px; }
.kv__en--2 { left: 160px; top: 80px; }
.kv__en--3 { left: 420.7px; top: 142.7px; }
.kv__sub { position: absolute; right: 0; top: 24px; text-align: right; font: 400 24px/26px var(--font-en-serif); white-space: nowrap; }
.kv__zh { position: absolute; left: 1px; font: 700 22px/22px var(--font-zh); letter-spacing: .5px; white-space: nowrap; }
.kv__zh--1 { top: 104.4px; }
.kv__zh--2 { top: 168.5px; }

/* =========================================================
   sec-2 About
   ========================================================= */
.sec2 { position: relative; height: 520px; }
/* 標題：前言（ZH/H1）＋ About（EN/Display Italic）同一行 */
.sec2__title { position: absolute; left: calc(var(--c6) + 3px); top: 57px; display: flex; align-items: flex-end; gap: 8px; font-weight: 400; }
.sec2__label { font: 600 40px/56px var(--font-zh); margin-bottom: 2px; }
.sec2__rule { left: var(--c6); right: var(--r); top: 128px; height: 1px; }
.sec2__vline { left: calc(var(--c6) + 32px); top: 128px; width: 1px; height: 272px; }
.sec2__body {
  position: absolute; left: calc(var(--c7) - 48px); right: var(--r); top: 151px; min-height: 273px;
  display: flex; flex-direction: column; gap: 24px;
}
.sec2__body p { text-align: justify; }
.sec2__btn { margin-top: auto; align-self: flex-end; }

/* =========================================================
   sec-3 Video（內縮框 → 滿版）
   ========================================================= */
.sec3 { position: relative; height: calc(var(--vh100, 100vh) * 2.3); margin-top: 0; background: var(--white); }
.sec3__sticky { position: sticky; top: 0; height: var(--vh100, 100vh); overflow: hidden; }
.sec3__frame {
  --ti: 140px; --si: 240px; --rr: 8px;
  position: absolute; inset: 0; background: var(--black); color: var(--white);
  clip-path: inset(var(--ti) var(--si) var(--ti) var(--si) round var(--rr));
  cursor: none; outline: none;
}
.sec3__frame:focus-visible { box-shadow: inset 0 0 0 3px var(--teal); }
.sec3__preview { display: none; }
.sec3__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--vs, 1.18)); }
.sec3__empty {
  position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.035) 0 1px, transparent 1px 14px),
    var(--black);
}
.no-video .sec3__empty { display: flex; }
/* 音量開關 */
.sound {
  position: absolute; z-index: 4; right: calc(var(--si) + 24px); bottom: calc(var(--ti) + 24px);
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px 0 12px;
  border: 1px solid rgba(255, 255, 255, .85); border-radius: var(--radius-round); background: rgba(0, 0, 0, .25);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--white); font: 500 13px/16px var(--font-en-sans); letter-spacing: 1px; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.sound:hover, .sound:focus-visible { background: var(--white); color: var(--black); border-color: var(--white); }
.sound svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sound .on { display: none; }
.sound.is-on .on { display: block; }
.sound.is-on .off { display: none; }
.no-video .sound { display: none; }
.sec3__empty-t { font: 600 24px/30px var(--font-zh); letter-spacing: 4px; }
.sec3__empty-p { font: 500 14px/16px var(--font-en-sans); opacity: .5; letter-spacing: .5px; }
.play {
  position: absolute; left: 0; top: 0; width: 120px; height: 120px; margin: -60px 0 0 -60px;
  display: grid; place-items: center; pointer-events: none;
  transform: translate3d(var(--px, 50%), var(--py, 50%), 0) scale(0);
  transition: transform .5s var(--ease-out) 0s;
}
.play.is-on { transform: translate3d(var(--px), var(--py), 0) scale(1); transition: none; }
.play__shape {
  position: absolute; inset: 0; background: var(--teal);
  clip-path: polygon(0 29.39%, 51.22% 0, 79.27% 14.69%, 100% 56.33%, 66.39% 100%, 0 83.27%);
  transition: transform .45s var(--ease-out);
}
.play__label { position: relative; top: 1px; left: -2px; font: italic 400 28px/36px var(--font-en-serif); color: var(--white); }
.is-playing .play__shape { transform: rotate(-12deg) scale(.86); }
.is-pressing .play__shape { transform: scale(.9); }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   sec-4 石雕創作營
   ========================================================= */
.sec4 {
  /* 作品照 3:2 完整顯示：寬度到右邊界，高度上限 580；區塊高度隨作品照延伸 */
  --aww: calc(var(--c12) + var(--col) - var(--c2) - 542px);
  --awh: min(calc(var(--aww) / 1.5), 580px);
  position: relative; height: max(1233px, calc(737px + var(--awh))); margin-top: 21px; overflow: hidden;
}
.sec4__top { position: relative; z-index: 1; height: 520px; }
.sec4__intro {
  position: absolute; left: calc(var(--c2) + 40px); top: 54px;
  width: calc(var(--c6) - var(--c2) - 64px); text-align: justify;
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px;   /* Figma sec-4 Frame 6：文案與按鈕間距 24 */
}
.sec4__title { position: absolute; left: var(--c7); right: var(--r); top: 0; height: 520px; }
.sec4__title .t-h1 { position: absolute; left: 44px; top: 152px; }
.sec4__title .t-display { position: absolute; left: 44px; top: 204px; }
.facts { position: absolute; left: 3px; right: 0; top: 302px; height: 138px; }
.facts__rule { left: 0; right: 0; top: var(--top); height: 1px; }
.facts__row { position: absolute; left: 0; right: 0; height: 68px; display: flex; align-items: center; }
.facts__row:nth-of-type(1) { top: 1px; }
.facts__row:nth-of-type(2) { top: 69px; }
.facts dt { position: absolute; left: 49px; top: 19px; font: 600 24px/30px var(--font-zh); }
.facts__v { left: 127px; top: 0; width: 1px; height: 68px; }
.facts dd { position: absolute; left: 166px; }
.facts__date { top: 12px; font: 500 36px/44px var(--font-en-sans); letter-spacing: 2px; }
.facts__place { top: 18px; left: 164px !important; font: 600 24px/30px var(--font-zh); }
/* 地點後的「路線導覽」（Figma button outline，文字後 10px） */
.facts__place .rise__i { display: inline-flex; align-items: center; gap: 10px; }
.facts__map { flex: none; }


.artist {
  position: absolute; z-index: 1; left: var(--c2); right: var(--r); top: 709px; height: calc(var(--awh) + 36px);
}
.names { position: absolute; left: 0; top: 36px; width: 198px; height: 356px; overflow: hidden; }
.names__list {
  position: absolute; left: 28px; top: 0; width: 118px; padding: 8px 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: transform .8s var(--ease-out);
}
.name {
  position: relative; width: 100%; display: flex; align-items: center; justify-content: center; gap: 4px;
  min-height: 24px; white-space: nowrap; opacity: .4;
  font: 500 16px/24px var(--font-en-sans); transition: opacity .35s ease, width .5s var(--ease-out), padding .5s var(--ease-out), border-color .4s;
  border-top: 1px solid transparent; border-bottom: 1px solid transparent;
}
.name b { font: 600 14px/18px var(--font-zh); }
.name:hover { opacity: .75; }
.name.is-active { opacity: 1; width: 175px; padding: 4px 0; border-color: var(--black); }
.name.is-active .name__en { font-size: 18px; line-height: 26px; }
.name::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--teal);
  transform: scaleX(var(--p, 0)); transform-origin: left; opacity: 0;
}
.name.is-active::after { opacity: 1; }
.names__fade { position: absolute; left: 12px; width: 186px; pointer-events: none; }
.names__fade--t { top: -1px; height: 82px; background: linear-gradient(var(--white), rgba(255, 255, 255, 0)); }
.names__fade--b { bottom: 0; height: 98px; background: linear-gradient(rgba(255, 255, 255, 0), var(--white)); }

.artist__meta { position: absolute; left: 233px; top: 274px; width: 255px; z-index: 2; }
.artist__country { color: var(--brown); }
.artist__country b { font: 600 16px/20px var(--font-zh); }   /* Figma ZH/H4；「中華民國 REPUBLIC OF CHINA」維持一行（欄寬 255） */
.artist__country [data-f="countryEn"] { font: 500 18px/28px var(--font-en-sans); }
.artist__body { position: absolute; left: 233px; top: 313px; width: 255px; z-index: 2; }
.artist__work { position: relative; width: 255px; font: 600 32px/46px var(--font-zh); display: flex; flex-direction: column; gap: 4px; }
.artist__work-en { font: italic 400 28px/36px var(--font-en-serif); white-space: nowrap; }
.artist__more { margin-top: 16px; }
.artist__country { display: flex; align-items: center; gap: var(--spacing-inline-gap); white-space: nowrap; }
.swap { display: block; }
.artist__country .swap { display: inline-block; }
.swap .w { display: inline-block; white-space: nowrap; clip-path: inset(-.3em -.4em -.22em -.4em); }
.swap .ch { display: inline-block; transform: translateY(125%); transition: transform .85s var(--ease-out) calc((var(--sd, 0) + var(--ci, 0) * 30) * 1ms); }
.swap.is-on .ch { transform: none; }
.swap.is-out .ch { transform: none; opacity: 0; transition: opacity .28s ease; }

.artist__portrait {
  position: absolute; left: 391px; top: 12px; width: 175px; height: 240px; z-index: 3; background: #eceeed;
  clip-path: polygon(0 9.29%, 85.49% 0, 100% 46%, 95.72% 100%, 9.21% 100%);
}
.artist__work-img {
  /* 與肖像、文字的相對位置固定（齊左 542），大螢幕時右側留白 */
  position: absolute; left: 542px; top: -11px; width: calc(var(--awh) * 1.5); height: var(--awh);
  border-radius: var(--radius-card); overflow: hidden; z-index: 1; background: #eceeed;
}
.layer { position: absolute; inset: 0; }
.layer > img, .layer > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.artist__work-img .layer.is-enter { clip-path: inset(0 100% 0 0); transition: clip-path 1.15s var(--ease-io); }
.artist__work-img .layer.is-enter.go { clip-path: inset(0 0 0 0); }
.artist__portrait .layer.is-enter { opacity: 0; transform: translateY(18px); transition: opacity .8s ease .25s, transform 1s var(--ease-out) .25s; }
.artist__portrait .layer.is-enter.go { opacity: 1; transform: none; }
.artist__wipe { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: var(--white); z-index: 5; opacity: 0; }
.artist__wipe.go { animation: wipe 1.15s var(--ease-io) forwards; }
@keyframes wipe { 0% { left: 0; opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.artist:hover .names__list { transition-duration: .8s; }

/* placeholder（圖片尚未放入時） */
.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 16px; text-align: center;
  background:
    radial-gradient(120% 90% at 30% 20%, #f7f8f7 0%, #e3e6e4 60%, #d3d8d5 100%);
  color: rgba(0, 0, 0, .55);
}
.ph__t { font: 600 14px/20px var(--font-zh); }
.ph__p { font: 500 11px/14px var(--font-en-sans); opacity: .7; word-break: break-all; }
.is-dark-card .ph { background: radial-gradient(120% 90% at 30% 20%, #3a3a3a 0%, #222 70%, #1a1a1a 100%); color: rgba(255,255,255,.6); }

/* =========================================================
   sec-5 系列展覽
   ========================================================= */
.sec5 { position: relative; height: 1061px; margin-top: 21px; overflow: hidden; }
.sec5__head { position: relative; z-index: 2; height: 260px; }
.sec5__titles .t-h1 { position: absolute; left: calc(var(--c2) + 40px); top: 63px; }
.sec5__titles .t-display { position: absolute; left: calc(var(--c2) + 40px); top: 115px; }
.slide-nav { position: absolute; right: calc(var(--r) + 71px); top: 179px; display: flex; align-items: center; gap: 20px; }
.slide-nav__btn { font: 400 22px/30px var(--font-en-serif); position: relative; transition: opacity .3s, color .25s; }
.slide-nav__btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.slide-nav__btn:hover::after { transform: scaleX(1); transform-origin: left; }
.slide-nav__btn:disabled { opacity: .25; cursor: default; }
.slide-nav__btn:disabled::after { display: none; }
.slide-nav__arrow { width: 70px; height: 26px; margin-left: -9px; overflow: hidden; transition: transform .45s var(--ease-out), opacity .3s; }
.slide-nav__arrow:disabled { opacity: .25; cursor: default; }
.slide-nav__arrow:disabled svg { animation: none !important; }
.slide-nav:hover .slide-nav__arrow svg { animation: nudge .9s var(--ease-out); }
@keyframes nudge { 0% { transform: translateX(0); } 45% { transform: translateX(100%); } 46% { transform: translateX(-100%); } 100% { transform: translateX(0); } }

.cards {
  position: absolute; z-index: 2; top: 269px; left: calc(var(--c2) + 19px); right: 0;
  clip-path: inset(-80px -100vw -80px -16px); touch-action: pan-y;
}
.cards__track { display: flex; gap: 24px; width: max-content; transition: transform .9s var(--ease-out); cursor: grab; }
.cards__track.is-drag { transition: none; cursor: grabbing; }
.card { position: relative; width: 400px; height: 480px; flex: none; color: var(--black); --shape: var(--teal); }
.card.is-dark-card { color: var(--white); --shape: var(--black); }
.card > a { position: absolute; inset: 0; display: block; color: inherit; }
.card__shape {
  position: absolute; inset: 0; background: var(--shape);
  clip-path: polygon(17.48% 0, 0 47.48%, 12.58% 100%, 91.25% 100%, 100% 8.67%, 85.25% 0);
  transition: transform .3s ease-out;
}
.card--s2 .card__shape { clip-path: polygon(17.48% 0, 2.5% 62.92%, 12.58% 100%, 91.25% 95.42%, 99% 47.48%, 85.25% 0); }
/* Variant5：綠色，style1 左右鏡射的形狀 */
.card--s3 .card__shape { clip-path: polygon(14.75% 0, 82.51% 0, 100% 47.49%, 87.43% 100%, 8.74% 100%, 0 8.68%); }
/* Variant6：黑色，形狀本身旋轉 5° */
.card--s4 .card__shape {
  --rot: 5deg; inset: auto; left: -4.18%; top: -.33%; width: 100.83%; height: 100%;
  clip-path: polygon(21.51% 0, 88.71% 0, 100% 73.42%, 94.67% 95.42%, 16.63% 100%, 0 21.38%);
}
.card__shape { transform: rotate(var(--rot, 0deg)); }
@media (hover: hover) { .card:hover .card__shape { transform: rotate(calc(var(--rot, 0deg) + 5deg)); } }
.card > a:focus-visible .card__shape { transform: rotate(calc(var(--rot, 0deg) + 5deg)); }
.card > a:not([href]) { cursor: default; }
.card__img { position: absolute; left: 21px; top: 25px; width: 280px; height: 180px; border-radius: var(--radius-card); overflow: hidden; background: #e6e9e8; }
.card__img > img, .card__img > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
@media (hover: hover) { .card:hover .card__img > * { transform: scale(1.06); } }
.card__tag {
  position: absolute; left: 9px; top: 9px; z-index: 1; height: 26px; padding: 0 var(--spacing-stack);
  display: flex; align-items: center; border-radius: var(--radius-round); background: rgba(255, 255, 255, .99);
  font: 600 12px/18px var(--font-zh); color: var(--teal);
}
.card__tag[data-type="upcoming"] { color: var(--black); }
.card__tag[data-type="ended"] { color: rgba(0, 0, 0, .5); }
.card__body { position: absolute; left: 72px; top: 219px; width: 255px; height: 218px; display: flex; flex-direction: column; justify-content: space-between; }
.card__title { display: flex; flex-direction: column; gap: 4px; }
.card__title b { font: 600 24px/30px var(--font-zh); }
.card__title span { font: 500 16px/24px var(--font-en-sans); }
.card__title .card__parent { font: 600 12px/18px var(--font-zh); }   /* 屬於另一檔展覽（拾憶石憶 → 化生） */
.card__sessions { border-left: 1px solid currentColor; padding-left: 8px; display: flex; flex-direction: column; gap: 8px; }
.card__sessions .sess { display: flex; flex-direction: column; }
.card__sessions .d { font: 500 18px/28px var(--font-en-sans); }
.card__sessions .pl { font: 600 12px/18px var(--font-zh); }
.cards .card { opacity: 0; transform: translateY(40px); transition: opacity .8s ease calc(var(--ci) * 90ms + 200ms), transform 1.1s var(--ease-out) calc(var(--ci) * 90ms + 200ms); }
.cards.is-in .card { opacity: 1; transform: none; }

/* =========================================================
   sec-5-2 系列活動（Figma 167:4781）：與 sec-5 共用 bg-kv，上面一片霧白多邊形；日期列＋單日清單
   ========================================================= */
.exwrap { position: relative; overflow: hidden; margin-top: 21px; }
.exwrap > .sec5 { margin-top: 0; }
.exwrap > .bg-kv--ex { height: auto; bottom: 0; }
/* 後面接系列活動時：桌機展覽亮點與系列活動的間距縮小 1/3（383 → 255） */
@media (min-width: 1024px) { .exwrap:has(.sec52) > .sec5 { height: 933px; } }
.exwrap:has(.sec52) > .bg-kv--ex { -webkit-mask-image: linear-gradient(#000 calc(100% - 320px), transparent); mask-image: linear-gradient(#000 calc(100% - 320px), transparent); }
.sec52 { position: relative; padding: 71px 0 120px; }
.sec52__glass {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px);
  clip-path: polygon(13.19% 0, 89.87% 13.15%, 104.43% 44.56%, 100.42% 100.87%, 10.68% 100.87%, 1.24% 52.08%);
}
.sec52__head, .evd { position: relative; z-index: 1; }
.sec52__titles { padding-left: calc(var(--c2) + 40px); display: flex; flex-direction: column; gap: 0; }
.sec52__titles .t-display { margin-top: -4px; }

/* 日期列（Figma 165:4603）：選取的日期底下一塊綠色多邊形 */
.evd { margin: 62px calc(var(--r) + 71px) 0 var(--c2); padding-left: 40px; }
.evd__bar { display: flex; align-items: center; gap: 16px; }
.evd__arrow { flex: none; width: 70px; height: 26px; overflow: hidden; transition: opacity .3s; }
.evd__arrow--prev svg { transform: scaleX(-1); }
.evd__arrow:disabled { opacity: .25; cursor: default; }
.evd__arrow:not(:disabled):hover svg { animation: nudge .9s var(--ease-out); }
.evd__arrow--prev:not(:disabled):hover svg { animation: nudge-l .9s var(--ease-out); }
@keyframes nudge-l { 0% { transform: scaleX(-1) translateX(0); } 45% { transform: scaleX(-1) translateX(100%); } 46% { transform: scaleX(-1) translateX(-100%); } 100% { transform: scaleX(-1) translateX(0); } }
.evd__strip { position: relative; flex: 1; min-width: 0; display: flex; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.evd__strip::-webkit-scrollbar { display: none; }
.evd__strip { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
/* 日期（Figma date 168:5171）：左右留 32，選取日底下綠色多邊形；桌機同週其他日為白底黑框多邊形 */
.evd__chip {
  position: relative; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 88px; padding: 0 32px; color: var(--black); transition: color .25s; isolation: isolate;
  --shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 88'%3E%3Cpath d='M0 25.863L45.073 0l24.683 12.932L88 49.571 58.426 88 0 73.278z' fill='%2364C0AB'/%3E%3C/svg%3E");
  --shape-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-.6 -.6 89.2 89.2'%3E%3Cpath d='M0 25.863L45.073 0l24.683 12.932L88 49.571 58.426 88 0 73.278z' fill='%23fff' stroke='%23000'/%3E%3C/svg%3E");
}
.evd__chip::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 88px; height: 88px; margin-left: -44px; z-index: -1;
  background: var(--shape) center / 100% 100% no-repeat;
  transform: scale(0) rotate(-20deg);
}
/* 選取時浮出；取消選取直接消失 */
.evd__chip[aria-pressed="true"]::before, .evd__chip.is-week::before { transform: none; transition: transform .5s var(--ease-out); }
.evd__chip.is-week:not([aria-pressed="true"])::before { background-image: var(--shape-line); }
.evd__chip b { font: 500 22px/30px var(--font-en-sans); letter-spacing: .44px; }
.evd__chip span { font: 600 16px/20px var(--font-zh); }
.evd__chip i { position: absolute; top: 2px; right: 6px; padding: 0 6px; border-radius: var(--radius-round); background: var(--black); font: 600 11px/18px var(--font-zh); font-style: normal; color: var(--white); }
.evd__chip.is-past { color: rgba(0, 0, 0, .3); }
@media (hover: hover) { .evd__chip:not([aria-pressed="true"]):not(.is-week):hover { color: var(--teal); } }
.evd__chip[aria-pressed="true"], .evd__chip.is-week { color: var(--black); }
.evd__rule { position: relative; height: 1px; margin-top: 5px; }
/* 桌機：同一週的各日並排成三欄（每欄頂端日期＋黑線），高度由 main.js 固定為最高的一週 */
.evd__panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; align-items: start; }
.evd__dh { display: flex; align-items: baseline; gap: 8px; margin: 0; padding: 20px 0 12px; border-bottom: 1px solid var(--black); }
.evd__dh b { font: 500 36px/44px var(--font-en-sans); letter-spacing: .72px; }
.evd__dh span { font: 600 18px/30px var(--font-zh); }
.is-past .evd__dh { color: rgba(0, 0, 0, .3); }

/* 活動卡（Figma event-card 167:4832）：報名在右上、與時間同高；底線全黑 */
.evd__list { list-style: none; margin: 0; padding: 20px 0 0; display: flex; flex-direction: column; gap: 24px; }
.ev { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--black); }
.ev__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ev__time { margin: 0; font: 500 18px/28px var(--font-en-sans); color: var(--teal); }
.ev__title { margin: 0; font: 600 18px/30px var(--font-zh); }
.ev__place, .ev__note { margin: 8px 0 0; font: 400 14px/22px var(--font-zh); }
.ev__note { margin-top: 4px; }
.ev__note { color: rgba(0, 0, 0, .6); }
.ev__reg { flex: none; display: flex; align-items: center; min-height: 30px; }
.ev__reg:not(:has(> :not(.ev__end))) { display: none; }
.is-past .ev__reg { display: flex; }
.ev__txt { font: 400 12px/18px var(--font-zh); }
.ev__txt.is-muted { color: rgba(0, 0, 0, .4); }
.ev__btn.is-off { opacity: .5; cursor: default; pointer-events: none; }
.ev__end { display: none; }
.is-past .ev__reg > :not(.ev__end) { display: none; }
.is-past .ev__end { display: inline-flex; }
.is-past .ev__time { color: rgba(0, 0, 0, .4); }

@media (max-width: 1023px) {
  .exwrap { margin-top: 0; }
  .exwrap > .bg-kv--ex { height: auto; bottom: 0; }
  .sec52 { padding: 48px var(--m, 18px) 72px; }
  .sec52__glass { clip-path: polygon(0 40px, 70% 0, 100% 60px, 100% 100%, 0 100%); }
  .sec52__titles { padding-left: 0; }
  .sec52__titles .t-display { margin-top: 0; white-space: nowrap; }
  .evd { margin: 24px 0 0; padding-left: 0; }
  .evd__arrow { display: none; }
  .evd__strip { margin: 0 calc(var(--m, 16px) * -1); padding: 0 var(--m, 16px); }
  .evd__chip { width: 76px; height: 72px; padding: 0; }
  .evd__chip::before { width: 72px; height: 72px; margin-left: -36px; }
  .evd__chip b { font-size: 18px; line-height: 24px; letter-spacing: .36px; }
  .evd__chip span { font-size: 14px; line-height: 18px; }
  .evd__chip i { top: 0; right: 0; }
  .evd__panels { display: block; padding-top: 24px; }
  .evd__dh { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .evd__list { padding-top: 0; gap: 20px; }
  .ev__time { font-size: 16px; line-height: 26px; }
  .ev__title { font-size: 16px; line-height: 28px; }
}

/* =========================================================
   參觀資訊 / Footer
   ========================================================= */
.info { position: relative; height: 255px; margin-top: 70px; }
.info__head { position: absolute; left: calc(var(--c2) + 44px); top: 48px; display: flex; gap: 16px; align-items: flex-start; }
.info__map { display: none; }
.info__body { position: absolute; left: var(--c7); right: var(--r); top: 53px; height: 179px; }
.info__name { position: absolute; left: 0; top: 20px; width: 251px; font: 600 18px/30px var(--font-zh); }
.info__rule { left: 0; right: 0; height: 1px; }
.info__vline { left: 276px; top: 0; width: 1px; height: 179px; }
.info__detail { position: absolute; left: 301px; top: 20px; width: 364px; font: 400 14px/22px var(--font-zh); }

/* 接駁車資訊（Figma 參觀資訊 shuttle-info 132:3248）：接在 info__body 下方，共用上緣線 */
.info:has(.shuttle) { display: flow-root; height: auto; padding-bottom: 23px; }
.shuttle { position: relative; margin: 232px var(--r) 0 var(--c7); padding: 20px 0 24px; display: flex; flex-direction: column; gap: 16px; }
.shuttle__title { font: 600 16px/28px var(--font-zh); }
.shuttle__routes { display: flex; gap: 40px; }
.shuttle__route { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.shuttle__head { display: flex; align-items: center; gap: 8px; font: 600 14px/18px var(--font-zh); }
.shuttle__dir { flex: none; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--radius-round); background: var(--black); color: var(--white); font: 400 12px/18px var(--font-zh); }
.shuttle__times { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.shuttle__t { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px; border: 1px solid rgba(0, 0, 0, .3); border-radius: 4px; font: 500 14px/20px var(--font-en-sans); }
.shuttle__t.is-wc { background: var(--brown); border-color: var(--brown); }
.shuttle__t img { display: block; width: 14px; height: 14px; }
.shuttle__count { font: 400 14px/22px var(--font-zh); }
.shuttle__legend { display: flex; align-items: center; gap: 8px; font: 400 14px/22px var(--font-zh); }
.shuttle__legend .shuttle__t { height: 26px; }

.ftr { position: relative; height: 300px; }
.ftr__orgs { position: absolute; left: var(--c7); top: 64px; display: flex; flex-direction: column; gap: 32px; }
.ftr__row { display: flex; align-items: center; height: 36px; }
.ftr__row dt { width: 96px; font: 600 12px/18px var(--font-zh); }
.ftr__row dd { display: flex; align-items: center; gap: 48px; }
.ftr__link { display: inline-flex; transition: opacity .25s ease; }
.ftr__link:hover { opacity: .65; }
.ftr__logo { height: 36px; width: auto; max-width: 300px; }
.ftr__ph {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px dashed rgba(0,0,0,.3);
  font: 600 13px/18px var(--font-zh); color: rgba(0,0,0,.55); white-space: nowrap;
}

/* =========================================================
   系列展覽內頁（exhibitions/<slug>.html）
   Figma：exhibition（node 88:7028）；內容欄 = 第 3～11 欄
   ========================================================= */
.exd { position: relative; z-index: 1; padding: 133px 0 132px; }
.exd__top, .exd__content { margin-left: var(--c3); width: calc(var(--c11) + var(--col) - var(--c3)); }
.exd__title { font: 600 40px/56px var(--font-zh); }
.exd__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-top: 48px; }
.exd__sessions { width: 206px; flex: none; display: flex; flex-direction: column; gap: 12px; }
.exd__date { font: 500 22px/30px var(--font-en-sans); letter-spacing: .44px; text-transform: uppercase; }
.exd__place { font: 600 18px/30px var(--font-zh); }
.exd__time { font: 500 18px/28px var(--font-en-sans); }
.exd__sep { display: block; height: 1px; background: currentColor; }
/* 主視覺：--k 由 build.py 依圖片比例算出（面積相近、寬不超過欄寬、高不超過欄寬 × 0.9） */
.exd__banner {
  --bw: calc(var(--c11) + var(--col) - var(--c6));
  position: relative; flex: none; width: calc(var(--bw) * var(--k, 1)); margin: 0; overflow: hidden; background: #eceeed;
}
.exd__banner img { width: 100%; height: 100%; object-fit: cover; }
.exd__banner, .who__flag { outline: 1px solid #e0e0e0; }   /* 淡灰外框（白底主視覺、國旗邊界） */
/* 直式主視覺靠左：從第 6 欄起排，不推到最右邊 */
@media (min-width: 1024px) { .exd__row:has(.exd__banner--tall) { justify-content: flex-start; gap: calc(var(--c6) - var(--c3) - 206px); } }
.exd__banner .ph { position: absolute; inset: 0; }
.exd__content { margin-top: 96px; display: flex; flex-direction: column; gap: 48px; }
.exd__h { font: 600 24px/30px var(--font-zh); }
.exd__body { margin-top: 16px; padding-left: 16px; border-left: 1px solid var(--black); text-align: justify; }
/* 段落下方藝術家照片（拾憶石憶展區，Figma 191:5647：圓形、名字 16/20 置中；照片依需求縮為 100，手機一排三個） */
.exd__names-h { margin-top: 24px; font-weight: 600; }
.exd__names { display: flex; flex-wrap: wrap; gap: 24px 16px; margin-top: 16px; }
.exd__names li { width: 118px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.exd__names img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; }
.exd__names p { font: 600 16px/20px var(--font-zh); text-align: center; }
.exd__names-en { display: none; }
html[lang="en"] .exd__names-en { display: inline; }
.exd__artist {
  width: calc(var(--c8) + var(--col) - var(--c3)); min-height: 557px; padding: 125px 52px 126px 55px; background: var(--teal);
  clip-path: polygon(52.51% 0, 100% 17.49%, 100% 85.24%, 91.32% 100%, 0 91.26%, 0 12.57%);
}
.exd__artist-label { font: 600 16px/20px var(--font-zh); color: var(--white); }
.exd__artist-name { margin-top: 16px; font: 600 24px/30px var(--font-zh); }
.exd__artist .exd__body p + p { margin-top: 28px; }
/* 活動照片：Figma node 162:4319（980 寬、2 欄、間距 24），點擊開 popup */
.exd__gallery { margin-top: 44px; }
.exd__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: calc(100% * 980 / 1014); margin: 0; padding: 0; list-style: none; }
.exd__photo { display: block; width: 100%; aspect-ratio: 1567 / 1044; border-radius: var(--radius-card); overflow: hidden; background: #eceeed; cursor: zoom-in; }
.exd__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.exd__photo:hover img, .exd__photo:focus-visible img { transform: scale(1.03); }
/* 屬於另一檔展覽：標題上方小字（拾憶石憶 → 化生） */
.exd__parent { margin-bottom: 8px; font: 600 16px/24px var(--font-zh); }
.exd__parent a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.exd__parent a:hover { color: var(--teal); }

/* 青年石雕創作營成果展：學員作品（Figma 185:5562，內容欄寬 1014 為基準）
   作品照 260×390 在左、綠色多邊形 668×557 從 110 起、說明欄 400 寬從 300 起；下方為經歷 */
.wk + .wk, .wk + .wk-mentors { margin-top: 48px; }   /* 每位學員之間多留一段 */
.wk__main { position: relative; display: flex; align-items: flex-start; gap: calc(100% * 40 / 1014); min-height: 557px; padding: 63px 0 104px; }
.wk__shape {
  position: absolute; left: calc(100% * 110 / 1014); top: 0; bottom: 0; width: calc(100% * 668 / 1014); background: var(--teal);
  clip-path: polygon(52.51% 0, 100% 17.49%, 100% 85.24%, 91.32% 100%, 0 91.26%, 0 12.57%);
}
.wk__img { position: relative; flex: none; width: calc(100% * 260 / 1014); height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius-card); background: #e6e9e8; }
.wk__txt { position: relative; width: calc(100% * 400 / 1014); margin-top: 50px; display: flex; flex-direction: column; gap: 16px; }
.wk__name { font: 600 16px/20px var(--font-zh); color: var(--white); }
.wk__title { font: 600 24px/30px var(--font-zh); }
.wk__desc { padding-left: 16px; border-left: 1px solid var(--black); text-align: justify; }
.wk__desc p { font-size: 16px; line-height: 28px; }
.wk__spec { font-size: 14px; line-height: 22px; }
.wk__bio { margin-top: 48px; }
.wk__who { font: 600 24px/30px var(--font-zh); }
.wk__bar { display: inline-block; width: 1px; height: 20px; margin: 0 16px; vertical-align: -2px; background: currentColor; opacity: .5; }
.wk__bio .who__country { margin-top: 16px; }
.wk__cv { margin: 16px 0 0; padding: 0 0 0 16px; list-style: none; border-left: 1px solid var(--black); }
.wk__cv li { display: flex; gap: 16px; font-size: 16px; line-height: 28px; }
.wk__y { flex: none; min-width: 3em; font-variant-numeric: tabular-nums; }
.wk-mentors .wk__bio { margin-top: 32px; }
.wk-mentors .exd__h + .wk__bio { margin-top: 24px; }
/* 導師照片（Figma 191:5665）：圓形 100、與姓名間距 16；去背 PNG 加 1px 灰框 */
.wk__head { display: flex; align-items: center; gap: 16px; }
.wk__face { flex: none; width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 1px solid #e0e0e0; background: var(--white); }
.pop--photo { width: 1200px; }
.pop--photo .pop__inner { padding: 0 40px 32px; }
.pph { padding-top: 76px; }
.pph__frame { aspect-ratio: 1567 / 1044; max-height: calc(var(--vh100, 100vh) - 64px - 76px - 32px - 62px); margin: 0 auto; border-radius: var(--radius-card); overflow: hidden; background: #eceeed; }
.pph__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pph__img[hidden] { display: none; }
.pph__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.pph__count { font: 500 18px/30px var(--font-en-sans); letter-spacing: .36px; }
.pph__btns { display: flex; align-items: center; gap: 20px; }
.pph__btns:hover .slide-nav__arrow svg { animation: nudge .9s var(--ease-out); }
.exd__back { position: fixed; z-index: 40; left: calc(var(--c1) + 2px); bottom: 145px; transition: opacity .4s ease, background-color .25s ease, color .25s ease, transform .2s ease; }
.exd__back.is-away { opacity: 0; pointer-events: none; }
.menu__items a[aria-current="page"], .mm__items a[aria-current="page"] { color: var(--teal); }

/* =========================================================
   石雕創作營內頁（stone-sculpture-symposium.html）
   Figma：thematic-artist-list（98:9687）／popup-artist（98:11554）
   ========================================================= */
.sym { position: relative; z-index: 1; padding: 133px 0 120px; }
.sym__top { position: relative; height: 360px; }
.sym__title { position: absolute; left: var(--c2); top: 0; width: calc(var(--c7) + var(--col) - var(--c2)); }
.sym__title .t-h1 { position: absolute; left: 41px; top: 0; }
.sym__title .t-display { position: absolute; left: 41px; top: 52px; }
.sym .facts { left: 0; top: 150px; }
.sym__intro { position: absolute; left: var(--c8); right: var(--r); top: 56px; text-align: justify; }
.sym__intro p + p { margin-top: 28px; }
/* 列表：兩欄交錯（右欄下移 155）；左欄 x=200、右欄 x=847（1440 設計稿），欄距 94 */
.sym__list {
  --aw: calc(var(--c6) + var(--col) - var(--c2));
  display: grid; grid-template-columns: repeat(2, var(--aw));
  column-gap: 94px; row-gap: 118px;
  margin-left: calc(var(--c8) - 94px - var(--aw)); padding-bottom: 155px;
}
.art { position: relative; padding-top: 89px; }
.art:nth-child(even) { translate: 0 155px; }
.art__portrait {
  position: absolute; z-index: 2; left: 20px; top: 0; width: 117px; height: 160px; overflow: hidden; background: #eceeed;
  clip-path: polygon(0 9.29%, 85.49% 0, 100% 46%, 95.72% 100%, 9.21% 100%);
}
.art__portrait img, .art__work img, .pa__portrait img, .pa__work img { width: 100%; height: 100%; object-fit: cover; }
.art__portrait .ph, .art__work .ph, .pa__portrait .ph, .pa__work .ph { position: absolute; inset: 0; }
.art__who { position: absolute; left: 149px; right: 0; top: 10px; }
.art__work { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; border-radius: var(--radius-card); overflow: hidden; background: #eceeed; cursor: pointer; }
.art__work img { transition: transform .8s var(--ease-out); }
.art__work:hover img, .art__work:focus-visible img { transform: scale(1.05); }
.art__work::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0); transition: background-color .4s ease; }
.art__work:hover::after { background: rgba(0, 0, 0, .08); }
.art__body { margin-top: 16px; padding-left: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.art__title { display: flex; flex-direction: column; gap: 4px; font: 600 24px/30px var(--font-zh); }
.art__en { font: italic 400 28px/36px var(--font-en-serif); }
/* 國旗＋國籍／姓名（內頁與 popup 共用） */
.who { display: flex; flex-direction: column; gap: 8px; }   /* Figma name：上下 inline-gap */
.who__country { display: flex; align-items: center; gap: 12px; color: var(--brown); line-height: 1; }
.who__flag { width: 21px; height: 14px; flex: none; object-fit: cover; }
.who__country b { font: 600 16px/20px var(--font-zh); }
.who__country span { font: 500 18px/28px var(--font-en-sans); }
.who__name { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 8px; }
.who__name b { font: 600 24px/30px var(--font-zh); }
.who__name span { font: 500 16px/26px var(--font-en-sans); }
.art .who__name { flex-wrap: nowrap; white-space: nowrap; }
/* popup */
.pa { position: relative; padding: 52px 80px 0; }
.pa__portrait {
  position: absolute; z-index: 2; left: 68.91%; top: 121px; width: 262px; height: 376px; overflow: hidden; background: #eceeed;
  clip-path: polygon(14.51% 0, 100% 9.29%, 90.79% 100%, 4.28% 100%, 0 46%);
}
.pa__title { width: 564px; margin-top: 40px; display: flex; flex-direction: column; gap: 8px; font: 600 40px/56px var(--font-zh); }
.pa__en { font: italic 400 56px/60px var(--font-en-serif); }
.pa__desc { width: 457px; margin-top: 32px; font: 600 18px/30px var(--font-zh); text-align: justify; }
.pa__work { position: relative; margin-top: 32px; aspect-ratio: 3 / 2; background: #eceeed; overflow: hidden; }
/* 視窗外左右箭頭：切換上一位／下一位藝術家（捲動改在 pop__inner，箭頭才不會被裁掉） */
.pop.pop--artist { overflow: visible; }
.pop--artist .pop__inner { max-height: inherit; overflow: auto; overscroll-behavior: contain; border-radius: inherit; }
.pop__nav { position: absolute; top: 50%; width: 70px; height: 26px; margin-top: -13px; overflow: hidden; color: var(--white); }
.pop__nav--prev { right: calc(100% + 32px); }
.pop__nav--next { left: calc(100% + 32px); }
.pop__nav--prev svg { transform: scaleX(-1); }
@media (hover: hover) {
  .pop__nav--next:hover svg { animation: nudge .9s var(--ease-out); }
  .pop__nav--prev:hover svg { animation: nudge-l .9s var(--ease-out); }
}

/* =========================================================
   Popup — 關於藝術季
   ========================================================= */
html.is-locked { overflow: hidden; }
.pop {
  width: 1100px; max-width: calc(100vw - 80px); max-height: calc(var(--vh100, 100vh) - 64px); padding: 0; border: 0;
  border-radius: var(--radius-card); background: var(--white); color: var(--black); overflow: auto; overscroll-behavior: contain;
  opacity: 0; transform: translateY(40px) scale(.98);
  transition: opacity .45s ease, transform .7s var(--ease-out), overlay .5s allow-discrete, display .5s allow-discrete;
}
.pop[open] { opacity: 1; transform: none; }
@starting-style { .pop[open] { opacity: 0; transform: translateY(40px) scale(.98); } }
.pop::backdrop { background: rgba(19, 19, 19, 0); transition: background .45s ease, overlay .5s allow-discrete, display .5s allow-discrete; }
.pop[open]::backdrop { background: rgba(19, 19, 19, .72); }
@starting-style { .pop[open]::backdrop { background: rgba(19, 19, 19, 0); } }
.pop__inner { position: relative; padding-bottom: 80px; }
.pop__close { position: sticky; top: 22px; float: right; margin: 22px 40px -52px 0; z-index: 5; }
.pop__intro { position: relative; height: 508px; }
.pop__logo { position: absolute; left: 80px; top: 102px; width: 497px; height: 64px; margin: 0; }
.pop__logo svg { width: 100%; height: 100%; }
.pop__lead { position: absolute; left: 80px; top: 204px; width: 671px; text-align: justify; }
.pop__hl { position: absolute; left: calc(83.33% - 28.67px); top: 95px; width: 109px; display: flex; flex-direction: column; gap: 32px; }
.pop__hl dt { font: 400 56px/64px var(--font-en-serif); }
.pop__hl dd { font: 600 16px/20px var(--font-zh); }
.pop__banner { position: relative; height: 500px; overflow: hidden; }
.pop__tex { position: absolute; inset: -6%; background: var(--kv-tex) center / cover, #e8f3ef; transform: translate3d(calc(var(--mx, 0) * 24px), calc(var(--my, 0) * 16px), 0); }
.kv--pop { top: 50%; left: 50%; right: auto; margin: -114px 0 0 -380px; transform: scale(.891); }
.pop__block { width: 700px; margin: 40px auto 0; display: flex; flex-direction: column; gap: var(--spacing-stack); }
.pop__block h3 { font: 600 24px/30px var(--font-zh); }
.pop__text { width: 673px; border-left: 1px solid var(--black); padding-left: var(--spacing-stack); text-align: justify; }
.pop__text--paras p + p { margin-top: 20px; }


/* =========================================================
   手機 / 平板（≤1023px）
   Figma MB：Mobile-index（390）／Mobile-menu
   ========================================================= */
@media (max-width: 1023px) {
  :root { --m: 16px; --button-h: 44px; }
  body { font-size: 16px; line-height: 26px; }
  .hdr, .dock, .sec1 .kv-kanji:not(.kv-kanji--m), .names, .slide-nav { display: none !important; }
  .t-display { font-size: 40px; line-height: 44px; white-space: normal; }
  .t-h1 { font-size: 26px; line-height: 38px; }

  /* Header bar */
  .mh { display: block; position: fixed; inset: 0 0 auto 0; z-index: 60; pointer-events: none; }
  .mh::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 92px;
    background: linear-gradient(var(--white) 51px, rgba(255, 255, 255, 0) 92px);
  }
  .mh__bar {
    position: relative; height: 51px; padding: 12px var(--m); display: flex; align-items: center; justify-content: space-between;
    pointer-events: auto; background: var(--white);
  }
  .mh__rule { left: 0; right: 0; bottom: 0; height: 1px; }
  .mh__logo { display: block; width: 199px; height: 26px; }
  .mh__logo svg { width: 100%; height: 100%; }
  .ham { position: relative; width: 20px; height: 20px; }
  .ham i { position: absolute; left: 2px; width: 16px; height: 1px; background: var(--black); transition: transform .45s var(--ease-out), opacity .25s ease; }
  .ham i:nth-child(1) { top: 2px; } .ham i:nth-child(2) { top: 10px; } .ham i:nth-child(3) { top: 18px; }
  .ham[aria-expanded="true"] i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .ham[aria-expanded="true"] i:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .ham[aria-expanded="true"] i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* Mobile menu */
  .mm { display: block; position: fixed; z-index: 55; inset: 51px 0 0 0; background: var(--white); overflow: auto; overscroll-behavior: contain;
        opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
  .mm[hidden] { display: block; }
  .mm.is-open { opacity: 1; visibility: visible; transition: opacity .35s ease; }
  .mm__items { padding: 32px 24px; display: flex; flex-direction: column; gap: 32px; font: 600 20px/20px var(--font-zh); }
  .mm__items .rise { padding-bottom: 2px; }
  .mm__items a { display: inline-flex; align-items: center; gap: 6px; }
  .mm__items a.is-active { color: var(--teal); }
  .mm__news { color: var(--brown); }
  .mm__news svg { fill: currentColor; }
  .mm__lang { position: relative; display: grid; grid-template-columns: 1fr 1fr; height: 50px; }
  .mm__lang a { display: flex; align-items: center; justify-content: center; font: 600 20px/20px var(--font-zh); }
  .mm__lang .mm__en { font: 500 20px/20px var(--font-en-sans); }
  .mm__lang a:not(.is-current) { opacity: .3; }
  .mm__rule { left: 0; right: 0; height: 1px; }
  .mm__vrule { left: 50%; top: 0; width: 1px; height: 100%; }
  .mm__info { display: flex; gap: 24px; padding: 16px 32px 0; }
  .mm__brand { width: 89px; flex: none; display: flex; flex-direction: column; gap: 12px; }
  .mm__logo { display: block; width: 89px; height: 138px; color: var(--logo); }
  .mm__logo svg { width: 100%; height: 100%; }
  .mm__social { position: static; display: flex; gap: 16px; }
  .mm__social a { width: 30px; height: 30px; }
  .mm__social svg { width: 30px; height: 30px; }
  .mm__addr { display: flex; flex-direction: column; gap: 10px; font: 400 12px/18px var(--font-zh); }
  .mm__name { font: 600 14px/18px var(--font-zh); }
  .mm__foot { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px 16px 32px; font: 400 12px/18px var(--font-zh); }
  .mm__foot > i { width: 1px; height: 18px; background: currentColor; }
  .btn-o { height: 26px; padding: 0 16px; }

  /* sec-1 */
  /* 第一屏 = 一個手機畫面高；KV 依可用寬高縮放（js：kvFit） */
  .sec1 { height: max(calc(100svh - 51px), 520px); min-height: 0; margin-top: 51px; }
  .bg-kv--hero { left: -10%; width: 119.74%; top: 89px; height: auto; bottom: -40px; clip-path: polygon(0 113.5px, 22.98% 8.9px, 36.85% 0, 69.96% 0, 93.34% 31.9px, 100% 127.6px, 100% 100%, 0 100%); }
  .bg-kv--ex { left: -10%; width: 119.74%; top: 262px; height: 724px; clip-path: polygon(0 113.5px, 22.98% 8.9px, 36.85% 0, 69.96% 0, 93.34% 31.9px, 100% 127.6px, 100% 100%, 0 100%); }
  .sec1__fade { height: 80px; background: linear-gradient(rgba(100, 192, 171, 0) 0%, var(--teal) 76%); }
  .mdate { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; position: relative; z-index: 3; padding: 48px var(--m) 0 17px; }
  .mdate__date { font: 500 32px/24px var(--font-en-sans); letter-spacing: -.5px; height: 26px; }
  .mdate__zh { font: 700 26px/30px var(--font-zh); letter-spacing: 3px; margin-bottom: -8px; }
  .mdate__en { font: 600 9.6px/14px var(--font-en-sans); letter-spacing: .75px; text-transform: uppercase; }
  /* 手機：KV 依螢幕寬等比縮放（390 設計稿為 358 寬，左右各 16），--kvs 由 js 寫入 */
  .kv { top: auto; bottom: 64px; left: 16px; right: auto; width: 358px; height: 322px; scale: var(--kvs, 1); transform-origin: 0 100%; }
  .kv-kanji--m { display: block; position: absolute; left: 1px; top: 0; width: 108px; height: 167px; }
  .kv__h { left: 1px; width: 357px; }
  .kv__h:nth-child(1) { top: 220px; } .kv__h:nth-child(2) { top: 264px; } .kv__h:nth-child(3) { top: 309px; }
  .kv__v { left: 98px; top: 220px; height: 89px; }
  .kv__en { font-size: 54px; line-height: 54px; }
  .kv__en--1 { left: 0; top: 174px; }
  .kv__en--2 { left: 114px; top: 219px; }
  .kv__en--3 { left: 113px; top: 263px; }
  .kv__sub { top: 176px; font-size: 17px; line-height: 19px; }
  .kv__zh { font-size: 16px; line-height: 16px; letter-spacing: .3px; }
  .kv__zh--1 { top: 234px; } .kv__zh--2 { top: 279px; }

  /* sec-2 */
  .sec2 { height: auto; padding: 42px var(--m) 79px 17px; }
  .sec2__head { position: relative; height: 48px; }
  .sec2__title { left: 3px; top: 0; gap: 4px; }
  .sec2__label { font-size: 18px; line-height: 24px; margin-bottom: 10px; }
  .sec2__rule { left: 0; right: 0; top: 48px; }
  .sec2__vline { display: none; }
  .sec2__body { position: static; min-height: 0; margin-top: 24px; gap: 24px; }
  .sec2__btn { align-self: flex-start; margin-top: 0; }

  /* sec-3 video */
  .sec3 { height: auto; }
  .sec3__sticky { position: relative; height: 460px; }
  .sec3__frame { top: 0; bottom: 0; height: auto; transform: none; cursor: pointer; }
  .sec3__preview { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--vs, 1.18)); transition: opacity .4s ease; }
  .sec3__frame.has-started .sec3__preview { opacity: 0; pointer-events: none; }
  .play { left: 50% !important; top: 50% !important; margin: -48px 0 0 -48px; width: 96px; height: 96px; transform: scale(1) !important; transition: opacity .3s ease, transform .3s ease !important; }
  .play__label { font-size: 24px; }
  .sec3__frame.is-playing .play { opacity: 0; }
  .sec3__frame.is-playing.show-ctrl .play { opacity: 1; }
  .sound { right: calc(var(--si) + 12px); bottom: calc(var(--ti) + 12px); height: 32px; padding: 0 12px 0 10px; font-size: 11px; }
  .sound .sound__t { display: none; }
  .sound { padding: 0 8px; }

  /* sec-4 */
  .sec4 { height: auto; margin-top: 0; padding-bottom: 0; }
  .sec4__top { height: auto; display: flex; flex-direction: column; gap: 24px; padding: 36px 18px 0 15px; }
  .sec4__title { position: static; height: auto; order: 1; }
  .sec4__title .t-h1, .sec4__title .t-display { position: static; }
  .facts { position: relative; left: 0; top: 0; margin-top: 16px; height: 131px; }
  .facts__row { height: 50px; }
  .facts__row:nth-of-type(1) { top: 0; } .facts__row:nth-of-type(2) { top: 49px; }
  .facts > span.facts__rule:nth-of-type(1) { top: 0 !important; }
  .facts > span.facts__rule:nth-of-type(2) { top: 49px !important; }
  .facts > span.facts__rule:nth-of-type(3) { top: 131px !important; }
  .facts__row:nth-of-type(2) { height: 82px; align-items: flex-start; }
  .facts__row:nth-of-type(2) .facts__v { height: 82px; }
  .facts__place .rise__i { flex-direction: column; align-items: flex-start; gap: 6px; }
  .facts dt { left: 0; top: 13px; font-size: 18px; line-height: 24px; }
  .facts__v { left: 97px; height: 50px; }
  .facts dd, .facts__place { left: 123px !important; top: 13px; }
  .facts__date { font-size: 18px; line-height: 24px; letter-spacing: 0; }
  .facts__place { font-size: clamp(14px, 4.4vw, 18px); line-height: 24px; white-space: nowrap; }
  .sec4__intro { position: static; width: auto; order: 2; gap: 24px; }
  .bg-kv--camp { left: 0; top: 430px; width: 829px; height: 620px; }
  .artist {
    --aw: calc(100% - 80px);
    --mih: calc((min(560px, 100vw) - 80px) * 2 / 3);   /* 作品照高度（3:2） */
    position: relative; left: auto; right: auto; top: auto; width: 100%; max-width: 560px; margin: 61px auto 0; height: calc(var(--mih) + 298px);
  }
  .artist::before { content: ""; position: absolute; left: 0; right: 0; top: 28px; bottom: 0; background: rgba(255, 255, 255, .6); }
  .artist__portrait { left: 40px; top: 0; width: 102px; height: 140px; }
  .artist__work-img .layer > * { translate: none !important; scale: 1 !important; }
  .artist__work-img .layer.is-slide { transition: transform .6s var(--ease-out); clip-path: none !important; }
  /* 作品照以「整張卡片」左右移動：外框不裁切，每張圖自帶圓角 */
  .artist__work-img { overflow: visible; background: none; }
  .artist__work-img .layer { border-radius: 4px; overflow: hidden; background: #eceeed; }
  /* 卡片在中間為亮、在兩側為暗（同前後預覽的遮罩），切換時漸變 */
  .artist__work-img .layer::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .62); opacity: 0; transition: opacity .6s var(--ease-out); pointer-events: none; }
  .artist__work-img .layer.is-dim::after { opacity: 1; }
  .artist__peek.is-ghost { pointer-events: none; }
  .artist__work-img .layer.is-slide > * { transform: none !important; }
  .artist__wipe { display: none; }
  .artist__meta { left: 158px; top: 43px; width: auto; right: 16px; display: flex; flex-direction: column; gap: 4px; }
  .artist__country { gap: 6px; }
  .artist__country b { font-size: clamp(12px, 3.6vw, 14px); line-height: 20px; }   /* 360–390 寬也維持一行 */
  .artist__country [data-f="countryEn"] { font-size: clamp(12px, 3.6vw, 14px); line-height: 20px; }
  .artist__name { display: flex; align-items: flex-end; gap: 4px; }
  .artist__name b { font: 600 14px/18px var(--font-zh); padding-bottom: 3px; }
  .artist__name b:empty { display: none; }
  .artist__name [data-f="nameEn"] { font: 500 16px/26px var(--font-en-sans); }
  .artist__work-img { left: 40px; right: 40px; top: 109px; width: auto; height: auto; aspect-ratio: 3 / 2; border-radius: 4px; touch-action: pan-y; }
  .artist__peek {
    display: block; position: absolute; top: 109px; width: 24px; aspect-ratio: auto; height: auto; border-radius: 4px; overflow: hidden; background: var(--black);
    z-index: 1; padding: 0;
  }
  .artist__peek { height: var(--mih); }
  .artist__peek--prev { left: 0; }
  .artist__peek--next { right: 0; }
  .artist__peek .layer > img, .artist__peek .layer > .ph { width: calc((min(560px, 100vw) - 80px)); max-width: none; opacity: .38; }
  .artist__peek--prev .layer > * { left: auto; right: 0; }
  .artist__peek .ph__t, .artist__peek .ph__p { display: none; }
  .artist__body { left: 40px; right: 40px; width: auto; top: calc(109px + var(--mih) + 24px); }
  .artist__work { width: auto; font-size: 22px; line-height: 32px; }
  .artist__work-en { font-size: 22px; line-height: 28px; }
  .artist__more { margin-top: 8px; }
  .ticks { display: flex; justify-content: center; align-items: center; gap: 8px; height: 16px; }
  .ticks span { width: 1px; height: 10px; background: var(--black); transition: width .3s var(--ease-out), height .3s var(--ease-out); }
  .ticks span.is-on { width: 3px; height: 16px; }
  .artist__ticks { position: absolute; left: 0; right: 0; bottom: 26px; }

  /* sec-5 */
  .sec5 { height: auto; margin-top: 0; padding-bottom: 51px; }
  .sec5__head { height: 190px; }
  .sec5__titles .t-h1 { left: 18px; top: 63px; }
  .sec5__titles .t-display { left: 18px; top: 101px; white-space: nowrap; }
  .bg-kv--ex { top: 262px; height: 724px; }
  .cards { position: relative; top: 0; left: 0; right: auto; clip-path: none; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; touch-action: auto;
           scrollbar-width: none; padding: 0 var(--m) 8px 0; scroll-padding-left: 0; }
  .cards::-webkit-scrollbar { display: none; }
  .cards__track { transform: none !important; gap: 16px; cursor: auto; align-items: flex-start; }
  .card { width: 350px; height: 420px; scroll-snap-align: start; }
  .card--s2 { height: 435px; margin-top: -8px; }
  .card--s2 .card__shape { clip-path: polygon(15.54% 0, 0 62.92%, 10.43% 100%, 91.97% 95.43%, 100% 47.49%, 85.74% 0); }
  .card__img { border-radius: 4px; }
  .card--s2 .card__img { left: 11px; }
  /* 與桌機相同：標題在上、時間地點齊下方（底部留 9%） */
  .card__body { left: 64px; top: 219px; bottom: 9%; height: auto; justify-content: space-between; gap: 12px; }
  .card__title b { font-size: 18px; line-height: 24px; }   /* 手機 ZH/H3 */
  .card--s2 .card__body { left: 62px; }
  .cards__ticks { margin-top: 64px; position: relative; z-index: 2; }

  /* 參觀資訊 / footer */
  .info { height: auto; margin-top: 0; padding: 48px var(--m) 31px 15px; }
  .info__head { position: static; justify-content: space-between; align-items: center; }
  .info__map { display: block; }
  .info__body { position: static; height: auto; margin-top: 39px; }
  .info__vline { display: none; }
  .info__name, .info__detail { position: relative; left: 0; top: 0; width: auto; padding: 20px 0; }
  .info__name { font-size: 16px; line-height: 28px; }
  .info__name::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; }
  .info__body { position: relative; left: auto; right: auto; top: auto; }
  .info:has(.shuttle) { padding-bottom: 31px; }
  .shuttle { margin: 0; }
  .shuttle__routes { flex-direction: column; gap: 24px; }
  .ftr { height: auto; padding: 41px var(--m) 59px 14px; }
  .ftr__orgs { position: static; gap: 20px; }
  .ftr__row { flex-direction: column; align-items: flex-start; height: auto; gap: 24px; }
  .ftr__row dt { width: auto; }
  .ftr__row dd { flex-direction: column; align-items: flex-start; gap: 24px; }

  /* popup */
  .pop { width: calc(100vw - 24px); max-width: 680px; max-height: calc(var(--vh100, 100vh) - 24px); }
  .pop__close { margin: 14px 14px -44px 0; top: 14px; }
  .pop__intro { height: auto; padding: 64px 20px 32px; display: flex; flex-direction: column; gap: 24px; }
  .pop__logo, .pop__lead, .pop__hl { position: static; width: auto; }
  .pop__logo { height: auto; max-width: 320px; }
  .pop__logo svg { height: auto; }
  .pop__hl { flex-direction: row; justify-content: space-between; gap: 12px; order: 3; }
  .pop__hl dt { font-size: 40px; line-height: 44px; }
  .pop__hl dd { font-size: 14px; }
  .pop__banner { height: 300px; container-type: inline-size; }
  .pop__banner .kv--pop { top: 50%; bottom: auto; left: 50%; right: auto; width: 760px; height: 228px; margin: -114px 0 0 -380px; transform-origin: 50% 50%; transform: scale(.38); transform: scale(min(1, tan(atan2(100cqw - 40px, 760px)))); scale: none; }
  .kv--pop .kv-kanji--m { display: none; }
  .kv--pop .kv__h:nth-child(1) { top: 85px; } .kv--pop .kv__h:nth-child(2) { top: 147.6px; } .kv--pop .kv__h:nth-child(3) { top: 210.3px; }
  .kv--pop .kv__h { left: .87px; width: 758.8px; }
  .kv--pop .kv__v { left: 136.7px; top: 84.3px; height: 126px; }
  .kv--pop .kv__en { font-size: 76px; line-height: 76px; }
  .kv--pop .kv__en--1 { left: 0; top: 16.4px; } .kv--pop .kv__en--2 { left: 160px; top: 80px; } .kv--pop .kv__en--3 { left: 420.7px; top: 142.7px; }
  .kv--pop .kv__sub { top: 24px; font-size: 24px; line-height: 26px; }
  .kv--pop .kv__zh { font-size: 22px; line-height: 22px; }
  .kv--pop .kv__zh--1 { top: 104.4px; } .kv--pop .kv__zh--2 { top: 168.5px; }
  .pop__block { width: auto; margin: 32px 20px 0; }
  .pop__text { width: auto; }
}
/* 手機版 popup KV：桌機字形保留 */
@media (max-width: 1023px) { .kv--pop .kv-kanji:not(.kv-kanji--m) { display: block !important; } }

/* 平板（768–1023px）：手機結構延伸，加大邊距與尺度 */
@media (min-width: 768px) and (max-width: 1023px) {
  :root { --m: 40px; }
  .mh__bar { padding: 12px 40px; }
  .mdate { padding-left: 40px; }
  .sec1 { height: max(calc(100svh - 51px), 960px); }
  .kv { left: 40px; bottom: 100px; scale: 1.55; transform-origin: 0 100%; }
  .bg-kv--hero { top: 120px; }
  .sec1__fade { height: 110px; }
  .sec2 { padding: 64px 40px 48px; }
  .sec2__body p { max-width: none; }
  .sec4__top { padding: 64px 40px 0; }
  .bg-kv--camp { top: 520px; width: 1100px; height: 820px; }
  .artist { max-width: 640px; --mih: calc((640px - 80px) * 2 / 3); }
  .artist__peek .layer > img, .artist__peek .layer > .ph { width: 560px; }
  .sec5__titles .t-h1, .sec5__titles .t-display { left: 40px; }
  .cards { padding-left: 40px; scroll-padding-left: 40px; }
  .info { padding: 64px 40px 40px; }
  .info__body { display: grid; grid-template-columns: 1fr 1.4fr; }
  .info__name::after { display: none; }
  .shuttle__routes { flex-direction: row; gap: 40px; }
  .ftr { padding: 48px 40px 64px; }
  .ftr__orgs { flex-direction: row; flex-wrap: wrap; gap: 32px 64px; }
}

/* 系列展覽內頁：手機／平板 */
@media (max-width: 1023px) {
  .exd { padding: 113px var(--m) 64px; }
  .exd__top, .exd__content { margin-left: 0; width: auto; }
  .exd__back { position: absolute; left: var(--m); top: 71px; bottom: auto; }
  .exd__back.is-away { opacity: 1; pointer-events: auto; }
  .exd__title { font-size: 26px; line-height: 38px; }
  .exd__row { flex-direction: column; gap: 24px; margin-top: 24px; }
  .exd__sessions { width: 100%; gap: 8px; }
  .exd__date { font-size: 18px; line-height: 24px; letter-spacing: .36px; }
  .exd__place { font-size: 16px; line-height: 28px; }
  .exd__time { font-size: 16px; line-height: 26px; }
  .exd__banner { width: calc(100% * var(--km, 1)); margin: 0 auto; }   /* 手機：主視覺置中 */
  .exd__content { margin-top: 48px; gap: 40px; }
  .exd__h { font-size: 22px; line-height: 28px; }
  .exd__body { margin-top: 12px; padding-left: 12px; }
  .exd__names { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 8px; }
  .exd__names li { width: auto; }
  .exd__body p { line-height: 26px; }
  .exd__artist { width: 100%; min-height: 0; padding: 72px 24px 80px; }
  .exd__artist-label { font-size: 14px; line-height: 18px; }
  .exd__artist-name { margin-top: 12px; font-size: 18px; line-height: 24px; }
  .exd__artist .exd__body p + p { margin-top: 26px; }
  .exd__gallery { margin-top: 8px; }
  .exd__parent { margin-bottom: 4px; font-size: 14px; line-height: 20px; }
  /* 學員作品：作品照在上，綠色多邊形托住說明 */
  .wk__main { flex-direction: column; gap: 0; min-height: 0; padding: 0; }
  .wk__shape { left: 0; top: 160px; width: 100%; }
  .wk__img { width: 62%; max-width: 300px; margin: 0 auto; aspect-ratio: 1 / 1; }   /* 手機：置中、裁成方形 */
  .wk__txt { width: 100%; margin-top: 0; padding: 32px 24px 72px; gap: 12px; }
  .wk__name { font-size: 14px; line-height: 18px; }
  .wk__title { font-size: 18px; line-height: 24px; }
  .wk__desc { padding-left: 12px; }
  .wk__desc p { line-height: 26px; }
  .wk__bio { margin-top: 24px; }
  .wk__who { font-size: 18px; line-height: 24px; }
  .wk__bar { height: 16px; margin: 0 10px; }
  .wk__bio .who__country { margin-top: 12px; }
  .wk__cv { margin-top: 12px; padding-left: 12px; }
  .wk__cv li { gap: 12px; font-size: 14px; line-height: 24px; }
  .exd__photos { width: 100%; gap: 12px; }
  .pop--photo .pop__inner { padding: 0 14px 20px; }
  .pph { padding-top: 58px; }
  .pph__nav { margin-top: 16px; }
  .pph__count { font-size: 16px; }
  .pph__btns .slide-nav__arrow { display: none; }
  .pph__btns .slide-nav__btn { font-size: 18px; }
}

/* 石雕創作營內頁：手機／平板 */
@media (max-width: 1023px) {
  .sym { padding: 83px var(--m) 64px; }
  .sym__top { height: auto; display: flex; flex-direction: column; gap: 24px; }
  .sym__title { position: static; width: auto; }
  .sym__title .t-h1, .sym__title .t-display { position: static; }
  .sym .facts { top: 0; }
  .sym__intro { position: static; }
  .sym__intro p + p { margin-top: 26px; }
  .sym__list { grid-template-columns: 1fr; row-gap: 48px; margin: 48px 0 0; padding-bottom: 0; }
  .art:nth-child(even) { translate: none; }
  .art { padding-top: 104px; }   /* 姓名中英分兩行，與作品照保持 16px 以上間距 */
  .art__portrait { left: 12px; width: 80px; height: 110px; }
  .art__who { left: 104px; top: 2px; }
  .who { gap: 6px; }
  .who__country { gap: 8px; }
  .art .who__name { white-space: normal; }
  .who__country b { font-size: 14px; line-height: 18px; }
  .who__country span { font-size: 16px; line-height: 26px; }
  .who__name { flex-direction: column; align-items: flex-start; }
  .who__name b { font-size: 18px; line-height: 24px; }
  .who__name span { font-size: 16px; line-height: 24px; }
  .art__work { border-radius: 4px; }
  .art__body { padding-left: 0; }
  .art__title { font-size: 18px; line-height: 24px; }
  .art__en { font-size: 22px; line-height: 28px; }
  .pa { display: flex; flex-direction: column; padding: 56px 20px 0; }
  .pa__portrait { position: static; order: 1; width: 60%; max-width: 220px; height: auto; aspect-ratio: 262 / 376; margin-top: 16px; }
  .pa__title { order: 2; width: auto; margin-top: 24px; font-size: 26px; line-height: 38px; gap: 4px; }
  .pa__en { font-size: 32px; line-height: 38px; }
  .pa__desc { order: 3; width: auto; margin-top: 16px; font-size: 16px; line-height: 28px; }
  .pa__work { order: 4; margin-top: 24px; }
  /* 手機：箭頭放在視窗下方 */
  .pop.pop--artist { max-height: calc(var(--vh100, 100vh) - 112px); }
  .pop__nav { top: calc(100% + 15px); margin-top: 0; }
  .pop__nav--prev { right: auto; left: 0; }
  .pop__nav--next { left: auto; right: 0; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
  .js-line, .rise__i, .fade, [data-split] .ch, .kv-kanji .glyph, .cards .card, .hdr__logo { transform: none !important; opacity: 1 !important; }
  .sec3__frame { --ti: 0 !important; --si: 0 !important; --rr: 0px !important; }
}

/* =========================================================
   sec-6 店家串聯（Figma 138:3355）
   ========================================================= */
.sec6 { position: relative; padding: 121px 0 87px; overflow: hidden; background: linear-gradient(var(--teal) 26.6%, rgba(100, 192, 171, 0) 46.7%); }
.stamp6 { position: relative; margin: 0 62px 0 calc(var(--c3) - 58px); height: 450px; }
.stamp6__bg {
  position: absolute; inset: 0; background: var(--white);
  clip-path: polygon(0 0, calc(100% - 111px) 0, 100% 112px, 100% 100%, 0 100%);
}
.stamp6__bg::after {
  content: ""; position: absolute; inset: 0; opacity: .3;
  background: url(../assets/img/sec6/ticket-tex.jpg) -78px -102px / max(1247px, 110%) auto no-repeat;
}
.stamp6__in { position: absolute; left: 58px; right: 130px; top: 51px; height: 329px; --rc: 398px; }
.stamp6__row { position: absolute; left: 0; right: 0; top: 0; height: 60px; display: flex; }
.stamp6__row--body { top: 155px; height: 144px; }
.stamp6__rule { left: 0; right: 0; height: 1px; color: var(--black); }
.stamp6__v { top: 0; bottom: 0; right: var(--rc); width: 1px; color: var(--black); }
.stamp6__date { position: absolute; left: 0; top: 18px; font: 500 20px/24px var(--font-en-sans); letter-spacing: .36px; }
.stamp6__label { font: 600 16px/22px var(--font-zh); }
.stamp6__row > .stamp6__label { position: absolute; left: calc(100% - var(--rc) + 21px); top: 21px; font-size: 14px; line-height: 18px; }
.stamp6__title { position: absolute; left: 4px; top: 80px; font: 600 40px/56px var(--font-zh); white-space: nowrap; z-index: 2; }
.stamp6__arrows { position: absolute; left: 574px; right: 158px; top: 99px; display: flex; align-items: center; gap: 16px; }
.stamp6__arrows img { flex: 0 1 70px; min-width: 0; height: auto; }
.stamp6__desc { position: absolute; left: 4px; top: 21px; width: 533px; font: 400 16px/28px var(--font-zh); }
.stamp6__get { position: absolute; left: calc(100% - var(--rc) + 29px); top: 19px; display: flex; flex-direction: column; gap: 4px; }
.stamp6__place { font: 600 24px/30px var(--font-zh); }
.stamp6__note { position: absolute; right: 5px; top: 307px; font: 400 14px/22px var(--font-zh); }
.stamp6__stamp { position: absolute; right: -70px; top: 17px; width: 200px; height: 200px; transform: rotate(-5deg); opacity: 0; z-index: 3; pointer-events: none; }
.is-in .stamp6__stamp { opacity: 1; animation: stamp-down .62s cubic-bezier(.3, 0, .2, 1) .9s both; }
.is-in .stamp6__in { animation: stamp-thud .34s ease-out 1.28s; }
@keyframes stamp-down {
  0% { opacity: 0; transform: rotate(-16deg) scale(2.6); }
  58% { opacity: 1; transform: rotate(-5deg) scale(.92); }
  78% { transform: rotate(-5deg) scale(1.03); }
  100% { opacity: 1; transform: rotate(-5deg) scale(1); }
}
@keyframes stamp-thud { 0% { transform: none; } 30% { transform: translateY(3px); } 100% { transform: none; } }

.step6 { position: relative; z-index: 2; width: 933px; height: 350px; margin: -61px 0 0 calc(var(--c3) - 80px); }
.step6__shape, .step6__shadow { position: absolute; inset: 0; clip-path: polygon(0 0, 843.6px 0, 100% 89.6px, 100% 100%, 0 100%); }
.step6__shape { background: #e2bf93; }
.step6__shadow { background: var(--black); transform: translate(4px, 4px); }
.step6__in { position: absolute; inset: 0; }
.step6__title { position: absolute; left: 35px; top: 26px; font: 600 32px/44px var(--font-zh); }
.step6__title .rise__i { display: inline-flex; align-items: center; gap: 8px; }
.step6__list { position: absolute; left: 48px; top: 90px; margin: 0; padding: 0; list-style: none; display: flex; gap: 24px; }
.step6__item { position: relative; width: 266px; padding-left: 74px; }
.step6__no { position: absolute; left: 0; top: 0; font: italic 400 40px/44px var(--font-en-serif); color: var(--white); }
.step6__h { position: absolute; left: 0; top: 60px; font: 700 24px/30px var(--font-zh); color: var(--white); }
.step6__body { padding-top: 58px; width: 169px; font: 600 18px/30px var(--font-zh); }
.step6__small { margin-top: 8px; font: 400 12px/18px var(--font-zh); }
.step6__btn { margin-top: 20px; }

.shops6__head { display: flex; align-items: center; gap: 24px; margin: 56px 0 0 calc(var(--c3) - 79px); }
.shops6__title { font: 600 32px/44px var(--font-zh); }
.marquee { margin-top: 58px; overflow: hidden; }
.marquee__track { display: flex; gap: 16px; width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee 130s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translate3d(calc(-50% - 8px), 0, 0); } }
.shopc { position: relative; flex: none; width: 343px; height: 338px; color: var(--white); }
.shopc__shape { position: absolute; left: 0; right: 0; top: 47px; height: 291px; background: var(--black); clip-path: polygon(12.43% 0, 0 15.12%, 0 100%, 92.75% 100%, 100% 80%, 100% 0); }
.shopc__photo { position: absolute; left: 50%; top: 0; width: 260px; height: 167px; margin-left: -130px; border-radius: 4px; overflow: hidden; }
.shopc__photo img, .shpi__photo img { width: 100%; height: 100%; object-fit: cover; }
.shopc__photo.is-contain, .shpi__photo.is-contain { background: var(--white); }
.is-contain img { object-fit: contain !important; padding: 12%; }
.shopc__info { position: absolute; left: 20px; right: 20px; top: 194px; display: flex; flex-direction: column; gap: 20px; }
.shopc__name { font: 600 20px/32px var(--font-zh); }   /* 行高放寬：店名換行時「已額滿」標籤不會貼到上一行 */
/* 店家備註（data/shops.json 的 status，例：已額滿）：白底上黑標、黑底上白標 */
.shop-st { display: inline-block; margin-left: 8px; padding: 1px 10px; border-radius: var(--radius-round); background: var(--black); color: var(--white); font: 600 12px/18px var(--font-zh); vertical-align: 3px; white-space: nowrap; }
.shopc .shop-st, .shpi__title .shop-st { background: var(--white); color: var(--black); }
.shopc__meta { display: flex; flex-direction: column; gap: 4px; padding-left: 12px; border-left: 1px solid var(--white); font: 400 14px/22px var(--font-zh); }

/* =========================================================
   串聯指定店家內頁（shops.html）
   ========================================================= */
@media (min-width: 1024px) { .sec6--page .step6 { margin-left: calc(var(--c3) - 35px); } }
.sec6--page { padding-bottom: 0; background: linear-gradient(var(--teal) 405px, rgba(100, 192, 171, 0) 710px); }
.shp { position: relative; z-index: 1; scroll-margin-top: 30px; padding: 49px 0 170px; margin-left: var(--c3); width: calc(var(--c11) + var(--col) - var(--c3)); }
.shp__filter { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 42px; }
.shp__f { height: 40px; padding: 0 24px; border: 1px solid var(--black); border-radius: var(--radius-round); font: 400 14px/22px var(--font-zh); transition: background-color .25s ease, color .25s ease; }
.shp__f.is-on, .shp__f:hover { background: var(--black); color: var(--white); }
.shp__group { margin-top: 48px; }
.shp__group[hidden], .shpi[hidden] { display: none; }
.shp__filter + .shp__group { margin-top: 48px; }
.shp__gh { display: flex; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--black); }
.shp__head { display: flex; flex-wrap: wrap; align-items: center; column-gap: 24px; row-gap: 4px; }
.shp__title { font: 600 32px/44px var(--font-zh); }
.shp__sub { font: 600 12px/18px var(--font-zh); }
.shp__gh h3 { font: 600 24px/30px var(--font-zh); }
.shp__count { font: 400 14px/22px var(--font-zh); opacity: .6; }
.shp__list { margin: 0; padding: 0; list-style: none; }
.shpi { border-bottom: 1px solid var(--black); }
.shpi__h { font: inherit; margin: 0; }
.shpi__row { display: flex; align-items: center; gap: 24px; width: 100%; min-height: 76px; padding: 20px 0; text-align: left; }
.shpi__no { flex: none; width: 48px; font: italic 400 22px/28px var(--font-en-serif); color: var(--teal); }
.shpi__name { flex: 1 1 0; min-width: 0; font: 600 18px/28px var(--font-zh); }
.shpi__addr { flex: none; width: 300px; font: 400 14px/22px var(--font-zh); }
.shpi__tags { flex: none; width: 140px; display: flex; gap: 4px; }
.shpi__tag { padding: 1px 12px; border: 1px solid rgba(0, 0, 0, .3); border-radius: var(--radius-round); font: 600 12px/18px var(--font-zh); white-space: nowrap; }
.shpi__toggle { position: relative; flex: none; width: 24px; height: 24px; }
.shpi__toggle::before, .shpi__toggle::after { content: ""; position: absolute; left: 7px; top: 11.25px; width: 10px; height: 1.5px; border-radius: 1px; background: var(--black); transition: transform .3s var(--ease-out); }
.shpi__toggle::after { transform: rotate(90deg); }
.is-open .shpi__toggle::after { transform: rotate(0); }
.shpi__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .5s var(--ease-out), visibility .5s; }
.is-open > .shpi__panel { grid-template-rows: 1fr; visibility: visible; }
.shpi__clip { overflow: hidden; min-height: 0; }
.shpi__card { position: relative; display: flex; gap: 40px; margin-bottom: 24px; padding: 40px 40px 40px 20px; color: var(--white); }
.shpi__shape { position: absolute; left: 5.48%; right: 0; top: 0; bottom: 0; background: var(--black); clip-path: polygon(0 0, 90.8% 0, 100% 14.6%, 98.6% 100%, 0 100%); }
.shpi__photo { position: relative; flex: none; width: 448px; height: 300px; border-radius: 4px; overflow: hidden; }
.shpi__info { position: relative; flex: 1 1 0; min-width: 0; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.shpi__text { display: flex; flex-direction: column; gap: 20px; font: 400 14px/22px var(--font-zh); }
.shpi__title { margin: 0; font: 600 24px/30px var(--font-zh); }
.shpi__bottom { display: flex; flex-direction: column; gap: 20px; padding-right: 90px; }
.shpi__meta { display: flex; flex-direction: column; gap: 4px; padding-left: 12px; border-left: 1px solid var(--white); font: 400 14px/22px var(--font-zh); }
.shpi__meta > div { display: flex; }
.shpi__meta dt { flex: none; }
.shpi__meta dd { margin: 0; }
.shpi__branches { margin: 0; padding: 0; list-style: none; }
.shpi__branches li { display: grid; grid-template-columns: 5em 1fr; }
.shpi__branch { font-weight: 600; }
.shpi__foot { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.shpi__links { display: flex; align-items: center; gap: 20px; }
.shpi__links img { display: block; width: 24px; height: 24px; }
.shpi__links a { transition: opacity .2s ease; }
.shpi__links a:hover { opacity: .6; }
.shpi__ll { font: 400 14px/22px var(--font-zh); }
.shpi__deco { position: absolute; right: 24px; bottom: 20px; }

@media (max-width: 1023px) {
  .sec6 { padding: 64px 0 56px; background: linear-gradient(var(--teal) 12%, rgba(100, 192, 171, 0) 32%); }
  .stamp6 { margin: 0 15px; height: auto; }
  .stamp6__bg { clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 56px, 100% 100%, 0 100%); }
  .stamp6__bg::after { background-position: 0 0; background-size: auto 100%; }
  .stamp6__in { position: relative; left: auto; right: auto; top: auto; height: auto; padding: 32px 20px 72px; --rc: 0px; }
  .stamp6__row:first-child > .stamp6__rule:first-child { display: none; }
  .stamp6__row { position: relative; top: auto; height: auto; flex-direction: column; gap: 4px; padding: 12px 0; }
  .stamp6__row--body { top: auto; height: auto; gap: 16px; padding: 16px 0; }
  .stamp6__v { display: none; }
  .stamp6__date, .stamp6__desc, .stamp6__get, .stamp6__note, .stamp6__title { position: static; }
  .stamp6__row > .stamp6__label { position: static; }
  .stamp6__desc { width: auto; font-size: 14px; line-height: 24px; }
  .stamp6__title { padding: 16px 0; font-size: 26px; line-height: 38px; white-space: normal; }
  .stamp6__note { margin-top: 8px; text-align: right; }
  .stamp6__arrows { display: none; }
  .stamp6__stamp { right: 12px; left: auto; top: 16px; width: 100px; height: 100px; }
  .step6 { width: auto; height: auto; margin: -48px 15px 0; }
  .step6__shape, .step6__shadow { clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 56px, 100% 100%, 0 100%); }
  .step6__in { position: relative; inset: auto; padding: 28px 20px 48px; }
  .step6__title, .step6__list { position: static; }
  .step6__list { flex-direction: column; gap: 0; margin-top: 20px; }
  .step6__item { width: auto; min-height: 104px; }
  .step6__h { top: 44px; }
  .step6__title { font-size: 22px; line-height: 32px; }
  .step6__body { width: auto; padding-top: 44px; font-size: 16px; line-height: 26px; }
  .shops6__title { font-size: 22px; line-height: 32px; }
  .stamp6__place { font-size: 18px; line-height: 24px; }
  .stamp6__date { font-size: 18px; }
  .stamp6__label { font-size: 14px; line-height: 18px; }
  .shpi__name { font-size: 16px; }
  .shpi__title { font-size: 18px; line-height: 24px; }
  .shops6__head { margin: 48px 15px 0; flex-wrap: wrap; row-gap: 8px; }
  .shops6__sub { order: 3; flex-basis: 100%; }
  .marquee { margin-top: 28px; }
  .marquee__track { animation-duration: 110s; }
  .sec6--page { padding: 88px 0 0; background: linear-gradient(var(--teal) 260px, rgba(100, 192, 171, 0) 520px); }
  .shp { margin: 0; width: auto; scroll-margin-top: 16px; padding: 48px var(--m, 24px) 64px; }
  .shp__title { font-size: 22px; line-height: 32px; }
  .shp__gh h3 { font-size: 20px; line-height: 28px; }
  .shp__filter { flex-wrap: nowrap; overflow-x: auto; margin: 32px calc(var(--m, 24px) * -1) 0; padding: 0 var(--m, 24px); scrollbar-width: none; }
  .shp__f { flex: none; }
  .shpi__row { display: grid; grid-template-columns: 34px 1fr 24px; gap: 8px; padding: 16px 0; }
  .shpi__no { width: auto; }
  .shpi__addr { display: none; }
  .shpi__toggle { grid-column: 3; grid-row: 1; }
  .shpi__tags { grid-column: 2; grid-row: 2; width: auto; }
  .shpi__card { flex-direction: column; gap: 20px; padding: 0 36px 28px 36px; margin-bottom: 20px; }
  .shpi__shape { left: 0; top: 56px; clip-path: polygon(14% 0, 0 8%, 0 100%, 94% 100%, 100% 95%, 100% 0); }
  .shpi__photo { width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .shpi__info { flex: none; min-height: 0; }
  .shpi__bottom { padding-right: 56px; }
  .shpi__bottom:has(.shpi__branches) { padding-right: 0; }
  .shpi__branches li { grid-template-columns: 4.5em 1fr; }
}
@media (max-width: 767px) {
  .marquee__track { gap: 12px; animation-duration: 90s; }
  .shopc { width: 240px; height: 237px; }
  .shopc__shape { top: 33px; height: 204px; }
  .shopc__photo { width: 182px; height: 117px; margin-left: -91px; }
  .shopc__info { left: 14px; right: 14px; top: 136px; gap: 10px; }
  .shopc__name { font-size: 15px; line-height: 26px; }
  .shopc .shop-st { padding: 0 8px; font-size: 11px; line-height: 17px; vertical-align: 1px; }
  .shopc__meta { gap: 2px; padding-left: 8px; font-size: 12px; line-height: 18px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .stamp6, .step6 { margin-left: 40px; margin-right: 40px; }
  .step6 { margin-top: -48px; }
  .shops6__head { margin-left: 40px; }
  .shpi__card { flex-direction: row; padding: 24px; }
  .shpi__shape { left: 0; top: 0; clip-path: polygon(0 0, 90.8% 0, 100% 14.6%, 98.6% 100%, 0 100%); }
  .shpi__photo { width: 40%; aspect-ratio: auto; height: 260px; }
  .shpi__info { flex: 1 1 0; }
}
@media (prefers-reduced-motion: reduce) {
  .stamp6__stamp { opacity: 1 !important; animation: none !important; }
  .stamp6__in { animation: none !important; }
  .marquee { overflow-x: auto; }
  .marquee__track { animation: none; }
  .shopc[aria-hidden="true"] { display: none; }
}

/* =========================================================
   英文版（en/，<html lang="en">）：英文字體、靠左排文
   ========================================================= */
html[lang="en"] { --font-zh: var(--font-en-sans); }
html[lang="en"] *, html[lang="en"] *::before, html[lang="en"] *::after { letter-spacing: 0 !important; }
html[lang="en"] :is(h2, h2 *) { font-family: var(--font-en-serif); font-style: italic; font-weight: 400; }
html[lang="en"] :is(.stamp6__title, .step6__title), html[lang="en"] :is(.stamp6__title, .step6__title) * { font-family: var(--font-en-sans); font-style: normal; font-weight: 600; }
/* 手機 header 英文 LOGO（Figma en-mobile，高度同中文版 26px）；About popup 用同一個橫式 LOGO，靠左 */
html[lang="en"] .pop__logo svg { width: auto; }
@media (max-width: 1023px) { html[lang="en"] .mh__logo { width: 126px; } }
/* About：英文內文較長，區塊高度隨內容延伸，左側直線延伸到按鈕底部 */
@media (min-width: 1024px) {
  html[lang="en"] .sec2 { height: auto; padding: 151px 0 96px; }
  html[lang="en"] .sec2__body { position: relative; top: 0; left: auto; right: auto; margin: 0 var(--r) 0 calc(var(--c7) - 48px); }
  html[lang="en"] .sec2__vline { height: auto; bottom: 96px; }
}
/* 左下角藝術季名稱：全大寫，字重同原 dock__en（STONE 前斷行由 build_en 加 <br>） */
html[lang="en"] .dock__zh { font-size: 20px; font-weight: 600; line-height: 24px; text-transform: uppercase; }
/* 首頁店家跑馬燈：英文店名、營業時間較長，卡片高度隨內容延伸（底色多邊形以百分比裁切，跟著拉長） */
html[lang="en"] .shopc { height: auto; min-height: 338px; padding: 194px 20px 28px; }
html[lang="en"] .shopc__shape { bottom: 0; height: auto; }
html[lang="en"] .shopc__info { position: relative; left: auto; right: auto; top: auto; gap: 16px; }
html[lang="en"] .mdate__zh { font-weight: 600; text-transform: uppercase; }
/* 藝術家：國籍不留中文空位（與作品名左緣對齊）；作品名用中文版英文作品名的 EB Garamond 斜體 */
html[lang="en"] .artist__country b[data-f="countryZh"] { display: none; }
html[lang="en"] .artist__work [data-f="workZh"] { font: italic 400 28px/36px var(--font-en-serif); }
/* 店家集點：內文不超過直線，領取方式字級縮小 */
html[lang="en"] .stamp6__desc { width: auto; right: calc(var(--rc) + 24px); font-size: 15px; line-height: 26px; }
html[lang="en"] .stamp6__place { font-size: 20px; line-height: 26px; }
html[lang="en"] .stamp6__label { font-size: 14px; line-height: 20px; }
/* About popup：英文內文較長，區塊高度隨內容延伸 */
@media (min-width: 1024px) {
  html[lang="en"] .pop__intro { height: auto; min-height: 508px; padding: 204px 0 72px; }
  html[lang="en"] .pop__lead { position: relative; top: 0; }
}
/* 標題區地點：英文較長，兩行置中於列高內，按鈕靠右 */
html[lang="en"] .facts__place { top: 0; right: 0; height: 68px; display: flex; align-items: center; font-size: 20px; line-height: 26px; }
html[lang="en"] .facts__place .rise__i { width: 100%; justify-content: space-between; gap: 16px; }
html[lang="en"] :is(.sec2__body p, .sec4__intro, .exd__body, .sym__intro, .pa__desc, .pop__lead, .pop__text) { text-align: left; }
html[lang="en"] .sec2__label.is-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* 店家串聯：英文標題較長，縮小字級、拿掉箭頭；集點步驟標題移到內文上方 */
html[lang="en"] .stamp6__title { font-size: 28px; line-height: 40px; }
html[lang="en"] .stamp6__arrows { display: none; }
html[lang="en"] .step6__item { padding-left: 40px; }   /* 白字標題移到內文上方，與數字的間距縮小 */
html[lang="en"] .step6__h { position: static; margin-top: 4px; font-size: 20px; line-height: 26px; }
html[lang="en"] .step6__body { width: auto; padding-top: 8px; font-size: 15px; line-height: 24px; }
@media (max-width: 1023px) {
  html[lang="en"] .stamp6__title { font-size: 22px; line-height: 32px; }
  html[lang="en"] .step6__h { font-size: 18px; line-height: 24px; }
  html[lang="en"] .artist__work [data-f="workZh"] { font-size: 22px; line-height: 28px; }
  html[lang="en"] .stamp6__desc { font-size: 14px; line-height: 24px; }
  html[lang="en"] .stamp6__place { font-size: 18px; line-height: 24px; }
  html[lang="en"] .facts__place { top: 13px; height: auto; display: block; font-size: 16px; line-height: 22px; white-space: normal; }
  html[lang="en"] .facts__place .rise__i { justify-content: flex-start; gap: 8px; }
  html[lang="en"] .facts { height: 151px; }
  html[lang="en"] .facts__row:nth-of-type(2), html[lang="en"] .facts__row:nth-of-type(2) .facts__v { height: 102px; }
  html[lang="en"] .facts > span.facts__rule:nth-of-type(3) { top: 151px !important; }
  html[lang="en"] .shopc { min-height: 237px; padding: 136px 14px 20px; }
}
/* 英文版行高：h4 24px、內文 p 22px（大字的日期、標題、店名等維持原行高）；放在最後以蓋過上方個別設定 */
html[lang="en"] :is(h4, h4 *) { line-height: 24px; }
/* 內文 p 18px；展覽內頁（.exd）與店家展開卡片（.shpi__info）維持 22px */
html[lang="en"] p:not(.t-display, .dock__date, .dock__zh, .mdate__date, .mdate__zh, .shopc__name, .step6__h, .artist__name, .ev__time, .info__name, .stamp6__date, .stamp6__place, .exd__date, .pph__count, .mm__name) { line-height: 18px; }
html[lang="en"] :is(.exd, .shpi__info) p:not(.exd__date) { line-height: 22px; }
html[lang="en"] .exd .exd__body p { line-height: 28px; }
html[lang="en"] .pop__intro p.pop__lead { line-height: 28px; }
html[lang="en"] :is(.sec2__body, .sec4__intro, .sym__intro) p:not(.x) { line-height: 22px; }   /* intro 內文 */
html[lang="en"] .shopc__meta { gap: 8px; }
@media (max-width: 1023px) {
  html[lang="en"] .mdate__zh { font-size: 20px; line-height: 24px; margin-bottom: 0; }
  html[lang="en"] .step6__list { gap: 20px; }
  html[lang="en"] .step6__btn { margin-top: 10px; }
  html[lang="en"] .step6__br { display: none; }
}
html[lang="en"] .exd__body p { line-height: 28px; }   /* 展覽內頁內文例外：維持 28px */
/* 店家列表：英文分類標籤較長，欄位加寬並可換行（不壓到 +）；「Fully Booked」換行時與店名左緣對齊、行距放寬 */
html[lang="en"] .shpi__tags { width: 220px; flex-wrap: wrap; }
html[lang="en"] .shpi__tag { line-height: 18px; }
html[lang="en"] :is(.shpi__name, .shpi__title, .shopc__name):has(.shop-st) { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
html[lang="en"] :is(.shpi__name, .shpi__title, .shopc__name) .shop-st { margin-left: 0; line-height: 18px; }
/* 石雕創作營標題：手機版 .sec4__title .t-h1 為 static，讀屏用標題要再收起來，否則與副標重疊 */
html[lang="en"] :is(.sec4__title, .sym__title) .t-h1.is-sr { position: absolute; }
/* 藝術家作品名：英文版只用上方那行，下方英文作品名欄位是空的，連高度一起拿掉 */
html[lang="en"] .artist__work .artist__work-en { display: none; }
@media (min-width: 1024px) {
  html[lang="en"] .shpi__photo { width: 300px; height: auto; aspect-ratio: 448 / 300; align-self: flex-start; }   /* 維持原本 448×300 比例（不被右側內文撐高） */
  html[lang="en"] :is(.facts__date, .facts__date *) { letter-spacing: 2px !important; }   /* 同中文版 */
}
/* 青年成果展：英文版只留英文姓名 */
html[lang="en"] .wk__bar { display: none; }
html[lang="en"] .wk__desc { text-align: left; }
html[lang="en"] .exd .wk__desc p { line-height: 28px; }   /* 同展覽內文 */
html[lang="en"] .exd p.wk__name { line-height: 20px; }
@media (max-width: 1023px) { html[lang="en"] .exd .wk__desc p { line-height: 26px; } }
/* 拾憶石憶藝術家照片下方英文姓名：行高 20px（蓋過內文 p 的 28px） */
html[lang="en"] .exd .exd__body .exd__names p { line-height: 20px; }
