/* =========================================================
   大像娛樂 Da Xiang Entertainment — 官網樣式
   概念：大像＝把偶像、影像、想像放大；整站是一場演出
   色彩只用品牌兩色＋紙白：象黃 #F7C51E、墨黑、紙白
   ========================================================= */

:root {
  --ink: #0b0b0a;
  --ink-2: #121210;
  --ink-3: #1b1a17;
  --paper: #f3efe4;
  --mute: #a19d90;
  --dim: #5d5a52;
  --y: #f7c51e;
  --y-hot: #ffe27a;
  --line: rgba(243, 239, 228, 0.14);
  --f-zh: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --f-serif: "Noto Serif TC", "Noto Sans TC", serif;
  --f-disp: "Big Shoulders Display", "Noto Sans TC", sans-serif;
  --f-it: "Instrument Serif", Georgia, serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --gutter: clamp(16px, 4.2vw, 72px);
  --max: 1440px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--ink); -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-zh);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 900; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--y); color: var(--ink); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--y); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--y); outline-offset: 4px; border-radius: 4px; }

/* ---------- 共用字級 ---------- */
.kicker {
  display: flex; align-items: center; gap: 0.9em;
  margin: 0 0 22px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--y);
}
.kicker::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
.h2 {
  font-size: clamp(36px, 4.8vw, 76px);
  line-height: 1.12; letter-spacing: -0.005em;
  text-wrap: balance;
}
.lead { color: var(--mute); font-size: clamp(16px, 1.25vw, 19px); max-width: 34em; }

/* ---------- 按鈕 ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.7em;
  padding: 17px 28px; border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: 0.06em;
  text-decoration: none; overflow: hidden; isolation: isolate;
  transition: transform 0.5s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn i { font-style: normal; display: inline-block; transition: transform 0.4s var(--ease); }
.btn:hover i { transform: translateX(5px); }
.btn::after {
  content: ""; position: absolute; inset: 0 auto 0 -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg); transition: left 0.7s var(--ease);
}
.btn:hover::after { left: 120%; }
.btn--y { background: var(--y); color: var(--ink); box-shadow: 0 10px 40px -10px rgba(247, 197, 30, 0.6); }
.btn--ghost { border: 1px solid var(--line); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--y); }
.btn--line-ink { border: 2px solid var(--ink); color: var(--ink); }
.btn--line-ink::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent); }

/* ---------- 底片顆粒 ---------- */
.grain {
  position: fixed; inset: -60%; z-index: 90; pointer-events: none; opacity: 0.075;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.9s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}

