/* ===== AI 思辨派對｜旗艦官網 ===== */
:root {
  --ink: #060607;
  --ink-2: #0c0c0f;
  --ink-3: #15151a;
  --bone: #f3eee6;
  --bone-dim: rgba(243, 238, 230, .62);
  --bone-faint: rgba(243, 238, 230, .14);
  --paper: #ece5d8;
  --paper-ink: #17120e;
  --red: #ff2d1f;
  --red-deep: #a30d06;
  --ember: #ff6a3d;
  --silver: #9b9ca6;
  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --sans: "Noto Sans TC", "PingFang TC", system-ui, sans-serif;
  --latin: "Instrument Serif", "Noto Serif TC", serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --gutter: clamp(16px, 4.2vw, 64px);
  --bar-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ink); color: var(--bone); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.75; letter-spacing: .02em;
  background: var(--ink); color: var(--bone); overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--red); color: #fff; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.muted { color: var(--bone-dim); }
.center { display: flex; justify-content: center; padding: 48px var(--gutter) 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 999; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 4px; }

/* ===== 全域特效層 ===== */
.field { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; }
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{background-position:0 0} 20%{background-position:-40px 30px} 40%{background-position:30px -60px} 60%{background-position:-70px -10px} 80%{background-position:50px 50px} 100%{background-position:0 0} }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0,0,0,.55) 100%); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--ember)); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px var(--red); }
main, .foot { position: relative; z-index: 2; }

