/* 品牌主頁。沒有 JS 時，所有區塊都以「排好的最終狀態」呈現；動態只是加在上面。
   字體：標題思源宋體 500、內文思源黑體；中性配色（2026-10-25 選定 C 組）。 */

:root {
  --paper: #f7f6f3;
  --paper-hi: #ffffff;
  --paper-2: #edebe6;
  --paper-3: #dcd9d1;
  --ink: #141414;
  --ink-2: #3c3b38;
  --ink-3: #64625d;
  --rule: #d6d3cb;
  --red: #c8102e;
  --red-hi: #ff6a5c;
  --on-ink: #f2f0eb;
  --on-ink-2: #b4b1aa;
  --rule-ink: #35342f;

  --f-display: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --f-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  /* 品牌字：佑字 肅（日文字體，缺「你」「嗎」等字，只用在字都收齊的地方：品牌名、段落編號） */
  --f-brand: "Yuji Syuku", var(--f-display);
  --dw: 500;
  --dt: .04em;

  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 48px);
  --mast-h: 64px;
  --sec: clamp(96px, 15vh, 168px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  interpolate-size: allow-keywords;
}


/* ---------- 基礎 ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--mast-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(1rem, .25vw + .95rem, 1.125rem);
  line-height: 1.85;
  letter-spacing: .02em;
  font-synthesis: none;
  line-break: strict;
  text-autospace: ideograph-alpha ideograph-numeric;
  hanging-punctuation: allow-end;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--red); color: var(--paper-hi); }

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
p { text-wrap: pretty; }
svg { display: block; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nb { white-space: nowrap; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: var(--pad); top: 12px; z-index: 100; background: var(--paper-hi); padding: .5rem 1rem; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--pad) * 2);
  margin-inline: auto;
  /* 手機橫拿時避開瀏海與圓角（viewport 設了 viewport-fit=cover） */
  padding-inline: max(var(--pad), env(safe-area-inset-left)) max(var(--pad), env(safe-area-inset-right));
}

/* ---------- 共用元件 ---------- */

.label {
  display: flex; align-items: center; gap: .8em;
  margin-bottom: 1.4rem;
  font-family: var(--f-brand); font-weight: 400;
  font-size: 1rem; letter-spacing: .14em;
  color: var(--red);
}
.label::before { content: ""; width: 2.4em; height: 1px; background: currentColor; }

.h2 {
  font-family: var(--f-display); font-weight: var(--dw);
  font-size: clamp(2.1rem, 5.2vw, 4.4rem);
  line-height: 1.3; letter-spacing: var(--dt);
}

.lede { max-width: 32em; margin-top: 1.6rem; color: var(--ink-2); }

.sec-head { margin-bottom: clamp(48px, 8vh, 88px); }

.btn {
  --bg: transparent; --fg: var(--ink);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: .7em;
  min-height: 52px; padding: 0 1.5em;
  border: 1.5px solid var(--ink);
  background: var(--bg); color: var(--fg);
  font-weight: 500; font-size: 1rem; letter-spacing: .04em; line-height: 1.2;
  text-decoration: none;
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--red);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.btn:hover { color: var(--paper-hi); border-color: var(--red); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--ink { --bg: var(--ink); --fg: var(--paper-hi); }
.arr { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .35s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }

/* 家紋（導覽列、頁尾）：顏色跟著文字；寬約 1.4 倍高 */
.mark { height: 1.1em; width: auto; flex: none; fill: currentColor; }

/* 未定的內容：品牌名、聯絡管道。草稿階段刻意做成「待填欄位」的樣子。 */
.tbd {
  display: inline-flex; align-items: baseline; gap: .4em;
  padding: 0 .45em;
  border: 1px dashed currentColor; border-radius: 2px;
}
.tbd::after {
  content: "待定";
  font-family: var(--f-body); font-weight: 500;
  font-size: .62em; letter-spacing: .1em;
  color: var(--red);
}

/* 裁切線：印刷品的四角記號 */
.crop { position: relative; }
@media (min-width: 900px) {
  .crop::before {
    --c: var(--rule); --g: 28px; --l: 20px;
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
      linear-gradient(var(--c), var(--c)) 0 var(--g) / var(--l) 1px,
      linear-gradient(var(--c), var(--c)) var(--g) 0 / 1px var(--l),
      linear-gradient(var(--c), var(--c)) 100% var(--g) / var(--l) 1px,
      linear-gradient(var(--c), var(--c)) calc(100% - var(--g)) 0 / 1px var(--l),
      linear-gradient(var(--c), var(--c)) 0 calc(100% - var(--g)) / var(--l) 1px,
      linear-gradient(var(--c), var(--c)) var(--g) 100% / 1px var(--l),
      linear-gradient(var(--c), var(--c)) 100% calc(100% - var(--g)) / var(--l) 1px,
      linear-gradient(var(--c), var(--c)) calc(100% - var(--g)) 100% / 1px var(--l);
    background-repeat: no-repeat;
  }
}

/* ---------- 頁首 ---------- */

.masthead {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--mast-h);
  transition: background-color .4s, box-shadow .4s;
}
.masthead.is-scrolled { background: var(--paper); box-shadow: 0 1px 0 var(--rule); }
/* 沒有 JS 時不會切換底色：一律用紙色底，捲到深色段落時選單才看得到 */
html:not(.js) .masthead { background: var(--paper); box-shadow: 0 1px 0 var(--rule); }
.masthead__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.wordmark, .nav a { white-space: nowrap; }
.wordmark {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--f-brand); font-weight: 400;
  font-size: 1.2rem; letter-spacing: .08em;
  text-decoration: none;
}
.wordmark .mark { height: 1.15em; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 32px); font-size: .95rem; }
.nav a:not(.nav__cta) {
  padding-block: 4px;
  color: var(--ink-2); text-decoration: none;
  background: linear-gradient(var(--red), var(--red)) no-repeat 0 100% / 0 1.5px;
  transition: background-size .35s var(--ease-out), color .2s;
}
.nav a:not(.nav__cta):hover { color: var(--ink); background-size: 100% 1.5px; }
.nav__cta {
  padding: 7px 16px;
  border: 1.5px solid var(--ink);
  font-weight: 700; text-decoration: none;
  transition: background-color .3s, color .3s;
}
.nav__cta:hover { background: var(--ink); color: var(--paper-hi); }
@media (max-width: 860px) { .nav__opt { display: none; } }
@media (max-width: 400px) {
  .nav { gap: 12px; }
  .nav__sm { display: none; }
  .nav__cta { padding: 6px 12px; }
}

/* 書眉：左側直排，顯示目前所在章節 */
.runhead {
  position: fixed; left: clamp(14px, 1.4vw, 26px); top: 50%; z-index: 40;
  display: flex; align-items: center; gap: .9em;
  writing-mode: vertical-rl;
  font-family: var(--f-brand); font-weight: 400;
  font-size: .9rem; letter-spacing: .3em;
  color: #fff; mix-blend-mode: difference;
  opacity: 0; transform: translateY(-50%);
  transition: opacity .4s;
  pointer-events: none;
}
.runhead.is-on { opacity: .85; }
.runhead.is-swap span { animation: runswap .55s var(--ease-out); }
@keyframes runswap { from { opacity: 0; transform: translateY(-12px); } }
@media (max-width: 1299px) { .runhead { display: none; } }

/* ---------- 序：活字組排 ---------- */

.hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--mast-h) + 6vh) 0 14vh;
}

