:root {
  --ink: #0b1340;
  --ink-2: #1c2a6b;
  --accent: #2ee6e6;
  --violet: #8b5cf6;
  --accent-deep: #5a35d6;
  --light-accent: #c9f6ff;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Geist", "Noto Sans TC", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --serif: Georgia, "Times New Roman", serif;
  --gutter: clamp(14px, 1.6vw, 22px); /* 外框與視窗邊緣的距離，與 v1 相同 */
}

* { box-sizing: border-box; }
html { background: #060a22; }
body {
  margin: 0;
  color: #f6f8fa;
  background: #060a22;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { flex: none; }

/* ---------- 頂部閱讀進度 ---------- */

.reading-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.reading-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #8b5cf6); transform-origin: 0; transform: scaleX(0); }

/* ---------- 頁首 ---------- */

.story-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100px;
  padding: 0 3.5%;
  color: var(--ink);
  pointer-events: none;
}
.story-header :is(a, button) { pointer-events: auto; }

.desktop-nav {
  grid-area: 1 / 1;
  justify-self: start;
  display: flex;
  gap: 2px;
  width: fit-content;
  padding: 6px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 5px 28px rgba(11, 19, 64, 0.06);
}
.desktop-nav a {
  padding: 13px 18px;
  border-radius: 26px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}
.desktop-nav a:hover, .desktop-nav a[aria-current] { background: var(--accent); }

.wordmark {
  grid-area: 1 / 2;
  align-self: start;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px 12px;
  border-radius: 0 0 12px 12px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(11, 19, 64, 0.06);
  transition: padding 0.4s var(--ease);
}
.wm-main { font: 600 32px/1 var(--sans); letter-spacing: -1.7px; }
.wm-main i {
  font: italic 400 1.15em/1 var(--serif);
  background: linear-gradient(120deg, #2ee6e6, var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 0.04em;
}
.wm-sub { align-self: flex-start; font: 600 11px/1 var(--mono); letter-spacing: 0.08em; color: var(--accent-deep); }
[data-page-scrolled="true"] .wordmark { padding: 8px 12px; }

.header-actions { grid-area: 1 / 3; justify-self: end; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 23px;
  border-radius: 40px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  transition: background 0.25s;
}
.contact-link svg { transition: transform 0.35s var(--ease); }
.contact-link:hover { background: var(--accent); }
.contact-link:hover svg { transform: translate(3px, -3px); }

/* ---------- 旅程舞台 ---------- */

.journey { position: relative; height: 1100vh; height: 1100svh; }
.journey-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
  perspective: 1600px;
  background: radial-gradient(at 50% 42%, #241d66 0%, #0e0d3a 50%, #04041a 100%);
}

/* 全息玻璃外框：跟著滑鼠傾斜、反光 */
.journey-film {
  position: absolute;
  inset: var(--gutter);
  z-index: -3;
  isolation: isolate;
  overflow: hidden;
  border-radius: clamp(16px, 1.8vw, 26px);
  background: #0a0a26;
  pointer-events: none;
  transform: rotateX(var(--holo-rx, 0deg)) rotateY(var(--holo-ry, 0deg));
  transform-origin: 50%;
  backface-visibility: hidden;
  box-shadow:
    0 0 0 1px #ece8ffc9,
    0 0 0 4px #9a7cff21,
    0 5px 0 #5236c8,
    0 8px 0 #120c3d,
    0 32px 70px rgba(0, 0, 0, 0.73),
    0 0 75px #2ee6e623;
}
.journey-film img,
.journey-film video,
.journey-film .film-live {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(var(--holo-dx, 0px), var(--holo-dy, 0px)) scale(1.055);
}
.film-live { display: none; }
.journey-film.use-live video { display: none; }
.journey-film.use-live .film-live { display: block; }

.journey-film::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at var(--holo-x, 50%) var(--holo-y, 50%), #ffffffa8 0%, #e3d9ff38 10%, transparent 35%),
    linear-gradient(118deg, transparent 28%, #2ee6e60a 35%, #ece4ff85 43%, #fffffff2 44%, #ddd2ff70 45%, transparent 50%, #a5bcff25 54%, transparent 65%);
  background-size: 100% 100%, 240% 200%;
  background-position: center, var(--holo-x, 50%) var(--holo-y, 50%);
  mix-blend-mode: screen;
  opacity: 0.65;
  transition: opacity 0.45s;
}
.journey-film[data-holo-active]::before { opacity: 1; }

.journey-film::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid #f0ecffb3;
  background:
    linear-gradient(#b8f7ff, #b8f7ff) 17px 17px / 25px 1px no-repeat,
    linear-gradient(#b8f7ff, #b8f7ff) 17px 17px / 1px 25px no-repeat,
    linear-gradient(#b8f7ff, #b8f7ff) right 17px bottom 17px / 25px 1px no-repeat,
    linear-gradient(#b8f7ff, #b8f7ff) right 17px bottom 17px / 1px 25px no-repeat;
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.87),
    inset 2px 0 2px rgba(230, 222, 255, 0.63),
    inset 0 -3px 2px #2ee6e6c0,
    inset -2px 0 2px rgba(195, 207, 255, 0.5),
    inset 0 0 16px rgba(213, 255, 255, 0.13);
}

.journey-vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

/* 影片 ASCII 脈衝（在外框內） */
.film-ascii-pulse {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translate(var(--holo-dx, 0px), var(--holo-dy, 0px)) scale(1.055);
}
.film-ascii-pulse[hidden] { display: none; }

/* 文字離場的 ASCII 粒子 */
.ascii-dissolve {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none !important;
  filter: drop-shadow(0 0 5px #2ee6e6aa);
}
.ascii-dissolve[hidden] { display: none; }

/* ---------- 章節 ---------- */

.journey-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.journey-scene:not(:first-of-type) { opacity: 0; visibility: hidden; }
.journey-scene :is(a, button) { pointer-events: auto; }

.journey-heading {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 82%;
  text-align: center;
  transform: translate(-50%, -50%);
}

.journey-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

/* 標題：依影片明暗自動切換墨色 */
[data-film-ink="dark"] { --film-ink: #0b1340; --film-accent: #3d2a9e; --film-halo: #f7f5ff; --film-stroke: #f7f5ff; }
[data-film-ink="light"] { --film-ink: #fff; --film-accent: #c9f6ff; --film-halo: #0a0828; --film-stroke: #0a0828; }

.journey-scene :is(h1, h2) {
  margin: 20px 0 0;
  font-size: clamp(56px, 7.5vw, 126px);
  font-weight: 550;
  line-height: 1.01;
  letter-spacing: -0.065em;
  color: var(--film-ink, #fff);
  -webkit-text-stroke: 0.65px var(--film-stroke, #0a0828);
  paint-order: stroke fill;
  transition: color 0.35s;
}
.journey-scene :is(h1, h2),
.journey-scene :is(h1, h2) * {
  text-shadow:
    0 1px 0 var(--film-halo, #0a0828),
    0 2px 0 var(--film-halo, #0a0828),
    0 3px 0 var(--film-halo, #0a0828),
    0 4px 0 var(--film-halo, #0a0828);
}
.journey-scene :is(h1, h2) em {
  color: var(--film-accent, #c9f6ff);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.06em;
}

.journey-line { display: block; }
.journey-word-mask {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  margin: -0.09em -0.05em -0.13em;
  padding: 0.09em 0.05em 0.13em;
}
.journey-word-mask + .journey-word-mask { margin-left: 0.18em; }
.journey-word {
  display: inline-block;
  transform-origin: bottom;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.journey-manifesto .journey-word-mask,
.journey-discover .journey-word-mask,
.journey-outro .journey-word-mask { overflow: visible; }

/* 第一章：載入時文字由下方旋轉升起 */
.journey-ready .journey-intro .journey-word {
  animation: journey-arrival 1.1s var(--ease) var(--arrival-delay, 0s) backwards;
}
@keyframes journey-arrival {
  0% { opacity: 0; transform: translateY(110%) rotate(3deg); }
  100% { opacity: 1; transform: translate(0, 0); }
}

/* 白底資訊卡片 */
.journey-heading > .journey-label,
.journey-tagline,
.journey-corner-copy,
.journey-intro-aside,
.journey-service-links > a,
.journey-footer,
.journey-bottom > span {
  color: var(--ink);
  background: #fff;
  border: 1px solid #fff;
  border-radius: 3px;
}
.journey-heading > .journey-label {
  display: inline-block;
  width: fit-content;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
}
.journey-news,
.journey-intro-aside,
.journey-corner-copy,
.journey-service-links > a,
.journey-footer {
  outline: 1px solid rgba(255, 255, 255, 0.5);
  outline-offset: -1px;
  box-shadow:
    0 2px 0 #b4acd9,
    var(--shadow-x, 0px) 16px 24px rgba(10, 6, 40, 0.33),
    var(--shadow-x, 0px) 32px 60px rgba(10, 6, 40, 0.19);
}
.journey-heading > .journey-label,
.journey-tagline {
  box-shadow: 0 2px 0 #b6aedb, var(--shadow-x, 0px) 9px 17px rgba(10, 6, 40, 0.22);
}

.journey-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
  padding: 15px 23px;
  border: 1px solid rgba(240, 242, 255, 0.7);
  border-radius: 40px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.015em;
  box-shadow: 0 3px 0 #2a2370, var(--shadow-x, 0px) 12px 25px rgba(10, 6, 40, 0.33);
  transition: background 0.2s;
}
.journey-pill:hover { background: #1c2a6b; }

.journey-tagline {
  margin: 26px 0 0;
  padding: 6px 12px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.journey-corner-copy {
  position: absolute;
  bottom: 10%;
  left: 7.5%;
  max-width: 400px;
  padding: 16px 20px;
}
.journey-corner-copy > .journey-label { font-size: 12px; color: var(--accent-deep); font-weight: 600; }
.journey-corner-copy p { margin: 14px 0 0; font-size: 18px; font-weight: 500; line-height: 1.85; }

/* 01 起點 */
.journey-intro .journey-heading {
  top: auto;
  bottom: 13.5%;
  left: 7.5%;
  align-items: flex-start;
  width: auto;
  max-width: 70%;
  text-align: left;
  transform: none;
}
.journey-intro h1 { font-size: clamp(58px, 7.5vw, 126px); }

.journey-news {
  position: absolute;
  top: max(127px, 14%);
  left: 66%;
  right: 9%;
  min-height: 205px;
  max-height: calc(60svh - 115px);
  overflow-y: auto;
  padding: 25px 26px 28px;
  border: 1px solid #4b4492;
  background: var(--ink);
  color: #fff;
  pointer-events: auto;
  outline-color: #a98bff55;
  box-shadow:
    0 2px 0 #6a4fe0,
    var(--shadow-x, 0px) 22px 35px rgba(10, 6, 40, 0.44),
    var(--shadow-x, 0px) 45px 65px rgba(10, 6, 40, 0.22);
}
.journey-news-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-bottom: 19px;
  border-bottom: 1px solid #4f4890;
}
.journey-news-heading > span { font: 13px var(--mono); letter-spacing: 0.08em; color: #8ff3f0; }
.journey-scene .journey-news h2 {
  margin: 0;
  font: 500 16px/1.5 var(--sans);
  letter-spacing: 0.04em;
  color: #fff;
  -webkit-text-stroke: 0;
}
.journey-scene .journey-news h2, .journey-scene .journey-news h2 * { text-shadow: none; }
.journey-news ul { margin: 0; padding: 0; list-style: none; }
.journey-news li { padding: 21px 0 0; }
.journey-news time { font: 14px var(--mono); color: #bdb4e6; }
.journey-news p { margin: 9px 0 0; font-size: 21px; font-weight: 500; line-height: 1.65; letter-spacing: 0.02em; }

.journey-intro-aside {
  position: absolute;
  bottom: 14.5%;
  left: 66%;
  right: 9%;
  padding: 16px 20px;
}
.journey-intro-aside p { margin: 0 0 28px; font-size: clamp(20px, 1.8vw, 29px); font-weight: 500; line-height: 1.6; letter-spacing: -0.02em; }
.journey-intro-aside em { font-style: normal; color: var(--accent-deep); }
.journey-scroll-cue {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.journey-scroll-cue svg {
  box-sizing: content-box;
  padding: 13px;
  border: 1px solid rgba(240, 242, 255, 0.67);
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  transition: background 0.2s;
}
.journey-scroll-cue:hover svg { background: var(--accent); color: var(--ink); }

/* 02 理念 */
.journey-manifesto .journey-heading { top: 45%; width: 78%; }
.journey-manifesto h2 { font-size: clamp(42px, 5.7vw, 86px); font-weight: 600; line-height: 1.38; letter-spacing: -0.025em; }
.journey-manifesto h2 em { font-family: inherit; font-style: normal; letter-spacing: -0.025em; }

/* 03 設計與電路 */
.journey-create .journey-heading {
  top: 50%;
  left: 15%;
  align-items: flex-start;
  width: auto;
  text-align: left;
  transform: translateY(-50%);
}
.journey-create h2 { font-size: clamp(65px, 8.4vw, 142px); }
.journey-create .journey-corner-copy { left: auto; right: 12%; bottom: 19%; max-width: 360px; }
.journey-create .journey-corner-copy > .journey-label { font-size: 19px; color: var(--ink); }
.journey-create .journey-pill { margin-top: 25px; }

/* 04 材料與研究 */
.journey-discover .journey-heading { top: 43%; }
.journey-discover h2 { font-size: clamp(70px, 9vw, 145px); }
.journey-discover .journey-corner-copy { left: auto; right: 9%; bottom: 10%; max-width: 390px; }

/* 05 服務 */
.journey-services .journey-heading { top: 40%; }
.journey-services h2 { font-size: clamp(56px, 7.4vw, 118px); }
.journey-service-links {
  position: absolute;
  bottom: calc(var(--gutter) + 118px);
  left: 15%;
  right: 15%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}
.journey-service-links a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 18px;
  border-color: #ddd7f3;
  transition: transform 0.35s var(--ease);
}
.journey-service-links a:hover { transform: translateY(-3px) !important; }
.journey-service-links span { font-size: 12px; letter-spacing: 0.04em; color: var(--accent-deep); }
.journey-service-links strong { padding-right: 20px; font-size: 18px; font-weight: 600; }
.journey-service-links svg { position: absolute; top: 20px; right: 12px; color: var(--accent-deep); }

/* 06 聯絡 */
.journey-outro .journey-heading { top: 44%; width: 85%; }
.journey-outro h2 { font-size: clamp(54px, 6.4vw, 103px); line-height: 1.04; }
.journey-outro .journey-tagline { margin-top: 22px; font-size: 16px; }
.journey-outro .journey-pill { margin-top: 24px; }
.journey-footer {
  position: absolute;
  left: 7.5%;
  right: 7.5%;
  bottom: calc(var(--gutter) + 34px);
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 500;
}
.journey-footer nav { display: flex; justify-content: center; gap: 28px; margin-bottom: 24px; }
.journey-footer > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid #8a83b846;
}
.journey-footer a:hover { color: var(--accent-deep); }
.journey-footer button {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  background: none;
  color: inherit;
  font-size: 13px;
  cursor: pointer;
}

/* 視差：滑鼠移動時卡片與標題各自浮動 */
@media (hover: hover) and (pointer: fine) and (min-width: 701px) {
  .journey-heading { translate: calc(var(--float-x, 0px) * 0.6) calc(var(--float-y, 0px) * 0.6); }
  .journey-news, .journey-intro-aside, .journey-corner-copy { translate: var(--float-x, 0px) var(--float-y, 0px); }
  .journey-service-links, .journey-footer { translate: calc(var(--float-x, 0px) * 0.8) calc(var(--float-y, 0px) * 0.8); }
  .journey-heading > .journey-label { translate: calc(var(--float-x, 0px) * 0.22) calc(var(--float-y, 0px) * 0.22); }
}

/* ---------- 控制項 ---------- */

.film-playback-control {
  position: absolute;
  top: 120px;
  left: 5.5%;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid #fff;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(11, 19, 64, 0.06);
  transition: background 0.2s;
}
.film-playback-control:hover { background: #c9f6ff; }
.film-playback-control svg { color: var(--accent-deep); }
.film-playback-control .i-play { display: none; }
.film-playback-control[data-paused] .i-play { display: block; }
.film-playback-control[data-paused] .i-pause { display: none; }

.journey-markers {
  position: absolute;
  top: 50%;
  right: calc(var(--gutter) + 14px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  padding: 7px 3px;
  border: 1px solid #fff;
  border-radius: 30px;
  background: var(--ink);
  transform: translateY(-50%);
}
.journey-markers button {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
}
.journey-markers button > span:first-child {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b0a8da;
  transition: background 0.2s, box-shadow 0.2s;
}
.journey-markers button[aria-current] > span:first-child { background: var(--accent); box-shadow: 0 0 0 4px #5a4fa0; }
.journey-markers small {
  position: absolute;
  right: 49px;
  padding: 4px 6px;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font: 600 12px var(--mono);
  transition: opacity 0.2s;
}
.journey-marker-tip {
  position: absolute;
  top: 50%;
  right: 49px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity 0.25s, transform 0.35s var(--ease);
  box-shadow: 0 8px 20px rgba(10, 6, 40, 0.33);
}
.journey-markers button:is(:hover, :focus-visible, [aria-current]) .journey-marker-tip { opacity: 1; transform: translateY(-50%); }
.journey-markers small { display: none; }
.journey-markers button[aria-current] .journey-marker-tip { border-color: #fff; background: #fff; color: var(--ink); }
.journey-markers:hover button[aria-current]:not(:hover) .journey-marker-tip { opacity: 0; }

/* 固定位置的行動列：下一章＋主要行動（隨章節換文字） */
.action-dock {
  position: absolute;
  bottom: calc(var(--gutter) + 30px);
  left: 50%;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 50px;
  background: #fff;
  box-shadow: 0 2px 0 #b6aedb, 0 18px 40px rgba(10, 6, 40, 0.45), 0 0 50px #8b5cf633;
  transform: translateX(-50%);
  transition: opacity 0.45s, transform 0.55s var(--ease), visibility 0.45s;
}
.action-dock[data-hidden] { opacity: 0; visibility: hidden; transform: translate(-50%, 20px); }
.dock-next {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 18px 0 8px;
  border: 0;
  border-radius: 40px;
  background: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.dock-next svg { box-sizing: content-box; padding: 9px; border-radius: 50%; background: var(--ink); color: #fff; animation: next-nudge 2.4s ease-in-out infinite; }
.dock-next:hover { background: #efebff; }
.dock-primary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 54px;
  padding: 0 8px 0 24px;
  overflow: hidden;
  border-radius: 40px;
  background: linear-gradient(100deg, #b49cff 0%, #8fb8ff 48%, #3be8e4 100%);
  color: var(--ink);
  box-shadow: inset 0 1px 0 #ffffffaa, inset 0 -2px 0 #5a35d655;
  transition: filter 0.25s, transform 0.35s var(--ease);
}
/* 掃過的光 */
.dock-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, #ffffffb0 46%, transparent 60%);
  transform: translateX(-120%);
  animation: dock-sheen 4.2s var(--ease) 1.2s infinite;
}
@keyframes dock-sheen { 0% { transform: translateX(-120%); } 40%, 100% { transform: translateX(120%); } }
.dock-primary:hover { filter: brightness(1.06) saturate(1.1); }
.dock-primary:hover .dock-arrow { transform: translateX(3px); background: #fff; color: var(--ink); }
.dock-text { position: relative; display: grid; line-height: 1.15; white-space: nowrap; }
.dock-text small { font: 600 10px var(--mono); letter-spacing: 0.1em; opacity: 0.75; }
.dock-text b { font-size: 16px; font-weight: 700; letter-spacing: 0.02em; }
.dock-primary.is-swap .dock-text { animation: dock-swap 0.6s var(--ease); }
@keyframes dock-swap { from { opacity: 0; transform: translateY(12px); } }
.dock-arrow { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; transition: transform 0.35s var(--ease), background 0.2s, color 0.2s; }
@keyframes next-nudge { 0%, 100% { translate: 0 -2px; } 50% { translate: 0 3px; } }
.journey-pill.is-primary { border-color: #fff; background: linear-gradient(100deg, #b49cff, #8fb8ff 48%, #3be8e4); color: var(--ink); font-size: 16px; padding: 17px 28px; box-shadow: 0 3px 0 #5a35d6, 0 14px 30px rgba(10, 6, 40, 0.4), 0 0 40px #8b5cf655; }
.journey-pill.is-primary:hover { background: linear-gradient(100deg, #c4b1ff, #a2c6ff 48%, #5ff0ec); }

.journey-bottom {
  position: absolute;
  bottom: calc(var(--gutter) + 14px);
  left: 3.5%;
  right: 3.5%;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  pointer-events: none;
  font: 12px var(--mono);
  letter-spacing: 0.025em;
}
.journey-bottom > span { padding: 4px 7px; font-size: 12px; font-weight: 500; }

.journey-progress { position: absolute; left: calc(var(--gutter) + 26px); right: calc(var(--gutter) + 26px); bottom: calc(var(--gutter) + 6px); height: 2px; background: #25205035; }
.journey-progress > span { display: block; width: 100%; height: 100%; background: #9ff3f080; transform-origin: 0; transform: scaleX(0); }

/* ---------- 響應式 ---------- */

@media (max-width: 1200px) {
  .desktop-nav .nav-home { display: none; }
}

@media (max-width: 1050px) {
  .story-header { height: 90px; }
  .desktop-nav a { padding: 11px 11px; font-size: 14px; }
  .journey-news { left: 62%; right: 8%; min-height: 180px; padding: 20px; }
  .journey-news p { font-size: 18px; }
  .journey-intro-aside { left: 60%; right: 8%; }
  .journey-service-links { left: 8%; right: 8%; gap: 20px; }
}

@media (max-width: 700px) {
  :root { --gutter: 8px; }
  .story-header { grid-template-columns: 1fr auto; height: 82px; padding: 0 6%; }
  .desktop-nav { display: none; }
  .wordmark { grid-column: 1; justify-self: start; padding: 8px 10px 10px; }
  .wm-main { font-size: 26px; }
  .header-actions { grid-column: 2; }
  .contact-link { gap: 10px; padding: 11px 15px; font-size: 12px; }

  .journey-film {
    inset: var(--gutter);
    border-radius: 15px;
    transform: none;
    box-shadow: 0 0 0 1px #cdbfff77, 0 15px 30px rgba(0, 0, 0, 0.53);
  }
  .journey-film img, .journey-film video, .journey-film .film-live { transform: scale(1.025); }
  .journey-film::before { opacity: 0.48; }
  .journey-film::after { background: none; }

  .film-playback-control { top: 102px; left: 7%; min-height: 40px; padding: 8px 11px; font-size: 13px; }

  .journey-scene :is(h1, h2) { font-size: clamp(44px, 12.5vw, 64px); }
  .journey-heading > .journey-label { font-size: 11px; }
  .journey-intro .journey-heading { left: 7%; bottom: 36%; max-width: 86%; }
  .journey-news { top: 153px; left: auto; right: 13%; width: 62%; min-height: 0; padding: 14px 16px; }
  .journey-news-heading { padding-bottom: 10px; }
  .journey-news li { padding-top: 10px; }
  .journey-news p { font-size: 15px; }
  .journey-intro-aside { left: 7%; right: 13%; bottom: 7%; padding: 12px 14px; }
  .journey-intro-aside p { margin-bottom: 14px; font-size: 18px; }

  .journey-manifesto .journey-heading { top: 38%; width: 84%; }
  .journey-manifesto h2 { font-size: clamp(36px, 10.5vw, 52px); }
  .journey-corner-copy { left: 7%; right: 13%; bottom: 7%; max-width: none; padding: 12px 14px; }
  .journey-corner-copy p { font-size: 15px; line-height: 1.75; }

  .journey-create .journey-heading { left: 7%; top: 36%; }
  .journey-create h2 { font-size: clamp(48px, 14vw, 72px); }
  .journey-create .journey-corner-copy { left: 7%; right: 13%; bottom: 7%; }
  .journey-create .journey-corner-copy > .journey-label { font-size: 15px; }
  .journey-pill { margin-top: 18px; padding: 12px 18px; font-size: 13px; }

  .journey-discover .journey-heading { top: 36%; }
  .journey-discover h2 { font-size: clamp(50px, 14vw, 76px); }
  .journey-discover .journey-corner-copy { left: 7%; right: 13%; bottom: 7%; }
  .journey-tagline { font-size: 16px; }

  .journey-services .journey-heading { top: 32%; }
  .journey-service-links { grid-template-columns: 1fr; gap: 8px; left: 7%; right: 13%; bottom: 7%; }
  .journey-service-links a { padding: 10px 14px; gap: 6px; }
  .journey-service-links strong { font-size: 15px; }
  .journey-service-links svg { top: 14px; }

  .journey-outro .journey-heading { top: 36%; }
  .journey-outro h2 { font-size: clamp(38px, 11vw, 56px); }
  .journey-footer { left: 7%; right: 13%; bottom: 7%; padding: 12px; font-size: 12px; }
  .journey-footer nav { flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
  .journey-footer > div { flex-wrap: wrap; justify-content: center; gap: 8px 14px; padding-top: 12px; }

  .journey-markers { right: calc(var(--gutter) + 6px); padding: 5px 0; }
  .journey-markers button { width: 30px; height: 32px; }
  .journey-marker-tip { display: none; }
  .journey-bottom { display: none; }
  .action-dock { left: calc(var(--gutter) + 10px); right: calc(var(--gutter) + 10px); bottom: calc(var(--gutter) + 12px); transform: none; }
  .action-dock[data-hidden] { transform: translateY(20px); }
  .dock-next { padding: 0 4px; }
  .dock-next span { display: none; }
  .dock-primary { flex: 1; justify-content: space-between; height: 50px; padding-left: 18px; }
  .dock-text b { font-size: 15px; }
  .journey-intro-aside, .journey-corner-copy, .journey-create .journey-corner-copy, .journey-discover .journey-corner-copy, .journey-service-links { bottom: calc(var(--gutter) + 84px); }
}

@media (prefers-reduced-motion: reduce) {
  .journey-film, .journey-film img, .journey-film video { transform: none !important; }
  .journey-film::before { display: none; }
  .journey-word { animation: none !important; }
  .dock-next svg, .dock-primary::before { animation: none; }
  .journey-heading, .journey-news, .journey-intro-aside, .journey-corner-copy, .journey-service-links, .journey-footer { translate: none !important; }
}