/* 游標 */
.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; opacity: 0; transition: opacity .4s; }
.has-cursor .cursor.is-live { opacity: 1; }
/* 原生 dialog 位於 top layer，自訂游標無法蓋在上方；所有開啟的彈窗改用系統指標。 */
.has-cursor:where(:not(:has(dialog[open], [role="dialog"][aria-modal="true"]:not([hidden])))),
.has-cursor:where(:not(:has(dialog[open], [role="dialog"][aria-modal="true"]:not([hidden])))) :is(a, button) { cursor: none; }
.has-cursor:has(dialog[open], [role="dialog"][aria-modal="true"]:not([hidden])) .cursor { visibility: hidden; }
dialog::backdrop { cursor: auto; }
/* 所有原生彈窗：高度不超過手機實際可視範圍；內容超出時在視窗內上下滑動，不帶動背後頁面（2026-11-12） */
dialog { max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--red); }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(243,238,230,.45);
  display: grid; place-items: center; transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .4s, border-color .4s;
}
.cursor__ring span { font-family: var(--mono); font-size: 10px; letter-spacing: .15em; color: #fff; opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--red); background: rgba(255,45,31,.08); }
.cursor.is-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--red); border-color: var(--red); }
.cursor.is-label .cursor__ring span { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { transform-origin: center; scale: .85; }

/* ===== 開場 ===== */
.loader { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; pointer-events: all; }
.loader__half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); }
.loader__half--top { top: 0; } .loader__half--bottom { bottom: 0; }
.loader__inner { position: relative; display: grid; justify-items: center; gap: 18px; }
.loader__logo { width: 88px; height: 88px; border-radius: 50%; animation: spin 9s linear infinite; filter: drop-shadow(0 0 30px rgba(255,45,31,.55)); }
@keyframes spin { to { transform: rotate(360deg); } }
.loader__count { font-family: var(--latin); font-size: clamp(72px, 14vw, 180px); line-height: .9; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.loader__count i { font-style: italic; color: var(--red); font-size: .4em; vertical-align: top; margin-left: 6px; }
.loader__bar { width: min(320px, 70vw); height: 1px; background: var(--bone-faint); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }
.loader__motto { display: flex; gap: 18px; margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .3em; }
.loader__motto span { opacity: .2; animation: flick 1.4s steps(2) infinite; }
.loader__motto span:nth-child(2) { animation-delay: .3s; } .loader__motto span:nth-child(3) { animation-delay: .6s; color: var(--red); }
@keyframes flick { 50% { opacity: 1; } }
.loader.is-done { pointer-events: none; }

/* ===== 導覽列 ===== */
.bar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--bar-h); z-index: 150;
  display: flex; align-items: center; gap: 18px; padding: 0 var(--gutter);
  transition: transform .7s var(--ease), background .5s, backdrop-filter .5s;
}
.bar.is-scrolled { background: rgba(6,6,7,.55); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid rgba(243,238,230,.06); }
.bar.is-hidden { transform: translateY(-100%); }
.bar__brand { display: flex; align-items: center; gap: 12px; }
.bar__brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,45,31,.4), 0 0 24px rgba(255,45,31,.35); }
.bar__name { font-family: var(--serif); font-weight: 900; font-size: 17px; line-height: 1.1; letter-spacing: .06em; display: grid; }
.bar__name small { font-family: var(--mono); font-weight: 400; font-size: 9px; letter-spacing: .24em; color: var(--bone-dim); margin-top: 3px; }
.bar__count {
  margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--bone-faint); font-size: 13px; background: rgba(6,6,7,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color .4s;
}
.bar__count:hover { border-color: var(--red); }
.bar__count b { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .06em; color: var(--red); font-variant-numeric: tabular-nums; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255,45,31,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,45,31,0); } 100% { box-shadow: 0 0 0 0 rgba(255,45,31,0); } }
.bar__right { display: flex; align-items: center; gap: 12px; }
.bar__motion { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--bone-dim); display: flex; gap: 6px; padding: 8px 4px; }
.bar__motion span { color: var(--bone); }
.pill { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 999px; font-size: 14px; font-weight: 700; overflow: hidden; isolation: isolate; }
.pill--red { background: var(--red); color: #fff; box-shadow: 0 8px 30px -8px rgba(255,45,31,.7); }
.pill em { font-style: normal; transition: transform .5s var(--ease); }
.pill:hover em { transform: translate(3px,-3px); }
.burger { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--bone-faint); display: grid; place-content: center; gap: 6px; background: rgba(6,6,7,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.burger i { display: block; width: 18px; height: 1.5px; background: var(--bone); transition: transform .6s var(--ease); }
.burger[aria-expanded="true"] i:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* 全螢幕選單 */
.menu { position: fixed; inset: 0; z-index: 140; display: block; }
.menu[hidden] { display: none; }
/* 不用 backdrop-filter：模糊背景配上動畫中的圓形遮罩與上升文字，實機 GPU 會閃爍 */
.menu__bg { position: absolute; inset: 0; background: radial-gradient(120% 90% at calc(100% - 60px) 36px, #140707, var(--ink) 70%); clip-path: circle(0% at calc(100% - 60px) 36px); will-change: clip-path; }
.menu__inner { position: relative; height: 100%; display: grid; grid-template-columns: 1fr 320px; gap: 48px; padding: calc(var(--bar-h) + 4vh) var(--gutter) 5vh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.menu__list { list-style: none; margin: 0; padding: 0; align-self: center; }
.menu__list li { overflow: hidden; contain: paint; border-bottom: 1px solid rgba(243,238,230,.08); }
.menu__list a { will-change: transform; backface-visibility: hidden; display: grid; grid-template-columns: 56px auto 1fr; align-items: baseline; gap: 20px; padding: 1.1vh 0; }
.menu__list em { font-family: var(--mono); font-style: normal; font-size: 12px; color: var(--bone-dim); }
.menu__list span { font-family: var(--serif); font-weight: 900; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.2; transition: transform .6s var(--ease), color .3s; }
.menu__list small { color: var(--bone-dim); font-size: 14px; opacity: 0; transform: translateX(-12px); transition: .5s var(--ease); }
.menu__list a:hover span, .menu__list a:focus-visible span { transform: translateX(14px); color: var(--red); }
.menu__list a:hover small, .menu__list a:focus-visible small { opacity: 1; transform: none; }
.menu__side { align-self: end; display: grid; gap: 14px; color: var(--bone-dim); font-size: 14px; }
.menu__date { font-family: var(--latin); font-size: 54px; line-height: .95; color: var(--bone); margin: 0; }
.menu__date span { font-style: italic; color: var(--red); font-size: 30px; }
.menu__links { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--bone); }
.menu__links a:hover { color: var(--red); }

/* ===== 共用排版 ===== */
section { position: relative; }
.kicker { display: flex; align-items: center; gap: 12px; color: var(--bone-dim); margin-bottom: 28px; }
.kicker span { display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding: 0 8px; border: 1px solid currentColor; border-radius: 999px; color: var(--bone); }
.kicker--red, .kicker--red span { color: var(--red); }
.kicker--ink { color: rgba(23,18,14,.6); } .kicker--ink span { color: var(--paper-ink); }
.display { font-family: var(--serif); font-weight: 900; font-size: clamp(40px, 6.6vw, 108px); line-height: 1.08; letter-spacing: .01em; margin: 0; }
.display-s { font-family: var(--serif); font-weight: 900; font-size: clamp(30px, 4vw, 60px); line-height: 1.15; margin: 0; }
.lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--bone-dim); max-width: 34em; }
.split { display: inline-block; }
.char { display: inline-block; will-change: transform; }
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ink-red { color: var(--red); font-weight: inherit; }
.m-br { display: none; }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px; height: 58px; padding: 0 26px 0 30px;
  border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .06em; overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn i { font-style: normal; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; transition: transform .6s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .6s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover i { transform: rotate(-45deg); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 18px 50px -18px rgba(255,45,31,.9), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--red i { background: rgba(255,255,255,.18); }
.btn--red::before { background: #fff; } .btn--red:hover { color: var(--red); } .btn--red:hover i { background: rgba(255,45,31,.12); }
.btn--ghost { border: 1px solid rgba(243,238,230,.28); color: var(--bone); background: rgba(6,6,7,.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost i { background: rgba(243,238,230,.08); }
.btn--ghost::before { background: var(--bone); } .btn--ghost:hover { color: var(--ink); }
.btn--light { background: var(--bone); color: var(--ink); }
.btn--light::before { background: var(--red); } .btn--light:hover { color: #fff; }
.btn--xl { height: 72px; font-size: 18px; padding: 0 30px 0 38px; }

/* ===== HERO ===== */
.hero { min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--bar-h) + 4vh) var(--gutter) 12vh; }
.hero__meta { display: flex; gap: 32px; color: var(--bone-dim); }
.hero__title { align-self: center; margin: 0; font-family: var(--serif); font-weight: 900; font-size: clamp(46px, 8.6vw, 156px); line-height: 1.04; letter-spacing: -.005em; max-width: 9.6em; position: relative; }
.hero__title .line:nth-child(2) { position: relative; }
.scribble { position: absolute; left: 3.05em; bottom: -.06em; width: 3.1em; height: .3em; overflow: visible; pointer-events: none; }
.scribble path { fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 460; stroke-dashoffset: 460; }
.hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.hero__lead { margin: 0; font-size: clamp(15px, 1.25vw, 18px); color: var(--bone-dim); max-width: 30em; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 4vh; display: flex; align-items: center; gap: 12px; color: var(--bone-dim); writing-mode: vertical-rl; }
.hero__scroll i { width: 1px; height: 64px; background: var(--bone-faint); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--red); animation: drip 2.2s var(--ease-in-out) infinite; }
@keyframes drip { to { top: 110%; } }
.hero__hint { position: absolute; left: var(--gutter); bottom: 4vh; color: var(--bone-dim); }

.marquee { position: relative; z-index: 2; overflow: hidden; padding: 26px 0; border-top: 1px solid var(--bone-faint); border-bottom: 1px solid var(--bone-faint); background: rgba(6,6,7,.25); }
.marquee__track { display: flex; width: max-content; gap: 40px; align-items: center; will-change: transform; }
.marquee__track span { font-family: var(--serif); font-weight: 900; font-size: clamp(28px, 4vw, 58px); white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(243,238,230,.55); transition: color .4s, -webkit-text-stroke-color .4s; }
.marquee__track span:hover { color: var(--bone); }
.marquee__track b { color: var(--red); font-size: 30px; }

/* ===== 宣言 ===== */
.manifesto { padding: 22vh var(--gutter) 16vh; }
.manifesto__text { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 4.1vw, 66px); line-height: 1.42; max-width: 18em; }
.manifesto__text .w { color: rgba(243,238,230,.13); transition: color .25s; }
.manifesto__text .w.on { color: var(--bone); }
.manifesto__text .w.hot { color: var(--red); }
.stamp { position: absolute; right: var(--gutter); top: 14vh; width: clamp(120px, 13vw, 190px); aspect-ratio: 1; display: grid; place-items: center; }
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--bone-dim); font-family: var(--mono); font-size: 13.4px; letter-spacing: 2.4px; }
.stamp span { font-family: var(--serif); font-weight: 900; font-size: clamp(38px, 4vw, 58px); color: var(--red); text-shadow: 0 0 30px rgba(255,45,31,.6); }
.stats { list-style: none; margin: 18vh 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--bone-faint); }
.stats li { padding: 34px 24px 0 0; display: grid; gap: 10px; border-right: 1px solid var(--bone-faint); padding-left: 24px; }
.stats li:first-child { padding-left: 0; } .stats li:last-child { border-right: 0; }
.stats b { font-family: var(--latin); font-weight: 400; font-size: clamp(64px, 8vw, 136px); line-height: .9; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.stats li:nth-child(odd) b { font-style: italic; color: var(--red); }
.stats span { display: grid; font-size: 16px; font-weight: 700; }
.stats small { font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: .14em; color: var(--bone-dim); margin-top: 4px; }

/* ===== 三種相遇 ===== */
.encounters { height: auto; }
.encounters__pin { height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; position: relative; }
.encounters__track { display: flex; gap: 4vw; padding: 0 var(--gutter); will-change: transform; align-items: center; }
.enc { flex: 0 0 auto; width: min(76vw, 1100px); height: min(72vh, 640px); position: relative; display: grid; grid-template-columns: 1.6fr 1fr; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, rgba(21,21,26,.92), rgba(8,8,10,.92)); border: 1px solid rgba(243,238,230,.08); }
.enc--intro { width: min(46vw, 640px); background: none; border: 0; display: flex; flex-direction: column; justify-content: center; }
.enc__drag { color: var(--red); margin-top: 24px; }
.enc__media { position: relative; overflow: hidden; }
.enc__media img { position: absolute; inset: -4% -7%; width: 114%; height: 108%; object-fit: cover; filter: saturate(.85) contrast(1.05); will-change: transform; }
.enc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 72%, rgba(8,8,10,.9)); }
.enc__copy { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; position: relative; }
.enc__num { position: absolute; top: clamp(16px, 2vw, 28px); right: clamp(20px, 3vw, 40px); font-family: var(--latin); font-style: italic; font-size: clamp(90px, 13vw, 210px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,45,31,.6); }
.enc h3 { font-family: var(--serif); font-weight: 900; font-size: clamp(34px, 3.8vw, 60px); line-height: 1.12; margin: 0; }
.enc h3 em { font-style: normal; color: var(--red); }
.enc p { margin: 0; color: var(--bone-dim); font-size: clamp(15px, 1.15vw, 17px); }
.enc__tag { color: var(--bone-dim); }
.encounters__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 6vh; height: 1px; background: var(--bone-faint); }
.encounters__progress i { display: block; height: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }

