/* =========================================================
   Smiling Matt Studio 微笑麥特工作室 — main.css
   概念：網站就是一張會動的黑金名片。
   嚴謹的裝飾藝術幾何（八角框、雙斜線、燙金），包住一個會眨眼的微笑。
   ========================================================= */

/* ---------- 0. Tokens ---------- */
:root {
  --ink: #212121;            /* 名片底色 */
  --ink-deep: #161616;
  --ink-raise: #282828;
  --gold: #C8B370;           /* 名片金 */
  --gold-hi: #F3E6B4;
  --gold-lo: #8E7C47;
  --cream: #EEE8D8;          /* 深底上的內文 */
  --mute: #ABA38C;           /* 深底上的次要文字 */
  --line: rgba(200, 179, 112, .26);
  --line-soft: rgba(200, 179, 112, .13);
  --on-gold: #1E1E1E;
  --on-gold-mute: #3B3424;

  --f-serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --f-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --f-latin: "Cormorant Garamond", "Noto Serif TC", serif;
  --f-mark: "Open Sans", "Segoe UI", "Noto Sans TC", sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1240px;
  --nav-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --pop: cubic-bezier(.3, 1.6, .5, 1);

  --mx: .5;                  /* 指標位置（0–1），燙金反光跟著走 */
  --my: .5;
  /* 最暗的金也要在黑底上保持 4.5:1 以上的對比 */
  --foil: linear-gradient(115deg, #9C894F 0%, #C8B370 16%, #F3E6B4 30%, #C8B370 44%, #A69259 60%, #EBDCA3 76%, #B6A163 100%);
  /* 卡片底用的亮金：上面放小字也清楚 */
  --foil-card: linear-gradient(115deg, #B5A062 0%, #D2BF82 18%, #F3E6B4 32%, #D0BD80 48%, #C2AD6D 64%, #EBDCA3 80%, #CBB777 100%);
  /* 名片 Logo 的八角形（切角菱形）比例 */
  --octa: polygon(37.7% 0, 62.3% 0, 100% 37.7%, 100% 62.3%, 62.3% 100%, 37.7% 100%, 0 62.3%, 0 37.7%);
}

/* ---------- 1. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* 強制深色（三星瀏覽器、Chrome 自動深色）會把金色改暗、把深色的 M 反白。整站顏色都寫死，所以 color-scheme 本身
   只影響瀏覽器預設的畫布、表單控制項與捲軸，這裡拿它當訊號，三層一起送：
   1) 根元素與 meta 宣告支援 light dark，並在 prefers-color-scheme: dark 下宣告 dark —— 會讀 color-scheme 或
      media query 的瀏覽器就改用本站自己的深色，不再自己上色。
   2) body 加「only」—— Blink 會把帶 only 的元素連同子樹整個排除在強制深色之外，這是逐元素判斷，
      和頁面層級的判斷是不同機制（Chromium 模擬已驗證）。
   畫布與捲軸另外指定深色，避免 light 這個值把它們變白。 */
html { color-scheme: light dark; background: var(--ink); scrollbar-color: #4d4d4d var(--ink-deep); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 8px); }
@media (prefers-color-scheme: dark) { html { color-scheme: dark; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  color-scheme: only dark;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-sans);
  font-size: clamp(15px, .55vw + 12px, 17.5px);
  line-height: 1.85;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* 名片紙的顆粒 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
strong { font-weight: 700; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 18px; background: var(--gold); color: var(--ink); font-weight: 700; transition: top .3s; }
.skip:focus { top: 16px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.br-sm { display: none; }

/* ---------- 2. 共用元件 ---------- */
.foil-text {
  background: var(--foil);
  background-size: 260% 100%;
  background-position: calc(var(--mx) * 100%) 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
@media (hover: none) { .foil-text { animation: foil-drift 7s ease-in-out infinite alternate; } }
@keyframes foil-drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font: 600 12px/1.4 var(--f-mark);
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; flex: none; width: 34px; height: 7px; border-block: 1px solid currentColor; }
.eyebrow span { font-family: var(--f-sans); font-weight: 500; letter-spacing: .32em; color: var(--mute); }
.eyebrow--ink { color: var(--on-gold); }
.eyebrow--ink span { color: var(--on-gold-mute); }

.sec-title { margin-top: 22px; font: 900 clamp(36px, 5.2vw, 78px)/1.16 var(--f-serif); letter-spacing: .02em; color: var(--cream); }
.sec-title em { font-style: normal; }
.sec-lead { margin-top: 24px; max-width: 34em; color: var(--mute); font-size: clamp(16px, .5vw + 13px, 19px); }
.sec-head--center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sec-head--center .sec-lead { margin-inline: auto; }

/* 八角切角按鈕 */
.btn {
  --cut: 11px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  font: 700 15px/1.2 var(--f-sans);
  letter-spacing: .14em;
  white-space: nowrap;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  transition: transform .5s var(--ease), color .3s, background-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { --cut: 8px; min-height: 42px; padding: 0 20px; font-size: 13px; }
.btn--gold { color: var(--on-gold); background: var(--foil); background-size: 240% 100%; background-position: calc(var(--mx) * 100%) 50%; }
.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost, .btn--ink {
  --c: var(--gold);
  color: var(--c);
  background:
    linear-gradient(to bottom right, transparent calc(50% - .75px), var(--c) 0 calc(50% + .75px), transparent 0) 0 0 / var(--cut) var(--cut) no-repeat,
    linear-gradient(to bottom left, transparent calc(50% - .75px), var(--c) 0 calc(50% + .75px), transparent 0) 100% 0 / var(--cut) var(--cut) no-repeat,
    linear-gradient(to bottom right, transparent calc(50% - .75px), var(--c) 0 calc(50% + .75px), transparent 0) 100% 100% / var(--cut) var(--cut) no-repeat,
    linear-gradient(to bottom left, transparent calc(50% - .75px), var(--c) 0 calc(50% + .75px), transparent 0) 0 100% / var(--cut) var(--cut) no-repeat;
  box-shadow: inset 0 0 0 1px var(--c);
}
.btn--ghost:hover { background-color: rgba(200, 179, 112, .12); }
.btn--ink { --c: var(--ink); color: var(--gold); background-color: var(--ink); }
.btn--ink:hover { background-color: #000; }

/* 細線切角外框（放在 ::after，蓋在內容上） */
.frame { --cut: 26px; --fc: var(--line); position: relative; clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(to bottom right, transparent calc(50% - .6px), var(--fc) 0 calc(50% + .6px), transparent 0) 0 0 / var(--cut) var(--cut) no-repeat,
    linear-gradient(to bottom left, transparent calc(50% - .6px), var(--fc) 0 calc(50% + .6px), transparent 0) 100% 0 / var(--cut) var(--cut) no-repeat,
    linear-gradient(to bottom right, transparent calc(50% - .6px), var(--fc) 0 calc(50% + .6px), transparent 0) 100% 100% / var(--cut) var(--cut) no-repeat,
    linear-gradient(to bottom left, transparent calc(50% - .6px), var(--fc) 0 calc(50% + .6px), transparent 0) 0 100% / var(--cut) var(--cut) no-repeat;
  box-shadow: inset 0 0 0 1px var(--fc);
}

/* 會眨眼的 Logo */
.em-ring { fill: none; stroke: url(#g-foil); stroke-width: 8; }
.em-plate { fill: url(#g-foil); }
.em-face { fill: var(--ink); }
.eye { transform-box: fill-box; transform-origin: 50% 55%; }
.emblem-alive.is-blinking .eye { animation: blink .24s ease-in-out; }
.emblem-alive:hover .eye--r { animation: wink .55s ease-in-out; }
@keyframes blink { 50% { transform: scaleY(.08); } }
@keyframes wink { 30%, 62% { transform: scaleY(.08); } }

/* 捲動進場 */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 3. 導覽列 ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; transition: transform .6s var(--ease), background-color .4s, box-shadow .4s; }
.nav__bar { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 40px); width: min(100% - 2 * var(--gutter), 1400px); height: var(--nav-h); margin-inline: auto; }
.nav.is-scrolled { background: rgba(22, 22, 22, .8); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line-soft); }
.nav.is-hidden { transform: translateY(-100%); box-shadow: none; }
.nav__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav__emblem { width: 36px; height: 36px; overflow: visible; }
.nav__word { font: 600 12px/1 var(--f-mark); letter-spacing: .34em; color: var(--gold); white-space: nowrap; }
.nav__links { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.nav__links a { position: relative; padding: 10px 0; font-size: 14px; letter-spacing: .26em; color: var(--cream); opacity: .78; transition: opacity .3s, color .3s; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 22px;
  height: 7px;
  margin-left: -13px;
  border: 1.5px solid var(--gold);
  border-top: 0;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  transform: scaleX(0);
  transition: transform .45s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { opacity: 1; color: var(--gold); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__toggle { display: none; position: relative; width: 46px; height: 46px; margin-right: -8px; }
.nav__toggle i { position: absolute; left: 50%; top: 50%; height: 1.5px; border-radius: 2px; background: var(--gold); transition: transform .55s var(--ease), width .55s var(--ease); }
.nav__toggle i:first-of-type { width: 26px; transform: translate(-50%, -50%) translate(-3px, -3px) rotate(-45deg); }
.nav__toggle i:last-of-type { width: 15px; transform: translate(-50%, -50%) translate(5px, 5px) rotate(-45deg); }
.nav__toggle[aria-expanded="true"] i:first-of-type { transform: translate(-50%, -50%) rotate(-45deg); }
.nav__toggle[aria-expanded="true"] i:last-of-type { width: 26px; transform: translate(-50%, -50%) rotate(45deg); }

.menu { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 16px) var(--gutter) 36px; overflow: auto; background: var(--ink-deep); }
.menu[hidden] { display: none; }
.menu.is-open { animation: menu-in .7s var(--ease) both; }
@keyframes menu-in { from { clip-path: circle(0% at calc(100% - 44px) 38px); } to { clip-path: circle(150% at calc(100% - 44px) 38px); } }
.menu__rays { position: absolute; right: -40vmax; top: -40vmax; width: 110vmax; height: 110vmax; background: repeating-conic-gradient(from 0deg, rgba(200, 179, 112, .07) 0 .8deg, transparent .8deg 8deg); -webkit-mask: radial-gradient(closest-side, #000, transparent); mask: radial-gradient(closest-side, #000, transparent); pointer-events: none; }
.menu__links { position: relative; display: flex; flex-direction: column; }
.menu__links a { display: flex; align-items: baseline; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font: 900 clamp(24px, 6.4vw, 38px)/1.25 var(--f-serif); letter-spacing: .12em; }
.menu__links em { width: 32px; font: italic 600 18px/1 var(--f-latin); color: var(--gold); }
.menu.is-open .menu__links a { animation: fade-up .8s var(--ease) both; }
.menu.is-open .menu__links a:nth-child(2) { animation-delay: .05s; }
.menu.is-open .menu__links a:nth-child(3) { animation-delay: .1s; }
.menu.is-open .menu__links a:nth-child(4) { animation-delay: .15s; }
.menu.is-open .menu__links a:nth-child(5) { animation-delay: .2s; }
.menu.is-open .menu__links a:nth-child(6) { animation-delay: .25s; }
.menu.is-open .menu__links a:nth-child(7) { animation-delay: .3s; }
.menu__cta { position: relative; margin-top: 30px; align-self: flex-start; }
.menu__mark { position: relative; margin-top: 30px; font: 500 11px/1 var(--f-mark); letter-spacing: .4em; color: var(--mute); }
.menu__mark span { display: block; margin-top: 10px; font-family: var(--f-serif); letter-spacing: .5em; }

/* ---------- 4. 首屏：會動的黑金名片 ---------- */
.hero-stage { position: relative; height: 100vh; height: 100svh; }
.hero {
  --hp: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 42%, #2a2a2a 0%, #151515 60%, #0e0e0e 100%);
}
.hero__card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ink);
  transform-origin: 50% 46%;
  transform: perspective(1800px) translate3d(0, calc(var(--hp) * -3.5vh), 0) rotateX(calc(var(--hp) * 13deg)) rotateZ(calc(var(--hp) * -5deg)) scale(calc(1 - var(--hp) * .5));
  border-radius: calc(var(--hp) * 26px);
  box-shadow: 0 calc(var(--hp) * 60px) calc(var(--hp) * 120px) rgba(0, 0, 0, calc(var(--hp) * .75)), 0 0 0 calc(var(--hp) * 1px) rgba(200, 179, 112, calc(var(--hp) * .3));
}
.hero__rays {
  position: absolute;
  left: 50%;
  top: 37%;
  width: 170vmax;
  height: 170vmax;
  translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(200, 179, 112, .075) 0 .7deg, transparent .7deg 7.5deg);
  -webkit-mask: radial-gradient(closest-side, #000 6%, rgba(0, 0, 0, .55) 26%, transparent 64%);
  mask: radial-gradient(closest-side, #000 6%, rgba(0, 0, 0, .55) 26%, transparent 64%);
  animation: spin 180s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { rotate: 360deg; } }
.hero__glow {
  position: absolute;
  left: 0;
  top: 0;
  width: 1000px;
  height: 1000px;
  margin: -500px 0 0 -500px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(243, 230, 180, .12), rgba(200, 179, 112, .045) 45%, transparent 72%);
  transform: translate3d(var(--gx, 50vw), var(--gy, 38vh), 0);
  pointer-events: none;
}
.hero__lines { position: absolute; overflow: visible; pointer-events: none; }
.hero__lines--tl { left: 0; top: 10.9%; width: 24.1%; }
.hero__lines--br { right: 0; top: 46.8%; width: 23.6%; }
.hero__lines path { fill: none; stroke-width: 7; }
.ln { stroke: var(--gold); }
.glint {
  stroke: #FFF4CF;
  stroke-linecap: round;
  stroke-dasharray: .07 1.3;
  stroke-dashoffset: .07;
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(255, 236, 170, .95));
  animation: glint 7.5s var(--ease-io) 3.4s infinite;
}
.glint--b { animation-delay: 4.6s; }
.glint--c { animation-delay: 6.2s; }
.glint--d { animation-delay: 5.3s; }
@keyframes glint { 0% { stroke-dashoffset: .07; opacity: 0; } 5% { opacity: 1; } 24% { stroke-dashoffset: -1.08; opacity: 1; } 28%, 100% { stroke-dashoffset: -1.08; opacity: 0; } }

.hero__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 1vh) var(--gutter) 8vh;
  text-align: center;
}
.hero__emblem { width: clamp(170px, min(26vw, 35vh), 380px); height: auto; aspect-ratio: 1; overflow: visible; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .35)); }
.skel { fill: none; stroke: #fff; stroke-width: 24; stroke-linecap: round; stroke-linejoin: round; }

.lockup { margin-top: clamp(22px, 4.4vh, 50px); display: flex; flex-direction: column; align-items: center; gap: clamp(12px, 1.8vh, 20px); }
.lockup__en { display: block; padding-left: .23em; font: 400 clamp(17px, 2.6vw, 42px)/1.15 var(--f-mark); letter-spacing: .23em; white-space: nowrap; }
.lockup__zh { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 20px); padding-left: .62em; font: 600 clamp(13px, .45vw + 10px, 17px)/1 var(--f-serif); letter-spacing: .62em; color: var(--gold); }
.lockup__zh::before, .lockup__zh::after { content: ""; width: clamp(28px, 4vw, 70px); height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.lockup__zh::after { transform: scaleX(-1); }

.hero__extra { margin-top: clamp(22px, 4.2vh, 46px); display: flex; flex-direction: column; align-items: center; opacity: calc(1 - var(--hp) * 2.6); }
.hero__tagline { font: 700 clamp(21px, 2.1vw, 33px)/1.45 var(--f-serif); letter-spacing: .12em; color: var(--cream); }
.hero__sub { margin-top: 10px; font-size: clamp(14px, .3vw + 12px, 16px); letter-spacing: .08em; color: var(--mute); }
.hero__cta { margin-top: clamp(20px, 3.4vh, 34px); display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.hero__caption {
  position: absolute;
  left: 50%;
  bottom: 6vh;
  width: min(90vw, 640px);
  translate: -50% 0;
  text-align: center;
  opacity: calc((var(--hp) - .62) * 2.8);
  transform: translateY(calc((1 - var(--hp)) * 40px));
  pointer-events: none;
}
.hero__caption strong { display: block; font: 700 clamp(20px, 1.8vw, 28px)/1.4 var(--f-serif); letter-spacing: .14em; color: var(--gold); }
.hero__caption span { display: block; margin-top: 6px; font-size: 15px; letter-spacing: .06em; color: var(--mute); }

.hero__scroll { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-left: .5em; font: 600 10px/1 var(--f-mark); letter-spacing: .5em; color: var(--mute); opacity: calc(1 - var(--hp) * 5); }
.hero__scroll i { position: relative; width: 1px; height: 40px; overflow: hidden; background: linear-gradient(var(--line), transparent); }
.hero__scroll i::after { content: ""; position: absolute; left: -1px; top: -40%; width: 3px; height: 40%; background: var(--gold-hi); animation: drip 2.4s var(--ease-io) infinite; }
@keyframes drip { to { top: 110%; } }
@media (max-height: 780px) { .hero__scroll { display: none; } }

/* 開場：Logo 自己寫出來 */
.intro .ln { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.3s var(--ease) both; }
.intro .ln--a { animation-delay: .5s; }
.intro .ln--b { animation-delay: .72s; }
.intro .ln--c { animation-delay: .62s; }
.intro .ln--d { animation-delay: .4s; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.intro .em-ring { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.25s var(--ease-io) .12s both; }
.intro .em-plate { transform-box: fill-box; transform-origin: center; animation: plate-in 1.05s var(--ease) .55s both; }
@keyframes plate-in { from { opacity: 0; transform: scale(.62) rotate(-45deg); } to { opacity: 1; transform: none; } }
.intro .em-face .eye { animation: eye-pop .55s var(--pop) both; }
.intro .em-face .eye--l { animation-delay: 1.05s; }
.intro .em-face .eye--r { animation-delay: 1.17s; }
@keyframes eye-pop { from { transform: scale(0); } to { transform: scale(1); } }
/* 圓頭筆畫若用 dasharray:1 + offset:1，線頭會剛好落在路徑端點，部分瀏覽器（手機 Chrome）會畫出一個圓點，
   M 還沒寫就先露出黑點。改成空白段比路徑長（1 2），起點再多退一點（1.02），端點就不會有線頭。 */
.intro .skel { stroke-dasharray: 1 2; stroke-dashoffset: 1.02; }
.intro .skel--1 { animation: write .95s cubic-bezier(.45, 0, .3, 1) 1.3s both; }
.intro .skel--2 { animation: write .3s ease-out 2.22s both; }
@keyframes write { from { stroke-dashoffset: 1.02; } to { stroke-dashoffset: 0; } }
.intro .lockup__en { animation: track-in 1.5s var(--ease) 1.45s both; }
@keyframes track-in { from { letter-spacing: .75em; padding-left: .75em; opacity: 0; filter: blur(10px); } to { letter-spacing: .23em; padding-left: .23em; opacity: 1; filter: blur(0); } }
.intro .lockup__zh { animation: fade-up 1s var(--ease) 1.95s both; }
.intro .hero__tagline { animation: fade-up 1s var(--ease) 2.15s both; }
.intro .hero__sub { animation: fade-up 1s var(--ease) 2.3s both; }
.intro .hero__cta { animation: fade-up 1s var(--ease) 2.45s both; }
.intro .nav { animation: fade-down 1s var(--ease) 2.4s both; }
.intro .hero__scroll { animation: fade 1s 2.9s both; }
.intro .hero__glow { animation: fade 2s 1s both; }
.intro .hero__rays { animation: fade 2.4s .2s both, spin 180s linear infinite; }
.intro:not(.m-ready) .em-m { opacity: 0; }
.hero.is-zooming .hero__extra, .hero.is-zooming .hero__scroll { pointer-events: none; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 5. 理念 ---------- */
.manifesto { position: relative; padding: clamp(110px, 15vh, 180px) 0 clamp(90px, 13vh, 160px); background: linear-gradient(180deg, #191919 0%, var(--ink) 34%); }
.manifesto__title { margin-top: 28px; font: 900 clamp(46px, 8.4vw, 136px)/1.1 var(--f-serif); letter-spacing: .01em; color: var(--cream); }
.manifesto__title em { position: relative; display: inline-block; font-style: normal; }
.smile-line { position: absolute; left: -3%; bottom: -.2em; width: 106%; height: .32em; overflow: visible; pointer-events: none; }
.smile-line path { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1 2; stroke-dashoffset: 1.02; transition: stroke-dashoffset 1.5s var(--ease) .6s; }
.is-in .smile-line path, .no-motion .smile-line path { stroke-dashoffset: 0; }
html:not(.js) .smile-line path { stroke-dashoffset: 0; }

.manifesto__grid { margin-top: clamp(60px, 9vh, 110px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 90px); align-items: center; }
.manifesto__text p { font-size: clamp(16px, .5vw + 13px, 19px); line-height: 2.05; color: var(--cream); }
.manifesto__text p + p { margin-top: 1.2em; }
.manifesto__text strong { color: var(--gold); }

.map { --cut: 30px; --fc: var(--line); position: relative; background: #1a1a1a; clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom right, transparent calc(50% - .6px), var(--fc) 0 calc(50% + .6px), transparent 0) 0 0 / var(--cut) var(--cut) no-repeat,
    linear-gradient(to bottom left, transparent calc(50% - .6px), var(--fc) 0 calc(50% + .6px), transparent 0) 100% 0 / var(--cut) var(--cut) no-repeat,
    linear-gradient(to bottom right, transparent calc(50% - .6px), var(--fc) 0 calc(50% + .6px), transparent 0) 100% 100% / var(--cut) var(--cut) no-repeat,
    linear-gradient(to bottom left, transparent calc(50% - .6px), var(--fc) 0 calc(50% + .6px), transparent 0) 0 100% / var(--cut) var(--cut) no-repeat;
  box-shadow: inset 0 0 0 1px var(--fc);
}
.map__svg { width: 100%; height: auto; }
.map__streets path { fill: none; stroke: rgba(200, 179, 112, .11); stroke-width: 1.5; }
.map__streets .major { stroke: rgba(200, 179, 112, .2); stroke-width: 3; }
.map__river { fill: none; stroke: rgba(110, 140, 160, .13); stroke-width: 30; stroke-linecap: round; }
.map__pin { fill: var(--gold); }
.map__ping { fill: none; stroke: var(--gold); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ping 1.8s var(--ease) both; }
@keyframes ping { from { transform: scale(.3); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.map__halo { fill: url(#g-map-halo); opacity: .9; }
.map__ring { fill: none; stroke: url(#g-foil); stroke-width: 8; }
.map__morph { fill: url(#g-foil); }
.map__hole { fill: #1a1a1a; }
.map__face { --em-ink: #212121; transform-box: fill-box; transform-origin: center; transition: opacity .8s var(--ease), transform 1s var(--pop); }
.map.is-pin .map__face { opacity: 0; transform: scale(.6); }
.map.is-pin .map__ring { stroke-dasharray: 1; stroke-dashoffset: 1; }
.map.is-morphed .map__ring { stroke-dasharray: 1; animation: draw 1.2s var(--ease-io) .2s both; }
.map__caption { position: absolute; left: clamp(20px, 3vw, 42px); bottom: clamp(18px, 3vw, 38px); z-index: 3; font: 700 clamp(16px, 1.5vw, 25px)/1.55 var(--f-serif); letter-spacing: .08em; color: var(--cream); text-shadow: 0 2px 22px rgba(0, 0, 0, .9); }
.map__caption em { font-style: normal; }

.quote { position: relative; margin-top: clamp(90px, 13vh, 160px); padding-top: clamp(40px, 5vw, 70px); text-align: center; }
.quote::before { content: "\201C"; position: absolute; left: 50%; top: -.28em; translate: -50% 0; font: 500 clamp(120px, 14vw, 230px)/1 var(--f-latin); color: var(--gold); opacity: .28; }
.quote p { font: 900 clamp(27px, 3.7vw, 58px)/1.5 var(--f-serif); letter-spacing: .06em; color: var(--cream); }
.quote footer { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 16px; font: italic 600 clamp(22px, 2vw, 30px)/1 var(--f-latin); color: var(--gold); }
.quote__dash { width: 48px; height: 1px; background: var(--gold); }
.quote__role { font: 500 13px/1 var(--f-sans); letter-spacing: .3em; color: var(--mute); }

/* ---------- 6. 四個不（金色區） ---------- */
.promise { position: relative; overflow: hidden; padding: clamp(100px, 14vh, 170px) 0; background: var(--gold); color: var(--on-gold); }
.promise::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 20%, rgba(255, 248, 220, .32) 38%, rgba(255, 255, 255, 0) 56%), linear-gradient(180deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .08));
  background-size: 260% 100%, 100% 100%;
  background-position: calc(var(--mx) * 100%) 0, 0 0;
  pointer-events: none;
}
/* 名片的雙斜線，反過來印在金色上 */
.promise::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: min(34vw, 420px);
  aspect-ratio: 310 / 365;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 85 310 365'%3E%3Cpath d='M320 403.5L6 89.5M320 453.5L140 273.5' stroke='%23212121' stroke-width='7' fill='none'/%3E%3C/svg%3E") no-repeat right top / contain;
  opacity: .9;
  pointer-events: none;
}
.promise .wrap { position: relative; z-index: 1; }
.promise__head { display: flex; flex-direction: column; gap: 22px; }
.promise__title { font: 900 clamp(40px, 6.2vw, 98px)/1.12 var(--f-serif); letter-spacing: .03em; }
.promise__list { margin-top: clamp(50px, 8vh, 90px); border-top: 1px solid rgba(30, 30, 30, .6); }
.promise__item { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: clamp(18px, 3vw, 56px); padding: clamp(22px, 3.2vw, 40px) 0; border-bottom: 1px solid rgba(30, 30, 30, .6); }
.promise__item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: rgba(30, 30, 30, .22); }
.promise__badge { position: relative; display: grid; place-items: center; width: clamp(64px, 7.6vw, 112px); aspect-ratio: 1; --oc-ring: #1E1E1E; --oc-plate: #1E1E1E; }
.promise__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .9s var(--ease); }
.promise__item:hover .promise__badge svg { transform: rotate(45deg); }
.promise__badge b { position: relative; font: 900 clamp(26px, 3.2vw, 48px)/1 var(--f-serif); color: var(--gold); }
.promise__word { font: 900 clamp(44px, 6.8vw, 110px)/1 var(--f-serif); letter-spacing: .05em; color: var(--on-gold); }
.promise__desc { max-width: 30em; font-size: clamp(15px, .5vw + 12px, 18px); line-height: 1.95; color: #2b2617; }
.promise__desc strong { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .32em; }

/* ---------- 7. 設計方法 ---------- */
.method { position: relative; padding: clamp(110px, 15vh, 180px) 0 clamp(70px, 10vh, 120px); }
.method__head { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: end; gap: 44px clamp(40px, 6vw, 100px); }
/* 示範：從店名推到畫面 */
.derive { --cut: 22px; --fc: var(--line); position: relative; padding: 26px clamp(22px, 2.4vw, 34px) 28px; background: linear-gradient(160deg, #262626, #1c1c1c); clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.derive::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom right, transparent calc(50% - .6px), var(--fc) 0 calc(50% + .6px), transparent 0) 0 0 / var(--cut) var(--cut) no-repeat,
    linear-gradient(to bottom left, transparent calc(50% - .6px), var(--fc) 0 calc(50% + .6px), transparent 0) 100% 0 / var(--cut) var(--cut) no-repeat,
    linear-gradient(to bottom right, transparent calc(50% - .6px), var(--fc) 0 calc(50% + .6px), transparent 0) 100% 100% / var(--cut) var(--cut) no-repeat,
    linear-gradient(to bottom left, transparent calc(50% - .6px), var(--fc) 0 calc(50% + .6px), transparent 0) 0 100% / var(--cut) var(--cut) no-repeat;
  box-shadow: inset 0 0 0 1px var(--fc);
}
.derive__label { display: flex; align-items: center; gap: 12px; font: 600 11px/1 var(--f-mark); letter-spacing: .38em; color: var(--gold); }
.derive__label span { font: 500 12px/1 var(--f-sans); letter-spacing: .26em; color: var(--mute); }
.derive__steps { margin-top: 20px; display: grid; gap: 26px; }
.derive__steps li { position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: center; column-gap: 14px; }
.derive__steps li + li::before { content: ""; position: absolute; left: 27px; top: -19px; width: 7px; height: 7px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); opacity: .75; }
.derive__k { font-size: 12px; letter-spacing: .26em; color: var(--mute); }
.derive__v { font: 700 clamp(16px, 1.25vw, 19px)/1.5 var(--f-serif); letter-spacing: .06em; color: var(--cream); }
.derive__v--name { font: 400 clamp(26px, 2.2vw, 32px)/1.2 "Huninn", var(--f-sans); letter-spacing: .06em; color: #FBEFB5; text-shadow: 0 0 22px rgba(251, 226, 140, .35); }
.derive__art { display: flex; align-items: center; gap: 16px; }
.derive__art svg { width: 92px; height: 92px; flex: none; overflow: visible; }
.derive__note { grid-column: 2; margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: var(--mute); }
.da-ring { fill: none; stroke: var(--gold); stroke-width: 2.5; }
.da-glass { fill: #1A2152; stroke: rgba(200, 179, 112, .35); stroke-width: 1; }
.da-moon { fill: #F7E28F; }
.da-spin { transform-box: view-box; transform-origin: 60px 60px; animation: spin 12s linear infinite; }
.da-bub { fill: none; stroke: rgba(255, 255, 255, .6); stroke-width: 1.2; }
.method__grid { position: relative; margin-top: clamp(56px, 8vh, 96px); display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); }
.method__grid::before, .method__grid::after { content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%; clip-path: var(--octa); pointer-events: none; }
.method__grid::before { width: 50px; height: 50px; background: var(--gold); }
.method__grid::after { width: 44px; height: 44px; background: radial-gradient(circle, var(--gold) 0 5px, var(--ink) 5.5px); }
.method__item { position: relative; padding: clamp(30px, 4vw, 64px) clamp(24px, 3.6vw, 64px) clamp(34px, 4vw, 64px) 0; }
.method__item:nth-child(2n) { padding-left: clamp(24px, 3.6vw, 64px); padding-right: 0; border-left: 1px solid var(--line); }
.method__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
.method__num { display: block; font: italic 500 clamp(64px, 6.6vw, 104px)/.9 var(--f-latin); }
.method__item h3 { margin-top: 18px; font: 700 clamp(22px, 1.9vw, 30px)/1.35 var(--f-serif); letter-spacing: .07em; color: var(--cream); }
.method__item p { margin-top: 12px; max-width: 26em; color: var(--mute); }

/* ---------- 8. 風格樣本 ---------- */
.samples { position: relative; padding: clamp(80px, 11vh, 130px) 0 clamp(60px, 9vh, 110px); background: linear-gradient(180deg, var(--ink), #1a1a1a 45%, var(--ink)); }
.samples__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); align-items: end; gap: 26px 60px; }
.samples__head .sec-title { font-size: clamp(34px, 4.4vw, 66px); }
.samples__note { font-size: 14px; line-height: 1.85; color: var(--mute); }
.redact { margin-top: 18px; display: inline-flex; align-items: center; gap: 14px; font-size: 14px; letter-spacing: .2em; color: var(--cream); }
.redact__track { position: relative; width: 58px; height: 28px; background: #2c2c2c; box-shadow: inset 0 0 0 1px var(--line); clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px); transition: background .4s; }
.redact__knob { position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; background: var(--gold); clip-path: var(--octa); transition: transform .5s var(--ease); }
.redact[aria-pressed="true"] .redact__track { background: rgba(200, 179, 112, .3); }
.redact[aria-pressed="true"] .redact__knob { transform: translateX(30px) rotate(45deg); }
.redact__msg { min-height: 1.6em; margin-top: 8px; font: 700 15px/1.6 var(--f-serif); letter-spacing: .08em; color: var(--gold); }

.samples__viewport { --gx: max(var(--gutter), (100vw - var(--maxw)) / 2); margin-top: clamp(30px, 4.6vh, 56px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gx); scrollbar-width: none; padding: 6px 0 22px; }
.samples__viewport::-webkit-scrollbar { display: none; }
.samples__viewport:focus-visible { outline-offset: -4px; }
.samples__track { display: flex; gap: clamp(18px, 2.6vw, 40px); width: max-content; padding-inline: var(--gx); }
.sample { --sw: clamp(290px, 44vw, 640px); width: var(--sw); flex: none; scroll-snap-align: start; }
.sample__screen { position: relative; container-type: inline-size; overflow: hidden; background: #111; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px var(--line); }
.sample__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line-soft); background: #151515; font: 500 11px/1 var(--f-mark); letter-spacing: .08em; color: #7c7766; }
.sample__bar i { width: 8px; height: 8px; background: #3b3b3b; clip-path: var(--octa); }
.sample__bar span { margin-left: 10px; }
.sample__meta { margin-top: 20px; padding-left: 16px; border-left: 1px solid var(--line); transition: opacity .5s; }
.sample__tag { font-size: 12px; letter-spacing: .3em; color: var(--gold); }
.sample__title { margin-top: 4px; font: 700 clamp(18px, 1.4vw, 22px)/1.4 var(--f-serif); letter-spacing: .08em; color: var(--cream); }
.sample__title small { margin-left: 6px; font: 400 12px var(--f-sans); letter-spacing: .1em; color: var(--mute); }
.sample__idea { margin-top: 4px; font-size: 14px; line-height: 1.75; color: var(--mute); }

.samples__foot { margin-top: 18px; display: flex; align-items: center; gap: 22px; font: 600 12px/1 var(--f-mark); letter-spacing: .2em; color: var(--mute); }
.samples__count b { color: var(--gold); font-weight: 600; }
.samples__progress { position: relative; flex: 1; max-width: 320px; height: 1px; background: var(--line); }
.samples__progress i { position: absolute; left: 0; top: -1px; height: 3px; width: calc(var(--sp, 0) * 100%); background: var(--gold); }
.samples__hint { font-family: var(--f-sans); letter-spacing: .24em; }

/* 桌機：往下捲動 → 樣本往左滑 */
.samples.is-pinned { padding: 0; }
.samples.is-pinned .samples__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: calc(var(--nav-h) * .6); }
.samples.is-pinned .samples__viewport { overflow: visible; scroll-snap-type: none; }
.samples.is-pinned .samples__track { transform: translate3d(var(--tx, 0px), 0, 0); will-change: transform; }
.samples.is-pinned .sample { --sw: clamp(300px, min(42vw, (100vh - 440px) * 1.6), 660px); }
.samples:not(.is-pinned) .samples__hint { display: none; }

/* 遮住店名 */
.sample__name { position: relative; display: inline-block; }
.sample__name::after { content: ""; position: absolute; inset: -.06em -.12em; background: repeating-linear-gradient(-45deg, #CDB977 0 .16em, #B9A462 .16em .32em); box-shadow: 0 0 0 .04em rgba(0, 0, 0, .25); transform: scaleX(0); transform-origin: left center; transition: transform .6s var(--ease); }
.is-redacted .sample__name::after { transform: scaleX(1); }
.is-redacted .sample__name, .is-redacted .sample__name b { text-shadow: none !important; }
.is-redacted .sample__meta { opacity: .14; }

/* ---------- 8b. 迷你網站（虛構店家） ---------- */
.mini { position: relative; aspect-ratio: 16 / 10; overflow: hidden; font-family: var(--f-sans); line-height: 1.3; letter-spacing: 0; }
.mini__nav { position: absolute; left: 0; right: 0; top: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; padding: 2.6cqw 3.6cqw; font-size: 1.7cqw; line-height: 1; }
.mini__links { display: flex; gap: 2.6cqw; }
.mini__links i { font-style: normal; opacity: .82; }
.mini p { margin: 0; }

/* 月光洗衣 */
.mini--moon { background: radial-gradient(120% 120% at 76% 30%, #2C3B7C 0%, #1A2152 46%, #0E1232 100%); color: #F7EDBE; }
.mm-stars { position: absolute; inset: 0; opacity: .75; background-image: radial-gradient(1.4px 1.4px at 9% 30%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 22% 72%, #fff 50%, transparent 52%), radial-gradient(1.6px 1.6px at 38% 14%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 47% 86%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 56% 22%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 63% 64%, #fff 50%, transparent 52%), radial-gradient(1.4px 1.4px at 92% 18%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 96% 78%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 31% 46%, #fff 50%, transparent 52%); }
.mm-logo { display: flex; align-items: center; gap: 1.2cqw; font: 400 2.2cqw/1 "Huninn", var(--f-sans); }
.mm-logo > i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; box-shadow: inset -.8cqw -.25cqw 0 0 #F7E28F; }
.mini--moon .mini__links { color: #C9CFF0; }
.mm-copy { position: absolute; left: 6cqw; top: 16cqw; z-index: 2; width: 48cqw; }
.mm-kicker { font: 600 1.45cqw/1 var(--f-mark); letter-spacing: .42em; color: #A9B2E8; }
.mm-title { margin-top: 1.8cqw !important; font: 400 9.4cqw/1.05 "Huninn", var(--f-sans); letter-spacing: .04em; color: #FBEFB5; text-shadow: 0 0 3cqw rgba(251, 226, 140, .45); }
.mm-line { margin-top: 2.2cqw !important; font-size: 1.9cqw; letter-spacing: .1em; color: #D8DCF5; }
.mm-btn { display: inline-block; margin-top: 3.4cqw; padding: 1.4cqw 3cqw; border-radius: 99px; background: #F7E28F; color: #1A2152; font-weight: 700; font-size: 1.7cqw; letter-spacing: .14em; }
.mm-washer { position: absolute; right: 6cqw; top: 11.5cqw; width: 37cqw; height: 45cqw; border-radius: 3cqw; background: linear-gradient(165deg, #F1F3FA, #C3CAE2); box-shadow: inset 0 -1.2cqw 0 rgba(0, 0, 0, .12), 0 2.4cqw 5cqw rgba(0, 0, 0, .4); }
.mm-panel { display: flex; align-items: center; gap: 1.5cqw; height: 8cqw; padding: 0 3cqw; border-bottom: .4cqw solid rgba(26, 33, 82, .14); }
.mm-panel i { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: #2A3270; }
.mm-panel b { margin-left: auto; width: 11cqw; height: 2.8cqw; border-radius: 1cqw; background: #1A2152; box-shadow: inset 0 0 0 .4cqw #3D4A9A; }
.mm-door { position: absolute; left: 3.5cqw; right: 3.5cqw; bottom: 3.5cqw; aspect-ratio: 1; padding: 2.2cqw; border-radius: 50%; background: conic-gradient(from 200deg, #F7F8FD, #9AA3C2, #F7F8FD, #B4BCD6, #F7F8FD); box-shadow: 0 .8cqw 1.6cqw rgba(0, 0, 0, .25); }
.mm-glass { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; background: radial-gradient(circle at 36% 30%, #3B50AA, #141A45 72%); box-shadow: inset 0 0 0 .7cqw rgba(0, 0, 0, .35), inset 0 0 3cqw rgba(0, 0, 0, .6); }
.mm-glass::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(135deg, rgba(255, 255, 255, .28), transparent 38%); }
.mm-drum { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.mm-moon { position: absolute; left: 26%; top: 22%; width: 48%; height: 48%; border-radius: 50%; box-shadow: inset -3.4cqw -1.2cqw 0 0 #F7E28F; filter: drop-shadow(0 0 1.6cqw rgba(247, 226, 143, .65)); }
.mm-b { position: absolute; bottom: 8%; border-radius: 50%; border: .3cqw solid rgba(255, 255, 255, .65); animation: bubble 4.2s ease-in infinite; opacity: 0; }
.mm-b1 { left: 22%; width: 2.6cqw; height: 2.6cqw; }
.mm-b2 { left: 48%; width: 1.6cqw; height: 1.6cqw; animation-delay: 1.3s; }
.mm-b3 { left: 66%; width: 2.2cqw; height: 2.2cqw; animation-delay: 2.4s; }
.mm-b4 { left: 36%; width: 1.2cqw; height: 1.2cqw; animation-delay: 3.1s; }
@keyframes bubble { 0% { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-15cqw) scale(1.1); opacity: 0; } }

/* 森茶房 */
.mini--forest { background: #EEE6D3; color: #2B3A30; }
.mini--forest::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(8deg, rgba(120, 100, 70, .05) 0 1px, transparent 1px 7px), radial-gradient(60% 50% at 70% 20%, rgba(255, 255, 255, .6), transparent); }
.mini--forest::after { content: ""; position: absolute; left: 42cqw; top: 13cqw; width: 11cqw; height: 11cqw; border-radius: 50%; background: #E2C79C; opacity: .75; }
.mf-logo { font: 700 2.2cqw/1 "LXGW WenKai TC", var(--f-serif); letter-spacing: .3em; }
.mini--forest .mini__links { font-family: "LXGW WenKai TC", var(--f-serif); color: #55634F; }
.mf-hills { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.mf-hills .h1 { fill: #A8B8A0; }
.mf-hills .h2 { fill: #63806A; }
.mf-hills .h3 { fill: #2E4838; }
.mf-hills .mist { fill: none; stroke: #EEE6D3; stroke-width: 16; stroke-linecap: round; opacity: .5; }
.mf-title { position: absolute; right: 12.5cqw; top: 10.5cqw; z-index: 2; writing-mode: vertical-rl; font: 700 8.6cqw/1 "LXGW WenKai TC", var(--f-serif); letter-spacing: .16em; color: #21322A; }
.mf-title .sample__name::after { transform: scaleY(0); transform-origin: center top; }
.is-redacted .mf-title .sample__name::after { transform: scaleY(1); }
.mf-seal { position: absolute; right: 5cqw; top: 12cqw; z-index: 2; display: grid; place-items: center; width: 6.6cqw; height: 6.6cqw; border-radius: .6cqw; background: #B4442A; color: #F6EADB; font: 700 4.4cqw/1 "LXGW WenKai TC", var(--f-serif); transform: rotate(-6deg); box-shadow: inset 0 0 0 .35cqw #B4442A, inset 0 0 0 .6cqw #F6EADB; }
.mf-line { position: absolute; left: 7.5cqw; top: 12cqw; z-index: 2; writing-mode: vertical-rl; font: 700 2.3cqw/1.7 "LXGW WenKai TC", var(--f-serif); letter-spacing: .5em; color: #3A4E41; }
.mf-btn { position: absolute; left: 13cqw; top: 12.5cqw; z-index: 2; padding: 1.2cqw 2.2cqw; border: .25cqw solid #2B3A30; font: 700 1.8cqw/1 "LXGW WenKai TC", var(--f-serif); letter-spacing: .3em; color: #2B3A30; }

/* 時光鐘錶行 */
.mini--clock { background: radial-gradient(90% 120% at 28% 55%, #1E335B, #0E192E 72%); color: #F3EBDD; }
.mc-logo { font: 700 2cqw/1 var(--f-serif); letter-spacing: .3em; color: #E2C98F; }
.mini--clock .mini__links { color: #B9C3D6; }
.mc-dial { position: absolute; left: 6cqw; top: 10.5cqw; width: 43cqw; aspect-ratio: 1; padding: 1.7cqw; border-radius: 50%; background: conic-gradient(#8C6B36, #EAD08F, #8C6B36, #D7B675, #8C6B36); box-shadow: 0 3cqw 6cqw rgba(0, 0, 0, .55); }
.mc-face { position: relative; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle, #FBF6EC 0%, #EFE5D2 66%, #E0D1B5 100%); box-shadow: inset 0 0 0 .5cqw rgba(0, 0, 0, .15); }
.mc-face::before, .mc-face::after { content: ""; position: absolute; inset: 3.5%; border-radius: 50%; }
.mc-face::before { background: repeating-conic-gradient(from -1deg, #3A3226 0 2deg, transparent 2deg 30deg); -webkit-mask: radial-gradient(closest-side, transparent 85%, #000 86%); mask: radial-gradient(closest-side, transparent 85%, #000 86%); }
.mc-face::after { background: repeating-conic-gradient(from -.3deg, rgba(58, 50, 38, .5) 0 .6deg, transparent .6deg 6deg); -webkit-mask: radial-gradient(closest-side, transparent 92%, #000 93%); mask: radial-gradient(closest-side, transparent 92%, #000 93%); }
.mc-n { position: absolute; font: 600 3.6cqw/1 var(--f-latin); color: #2A2420; letter-spacing: .02em; }
.mc-12 { left: 50%; top: 13%; translate: -50% 0; }
.mc-3 { right: 12%; top: 50%; translate: 0 -50%; }
.mc-6 { left: 50%; bottom: 13%; translate: -50% 0; }
.mc-9 { left: 12%; top: 50%; translate: 0 -50%; }
.mc-hand { position: absolute; left: 50%; bottom: 50%; transform-origin: 50% 100%; border-radius: 1cqw; background: #1E1A16; }
.mc-h { width: 1.3cqw; height: 24%; margin-left: -.65cqw; transform: rotate(var(--h, 300deg)); }
.mc-m { width: .9cqw; height: 34%; margin-left: -.45cqw; transform: rotate(var(--m, 60deg)); }
.mc-s { width: .36cqw; height: 39%; margin-left: -.18cqw; background: #B4442A; transform: rotate(var(--s, 180deg)); }
.mc-pin { position: absolute; left: 50%; top: 50%; width: 2.4cqw; height: 2.4cqw; margin: -1.2cqw 0 0 -1.2cqw; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #EAD08F, #8C6B36); }
.mc-copy { position: absolute; left: 55cqw; right: 4cqw; top: 15cqw; }
.mc-kicker { font: italic 600 2.3cqw/1 var(--f-latin); letter-spacing: .06em; color: #D8BB7E; }
.mc-title { margin-top: 1.6cqw !important; font: 900 7.4cqw/1.14 var(--f-serif); letter-spacing: .08em; color: #F6EEDD; }
.mc-line { margin-top: 2.2cqw !important; font-size: 1.8cqw; letter-spacing: .06em; color: #B9C3D6; }
.mc-btn { display: inline-block; margin-top: 3cqw; padding: 1.3cqw 2.6cqw; border: .25cqw solid #D8BB7E; color: #EAD08F; font-size: 1.7cqw; letter-spacing: .2em; }

/* 方寸設計 */
.mini--plan {
  color: #EAF2FF;
  background-color: #1D4A86;
  background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 8cqw 8cqw, 8cqw 8cqw, 1.6cqw 1.6cqw, 1.6cqw 1.6cqw;
}
.mp-logo { font: 500 2cqw/1 "Chiron Hei HK", var(--f-sans); letter-spacing: .42em; }
.mini--plan .mini__links { font-family: "Chiron Hei HK", var(--f-sans); color: #C9DCF7; }
.mp-copy { position: absolute; left: 6cqw; top: 15cqw; width: 42cqw; }
.mp-kicker { font: 600 1.4cqw/1 var(--f-mark); letter-spacing: .5em; color: #9FC2F2; }
.mp-title { margin-top: 1.6cqw !important; font: 300 5.6cqw/1.1 "Chiron Hei HK", var(--f-sans); letter-spacing: .32em; }
.mp-title b { display: block; font-weight: 300; font-size: 11.5cqw; line-height: 1.05; letter-spacing: .1em; }
.mp-line { margin-top: 2.4cqw !important; font: 300 1.9cqw/1.6 "Chiron Hei HK", var(--f-sans); letter-spacing: .22em; color: #C9DCF7; }
.mp-btn { display: inline-block; margin-top: 2.8cqw; padding: 1.3cqw 2.6cqw; border: .2cqw solid #EAF2FF; font: 500 1.7cqw/1 "Chiron Hei HK", var(--f-sans); letter-spacing: .3em; }
.mp-plan { position: absolute; right: 5cqw; top: 13cqw; width: 45cqw; height: auto; overflow: visible; }
.mp-walls path { fill: none; stroke: #F2F7FF; stroke-width: 6; stroke-linejoin: miter; stroke-dasharray: 1300; stroke-dashoffset: 0; }
.mp-thin path, .mp-thin rect, .mp-thin circle { fill: none; stroke: #BBD3F5; stroke-width: 1.5; }
.mp-dim path { fill: none; stroke: #9FC2F2; stroke-width: 1; }
.mp-dim text { fill: #9FC2F2; font: 500 11px var(--f-mark); letter-spacing: .1em; text-anchor: middle; }
.mp-block { position: absolute; right: 5cqw; bottom: 3.4cqw; display: flex; border: .2cqw solid #BBD3F5; font: 500 1.3cqw/1 "Chiron Hei HK", var(--f-sans); letter-spacing: .1em; color: #BBD3F5; }
.mp-block span { padding: .9cqw 1.4cqw; }
.mp-block span + span { border-left: .2cqw solid #BBD3F5; }
.js .mini--plan .mp-walls path { stroke-dashoffset: 1300; }
.js .mini--plan .mp-thin { opacity: 0; transition: opacity 1.2s 1.6s; }
.mini--plan.is-live .mp-walls path { animation: draw-walls 2.6s var(--ease-io) forwards; }
.mini--plan.is-live .mp-thin { opacity: 1; }
@keyframes draw-walls { to { stroke-dashoffset: 0; } }

/* 宵夜研究室 */
.mini--lab {
  color: #F8E9FF;
  background-color: #110C1D;
  background-image: linear-gradient(rgba(255, 255, 255, .035) .25cqw, transparent .25cqw), linear-gradient(90deg, rgba(255, 255, 255, .03) .25cqw, transparent .25cqw);
  background-size: 100% 4.6cqw, 9.2cqw 9.2cqw;
}
.mini--lab::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 20% 45%, rgba(255, 79, 168, .16), transparent 70%), radial-gradient(45% 55% at 46% 60%, rgba(64, 240, 255, .12), transparent 70%); }
.ml-logo { font: 600 1.5cqw/1 var(--f-mark); letter-spacing: .4em; color: #40F0FF; text-shadow: 0 0 1cqw #40F0FF; }
.mini--lab .mini__links { color: #D9C7E8; }
.ml-sign { position: absolute; left: 7cqw; top: 12cqw; z-index: 2; padding: 2cqw 1.8cqw; border: .5cqw solid #FF4FA8; border-radius: 2.2cqw; box-shadow: 0 0 1.6cqw #FF4FA8, inset 0 0 1.6cqw rgba(255, 79, 168, .55); }
.ml-sign .sample__name { display: flex; flex-direction: column; gap: .8cqw; }
.ml-sign b { font: 400 8.8cqw/1 "Huninn", var(--f-sans); color: #FFE3F2; text-shadow: 0 0 .6cqw #FF4FA8, 0 0 2cqw #FF4FA8, 0 0 4.4cqw #FF2D95; }
.ml-sign b:last-child { animation: flicker 5s linear infinite; }
@keyframes flicker { 0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; } 20%, 24%, 55% { opacity: .35; } }
.ml-beaker { position: absolute; left: 27cqw; top: 17cqw; z-index: 2; width: 21cqw; overflow: visible; }
.ml-glass { fill: none; stroke: #40F0FF; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px #40F0FF) drop-shadow(0 0 12px #10C8FF); }
.ml-liquid { fill: none; stroke: #B9FF5C; stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 5px #B9FF5C); }
.ml-bub { fill: none; stroke: #B9FF5C; stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: labbub 2.8s ease-in infinite; filter: drop-shadow(0 0 4px #B9FF5C); }
.ml-bub2 { animation-delay: .9s; }
.ml-bub3 { animation-delay: 1.7s; }
@keyframes labbub { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-150px); opacity: 0; } }
.ml-copy { position: absolute; right: 5cqw; top: 18cqw; z-index: 2; width: 44cqw; text-align: right; }
.ml-title { font: 400 6.6cqw/1.1 "Huninn", var(--f-sans); color: #E9FDFF; text-shadow: 0 0 .5cqw #40F0FF, 0 0 1.8cqw #10C8FF; }
.ml-line { margin-top: 2.2cqw !important; font-size: 1.8cqw; letter-spacing: .08em; color: #D9C7E8; }
.ml-btn { display: inline-block; margin-top: 3cqw; padding: 1.3cqw 2.8cqw; border: .3cqw solid #FF4FA8; border-radius: 99px; color: #FFD0E8; font-size: 1.7cqw; letter-spacing: .2em; box-shadow: 0 0 1.4cqw rgba(255, 79, 168, .7), inset 0 0 1cqw rgba(255, 79, 168, .4); }

/* 不在畫面上的迷你網站，動畫先暫停 */
.js .mini:not(.is-live) *, .js .mini:not(.is-live) { animation-play-state: paused !important; }

/* ---------- 9. 合作流程：一張會笑的臉 ---------- */
.process { position: relative; overflow: hidden; padding: clamp(100px, 14vh, 170px) 0 clamp(90px, 12vh, 150px); }
.face { --pp: 1; position: relative; }
.js .face { --pp: 0; }
.face__svg { width: 100%; height: auto; overflow: visible; }
.face__eye { fill: var(--gold); transform-box: fill-box; transform-origin: center; transition: transform .8s var(--pop); filter: drop-shadow(0 0 18px rgba(200, 179, 112, .35)); }
.js .face__eye { transform: scale(0); }
.js .face.is-awake .face__eye { transform: scale(1); }
.js .face.is-awake .face__eye--r { transition-delay: .12s; }
.face.is-done .face__eye { animation: blink .5s ease-in-out .3s 2; }
.face__track { fill: none; stroke: var(--line-soft); stroke-width: 2; stroke-dasharray: 2 12; }
.face__smile { fill: none; stroke: var(--gold); stroke-width: 15; stroke-linecap: round; stroke-dasharray: 1 2; stroke-dashoffset: calc((1 - var(--pp)) * 1.02); filter: drop-shadow(0 6px 24px rgba(200, 179, 112, .25)); }
.face__mark .oc { fill: var(--ink); stroke: var(--line); stroke-width: 2; transition: fill .5s, stroke .5s; }
.face__mark text { font: italic 600 26px var(--f-latin); fill: var(--mute); text-anchor: middle; dominant-baseline: central; transition: fill .5s; }
.face__mark.is-on .oc { fill: var(--gold); stroke: var(--gold); }
.face__mark.is-on text { fill: var(--ink); }
html:not(.js) .face__mark .oc { fill: var(--gold); }
.face__head { position: absolute; left: 50%; top: 37%; width: min(70%, 640px); translate: -50% 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.face__head .sec-title { font-size: clamp(32px, 3.9vw, 60px); }
.steps { position: relative; margin-top: clamp(4px, 1vw, 20px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 40px); }
.step { position: relative; text-align: center; }
.js .step { opacity: .25; transform: translateY(18px); transition: opacity .7s, transform .9s var(--ease); }
.js .step.is-on { opacity: 1; transform: none; }
.step__num { display: none; font: italic 600 40px/1 var(--f-latin); color: var(--gold); }
.step h3 { font: 700 clamp(19px, 1.6vw, 25px)/1.4 var(--f-serif); letter-spacing: .08em; color: var(--cream); }
.step p { margin-top: 10px; font-size: 15px; line-height: 1.9; color: var(--mute); }
.process__finale { margin-top: clamp(56px, 9vh, 100px); text-align: center; font: 900 clamp(26px, 3.2vw, 48px)/1.4 var(--f-serif); letter-spacing: .14em; color: var(--gold); }

/* ---------- 10. 方案：三張名片 ---------- */
.pricing { position: relative; padding: clamp(100px, 14vh, 170px) 0; background: radial-gradient(70% 50% at 50% 0%, #2b2b2b, transparent 70%), var(--ink); }
.billing { position: relative; margin-top: 34px; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; background: #1a1a1a; box-shadow: inset 0 0 0 1px var(--line); clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px); }
.billing__opt { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 150px; height: 48px; padding: 0 18px; font-weight: 700; letter-spacing: .2em; color: var(--mute); transition: color .4s; }
.billing__opt small { font-size: 11px; font-weight: 500; letter-spacing: .08em; opacity: .9; }
.billing__opt[aria-pressed="true"] { color: var(--on-gold); }
.billing__thumb { position: absolute; left: 5px; top: 5px; bottom: 5px; width: calc(50% - 5px); background: var(--foil); background-size: 240% 100%; background-position: calc(var(--mx) * 100%) 50%; clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px); transition: transform .6s var(--ease); }
.billing.is-yearly .billing__thumb { transform: translateX(100%); }

.plans { margin-top: clamp(56px, 8vh, 86px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 32px); align-items: stretch; }
.plan { position: relative; perspective: 1200px; }
.plan--pro { margin-top: -22px; margin-bottom: 22px; }
.plan__card {
  --cut: 24px;
  --fc: var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(28px, 2.6vw, 42px);
  overflow: hidden;
  background: linear-gradient(160deg, #2b2b2b, #222 60%);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease);
}
.plan__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(to bottom right, transparent calc(50% - .6px), var(--fc) 0 calc(50% + .6px), transparent 0) 0 0 / var(--cut) var(--cut) no-repeat,
    linear-gradient(to bottom left, transparent calc(50% - .6px), var(--fc) 0 calc(50% + .6px), transparent 0) 100% 0 / var(--cut) var(--cut) no-repeat,
    linear-gradient(to bottom right, transparent calc(50% - .6px), var(--fc) 0 calc(50% + .6px), transparent 0) 100% 100% / var(--cut) var(--cut) no-repeat,
    linear-gradient(to bottom left, transparent calc(50% - .6px), var(--fc) 0 calc(50% + .6px), transparent 0) 0 100% / var(--cut) var(--cut) no-repeat;
  box-shadow: inset 0 0 0 1px var(--fc);
}
.plan__card::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 244, 214, .17), transparent 55%); opacity: 0; transition: opacity .5s; }
.plan:hover .plan__card::before { opacity: 1; }
.plan__card > * { position: relative; z-index: 1; }
.plan__lines { position: absolute !important; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; background: linear-gradient(135deg, transparent 56%, var(--lc, rgba(200, 179, 112, .28)) 0 calc(56% + 1.4px), transparent 0 64%, var(--lc, rgba(200, 179, 112, .28)) 0 calc(64% + 1.4px), transparent 0); pointer-events: none; z-index: 0 !important; }
.plan__head { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
.plan__badge { grid-row: span 2; position: relative; display: grid; place-items: center; width: 60px; aspect-ratio: 1; --oc-plate: transparent; --oc-ring: var(--gold); --oc-sw: 12px; }
.plan__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan__badge b { position: relative; font: italic 600 22px/1 var(--f-latin); color: var(--gold); }
.plan h3 { font: 900 30px/1.2 var(--f-serif); letter-spacing: .14em; color: var(--cream); }
.plan h3 small { margin-left: 10px; font: italic 500 19px/1 var(--f-latin); letter-spacing: .04em; color: var(--gold); }
.plan__fit { margin-top: 4px; font-size: 13.5px; line-height: 1.5; letter-spacing: .05em; color: var(--mute); }
.plan__price { margin-top: 34px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; color: var(--gold); }
.plan__cur { font: 600 19px/1 var(--f-latin); letter-spacing: .06em; }
.plan__amt { font: 600 clamp(56px, 4.8vw, 78px)/.9 var(--f-latin); letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.plan__per { font: 500 16px/1 var(--f-sans); color: var(--mute); }
.plan__price--quote .plan__cur { font: 700 15px/1 var(--f-sans); letter-spacing: .1em; }
.plan__alt { margin-top: 10px; min-height: 1.6em; font-size: 13px; letter-spacing: .06em; color: var(--mute); }
.plan__list { flex: 1; display: grid; align-content: start; gap: 12px; margin: 26px 0 34px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.plan__list li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.7; color: var(--cream); overflow-wrap: anywhere; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 11px; height: 11px; background: var(--gold); clip-path: var(--octa); }
.plan__btn { width: 100%; }
.plan__amt.is-flip { animation: num-flip .5s var(--ease); }
@keyframes num-flip { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.plan--pro .plan__card { --fc: rgba(30, 30, 30, .45); --lc: rgba(30, 30, 30, .3); background: var(--foil-card); background-size: 220% 100%; background-position: calc(var(--mx) * 100%) 50%; color: var(--on-gold); box-shadow: 0 40px 90px -40px rgba(200, 179, 112, .5); }
.plan--pro h3, .plan--pro .plan__price { color: var(--on-gold); }
.plan--pro h3 small, .plan--pro .plan__badge b { color: var(--on-gold); }
.plan--pro .plan__badge { --oc-ring: var(--on-gold); }
.plan--pro .plan__fit, .plan--pro .plan__per, .plan--pro .plan__alt { color: var(--on-gold-mute); }
.plan--pro .plan__list { border-top-color: rgba(30, 30, 30, .25); }
.plan--pro .plan__list li { color: #262117; }
.plan--pro .plan__list li::before { background: var(--on-gold); }
.plan--pro .plan__head { padding-right: 72px; }
.plan__seal { position: absolute !important; top: 22px; right: 22px; display: grid; place-items: center; width: 66px; height: 66px; padding-left: .2em; background: var(--ink); color: var(--gold); font: 900 15px/1 var(--f-serif); letter-spacing: .2em; clip-path: var(--octa); transform: rotate(-10deg); }
.plan--custom .plan__card { background: linear-gradient(160deg, #1b1b1b, #121212); }
.plan__watermark { position: absolute !important; right: -70px; bottom: -70px; width: 320px; opacity: .08; pointer-events: none; z-index: 0 !important; }
.pricing__note { margin: clamp(36px, 6vh, 56px) auto 0; max-width: 46em; text-align: center; font-size: 14px; line-height: 1.9; color: var(--mute); }

/* ---------- 11. 常見問題 ---------- */
.faq { position: relative; padding: clamp(100px, 14vh, 170px) 0; border-top: 1px solid var(--line-soft); }
.faq__wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq__aside { margin-top: 26px; color: var(--mute); }
.faq__aside a { color: var(--gold); border-bottom: 1px solid var(--line); transition: border-color .3s; }
.faq__aside a:hover { border-color: var(--gold); }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 24px 0; list-style: none; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa__face { width: 42px; height: 42px; }
.qa__face svg { width: 100%; height: 100%; overflow: visible; }
.qa__oct { fill: none; stroke: var(--line); stroke-width: 1.5; transition: stroke .4s, fill .4s; }
.qa__face ellipse { fill: var(--gold); }
.qa__mouth { fill: none; stroke: var(--gold); stroke-width: 2.6; stroke-linecap: round; transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(.1); transition: transform .55s var(--pop); }
.qa[open] .qa__mouth { transform: scaleY(1); }
.qa.is-closing .qa__mouth { transform: scaleY(.1); }
.qa.is-closing .qa__plus::after { transform: rotate(90deg); }
.qa[open] .qa__oct, .qa summary:hover .qa__oct { stroke: var(--gold); }
.qa__q { font: 700 clamp(17px, 1.3vw, 21px)/1.5 var(--f-serif); letter-spacing: .05em; color: var(--cream); transition: color .3s; }
.qa summary:hover .qa__q, .qa[open] .qa__q { color: var(--gold); }
.qa__plus { position: relative; width: 16px; height: 16px; }
.qa__plus::before, .qa__plus::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; margin-top: -.75px; background: var(--gold); transition: transform .5s var(--ease); }
.qa__plus::after { transform: rotate(90deg); }
.qa[open] .qa__plus::after { transform: rotate(0deg); }
.qa__a { overflow: hidden; }
.qa__a p { max-width: 40em; padding: 0 34px 28px 60px; line-height: 2; color: var(--mute); }

/* ---------- 12. 聯絡：翻面的名片 ---------- */
.contact { position: relative; overflow: hidden; padding: clamp(110px, 15vh, 180px) 0; background: radial-gradient(70% 70% at 78% 50%, #2b2b2b 0%, var(--ink) 62%); }
.contact__rays { position: absolute; left: 72%; top: 50%; width: 130vmax; height: 130vmax; translate: -50% -50%; background: repeating-conic-gradient(from 0deg, rgba(200, 179, 112, .06) 0 .7deg, transparent .7deg 7.5deg); -webkit-mask: radial-gradient(closest-side, #000 10%, transparent 66%); mask: radial-gradient(closest-side, #000 10%, transparent 66%); animation: spin 220s linear infinite reverse; pointer-events: none; }
.contact__wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.contact .sec-title { font-size: clamp(34px, 4.1vw, 64px); }
.contact__list { margin-top: 36px; border-top: 1px solid var(--line); }
.contact__list li { display: grid; grid-template-columns: 136px minmax(0, 1fr); align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact__k { font-size: 13px; letter-spacing: .22em; color: var(--mute); }
.contact__v { justify-self: start; font-weight: 500; letter-spacing: .06em; color: var(--cream); }
a.contact__v { color: var(--gold); border-bottom: 1px solid transparent; transition: border-color .3s; overflow-wrap: anywhere; }
a.contact__v:hover { border-bottom-color: var(--gold); }
.contact__go { margin-left: 12px; font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--mute); }
.contact__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.contact__stage { display: flex; flex-direction: column; align-items: center; perspective: 1600px; }
.bizcard { position: relative; display: block; width: min(100%, 580px); aspect-ratio: 1290 / 780; transform-style: preserve-3d; animation: float 8s ease-in-out infinite; }
.bizcard:focus-visible { outline-offset: 10px; }
.bizcard__inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(calc(var(--ry, 0deg) + var(--flip, 0deg))); transition: transform 1.1s var(--ease); }
.bizcard[aria-pressed="true"] { --flip: 180deg; }
.bizcard__face { position: absolute; inset: 0; overflow: hidden; border-radius: 12px; -webkit-backface-visibility: hidden; backface-visibility: hidden; background: var(--ink); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(200, 179, 112, .18); }
.bizcard__face--back { transform: rotateY(180deg); background: linear-gradient(135deg, transparent 0 15%, rgba(200, 179, 112, .55) 0 calc(15% + 1.2px), transparent 0 19%, rgba(200, 179, 112, .55) 0 calc(19% + 1.2px), transparent 0 81%, rgba(200, 179, 112, .55) 0 calc(81% + 1.2px), transparent 0 85%, rgba(200, 179, 112, .55) 0 calc(85% + 1.2px), transparent 0), var(--ink); }
.bizcard__art { width: 100%; height: 100%; }
.bizcard__word { font: 400 54.5px var(--f-mark); letter-spacing: 12.4px; fill: url(#g-card-foil); }
.bizcard__sheen { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 32%, rgba(255, 240, 200, .18) 46%, transparent 60%); background-size: 260% 100%; background-position: calc(var(--sx, 50) * 1%) 0; mix-blend-mode: screen; pointer-events: none; }
.bizcard__back { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 7%; text-align: center; }
.bizcard__mini { width: 15%; margin-bottom: 8px; }
.bizcard__name { padding-left: .3em; font: 900 clamp(18px, 2.2vw, 31px)/1.2 var(--f-serif); letter-spacing: .3em; color: var(--gold); }
.bizcard__en { padding-left: .4em; font: 400 clamp(9px, .8vw, 12px)/1 var(--f-mark); letter-spacing: .4em; color: var(--mute); }
.bizcard__rule { width: 36%; height: 5px; margin: 10px 0 8px; border-block: 1px solid var(--line); }
.bizcard__row { font-size: clamp(11px, .9vw, 14px); letter-spacing: .1em; color: var(--cream); }
.bizcard__row em { margin-right: 12px; font: 600 10px/1 var(--f-mark); font-style: normal; letter-spacing: .3em; color: var(--gold); }
.bizcard__hint { margin-top: 34px; display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .3em; color: var(--mute); }
.bizcard__hint::before { content: ""; width: 18px; height: 18px; border: 1.5px solid var(--gold); border-left-color: transparent; border-radius: 50%; animation: spin 3s linear infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotateX(5deg) rotateZ(-2deg); } 50% { transform: translateY(-14px) rotateX(-3deg) rotateZ(1deg); } }

/* ---------- 13. 頁尾 ---------- */
.footer { position: relative; overflow: hidden; padding: clamp(70px, 10vh, 120px) 0 40px; background: #161616; border-top: 1px solid var(--line-soft); }
.footer__stamp { padding: 0 var(--gutter); text-align: center; }
.footer__word { --fill: 0%; position: relative; display: inline-block; padding-left: .08em; font: 600 clamp(26px, 6.6vw, 128px)/1 var(--f-mark); letter-spacing: .08em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(200, 179, 112, .5); }
.footer__word::after { content: attr(data-text); position: absolute; inset: 0; padding-left: .08em; color: transparent; -webkit-text-stroke: 0; background: var(--foil); background-size: 200% 100%; background-position: calc(var(--mx) * 100%) 50%; -webkit-background-clip: text; background-clip: text; clip-path: inset(0 calc(100% - var(--fill)) 0 0); transition: clip-path 2.2s var(--ease-io); }
.footer.is-in .footer__word, html:not(.js) .footer__word { --fill: 100%; }
.footer__grid { margin-top: clamp(50px, 8vh, 80px); padding-top: 36px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 26px 60px; align-items: center; border-top: 1px solid var(--line-soft); }
.footer__brand { display: flex; align-items: center; gap: 18px; }
.footer__emblem { width: 64px; height: 64px; flex: none; }
.footer__name { font: 900 20px/1.3 var(--f-serif); letter-spacing: .24em; color: var(--gold); }
.footer__desc { font-size: 14px; color: var(--mute); }
.footer__contact { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: 13px; letter-spacing: .06em; }
.footer__contact a { color: var(--gold); border-bottom: 1px solid transparent; transition: border-color .3s; }
.footer__contact a:hover { border-bottom-color: var(--gold); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 26px; font-size: 14px; letter-spacing: .16em; }
.footer__nav a { color: var(--mute); transition: color .3s; }
.footer__nav a:hover { color: var(--gold); }
.footer__copy { grid-column: 1 / -1; margin-top: 8px; font-size: 12px; letter-spacing: .14em; color: #948D75; }

.totop { position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 40; width: 52px; height: 52px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .6s var(--ease); }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop svg { width: 100%; height: 100%; overflow: visible; }
.totop path:first-child { fill: rgba(22, 22, 22, .88); stroke: var(--gold); stroke-width: 1.4; transition: fill .3s; }
.totop__arrow { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.totop:hover path:first-child { fill: var(--gold); }
.totop:hover .totop__arrow { stroke: var(--ink); }

/* ---------- 14. 響應式 ---------- */
@media (min-width: 1024px) {
  .js .hero-stage.is-zoomable { height: 175vh; height: 175svh; }
}
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
}
/* 矮手機（如 375×667）：右下斜線再縮小，避開按鈕 */
@media (max-width: 760px) and (max-height: 720px) {
  .hero__card .hero__lines--br { width: 18%; bottom: 0; }
}
/* 直式平板：斜線移到角落，Logo 放大 */
@media (orientation: portrait) and (min-width: 761px) {
  .hero__lines--tl { width: 30%; top: 8%; }
  .hero__lines--br { width: 30%; top: auto; bottom: 6%; }
  .hero__emblem { width: min(46vw, 34vh, 380px); }
}
@media (max-width: 1023px) {
  .plans { grid-template-columns: minmax(0, 560px); justify-content: center; gap: 26px; }
  .plan--pro { margin: 0; }
}
@media (max-width: 900px) {
  .manifesto__grid, .faq__wrap, .contact__wrap, .method__head { grid-template-columns: minmax(0, 1fr); }
  .faq__head { position: static; }
  .samples__head { grid-template-columns: minmax(0, 1fr); }
  .contact__stage { margin-top: 20px; }
  .face { display: flex; flex-direction: column-reverse; }
  .face__head { position: static; width: auto; translate: none; align-items: flex-start; text-align: left; }
  .face__svg { width: min(100%, 460px); margin: 34px auto 0; }
  .face__mark text { font-size: 34px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 26px; border-top: 1px solid var(--line); }
  .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 8px; padding: 22px 0; text-align: left; border-bottom: 1px solid var(--line); }
  .step__num { display: block; grid-row: span 2; font-size: 34px; }
  .step p { margin-top: 6px; }
  .process__finale { text-align: left; }
}
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .nav__word span { display: none; }
  .hero__lines--tl { width: 34%; top: 9%; }
  .hero__lines--br { width: 24%; top: auto; bottom: 1.5%; }
  .map__svg { aspect-ratio: 1 / 1; }
  .map__caption { font-size: 15px; }
  .samples { padding-bottom: 30px; }
  .process { padding-top: 80px; }
  .totop { width: 44px; height: 44px; }
  .hero__emblem { width: min(58vw, 34vh, 300px); }
  .lockup__en { font-size: clamp(15px, 4.6vw, 26px); letter-spacing: .2em; padding-left: .2em; }
  .lockup__zh::before, .lockup__zh::after { width: 22px; }
  .hero__tagline { font-size: clamp(20px, 5.4vw, 26px); letter-spacing: .08em; }
  .hero__sub { font-size: 14px; letter-spacing: .04em; }
  .br-sm { display: inline; }
  .hero__cta { width: 100%; max-width: 360px; flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .promise::after { width: 46vw; opacity: .5; }
  .promise__item { grid-template-columns: auto minmax(0, 1fr); row-gap: 14px; }
  .promise__desc { grid-column: 1 / -1; }
  .method__grid { grid-template-columns: minmax(0, 1fr); }
  .method__grid::before, .method__grid::after { display: none; }
  .method__item, .method__item:nth-child(2n) { padding: 30px 0; border-left: 0; }
  .method__item + .method__item { border-top: 1px solid var(--line); }
  .method__item { display: grid; grid-template-columns: 70px minmax(0, 1fr); column-gap: 10px; }
  .method__num { grid-row: span 2; font-size: 56px; }
  .method__item h3 { margin-top: 2px; }
  .sample { --sw: min(84vw, 460px); }
  .qa__a p { padding-left: 0; padding-right: 0; }
  .contact__list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .contact__cta .btn { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__nav { justify-content: flex-start; }
  .quote footer { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .nav__cta { display: none; }
  .billing__opt { min-width: 0; padding: 0 14px; }
}

/* ---------- 15. 減少動態 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
