/* =========================================================
   前進亞洲新腹地｜首頁原型
   色票為主視覺暫取色，待正式色票 PDF 替換
   ========================================================= */
/* 英文字型：自架 Montserrat 可變字型（100–900 一個檔），預先載入，避免先閃出系統字型 */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: block;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f2f1ee;
  --fg: #141413;
  --muted: rgba(20, 20, 19, .56);
  --line: rgba(20, 20, 19, .12);
  --panel: #e8e8e6;

  --c-orange: #f0964e;
  --c-yellow: #f8cf4c;
  --c-green: #9fc8b0;
  --c-lavender: #c6c0e6;
  --c-pink: #f6cdd2;

  --night: #121110;
  --night-fg: #ece7dd;

  --f-zh: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --f-serif: "Noto Serif TC", "Songti TC", serif;
  --f-en: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-zh);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-intro { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 400; letter-spacing: .2em; color: var(--muted);
}
.eyebrow span {
  font-family: var(--f-en); font-weight: 700; font-size: 11px; letter-spacing: .1em;
  color: var(--fg);
  padding-right: 14px; border-right: 1px solid var(--line);
}

/* ---------- 開場 ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: grid; place-items: center;
}
.intro__grid { position: absolute; inset: 0 var(--gutter); display: flex; justify-content: space-between; }
.intro__grid i { width: 1px; background: var(--line); transform-origin: top; }
/* 開場：1949 — 1971 — 1980s 依序亮起，不做數字跳動 */
.intro__years { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 40px); font-family: var(--f-en); font-weight: 900; font-size: clamp(34px, 6.4vw, 104px); line-height: 1; letter-spacing: -.02em; }
.intro__y { opacity: .12; }
.intro__link { width: clamp(28px, 7vw, 120px); height: 2px; background: var(--fg); transform: scaleX(0); transform-origin: left center; }
.intro__label { position: absolute; left: 50%; bottom: 20vh; transform: translateX(-50%); font-family: var(--f-en); font-weight: 600; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* ---------- 導覽 ---------- */
.nav {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  mix-blend-mode: difference; color: #fff;
}
.nav__brand { display: flex; align-items: center; gap: 12px; line-height: 1.3; }
.nav__txt { display: flex; flex-direction: column; }
.nav__mark { width: 34px; height: 34px; flex: none; }
.nav__zh { font-size: 15px; font-weight: 400; letter-spacing: .28em; }
.nav__en { font-family: var(--f-en); font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
.nav__menu { display: flex; gap: clamp(20px, 3vw, 44px); font-size: 14px; letter-spacing: .2em; }
.nav__menu a { position: relative; padding: 4px 0; }
.nav__menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__menu a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 32px; height: 32px; position: relative; }
.nav__toggle span { position: absolute; left: 4px; right: 4px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.nav__toggle span:first-child { top: 12px; }
.nav__toggle span:last-child { top: 20px; }

/* ---------- 氛圍層 ---------- */
.atmos { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aura {
  position: absolute; border-radius: 50%;
  width: 70vmax; height: 70vmax;
  opacity: .9; will-change: transform;
  filter: opacity(var(--aura, 1)); /* 深色段落時由主題函式調暗 */
}
.aura--orange   { background: radial-gradient(closest-side, var(--c-orange), transparent); left: -42vmax; top: 10vh; }
.aura--green    { background: radial-gradient(closest-side, var(--c-green), transparent); right: -40vmax; top: -38vmax; }
.aura--yellow   { background: radial-gradient(closest-side, rgba(248,207,76,.85), transparent); left: 20vw; top: 20vh; width: 55vmax; height: 34vmax; opacity: .55; }
.aura--lavender { background: radial-gradient(closest-side, var(--c-lavender), transparent); right: -30vmax; bottom: -40vmax; }
.aura--pink     { background: radial-gradient(closest-side, var(--c-pink), transparent); left: 10vw; bottom: -52vmax; }

/* 背景地球儀：放在右側，深色段落時跟著色暈一起調暗 */
.globe { position: absolute; inset: 0; width: 100%; height: 100%; filter: opacity(calc(var(--aura, 1) * .78)) blur(var(--gblur, 0px)); } /* 全畫面畫布，地球位置與大小由程式依捲動決定 */
.grid { position: absolute; inset: 0 var(--gutter); display: flex; justify-content: space-between; }
.grid i { position: relative; width: 1px; height: 100%; background: var(--line); }
.grid b { position: absolute; left: -3px; top: 30%; width: 7px; height: 7px; border-radius: 50%; background: var(--fg); opacity: .5; }
.grid i:nth-child(2) b { top: 62%; }
.grid i:nth-child(3) b { top: 14%; }
.grid i:nth-child(4) b { top: 78%; }
.grid i:nth-child(5) b { display: none; } /* 最右一條由時間軸接手 */

/* 手卷線：地球後方的極淡虛線路線＋沿路前進的一段實線 */
.inkline { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; color: var(--fg); }
.inkline path { fill: none; stroke: currentColor; stroke-linecap: round; }
.inkline__route { stroke-width: 1; opacity: .26; stroke-dasharray: 2 7; animation: inkmarch 6s linear infinite; }
.inkline__far { stroke-width: .7; opacity: .1; stroke-dasharray: 1 8; animation: inkmarch 9s linear infinite reverse; }
.inkline__walk { stroke-width: 1; opacity: .26; }
.inkline__head { fill: currentColor; opacity: .5; }
@keyframes inkmarch { to { stroke-dashoffset: -90; } }
@media (prefers-reduced-motion: reduce) { .inkline__route, .inkline__far { animation: none; } }

.sky { position: absolute; left: 58vw; top: 50vh; width: 0; height: 0; will-change: transform; }
.sky__glow {
  position: absolute; left: -32vmax; top: -22vmax; width: 64vmax; height: 44vmax; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(248,207,76,.95), rgba(248,207,76,.25) 55%, transparent);
}
.sky__body { position: absolute; left: -7vmin; top: -7vmin; width: 14vmin; height: 14vmin; }
.sky__sun, .sky__moon { position: absolute; inset: 0; width: 100%; height: 100%; fill: #fff; overflow: visible; }
.sky__moon { opacity: 0; transform: scale(.82); }
/* 星星：主視覺右上角、綠色色暈的位置 */
.star { position: absolute; right: calc(var(--gutter) + 9vw); top: 16vh; width: clamp(26px, 3.2vmin, 44px); opacity: 0; }
.star__svg { display: block; width: 100%; height: auto; fill: #fff; filter: drop-shadow(0 0 10px rgba(255,255,255,.3)); }
.star::before { content: ""; position: absolute; left: 50%; top: 50%; width: 22vmax; height: 22vmax; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(126,186,152,.75), rgba(159,200,176,.25) 55%, transparent); z-index: -1; }
.star { isolation: isolate; }

/* ---------- 右側時間軸 ---------- */
.rail {
  position: fixed; z-index: 40; right: var(--gutter); top: 14vh; bottom: 14vh;
  width: 1px; mix-blend-mode: difference; color: #fff;
}
/* 時間軸與最右側格線重疊，年份標在線的左側 */
.rail__y {
  position: absolute; right: 14px;
  font-family: var(--f-en); font-weight: 900; font-size: 22px; line-height: 1; letter-spacing: 0;
  writing-mode: vertical-rl; opacity: .35; transition: opacity .5s;
}
.rail__y.is-on { opacity: 1; }
.rail__y--a { top: 0; }
.rail__y--b { top: 50%; transform: translateY(-50%); }
.rail__y--c { bottom: 0; }
.rail__track { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; }
.rail__fill { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: #fff; transform-origin: top; transform: scaleY(0); }
.rail__dot { position: absolute; left: -3px; top: 0; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; background: #fff; }

/* ---------- 版面 ---------- */
main, .foot { position: relative; z-index: 1; }

/* 01 首屏 */
.hero { min-height: 100svh; position: relative; padding: 0 var(--gutter); display: flex; align-items: center; }
.hero__inner { width: 100%; padding-top: 12vh; padding-bottom: 8vh; position: relative; }
.hero__kicker { font-size: 13px; letter-spacing: .24em; color: var(--muted); margin-bottom: 4vh; overflow: hidden; }
.hero__kicker span { display: inline-block; }
.hero__title {
  font-weight: 100; font-size: clamp(64px, 11.5vw, 190px); line-height: 1.06; letter-spacing: .06em;
  display: grid; grid-template-columns: auto 1fr; column-gap: 2vw;
}
.hero__line { display: block; grid-column: 1; white-space: nowrap; }
/* 中文標準字（SVG）：寬度依 viewBox 比例，1em ≈ 100 單位，三組筆畫粗細一致 */
.kv-word { display: block; width: calc(var(--vw) * 1em); height: auto; fill: currentColor; overflow: visible; }
.kv-word :is(rect, polygon, path) { translate: var(--tx, 0px) var(--ty, 0px); will-change: opacity, translate; }
.hero__line { line-height: 1; padding: .06em 0; }
.hero__line--1 .kv-word { filter: url(#mblur); }
.fx-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.hero__line--1 { grid-row: 1; }
.hero__line--2 { grid-row: 2; }
.hero__line--3 { grid-row: 3; }
.hero__en {
  grid-column: 2; grid-row: 1; align-self: end; margin-bottom: 1.6vw;
  font-family: var(--f-en); font-weight: 700; font-size: clamp(13px, 1.3vw, 20px); line-height: 1.25; letter-spacing: .02em;
  position: relative; padding-left: clamp(60px, 9vw, 150px);
}
.hero__en::before { content: ""; position: absolute; left: 0; top: 50%; width: clamp(48px, 7.5vw, 130px); height: 1px; background: var(--fg); transform-origin: left;
  /* --en-line：進場由左往右長出；--en-out：離場往右縮短（左端往右收） */
  transform: translateX(calc((1 - var(--en-out, 1)) * clamp(48px, 7.5vw, 130px))) scaleX(calc(var(--en-line, 1) * var(--en-out, 1))); }
.en-t { display: inline-block; }
.hero__sub .sc { display: inline-block; }
.hero__foot { display: flex; align-items: flex-end; justify-content: flex-end; gap: 4vw; margin-top: 6vh; flex-wrap: wrap; }
/* 副標固定在標題右側第二列（「亞洲」旁），首屏一定看得到，與英文副標一起淡出 */
.hero__sub { grid-column: 2; grid-row: 2; align-self: center; padding-left: clamp(60px, 9vw, 150px); font-size: clamp(18px, 1.9vw, 30px); font-weight: 300; line-height: 1.5; letter-spacing: .12em; }
.hero__big { font-family: var(--f-en); font-weight: 900; font-size: clamp(34px, 6.4vw, 110px); line-height: .98; letter-spacing: -.01em; text-align: right; }
.hero__regions { position: absolute; right: 7vw; top: 16vh; display: flex; gap: 18px; font-family: var(--f-en); font-weight: 800; font-size: clamp(13px, 1.4vw, 22px); line-height: 1; }
.hero__regions span { writing-mode: vertical-rl; }
.scrollcue { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--f-en); font-size: 10px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.scrollcue i { width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.scrollcue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 46px; background: var(--fg); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* 英文大字：上方小字引導，主字為 Cold War Era */
.big-s { display: block; font-size: .3em; font-weight: 800; line-height: 1.2; letter-spacing: .02em; margin: 0 0 .35em .12em; }
.hero__big .big-s { margin-left: 0; }
.big-s--after { font-size: .2em; margin: .55em 0 0 .2em; letter-spacing: .04em; }

/* 線條 icon：A 為段落小標（24），B 為計畫內容子系統（64，含虛線軌道與節點） */
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--fg); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ico .f, .tico .f { fill: var(--fg); stroke: none; }
.ico .dash { stroke-dasharray: 1.4 2.2; }
.eyebrow .ico { width: 32px; height: 32px; margin: -6px 0; } /* 六個段落小標的 icon */
.lecture__tag { display: inline-flex !important; align-items: center; gap: 8px; }
.lecture__tag .ico { width: 16px; height: 16px; }
.tico { display: block; width: clamp(68px, 5.3vw, 84px); height: clamp(68px, 5.3vw, 84px); margin-bottom: 3.5vh; fill: none; stroke: var(--fg); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.tico__orbit { transform-origin: 32px 32px; animation: orbit 36s linear infinite; opacity: .55; }
.tasks li:hover .tico__orbit { animation-duration: 9s; }
@keyframes orbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tico__orbit { animation: none; } }

/* 選取反白：瀏覽器只允許單色，改為依段落換成主視覺色暈色，整頁讀起來像漸層 */
::selection { background: rgba(240,150,78,.55); color: #141413; }
.chapters ::selection, .prologue__note::selection { background: rgba(248,207,76,.7); }
.triad ::selection { background: rgba(159,200,176,.75); }
.pivot ::selection, .scroll ::selection { background: rgba(198,192,230,.85); color: #121110; }
.voices ::selection, .about ::selection, .foot ::selection { background: rgba(246,205,210,.9); }

/* 前景霧面：半透明底＋背景模糊，捲動時滑過地球、稍微遮住，讓文字段落更清楚。顏色跟著主題深淺 */
.frost { position: relative; background: color-mix(in srgb, var(--bg) 30%, transparent); -webkit-backdrop-filter: blur(2.5px) saturate(1.05); backdrop-filter: blur(2.5px) saturate(1.05); border: 1px solid color-mix(in srgb, #fff 55%, transparent); box-shadow: 0 30px 80px -50px rgba(60, 50, 30, .25); }
html[style*="--bg: #1"] .frost, html[style*="--bg:#1"] .frost { border-color: rgba(255,255,255,.08); }
.float-frost { position: absolute; z-index: 0; pointer-events: none; background: color-mix(in srgb, var(--bg) 24%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid color-mix(in srgb, #fff 45%, transparent); }
.float-frost--c { right: var(--gutter); top: 4vh; width: calc((100vw - 2 * var(--gutter)) / 4); height: 52vh; }
.prologue__card { padding: 5vh 3vw 5vh 3vw; margin-left: -3vw; max-width: calc(34em + 6vw); z-index: 1; }
.chapters__list.frost { padding: 5vh 3vw; margin-left: -3vw; min-height: 44vh; z-index: 1; }
.chapters__list.frost .chapter { inset: 5vh 3vw auto 3vw; }
.triad__card { display: flex; flex-direction: column; align-items: center; padding: 6vh 4vw 5vh; z-index: 1; }
.voices__col.frost { padding: 4vh 2.6vw 5vh; }
.tasks.frost { padding: 0 2.6vw 5vh; z-index: 1; }
.about { position: relative; }

/* 02 序 */
.prologue { padding: 0 var(--gutter) 8vh; }
/* 大字段落：固定畫面中逐段顯影，停留後再整塊上移 */
.prologue__stage { min-height: 100svh; max-width: 1400px; display: flex; flex-direction: column; justify-content: center; padding: 12vh 0 8vh; }
.prologue .eyebrow { margin-bottom: 7vh; }
.prologue__text { font-family: var(--f-serif); font-weight: 400; font-size: clamp(26px, min(4.4vw, 6.6svh), 68px); line-height: 1.5; letter-spacing: .06em; max-width: 15.5em; }
.prologue__text--2 { margin-top: 6vh; margin-left: auto; max-width: none; width: max-content; text-align: right; }
.prologue__text .w { opacity: .12; display: inline-block; }
/* 計畫說明：獨立固定一段，年代線＋分段浮現＋關鍵字底線 */
.prologue__noteStage { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-left: calc((100vw - 2 * var(--gutter)) / 4); }
.prologue__range { display: flex; align-items: center; gap: 18px; width: min(100%, 34em); margin-bottom: 6vh; font-family: var(--f-en); font-size: 13px; letter-spacing: .12em; }
.prologue__range b { font-weight: 800; }
.prologue__range i { flex: 1; height: 1px; background: var(--fg); opacity: .5; position: relative; transform-origin: left center; }
.prologue__range i span { position: absolute; left: 0; top: -4px; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%; background: var(--fg); }
.prologue__note { position: relative; z-index: 2; margin: 0; max-width: 30em; font-family: var(--f-serif); font-size: clamp(16px, 1.25vw, 20px); font-weight: 400; line-height: 2.1; letter-spacing: .04em; color: color-mix(in srgb, var(--fg) 78%, transparent); }
.prologue__note .seg { display: inline; }
.prologue__note mark { color: var(--fg); background: none; padding: 0; font-weight: 500; } /* 關鍵字只加粗，不畫底線 */

/* 03 章節 */
.chapters { position: relative; height: 520vh; }
.chapters__stage {
  position: sticky; top: 0; height: 100svh; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 4vw;
}
.chapters__year { font-family: var(--f-en); font-weight: 900; font-size: clamp(90px, 17vw, 300px); line-height: 1; letter-spacing: -.03em; }
.odo { display: inline-flex; height: 1em; clip-path: inset(0 -0.6em); } /* 只裁上下，左右不裁 */
.odo__col { display: block; height: 1em; }
.odo__inner { display: flex; flex-direction: column; }
/* 每格寬度跟著當下數字變化，數字置中，避免「1」左右留白過大 */
.odo__inner span { display: flex; justify-content: center; height: 1em; line-height: 1; }
.chapters__list { position: relative; min-height: 46vh; }
.chapter { position: absolute; inset: 0 0 auto 0; opacity: 0; visibility: hidden; }
/* 地點列：城市（左）— 細線 — 國家中英＋座標（右），像地圖上的標註 */
.chapter__place { display: flex; align-items: center; gap: 18px; }
.chapter__city { font-family: var(--f-en); font-weight: 800; font-size: clamp(14px, 1.3vw, 18px); letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: baseline; gap: 14px; white-space: nowrap; }
.chapter__city span { font-family: var(--f-zh); font-weight: 300; font-size: 14px; letter-spacing: .3em; color: var(--muted); text-transform: none; }
.chapter__rule { flex: 1; min-width: 24px; height: 1px; background: var(--line); position: relative; }
.chapter__rule::after { content: ""; position: absolute; right: -2px; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--fg); opacity: .55; }
.chapter__nation { display: grid; grid-template-columns: auto auto; column-gap: 10px; row-gap: 2px; align-items: baseline; justify-items: end; text-align: right; white-space: nowrap; }
.chapter__nation b { font-family: var(--f-serif); font-weight: 500; font-size: 15px; letter-spacing: .24em; margin-right: -.24em; }
.chapter__nation em { font-style: normal; font-family: var(--f-en); font-weight: 600; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); grid-row: 1; grid-column: 1; }
.chapter__nation small { grid-column: 1 / -1; font-family: var(--f-en); font-weight: 500; font-size: 10px; letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .chapter__nation small { display: none; } .chapter__place { gap: 12px; } }
.chapter__title { margin: 3vh 0 3vh; font-weight: 200; font-size: clamp(36px, 4.4vw, 72px); line-height: 1.25; letter-spacing: .1em; }
.chapter__text { font-family: var(--f-serif); font-size: clamp(16px, 1.25vw, 20px); line-height: 2.1; max-width: 26em; }
.chapters__route {
  position: absolute; left: var(--gutter); right: calc(var(--gutter) + 60px); bottom: 7vh;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
}
.chapters__route li { position: relative; padding-top: 16px; font-family: var(--f-en); font-weight: 700; font-size: 12px; letter-spacing: .08em; color: var(--muted); transition: color .5s; }
.chapters__route li span { display: block; font-family: var(--f-zh); font-weight: 300; font-size: 12px; letter-spacing: .2em; }
.chapters__route li::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--bg); border: 1px solid var(--muted); transition: background .5s, border-color .5s; }
.chapters__route li.is-on { color: var(--fg); }
.chapters__route li.is-on::before { background: var(--fg); border-color: var(--fg); }

/* 04 三角 */
.triad { padding: 0 var(--gutter); }
.triad__stage { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.triad .eyebrow { justify-content: center; margin-bottom: 9vh; }
/* 置中一排：官方推動 → 藝術家創作 → 國際展示 */
.triad__flow { display: flex; align-items: flex-end; justify-content: center; gap: clamp(14px, 1.8vw, 32px); }
.triad__item { display: flex; flex-direction: column; align-items: flex-start; gap: 2.4vh; text-align: left; }
.triad__no { display: flex; align-items: baseline; gap: 10px; font-family: var(--f-en); font-size: 11px; letter-spacing: .16em; white-space: nowrap; }
.triad__no b { font-weight: 800; }
.triad__no em { font-style: normal; font-weight: 600; text-transform: uppercase; color: var(--muted); }
.triad__w { font-weight: 100; font-size: clamp(30px, 4vw, 74px); letter-spacing: .14em; line-height: 1.1; white-space: nowrap; }
.triad__link { width: clamp(36px, 5.2vw, 100px); padding-bottom: .5em; font-size: clamp(30px, 4vw, 74px); }
.triad__arrow { display: block; width: 100%; height: 10px; fill: none; stroke: var(--fg); stroke-width: 1; vector-effect: non-scaling-stroke; overflow: visible; }
/* 年代跨度線 */
.triad__span { display: flex; align-items: center; gap: 18px; width: min(100%, 860px); margin-top: 7vh; font-family: var(--f-en); font-size: 12px; letter-spacing: .12em; }
.triad__span b { font-weight: 800; }
.triad__span i { flex: 1; height: 1px; background: var(--fg); opacity: .35; position: relative; }
.triad__span i::before, .triad__span i::after { content: ""; position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--fg); }
.triad__span i::before { left: 0; } .triad__span i::after { right: 0; }
.triad__note { margin: 5vh auto 0; max-width: 30em; padding: 3.2vh 2.6vw; box-sizing: content-box; z-index: 1; font-family: var(--f-serif); font-size: clamp(15px, 1.15vw, 18px); line-height: 2.1; color: var(--muted); }

/* 05 1971 */
.pivot { position: relative; height: 260vh; }
.pivot__stage { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.pivot__year {
  font-family: var(--f-en); font-weight: 900; font-size: clamp(120px, 30vw, 520px); line-height: .9; letter-spacing: -.04em;
  display: flex;
}
.pivot__year span { display: inline-block; }
.pivot__copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 12vh; display: flex; justify-content: space-between; align-items: flex-end; gap: 4vw; flex-wrap: wrap; }
.pivot__a { font-weight: 200; font-size: clamp(26px, 3.4vw, 54px); letter-spacing: .12em; }
.pivot__b { font-family: var(--f-serif); font-size: clamp(15px, 1.3vw, 20px); line-height: 2.1; text-align: right; }

/* 06 橫向手卷 */
.scroll { position: relative; color: var(--night-fg); }
.scroll__pin { height: 100svh; overflow: hidden; position: relative; }
.scroll__track { display: flex; height: 100%; width: max-content; align-items: center; padding-left: var(--gutter); }
.scroll__works { display: flex; height: 100%; align-items: center; }
.panel { flex: none; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.panel--intro { width: min(560px, 82vw); margin-right: 10vw; }
.panel--intro .eyebrow { color: rgba(236,231,221,.6); }
.panel--intro .eyebrow span { color: var(--night-fg); border-color: rgba(236,231,221,.2); }
.panel__title { margin: 5vh 0 4vh; font-weight: 100; font-size: clamp(56px, 7vw, 120px); letter-spacing: .14em; line-height: 1.1; }
.panel__lede { font-family: var(--f-serif); font-size: clamp(16px, 1.3vw, 20px); line-height: 2.1; color: rgba(236,231,221,.78); }
.panel__hint { margin-top: 6vh; display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .24em; color: rgba(236,231,221,.55); }
.panel__hint i { width: 48px; height: 1px; background: currentColor; }
.panel--end { width: min(520px, 80vw); padding: 0 8vw 0 6vw; gap: 5vh; }

.work { flex: none; height: 100%; display: flex; align-items: center; gap: clamp(18px, 2vw, 36px); margin-right: clamp(80px, 10vw, 200px); position: relative; }
.work__fig { margin: 0; height: var(--h, 58vh); position: relative; cursor: zoom-in; }
.work__fig img {
  height: 100%; width: auto; max-width: none; object-fit: contain; /* 等比，不裁切、不變形 */
  user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.6);
}
.work__fig::after { content: ""; position: absolute; inset: 0; } /* 阻擋直接拖曳 */
.work:nth-child(odd) .work__fig { align-self: center; transform: translateY(-4vh); }
.work:nth-child(even) .work__fig { transform: translateY(5vh); }
.work__cap { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 18px; min-width: 9.5em; }
.work__no { font-family: var(--f-en); font-weight: 900; font-size: 13px; letter-spacing: .1em; color: var(--c-yellow); }
.work__artist { font-weight: 300; font-size: clamp(22px, 2vw, 32px); letter-spacing: .2em; line-height: 1.3; }
.work__title { font-family: var(--f-serif); font-size: clamp(16px, 1.2vw, 19px); line-height: 1.7; max-width: 11em; }
.work__meta { font-size: 12.5px; line-height: 1.9; letter-spacing: .08em; color: rgba(236,231,221,.6); }
.work__meta b { font-family: var(--f-en); font-weight: 700; color: var(--night-fg); letter-spacing: .04em; }
.work__place { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .2em; padding: 4px 12px; border: 1px solid rgba(236,231,221,.25); border-radius: 99px; width: max-content; }
.work__more { font-size: 12px; letter-spacing: .24em; color: rgba(236,231,221,.7); display: flex; align-items: center; gap: 10px; width: max-content; }
.work__more::before { content: ""; width: 24px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.work__more:hover::before { width: 44px; }
.work__bg { position: absolute; z-index: -1; left: 50%; top: 50%; font-family: var(--f-en); font-weight: 900; font-size: 34vh; line-height: 1; letter-spacing: -.04em; color: rgba(236,231,221,.035); transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none; }

.divide { flex: none; height: 100%; width: clamp(320px, 42vw, 640px); margin-right: clamp(80px, 10vw, 200px); display: flex; flex-direction: column; justify-content: center; position: relative; }
.divide::before { content: ""; position: absolute; left: 0; top: 18vh; bottom: 18vh; width: 1px; background: rgba(236,231,221,.2); }
.divide__y { padding-left: 4vw; font-family: var(--f-en); font-weight: 900; font-size: clamp(80px, 11vw, 190px); line-height: 1; letter-spacing: -.03em; }
.divide__t { padding-left: 4vw; margin-top: 3vh; font-family: var(--f-serif); font-size: clamp(16px, 1.3vw, 20px); line-height: 2; color: rgba(236,231,221,.75); }

.scroll__bar { position: absolute; left: var(--gutter); right: calc(var(--gutter) + 60px); bottom: 6vh; height: 1px; background: rgba(236,231,221,.18); }
.scroll__fill { position: absolute; inset: 0; background: var(--night-fg); transform-origin: left; transform: scaleX(0); }
.scroll__count { position: absolute; right: 0; top: 14px; font-family: var(--f-en); font-size: 12px; font-weight: 600; letter-spacing: .1em; color: rgba(236,231,221,.55); }
.scroll__count b { color: var(--night-fg); }

.btn { display: inline-flex; align-items: center; gap: 14px; width: max-content; padding: 14px 26px; border: 1px solid currentColor; border-radius: 99px; font-size: 14px; letter-spacing: .24em; transition: background .4s, color .4s; }
.btn:hover { background: var(--night-fg); color: var(--night); }

/* 07 訪談與講座 */
.voices { padding: 28vh var(--gutter) 16vh; display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; }
.people { margin-top: 6vh; border-top: 1px solid var(--line); }
.people a { display: grid; grid-template-columns: 1fr auto 40px; align-items: center; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); position: relative; }
.people__n { font-weight: 200; font-size: clamp(30px, 3.4vw, 54px); letter-spacing: .3em; line-height: 1.2; transition: transform .6s var(--ease); }
.people__s { font-size: 13px; letter-spacing: .16em; color: var(--muted); }
.people a i { width: 40px; height: 1px; background: var(--fg); transform: scaleX(.4); transform-origin: right; transition: transform .6s var(--ease); }
.people a:hover .people__n { transform: translateX(14px); }
.people a:hover i { transform: scaleX(1); }
.lecture { margin-top: 6vh; padding: 5vh 0 0; border-top: 1px solid var(--line); }
.lecture__tag { display: inline-block; font-size: 12px; letter-spacing: .3em; padding: 4px 14px; border: 1px solid var(--fg); border-radius: 99px; }
.lecture__title { margin: 4vh 0; font-weight: 200; font-size: clamp(32px, 3.6vw, 58px); line-height: 1.35; letter-spacing: .1em; }
.lecture__title span { display: block; font-family: var(--f-serif); font-weight: 400; font-size: .48em; letter-spacing: .16em; margin-top: 10px; color: var(--muted); }
.lecture__list li { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 16px; letter-spacing: .1em; }
.lecture__list b { font-weight: 400; }
.lecture__list span { font-size: 13px; color: var(--muted); }

/* 08 計畫內容 */
.about { padding: 18vh var(--gutter) 22vh; }
.tasks { margin-top: 7vh; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.tasks li { padding: 5vh 3vw 0 0; position: relative; }
.tasks li + li { padding-left: 3vw; border-left: 1px solid var(--line); }
.tasks__n { font-family: var(--f-serif); font-size: 15px; color: var(--muted); }
.tasks h3 { margin: 3vh 0 2vh; font-weight: 300; font-size: clamp(22px, 2vw, 32px); letter-spacing: .14em; line-height: 1.4; }
.tasks p { font-family: var(--f-serif); font-size: 15px; line-height: 2.1; color: var(--muted); max-width: 20em; }
.team { margin-top: 18vh; display: grid; grid-template-columns: 1fr 2fr 2fr; gap: 4vw; border-top: 1px solid var(--line); padding-top: 4vh; }
.team__label { font-size: 12px; letter-spacing: .3em; color: var(--muted); margin-bottom: 2vh; }
.team__names { font-size: clamp(17px, 1.4vw, 22px); letter-spacing: .2em; line-height: 1.9; font-weight: 300; }

/* 頁尾 */
.foot { padding: 0 var(--gutter) 40px; overflow: hidden; }
.foot__big { font-family: var(--f-en); font-weight: 900; font-size: clamp(44px, 9.4vw, 180px); line-height: .9; letter-spacing: -.03em; white-space: nowrap; margin-left: -.04em; }
.foot__orgs { margin-top: 6vh; display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 30px 4vw; align-items: end; border-top: 1px solid var(--line); padding-top: 4vh; }
.foot__orgs p { font-size: 11px; letter-spacing: .2em; color: var(--muted); margin-bottom: 12px; }
.foot__orgs img { height: 34px; width: auto; filter: brightness(0); opacity: .85; }
.foot__orgs span { font-size: 15px; letter-spacing: .16em; }
.foot__copy { margin-top: 6vh; font-size: 11.5px; letter-spacing: .1em; color: var(--muted); line-height: 1.9; }

/* 圖說視窗 */
.viewer {
  width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--night); color: var(--night-fg);
}
.viewer::backdrop { background: rgba(0,0,0,.6); }
.viewer[open] { display: grid; grid-template-rows: auto 1fr auto; }
.viewer__close { justify-self: end; margin: 22px var(--gutter); font-size: 13px; letter-spacing: .3em; padding: 8px 0; border-bottom: 1px solid currentColor; }
.viewer__fig { margin: 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.6fr 1fr; gap: 5vw; align-items: center; min-height: 0; }
.viewer__img { height: 100%; max-height: 72vh; display: grid; place-items: center; min-height: 0; }
.viewer__img { position: relative; overflow: hidden; cursor: zoom-in; }
.viewer__img img { max-width: 100%; max-height: 72vh; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; pointer-events: none;
  transition: transform .6s var(--ease), opacity .5s var(--ease), max-height .6s var(--ease); }
.viewer__img img.is-swap { opacity: 0; }
.viewer__img::after { content: "點擊放大"; position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-size: 11px; letter-spacing: .3em; color: rgba(236,231,221,.85); background: rgba(18,17,16,.6); padding: 6px 14px 6px 17px; border-radius: 99px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); white-space: nowrap; opacity: 0; transition: opacity .4s; pointer-events: none; }
.viewer__img:hover::after { opacity: 1; }
/* 展示模式：圖說收起、作品占滿畫面，可移動檢視局部 */
.viewer__fig { transition: grid-template-columns .6s var(--ease); }
.viewer.is-zoom .viewer__fig { grid-template-columns: 1fr 0fr; gap: 0; }
.viewer.is-zoom .viewer__cap { opacity: 0; pointer-events: none; }
.viewer.is-zoom .viewer__img { cursor: zoom-out; max-height: 80vh; }
.viewer.is-zoom .viewer__img img { max-height: 80vh; transition: transform .6s var(--ease), max-height .6s var(--ease); }
.viewer.is-zoom .viewer__img::after { content: "移動檢視細節｜再點一下返回"; opacity: 1; }
.viewer__cap { transition: opacity .4s; min-width: 0; overflow: hidden; }
.viewer__cap { font-size: 14px; line-height: 2; }
.viewer__cap h3 { font-weight: 300; font-size: clamp(26px, 2.6vw, 40px); letter-spacing: .14em; line-height: 1.4; margin-bottom: 1vh; }
.viewer__cap .t { font-family: var(--f-serif); font-size: 18px; margin-bottom: 3vh; }
.viewer__cap dl { display: grid; grid-template-columns: 4.5em 1fr; gap: 6px 16px; margin: 0 0 3vh; font-size: 13px; color: rgba(236,231,221,.75); }
.viewer__cap dt { color: rgba(236,231,221,.45); letter-spacing: .2em; }
.viewer__cap dd { margin: 0; }
.viewer__cap .note { font-family: var(--f-serif); color: rgba(236,231,221,.6); padding-top: 2vh; border-top: 1px solid rgba(236,231,221,.15); }
.viewer__nav { display: flex; justify-content: center; align-items: center; gap: 30px; padding: 24px; font-family: var(--f-en); font-size: 13px; letter-spacing: .1em; }
.viewer__nav button { font-size: 18px; width: 44px; height: 44px; border: 1px solid rgba(236,231,221,.3); border-radius: 50%; }

@media (min-width: 861px) {
  .prologue, .triad, .voices, .about, .foot { padding-right: calc(var(--gutter) + 56px); }
}

/* ---------- 手機 ---------- */
@media (max-width: 860px) {
  .nav__menu { display: none; }
  .nav__toggle { display: block; }
  /* 手機選單：取消反色混合，改成霧面全螢幕底；logo 與關閉鈕留在最上層 */
  .nav.is-open { mix-blend-mode: normal; color: var(--fg); }
  .nav.is-open .nav__brand, .nav.is-open .nav__toggle { position: relative; z-index: 2; }
  .nav.is-open .nav__menu { display: flex; position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; padding: 0 var(--gutter);
    font-size: 26px; font-weight: 300; letter-spacing: .24em;
    background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(22px) saturate(1.1); backdrop-filter: blur(22px) saturate(1.1);
    animation: menuIn .5s var(--ease) both; }
  .nav.is-open .nav__menu a { width: 100%; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__menu a::after { display: none; }
  @keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .rail { display: none; }
  .foot__big { font-size: 11.4vw; }
  .triad__flow { flex-direction: column; align-items: center; gap: 1.6vh; }
  .triad__item { align-items: center; text-align: center; }
  .triad__link { width: 10px; height: 34px; padding: 0; }
  .triad__arrow { width: 34px; height: 10px; transform: rotate(90deg) translateX(-12px); transform-origin: left center; }
  .prologue__text--2 { width: auto; }
  .prologue__noteStage { padding-left: 0; }
  .float-frost { display: none; }
  .prologue__card, .chapters__list.frost { margin-left: 0; }
  .grid i:nth-child(2), .grid i:nth-child(4) { display: none; }
  .hero__title { grid-template-columns: 1fr; }
  .hero__en { grid-column: 1; grid-row: auto; margin: 2vh 0; }
  .hero__sub { grid-column: 1; grid-row: auto; order: 10; padding-left: 0; margin-top: 3vh; }
  .hero__line--2 { grid-row: auto; } .hero__line--3 { grid-row: auto; }
  .hero__regions { right: var(--gutter); top: 13vh; }
  .hero__big { text-align: left; }
  .chapters__stage { grid-template-columns: 1fr; align-content: center; gap: 4vh; }
  .chapters__list { min-height: 42vh; }
  .chapters__route { right: var(--gutter); }
  .chapters__route li span { display: none; }
  .voices { grid-template-columns: 1fr; gap: 12vh; }
  .tasks { grid-template-columns: 1fr; }
  .tasks li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 4vh; }
  .team { grid-template-columns: 1fr; }
  .foot__orgs { grid-template-columns: 1fr 1fr; }
  .viewer__fig { grid-template-columns: 1fr; overflow-y: auto; align-content: start; }
  .viewer__img, .viewer__img img { max-height: 52vh; }

}

/* 手機與減少動態：手卷改為直向逐件 */
.scroll.is-vertical .scroll__pin { height: auto; overflow: visible; }
.scroll.is-vertical .scroll__track { flex-direction: column; width: auto; height: auto; padding: 16vh var(--gutter); align-items: stretch; }
.scroll.is-vertical .scroll__works { flex-direction: column; height: auto; align-items: stretch; }
.scroll.is-vertical .panel { height: auto; }
.scroll.is-vertical .panel--intro { width: auto; margin: 0 0 12vh; }
.scroll.is-vertical .work { flex-direction: column; align-items: flex-start; height: auto; margin: 0 0 14vh; }
.scroll.is-vertical .work__fig, .scroll.is-vertical .work:nth-child(odd) .work__fig, .scroll.is-vertical .work:nth-child(even) .work__fig { height: auto; transform: none; width: 100%; align-self: stretch; }
/* 直向：寬度依比例先算好（不等圖片載入），避免載入後頁面高度變動、後面段落的捲動位置跑掉 */
.scroll.is-vertical .work__fig img { width: min(100%, calc(70vh * var(--ar, 1))); max-width: 100%; height: auto; max-height: none; }
.scroll.is-vertical .work__bg { display: none; }
.scroll.is-vertical .divide { width: auto; height: auto; margin: 0 0 14vh; padding: 6vh 0; }
.scroll.is-vertical .divide::before { top: 0; bottom: 0; }
.scroll.is-vertical .panel--end { width: auto; padding: 0; }
.scroll.is-vertical .scroll__bar { display: none; }

/* ---------- 減少動態 ---------- */
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .scrollcue i::after { animation: none; }
}
html.rm .chapters { height: auto; }
html.rm .chapters__stage { position: static; height: auto; display: block; padding: 16vh var(--gutter); }
html.rm .chapters__year, html.rm .chapters__route { display: none; }
html.rm .chapters__list { min-height: 0; }
html.rm .chapter { position: static; opacity: 1; visibility: visible; margin-bottom: 10vh; }
html.rm .pivot { height: auto; }
html.rm .pivot__stage { position: static; min-height: 100svh; }
html.rm .prologue__text .w { opacity: 1; }
html.rm .prologue__stage, html.rm .triad__stage { min-height: 0; padding: 16vh 0; }

/* 連到研究中心內頁 */
.team__link { border-bottom: 1px solid var(--line); transition: border-color .3s; }
.team__link i { font-style: normal; display: inline-block; margin-left: .3em; transition: transform .5s var(--ease); }
.team__link:hover { border-color: currentColor; }
.team__link:hover i { transform: translateX(6px); }
.foot__orgs a span { border-bottom: 1px solid var(--line); transition: border-color .3s; }
.foot__orgs a:hover span { border-color: currentColor; }
/* 三項主軸下方說明卡：字色加深、背景模糊加重 */
.triad__note.frost { color: color-mix(in srgb, var(--fg) 82%, transparent); background: color-mix(in srgb, var(--bg) 40%, transparent); -webkit-backdrop-filter: blur(9px) saturate(1.05); backdrop-filter: blur(9px) saturate(1.05); }

/* 首屏進場用內層（.hin），捲動淡出用外層，兩者不搶同一元素 */
.hero__sub .hin, .hero__big .hin { display: block; }

.viewer__close:focus:not(:focus-visible) { outline: none; }

/* 段落離場（試作）：越接近上緣越慢、越模糊、越淡 */
/* 只有真的在離場時才套 filter：靜止時不留 blur(0)／will-change，避免文字被點陣化而發霧 */
.exit-soft.is-ex { translate: 0 calc(var(--ex, 0) * 16vh); filter: blur(calc(var(--ex, 0) * 9px)) opacity(calc(1 - var(--ex, 0) * .95)); }

/* 段落小標 01–06：icon 與中文標題加大 */
.eyebrow { font-size: clamp(15px, 1.15vw, 18px); gap: 16px; color: color-mix(in srgb, var(--fg) 72%, transparent); }
.eyebrow span { font-size: 12.5px; padding-right: 16px; }
.eyebrow .ico { width: 44px; height: 44px; margin: -10px 0; stroke-width: .9; }

/* 軌道圈：進場轉入後才開始慢轉（避免 CSS 動畫蓋掉進場） */
.tico__orbit { animation-play-state: paused; }
.tasks li.is-spin .tico__orbit { animation-play-state: running; }

/* 06 計畫內容：桌機固定時收緊上下留白、垂直置中 */
.about.is-pin { min-height: 100vh; padding-top: 11vh; padding-bottom: 6vh; display: flex; flex-direction: column; justify-content: center; }
.about.is-pin .tasks { margin-top: 5vh; }
.about.is-pin .team { margin-top: 6vh; }

/* 手機：章節地點列改兩行，國家換到下一行，避免超出畫面 */
@media (max-width: 860px) {
  .chapter__place { flex-wrap: wrap; row-gap: 6px; }
  .chapter__rule { display: none; }
  .chapter__nation { flex-basis: 100%; justify-items: start; text-align: left; grid-template-columns: auto auto; }
  .chapter__nation b { order: -1; }
}

/* 手機：三項主軸段落避開上方導覽列、內容收緊 */
@media (max-width: 860px) {
  .triad__stage { padding: 13vh 0 5vh; justify-content: flex-start; }
  .triad .eyebrow { margin-bottom: 4vh; }
  .triad__card { padding: 3vh 4vw; }
}

/* 導覽背景：捲動停下來（且不在頁首）時，淡淡浮出一層霧白底，避免導覽字壓在內容上；
   獨立一層放在 .nav 後方，因為 .nav 用了差異混合，背景不能放在它裡面 */
.navbg {
  position: fixed; z-index: 49; top: 0; left: 0; right: 0; height: var(--navh, 78px); pointer-events: none;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.05); backdrop-filter: blur(18px) saturate(1.05);
  border-bottom: 1px solid color-mix(in srgb, var(--fg) 7%, transparent);
  opacity: 0; transform: translateY(-8px); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.navbg.is-on { opacity: 1; transform: none; }
body:has(.nav.is-open) .navbg { opacity: 0; }

/* 開場：英文標語上方加中文計畫名（字距收尾補回，視覺置中） */
.intro__label { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.intro__zh { font-family: var(--f-zh); font-weight: 400; font-size: 15px; letter-spacing: .5em; padding-left: .5em; text-transform: none; color: var(--fg); }

/* ---------- 分界點 1971：一條線往下，在 1971 分成兩端（官方主導／民間自主） ---------- */
.fork { position: relative; z-index: 1; padding: 16vh var(--gutter) 16vh; text-align: center; }
.fork__y { font-family: var(--f-en); font-weight: 900; font-size: 13px; letter-spacing: .3em; color: var(--c-yellow); }
.fork__title { margin-top: 2.4vh; font-weight: 200; font-size: clamp(26px, 3.2vw, 50px); letter-spacing: .14em; line-height: 1.4; }
.fork__sub { margin-top: 1.8vh; font-family: var(--f-serif); font-size: clamp(14px, 1.1vw, 17px); letter-spacing: .1em; color: var(--muted); }
.fork__line { display: block; width: min(1000px, 100%); height: auto; margin: 4vh auto 0; overflow: visible; color: var(--fg); }
.fork__line path { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.fork__br--l { stroke-dasharray: 4 6; opacity: .55; }           /* 官方：資源逐漸減弱，以虛線表示 */

.fork__cols { display: grid; grid-template-columns: 1fr 1fr; width: min(1000px, 100%); margin: 0 auto; }
.fork__card { width: min(400px, 92%); margin: 0 auto; padding: 4vh 2.4vw 4.4vh; text-align: left;
  background: color-mix(in srgb, var(--bg) 40%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid color-mix(in srgb, var(--fg) 12%, transparent); }
.fork__when { font-family: var(--f-en); font-weight: 600; font-size: 12px; letter-spacing: .22em; color: var(--muted); }
.fork__name { margin-top: 1.6vh; font-weight: 200; font-size: clamp(24px, 2.2vw, 36px); letter-spacing: .2em; }
.fork__txt { margin-top: 2.2vh; font-family: var(--f-serif); font-size: clamp(14px, 1.05vw, 16px); line-height: 2; letter-spacing: .06em; text-align: justify; }
.fork__tags { margin-top: 2.6vh; display: flex; flex-wrap: wrap; gap: 8px; }
.fork__tags li { padding: 5px 14px; border: 1px solid color-mix(in srgb, var(--fg) 22%, transparent); border-radius: 99px; font-size: 12.5px; letter-spacing: .14em; color: var(--muted); }
.fork__card--l .fork__name { opacity: .8; }
.fork__end { width: min(40em, 100%); margin: 7vh auto 0; font-family: var(--f-serif); font-size: clamp(15px, 1.2vw, 19px); line-height: 2.1; letter-spacing: .08em; }
@media (max-width: 860px) {
  .fork { padding: 16vh var(--gutter) 12vh; }
  .fork__line { margin-top: 4vh; }
  .fork__cols { grid-template-columns: 1fr; gap: 4vh; }
  .fork__card { width: 100%; padding: 4vh 6vw; }
  .fork__end { text-align: justify; }
}

/* 分界點：手機直向排列時，改成左側一條時間線，在兩張卡之間的 1971 分岔 */
.fork__mid { display: none; }
@media (max-width: 860px) {
  .fork__line { display: none; }
  .fork__cols { position: relative; padding-left: 30px; gap: 0; }
  .fork__cols::before { content: ""; position: absolute; left: 10px; top: -7vh; bottom: 0; width: 1px; background: var(--fg); opacity: .7; }
  .fork__card { width: 100%; margin: 0; }
  .fork__mid { display: block; position: relative; height: 140px; margin-left: -30px; }
  .fork__mid svg { position: absolute; left: 0; top: 0; width: 80px; height: 140px; overflow: visible; color: var(--fg); }
  .fork__mid path { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
  .fork__m-stem { opacity: 0; }                                    /* 主線由 ::before 畫，這裡只留給對位 */
  .fork__m-br { stroke-dasharray: 4 6; opacity: .55; }
  .fork__m-node { fill: var(--c-yellow); }
  .fork__m-y { position: absolute; left: 28px; top: 42px; font-family: var(--f-en); font-weight: 900; font-size: 13px; letter-spacing: .3em; color: var(--c-yellow); }
  .fork__end { margin-top: 6vh; }
}
@media (max-width: 860px) {
  .fork__head { text-align: left; padding-left: 30px; }
  .fork__head .fork__y { display: none; }                         /* 年份改由時間線上的 1971 節點呈現 */
  .fork__cols::before { top: -4vh; }
  .fork__end { padding-left: 30px; }
}
@media (max-width: 860px) { .fork__title { font-size: clamp(20px, 6vw, 30px); letter-spacing: .08em; } }

/* 1980s 星星：降低亮度與光暈，只當收尾的點綴 */
.star__svg { fill: rgba(255,255,255,.72); }
.star::before { opacity: .45; }

/* 分界點：桌機固定（pin）版面——整段收進一個畫面，分岔線高度依畫面高度伸縮 */
.fork.is-pin { min-height: 100svh; padding: 11vh var(--gutter) 6vh; display: flex; flex-direction: column; justify-content: center; }
.fork.is-pin .fork__line { height: clamp(110px, 17vh, 190px); margin-top: 2.6vh; }
.fork.is-pin .fork__card { padding: 3.4vh 2.2vw 3.6vh; }
.fork.is-pin .fork__end { margin-top: 4.6vh; }
.fork.is-pin { padding: 10vh var(--gutter) 4vh; }
.fork.is-pin .fork__title { margin-top: 1.6vh; }
.fork.is-pin .fork__sub { margin-top: 1.2vh; }
.fork.is-pin .fork__line { height: clamp(90px, 14vh, 170px); margin-top: 2vh; }
.fork.is-pin .fork__card { padding: 3vh 2.2vw 3.2vh; }
.fork.is-pin .fork__name { margin-top: 1.2vh; }
.fork.is-pin .fork__txt { margin-top: 1.6vh; }
.fork.is-pin .fork__tags { margin-top: 2vh; }
.fork.is-pin .fork__end { margin-top: 3.6vh; }
.fork.is-pin { padding: 9.5vh var(--gutter) 3vh; }
.fork.is-pin .fork__line { height: clamp(64px, 12vh, 170px); }
.fork.is-pin .fork__txt { line-height: 1.85; }
.fork.is-pin .fork__end { line-height: 1.9; }
.fork.is-pin .fork__head .fork__y { display: none; }   /* 固定時標題貼近導覽列，年份改由節點呈現 */

/* 分岔節點：獨立的正圓白點（分岔線為了對齊兩張卡會左右伸縮，圓點不放在 SVG 裡以免被拉成橢圓） */
.fork__lineWrap { position: relative; width: min(1000px, 100%); margin: 4vh auto 0; }
.fork__lineWrap .fork__line { margin: 0 auto; }
.fork.is-pin .fork__lineWrap { margin-top: 2vh; }
.fork.is-pin .fork__lineWrap .fork__line { margin-top: 0; }
.fork__node { position: absolute; left: 50%; top: calc(80 / 190 * 100%); width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--bg) 70%, transparent), 0 0 14px rgba(255,255,255,.35); }
.fork__m-node { fill: #fff; }
.fork__m-y { color: var(--fg); }
@media (max-width: 860px) { .fork__lineWrap { display: none; } }

/* 標題進場：斜畫先以虛線出現 */
.kv-dash { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-dasharray: 3 4.5; stroke-linecap: round; }
/* 「進」接到英文副標的過場虛線 */
.hero__link { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; color: var(--fg); }
.hero__link-d { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 3 5; opacity: .55; }
.hero__link-m { fill: none; stroke: #fff; stroke-width: 6; stroke-dasharray: 1 1; }
.hero__link-dot { fill: currentColor; }

/* 關閉瀏覽器的捲動錨定：版面重算時不讓瀏覽器自行調整捲動位置（手機上會造成跳動） */
html { overflow-anchor: none; }

/* 手機：作品區（深底）與訪談學者紀錄（淺底）之間留一段空白讓背景轉換，並以分隔線標出新段落開始 */
@media (max-width: 860px) {
  .scroll.is-vertical { padding-bottom: 32vh; }
  .voices { position: relative; }
  .voices::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--fg); opacity: .35; }
}

/* ---------- 05 講座摘要卡 ---------- */
.lecture__state { margin-left: 4px; padding: 1px 9px; font-style: normal; font-size: 11px; letter-spacing: .16em; background: var(--fg); color: var(--bg); border-radius: 99px; }
.lecture__state.is-past { background: none; color: var(--muted); border: 1px solid var(--line); }
.lecture .lecture__title { margin: 3.4vh 0 2vh; }
.lecture__when { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 2.6vh; font-family: var(--f-en); font-weight: 300; font-size: 15px; letter-spacing: .08em; }
.lecture__when b { font-weight: 400; font-size: 22px; letter-spacing: .02em; }
.lecture__when span { color: var(--muted); font-size: 13px; }
.lecture .lecture__list li { display: block; padding: 0; font-size: 15px; }
.lecture__list a { display: grid; grid-template-columns: 3.6em 4.6em 1fr auto; gap: 12px; align-items: baseline; padding: 13px 0; }
.lecture__list time { font-family: var(--f-en); font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.lecture .lecture__list a span { font-size: 13px; line-height: 1.6; color: var(--muted); letter-spacing: .08em; }
.lecture__list i, .lecture__more i { font-style: normal; color: var(--muted); transition: transform .5s var(--ease), color .3s; }
.lecture__list a:hover i, .lecture__more:hover i { transform: translateX(6px); color: var(--fg); }
.lecture__list a:hover span { color: var(--fg); }
.lecture__more { display: flex; justify-content: space-between; align-items: center; margin-top: 2.6vh; padding: 14px 0; border-top: 1px solid var(--fg); font-size: 14px; letter-spacing: .2em; }
@media (max-width: 860px) { .lecture__list a { grid-template-columns: 3.4em 4.4em 1fr auto; gap: 8px; } }
@media (min-width: 861px) {
  .voices { padding-top: 20vh; padding-bottom: 9vh; }
  .voices .lecture { margin-top: 4.4vh; padding-top: 3.4vh; }
  .voices .lecture__title { font-size: clamp(28px, 2.6vw, 44px); margin: 2.6vh 0 1.4vh; }
  .voices .lecture__title span { margin-top: 4px; }
  .voices .lecture__when { margin-bottom: 1.6vh; }
  .voices .lecture__list a { padding: 10px 0; }
  .voices .lecture__more { margin-top: 1.6vh; padding: 12px 0 0; }
}

/* 講座標籤：去掉膠囊框，改成與小標一致的線性排版 */
.voices .lecture__tag { display: flex !important; align-items: center; gap: 0; padding: 0; border: 0; border-radius: 0; font-size: 13px; letter-spacing: .26em; }
.voices .lecture__tag .ico { width: 18px; height: 18px; margin-right: 12px; }
.lecture__fmt { display: inline-flex; align-items: center; font-family: var(--f-en); font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.lecture__fmt::before { content: ""; width: 1px; height: 14px; margin: 0 16px; background: var(--line); }
.voices .lecture__state { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; padding: 0; background: none; border: 0; color: var(--fg); font-size: 12px; letter-spacing: .22em; }
.lecture__state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: lecPulse 2.4s ease-out infinite; }
.voices .lecture__state.is-past { color: var(--muted); border: 0; }
.lecture__state.is-past::before { background: none; border: 1px solid currentColor; animation: none; }
@keyframes lecPulse { 0% { box-shadow: 0 0 0 0 rgba(20,20,19,.35); } 70%, 100% { box-shadow: 0 0 0 8px rgba(20,20,19,0); } }
@media (prefers-reduced-motion: reduce) { .lecture__state::before { animation: none; } }

/* 講座卡底部：完整議程連結＋報名按鈕同一列 */
.lecture__foot { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 2.6vh; padding-top: 14px; border-top: 1px solid var(--fg); }
.lecture__foot .lecture__more { flex: 1; margin: 0 !important; padding: 0 !important; border: 0; gap: 14px; justify-content: flex-start; }
.lecture__reg { display: inline-flex; align-items: center; gap: 10px; padding: 10px 24px; border-radius: 99px; background: var(--fg); color: var(--bg); font-size: 13px; letter-spacing: .24em; transition: opacity .3s; }
.lecture__reg::after { content: "↗"; font-size: 12px; letter-spacing: 0; }
.lecture__reg:hover { opacity: .8; }
.lecture__reg.is-pending { background: none; color: var(--muted); border: 1px dashed var(--line); pointer-events: none; }
.lecture__reg.is-pending::after { content: none; }
.lecture__reg { padding: 8px 22px; }
@media (min-width: 861px) { .voices { padding-bottom: 7vh; } .voices .lecture__foot { margin-top: 2vh; padding-top: 12px; } }
/* 講座卡：講者與單位中英並列 */
.lecture__list a { grid-template-columns: 3.4em 7.2em 1fr auto; align-items: start; }
.lecture__list b small, .lecture .lecture__list span small { display: block; margin-top: 2px; font-family: var(--f-en); font-weight: 300; font-size: 11px; line-height: 1.45; letter-spacing: .01em; color: var(--muted); }
.lecture__list time { padding-top: 2px; }
.lecture__list i { align-self: center; }
@media (min-width: 861px) { .voices .lecture__list a { padding: 8px 0; } }
@media (max-width: 860px) { .lecture__list a { grid-template-columns: 3.2em 6.6em 1fr auto; } }
@media (min-width: 861px) {
  .voices { padding-top: 14vh; padding-bottom: 6vh; }
  .voices .lecture { margin-top: 3vh; padding-top: 2.6vh; }
  .voices .lecture__title { margin: 2vh 0 1vh; }
  .voices .lecture__when { margin-bottom: 1.2vh; }
}
.lecture__fmt { color: var(--fg); opacity: .72; }

/* 已看過開場：首屏前就隱藏，不會閃一下 */
.skip-intro .intro { display: none; }

/* ---------- 導覽子選單：教育推廣 › 系列講座 ---------- */
.nav__dd { position: relative; }
.nav__sub { position: absolute; left: 0; top: 100%; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s .4s; }
.nav__dd:hover .nav__sub, .nav__dd:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__sub a { display: flex; align-items: baseline; gap: 12px; white-space: nowrap; font-size: 13px; letter-spacing: .2em; }
.nav__sub a::before { content: ""; align-self: center; width: 10px; height: 1px; background: currentColor; opacity: .6; }
.nav__sub small { font-family: var(--f-en); font-size: 10.5px; letter-spacing: .1em; opacity: .6; }
@media (max-width: 860px) {
  .nav.is-open .nav__dd { width: 100%; }
  .nav.is-open .nav__sub { position: static; padding: 0; opacity: 1; visibility: visible; transform: none; }
  .nav.is-open .nav__sub a { padding: 12px 0 14px 18px; font-size: 14px; color: var(--muted); }
}
.nav__dd:has([aria-current="page"]) > a::after { transform: scaleX(1); }
@media (max-width: 860px) {
  .nav.is-open .nav__dd { display: flex; flex-direction: column; }
  .nav.is-open .nav__dd > a { padding-bottom: 6px; border-bottom: 0; }
  .nav.is-open .nav__sub a { width: 100%; padding: 6px 0 18px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
}

/* 子選單 v2：同列對齊、桌機改用浮動面板（白色半透明＋背景模糊） */
.nav__menu { align-items: center; }
.nav__dd { display: flex; }
.nav__sub a::before, .nav__sub small { display: none; }
@media (min-width: 861px) { .nav__sub { display: none; } }
.navdrop { position: fixed; z-index: 51; transform: translate(-50%, -6px); opacity: 0; visibility: hidden; pointer-events: none;
  padding: 6px; background: rgba(255,255,255,.62); -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1);
  border: 1px solid rgba(255,255,255,.7); box-shadow: 0 10px 30px rgba(20,20,19,.08);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s; }
.navdrop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }   /* 滑鼠移過去時不斷線 */
.navdrop.is-on { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.navdrop a { display: block; padding: 10px 22px; font-size: 14px; letter-spacing: .2em; color: #141413; white-space: nowrap; transition: background .3s; }
.navdrop a:hover { background: rgba(20,20,19,.05); }
/* 子選單面板 v3：黑色半透明底、白字、背景模糊 20px */
.navdrop { padding: 4px; background: rgba(20,20,19,.8); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.navdrop a { color: #fff; }
.navdrop a:hover { background: rgba(255,255,255,.1); }
@media (max-width: 860px) { .scrollcue { display: none; } }   /* 手機首屏空間不足，會壓到 Cold War Era，直接隱藏 */

/* 背景層固定為「大視窗」高度：手機網址列伸縮時不改變尺寸，地球與線條不會跟著跳 */
.atmos { bottom: auto; height: 100vh; height: 100lvh; }
.foot__orgs img { max-width: 100%; object-fit: contain; object-position: left center; }   /* 手機欄寬不足時等比縮小，不被壓扁 */
/* 講座卡：完整講題中英並列，桌機收緊行高讓 05 仍可固定 */
@media (min-width: 861px) {
  .voices .lecture__list a { padding: 7px 0; gap: 10px; }
  .voices .lecture .lecture__list span { font-size: 13px; line-height: 1.5; }
  .voices .lecture__list b small, .voices .lecture .lecture__list span small { font-size: 10.5px; line-height: 1.4; margin-top: 1px; }
}
@media (min-width: 861px) { .voices { padding-top: 11vh; padding-bottom: 4vh; } }
/* 講座卡底部右側：研討會電子版手冊（連到講座頁手冊區） */
.lecture__foot .lecture__hb { flex: none; }
.lecture__hb:hover i { transform: translate(4px, -4px); }