/* ===== 議會 ===== */
.council { padding: 22vh var(--gutter) 18vh; isolation: isolate; }
.council__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(60% 50% at 70% 20%, rgba(255,45,31,.28), transparent 70%), radial-gradient(50% 40% at 10% 70%, rgba(163,13,6,.3), transparent 70%); }
.council__head { max-width: 1200px; }
.council__pre { font-family: var(--mono); font-size: 13px; letter-spacing: .2em; color: var(--red); margin: 0 0 14px; }
.council__title { font-family: var(--serif); font-weight: 900; font-size: clamp(44px, 7.4vw, 124px); line-height: 1.06; margin: 0; text-shadow: 0 0 60px rgba(255,45,31,.25); }
.council__sub { font-size: clamp(16px, 1.4vw, 20px); color: var(--bone-dim); margin: 28px 0 0; }

.countdown { display: flex; align-items: flex-start; gap: clamp(8px, 1.6vw, 24px); margin: 10vh 0 6vh; flex-wrap: nowrap; }
.countdown > i { font-family: var(--latin); font-style: normal; font-size: clamp(48px, 8vw, 140px); line-height: 1; color: var(--red); opacity: .6; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.cd { display: grid; gap: 10px; }
.cd span { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--bone-dim); }
.cd__digits { display: flex; gap: 4px; }
.digit { position: relative; width: clamp(34px, 5.4vw, 92px); height: clamp(56px, 8.6vw, 148px); overflow: hidden; border-radius: 10px;
  background: linear-gradient(180deg, rgba(30,30,36,.9), rgba(12,12,15,.95)); border: 1px solid rgba(243,238,230,.08); box-shadow: inset 0 -1px 0 rgba(255,45,31,.25); }
.digit::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.6); }
.digit__strip { position: absolute; left: 0; right: 0; top: 0; transition: transform .9s var(--ease); }
.digit__strip b { display: grid; place-items: center; height: clamp(56px, 8.6vw, 148px); font-family: var(--latin); font-weight: 400; font-size: clamp(44px, 7vw, 124px); line-height: 1; color: var(--bone); }

.council__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; border-top: 1px solid rgba(255,45,31,.35); }
.council__facts > div { padding: 26px 26px 0 0; }
.council__facts > div + div { padding-left: 26px; border-left: 1px solid var(--bone-faint); }
.council__facts dt { color: var(--red); margin-bottom: 10px; }
.council__facts dd { margin: 0; color: var(--bone-dim); }
.council__facts b { display: block; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 34px); color: var(--bone); line-height: 1.3; margin-bottom: 4px; }