/* ---------- 游標（追蹤光） ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
  .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; }
  .cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; pointer-events: none; }
  .cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--y); }
  .cursor__ring {
    width: 46px; height: 46px; margin: -23px 0 0 -23px;
    border: 1px solid rgba(247, 197, 30, 0.55);
    display: grid; place-items: center;
    transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background 0.35s, border-color 0.35s;
  }
  .cursor__label { font: 600 10px/1 var(--f-mono); letter-spacing: 0.14em; color: var(--ink); opacity: 0; transition: opacity 0.2s; white-space: nowrap; }
  .cursor.is-hover .cursor__ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: rgba(247, 197, 30, 0.16); border-color: var(--y); }
  .cursor.is-label .cursor__ring { background: var(--y); }
  .cursor.is-label .cursor__label { opacity: 1; }
  .cursor.on-yellow .cursor__dot { background: var(--ink); }
  .cursor.on-yellow .cursor__ring { border-color: rgba(11, 11, 10, 0.5); }
  .cursor.on-yellow.is-label .cursor__ring { background: var(--ink); }
  .cursor.on-yellow.is-label .cursor__label { color: var(--y); }
}

/* ---------- 開場：熄燈倒數 → 光圈打開 ---------- */
.loader { display: none; }
.show-loader .loader {
  --r: 0px;
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 400; background: var(--ink);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent var(--r), #000 calc(var(--r) + 1px));
  mask: radial-gradient(circle at 50% 50%, transparent var(--r), #000 calc(var(--r) + 1px));
  animation: loader-failsafe 0.01s 5s forwards;
}
@keyframes loader-failsafe { to { visibility: hidden; opacity: 0; } }
.loader__box { text-align: center; }
.loader__mark { width: 92px; margin: 0 auto 28px; color: var(--y); }
.loader__mark svg { width: 100%; height: auto; overflow: visible; }
.loader__count { font: 900 clamp(64px, 11vw, 140px)/0.9 var(--f-disp); color: var(--paper); letter-spacing: 0.02em; }
.loader__count small { font-size: 0.32em; color: var(--y); margin-left: 0.1em; }
.loader__txt { margin-top: 18px; font: 500 12px/1.6 var(--f-mono); letter-spacing: 0.24em; color: var(--mute); }

/* ---------- 導覽列 ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60; height: 76px;
  display: flex; align-items: center;
  transition: background 0.4s, transform 0.5s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(11, 11, 10, 0.72); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); }
.brand__mark { width: 46px; flex: none; }
.brand__mark svg { width: 100%; height: auto; }
.brand__zh { display: block; font-weight: 900; font-size: 19px; letter-spacing: 0.12em; line-height: 1.1; }
.brand__en { display: block; font: 500 9.5px/1.4 var(--f-mono); letter-spacing: 0.2em; color: var(--mute); margin-top: 3px; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); list-style: none; }
.nav__links a { position: relative; text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: 0.08em; color: var(--paper); padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--y); transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__links .btn { padding: 11px 20px; font-size: 14px; }
.nav__links .btn::after { display: block; }
.nav__links .btn:hover { color: var(--ink); }
.nav__toggle { display: none; }

.menu { display: none; }

@media (max-width: 960px) {
  .nav { height: 64px; }
  .nav__links { display: none; }
  .brand__mark { width: 40px; }
  .brand__zh { font-size: 17px; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%;
    background: transparent; padding: 0 13px; color: var(--paper);
  }
  .nav__toggle span { display: block; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease), opacity 0.3s; }
  .menu-open .nav__toggle span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .menu-open .nav__toggle span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .menu {
    display: flex; flex-direction: column; justify-content: center;
    position: fixed; inset: 0; z-index: 55; padding: 100px var(--gutter) 40px;
    background: var(--y); color: var(--ink);
    clip-path: circle(0% at calc(100% - 40px) 32px);
    transition: clip-path 0.7s cubic-bezier(0.7, 0, 0.2, 1);
    visibility: hidden;
  }
  .menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 32px); visibility: visible; }
  .menu-open .nav { background: transparent; border-color: transparent; backdrop-filter: none; }
  .menu-open .nav .brand, .menu-open .nav__toggle { color: var(--ink); }
  .menu-open .brand__en { color: rgba(11, 11, 10, 0.6); }
  .menu-open .nav__toggle { border-color: rgba(11, 11, 10, 0.3); }
  .menu ol { list-style: none; counter-reset: m; }
  .menu li { counter-increment: m; border-bottom: 1.5px solid rgba(11, 11, 10, 0.18); }
  .menu a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; text-decoration: none; font-weight: 900; font-size: clamp(30px, 8vw, 44px); line-height: 1.2; }
  .menu a::before { content: "0" counter(m); font: 500 12px/1 var(--f-mono); letter-spacing: 0.1em; }
  .menu__foot { margin-top: 36px; font: 500 12px/1.8 var(--f-mono); letter-spacing: 0.12em; }
}

/* =========================================================
   HERO：舞台與投影幕
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; align-items: center;
  padding: 120px 0 130px;
  background:
    radial-gradient(ellipse 70% 55% at 72% 55%, rgba(247, 197, 30, 0.10), transparent 70%),
    radial-gradient(ellipse 100% 60% at 50% 110%, rgba(243, 239, 228, 0.06), transparent 70%),
    var(--ink);
}
.hero__stage { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__truss {
  position: absolute; left: 0; right: 0; top: 0; height: 14px; z-index: 1; opacity: 0.55;
  background:
    repeating-linear-gradient(45deg, transparent 0 9px, rgba(243, 239, 228, 0.22) 9px 10px),
    repeating-linear-gradient(-45deg, transparent 0 9px, rgba(243, 239, 228, 0.22) 9px 10px);
  border-top: 1px solid rgba(243, 239, 228, 0.3); border-bottom: 1px solid rgba(243, 239, 228, 0.3);
}
.hero__bigword {
  position: absolute; left: 0; bottom: 7.5vh; z-index: 0;
  display: flex; white-space: nowrap; pointer-events: none;
  font: 900 21vw/0.8 var(--f-disp); letter-spacing: 0.01em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(243, 239, 228, 0.075);
  animation: drift 60s linear infinite;
}
.hero__bigword span { padding-right: 0.3em; }
@keyframes drift { to { transform: translateX(-50%); } }

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center; gap: 4vw;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
  font: 500 12px/1.4 var(--f-mono); letter-spacing: 0.2em; color: var(--mute);
}
.rec { width: 9px; height: 9px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 0 rgba(247, 197, 30, 0.7); animation: rec 1.8s infinite; flex: none; }
@keyframes rec { 70% { box-shadow: 0 0 0 10px rgba(247, 197, 30, 0); } 100% { box-shadow: 0 0 0 0 rgba(247, 197, 30, 0); } }

.hero__title {
  margin: 26px 0 30px;
  font-size: min(8.4vw, 14.2vh, 152px);
  line-height: 1.04; letter-spacing: -0.02em;
}
.hero__title .line { display: block; overflow: hidden; padding: 0.02em 0 0.06em; margin-bottom: -0.04em; }
.hero__title .line__in { display: inline-block; will-change: transform; }
.zoomword {
  display: inline-block; font-style: normal; color: var(--y);
  font-size: 1.2em; line-height: 0.9; transform-origin: 30% 80%;
}
.hero__lead { max-width: 30em; color: #cfcabc; font-size: clamp(16px, 1.2vw, 18.5px); margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* 投影幕 */
.hero__screen-wrap { display: flex; justify-content: center; perspective: 1400px; }
.screen { position: relative; width: min(40vw, 620px); aspect-ratio: 332 / 276; transform-origin: 37.83% 39.13%; }
.screen__tilt { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.screen__glow {
  position: absolute; inset: -35%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(247, 197, 30, 0.42), rgba(247, 197, 30, 0.10) 55%, transparent 75%);
  filter: blur(10px);
}
.screen__svg { width: 100%; height: 100%; border-radius: 3px; box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.9); }
.screen__scan {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: 0.22;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0 1px, transparent 1px 4px);
}
.screen__sweep {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.screen__sweep::before {
  content: ""; position: absolute; left: 0; right: 0; height: 30%; top: -30%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  animation: sweep 5.5s linear infinite;
}
@keyframes sweep { to { top: 130%; } }
.screen__hud {
  position: absolute; left: 0; right: 0; display: flex; justify-content: space-between; gap: 12px;
  font: 500 10.5px/1 var(--f-mono); letter-spacing: 0.16em; color: var(--mute); white-space: nowrap;
}
.screen__hud--top { top: -28px; }
.screen__hud--bot { bottom: -28px; }
.screen__hud b { color: var(--y); font-weight: 500; }
.tc { font-variant-numeric: tabular-nums; color: var(--paper); }
.crop { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(243, 239, 228, 0.55); pointer-events: none; }
.crop--tl { left: -14px; top: -14px; border-left-width: 1px; border-top-width: 1px; }
.crop--tr { right: -14px; top: -14px; border-right-width: 1px; border-top-width: 1px; }
.crop--bl { left: -14px; bottom: -14px; border-left-width: 1px; border-bottom-width: 1px; }
.crop--br { right: -14px; bottom: -14px; border-right-width: 1px; border-bottom-width: 1px; }
.js .screen.is-off .screen__svg { opacity: 0; animation: show-failsafe 0.01s 3.2s forwards; }
@keyframes show-failsafe { to { opacity: 1; } }
.screen.is-on .screen__svg { animation: flicker 1.1s steps(1) both; }
@keyframes flicker {
  0% { opacity: 0; } 8% { opacity: 0.8; } 12% { opacity: 0.1; } 20% { opacity: 1; } 26% { opacity: 0.35; }
  34% { opacity: 1; } 60% { opacity: 0.85; } 64% { opacity: 1; } 100% { opacity: 1; }
}

.hero__ticker {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; overflow: hidden;
  border-top: 1px solid var(--line); background: rgba(11, 11, 10, 0.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.ticker__track { display: flex; width: max-content; animation: ticker 46s linear infinite; padding: 15px 0; }
.ticker__track span { font: 700 21px/1 var(--f-disp); letter-spacing: 0.12em; text-transform: uppercase; padding: 0 22px; white-space: nowrap; }
.ticker__track i { font-style: normal; color: var(--y); padding: 0 4px; }
.ticker__track .zh { font-family: var(--f-zh); font-weight: 700; font-size: 16px; letter-spacing: 0.2em; }
@keyframes ticker { to { transform: translateX(-50%); } }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 78px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none;
  font: 500 10.5px/1 var(--f-mono); letter-spacing: 0.24em; color: var(--mute);
  writing-mode: vertical-rl;
}
.hero__scroll::after { content: ""; width: 1px; height: 54px; background: linear-gradient(var(--y), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.hero__blackout { position: absolute; inset: 0; z-index: 6; background: var(--ink); opacity: 0; pointer-events: none; }

@media (max-width: 960px) {
  .hero { padding: 96px 0 104px; align-items: flex-start; }
  .hero__inner { grid-template-columns: 1fr; gap: 54px; }
  .hero__screen-wrap { order: -1; margin-top: 22px; }
  .screen { width: min(78vw, 440px); }
  .hero__title { font-size: clamp(50px, 15vw, 96px); margin: 18px 0 22px; }
  .hero__scroll { display: none; }
  .eyebrow__zh { display: none; }
  .ticker__track span { font-size: 17px; }
  .hero__bigword { bottom: 64px; font-size: 34vw; }
}

/* =========================================================
   MANIFESTO：逐字亮燈
   ========================================================= */
.manifesto { position: relative; padding: clamp(90px, 12vh, 150px) 0 clamp(100px, 16vh, 180px); }
.manifesto__text {
  max-width: 19.5em; margin: 0 0 clamp(70px, 12vh, 130px);
  font-weight: 700; font-size: clamp(27px, 3.75vw, 60px); line-height: 1.5; letter-spacing: 0.02em;
}
.manifesto__text em { font-style: normal; color: var(--y); white-space: nowrap; }
.manifesto__text .ch { color: #3a3933; transition: color 0.35s, text-shadow 0.35s; }
.manifesto__text .ch.on { color: var(--paper); }
.manifesto__text em .ch.on { color: var(--y); text-shadow: 0 0 28px rgba(247, 197, 30, 0.45); }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fact { padding: 30px 28px 6px 0; border-right: 1px solid var(--line); }
.fact + .fact { padding-left: 28px; }
.fact:last-child { border-right: 0; }
.fact b { display: block; font: 900 clamp(58px, 6vw, 100px)/0.9 var(--f-disp); color: var(--y); letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.fact b small { font-size: 0.5em; color: var(--paper); }
.fact > span { display: block; margin-top: 16px; color: var(--mute); font-size: 15px; line-height: 1.7; }
@media (max-width: 960px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 26px 16px 22px 0; border-bottom: 1px solid var(--line); }
  .fact + .fact { padding-left: 0; }
  .fact:nth-child(2n) { padding-left: 16px; border-right: 0; }
  .fact:nth-child(2n+1) { border-right: 1px solid var(--line); }
}

/* =========================================================
   三個像：拉霸翻字
   ========================================================= */
.xiang { position: relative; background: var(--ink); }
.xiang__pin { position: relative; height: 100svh; min-height: 640px; display: flex; align-items: stretch; overflow: hidden; padding: 116px 0 56px; }
.xiang__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas: "head ." "word panels" "word progress";
  column-gap: 5vw; align-items: center; width: min(100% - 2 * var(--gutter), var(--max)); height: 100%;
}
.xiang__head { grid-area: head; align-self: start; }
.xiang__head .h2 { font-size: clamp(30px, 3.2vw, 52px); }
.xiang__word {
  grid-area: word; display: flex; align-items: flex-start;
  font: 900 min(19vw, 50vh)/1 var(--f-serif); letter-spacing: -0.02em; align-self: end;
}
.xiang__slot { height: 1.2em; overflow: hidden; position: relative; }
.xiang__reel { display: flex; flex-direction: column; transition: transform 0.9s cubic-bezier(0.7, -0.25, 0.25, 1.25); }
.xiang__reel span { display: block; height: 1.2em; line-height: 1.2; }
.xiang__fixed { line-height: 1.2; color: var(--y); text-shadow: 0 0 80px rgba(247, 197, 30, 0.3); transition: transform 0.5s var(--ease); }
.xiang__fixed.pulse { animation: pulse 0.6s var(--ease); }
@keyframes pulse { 40% { transform: scale(1.05); } }
.xiang__panels { grid-area: panels; position: relative; min-height: 400px; align-self: center; }
.xpanel { position: absolute; inset: 0 0 auto 0; opacity: 0; visibility: hidden; transform: translateY(26px); transition: opacity 0.55s, transform 0.7s var(--ease), visibility 0.55s; }
.xpanel.is-active { opacity: 1; visibility: visible; transform: none; }
.xpanel__no { font: 500 12px/1 var(--f-mono); letter-spacing: 0.22em; color: var(--y); margin-bottom: 18px; }
.xpanel__word { display: none; }
.xpanel h3 { font-size: clamp(26px, 2.5vw, 38px); line-height: 1.3; margin-bottom: 18px; }
.xpanel h3 small { display: block; font: italic 400 0.62em/1.3 var(--f-it); letter-spacing: 0.02em; color: var(--mute); margin-bottom: 8px; }
.xpanel p { color: #cfcabc; font-size: 17px; max-width: 30em; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tags li { border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 14px; color: var(--paper); background: rgba(243, 239, 228, 0.03); }
.xiang__progress { grid-area: progress; display: flex; gap: 22px; align-self: end; font: 500 12px/1 var(--f-mono); letter-spacing: 0.18em; color: var(--dim); }
.xiang__progress span { position: relative; padding-top: 14px; min-width: 64px; transition: color 0.4s; }
.xiang__progress span::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); }
.xiang__progress span::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--y); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.xiang__progress span.is-active { color: var(--paper); }
.xiang__progress span.is-active::after { transform: scaleX(1); }
.xiang__bg { position: absolute; left: 0; right: 0; top: 96px; z-index: 0; pointer-events: none; height: 12vw; }
.xiang__bg span {
  position: absolute; right: var(--gutter); top: 0; white-space: nowrap;
  font: 900 11vw/0.9 var(--f-disp); text-transform: uppercase; letter-spacing: 0.01em;
  color: transparent; -webkit-text-stroke: 1px rgba(247, 197, 30, 0.13);
  opacity: 0; transform: translateX(6vw); transition: opacity 0.8s, transform 1.2s var(--ease);
}
.xiang__bg span.is-active { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .xiang__pin { display: block; height: auto; min-height: 0; padding: 90px 0 40px; }
  .xiang__grid { height: auto; }
  .xiang__grid { display: block; }
  .xiang__word, .xiang__progress, .xiang__bg { display: none; }
  .xiang__head .h2 { font-size: clamp(32px, 9vw, 46px); }
  .xiang__panels { min-height: 0; margin-top: 30px; }
  .xpanel { position: relative; opacity: 1; visibility: visible; transform: none; padding: 34px 0 44px; border-top: 1px solid var(--line); }
  .xpanel .xpanel__word { display: flex; font: 900 clamp(110px, 34vw, 170px)/1.05 var(--f-serif); color: var(--paper); margin: 4px 0 18px; }
  .xpanel__word b { color: var(--y); font-weight: 900; }
}

/* =========================================================
   NOW：跑馬燈招牌
   ========================================================= */
.now {
  position: relative; overflow: hidden;
  padding: clamp(110px, 17vh, 200px) 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(247, 197, 30, 0.12), transparent 70%), var(--ink-2);
  border-top: 1px solid var(--line);
}
.now__head { text-align: center; }
.now__head .kicker { justify-content: center; }
.now__head .kicker::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.board {
  position: relative; margin: 46px auto 60px; max-width: 1120px;
  padding: clamp(56px, 8vw, 104px) clamp(28px, 6vw, 90px);
  border-radius: 22px; text-align: center;
  background: radial-gradient(ellipse at 50% 40%, #221e13, #0f0e0b 75%);
  box-shadow:
    inset 0 0 0 1px rgba(247, 197, 30, 0.4),
    0 0 0 12px #17150f, 0 0 0 13px rgba(247, 197, 30, 0.22),
    0 50px 140px -30px rgba(247, 197, 30, 0.25);
}
.bulbs { position: absolute; inset: 16px; pointer-events: none; }
.bulb {
  position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: #4a3d12; animation: chase 1.35s steps(1) infinite;
}
@keyframes chase {
  0% { background: #fff6cf; box-shadow: 0 0 6px 2px rgba(255, 230, 140, 0.95), 0 0 22px 6px rgba(247, 197, 30, 0.55); }
  33.33% { background: #4a3d12; box-shadow: none; }
}
.board__small { font: 500 clamp(11px, 1vw, 13px)/1 var(--f-mono); letter-spacing: 0.32em; color: var(--mute); margin-bottom: clamp(22px, 3vw, 34px); }
.board__title {
  margin: 0; font: 900 clamp(40px, 7.4vw, 112px)/0.92 var(--f-disp); letter-spacing: 0.02em; text-transform: uppercase;
  color: #fffaf0; text-shadow: 0 0 2px #fff, 0 0 26px rgba(247, 197, 30, 0.55), 0 0 70px rgba(247, 197, 30, 0.25);
}
.board__title span { display: block; }
.board__rule { width: min(360px, 60%); height: 1px; margin: clamp(22px, 3vw, 36px) auto; background: linear-gradient(90deg, transparent, var(--y), transparent); }
.board__city { margin: 0; font: 700 clamp(20px, 2.6vw, 38px)/1 var(--f-disp); letter-spacing: 0.28em; color: var(--y); text-transform: uppercase; }
.board__city .soon { animation: neon 6s infinite; }
@keyframes neon { 0%, 18%, 22%, 60%, 64%, 100% { opacity: 1; } 20%, 62% { opacity: 0.25; } }
.now__copy { max-width: 760px; margin: 0 auto; text-align: center; }
.now__copy h2 { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.45; margin-bottom: 16px; text-wrap: balance; }
.now__copy p { color: var(--mute); margin-bottom: 32px; }

/* =========================================================
   WORKS：票根
   ========================================================= */
.works { position: relative; padding: clamp(110px, 17vh, 200px) 0 clamp(130px, 19vh, 230px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); align-items: end; gap: 4vw; }
.sec-head .lead { margin: 0; }
.tickets { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 48px; margin-top: 76px; }
.tickets > li { perspective: 1100px; }
.tickets > li:nth-child(even) { transform: translateY(56px); }
.ticket {
  --r: 0deg; --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr);
  min-height: 250px; color: var(--ink); background: var(--paper); border-radius: 16px;
  transform: rotate(var(--r)) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.6s var(--ease), box-shadow 0.6s;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.75);
  -webkit-mask: radial-gradient(circle at 104px 0, #0000 13px, #000 13.5px) top / 100% 51% no-repeat, radial-gradient(circle at 104px 100%, #0000 13px, #000 13.5px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at 104px 0, #0000 13px, #000 13.5px) top / 100% 51% no-repeat, radial-gradient(circle at 104px 100%, #0000 13px, #000 13.5px) bottom / 100% 51% no-repeat;
}
.tickets > li:nth-child(1) .ticket { --r: -2.2deg; }
.tickets > li:nth-child(2) .ticket { --r: 1.8deg; }
.tickets > li:nth-child(3) .ticket { --r: 1.2deg; }
.tickets > li:nth-child(4) .ticket { --r: -1.6deg; }
.ticket.is-hover { --r: 0deg; transition: transform 0.15s linear, box-shadow 0.6s; box-shadow: 0 50px 90px -25px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(247, 197, 30, 0.4); }
.ticket::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.55), transparent 45%);
  mix-blend-mode: soft-light;
}
.ticket.is-hover::after { opacity: 1; }
.ticket__stub {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 24px 0; background: var(--y); border-radius: 16px 0 0 16px;
  border-right: 2px dashed rgba(11, 11, 10, 0.35);
}
.ticket__year { font: 900 44px/1 var(--f-disp); writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: 0.04em; }
.ticket__admit { font: 600 10px/1 var(--f-mono); letter-spacing: 0.26em; writing-mode: vertical-rl; transform: rotate(180deg); }
.ticket__body { position: relative; padding: 28px 30px 30px 34px; display: flex; flex-direction: column; }
.ticket__cat { font: 500 11px/1.4 var(--f-mono); letter-spacing: 0.18em; color: #6d685c; margin: 0 0 12px; padding-right: 92px; }
.ticket__title { font-size: clamp(21px, 1.85vw, 27px); line-height: 1.35; margin-bottom: 12px; letter-spacing: 0.01em; }
.ticket__title .en { font-family: var(--f-disp); font-weight: 900; letter-spacing: 0.03em; font-size: 1.12em; line-height: 1.05; display: block; }
.ticket__role { color: #45413a; font-size: 15px; line-height: 1.7; margin: 0; }
.ticket__foot { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.ticket__no { font: 500 10.5px/1 var(--f-mono); letter-spacing: 0.18em; color: #6d685c; }
.barcode { width: 112px; height: 30px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); opacity: 0.85; }
.stamp {
  position: absolute; right: 22px; top: 20px;
  border: 2px solid var(--ink); box-shadow: inset 0 0 0 2px var(--paper), inset 0 0 0 3.5px var(--ink);
  padding: 7px 11px 6px; border-radius: 6px; transform: rotate(-9deg);
  font-weight: 900; font-size: 13px; line-height: 1.25; letter-spacing: 0.08em; text-align: center; color: var(--ink);
}
.stamp--inline { position: static; transform: rotate(-6deg); flex: none; }
.stamp--now { background: var(--ink); color: var(--y); box-shadow: none; font-family: var(--f-disp); font-size: 17px; letter-spacing: 0.16em; }
@media (max-width: 960px) {
  .sec-head { grid-template-columns: 1fr; gap: 18px; }
  .tickets { grid-template-columns: 1fr; gap: 34px; margin-top: 50px; }
  .tickets > li:nth-child(even) { transform: none; }
  .tickets > li:nth-child(odd) .ticket { --r: -0.8deg; }
  .tickets > li:nth-child(even) .ticket { --r: 0.8deg; }
  .ticket { grid-template-columns: 76px minmax(0, 1fr); min-height: 0;
    -webkit-mask: radial-gradient(circle at 76px 0, #0000 11px, #000 11.5px) top / 100% 51% no-repeat, radial-gradient(circle at 76px 100%, #0000 11px, #000 11.5px) bottom / 100% 51% no-repeat;
    mask: radial-gradient(circle at 76px 0, #0000 11px, #000 11.5px) top / 100% 51% no-repeat, radial-gradient(circle at 76px 100%, #0000 11px, #000 11.5px) bottom / 100% 51% no-repeat; }
  .ticket__year { font-size: 34px; }
  .ticket__body { padding: 22px 20px 22px 24px; }
  .ticket__cat { padding-right: 70px; }
  .stamp { right: 14px; top: 14px; font-size: 11.5px; padding: 5px 8px 4px; }
  .ticket__foot:has(.stamp--inline) .ticket__no { display: none; }
  .badge { width: 104px; }
  .barcode { width: 84px; }
}

/* =========================================================
   PROCESS：演出流程表（Cue sheet）
   ========================================================= */
.process { position: relative; padding: clamp(110px, 17vh, 200px) 0; background: var(--ink-2); border-top: 1px solid var(--line); }
.process__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 6vw; }
.process__head { position: sticky; top: 130px; align-self: start; }
.process__head .lead { margin-top: 26px; }
.cues { position: relative; list-style: none; padding-left: 66px; }
.cues__track { position: absolute; left: 17px; top: 10px; bottom: 60px; width: 2px; background: var(--line); }
.cues__fill { position: absolute; inset: 0; background: linear-gradient(var(--y-hot), var(--y)); transform-origin: top; box-shadow: 0 0 16px rgba(247, 197, 30, 0.7); }
.js .cues.is-armed .cues__fill { transform: scaleY(0); }
.cue { position: relative; padding-bottom: clamp(48px, 7vh, 74px); }
.cue::before {
  content: ""; position: absolute; left: -57px; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--y); border: 2px solid var(--y);
  box-shadow: 0 0 0 7px rgba(247, 197, 30, 0.14), 0 0 26px rgba(247, 197, 30, 0.8);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.cue__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font: 500 12px/1.4 var(--f-mono); letter-spacing: 0.16em; color: var(--mute); }
.cue__no { color: var(--y); transition: color 0.4s; }
.cue h3 { font-size: clamp(25px, 2.5vw, 38px); line-height: 1.25; margin: 12px 0 10px; transition: color 0.4s; }
.cue h3 small { font: italic 400 0.6em/1 var(--f-it); color: var(--mute); margin-left: 12px; letter-spacing: 0.02em; }
.cue p { color: var(--mute); max-width: 32em; margin: 0; transition: color 0.4s; }
.js .cues.is-armed .cue:not(.is-lit)::before { background: var(--ink-2); border-color: var(--dim); box-shadow: none; }
.js .cues.is-armed .cue:not(.is-lit) .cue__no { color: var(--dim); }
.js .cues.is-armed .cue:not(.is-lit) h3 { color: #4c4a44; }
.js .cues.is-armed .cue:not(.is-lit) p { color: #4c4a44; }
.js .cues.is-armed .cue.is-lit p { color: #cfcabc; }
@media (max-width: 960px) {
  .process__grid { grid-template-columns: 1fr; gap: 56px; }
  .process__head { position: static; }
  .cues { padding-left: 46px; }
  .cues__track { left: 9px; }
  .cue::before { left: -45px; width: 16px; height: 16px; }
}

/* =========================================================
   PARTNERS
   ========================================================= */
.partners { position: relative; padding: clamp(110px, 17vh, 200px) 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 70px; }
.card {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden; isolation: isolate;
  padding: 38px 34px 40px; border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(243, 239, 228, 0.035), rgba(243, 239, 228, 0) 70%);
  transition: border-color 0.4s, transform 0.6s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.45s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(247, 197, 30, 0.17), transparent 60%);
}
.card:hover { border-color: rgba(247, 197, 30, 0.45); transform: translateY(-6px); }
.card:hover::before { opacity: 1; }
.card__for { font: 500 11px/1 var(--f-mono); letter-spacing: 0.2em; color: var(--y); }
.card__icon { width: 54px; height: 54px; margin: 30px 0 26px; color: var(--paper); }
.card__icon svg { width: 100%; height: 100%; }
.card h3 { font-size: clamp(24px, 2vw, 30px); line-height: 1.3; }
.card__quote { margin: 12px 0 24px; font-size: 17px; font-weight: 700; color: var(--y); }
.card ul { list-style: none; border-top: 1px solid var(--line); }
.card li { position: relative; padding: 13px 0 13px 24px; border-bottom: 1px solid var(--line); color: #cfcabc; font-size: 15.5px; line-height: 1.6; }
.card li::before { content: "✦"; position: absolute; left: 0; top: 13px; color: var(--y); font-size: 12px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; margin-top: 46px; } }

/* =========================================================
   CONTACT：黃色謝幕
   ========================================================= */
.contact { position: relative; overflow: hidden; background: var(--y); color: var(--ink); padding: clamp(110px, 16vh, 190px) 0 0; }
.contact .kicker { color: var(--ink); }
.contact__big { margin: 0; font: 900 clamp(68px, 13.4vw, 230px)/0.84 var(--f-disp); letter-spacing: -0.005em; text-transform: uppercase; }
.contact__big > span { display: block; }
.contact__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 4vw; }
.badge { position: relative; flex: none; width: clamp(130px, 15vw, 230px); aspect-ratio: 1; margin-bottom: 1vw; }
.badge__ring { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge__ring text { font: 600 12.2px/1 var(--f-mono); letter-spacing: 0.12em; fill: var(--ink); }
.badge__el { position: absolute; left: 28%; top: 31%; width: 44%; color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.contact__big .it { font: italic 400 0.86em/0.9 var(--f-it); text-transform: none; letter-spacing: -0.01em; }
.contact__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 5vw; align-items: end; margin-top: clamp(30px, 5vh, 56px); }
.contact__zh { font-size: clamp(25px, 2.7vw, 42px); line-height: 1.4; margin: 0 0 14px; text-wrap: balance; }
.contact__row p { color: rgba(11, 11, 10, 0.75); max-width: 30em; }
.contact__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.contact__info { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: 22px 56px; margin: clamp(60px, 9vh, 96px) 0 0; padding-top: 26px; border-top: 2px solid var(--ink); }
.contact__info dt { font: 600 11px/1.4 var(--f-mono); letter-spacing: 0.18em; opacity: 0.65; margin-bottom: 8px; }
.contact__info dd { margin: 0; font-size: 15.5px; line-height: 1.6; font-weight: 500; }
.contact__info a { text-decoration: none; border-bottom: 1.5px solid rgba(11, 11, 10, 0.35); }
.contact__info a:hover { border-color: var(--ink); }
.parade { position: relative; height: 150px; margin-top: 50px; border-bottom: 2px solid var(--ink); overflow: hidden; }
.walker { position: absolute; bottom: -1px; left: 0; color: var(--ink); animation: walk 34s linear infinite; }
.walker svg { width: 100%; height: auto; animation: bob 0.55s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.walker--big { width: 128px; }
.walker--small { width: 72px; animation-delay: -1.6s; }
.walker--small svg { animation-duration: 0.42s; }
@keyframes walk { from { transform: translateX(calc(100vw + 40px)); } to { transform: translateX(-260px); } }
@keyframes bob { from { transform: translateY(0) rotate(-1.2deg); } to { transform: translateY(-5px) rotate(1.2deg); } }
.burst { position: fixed; z-index: 260; width: 10px; height: 10px; margin: -5px; border-radius: 50%; pointer-events: none; }
@media (max-width: 960px) {
  .contact__row { grid-template-columns: 1fr; }
  .contact__cta { justify-content: flex-start; }
  .contact__info { grid-template-columns: 1fr 1fr; gap: 22px 24px; }
}
@media (max-width: 520px) { .contact__info { grid-template-columns: 1fr; } }

/* ---------- 頁尾 ---------- */
.foot { padding: 56px 0 44px; background: var(--ink); border-top: 1px solid var(--line); }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; font-size: 14px; }
.foot__links a { text-decoration: none; color: var(--mute); }
.foot__links a:hover { color: var(--y); }
.foot__legal { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; border-top: 1px solid var(--line); font: 500 11.5px/1.7 var(--f-mono); letter-spacing: 0.08em; color: var(--dim); }

/* ---------- 減少動態 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .grain, .hero__bigword, .ticker__track, .walker { animation: none !important; }
  .walker--big { transform: translateX(60vw); }
  .walker--small { transform: translateX(calc(60vw + 150px)); }
  .bulb { animation: none !important; background: #fff6cf; box-shadow: 0 0 10px 2px rgba(247, 197, 30, 0.6); }
  .bulb:nth-child(3n) { background: #4a3d12; box-shadow: none; }
}