.hero__guides { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__guides .wrap { height: 100%; }
.hero__guides span {
  display: block; height: 100%;
  background-image: linear-gradient(to right, var(--rule) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  border-right: 1px solid var(--rule);
  opacity: .5;
}
@media (max-width: 760px) { .hero__guides span { background-size: calc(100% / 4) 100%; } }

.hero__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
}

.hero__kicker {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: .9em;
  font-size: .95rem; letter-spacing: .08em; color: var(--ink-2);
}
.hero__kicker::before { content: ""; width: 10px; height: 10px; background: var(--red); flex: none; }

.hero__title {
  grid-column: 1 / -1;
  margin: .28em 0 .32em;
  font-family: var(--f-display); font-weight: var(--dw);
  font-size: clamp(2.2rem, 9.3vw, 8.1rem);
  line-height: 1.08; letter-spacing: var(--dt);
}
.hero__title .line { display: block; white-space: nowrap; }
/* 桌機兩行（第二行縮排一字）；手機拆成三行，字可以放大 */
.hero__title .line--b { display: inline-block; padding-left: 1em; }
.hero__title .line--c { display: inline-block; }

.hero__body { grid-column: 1 / span 7; }
.hero__lead { max-width: 30em; color: var(--ink-2); font-size: clamp(1rem, .45vw + .92rem, 1.2rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.2rem; }

.hero__side {
  position: absolute; right: var(--pad); bottom: 0;
  display: flex; flex-direction: column; align-items: flex-end; gap: 28px;
}
.vert {
  writing-mode: vertical-rl;
  font-family: var(--f-body); font-weight: 400;
  font-size: .9rem; letter-spacing: .3em; color: var(--ink-3);
}


.hero__foot { position: absolute; left: 0; right: 0; bottom: 28px; }
.cue {
  display: inline-flex; align-items: center; gap: .8em;
  font-size: .8rem; letter-spacing: .14em; color: var(--ink-3);
}
.cue i { position: relative; width: 1px; height: 44px; background: var(--rule); overflow: hidden; }
.cue i::after {
  content: ""; position: absolute; inset: 0;
  background: var(--red);
  transform: translateY(-100%);
  animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue { 60%, 100% { transform: translateY(100%); } }

/* 進場：只在 JS 開始組排後才藏起來，3 秒保底一定會出現 */
.js .hero .rise { opacity: 0; }
.js .hero:not(.is-set) .rise { animation: show-late 0s 3.2s forwards; }
.hero.is-set .rise {
  animation: rise 1s var(--ease-out) both;
  animation-delay: calc(.85s + var(--r, 0) * .12s);
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes show-late { to { opacity: 1; } }

.js .hero__guides span { clip-path: inset(0 0 100% 0); }
.hero.is-set .hero__guides span { animation: guides 1.6s var(--ease-io) .05s forwards; }
.js .hero:not(.is-set) .hero__guides span { animation: guides 0s 3.2s forwards; }
@keyframes guides { to { clip-path: inset(0); } }

/* 活字：每個字是一塊鉛字，飛行時看得到字塊，落定後字塊淡出 */
.glyphs { display: block; }
.g { position: relative; display: inline-block; isolation: isolate; }
.g__in { display: inline-block; }
.g__box {
  position: absolute; inset: .07em -.02em .03em; z-index: -1;
  background: var(--paper-hi);
  border: 1px solid rgb(28 26 22 / .32);
  box-shadow: 0 .1em .3em rgb(28 26 22 / .22);
  opacity: 0;
}
.js [data-assemble]:not(.is-set) { opacity: 0; animation: show-late 0s 3.2s forwards; }

/* ---------- 壹：散落 → 排好 ---------- */

.demo { position: relative; background: var(--ink); color: var(--on-ink); }
.demo .label { color: var(--red-hi); }
.demo__track { height: 260vh; }
.demo__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; align-items: center;
  padding-top: var(--mast-h);
  overflow: hidden;
}
.demo__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 6vw, 112px); align-items: center;
}

.steps { margin-top: 2.6rem; display: grid; gap: 1.1rem; max-width: 30em; }
.step {
  display: grid; grid-template-columns: 2.4em 1fr; gap: .2em;
  opacity: .3; transition: opacity .5s;
}
.step.is-active { opacity: 1; }
.step__n { font-family: var(--f-display); font-weight: var(--dw); color: var(--red-hi); }
.demo__bar { position: relative; max-width: 30em; height: 2px; margin-top: 2rem; background: var(--rule-ink); overflow: hidden; }
.demo__bar::after {
  content: ""; position: absolute; inset: 0;
  background: var(--red-hi);
  transform-origin: left; transform: scaleX(var(--p, 1));
}
.demo__note { margin-top: 1.2rem; font-size: .85rem; color: var(--on-ink-2); }
.demo.is-complete .step { opacity: 1; transform: none; }
.demo.is-collapsed .demo__track { height: auto; min-height: 0; }
.demo.is-collapsed .demo__sticky {
  position: static; height: auto; min-height: 100svh;
  padding: var(--sec) 0; overflow: visible;
}

/* 手機外框：內容用容器單位，整支手機等比縮放 */
.phone {
  --w: min(330px, calc((100svh - 150px) * .474));
  position: relative; flex: none;
  width: var(--w); aspect-ratio: 9 / 19;
  padding: calc(var(--w) * .03);
  border-radius: calc(var(--w) * .15);
  background: #0f0e0c;
  box-shadow:
    inset 0 0 0 1.5px #3d3830,
    0 0 0 calc(var(--w) * .008) #2b2823,
    0 60px 120px -40px rgb(0 0 0 / .8);
}
.phone__screen {
  container-type: size;
  position: relative; height: 100%;
  border-radius: calc(var(--w) * .12);
  background: var(--paper-hi); color: var(--ink);
  overflow: hidden;
}
.ph {
  position: relative; height: 100%;
  display: flex; flex-direction: column; gap: 5cqw;
  padding: 14cqw 6cqw 6cqw;
  font-size: 3.6cqw; line-height: 1.5; letter-spacing: .02em;
}
.ph::before {
  content: ""; position: absolute; top: 2.6cqw; left: 50%; z-index: 8;
  width: 26cqw; height: 6.6cqw; margin-left: -13cqw;
  border-radius: 4cqw; background: #0f0e0c;
}
.ph-status {
  position: absolute; inset: 0 0 auto; height: 11.5cqw;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 8cqw;
  font-family: system-ui, sans-serif; font-size: 3.3cqw; font-weight: 700; letter-spacing: 0;
}
.ph-icons { display: flex; align-items: center; gap: 1.3cqw; }
.ph-icons svg { height: 2.9cqw; width: auto; fill: currentColor; }

.ph-photo { aspect-ratio: 16 / 10.5; border-radius: 2cqw; overflow: hidden; }
.ph-photo svg, .post__img svg { width: 100%; height: 100%; }
.ph-name { margin-top: 3.4cqw; font-family: var(--f-display); font-weight: var(--dw); font-size: 8.4cqw; line-height: 1.2; letter-spacing: .06em; }
.ph-sub { color: var(--ink-3); font-size: 3.3cqw; }
.ph-label { margin-bottom: .8cqw; font-size: 2.9cqw; font-weight: 700; letter-spacing: .12em; color: var(--red); }
.ph-menu li { display: flex; align-items: baseline; gap: 1.6cqw; padding: 1.3cqw 0; border-bottom: 1px solid var(--rule); }
.ph-menu i { flex: 1; border-bottom: .5cqw dotted var(--ink-3); transform: translateY(-.8cqw); }
.ph-menu b { font-family: var(--f-display); font-weight: var(--dw); }
.ph-split { display: grid; grid-template-columns: 1fr 1fr; gap: 5cqw; }
.ph-mute { color: var(--ink-3); font-size: 3.1cqw; }
.ph-link { display: inline-block; margin-top: 1.4cqw; font-size: 3.1cqw; font-weight: 700; border-bottom: .4cqw solid currentColor; }
.ph-cta { position: relative; }
.ph-more { opacity: var(--x, 1); }
.ph-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; }
.ph-strip svg { width: 100%; height: auto; aspect-ratio: 1; border-radius: 1.6cqw; }
.ph-btn {
  display: flex; align-items: center; justify-content: center;
  height: 12.5cqw; border-radius: 1.6cqw;
  background: var(--ink); color: var(--paper-hi);
  font-weight: 700; letter-spacing: .06em;
}
.ph-hint {
  position: absolute; right: 2cqw; top: -7.5cqw;
  font-size: 3.2cqw; font-weight: 500; color: var(--red);
  transform: rotate(-6deg);
  opacity: var(--x, 1);
}
.ph-ring { position: absolute; left: -3.4cqw; top: -3cqw; width: 95cqw; height: 18.5cqw; overflow: visible; }
.ph-ring path {
  fill: none; stroke: var(--red); stroke-width: .6; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--x, 1));
}