.cinema { margin: 16vh calc(var(--gutter) * -1) 0; height: 180vh; position: relative; }
.cinema__frame { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; clip-path: inset(18% 22% 18% 22% round 28px); will-change: clip-path; }
.cinema__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); will-change: transform; filter: saturate(.9) contrast(1.08); }
.cinema__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,6,7,.25), rgba(6,6,7,.15) 40%, rgba(6,6,7,.9)); }
.cinema__scan { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; }
.cinema__hud { position: absolute; z-index: 2; top: 96px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; color: rgba(255,255,255,.75); }
.cinema__hud span:first-child { color: var(--red); }
.cinema__story { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 8vh; max-width: 720px; opacity: 0; }
.cinema__label { color: var(--red); margin: 0 0 16px; }
.cinema__story h3 { font-family: var(--serif); font-weight: 900; font-size: clamp(34px, 4.6vw, 72px); line-height: 1.12; margin: 0 0 22px; }
.cinema__story p { color: rgba(243,238,230,.82); margin: 0 0 18px; font-size: clamp(15px, 1.2vw, 18px); }
.cinema__q { font-family: var(--serif); font-weight: 700; font-size: clamp(20px, 2vw, 28px) !important; color: var(--bone) !important; }
.cinema__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.agenda { display: grid; grid-template-columns: 1fr 1.25fr; gap: 6vw; margin-top: 18vh; }
.agenda__head { position: sticky; top: 18vh; align-self: start; }
.agenda__head p { margin-top: 22px; }
.agenda__list { list-style: none; margin: 0; padding: 0 0 0 40px; position: relative; counter-reset: a; }
.agenda__list::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 1px; background: var(--bone-faint); }
.agenda__list::after { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 1px; background: linear-gradient(var(--red), var(--ember)); transform-origin: top; transform: scaleY(var(--fill, 0)); box-shadow: 0 0 12px var(--red); }
.agenda__list li { position: relative; padding: 0 0 7vh; counter-increment: a; }
.agenda__list li::before { content: ""; position: absolute; left: -40px; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: var(--ink); border: 1px solid var(--bone-dim); transition: .5s var(--ease); }
.agenda__list li.is-on::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 6px rgba(255,45,31,.15), 0 0 24px var(--red); }
.agenda__list time { color: var(--red); }
.agenda__list b { display: block; font-family: var(--serif); font-weight: 900; font-size: clamp(24px, 2.6vw, 40px); line-height: 1.3; margin: 6px 0 6px; }
.agenda__list p { margin: 0; color: var(--bone-dim); }
.agenda__list li::after { content: "0" counter(a); position: absolute; right: 0; top: -10px; font-family: var(--latin); font-style: italic; font-size: clamp(48px, 5vw, 80px); color: rgba(243,238,230,.07); }

.tickets { margin-top: 14vh; }
.tickets__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.tickets__head p { margin: 0; max-width: 26em; }
#stage-note b { color: var(--red); }
.tickets__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); perspective: 1400px; }
.ticket {
  position: relative; display: grid; grid-template-columns: 1fr 120px; min-height: 340px; border-radius: 24px; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, #1a1a20, #0d0d10 60%); border: 1px solid rgba(243,238,230,.12);
  transform-style: preserve-3d; will-change: transform; transition: box-shadow .5s, border-color .5s;
  --mx: 50%; --my: 50%;
}
.ticket--duo { background: linear-gradient(135deg, #3a0703, #120302 65%); border-color: rgba(255,45,31,.4); }
.ticket:hover { box-shadow: 0 40px 90px -30px rgba(255,45,31,.55); border-color: rgba(255,45,31,.7); }
.ticket__foil { position: absolute; inset: 0; z-index: -1; opacity: .0; transition: opacity .5s; mix-blend-mode: color-dodge;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.4), transparent 35%),
    conic-gradient(from 120deg at var(--mx) var(--my), #ff2d1f, #ffb347, #ffe7c2, #ff8a5c, #ff2d1f); filter: blur(22px); }
.ticket:hover .ticket__foil { opacity: .16; }
.ticket__main { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 10px; }
.ticket__stage { color: var(--red); margin: 0; }
.ticket h4 { font-family: var(--serif); font-weight: 900; font-size: clamp(32px, 3.4vw, 52px); line-height: 1.1; margin: 0; }
.ticket__desc { margin: 0; color: var(--bone-dim); max-width: 22em; }
.ticket__price { margin: auto 0 0; display: flex; align-items: baseline; gap: 6px; }
.ticket__price small { font-family: var(--mono); font-size: 13px; color: var(--bone-dim); }
.ticket__price b { font-family: var(--latin); font-weight: 400; font-size: clamp(72px, 7vw, 118px); line-height: .9; letter-spacing: -.02em; }
.ticket__price span { color: var(--bone-dim); }
.ticket__inc { color: var(--bone-dim); margin: 0; }
.ticket__stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 26px 0; border-left: 2px dashed rgba(243,238,230,.18); }
.ticket__stub::before, .ticket__stub::after { content: ""; position: absolute; left: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); }
.ticket__stub::before { top: -12px; } .ticket__stub::after { bottom: -12px; }
.ticket__stub span { writing-mode: vertical-rl; color: var(--bone-dim); font-size: 10px; }
.ticket__stub b { font-family: var(--latin); font-style: italic; font-size: 64px; color: var(--red); line-height: 1; }
.stages { margin-top: 28px; border-top: 1px solid var(--bone-faint); }
.stages summary { list-style: none; display: flex; justify-content: space-between; padding: 20px 0; cursor: pointer; font-weight: 700; }
.stages summary::-webkit-details-marker { display: none; }
.stages summary i { font-style: normal; color: var(--red); transition: transform .4s var(--ease); }
.stages[open] summary i { transform: rotate(45deg); }
.stages table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.stages caption { text-align: left; color: var(--bone-dim); font-size: 13px; padding-bottom: 12px; }
.stages th, .stages td { text-align: left; padding: 14px 10px 14px 0; border-bottom: 1px solid rgba(243,238,230,.07); }
.stages th { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .12em; color: var(--bone-dim); }
.stages tr.is-now td { color: var(--red); font-weight: 700; }
.stages tr.is-past td { color: rgba(243,238,230,.3); text-decoration: line-through; }
.fine { color: var(--bone-dim); font-size: 13px; margin-top: 18px; }
.fine a { color: var(--bone); border-bottom: 1px solid var(--red); }

