/* =========================================================
   ProArt 未來創藝節 Landing Page
   ========================================================= */

/* 自架開源字型（SIL OFL 1.1，可商用；授權見 fonts/OFL-*.txt）
   只保留網站用到的字，新增文字後執行 tools/build-fonts.py 重新產生 */
/* @font-supplement:start */
/* 後台補字（tools/build-font-supplement.py 產生，勿手改）：只有頁面出現這些字時才下載對應的小檔。
   必須寫在主字型 @font-face 之前：同名字型後宣告的優先，主字型有的字永遠先用主字型。 */
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-00.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+A2-201D; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-01.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+2022-2582; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-02.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+2583-2725, U+2727-3116; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-03.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+3117-4E82; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-04.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+4E88-4F5E; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-05.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+4F63-5043; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-06.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+5047-5140; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-07.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+5141-5216; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-08.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+5224-530D; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-09.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+530F-53F8; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-10.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+53FB-54B3; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-11.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+54B8-5599; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-12.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+559A-566B; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-13.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+566C-5783; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-14.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+5793-58E4; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-15.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+58E9-59B9; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-16.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+59BB-5AD7; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-17.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+5AD8-5BC7; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-18.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+5BCC-5CB8; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-19.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+5CD2-5E1F; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-20.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+5E25-5F17; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-21.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+5F18-6016; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-22.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+601B-60F4; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-23.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+60F6-61CD; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-24.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+61E3-62BC; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-25.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+62BF-63A3; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-26.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+63A9-64BE; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-27.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+64BF-65A4; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-28.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+65A5-6698; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-29.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+669D-6789; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-30.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+678B-68AF; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-31.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+68B0-69F3; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-32.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+69FD-6B72; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-33.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+6B77-6C61; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-34.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+6C68-6D2A; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-35.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+6D2B-6E1B; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-36.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+6E1D-6F20; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-37.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+6F22-7009; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-38.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+700B-7169; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-39.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+716C-726F; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-40.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+7272-73C0; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-41.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+73CA-74F6; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-42.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+74F7-75DB; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-43.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+75DE-76C8; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-44.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+76CA-77D3; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-45.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+77D7-7926; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-46.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+792A-7A4B; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-47.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+7A4C-7B8F; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-48.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+7B94-7CDE; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-49.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+7CDF-7DC7; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-50.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+7DCA-7F54; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-51.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+7F55-803F; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-52.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+8046-810A; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-53.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+8116-81F4; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-54.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+81FB-82DE; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-55.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+82DF-83FD; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-56.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+8403-856D; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-57.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+857E-86CB; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-58.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+86D0-8814; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-59.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+8815-8956; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-60.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+895E-8A70; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-61.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+8A73-8B4E; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-62.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+8B4F-8CBF; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-63.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+8CC0-8E0F; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-64.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+8E10-8F1C; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-65.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+8F1D-902E; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-66.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+9035-9117; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-67.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+9118-9211; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-68.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+9214-935B; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-69.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+9365-95A5; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-70.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+95A8-96B8; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-71.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+96B9-978B; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-72.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+978D-98FC; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-73.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+98FD-9A5B; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-74.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+9A62-9C2D; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-75.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+9C31-9EBE; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-76.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+9ECC-FE4C; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-77.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+FE4D-FF34; }
@font-face { font-family: "Noto Sans TC ProArt"; src: url("../fonts/supp/noto-tc-78.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+FF35-FFE3; }
/* @font-supplement:end */
@font-face {
  font-family: "Noto Sans TC ProArt";
  src: url("../fonts/noto-sans-tc-proart.woff2?v=3") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Jost ProArt";
  src: url("../fonts/jost-proart.woff2?v=2") format("woff2");
  font-weight: 200 600; font-style: normal; font-display: swap;
}
:root {
  --paper: #F7F5F2;
  --paper-2: #FBFAF8;
  --ink: #2A2A2E;
  --ink-2: #6B6B72;
  --line: rgba(196, 170, 128, .35);
  --line-soft: rgba(196, 170, 128, .18);
  --gold-1: #E6CFA3;
  --gold-2: #B8935F;
  --gold-3: #7E5F3C;
  --gold-grad: linear-gradient(180deg, #E3C997 0%, #B8935F 52%, #8A6A44 100%);
  --gold-grad-h: linear-gradient(100deg, #D9BC88 0%, #A9834F 55%, #C9A874 100%);
  --blue: #9DB8F2;
  --lilac: #B99AF0;
  --pink: #F3B6C6;
  --card: rgba(255, 255, 255, .78);
  --radius: 6px;
  --shadow: 0 1px 2px rgba(120, 95, 60, .06), 0 12px 32px -12px rgba(120, 95, 60, .18);
  --f-zh: "Noto Sans TC ProArt", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --f-en: "Jost ProArt", "Noto Sans TC ProArt", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --wrap: 1180px;
  --nav-h: 76px;
  --footer-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--f-zh);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  overflow-x: clip;     /* 用 clip 而不是 hidden：hidden 會讓 body 變成捲動容器，sticky 失效 */
  position: relative;
}
/* 全頁極淡的光暈 */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(40vw 50vh at 0% 10%, rgba(243, 182, 198, .22), transparent 70%),
    radial-gradient(35vw 45vh at 100% 30%, rgba(255, 236, 200, .35), transparent 70%),
    radial-gradient(45vw 50vh at 90% 100%, rgba(185, 154, 240, .14), transparent 70%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; position: relative; }
.center { text-align: center; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- Ribbon ---------- */
#ribbon {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  mix-blend-mode: multiply;
}
#ribbon.is-gl { visibility: hidden; }
#ribbon-gl {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.rb { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.rb-wide  { stroke: url(#ribbonGrad); stroke-width: 80; opacity: .12; }
.rb-mid   { stroke: url(#ribbonGrad); stroke-width: 44; opacity: .2; }
.rb-core  { stroke: url(#ribbonGrad); stroke-width: 16; opacity: .3; }
.rb-shine { stroke: #fff; stroke-width: 2; opacity: .55; }
.rb-head  { fill: #fff; filter: drop-shadow(0 0 8px rgba(185, 154, 240, .9)) drop-shadow(0 0 18px rgba(157, 184, 242, .8)); opacity: 0; }

main, .footer { position: relative; z-index: 2; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(251, 250, 248, .78);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line-soft);
}
.nav__inner {
  height: 100%;
  width: min(1320px, calc(100% - 48px)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 14px; }
.nav__asus { height: 20px; width: auto; }
.nav__sep { width: 1px; height: 20px; background: rgba(42, 42, 46, .3); }
.nav__proart { font-family: var(--f-en); font-weight: 400; font-size: 19px; letter-spacing: .01em; color: #3a3a3e; }
.nav__links { display: flex; gap: 6px; }
.nav__links a {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: 6px 16px;
  line-height: 1.25;
  border-left: 1px solid var(--line-soft);
}
.nav__links a:first-child { border-left: 0; }
.nav__links span { font-size: 14px; letter-spacing: .08em; }
.nav__links small { font-family: var(--f-en); font-size: 10.5px; letter-spacing: .16em; color: var(--ink-2); }
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: -4px;
  width: 0; height: 2px; background: var(--gold-grad-h);
  transform: translateX(-50%); transition: width .35s ease;
}
.nav__links a:hover::after, .nav__links a.is-active::after { width: 28px; }
.nav__links a.is-active span { color: var(--gold-3); }
.nav__cc { height: 42px; width: auto; }
.nav__cc-link, .nav__brand { transition: opacity .3s; }
.nav__cc-link:hover, .nav__brand:hover { opacity: .7; }
.nav__toggle { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; }
.nav__toggle i { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: transform .3s; }
.nav__toggle i:first-child { top: 15px; } .nav__toggle i:last-child { top: 24px; }
.nav__toggle[aria-expanded="true"] i:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] i:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.nav__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.nav__progress i {
  display: block; height: 100%; width: 100%;
  transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), var(--lilac), var(--pink));
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 20px) 24px 120px;
}
.hero__bg {
  position: absolute; top: 0; left: 0; right: 0;
  height: max(110svh, 720px);
  background: url("../assets/kv-bg.jpg") center / cover no-repeat;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
  /* 底部漸隱銜接頁面，不留接縫 */
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 92%);
          mask-image: linear-gradient(to bottom, #000 62%, transparent 92%);
}
.hero__content { text-align: center; position: relative; z-index: 2; }
.hero__title { display: flex; flex-direction: column; align-items: center; line-height: 1; }
/* ProArt 官方 logo（圖檔） */
.hero__proart {
  display: block;
  width: clamp(240px, 32vw, 600px); height: auto;
  margin-bottom: clamp(10px, 1.4vw, 22px);
}
.hero__zh {
  font-weight: 700;
  font-size: clamp(48px, 8vw, 128px);
  letter-spacing: .06em;
  margin-top: .08em;
  background: linear-gradient(180deg, #A9834F 0%, #C9A874 55%, #E4CB9C 100%);
  -webkit-background-clip: text; background-clip: text;
}
.hero__tags {
  margin-top: clamp(18px, 2.6vw, 36px);
  display: flex; align-items: center; justify-content: center;
  gap: clamp(14px, 2.4vw, 38px);
  font-size: clamp(20px, 2.8vw, 44px);
  font-weight: 500; letter-spacing: .12em;
}
.hero__tags span:first-child { font-family: var(--f-en); }
.hero__tags i { font-style: normal; font-weight: 200; color: var(--gold-2); font-family: var(--f-en); }
.hero__date {
  margin: clamp(26px, 3.4vw, 48px) auto 0;
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 34px;
  border: 1px solid var(--gold-2);
  outline: 1px solid var(--line); outline-offset: 4px;
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(4px);
}
.hero__date strong { font-family: var(--f-en); font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: .08em; }
.hero__date span { font-size: 14px; letter-spacing: .2em; color: var(--ink-2); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--f-en); font-size: 11px; letter-spacing: .3em; color: var(--ink-2);
  z-index: 3;
}
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--gold-2), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: var(--ink); animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { to { top: 110%; } }

/* ---------- Generic section ---------- */
.sec { position: relative; padding: clamp(96px, 12vw, 160px) 0; }
.sec[data-tint="gold"]  { background: linear-gradient(180deg, transparent, rgba(240, 222, 190, .22) 20%, rgba(240, 222, 190, .22) 80%, transparent); }
.sec[data-tint="lilac"] { background: linear-gradient(180deg, transparent, rgba(213, 196, 245, .26) 18%, rgba(213, 196, 245, .26) 82%, transparent); }
.sec[data-tint="blue"]  { background: linear-gradient(180deg, transparent, rgba(206, 218, 236, .32) 18%, rgba(206, 218, 236, .32) 82%, transparent); }

/* 金色幾何格線（JS 注入） */
.grid-deco { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; overflow: hidden; }
.grid-deco * { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }

.eyebrow { font-family: var(--f-en); font-size: 14px; letter-spacing: .22em; color: var(--gold-2); text-transform: uppercase; }
.crumb { font-family: var(--f-en); font-size: 14px; letter-spacing: .14em; color: var(--gold-2); margin-bottom: 8px; }
.sec-head h2, .offer__side h2 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 700; letter-spacing: .06em; line-height: 1.25; }
.sec-head.center h2 span { margin-left: .2em; }
.sec-head.center .eyebrow { margin-bottom: 12px; }
.en-title { font-family: var(--f-en); font-size: clamp(15px, 1.5vw, 20px); letter-spacing: .1em; font-weight: 500; margin-top: 8px; line-height: 1.35; }
.lead { font-size: clamp(15px, 1.25vw, 18px); color: var(--ink-2); margin-top: 18px; letter-spacing: .04em; }
.lead.center { max-width: 820px; margin-inline: auto; word-break: keep-all; overflow-wrap: anywhere; }
.body { color: var(--ink-2); max-width: 760px; margin: 28px auto 0; }
.bignum {
  font-family: var(--f-en); font-weight: 200;
  font-size: clamp(120px, 16vw, 240px);
  line-height: .8; letter-spacing: -.04em;
  display: block;
  opacity: .9;
}
.sec-head.split { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 48px); align-items: end; margin-bottom: 40px; }
.sec-head.split .bignum { margin-bottom: -10px; }
.date-pill {
  display: inline-block; margin-top: 18px;
  padding: 6px 22px; border: 1px solid var(--gold-2); border-radius: 999px;
  font-family: var(--f-en); font-size: 18px; letter-spacing: .08em; color: var(--gold-3);
  background: rgba(255, 255, 255, .5);
}
.sec-head .tsutaya__title { font-size: clamp(24px, 2.6vw, 38px); }   /* 要蓋過 .sec-head h2，第一行才放得下 */
.tsutaya__title-l1 { white-space: nowrap; }
.tag-line {
  display: inline-block; padding: 4px 16px; border: 1px solid var(--ink); border-radius: 999px;
  font-size: 13px; letter-spacing: .08em; margin-bottom: 14px; background: rgba(255,255,255,.6);
}
.block-title { text-align: center; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: .1em; margin: 90px 0 34px; font-weight: 500; }
.block-title::before, .block-title::after {
  content: "✦"; color: var(--gold-2); font-size: .5em; vertical-align: middle; margin: 0 14px;
}
.fine { font-size: 13.5px; color: var(--ink-2); margin-top: 14px; }
.chip {
  display: inline-block; padding: 2px 10px; border: 1px solid var(--line);
  border-radius: 3px; font-size: 12.5px; color: var(--gold-3); letter-spacing: .06em; background: rgba(255,255,255,.7);
}

/* TBC 標記 */
.tbc {
  display: inline-block; font-style: normal; font-size: 11px; letter-spacing: .08em;
  padding: 1px 8px; border-radius: 3px; margin-left: 6px;
  color: #B4536A; background: rgba(243, 182, 198, .3); border: 1px dashed rgba(180, 83, 106, .5);
  -webkit-text-fill-color: #B4536A;
}
.tbc-note { font-size: 12px; color: #B4536A; margin-top: 8px; letter-spacing: .08em; }

/* 圖片佔位 */
.ph {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(157, 184, 242, .25), rgba(243, 182, 198, .2) 60%, rgba(230, 207, 163, .3)),
    repeating-linear-gradient(45deg, rgba(196, 170, 128, .08) 0 1px, transparent 1px 12px),
    #fff;
  display: grid; place-items: center;
  overflow: hidden;
}
.ph span { font-size: 12px; color: var(--ink-2); letter-spacing: .1em; padding: 4px 10px; background: rgba(255,255,255,.75); border-radius: 3px; }
.ph--sm { width: 132px; aspect-ratio: 4 / 3; flex-shrink: 0; }
.ph--photo { aspect-ratio: 4 / 3.3; margin: 14px 0 18px; }
.page-card__img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3.3; object-fit: cover;
  border-radius: 4px; margin: 14px 0 18px;
  box-shadow: 0 0 0 1px var(--line-soft);
}
.ph--wide { aspect-ratio: 16 / 8; margin-bottom: 22px; }

/* Buttons */
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 14px 34px; border-radius: 6px;
  font-size: 16px; letter-spacing: .1em; font-weight: 500; line-height: 1.3;
  transition: transform .3s, box-shadow .3s, background-position .6s;
  position: relative;
}
.btn small { font-family: var(--f-en); font-size: 11.5px; letter-spacing: .2em; font-weight: 400; opacity: .85; }
.btn--gold {
  color: #fff;
  background: linear-gradient(100deg, #8A6A44, #C9A874 40%, #A9834F 70%, #8A6A44);
  background-size: 200% 100%;
  box-shadow: 0 10px 26px -10px rgba(126, 95, 60, .6), inset 0 0 0 1px rgba(255,255,255,.25);
}
.btn--gold:hover { background-position: 100% 0; transform: translateY(-2px); }
.btn--gold .tbc { margin-top: 4px; }
.btn--line { color: var(--gold-3); background: rgba(255,255,255,.7); border: 1px solid var(--gold-2); }
.btn--line:hover { background: #fff; transform: translateY(-2px); }
.btn--lg { padding: 18px 56px; font-size: 19px; border-radius: 999px; }

/* ---------- Creator Connect 標誌（hero 與 overview 之間） ---------- */
.cc-intro { position: relative; z-index: 2; display: grid; place-items: center; padding: clamp(28px, 5vw, 64px) 24px 0; }
.cc-intro__logo { width: min(300px, 64vw); height: auto; }
.cc-intro + .sec { padding-top: clamp(56px, 7vw, 96px); }

/* ---------- Overview ---------- */
.overview .sec-head { margin-bottom: 64px; }
.ov-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ov-card {
  position: relative;
  padding: 14px 14px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  /* 上浮用獨立的 translate 屬性，不跟 GSAP 控制的 transform 互相干擾 */
  transition: translate .5s cubic-bezier(.2,.7,.2,1), border-color .5s, box-shadow .5s;
}
.ov-card::before { /* 雙框 */
  content: ""; position: absolute; inset: 5px; border: 1px solid var(--line-soft); border-radius: 3px; pointer-events: none;
}
.ov-card__num {
  position: absolute; top: 18px; left: 24px; z-index: 2;
  font-family: var(--f-en); font-weight: 300; font-size: 44px; line-height: 1;
  color: #fff; text-shadow: 0 2px 12px rgba(80, 60, 120, .25);
  transition: color .5s;
}
.ov-card__art { aspect-ratio: 4 / 3; border-radius: 3px; margin-bottom: 18px; position: relative; overflow: hidden; }
.art-a { background: radial-gradient(circle at 30% 30%, #F2DDB4, transparent 55%), radial-gradient(circle at 80% 80%, #F3B6C6, transparent 60%), linear-gradient(135deg, #E9D3AA, #C9A874); }
.art-b { background: radial-gradient(circle at 70% 30%, #E6D9FB, transparent 55%), radial-gradient(circle at 20% 80%, #F3B6C6, transparent 60%), linear-gradient(135deg, #C9B4F2, #9F86E0); }
.art-c { background: radial-gradient(circle at 30% 70%, #DCE7FA, transparent 55%), radial-gradient(circle at 80% 20%, #F7EBD7, transparent 60%), linear-gradient(135deg, #B3C8EE, #8EA6D8); }
.art-d { background: radial-gradient(circle at 60% 40%, #FFF3E2, transparent 55%), radial-gradient(circle at 20% 20%, #C9B6F5, transparent 55%), linear-gradient(135deg, #E8D5B3, #B99AF0); }
.ov-card__art::after { /* 幾何線 */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 100% 100%, transparent 58%, rgba(255,255,255,.55) 58.3%, transparent 58.8%),
    linear-gradient(135deg, transparent 49.7%, rgba(255,255,255,.45) 50%, transparent 50.3%);
}
/* 卡片插圖：去背 PNG 疊在漸層底與幾何線之上 */
.ov-card__art img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.ov-card h3 { font-size: 18px; letter-spacing: .06em; margin: 12px 0 4px; padding: 0 6px; line-height: 1.45; }
.ov-card .chip { margin-left: 6px; }
.ov-card p { font-family: var(--f-en); color: var(--ink-2); letter-spacing: .08em; font-size: 14px; padding: 0 6px; }
.ov-card:hover, .ov-card.is-lit {
  border-color: var(--gold-2);
  box-shadow: 0 2px 4px rgba(120, 95, 60, .08), 0 24px 48px -16px rgba(120, 95, 60, .32);
}
/* 只有滑鼠移上去才上浮；筆觸經過（is-lit）只點亮框線，避免四張高低不齊 */
.ov-card:hover { translate: 0 -8px; }

/* ---------- 01 Offer ---------- */
.offer__layout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); }
.offer__side .sticky { position: sticky; top: calc(var(--nav-h) + 40px); padding-top: 10px; }
.offer__side .bignum { margin: 10px 0 18px; }
/* 左欄跨兩列並黏住：捲動時陪著右欄的優惠一、優惠二往下走
   （優惠一與左欄的置中由 JS 依實際高度設定 margin-top） */
.offer__layout { align-items: start; row-gap: 100px; }
.offer__side { grid-column: 1; grid-row: 1 / span 2; align-self: stretch; }
.offer__main { grid-column: 2; grid-row: 1; }
.offer__layout > .prize-block { grid-column: 2; grid-row: 2; }
.offer__main { display: flex; flex-direction: column; gap: 16px; }

/* ---------- 優惠一票券（原版樣式） ---------- */
.ticket-wrap {
  position: relative;
  filter: drop-shadow(0 14px 22px rgba(120, 95, 60, .14)) drop-shadow(0 1px 1px rgba(120, 95, 60, .08));
}
/* 缺口的金色描邊：只露出票券內側那半圈，金框就能沿著缺口連續 */
.notch {
  position: absolute; top: 50%;
  width: 36px; height: 36px; margin-top: -18px;
  border: 1px solid var(--gold-2); border-radius: 50%;
  pointer-events: none;
}
.notch--l { left: -18px; clip-path: inset(0 0 0 50%); }
.notch--r { right: -18px; clip-path: inset(0 50% 0 0); }
.ticket {
  position: relative;
  background: #fff;
  border: 1px solid var(--gold-2);
  border-radius: 10px;
  padding: 40px 44px 30px;
  text-align: center;
  -webkit-mask: radial-gradient(circle 18px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 18px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 18px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 18px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.ticket::before { content: ""; position: absolute; inset: 8px; border: 1px dashed var(--line); border-radius: 6px; pointer-events: none; }
.ticket__big { font-size: clamp(34px, 4vw, 54px); font-weight: 700; letter-spacing: .04em; margin-top: 4px; }
.ticket__big span { font-family: var(--f-en); font-weight: 500; }
.ticket__sub { color: var(--ink-2); font-size: 14px; }
.code {
  margin: 24px auto 24px; max-width: 420px;
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  border: 1px solid var(--gold-2); border-radius: 6px; padding: 8px 8px 8px 20px; text-align: left;
  background: linear-gradient(90deg, rgba(240,222,190,.25), transparent);
}
.code__label { grid-column: 1; font-size: 11px; color: var(--ink-2); letter-spacing: .14em; }
.code__value { grid-column: 1; align-self: center; font-family: var(--f-en); font-size: 28px; letter-spacing: .1em; font-weight: 600; line-height: 1.2; }
.code__copy {
  grid-column: 2; grid-row: 1;
  border: 1px solid var(--gold-2); background: #fff; border-radius: 4px;
  padding: 10px 14px; font-size: 13px; letter-spacing: .08em; color: var(--gold-3);
  transition: background .3s, color .3s;
}
.code__copy:hover, .code__copy.is-done { background: var(--gold-2); color: #fff; }
.ticket .btn .tbc { margin-top: 4px; }


.mini-head h3 { font-size: clamp(20px, 2vw, 26px); margin-top: 10px; letter-spacing: .06em; line-height: 1.5; font-weight: 500; }
.prize-stack { position: relative; margin-top: 30px; display: flex; flex-direction: column; gap: 22px; }
.prize {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  padding: 22px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow), 6px 6px 0 -1px #fff, 6px 6px 0 0 var(--line), 12px 12px 0 -1px #fff, 12px 12px 0 0 var(--line-soft);
  transform-origin: 50% 0;
}
/* 獎項圖片：預設隱藏（HTML 有 hidden），後台打開「顯示圖片」並上傳圖後才出現 */
.prize:has(> .ph--sm[hidden]) { grid-template-columns: auto 1fr; }
.prize .ph--sm img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.prize .ph--sm img:not([src]) { display: none; }
.prize__no { font-family: var(--f-en); font-size: 38px; font-weight: 200; color: var(--gold-2); line-height: 1; align-self: start; }
.prize h4 { font-size: 20px; letter-spacing: .06em; }
.prize p { color: var(--ink-2); font-size: 14px; }
.prize p b { font-family: var(--f-en); font-size: 20px; }
.quota {
  display: inline-block; margin-top: 8px; padding: 1px 12px;
  border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .12em;
}

.steps { margin-top: 110px; }
.steps__title { text-align: center; font-size: 22px; letter-spacing: .14em; font-weight: 500; margin-bottom: 30px; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: s; position: relative; }
.steps--3 ol { grid-template-columns: repeat(3, 1fr); }
.steps--4 ol { grid-template-columns: repeat(4, 1fr); }
.steps li {
  position: relative; padding: 26px 22px 22px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 4px; text-align: center;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; right: -16px; top: 50%; width: 14px; height: 14px;
  border-top: 1px solid var(--gold-2); border-right: 1px solid var(--gold-2);
  transform: translateY(-50%) rotate(45deg) scale(.7); z-index: 2;
}
.steps__n { position: absolute; top: 8px; left: 12px; font-family: var(--f-en); font-size: 12.5px; color: var(--gold-2); letter-spacing: .1em; }
.steps b { font-size: 18px; letter-spacing: .08em; margin-top: 6px; }
.steps small { font-size: 14px; color: var(--ink-2); line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }

.products {
  margin-top: 26px; display: flex; align-items: center; gap: 20px;
  padding: 16px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  overflow: hidden;
}
.products__label { flex-shrink: 0; font-size: 15px; letter-spacing: .12em; }
.products__list { flex: 1; display: flex; flex-wrap: wrap; gap: 10px; }
/* 「ProArt 全系列」：獨佔一行放在各產品線上方，金色實心強調 */
.products__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.products__all {
  padding: 4px 20px; border-radius: 999px;
  background: var(--gold-grad-h); color: #fff;
  font-size: 14px; font-weight: 500; letter-spacing: .08em; white-space: nowrap;
}
.products__list span { padding: 4px 18px; border: 1px solid var(--gold-2); border-radius: 999px; font-size: 14px; color: var(--gold-3); background: #fff; white-space: nowrap; }

.register-cta { text-align: center; margin-top: 44px; }
.register-cta .btn .tbc { margin-top: 4px; }

/* ---------- 02 Quiz ---------- */
.fan { position: relative; height: clamp(300px, 34vw, 430px); margin: 60px auto 0; max-width: 980px; }
.fan__card {
  position: absolute; left: 50%; top: 10%;
  width: clamp(130px, 15vw, 196px); aspect-ratio: 3 / 4.2;
  margin-left: calc(clamp(130px, 15vw, 196px) / -2);
  border-radius: 10px; border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 0 0 1px var(--line), 0 20px 40px -14px rgba(90, 60, 140, .35);
  display: grid; place-items: center;
  overflow: hidden;
  transform-origin: 50% 120%;
}
.fan__card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 60% at 20% 20%, rgba(255,255,255,.75), transparent 60%),
    linear-gradient(160deg, transparent 40%, rgba(230, 207, 163, .7) 41%, transparent 43%),
    linear-gradient(150deg, transparent 55%, rgba(230, 207, 163, .5) 56%, transparent 57.5%);
}
.fan__card::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255,255,255,.75); border-radius: 6px; }
.fan__card span { position: relative; z-index: 2; font-size: clamp(15px, 1.5vw, 20px); letter-spacing: .14em; font-weight: 500; color: #4a3b66; background: rgba(255,255,255,.7); padding: 4px 12px; border-radius: 3px; }
/* 人格卡：先以問號呈現，測驗後揭曉 */
.fan__card .fan__q {
  background: none; padding: 0;
  font-family: var(--f-en); font-weight: 300; line-height: 1;
  font-size: clamp(56px, 6vw, 88px); letter-spacing: 0;
  color: #fff;
  text-shadow: 0 2px 10px rgba(90, 60, 140, .35), 0 0 1px rgba(90, 60, 140, .4);
}
.c1 { background: linear-gradient(160deg, #E7DDFB, #C5B0F0 50%, #F3C9D6); }
.c2 { background: linear-gradient(160deg, #F6E3EA, #D7C2F4 55%, #B8C8F2); }
.c3 { background: linear-gradient(160deg, #F7EEDC, #E1CFF6 50%, #C3A6EE); z-index: 3; }
.c4 { background: linear-gradient(160deg, #E2E9FB, #C8B5F2 55%, #F2C2D2); }
.c5 { background: linear-gradient(160deg, #F7DCE6, #CFB9F3 50%, #ADC2EF); }

.quiz__cta { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 30px; }
/* 手動刮刮樂：底下是提示文字，上面蓋一層銀膜（canvas） */
.scratch-hint {
  position: relative; display: inline-block; margin-top: 4px;
  border-radius: 8px; overflow: hidden;
  user-select: none; -webkit-user-select: none;   /* 刮的時候不要選取到文字 */
  background: linear-gradient(135deg, #FFF9EE, #F5E6CA);
  box-shadow: 0 6px 18px -10px rgba(120, 95, 60, .4);
}
.scratch-hint__text {
  padding: 14px 26px;
  font-size: 15px; font-weight: 500; letter-spacing: .08em; white-space: nowrap;
  color: var(--gold-3);
}
.scratch-hint__foil {
  position: absolute; inset: 0; width: 100%; height: 100%;
  touch-action: none; cursor: grab;
  transition: opacity .4s ease;
}
.scratch-hint__foil:active { cursor: grabbing; }
.scratch-hint.is-done .scratch-hint__foil { opacity: 0; pointer-events: none; }

.gift-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gift {
  position: relative; padding: 14px 14px 18px; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.gift .ph { aspect-ratio: 1 / 1; margin-bottom: 10px; }
.gift .ph span { font-size: 11px; padding: 3px 6px; }
/* 贈品圖：疊在原本的漸層斜線背景上，等比縮放置中 */
.ph--gift img {
  position: relative; z-index: 1;
  width: 76%; height: 76%; object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(60, 48, 34, .16));
  transition: transform .4s ease;
}
.gift:hover .ph--gift img { transform: scale(1.05); }
.gift b { font-size: 14px; letter-spacing: .04em; font-weight: 500; display: block; line-height: 1.4; }
.gift__no { position: absolute; right: 16px; top: 16px; z-index: 2; font-family: var(--f-en); font-size: 13px; color: var(--gold-3); background: #fff; padding: 0 8px; border-radius: 3px; }

/* ---------- 03 Tsutaya ---------- */
.pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: 70px; perspective: 1400px; }
.page-card {
  position: relative; padding: 26px 22px 28px;
  /* 淺藍粉漸層（與示意圖背景框同色系），取代原本偏黃的米色 */
  /* 斜線放在漸層上面並加深一點，大面積卡片上才看得出來 */
  background:
    repeating-linear-gradient(45deg, rgba(184, 150, 110, .13) 0 1px, transparent 1px 12px),
    linear-gradient(135deg, rgba(157, 184, 242, .25), rgba(243, 182, 198, .2) 60%, rgba(230, 207, 163, .3)),
    #fff;
  border: 1px solid var(--line);
  border-radius: 3px 10px 10px 3px;
  box-shadow: -10px 0 18px -14px rgba(120, 100, 170, .28) inset, var(--shadow);
  text-align: center;
  transform-origin: 0 50%;
}
.page-card::before { /* 書頁疊層 */
  content: ""; position: absolute; inset: 6px -6px -6px 6px; z-index: -1;
  background: linear-gradient(135deg, #F3F1FB, #F8EFF4); border: 1px solid var(--line-soft); border-radius: 3px 10px 10px 3px;
}
.page-card__en { font-family: var(--f-en); font-size: 34px; font-weight: 300; line-height: 1; letter-spacing: .02em; color: var(--gold-2); }
.page-card__zh { font-size: 15px; letter-spacing: .14em; margin-top: 6px; }
.page-card h4 { font-size: 19px; letter-spacing: .08em; text-align: center; margin-top: 18px; }
.page-card h4 em { font-style: normal; font-family: var(--f-en); font-weight: 300; color: var(--gold-2); font-size: 26px; margin-right: 6px; }
.page-card > p:last-child { text-align: center; font-size: 14px; color: var(--ink-2); margin-top: 8px; word-break: keep-all; overflow-wrap: anywhere; }
.hash {
  border: 0; padding: 0 6px; margin: 2px 0; border-radius: 3px;
  background: rgba(157, 184, 242, .22); color: #3D5BA9; font-size: 13.5px; font-weight: 500;
}
.hash:hover { background: rgba(157, 184, 242, .4); }

.rewards { display: grid; grid-template-columns: 1fr; gap: 44px; max-width: 920px; margin-inline: auto; }
.reward--lounge { padding: 48px 32px 36px; }
.reward--prize {
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(24px, 4vw, 48px); align-items: center;
  padding: 48px clamp(24px, 4vw, 52px) 40px; text-align: left;
}
.reward__media {
  display: grid; place-items: center; aspect-ratio: 4 / 3.2; border-radius: 6px; padding: 22px;
  background:
    linear-gradient(135deg, rgba(157, 184, 242, .25), rgba(243, 182, 198, .2) 60%, rgba(230, 207, 163, .3)),
    repeating-linear-gradient(45deg, rgba(196, 170, 128, .08) 0 1px, transparent 1px 12px),
    #fff;
}
.reward__img { width: 72%; max-width: 250px; height: auto; filter: drop-shadow(0 14px 18px rgba(60, 48, 34, .18)); }
.reward__body > p:last-child { font-size: 16px; line-height: 1.8; color: var(--ink-2); word-break: keep-all; overflow-wrap: anywhere; }
.reward {
  position: relative; padding: 18px 18px 30px; text-align: center;
  background: rgba(255,255,255,.85); border: 1px solid var(--gold-2); border-radius: 8px; box-shadow: var(--shadow);
}
.reward::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line-soft); border-radius: 5px; pointer-events: none; }
.reward h4 { font-size: clamp(22px, 2.1vw, 28px); letter-spacing: .06em; margin: 10px 0 12px; line-height: 1.45; word-break: keep-all; overflow-wrap: anywhere; }
.reward h4 .gold-text { display: block; font-family: var(--f-en); font-size: clamp(20px, 1.9vw, 25px); margin-top: 4px; }
.reward > p:last-child { font-size: 16px; line-height: 1.8; color: var(--ink-2); max-width: 560px; margin-inline: auto; word-break: keep-all; overflow-wrap: anywhere; }
.badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); z-index: 3; white-space: nowrap;
  padding: 5px 24px; border-radius: 999px; font-size: 15px; letter-spacing: .12em;
  background: var(--gold-grad-h); color: #fff; box-shadow: 0 6px 14px -6px rgba(126,95,60,.6);
}
.badge--line { background: #fff; color: var(--gold-3); border: 1px solid var(--gold-2); box-shadow: none; }

/* ---------- 04 Talks ---------- */
.timeline { position: relative; margin-top: 70px; display: flex; flex-direction: column; gap: 40px; }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; }
.tl-item:nth-child(odd) .tl-card { grid-column: 1; grid-row: 1; }
.tl-item:nth-child(even) .tl-card { grid-column: 3; grid-row: 1; }
.tl-node {
  grid-column: 2; grid-row: 1; justify-self: center;
  width: 86px; height: 86px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-en); font-size: 19px; color: #fff; letter-spacing: .04em;
  background: radial-gradient(circle at 35% 30%, #F1DDB4, #B8935F 60%, #8A6A44);
  box-shadow: 0 0 0 6px rgba(255,255,255,.7), 0 0 0 7px var(--line);
  filter: grayscale(.85) brightness(1.15); opacity: .7;
  transition: filter .6s, opacity .6s, box-shadow .6s, transform .6s;
  position: relative; z-index: 3;
}
.tl-item.is-lit .tl-node {
  filter: none; opacity: 1; transform: scale(1.06);
  box-shadow: 0 0 0 6px rgba(255,255,255,.8), 0 0 0 7px var(--gold-2), 0 0 36px 6px rgba(230, 207, 163, .9);
}
/* 立體球（three.js 畫在 canvas 上）：拿掉平面漸層與灰階濾鏡，保留外圈光暈 */
.tl-node.has-orb { background: none; filter: none; opacity: 1; box-shadow: 0 0 0 6px rgba(255,255,255,.55), 0 0 0 7px var(--line), 0 14px 22px -10px rgba(90, 70, 40, .35); }
.tl-item.is-lit .tl-node.has-orb { box-shadow: 0 0 0 6px rgba(255,255,255,.8), 0 0 0 7px var(--gold-2), 0 0 22px 2px rgba(230, 207, 163, .4), 0 14px 22px -10px rgba(90, 70, 40, .35); }
.tl-orb { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; }
.tl-node b { position: relative; z-index: 1; font-weight: 500; color: #fff; text-shadow: 0 1px 3px rgba(80, 55, 20, .55); transition: color .6s, text-shadow .6s; }
.tl-item:not(.is-lit) .tl-node.has-orb b { color: #8E7C64; text-shadow: 0 1px 0 rgba(255,255,255,.9); }
.tl-card {
  position: relative; padding: 24px 28px;
  background: rgba(255,255,255,.9); border: 1px solid var(--gold-2); border-radius: 8px; box-shadow: var(--shadow);
}
.tl-card::before { content: ""; position: absolute; inset: 5px; border: 1px solid var(--line-soft); border-radius: 5px; pointer-events: none; }
.tl-item:nth-child(odd) .tl-card::after,
.tl-item:nth-child(even) .tl-card::after { /* 對話框尖角 */
  content: ""; position: absolute; top: 50%; width: 14px; height: 14px; background: #fff;
  border: 1px solid var(--gold-2); transform: translateY(-50%) rotate(45deg);
}
.tl-item:nth-child(odd) .tl-card::after { right: -8px; border-left: 0; border-bottom: 0; }
.tl-item:nth-child(even) .tl-card::after { left: -8px; border-right: 0; border-top: 0; }
.tl-date { font-family: var(--f-en); font-size: 24px; color: var(--gold-2); letter-spacing: .04em; line-height: 1.2; }
.tl-date small { font-size: 14px; color: var(--ink-2); }
.tl-time { font-size: 16px; color: var(--ink-2); letter-spacing: .04em; margin-left: 8px; white-space: nowrap; }
.tl-card h4 { font-size: 19px; letter-spacing: .04em; line-height: 1.5; margin: 6px 0 10px; word-break: keep-all; overflow-wrap: anywhere; }
.tl-speaker { font-size: 14px; color: var(--ink-2); line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; }
.free {
  position: absolute; right: 18px; bottom: 18px;
  width: 46px; height: 46px; border-radius: 6px; border: 1px solid var(--gold-2);
  display: grid; place-items: center; text-align: center; line-height: 1.1;
  font-size: 11px; color: var(--gold-3); letter-spacing: .08em;
}
.talks__cta { text-align: center; margin-top: 70px; }
.talks { padding-bottom: clamp(48px, 6vw, 90px); }   /* 跟收尾區之間不要空太多 */
.talks__cta .fine { margin-bottom: 20px; font-size: 14px; }

/* ---------- Finale ---------- */
/* 收尾區 + footer 剛好一個螢幕高；「圓圈＋文字」整組在導覽列與 footer 之間置中，下方留呼吸空間 */
.finale {
  --ring: min(44svh, 540px, 84vw);
  text-align: center;
  padding: var(--nav-h) 0 0;
  height: calc(100svh - var(--footer-h));
  min-height: 620px;
}
.finale .wrap {
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-bottom: clamp(20px, 4svh, 48px);
}
.finale__ring {
  position: relative; flex-shrink: 0;
  width: var(--ring); aspect-ratio: 1;
  display: grid; place-items: center;
}
.finale__logo { width: 66%; position: relative; z-index: 3; }
.finale__slogan { font-size: clamp(24px, min(3vw, 4.6svh), 44px); letter-spacing: .1em; font-weight: 500; margin-top: clamp(16px, 3svh, 34px); line-height: 1.35; }
/* 標語逐字躍起：JS 把每個字包成 span */
.finale__slogan .hop-ch { display: inline-block; will-change: transform, opacity; }
.js .finale__slogan[data-hop] .hop-ch { opacity: 0; }
.finale__meta {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  font-family: var(--f-en); font-size: clamp(14px, min(1.6vw, 2.3svh), 21px); letter-spacing: .06em; margin-top: 8px;
}
.finale__meta i { width: 1px; height: 1em; background: var(--line); }
.finale__btns { display: flex; justify-content: center; gap: 16px; margin-top: clamp(16px, 3svh, 32px); }
.finale__btns .btn { min-width: 170px; border-radius: 6px; padding: 10px 24px; }
.finale__btns b { font-weight: 500; font-size: 17px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); height: var(--footer-h); padding: 0; display: flex; align-items: center; background: rgba(251,250,248,.8); }
.footer__inner { width: min(var(--wrap), calc(100% - 48px)); display: flex; align-items: center; justify-content: center; }
.footer__copy { font-size: 13px; color: var(--ink-2); font-family: var(--f-en); }

/* ---------- 回到頂端 ---------- */
.to-top {
  position: fixed; right: clamp(16px, 2.6vw, 36px); bottom: calc(var(--footer-h) + 20px); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px);
  border: 1px solid var(--gold-2); color: var(--gold-3);
  box-shadow: 0 10px 24px -12px rgba(120, 95, 60, .45);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .4s ease, transform .4s ease, background .3s, color .3s;
}
.to-top.is-show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: linear-gradient(160deg, #D9BC88, #A9834F); color: #fff; }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.to-top span { font-family: var(--f-en); font-size: 10px; letter-spacing: .2em; margin-left: .2em; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 100;
  transform: translate(-50%, 20px); opacity: 0;
  padding: 12px 24px; border-radius: 999px;
  background: rgba(42, 42, 46, .92); color: #fff; font-size: 14px; letter-spacing: .08em;
  transition: opacity .3s, transform .3s; pointer-events: none;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* reveal 初始狀態（只在 JS 啟用時隱藏，避免無 JS 看不到內容） */
.js .reveal { opacity: 0; transform: translateY(36px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__cc-link { display: none; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(251,250,248,.97); backdrop-filter: blur(12px); padding: 12px 24px 24px; gap: 0;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.2);
  }
  .nav.is-open .nav__links a { border-left: 0; border-bottom: 1px solid var(--line-soft); padding: 14px 0; flex-direction: row; gap: 12px; }
  .ov-grid { grid-template-columns: repeat(2, 1fr); }
  .gift-grid { grid-template-columns: repeat(3, 1fr); }
  .steps--4 ol { grid-template-columns: repeat(2, 1fr); }
  .steps--4 li:nth-child(2)::after { display: none; }
}
@media (max-width: 760px) {
  :root { --nav-h: 62px; }
  .wrap { width: calc(100% - 32px); }
  .nav__inner { width: calc(100% - 32px); }
  .nav__asus { height: 16px; } .nav__proart { font-size: 16px; }
  .hero__tags { letter-spacing: .06em; }
  .hero__date { padding: 10px 22px; }
  .ov-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ov-card { padding: 8px 8px 16px; }
  .ov-card h3 { font-size: 15px; }
  .ov-card__num { font-size: 30px; top: 12px; left: 16px; }
  .ov-card .chip { font-size: 10.5px; margin-left: 4px; }
  .offer__layout { grid-template-columns: 1fr; gap: 20px; }
  .offer__side .sticky { position: static; }
  .offer__main { gap: 60px; padding-top: 0; }
  .ticket { padding: 34px 22px 24px; }
  .code__value { font-size: 22px; }
  .offer__side, .offer__main, .offer__layout > .prize-block { grid-column: 1; grid-row: auto; }
  .offer__layout > .prize-block { margin-top: 40px; }
  .prize { grid-template-columns: auto 1fr; padding: 18px; }
  .prize .ph--sm { grid-column: 1 / -1; width: 100%; }
  .steps--3 ol, .steps--4 ol { grid-template-columns: 1fr; }
  .steps li:not(:last-child)::after { right: 50%; top: auto; bottom: -15px; transform: translateX(50%) rotate(135deg) scale(.7); display: block; }
  .products { flex-direction: column; align-items: stretch; gap: 10px; }
  .sec-head.split { grid-template-columns: 1fr; gap: 0; }
  .tsutaya__title-l1 { white-space: normal; }
  .sec-head.split .bignum { margin-bottom: 10px; }
  .fan { height: 270px; margin-top: 30px; }
  .fan__card { width: 112px; margin-left: -56px; }
  .gift-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .gift { padding: 8px 8px 12px; }
  .gift b { font-size: 12px; }
  .gift__no { right: 12px; top: 12px; font-size: 10px; }
  .pages { grid-template-columns: 1fr; gap: 34px; }
  .rewards { gap: 40px; }
  .reward--prize { grid-template-columns: 1fr; text-align: center; }
  .reward__img { max-width: 220px; }
  .timeline { gap: 28px; }
  .tl-item { grid-template-columns: 64px 1fr; gap: 14px; }
  .tl-item:nth-child(n) .tl-card { grid-column: 2; }
  .tl-node { grid-column: 1; width: 60px; height: 60px; font-size: 14px; }
  .tl-item:nth-child(n) .tl-card::after { left: -8px; right: auto; border: 1px solid var(--gold-2); border-right: 0; border-top: 0; }
  .tl-card { padding: 18px 20px; }
  .tl-card h4 { font-size: 16px; }
  .btn--lg { padding: 16px 32px; font-size: 17px; }
  :root { --footer-h: 56px; }
  .finale__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }   /* 四顆按鈕：手機兩排各兩顆 */
  .finale__btns .btn { min-width: 0; padding: 9px 4px; }
  .finale__btns b { font-size: 14px; letter-spacing: .04em; }
  .finale__btns small { font-size: 8.5px; letter-spacing: .1em; }
  .finale__slogan { letter-spacing: .02em; font-size: min(21px, 5.6vw); white-space: nowrap; }
  .finale { --ring: min(44svh, 80vw); }
  .finale__meta { flex-wrap: nowrap; gap: 8px; font-size: 12px; letter-spacing: .02em; white-space: nowrap; }
  .footer__inner { width: calc(100% - 32px); text-align: center; }
  .rb-wide { stroke-width: 44; } .rb-mid { stroke-width: 28; } .rb-core { stroke-width: 13; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 後台（js/cms.js）：可由後台切換顯示的區塊；預覽時點欄位會短暫框出對應位置 */
[data-cms-show][hidden] { display: none !important; }
.cms-focus { outline: 2px solid rgba(196, 170, 128, .9); outline-offset: 6px; border-radius: 4px; transition: outline-color .3s; }
/* 後台預留的「補充說明」欄位：空白時不佔位置 */
.cms-note { font-size: 13px; color: var(--ink-2); letter-spacing: .04em; line-height: 1.7; margin-top: 16px; }
.cms-note.center { text-align: center; }
.cms-note:empty { display: none; }
.body.cms-note--body { font-size: inherit; margin-top: 12px; }