/* 片段：--e 從 0（散落）到 1（排好）。預設 1，沒有 JS 時就是排好的樣子。 */
.frag {
  --e: 1; --cx: 0cqw; --cy: 0cqh; --cr: 0deg; --cs: 1;
  position: relative; z-index: var(--z, 1);
  transform:
    translate(calc(var(--cx) * (1 - var(--e))), calc(var(--cy) * (1 - var(--e))))
    rotate(calc(var(--cr) * (1 - var(--e))))
    scale(calc(var(--cs) + (1 - var(--cs)) * var(--e)));
}
.frag__order { opacity: calc(var(--e) * 2.2 - 1.2); }
.frag__chaos {
  position: absolute; top: 0; left: 0;
  width: var(--cw, 100%); min-height: 100%;
  padding: 3cqw 3.2cqw;
  border-radius: 2.4cqw;
  background: #fff;
  box-shadow: 0 2cqw 6cqw rgb(28 26 22 / .24);
  font-size: 3.3cqw; line-height: 1.45;
  opacity: calc(1 - var(--e) * 1.7);
  pointer-events: none;
}
.post__head { display: flex; align-items: center; gap: 1.6cqw; margin-bottom: 1.6cqw; font-size: 2.9cqw; }
.post__head i { width: 6cqw; height: 6cqw; border-radius: 50%; background: #97553a; flex: none; }
.post__head span { color: var(--ink-3); }
.post__img { aspect-ratio: 16 / 10; margin-bottom: 1.6cqw; border-radius: 1.2cqw; overflow: hidden; }
.bubbles.frag__chaos { background: transparent; box-shadow: none; padding: 0; }
.bub {
  width: fit-content; max-width: 100%;
  margin-bottom: 1.6cqw; padding: 1.8cqw 3.2cqw;
  border-radius: 3.4cqw;
  background: #fff; box-shadow: 0 1.4cqw 4cqw rgb(28 26 22 / .2);
}
.bub--me { margin-left: auto; background: var(--ink); color: var(--paper-hi); }
.story { display: flex; align-items: center; gap: 2.6cqw; }
.story__ring {
  display: grid; place-items: center; flex: none;
  width: 15cqw; aspect-ratio: 1; border-radius: 50%;
  border: .8cqw solid var(--red);
  font-style: normal; font-size: 2.6cqw; font-weight: 700; line-height: 1.25; text-align: center;
}
.story p { font-size: 3cqw; }
.note.frag__chaos { background: #f2d96b; font-size: 3.6cqw; font-weight: 500; line-height: 1.35; border-radius: .6cqw; }

.noise {
  --x: 1;
  position: absolute; left: var(--nx); top: var(--ny); z-index: 7;
  width: var(--nw, 48cqw);
  padding: 2.6cqw 3.2cqw; border-radius: 2.4cqw;
  background: #fff; box-shadow: 0 2cqw 6cqw rgb(28 26 22 / .22);
  font-size: 3.2cqw; line-height: 1.45;
  transform:
    translate(calc(var(--ox) * var(--x)), calc(var(--oy) * var(--x)))
    rotate(calc(var(--nr) * (1 + var(--x) * 3)));
  opacity: calc(1 - var(--x) * 1.3);
  pointer-events: none;
}
.noise.tags { --nw: 62cqw; color: #2e5aa8; font-weight: 500; }
.noise.cat {
  --nw: 32cqw;
  display: grid; place-items: end start; aspect-ratio: 1;
  background: radial-gradient(circle at 50% 42%, #e3a35d 0 22%, transparent 23%), #f0e2cc;
  font-size: 3cqw; font-weight: 700;
}


/* ---------- 貳：工單 ---------- */


.ticket {
  position: relative;
  max-width: 1000px; margin-inline: auto;
  background: var(--paper-hi);
  box-shadow: 0 1px 0 var(--rule), 0 50px 90px -60px rgb(28 26 22 / .55);
}
.ticket__top {
  display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: end;
  padding: clamp(24px, 4vw, 48px);
  border-bottom: 1.5px solid var(--ink);
}
.ticket__title { font-family: var(--f-display); font-weight: var(--dw); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; letter-spacing: .1em; }
.ticket__meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ticket__meta div { padding: 0 16px; border-left: 1px solid var(--rule); }
.ticket__meta dt { font-size: .8rem; letter-spacing: .06em; color: var(--ink-3); }
.ticket__meta dd { font-weight: 700; font-size: .98rem; line-height: 1.5; }

.ticket__body { display: grid; grid-template-columns: 1fr 1fr; }
.ticket__col { padding: clamp(24px, 4vw, 48px); }
.ticket__col + .ticket__col { border-left: 1px solid var(--rule); }
.ticket__col h3 { margin-bottom: 1rem; font-weight: 700; font-size: 1.05rem; letter-spacing: .08em; }

.checks li, .strikes li {
  display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start;
  padding: 12px 0; border-bottom: 1px dashed var(--rule);
}
/* 劃線要跟著文字走、換行也要接續，所以「不包含」用行內文字而不是格線欄位 */
.strikes li { position: relative; display: block; padding-left: 36px; }
.strikes .ck { position: absolute; left: 0; top: 12px; }
.strikes small { display: block; margin-top: 2px; font-size: .85rem; line-height: 1.6; color: var(--ink-3); }
.ck { width: 20px; height: 20px; margin-top: .35em; }
.ck rect { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.ck path {
  fill: none; stroke: var(--red); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
}
.ck--no rect { stroke: var(--ink-3); stroke-dasharray: 2 2; }

.strikes span {
  color: var(--ink-3);
  background: linear-gradient(var(--red), var(--red)) no-repeat 0 62% / 100% 2px;
}
.ticket__note { margin-top: 1.4rem; font-size: .95rem; line-height: 1.7; color: var(--red); }

.ticket__stub {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px clamp(24px, 4vw, 48px);
  border-top: 2px dashed var(--rule);
  color: var(--ink-2);
}
.ticket__stub::before, .ticket__stub::after {
  content: ""; position: absolute; top: -13px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--paper-2);
}
.ticket__stub::before { left: -12px; }
.ticket__stub::after { right: -12px; }

/* 工單進場：勾選、劃掉、手寫備註依序出現 */
.js .ticket .ck path { stroke-dashoffset: 1; transition: stroke-dashoffset .5s var(--ease-out) calc(.35s + var(--d) * .13s); }
.js .ticket .strikes span {
  color: var(--ink);
  background-size: 0 2px;
  transition: background-size .7s var(--ease-io) calc(1.1s + var(--d) * .16s), color .5s calc(1.1s + var(--d) * .16s);
}
.js .ticket .ticket__note { opacity: 0; transition: opacity .8s 2s; }
.js .ticket.is-in .ck path { stroke-dashoffset: 0; }
.js .ticket.is-in .strikes span { color: var(--ink-3); background-size: 100% 2px; }
.js .ticket.is-in .ticket__note { opacity: 1; }

/* ---------- 參：校樣 ---------- */

.process { padding: var(--sec) 0; }
.proof-stack { display: grid; gap: 32px; }
.proof {
  --cover: 0;
  position: sticky; top: calc(var(--mast-h) + 24px + var(--i) * 14px);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 5vw, 80px); align-items: center;
  min-height: min(70vh, 600px);
  padding: clamp(28px, 5vw, 64px);
  background: var(--paper-hi);
  border: 1px solid var(--rule);
  box-shadow: 0 30px 60px -45px rgb(28 26 22 / .55);
  transform-origin: 50% 0;
  transform: scale(calc(1 - var(--cover) * .05));
}
.proof::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--ink); opacity: calc(var(--cover) * .07);
}
.proof__n { font-family: var(--f-display); font-weight: var(--dw); font-size: clamp(3.4rem, 8vw, 6.6rem); line-height: 1; color: var(--red); }
.proof__t { margin: .35em 0 .5em; font-family: var(--f-display); font-weight: var(--dw); font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: .04em; }
.proof__d { max-width: 26em; color: var(--ink-2); }
.proof__art { width: 100%; max-height: 56vh; }
.proof__art .pg { fill: var(--paper); stroke: var(--rule); }
.proof__art .wf { fill: var(--paper-3); }
.proof__art .wf-ink { fill: var(--ink); }
.proof__art .bx rect { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.mk {
  fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
}
.ann { font-family: var(--f-body); font-weight: 500; font-size: 18px; fill: var(--red); }
.ann--big { font-family: var(--f-display); font-weight: var(--dw); font-size: 36px; letter-spacing: .04em; }

.js .proof .mk { stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease-io) calc(.25s + var(--d, 0) * .28s); }
.js .proof .ann { opacity: 0; transition: opacity .6s calc(.5s + var(--d, 0) * .28s); }
.js .proof.is-on .mk { stroke-dashoffset: 0; }
.js .proof.is-on .ann { opacity: 1; }

/* ---------- 貳：方案（選方案 → 加購 → 工單即時更新） ---------- */

.plans-sec { background: var(--paper-2); padding: var(--sec) 0; }

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tier {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--paper-hi);
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: border-color .3s, box-shadow .3s, transform .45s var(--ease-out);
}
.tier:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -38px rgb(0 0 0 / .45); }
.tier.is-picked { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink), 0 26px 50px -38px rgb(0 0 0 / .5); }
.tier__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tier__n { font-size: .85rem; letter-spacing: .08em; color: var(--ink-3); }
.tier__name { font-family: var(--f-display); font-weight: var(--dw); font-size: clamp(1.6rem, 2.4vw, 2rem); letter-spacing: var(--dt); }
.tier__price { margin: .35em 0 .15em; font-family: var(--f-display); font-weight: var(--dw); font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.tier__price small { margin-right: .3em; font-family: var(--f-body); font-size: .36em; font-weight: 500; vertical-align: .9em; }
/* 聖誕優惠：畫線的定價＋優惠說明（過了截止日由 main.js 拿掉） */
.tier__was { margin-top: .7rem; font-size: .85rem; line-height: 1.5; letter-spacing: .02em; color: var(--red); }
.tier__was s { margin-right: .6em; color: var(--ink-3); }
.tier__fee { margin: -.05rem 0 .6rem; font-size: .82rem; color: var(--ink-3); }
.tier__for { margin-bottom: 1rem; font-size: .95rem; color: var(--ink-2); }
.tier__list li { position: relative; padding: 9px 0 9px 22px; border-top: 1px dashed var(--rule); font-size: .95rem; line-height: 1.6; }
.tier__list li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 8px; border: 1.5px solid var(--red); }
.tier__list .tier__inherit { color: var(--ink-3); }
.tier__list .tier__inherit::before { border-color: var(--ink-3); background: var(--ink-3); }
.tier__list { margin-bottom: 22px; }
.tier__note { margin: -8px 0 22px; font-size: .85rem; color: var(--ink-3); }
.tier__pick {
  margin-top: auto; padding: 12px 16px;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font: inherit; font-weight: 500; letter-spacing: .04em;
  cursor: pointer;
  transition: background-color .3s, color .3s;
}
.tier__pick[aria-pressed="true"] { background: var(--ink); color: var(--paper-hi); }
.tier__pick[aria-pressed="true"]::before { content: "✓ "; }