/* ===== 投票（紙本） ===== */
.ballot { padding: 0; overflow: hidden; }
.ballot__paper {
  position: relative; background: var(--paper); color: var(--paper-ink); padding: 18vh var(--gutter) 16vh;
  border-radius: 48px 48px 0 0; box-shadow: 0 -40px 120px rgba(0,0,0,.6); transform-origin: 50% 0; will-change: transform;
  background-image: radial-gradient(rgba(23,18,14,.08) 1px, transparent 1px); background-size: 22px 22px;
}
.ballot__paper::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .42 0 0 0 0 .32 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"); }
.ballot__head { display: grid; gap: 22px; max-width: 1000px; position: relative; }
.ballot__head p { color: rgba(23,18,14,.7); margin: 0; font-size: clamp(16px, 1.3vw, 19px); }
.ink { color: var(--paper-ink); }
.ballot__photo { margin: 9vh 0 0; position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 21/9; }
.ballot__photo img { width: 100%; height: 120%; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: filter 1.2s var(--ease); will-change: transform; }
.ballot__photo:hover img { filter: grayscale(0) contrast(1); }
.ballot__photo figcaption { position: absolute; left: 16px; bottom: 14px; color: #fff; background: rgba(0,0,0,.4); padding: 6px 10px; border-radius: 4px; }
.votes { list-style: none; margin: 10vh 0 0; padding: 0; counter-reset: v; position: relative; }
.vote { display: grid; grid-template-columns: 90px 1fr; gap: 0 28px; padding: 40px 0; border-top: 1.5px solid var(--paper-ink); position: relative; }
.vote:last-child { border-bottom: 1.5px solid var(--paper-ink); }
.vote__n { font-family: var(--latin); font-style: italic; font-size: 72px; line-height: .9; color: var(--red); }
.vote__q { font-family: var(--serif); font-weight: 900; font-size: clamp(24px, 3vw, 46px); line-height: 1.25; margin: 0 0 24px; }
.vote__bar { position: relative; display: flex; height: 64px; border-radius: 6px; overflow: hidden; background: rgba(23,18,14,.08); }
.vote__side { position: relative; display: flex; align-items: center; padding: 0 16px; width: 0; transition: width 1.6s var(--ease); white-space: nowrap; overflow: hidden; }
.vote__side--a { background: var(--paper-ink); color: var(--paper); }
.vote__side--b { background: rgba(23,18,14,.18); color: var(--paper-ink); justify-content: flex-end; margin-left: auto; }
.vote__side.win { background: var(--red); color: #fff; }
.vote__side b { font-family: var(--latin); font-size: 34px; font-weight: 400; margin-right: 10px; font-variant-numeric: tabular-nums; }
.vote__side--b b { margin: 0 0 0 10px; order: 2; }
.vote__side span { font-size: 14px; font-weight: 700; }
.vote__stamp { position: absolute; right: 2%; top: 22px; width: 132px; height: 132px; border-radius: 50%; border: 3px solid var(--red); color: var(--red); display: grid; place-items: center; text-align: center;
  font-family: var(--serif); font-weight: 900; font-size: 17px; line-height: 1.2; transform: rotate(-14deg) scale(2.4); opacity: 0; pointer-events: none; mix-blend-mode: multiply; }
.vote__stamp::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--red); border-radius: 50%; }
.vote__stamp small { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; font-weight: 400; }
.ballot__note { font-size: 13px; color: rgba(23,18,14,.6); margin-top: 28px; }

/* ===== 思想夥伴 ===== */
.thinkers { padding: 22vh 0 14vh; overflow: hidden; }
.thinkers__head { padding: 0 var(--gutter); text-align: center; display: grid; justify-items: center; }
.carousel { position: relative; height: min(78vh, 720px); margin-top: 2vh; perspective: 1600px; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none; }
.carousel__stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.figure { position: absolute; left: 50%; bottom: 13%; width: clamp(170px, 19vw, 300px); aspect-ratio: 2/3; margin-left: calc(clamp(170px, 19vw, 300px) / -2); transform-style: preserve-3d; will-change: transform, opacity, filter; }
.figure img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; pointer-events: none; -webkit-user-drag: none; }
.figure::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -5%; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, var(--c, rgba(255,45,31,.6)), transparent); filter: blur(8px); opacity: .7; z-index: -1; }
.figure.is-front::after { opacity: 1; }
.carousel__floor { position: absolute; left: 50%; bottom: 6%; width: min(110vw, 1500px); height: 220px; transform: translateX(-50%) rotateX(78deg); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,45,31,.18), transparent 70%), repeating-radial-gradient(circle, rgba(243,238,230,.07) 0 1px, transparent 1px 40px); pointer-events: none; }
.thinker-info { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; gap: 20px; max-width: 920px; margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.thinker-info__meta { color: var(--bone-dim); margin: 0 0 6px; }
.thinker-info h3 { font-family: var(--serif); font-weight: 900; font-size: clamp(34px, 4vw, 60px); margin: 0; line-height: 1.15; }
.thinker-info h3 em { font-family: var(--latin); font-weight: 400; font-style: italic; font-size: .55em; color: var(--red); letter-spacing: .04em; margin-left: 8px; }
.thinker-info__line { font-family: var(--serif); font-weight: 700; font-size: clamp(20px, 2.1vw, 30px); margin: 14px 0 6px; }
.thinker-info__note { font-size: 12px; color: var(--bone-dim); margin: 0; }
.arrow { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--bone-faint); font-size: 18px; transition: .4s var(--ease); background: rgba(6,6,7,.4); }
.arrow:hover { background: var(--red); border-color: var(--red); transform: scale(1.06); }
.arrow:disabled { opacity: .3; pointer-events: none; }

/* ===== 五境 ===== */
.worlds { padding: 22vh var(--gutter) 14vh; }
.worlds__head { margin-bottom: 8vh; }
.realms { display: flex; gap: 12px; height: min(64vh, 560px); }
.realm {
  position: relative; flex: 1 1 0; min-width: 0; border-radius: 22px; overflow: hidden; isolation: isolate; cursor: pointer;
  border: 1px solid rgba(243,238,230,.1); background: linear-gradient(180deg, rgba(10,10,13,.1), rgba(10,10,13,.55) 75%);
  transition: flex-grow .9s var(--ease), border-color .5s, background .5s; display: flex; flex-direction: column; padding: 28px; text-align: left;
}
.realm::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .7s; background: radial-gradient(120% 70% at 50% 110%, var(--glow), transparent 60%); }
.realm.is-open { flex-grow: 3.4; border-color: var(--glow); }
.realm.is-open::before { opacity: .3; }
.realm__sym { font-family: var(--serif); font-weight: 900; font-size: clamp(64px, 7vw, 120px); line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--glow); transition: color .6s, text-shadow .6s; }
.realm.is-open .realm__sym { color: var(--glow); text-shadow: 0 0 40px var(--glow); }
.realm__en { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--bone-dim); margin-top: 10px; white-space: nowrap; }
.realm__body { margin-top: auto; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .7s var(--ease); min-width: 280px; }
.realm.is-open .realm__body { opacity: 1; transform: none; transition-delay: .25s; }
.realm__name { font-family: var(--serif); font-weight: 900; font-size: clamp(26px, 2.6vw, 40px); margin: 0; }
.realm__sub { color: var(--glow); margin: 4px 0 14px; font-size: 14px; }
.realm__q { font-family: var(--serif); font-weight: 700; font-size: clamp(18px, 1.6vw, 24px); margin: 0 0 10px; line-height: 1.45; }
.realm__desc { color: var(--bone-dim); font-size: 14px; margin: 0; max-width: 34em; }
.realm__skill { display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; padding: 6px 12px; border: 1px solid var(--glow); border-radius: 999px; color: var(--glow); }
.realm__vert { position: absolute; left: 28px; bottom: 28px; writing-mode: vertical-rl; font-family: var(--serif); font-weight: 700; font-size: 18px; letter-spacing: .2em; transition: opacity .4s; }
.realm.is-open .realm__vert { opacity: 0; }

/* ===== 紀錄 ===== */
.archive { padding: 22vh 0 14vh; overflow: hidden; }
.archive__head { padding: 0 var(--gutter); margin-bottom: 8vh; }
.reel { position: relative; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.reel.is-drag { cursor: grabbing; }
.reel__track { display: flex; gap: clamp(14px, 1.8vw, 26px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.shot { flex: 0 0 auto; width: clamp(260px, 30vw, 460px); position: relative; }
.shot:nth-child(even) { margin-top: 70px; }
.shot__img { position: relative; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; background: var(--ink-3); }
.shot__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.75); transform: scale(1.12); transition: filter .9s var(--ease), transform 1.4s var(--ease); pointer-events: none; -webkit-user-drag: none; }
.shot:hover .shot__img img { filter: none; transform: scale(1.02); }
.shot__date { position: absolute; top: 14px; left: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; padding: 5px 10px; border-radius: 999px; background: rgba(6,6,7,.7); backdrop-filter: blur(6px); }
.shot__tag { color: var(--red); margin: 16px 0 4px; }
.shot h3 { font-family: var(--serif); font-weight: 900; font-size: clamp(20px, 1.8vw, 28px); margin: 0 0 6px; line-height: 1.3; }
.shot p { margin: 0; color: var(--bone-dim); font-size: 14px; }
.reel__line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--bone-faint); z-index: -1; }

/* ===== 團隊 ===== */
.team { padding: 22vh var(--gutter) 14vh; }
.team__head { display: grid; gap: 20px; margin-bottom: 8vh; }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person { position: relative; border-radius: 20px; overflow: hidden; background: var(--ink-2); border: 1px solid rgba(243,238,230,.08); isolation: isolate; aspect-ratio: 3/4.3; }
.person img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform 1.2s var(--ease), filter .8s; filter: saturate(.9); }
.person::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(6,6,7,.96) 78%); transition: background .6s; }
.person:hover img { transform: scale(1.07); }
.person:hover::after { background: linear-gradient(180deg, rgba(6,6,7,.2) 0%, rgba(6,6,7,.97) 55%); }
.person__scan { position: absolute; left: 0; right: 0; top: -10%; height: 10%; z-index: 1; background: linear-gradient(transparent, rgba(255,45,31,.45), transparent); opacity: 0; }
.person:hover .person__scan { opacity: 1; animation: scan 1.6s var(--ease-in-out) infinite; }
@keyframes scan { to { top: 100%; } }
.person__copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 22px; }
.person__focus { color: var(--red); margin: 0 0 6px; }
.person h3 { font-family: var(--serif); font-weight: 900; font-size: clamp(26px, 2.2vw, 34px); margin: 0; line-height: 1.1; }
.person h3 span { font-family: var(--sans); font-weight: 500; font-size: 14px; color: var(--bone-dim); margin-left: 10px; }
.person__bio { color: var(--bone-dim); font-size: 13.5px; line-height: 1.7; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s var(--ease), opacity .6s, margin .6s; }
.person:hover .person__bio, .person:focus-within .person__bio { max-height: 200px; opacity: 1; margin-top: 12px; }
.person__tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 12px 0 0; }
.person__tags li { font-size: 11px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--bone-faint); color: var(--bone-dim); }
.person--open { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 28px; background: repeating-linear-gradient(135deg, rgba(255,45,31,.07) 0 2px, transparent 2px 14px), var(--ink-2); border-style: dashed; border-color: rgba(255,45,31,.5); }
.person--open::after { display: none; }
.person--open .plus { font-family: var(--latin); font-size: 120px; line-height: .8; color: var(--red); }
.person--open p { font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.4; margin: 18px 0 8px; }
.person--open small { color: var(--bone-dim); }
.team .people { grid-template-columns: repeat(5, 1fr); }

/* ===== 終章 ===== */
.finale { min-height: 120vh; display: flex; flex-direction: column; justify-content: center; padding: 20vh var(--gutter); }
.finale__pre { color: var(--red); margin: 0 0 24px; }
.finale__title { font-family: var(--serif); font-weight: 900; font-size: clamp(52px, 10vw, 180px); line-height: 1.02; margin: 0; max-width: 7em; }
.finale__sub { font-family: var(--serif); font-weight: 500; font-size: clamp(18px, 1.8vw, 26px); color: var(--bone-dim); margin: 34px 0 0; }
.finale__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 56px; }