.addons { display: grid; grid-template-columns: auto 1fr; gap: 14px 28px; align-items: start; margin: 32px 0 40px; }
.addons__title { padding-top: 9px; font-weight: 700; letter-spacing: .08em; }
.addons__list { display: flex; flex-wrap: wrap; gap: 10px; }
.addon {
  display: inline-flex; align-items: baseline; gap: .6em;
  padding: 9px 14px;
  border: 1px solid var(--rule); background: var(--paper-hi); color: var(--ink);
  font: inherit; font-size: .95rem;
  cursor: pointer;
  transition: border-color .25s, background-color .25s, color .25s;
}
.addon b { font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.addon::before { content: "＋"; color: var(--red); }
.addon:hover { border-color: var(--ink); }
.addon[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper-hi); }
.addon[aria-pressed="true"] b { color: var(--on-ink-2); }
.addon[aria-pressed="true"]::before { content: "✓"; color: var(--red-hi); }
.addon:disabled { cursor: default; border-style: dashed; background: transparent; color: var(--ink-3); }
.addon:disabled::before { content: "✓"; color: var(--ink-3); }
.addons__notes { grid-column: 2; display: grid; gap: 6px; font-size: .92rem; color: var(--ink-2); }
.addons__hint { color: var(--red); }

.addons__notes b { font-weight: 700; color: var(--ink); }

/* 進階方案：深色卡，加上「改試算表 → 網站跟著變」的小動畫 */
.tier--pro { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.tier--pro .tier__n, .tier--pro .tier__for, .tier--pro .tier__note, .tier--pro .tier__fee, .tier--pro .tier__was s { color: var(--on-ink-2); }
.tier--pro .tier__was { color: var(--red-hi); }
.tier--pro .tier__list li { border-top-color: var(--rule-ink); }
.tier--pro .tier__list li::before { border-color: var(--red-hi); }
.tier--pro .tier__list .tier__inherit { color: var(--on-ink-2); }
.tier--pro .tier__list .tier__inherit::before { border-color: var(--on-ink-2); background: var(--on-ink-2); }
.tier--pro .tier__pick { border-color: var(--on-ink); color: var(--on-ink); }
.tier--pro .tier__pick[aria-pressed="true"] { background: var(--on-ink); color: var(--ink); }
.tier--pro.is-picked { box-shadow: inset 0 0 0 2px var(--red-hi), 0 26px 50px -30px rgb(0 0 0 / .6); }
/* 進階方案的重點項目：紅圈圈起來，捲到時畫出來 */
.tier__list .tier__key { margin: 10px 0; padding: 22px 24px 22px 40px; }
.tier__list .tier__key::before { left: 0; top: 1.75em; }
.tier__key strong { display: block; font-weight: 700; color: #fff; }
.tier__key small { display: block; margin-top: 4px; font-size: .85rem; color: var(--red-hi); }
.tier__circle {
  position: absolute; left: 12px; top: -2px; width: calc(100% - 8px); height: calc(100% + 4px);
  overflow: visible; pointer-events: none;
  transform: rotate(-1.2deg);
}
.tier__circle path {
  fill: none; stroke: var(--red-hi); stroke-width: .8; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
}
.js .tier__circle path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease-io) .5s; }
.js .tiers.is-in .tier__circle path { stroke-dashoffset: 0; }
.tier__flag {
  position: absolute; top: -12px; right: 20px;
  padding: 2px 10px;
  background: var(--red); color: #fff;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em;
}