/* ===== 頁尾 ===== */
.foot { padding: 12vh var(--gutter) 28px; border-top: 1px solid var(--bone-faint); background: linear-gradient(180deg, rgba(6,6,7,.6), var(--ink) 30%); overflow: hidden; }
.foot__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.foot__grid > div { display: grid; gap: 10px; align-content: start; color: var(--bone-dim); font-size: 15px; }
.foot__grid a { color: var(--bone); width: fit-content; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.foot__grid a:hover { background-size: 100% 1px; }
.foot__label { color: var(--red); margin: 0 0 6px; }
.foot__word { display: flex; justify-content: space-between; gap: 2vw; margin: 12vh 0 4vh; font-family: var(--latin); font-size: clamp(54px, 13.4vw, 250px); line-height: .82; letter-spacing: -.035em; white-space: nowrap; }
.foot__word span { display: inline-block; }
.foot__word span:nth-child(2) { font-style: italic; color: var(--red); }
.foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--bone-dim); padding-top: 22px; border-top: 1px solid var(--bone-faint); }
.foot__base a:hover { color: var(--red); }

/* 進場預設狀態（JS 啟用時） */
.js .reveal-up { opacity: 0; transform: translateY(40px); }
.js .reveal-clip { clip-path: inset(100% 0 0 0); }

/* ===== 響應式 ===== */
@media (max-width: 1100px) {
  .bar__count > span { display: none; }
  .bar__motion { display: none; }
  .people, .team .people { grid-template-columns: repeat(2, 1fr); }
  .agenda { grid-template-columns: 1fr; }
  .agenda__head { position: relative; top: 0; }
}
@media (max-width: 760px) {
  :root { --bar-h: 62px; }
  body { font-size: 15px; }
  .bar { gap: 10px; }
  .bar__name small, .bar__count { display: none; }
  .bar__brand img { width: 34px; height: 34px; }
  .bar__right { margin-left: auto; }
  .pill { height: 40px; padding: 0 14px; font-size: 13px; }
  .burger { width: 42px; height: 42px; }
  .menu__inner { grid-template-columns: 1fr; gap: 28px; }
  .menu__list a { grid-template-columns: 34px 1fr; gap: 10px; }
  .menu__list small { display: none; }
  .hero { padding-bottom: 9vh; }
  .hero__meta { flex-direction: column; gap: 4px; }
  .hero__title { font-size: clamp(38px, 12.6vw, 64px); align-self: end; margin-bottom: 6vh; }
  .m-br { display: inline; }
  .scribble { left: 3.05em; }
  .hero__hint, .hero__scroll { display: none; }
  .btn { height: 52px; padding: 0 18px 0 22px; font-size: 14px; }
  .btn--xl { height: 60px; font-size: 16px; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: space-between; }
  .manifesto { padding-top: 16vh; }
  .stamp { position: relative; right: auto; top: auto; margin: 6vh 0 0 auto; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 10vh; }
  .stats li { padding: 24px 12px 24px 0; border-bottom: 1px solid var(--bone-faint); }
  .stats li:nth-child(2) { border-right: 0; padding-left: 16px; }
  .stats li:nth-child(3) { padding-left: 0; }
  .stats li:nth-child(4) { padding-left: 16px; }
  .encounters__pin { height: auto; overflow: visible; display: block; padding: 14vh 0 4vh; }
  .encounters__track { flex-direction: column; gap: 22px; transform: none !important; }
  .enc, .enc--intro { width: 100%; height: auto; grid-template-columns: 1fr; }
  .enc__media { aspect-ratio: 4/3; }
  .enc__media::after { background: linear-gradient(180deg, transparent 50%, rgba(8,8,10,.95)); }
  .enc__num { top: auto; bottom: 18px; font-size: 90px; }
  .enc__drag, .encounters__progress { display: none; }
  .council { padding-top: 16vh; }
  .council__title { font-size: 9.4vw; }
  .display { font-size: 9vw; }
  .display-s { font-size: 8vw; }
  .thinker-info__line { font-size: 18px; }
  .countdown { gap: 4px; }
  .countdown > i { font-size: 26px; line-height: 64px; }
  .cd__digits { gap: 2px; }
  .digit { width: calc((100vw - 2 * var(--gutter) - 64px) / 8); height: 64px; border-radius: 7px; }
  .digit__strip b { height: 64px; font-size: 46px; }
  .council__facts { grid-template-columns: 1fr; }
  .council__facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--bone-faint); margin-top: 20px; }
  .cinema { height: 150vh; }
  .cinema__frame { clip-path: inset(22% 6% 22% 6% round 20px); }
  .cinema__hud { top: 80px; font-size: 9px; }
  .cinema__story { bottom: 5vh; }
  .tickets__row { grid-template-columns: 1fr; }
  .ticket { grid-template-columns: 1fr 76px; min-height: 290px; }
  .ticket__stub b { font-size: 44px; }
  .stages table { font-size: 13px; }
  .vote { grid-template-columns: 1fr; padding: 30px 0; }
  .vote__n { font-size: 48px; margin-bottom: 8px; }
  .vote__bar { height: auto; flex-direction: column; background: none; gap: 6px; }
  .vote__side { width: auto !important; max-width: 0; height: 52px; border-radius: 6px; margin: 0 !important; justify-content: space-between !important; transition: max-width 1.6s var(--ease); }
  .vote__side--b b { order: 0; margin: 0 10px 0 0; }
  .vote__stamp { width: 88px; height: 88px; font-size: 12px; top: auto; bottom: 22px; right: 0; }
  .ballot__photo { aspect-ratio: 4/3; }
  .carousel { height: 64vh; }
  .figure { width: 46vw; margin-left: -23vw; bottom: 16%; }
  .thinker-info { grid-template-columns: 44px 1fr 44px; gap: 8px; }
  .arrow { width: 44px; height: 44px; }
  .realms { flex-direction: column; height: auto; }
  .realm { flex: none; min-height: 92px; padding: 20px; display: grid; grid-template-columns: 76px 1fr; gap: 0 14px; transition: border-color .5s, background .5s; }
  .realm__sym { font-size: 64px; grid-row: span 2; }
  .realm__en { align-self: center; margin-top: 0; }
  .realm__vert { position: static; writing-mode: horizontal-tb; font-size: 20px; letter-spacing: .1em; align-self: center; grid-column: 2; }
  .realm.is-open .realm__vert { display: none; }
  .realm__body { grid-column: 1 / -1; min-width: 0; max-height: 0; overflow: hidden; margin: 0; transition: max-height .8s var(--ease), opacity .5s, margin .5s; }
  .realm.is-open .realm__body { max-height: 420px; margin-top: 14px; }
  .shot { width: 74vw; }
  .shot:nth-child(even) { margin-top: 40px; }
  .people, .team .people { grid-template-columns: 1fr 1fr; gap: 10px; }
  .person__copy { padding: 14px; }
  .person h3 span { display: block; margin: 4px 0 0; font-size: 12px; }
  .person__bio { display: none; }
  .person__tags { display: none; }
  .person--open { grid-column: 1 / -1; aspect-ratio: auto; }
  .finale { min-height: 100vh; }
  .finale__cta .btn { width: 100%; justify-content: space-between; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 360px) {
  /* 窄版保留「報名」二字，完整名稱由 aria-label 提供 */
  .pill { padding: 0 12px; gap: 4px; }
  .pill span { font-size: 0; }
  .pill span::before { content: "報名"; font-size: 13px; }
}

/* 減少動態 */
@media (prefers-reduced-motion: reduce) {
  .grain, .loader__logo, .pulse, .countdown > i, .hero__scroll i::after { animation: none !important; }
}
.reduce-motion .grain { animation: none; }

/* ===== 換頁轉場幕 ===== */
/* 換頁轉場（js/transition.js）：新頁第一格就蓋住，紅點與畫布 seed() 同一個漸層，交接無縫 */
.tfx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 480; pointer-events: none; visibility: hidden; }
html.nav-in body::after { content: ""; position: fixed; inset: 0; z-index: 481; pointer-events: all;
  background: radial-gradient(circle at 50% 50%, rgb(255,226,210) 0, rgba(255,96,64,.9) 6.58px, rgba(255,45,31,.26) 32.9px, rgba(255,45,31,0) 94px), var(--ink); }
.split.mask { overflow: hidden; padding-bottom: .1em; vertical-align: top; }

/* 膠卷結尾：下一場 */
.shot--next { display: grid; align-content: center; gap: 6px; min-height: 300px; border: 1px dashed rgba(255,45,31,.6); border-radius: 16px; padding: 28px; background: rgba(255,45,31,.06); transition: background .5s; }
.shot--next:hover { background: rgba(255,45,31,.14); }
.shot--next .shot__tag { margin: 0 0 10px; }
.shot--next h3 { font-size: clamp(28px, 2.6vw, 40px); }
.shot--next__arrow { font-family: var(--latin); font-size: 80px; color: var(--red); line-height: 1; transition: transform .6s var(--ease); }
.shot--next:hover .shot--next__arrow { transform: translateX(14px); }

/* 會員登入按鈕與對話框（沿用 member-account.js） */
.site-account-button { height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--bone-faint); font-size: 13px; font-weight: 700; background: rgba(6,6,7,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .3s, background .3s; white-space: nowrap; }
.site-account-button:hover { border-color: var(--red); }
.account-dialog { width: min(520px, calc(100vw - 32px)); border: 1px solid rgba(255,45,31,.35); border-radius: 24px; padding: 34px; background: rgba(12,12,15,.96); color: var(--bone); box-shadow: 0 40px 120px rgba(0,0,0,.7); }
.account-dialog::backdrop { background: rgba(0,0,0,.6); backdrop-filter: blur(8px); }
.account-dialog h2 { font-family: var(--serif); font-weight: 900; font-size: 28px; margin: 0 0 10px; }
.account-dialog p { color: var(--bone-dim); }
.account-dialog .account-close { position: absolute; top: 16px; right: 18px; font-size: 26px; color: var(--bone-dim); }
.account-dialog button:not(.account-close), .account-dialog .google-signin { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 22px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; margin: 8px 8px 0 0; }
.account-dialog #continue-guest, .account-dialog #logout { background: transparent; border: 1px solid var(--bone-faint); color: var(--bone); }
.account-dialog label { display: grid; gap: 6px; margin: 12px 0; font-size: 14px; color: var(--bone-dim); }
.account-dialog input, .account-dialog select { height: 46px; border-radius: 12px; border: 1px solid var(--bone-faint); background: rgba(255,255,255,.04); color: var(--bone); padding: 0 14px; font: inherit; }
.account-dialog nav a { display: grid; padding: 12px 0; border-bottom: 1px solid var(--bone-faint); }
/* 手機版：登入鈕縮成圓形人像圖示，名稱與狀態由文字（讀屏）與紅點提供。
   member-account.css 較晚載入，所以這裡用 header 前綴提高權重。 */
header .site-account-button.is-member { border-color: rgba(255,45,31,.55); }
@media (max-width: 760px) {
  .bar__name, .pill { white-space: nowrap; }
  header .site-account-button { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; max-width: none; padding: 0; font-size: 0; color: transparent; overflow: hidden; border-radius: 50% !important; }
  header .site-account-button::before { content: ""; width: 18px; height: 18px; background: var(--bone); -webkit-mask: var(--account-icon) center / contain no-repeat; mask: var(--account-icon) center / contain no-repeat; --account-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E"); }
  header .site-account-button.is-member::after { content: ""; position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px #060607; }
}
@media (max-width: 420px) {
  /* 加了登入鈕後，「加入議會」改顯示「報名」，完整名稱由 aria-label 提供 */
  .pill { padding: 0 12px; gap: 4px; }
  .pill span { font-size: 0; }
  .pill span::before { content: "報名"; font-size: 13px; }
}
@media (max-width: 360px) {
  .bar { gap: 6px; }
  .bar__right { gap: 6px; }
  .bar__brand { gap: 8px; }
  .bar__brand img { width: 30px; height: 30px; }
  .bar__name { font-size: 15px; letter-spacing: .03em; }
  header .site-account-button { width: 36px; height: 36px; }
  .pill { padding: 0 10px; }
  .burger { width: 38px; height: 38px; }
}