.pro-demo {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px;
  margin: 2px 0 16px; padding: 12px;
  border: 1px solid var(--rule-ink); border-radius: 6px;
  font-size: .8rem;
}
.pro-demo__label { display: block; margin-bottom: 6px; color: var(--on-ink-2); font-size: .72rem; letter-spacing: .06em; }
.pro-demo__row { display: flex; border: 1px solid #4a4840; background: #1f1e1b; }
.pro-demo__row > span { padding: 4px 6px; white-space: nowrap; }
.pro-demo__row > span:first-child { border-right: 1px solid #4a4840; color: var(--on-ink-2); }
.pro-demo__cell, .pro-demo__badge { position: relative; display: inline-grid; }
.pro-demo__cell i, .pro-demo__badge i { grid-area: 1 / 1; font-style: normal; white-space: nowrap; }
.pro-demo__arr { width: 16px; height: 16px; fill: none; stroke: var(--red-hi); stroke-width: 1.8; }
.pro-demo__page { padding: 8px; border-radius: 4px; background: var(--paper-hi); color: var(--ink); }
.pro-demo__page .pro-demo__label { color: var(--ink-3); }
.pro-demo__badge { padding: 2px 8px; border-radius: 999px; background: #e7f3e9; color: #1e6b34; font-weight: 700; }
.pro-demo__badge i + i { color: var(--red); }
/* 兩個狀態輪流出現：試算表先改，網站稍後跟上 */
.pro-demo i:first-child { animation: demo-a 6s infinite; }
.pro-demo i + i { opacity: 0; animation: demo-b 6s infinite; }
.pro-demo__page i:first-child, .pro-demo__page i + i { animation-delay: .9s; }
.pro-demo__cell i + i { color: var(--red-hi); }
@keyframes demo-a { 0%, 42% { opacity: 1; } 46%, 92% { opacity: 0; } 96%, 100% { opacity: 1; } }
@keyframes demo-b { 0%, 42% { opacity: 0; } 46%, 92% { opacity: 1; } 96%, 100% { opacity: 0; } }

.tiers-nav { display: none; }

.plans-talk {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  margin: -12px 0 40px; padding: 20px 24px;
  border: 1px dashed var(--rule); background: var(--paper-hi);
}
.plans-talk p { color: var(--ink-2); }

/* 工單底部的合計：計數器＋印章 */
.ticket__total {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px;
  padding: clamp(24px, 4vw, 48px);
  border-top: 1.5px solid var(--ink);
}
.total__label { font-weight: 500; letter-spacing: .06em; color: var(--ink-2); }
.total__terms { max-width: 30em; margin-top: .6rem; font-size: .92rem; color: var(--ink-2); }
.amount {
  display: flex; align-items: flex-start; gap: .12em;
  margin: .12em 0 0;
  font-family: var(--f-display); font-weight: var(--dw);
  font-size: clamp(3.2rem, 11vw, 6.6rem); line-height: 1; letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.amount .cur { margin-top: .42em; font-size: .26em; letter-spacing: .06em; }
.odo { display: inline-flex; }
.odo__d { display: inline-block; height: 1em; overflow: hidden; }
.odo__reel { display: flex; flex-direction: column; transition: transform 1.6s cubic-bezier(.2, .9, .1, 1) var(--d, 0s); }
.odo__reel span { height: 1em; line-height: 1; }
.ticket.is-in .odo__reel { transform: translateY(calc((10 + var(--t)) * -1em)); }
.odo.is-reset .odo__reel { transform: none !important; transition: none !important; }

.stamp {
  position: absolute; top: clamp(-36px, -2.6vw, -24px); right: clamp(16px, 3vw, 44px);
  width: clamp(100px, 10vw, 140px); height: auto;
  color: var(--red); mix-blend-mode: multiply;
  transform: rotate(-12deg); opacity: .92;
  pointer-events: none;
}
.stamp__big { font-family: var(--f-display); font-weight: 700; font-size: 42px; letter-spacing: .08em; fill: currentColor; stroke: currentColor; stroke-width: 1.4px; }
.stamp__small { font-family: var(--f-body); font-weight: 700; font-size: 14px; letter-spacing: .2em; fill: currentColor; }
.js .stamp { opacity: 0; }
.js .ticket.is-in .stamp { animation: stamp .6s cubic-bezier(.3, 1.4, .5, 1) 1.8s both; }
.js .ticket.is-in .ticket__total { animation: thud .32s ease-out 2.06s; }
@keyframes stamp {
  0% { opacity: 0; transform: scale(2.4) rotate(-2deg); }
  55% { opacity: 1; transform: scale(.93) rotate(-13deg); }
  100% { opacity: .92; transform: scale(1) rotate(-12deg); }
}
@keyframes thud { 30% { transform: translate(1px, 2px); } 65% { transform: translate(-1px, -1px); } }

/* 工單「包含」清單在換方案時重建：新出現的項目重新打勾 */
.js .ticket .checks li.is-new .ck path { stroke-dashoffset: 1; transition: none; }

/* ---------- 參：風格（左右滑動；轉到中間的那張會自己往下捲，像在看真的網站） ---------- */

.styles-sec { --card: min(360px, 78vw); padding: var(--sec) 0; overflow: clip; }
.deck__track {
  display: flex; gap: 28px;
  padding: 24px calc((100% - var(--card)) / 2) 36px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  perspective: 1400px;
  cursor: grab;
}
.deck__track::-webkit-scrollbar { display: none; }
.deck.is-dragging .deck__track { scroll-snap-type: none; cursor: grabbing; }
.deck.is-dragging .look { pointer-events: none; }
.look {
  --d: 0; --ad: 0;
  flex: none; width: var(--card); margin: 0;
  container-type: inline-size;
  scroll-snap-align: center;
  transform: rotateY(calc(var(--d) * -16deg)) scale(calc(1 - var(--ad) * .1));
  opacity: calc(1 - var(--ad) * .3);
  user-select: none;
}
.look figcaption { margin-top: 16px; font-size: .92rem; color: var(--ink-2); text-align: center; }
.look figcaption b { display: block; font-family: var(--f-display); font-weight: var(--dw); font-size: 1.25rem; color: var(--ink); }
.look__page {
  position: relative; overflow: hidden;
  aspect-ratio: 9 / 15;
  border-radius: 4cqi;
  box-shadow: 0 34px 70px -38px rgb(0 0 0 / .55), 0 0 0 1px rgb(0 0 0 / .08);
}
.look__scroll { position: relative; }
.deck.is-live .look.is-active .look__scroll { animation: look-scroll var(--dur, 16s) ease-in-out 1.2s infinite alternate; }
.look.is-active:hover :is(.look__scroll, .y2-thumb) { animation-play-state: paused; }
@keyframes look-scroll {
  0%, 12% { transform: translateY(0); }
  88%, 100% { transform: translateY(calc(var(--travel, 0px) * -1)); }
}
.look svg { display: block; width: 100%; height: auto; }
:where(.look) h4, :where(.look) blockquote { margin: 0; }
.lk-nav { display: flex; align-items: center; justify-content: space-between; }
.lk-burger { display: inline-flex; flex-direction: column; gap: 1.1cqi; }
.lk-burger::before, .lk-burger::after { content: ""; width: 5cqi; height: .45cqi; background: currentColor; }
@keyframes marquee { to { transform: translateX(-100%); } }

.deck__ctrl { display: flex; align-items: center; justify-content: center; gap: 24px; }
.deck__btn {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  cursor: pointer; transition: background-color .25s, color .25s;
}
.deck__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.deck__btn:hover { background: var(--ink); color: var(--paper-hi); }
.deck__name { min-width: 7em; text-align: center; font-family: var(--f-display); font-weight: var(--dw); font-size: 1.15rem; }

/* 文青：獨立出版社的雜誌感 */
.look--zine .look__page { background: #efe8dc; color: #2b2620; font-family: "Noto Serif TC", serif; }
.look--zine .look__scroll { padding: 6cqi 7cqi 12cqi; }
.zn-nav { padding-bottom: 3cqi; border-bottom: 1px solid rgb(43 38 32 / .3); font-size: 3.3cqi; }
.zn-nav b { font-weight: 700; letter-spacing: .2em; }
.zn-nav span { font-family: "Noto Sans TC", sans-serif; font-size: 2.6cqi; letter-spacing: .12em; opacity: .7; }
.zn-hero { position: relative; margin-top: 7cqi; }
.zn-img { width: 76%; aspect-ratio: 4 / 5; overflow: hidden; }
.zn-img svg { height: 100%; }
.zn-cap { margin-top: 2.4cqi; font-size: 2.8cqi; opacity: .7; }
.zn-title { position: absolute; right: 0; top: 4cqw; writing-mode: vertical-rl; font-size: 11cqw; font-weight: 500; letter-spacing: .14em; line-height: 1; }
.zn-lead { margin-top: 7cqi; font-size: 3.7cqi; line-height: 1.95; }
.zn-h { margin: 10cqi 0 2.6cqi; font-family: "Noto Sans TC", sans-serif; font-size: 2.6cqi; letter-spacing: .32em; color: #a4552f; }
.zn-list li { display: flex; align-items: baseline; gap: 2.2cqi; padding: 2.8cqi 0; border-top: 1px solid rgb(43 38 32 / .2); font-size: 3.8cqi; }
.zn-list li:last-child { border-bottom: 1px solid rgb(43 38 32 / .2); }
.zn-list span { font-family: "Noto Sans TC", sans-serif; font-size: 2.6cqi; color: #a4552f; }
.zn-list small { font-family: "Noto Sans TC", sans-serif; font-size: 2.4cqi; opacity: .6; }
.zn-list i { flex: 1; border-bottom: 1px dotted rgb(43 38 32 / .45); }
.zn-quote { margin-top: 11cqi; padding-left: 5cqi; border-left: .6cqi solid #a4552f; font-size: 6.6cqi; line-height: 1.5; }
.zn-info { display: grid; grid-template-columns: 1fr 1fr; gap: 5cqi; font-size: 3.4cqi; line-height: 1.75; }
.zn-info .zn-h { margin-top: 10cqi; }
.zn-btn { display: inline-block; margin-top: 10cqi; padding: 2.8cqi 5.4cqi; border: 1px solid currentColor; font-size: 3.3cqi; letter-spacing: .15em; }
.zn-foot { margin-top: 9cqi; font-family: "Noto Sans TC", sans-serif; font-size: 2.4cqi; opacity: .55; }

/* 極簡：瑞士式網格、細字、表格 */
.look--min .look__page { background: #fff; color: #111; font-family: "Noto Sans TC", sans-serif; }
.look--min .look__scroll { padding: 6cqi 7cqi 12cqi; }
.mn-nav { font-size: 3.3cqi; }
.mn-nav b { font-weight: 500; letter-spacing: .3em; }
.mn-label { margin: 12cqi 0 3.4cqi; font-size: 2.3cqi; letter-spacing: .42em; color: #8a8a8a; }
.mn-title { font-size: 9.2cqi; font-weight: 300; line-height: 1.38; letter-spacing: .04em; }
.mn-sub { margin-top: 3.4cqi; font-size: 3.2cqi; font-weight: 300; color: #6b6b6b; }
.mn-img { display: grid; place-items: center; margin-top: 9cqi; aspect-ratio: 1; background: #f3f3f1; }
.mn-img svg { width: 60%; }
.mn-table { border-bottom: 1px solid #e6e6e6; }
.mn-row { display: flex; justify-content: space-between; gap: 3cqi; padding: 3cqi 0; border-top: 1px solid #e6e6e6; font-size: 3.2cqi; }
.mn-row--head { font-size: 2.3cqi; letter-spacing: .32em; color: #8a8a8a; }
.mn-btn { display: flex; justify-content: space-between; margin-top: 11cqi; padding: 3.8cqi 5cqi; background: #111; color: #fff; font-size: 3.3cqi; letter-spacing: .22em; }

/* 高級：精品品牌的深色與金線 */
.look--lux .look__page { background: #12110f; color: #ece6da; font-family: "Noto Serif TC", serif; text-align: center; }
.look--lux .look__scroll { padding: 6cqi 0 14cqi; }
.lx-nav { padding: 0 7cqi; font-family: "Noto Sans TC", sans-serif; font-size: 2.3cqi; letter-spacing: .3em; color: #9d968a; }
.lx-nav b { font-family: "Noto Serif TC", serif; font-weight: 500; font-size: 3.6cqi; letter-spacing: .45em; color: #ece6da; }
.lx-hero { position: relative; margin-top: 7cqi; aspect-ratio: 4 / 5; overflow: hidden; }
.lx-hero svg { height: 100%; filter: sepia(.35) saturate(.6) brightness(.7) contrast(1.15); }
.lx-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(18 17 15 / .92)); }
.lx-cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 8cqi; font-size: 4.2cqi; letter-spacing: .32em; }
.lx-cap span { display: block; margin-bottom: 2.2cqi; font-family: "Noto Sans TC", sans-serif; font-size: 2.2cqi; letter-spacing: .45em; color: #b59b6a; }
.lx-intro { margin-top: 13cqi; font-size: 4.6cqi; line-height: 2; letter-spacing: .16em; }
.lx-rule { width: 12cqi; height: 1px; margin: 12cqi auto; background: #b59b6a; }
.lx-label { margin-bottom: 7cqi; font-family: "Noto Sans TC", sans-serif; font-size: 2.2cqi; letter-spacing: .5em; color: #b59b6a; }
.lx-course { margin-bottom: 7cqi; }
.lx-course p { font-size: 4.4cqi; letter-spacing: .32em; }
.lx-course span { display: block; margin-top: 1.6cqi; font-family: "Noto Sans TC", sans-serif; font-size: 2.6cqi; letter-spacing: .2em; color: #9d968a; }
.lx-info { font-family: "Noto Sans TC", sans-serif; font-size: 2.8cqi; line-height: 2.3; letter-spacing: .16em; color: #9d968a; }
.lx-btn { display: inline-block; margin-top: 11cqi; padding: 3.2cqi 8cqi; border: 1px solid #b59b6a; color: #d9c49a; font-size: 3cqi; letter-spacing: .4em; }

/* 科技質感：產品頁的大字與留白 */
.look--tech .look__page { background: #fff; color: #1d1d1f; font-family: "Noto Sans TC", sans-serif; text-align: center; }
.look--tech .look__scroll { padding-bottom: 0; }
.tc-nav { gap: 6cqi; padding: 3cqi 6cqi; background: #f5f5f7; font-size: 2.6cqi; color: #424245; }
.tc-nav .tc-pear { width: 3.8cqi; margin-right: auto; }
.tc-sub { padding: 3.2cqi 6cqi; border-bottom: 1px solid #e5e5ea; font-size: 3.4cqi; }
.tc-sub b { font-weight: 700; }
.tc-title { margin-top: 13cqi; font-size: 15cqi; font-weight: 700; letter-spacing: -.01em; line-height: 1.05; }
.tc-tag { margin-top: 3cqi; font-size: 5cqi; font-weight: 500; }
.tc-price { margin-top: 2.2cqi; font-size: 3cqi; color: #6e6e73; }
.tc-btns { display: flex; justify-content: center; align-items: center; gap: 5cqi; margin-top: 5.4cqi; font-size: 3.2cqi; }
.tc-pill { padding: 1.8cqi 4.6cqi; border-radius: 999px; background: #2a6df4; color: #fff; }
.tc-pill--sm { padding: 1cqi 3cqi; font-size: 2.6cqi; }
.tc-link { color: #2a6df4; }
.tc-hero { margin: 9cqi 6cqi 0; padding: 10cqi 0 7cqi; border-radius: 5cqi; background: radial-gradient(circle at 50% 38%, #fff, #efeff1 70%); }
.tc-hero svg { width: 62%; margin: auto; filter: drop-shadow(0 6cqi 6cqi rgb(0 0 0 / .18)); }
.tc-dark { margin-top: 11cqi; padding: 13cqi 6cqi; background: #000; color: #f5f5f7; }
.tc-dark__t { font-size: 8.4cqi; font-weight: 700; line-height: 1.22; }
.tc-swatches { display: flex; justify-content: center; gap: 3cqi; margin-top: 7cqi; }
.tc-swatches i { width: 7cqi; height: 7cqi; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 .4cqi rgb(255 255 255 / .25); }
.tc-dark__s { margin-top: 4cqi; font-size: 2.8cqi; color: #a1a1a6; }
.tc-h { margin-top: 11cqi; font-size: 6.6cqi; font-weight: 700; line-height: 1.25; }
.tc-compare { display: grid; grid-template-columns: repeat(3, 1fr); margin: 6cqi 4cqi 0; }
.tc-compare div + div { border-left: 1px solid #e5e5ea; }
.tc-compare b { display: block; font-size: 3.4cqi; font-weight: 700; }
.tc-compare span { display: block; margin-top: .8cqi; font-size: 2.6cqi; color: #6e6e73; }
.tc-compare em { display: block; margin-top: 3.4cqi; font-style: normal; font-size: 4.4cqi; font-weight: 700; letter-spacing: -.01em; }
.tc-foot { margin-top: 10cqi; padding: 6cqi 6cqi 9cqi; border-top: 1px solid #e5e5ea; background: #f5f5f7; font-size: 2.6cqi; line-height: 2.1; color: #6e6e73; text-align: left; }
.tc-foot b { margin-right: 2.4cqi; font-weight: 500; color: #1d1d1f; }
.tc-foot p:last-child { margin-top: 2.4cqi; padding-top: 2.4cqi; border-top: 1px solid #d2d2d7; color: #86868b; }

/* 活潑：粗框、位移陰影、貼紙 */
.look--pop .look__page { background: #ffe14d; color: #111; font-family: "Noto Sans TC", sans-serif; }
.look--pop .look__scroll { padding: 5cqi 6cqi 12cqi; }
.pp-nav { padding: 2.4cqi 4cqi; border: .7cqi solid #111; border-radius: 999px; background: #fff; font-size: 3.4cqi; }
.pp-nav b { font-weight: 900; }
.pp-title { margin-top: 10cqi; font-size: 16cqi; font-weight: 900; line-height: 1.02; letter-spacing: -.02em; text-shadow: 1cqi 1cqi 0 #ff6fa5; transform: rotate(-3deg); }
.pp-sticker { position: absolute; right: 7cqi; top: 22cqi; display: grid; place-items: center; width: 19cqi; height: 19cqi; border: .7cqi solid #111; border-radius: 50%; background: #4d6bff; color: #fff; font-size: 3.4cqi; font-weight: 900; line-height: 1.2; text-align: center; transform: rotate(12deg); }
.pp-img { margin-top: 9cqi; border: .8cqi solid #111; border-radius: 5cqi; overflow: hidden; background: #fff; box-shadow: 1.8cqi 1.8cqi 0 #111; }
.pp-lead { margin-top: 7cqi; font-size: 4.2cqi; font-weight: 900; }
.pp-cards { display: grid; gap: 3.4cqi; margin-top: 5cqi; }
.pp-card { display: flex; align-items: center; gap: 2cqi; padding: 3.4cqi 4cqi; border: .7cqi solid #111; border-radius: 4cqi; background: var(--c); box-shadow: 1.2cqi 1.2cqi 0 #111; font-size: 3.6cqi; }
.pp-card b { font-weight: 900; }
.pp-card span { font-size: 2.8cqi; }
.pp-card em { margin-left: auto; padding: .8cqi 2.6cqi; border-radius: 999px; background: #111; color: #ffe14d; font-style: normal; font-weight: 900; font-size: 3cqi; }
.pp-strip { margin: 10cqi -6cqi 0; padding: 2.2cqi 0; overflow: hidden; white-space: nowrap; background: #111; color: #ffe14d; font-size: 3.2cqi; font-weight: 900; transform: rotate(-2deg); }
.pp-strip span, .y2-mq span { display: inline-block; padding-left: 100%; animation: marquee 11s linear infinite; }
.pp-info { display: grid; grid-template-columns: 1fr 1fr; gap: 3.4cqi; margin-top: 11cqi; }
.pp-info p { padding: 3cqi 3.4cqi; border: .7cqi solid #111; border-radius: 3.4cqi; background: #fff; box-shadow: 1.2cqi 1.2cqi 0 #111; font-size: 3.2cqi; font-weight: 700; line-height: 1.5; transform: rotate(-1.5deg); }
.pp-info p + p { background: #8fd8ff; transform: rotate(1.5deg); }
.pp-info b { display: block; margin-bottom: .8cqi; font-size: 2.6cqi; font-weight: 900; color: #e0457f; }
.pp-info p + p b { color: #2c46d8; }
.pp-btn { display: inline-block; margin-top: 10cqi; padding: 3cqi 7cqi; border: .7cqi solid #111; border-radius: 999px; background: #ff6fa5; font-size: 4cqi; font-weight: 900; box-shadow: 1.2cqi 1.2cqi 0 #111; }
.pp-foot { margin-top: 8cqi; font-size: 2.6cqi; font-weight: 700; opacity: .55; }

/* 霓虹：夜裡的招牌——燈管字、發光線條、地平線網格 */
.look--neon .look__page { background: radial-gradient(120% 60% at 50% 0%, #3d0a72 0%, #14032e 55%, #07001a 100%); color: #f3eaff; font-family: "Noto Sans TC", sans-serif; text-align: center; }
.look--neon .look__page::after {
  content: ""; position: absolute; left: -40%; right: -40%; bottom: -4%; height: 44%; z-index: 0;
  background-image: linear-gradient(rgb(255 64 220 / .55) 1px, transparent 1px), linear-gradient(90deg, rgb(255 64 220 / .55) 1px, transparent 1px);
  background-size: 8cqi 8cqi;
  transform: perspective(60cqi) rotateX(58deg); transform-origin: bottom;
  -webkit-mask-image: linear-gradient(transparent, #000 45%); mask-image: linear-gradient(transparent, #000 45%);
}
.look--neon .look__scroll { z-index: 1; padding: 6cqi 7cqi 12cqi; }
.ne-nav { font-size: 3.3cqi; }
.ne-nav b { font-weight: 500; letter-spacing: .2em; color: #ffe0f8; text-shadow: 0 0 1.4cqi rgb(255 79 216 / .8); }
.ne-open {
  padding: .4cqi 1.6cqi .4cqi 2.2cqi; border: .45cqi solid #ff3b6b; border-radius: 1.4cqi;
  font-size: 2.6cqi; font-weight: 700; letter-spacing: .22em; color: #ffe3ea;
  text-shadow: 0 0 1cqi #ff3b6b, 0 0 2.4cqi #ff3b6b;
  box-shadow: 0 0 1.6cqi #ff3b6b, inset 0 0 1.2cqi rgb(255 59 107 / .8);
  animation: ne-flicker 6s linear infinite;
}
.ne-title {
  margin-top: 14cqi;
  font-size: 16cqi; font-weight: 500; line-height: 1.15; letter-spacing: .1em; color: #fff0fc;
  text-shadow: 0 0 .3cqi #fff, 0 0 1.2cqi #ff4fd8, 0 0 2.8cqi #ff4fd8, 0 0 5.5cqi #ff2fd0, 0 0 10cqi rgb(255 47 208 / .7);
}
.ne-flick { animation: ne-flicker 4.4s linear 1.6s infinite; }
@keyframes ne-flicker { 0%, 6%, 8.5%, 11%, 64%, 66%, 100% { opacity: 1; } 7%, 10%, 65% { opacity: .25; } }
.ne-en { margin-top: 3.6cqi; font-size: 2.4cqi; letter-spacing: .5em; color: #b9fbff; text-shadow: 0 0 1.4cqi #2ef3ff; }
.look .ne-cup { width: 58%; margin: 7cqi auto 0; overflow: visible; }
.ne-sub { margin-top: 5cqi; font-size: 3.6cqi; letter-spacing: .12em; color: #e6dcff; }
.ne-h { margin: 14cqi 0 1cqi; font-size: 2.4cqi; letter-spacing: .45em; color: #8ff8ff; text-shadow: 0 0 1.2cqi #2ef3ff; }
.ne-row {
  display: flex; align-items: baseline; gap: 2cqi; margin-top: 4cqi; padding: 3.6cqi 4.4cqi;
  border: .45cqi solid var(--c); border-radius: 2.4cqi; background: rgb(12 0 30 / .6);
  box-shadow: 0 0 1.8cqi var(--c), inset 0 0 1.2cqi var(--c);
  box-shadow: 0 0 1.8cqi var(--c), inset 0 0 1.6cqi color-mix(in srgb, var(--c) 55%, transparent);
  font-size: 3.6cqi; text-align: left;
}
.ne-row b { font-weight: 700; color: #fff; }
.ne-row span { font-size: 2.6cqi; color: rgb(255 255 255 / .6); }
.ne-row em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--c); text-shadow: 0 0 1.6cqi var(--c); }
.ne-info { display: grid; grid-template-columns: 1fr 1fr; gap: 4cqi; font-size: 3.3cqi; line-height: 1.75; color: #e6dcff; }
.ne-info .ne-h { margin: 14cqi 0 2.4cqi; }
.ne-btn {
  display: inline-block; margin-top: 12cqi; padding: 2.8cqi 9cqi;
  border: .55cqi solid #2ef3ff; border-radius: 999px;
  font-size: 3.8cqi; font-weight: 700; letter-spacing: .2em; color: #c9fdff;
  text-shadow: 0 0 1.6cqi #2ef3ff;
  box-shadow: 0 0 2.4cqi rgb(46 243 255 / .7), inset 0 0 2.4cqi rgb(46 243 255 / .45);
}
.ne-foot { margin-top: 10cqi; font-size: 2.4cqi; letter-spacing: .1em; color: rgb(230 220 255 / .55); }

/* Y2K：2000 年前後的個人網站——框架、表格、跑馬燈、計數器，字也用當年的系統字 */
.look--y2k .look__page {
  --kai: "DFKai-SB", "BiauKai", "標楷體", "Kaiti TC", "Noto Serif TC", serif;
  background: #ffffcc; color: #000;
  font-family: "PMingLiU", "MingLiU", "Apple LiSung", "LiSong Pro", "Noto Serif TC", serif;
  line-height: 1.5; letter-spacing: 0;
  font-synthesis: weight; /* 新細明體沒有粗體，當年是瀏覽器硬加粗的 */
  text-autospace: no-autospace;
}
.look--y2k u { color: #0000ee; }
.look--y2k .look__scroll { margin: 0 3.4cqi 0 27.6cqi; padding: 0 3cqi 10cqi; }

/* 左框架：固定不動的選單，右邊用分隔條隔開 */
.y2-menu {
  position: absolute; z-index: 2; inset: 0 auto 0 0; width: 27.6cqi;
  padding: 3.4cqi 2cqi 0 1.8cqi;
  border-right: 1.6cqi solid #d4d0c8;
  background: #ffcc99 radial-gradient(circle, #ffbd80 .45cqi, transparent .55cqi) 0 0 / 3.2cqi 3.2cqi;
  font-size: 3cqi;
}
.y2-menu::after { content: ""; position: absolute; top: 0; bottom: 0; right: -1.6cqi; width: 1.6cqi; border-left: .3cqi solid #fff; border-right: .3cqi solid #808080; }
.y2-logo { display: grid; justify-items: center; gap: .6cqi; font-family: var(--kai); font-size: 3.5cqi; font-weight: 700; color: #993300; }
.y2-logo svg { width: 11cqi; }
.y2-menu__h { margin: 3.6cqi 0 .6cqi; text-align: center; font-family: "Times New Roman", Times, serif; font-size: 2.8cqi; font-weight: 700; color: #cc3300; }
.y2-links li { display: flex; align-items: center; gap: 1.1cqi; margin-top: 1.9cqi; white-space: nowrap; }
.y2-links li::before { content: ""; flex: none; width: 2.3cqi; height: 2.3cqi; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 14%, #ff3333 46%, #800000 100%); }
.y2-links .is-v u { color: #551a8b; }
.y2-links em { padding: 0 .5cqi; border: .2cqi solid #000; background: #ffcc00; font-style: normal; font-size: 1.9cqi; font-weight: 700; line-height: 1.3; }
.y2-fav { margin-top: 4.4cqi; text-align: center; font-size: 2.6cqi; }
.y2-count { margin-top: 5cqi; text-align: center; font-size: 2.5cqi; }
.y2-odo { display: inline-flex; margin: .8cqi 0; padding: .3cqi; border: .3cqi solid; border-color: #808080 #fff #fff #808080; background: #000; }
.y2-odo i { width: 2.9cqi; font-family: "Courier New", monospace; font-size: 3cqi; font-style: normal; font-weight: 700; line-height: 1.4; color: #fff; background: linear-gradient(#000, #3a3a3a 50%, #000); }
.y2-odo i + i { border-left: .2cqi solid #555; }
.y2-since { margin-top: 3cqi; text-align: center; font-family: "Times New Roman", Times, serif; font-size: 2.4cqi; font-style: italic; color: #993300; }

/* 右框架的捲軸：當年 IE 可以改捲軸顏色；捲動時跟著內頁一起動 */
.y2-sb {
  position: absolute; z-index: 2; inset: 0 0 0 auto; width: 3.4cqi;
  display: grid; grid-template-rows: 3.4cqi 1fr 3.4cqi;
  background: repeating-conic-gradient(#ffcc99 0 25%, #fff6e8 0 50%) 0 0 / .8cqi .8cqi;
  font-size: 1.5cqi; line-height: 1; color: #993300;
}
.y2-sb i { display: grid; place-items: center; font-style: normal; background: #ffcc99; border: .3cqi solid; border-color: #ffeedd #996633 #996633 #ffeedd; }
.y2-sb b { position: relative; }
.y2-sb .y2-thumb { position: absolute; inset: 0 0 auto; height: 50%; }
.deck.is-live .look.is-active .y2-thumb { animation: y2-thumb var(--dur, 16s) ease-in-out 1.2s infinite alternate; }
@keyframes y2-thumb {
  0%, 12% { transform: translateY(0); }
  88%, 100% { transform: translateY(100%); }
}

/* 右框架：內容 */
.y2-mq { margin: 0 -3cqi; padding: .8cqi 0; overflow: hidden; white-space: nowrap; background: #000080; color: #ffff00; font-size: 3cqi; font-weight: 700; }
.y2-mq span { animation-duration: 9s; }
.y2-title {
  margin-top: 7cqi; text-align: center;
  font-family: var(--kai); font-size: 11.5cqi; font-weight: 700; line-height: 1.2; letter-spacing: .08em;
  background: linear-gradient(180deg, #ffe066 10%, #ff9900 50%, #cc3300 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: .22cqi #663300;
  filter: drop-shadow(.6cqi .6cqi 0 rgb(102 51 0 / .4));
}
.y2-en { margin-top: .4cqi; text-align: center; font-family: "Times New Roman", Times, serif; font-size: 3cqi; font-style: italic; color: #996633; }
.y2-rainbow { height: .9cqi; margin: 4cqi 0; background: linear-gradient(90deg, #f00, #f90, #ff0, #3c3, #39f, #63c, #f3c); }
.y2-photo { width: 92%; margin: 0 auto; border: .6cqi solid #0000ee; }
.y2-cap { margin-top: 1.2cqi; text-align: center; font-size: 2.6cqi; color: #555; }
.y2-txt { margin-top: 3.6cqi; font-size: 3.2cqi; line-height: 1.75; }
.y2-h { margin-top: 8cqi; padding: .7cqi 1.6cqi; background: linear-gradient(90deg, #cc6600, #ffcc99); color: #fff; font-size: 3.2cqi; font-weight: 700; }
.y2-news { margin-top: 2.4cqi; font-size: 3cqi; line-height: 1.6; }
.y2-news li + li { margin-top: 1.6cqi; }
.y2-news span { display: block; font-family: "Times New Roman", Times, serif; color: #996633; }
.y2-new { margin-left: 1cqi; font-family: Arial, sans-serif; font-size: 2.4cqi; font-style: italic; font-weight: 700; color: #f00; animation: y2-blink 1.2s steps(1) infinite; }
@keyframes y2-blink { 50% { opacity: 0; } }
.y2-tbl { width: 100%; margin-top: 2.4cqi; border: .35cqi solid; border-color: #dfdfdf #808080 #808080 #dfdfdf; border-spacing: .5cqi; background: #fff; font-size: 3cqi; }
.y2-tbl th, .y2-tbl td { padding: 1.3cqi 1.2cqi; border: .3cqi solid; border-color: #808080 #dfdfdf #dfdfdf #808080; text-align: left; }
.y2-tbl th { background: #ffcc66; color: #993300; text-align: center; }
.y2-tbl td:last-child { text-align: right; font-weight: 700; color: #cc0000; }
.y2-go { margin-top: 8cqi; text-align: center; font-size: 2.8cqi; color: #f00; }
.y2-btn {
  display: table; margin: 1.6cqi auto 0; padding: 1.6cqi 6cqi;
  border: .35cqi solid; border-color: #fff #404040 #404040 #fff;
  background: #d4d0c8; box-shadow: inset -.35cqi -.35cqi #808080, inset .35cqi .35cqi #dfdfdf;
  font-size: 3.4cqi;
}
.y2-btn span { outline: .2cqi dotted #000; outline-offset: .6cqi; }
.y2-hr { margin: 9cqi 0 0; border: 0; border-top: .3cqi solid #808080; border-bottom: .3cqi solid #fff; }
.y2-ban { display: flex; justify-content: center; gap: 1.2cqi; margin-top: 5cqi; }
.y2-ban i { display: grid; place-items: center; width: 18.4cqi; aspect-ratio: 88 / 31; border: .25cqi solid #000; font-family: Arial, sans-serif; font-size: 2cqi; font-style: normal; font-weight: 700; line-height: 1.05; text-align: center; }
.y2-ban i:nth-child(1) { background: linear-gradient(#cc6633, #993300); color: #ffffcc; font-family: var(--kai); font-size: 2.6cqi; }
.y2-ban i:nth-child(2) { background: #000080; color: #ffff00; }
.y2-ban i:nth-child(3) { background: linear-gradient(#fff, #c0c0c0); color: #000080; }
.y2-foot { margin-top: 4.4cqi; text-align: center; font-size: 2.5cqi; line-height: 1.7; color: #555; }
.y2-top { margin-top: 3cqi; text-align: right; font-size: 2.6cqi; }

/* ---------- 伍：問答 ---------- */

.faq { padding: var(--sec) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--mast-h) + 40px); }
.qa { border-top: 1px solid var(--rule); }
.qa:last-child { border-bottom: 1px solid var(--rule); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0;
  font-family: var(--f-display); font-weight: var(--dw);
  font-size: clamp(1.12rem, 1.7vw, 1.38rem); line-height: 1.5;
  list-style: none; cursor: pointer;
  transition: color .25s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover, .qa[open] summary { color: var(--red); }
.pm { position: relative; flex: none; width: 16px; height: 16px; }
.pm::before, .pm::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 1.5px; margin-top: -.75px; background: currentColor;
  transition: transform .45s var(--ease-out);
}
.pm::after { transform: rotate(90deg); }
.qa[open] .pm::after { transform: rotate(0deg); }
.qa::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size .5s var(--ease-out), content-visibility .5s allow-discrete;
}
.qa[open]::details-content { block-size: auto; }
.qa__a { max-width: 38em; padding-bottom: 26px; color: var(--ink-2); }

/* ---------- 陸：聯絡 ---------- */

.contact { position: relative; overflow: clip; background: var(--ink); color: var(--on-ink); padding: var(--sec) 0 calc(var(--sec) * .7); }
.contact .label { color: var(--red-hi); }
.contact__title { font-family: var(--f-display); font-weight: var(--dw); font-size: clamp(2.9rem, 10vw, 8.6rem); line-height: 1.08; letter-spacing: .02em; }
.contact .g__box { background: #2a2721; border-color: rgb(243 239 230 / .2); box-shadow: 0 .06em .2em rgb(0 0 0 / .4); }
.contact__lede { max-width: 32em; margin-top: 2rem; color: var(--on-ink-2); }
.contact__pick { max-width: 40em; margin-top: 1.4rem; padding: 14px 18px; border: 1px dashed var(--rule-ink); color: var(--on-ink); font-size: .95rem; }
.contact__pick b { color: var(--red-hi); font-weight: 700; }
.ways { margin-top: clamp(40px, 7vh, 72px); border-top: 1px solid var(--rule-ink); }
.ways li {
  display: grid; grid-template-columns: 10em 1fr; gap: 16px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--rule-ink);
  font-family: var(--f-display); font-weight: var(--dw); font-size: clamp(1.1rem, 2vw, 1.5rem);
}
.ways li > span:first-child { font-family: var(--f-body); font-weight: 500; font-size: .9rem; letter-spacing: .06em; color: var(--on-ink-2); }
.ways .tbd, .ways a { justify-self: start; }
.ways a { overflow-wrap: anywhere; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: var(--rule-ink); }
.ways a:hover { color: var(--red-hi); text-decoration-color: currentColor; }
.contact .tbd::after, .footer .tbd::after { color: var(--red-hi); }

.footer { background: var(--ink); color: var(--on-ink-2); border-top: 1px solid var(--rule-ink); padding: 28px 0 40px; font-size: .85rem; }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.footer__brand { display: inline-flex; align-items: center; gap: .6em; }
.footer__brand .mark { height: 1.3em; color: var(--on-ink); }
.footer__name { font-family: var(--f-brand); font-size: 1.1em; letter-spacing: .08em; color: var(--on-ink); }

/* ---------- 404 ---------- */

.notfound { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; padding-block: 64px; }
.notfound .wordmark { margin-bottom: clamp(40px, 8vh, 80px); }
.notfound .btn { margin-top: 2.4rem; }

/* ---------- 窄螢幕 ---------- */

@media (max-width: 1099px) {
  .hero__body { grid-column: 1 / span 9; }
  .vert { display: none; }
}

@media (max-width: 899px) {
  .demo__track { height: 220vh; }
  .demo__sticky { align-items: flex-start; padding-top: calc(var(--mast-h) + 16px); }
  .demo__grid { grid-template-columns: 1fr; gap: 18px; justify-items: center; }
  .demo__copy { width: 100%; }
  .demo .label { margin-bottom: .5rem; }
  .demo .h2 { font-size: clamp(1.55rem, 6.6vw, 2.2rem); }
  .steps { margin-top: .8rem; min-height: 3.7em; }
  .step { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
  .step.is-active { opacity: 1; transform: none; }
  .demo__bar { margin-top: .5rem; }
  .demo__note { margin-top: .4rem; font-size: .78rem; }
  .phone { --w: min(64vw, calc((100svh - var(--demo-copy-height, 208px) - var(--mast-h) - 58px) * .474)); }
  .demo.is-complete .steps { min-height: 0; }
  .demo.is-complete .step { grid-area: auto; }
  .demo.is-complete .demo__sticky { height: auto; min-height: 100svh; padding-bottom: 24px; overflow: visible; }
  .demo.is-collapsed .phone { --w: min(64vw, 260px); }

  .ticket__top { grid-template-columns: 1fr; }
  .ticket__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .ticket__meta div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .ticket__body { grid-template-columns: 1fr; }
  .ticket__col + .ticket__col { border-left: 0; border-top: 1px solid var(--rule); }

  .proof { grid-template-columns: 1fr; min-height: 0; gap: 16px; padding: 24px; top: calc(var(--mast-h) + 12px + var(--i) * 10px); }
  .proof__art { grid-row: 1; max-height: 32vh; }
  .proof__n { font-size: 2.6rem; display: inline-block; margin-right: .3em; }
  .proof__t { display: inline-block; margin: 0 0 .4em; font-size: 1.7rem; }

  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .tiers { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding: 20px 8vw 10px; scrollbar-width: none; }
  .tiers::-webkit-scrollbar { display: none; }
  .tier { flex: 0 0 84vw; scroll-snap-align: center; }
  .tiers-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; margin-top: 8px; }
  .tiers-nav .deck__btn { width: 40px; height: 40px; }
  .tiers-nav__dots { display: flex; gap: 8px; }
  .tiers-nav__dots i { width: 8px; height: 8px; border-radius: 999px; background: var(--rule); transition: width .3s var(--ease-out), background-color .3s; }
  .tiers-nav__dots i.is-on { width: 22px; background: var(--ink); }
  .tiers-nav__hint { flex-basis: 100%; text-align: center; font-size: .82rem; color: var(--ink-3); }
  .plans-talk { margin-top: 0; }
  .tier:hover { transform: none; }
  .addons { grid-template-columns: 1fr; }
  .addons__notes { grid-column: 1; }
  .stamp { top: -28px; right: 14px; width: 92px; }
  .faq__head { position: static; }
}

@media (max-width: 760px) {
  .hero { padding-bottom: 18vh; }
  .hero__kicker { letter-spacing: .04em; }
  .hero__title { font-size: 20vw; }
  .hero__title .line--b, .hero__title .line--c { display: block; padding-left: 0; }
  .hero__body { grid-column: 1 / -1; }
  .hero__side { position: static; grid-column: 1 / -1; justify-self: start; flex-direction: row; margin-top: 28px; }
  .ways li { grid-template-columns: 1fr; gap: 4px; }
  .ticket__stub { align-items: flex-start; }
}

/* ---------- 減少動態 ---------- */

/* The static layout is also the readable fallback when JavaScript is unavailable. */
html:not(.js) .demo__track { height: auto; }
html:not(.js) .demo__sticky { position: static; height: auto; padding: var(--sec) 0; overflow: visible; }
html:not(.js) .demo .step { grid-area: auto; opacity: 1; transform: none; }
html:not(.js) .demo .steps { min-height: 0; }
@media (max-width: 899px) {
  html:not(.js) .demo .phone { --w: min(64vw, 260px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .demo__track { height: auto; }
  .demo__sticky { position: static; height: auto; padding: var(--sec) 0; }
  .noise { display: none; }
  .step { opacity: 1; position: static; transform: none; grid-area: auto; }
  .steps { min-height: 0; }
  .demo .phone { --w: min(330px, 64vw); }
  .proof { position: relative; top: auto; }
  .odo__reel { transform: translateY(calc((10 + var(--t)) * -1em)) !important; }
  .look { transform: none; opacity: 1; }
  .pp-strip span, .y2-mq span { padding-left: 0; }
}
