/* MOOTECH 官網 D 未來光感 版樣式：由 tools/split-designs.py 自 index.html 拆出，之後獨立維護。 */
/* 語系偵測完成前先隱藏內容（見 head 的語系偵測腳本） */
html.lang-pending body { visibility: hidden; }
/* Shared A–D recruitment block, matching the approved daytime skyline layout. */
.vd-careers { background: var(--d-bg); color: var(--d-ink); font-family: var(--inter); font-size: 16px; line-height: 1.7; }

/* D support widget is temporarily hidden; other variants keep their widget. */
body[data-v="d"] .mtc { display: none !important; }

/* Anchor navigation needs actual heights throughout the active variant. */
.v.anchor-ready section { content-visibility: visible !important; }

/*
  三個版型各自是獨立的視覺世界（刻意單一主題，不跟隨系統深淺色）：
  A 企業信賴：延續原站藍白，資料中心走廊主視覺，穩重、清楚、易信任。
  B 網路維運中心：深色主控台語彙，節點/監控/等寬字，展示技術實力。
  C 瑞士網格：純白、巨型字體、嚴格網格、單一品牌青綠色，不靠照片。
*/
:root {
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --latin-a: "Manrope", "Noto Sans TC", system-ui, sans-serif;
  --latin-c: "Archivo", "Noto Sans TC", "Helvetica Neue", Arial, sans-serif;

  /* A 企業信賴 */
  --a-bg: #ffffff; --a-soft: #f2f5f9; --a-ink: #142033; --a-muted: #5a6779;
  --a-line: #dde3eb; --a-blue: #0b6bcb; --a-blue-deep: #08497f; --a-teal: #0d7a73;

  /* B 網路維運中心 */
  --b-bg: #060d18; --b-panel: #0b1626; --b-line: #1a2a40; --b-ink: #e3ecf7;
  --b-muted: #8193ab; --b-cyan: #3ad0e6; --b-blue: #3b82f6; --b-ok: #4ade80;

  /* C 瑞士網格 */
  --c-bg: #ffffff; --c-ink: #0e1116; --c-muted: #5d636b; --c-line: #0e1116;
  --c-hair: #d9dcdf; --c-accent: #00a19a; --c-accent-ink: #ffffff;

  /* D 未來光感：純黑、玻璃、品牌漸層（取自 logo 的藍→黃綠） */
  --d-bg: #000000; --d-ink: #ffffff; --d-muted: rgba(255,255,255,.62); --d-line: rgba(255,255,255,.12);
  --d-glass: rgba(255,255,255,.05); --d-g1: #29b6e8; --d-g2: #b9d85a;
  --inter: "Inter", "Noto Sans TC", "PingFang TC", system-ui, sans-serif;

  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--sans); background: var(--page-bg, #fff); color: var(--page-fg, #142033); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
html { overflow-x: hidden; overflow-x: clip; }
body[data-v="d"] { --page-bg: var(--d-bg); --page-fg: var(--d-ink); --band: var(--d-bg); color-scheme: dark; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--band); }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
canvas.fill { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map { width: 100%; height: auto; display: block; }
.form-note { font-size: .875rem; min-height: 1.4em; }

/* ============ 右下角智能客服（北極熊 · FaceTime 視訊通話風格） ============ */
.mtc { --c-bg: #0b1220; --c-panel: #0f1828; --c-line: rgba(160,190,230,.16); --c-ink: #eef3fa; --c-mut: #9aa8bb; --c-acc: #29b6e8; --c-hot: #ff7a1a; --c-ok: #34c759; --c-end: #ff3b30;
  position: fixed; z-index: 120; right: calc(24px + env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  /* 客服用裝置內建字型，不載入網頁字型（問答字數多，會讓字型子集過大） */
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", "Noto Sans TC", system-ui, sans-serif; color: var(--c-ink); }
.mtc button { font-family: inherit; }
/* 來電小窗（像 FaceTime 的子母畫面） */
.mtc-call { position: relative; width: 116px; height: 154px; border-radius: 18px; overflow: hidden; cursor: pointer; background: #000;
  box-shadow: 0 16px 40px rgba(3,8,18,.55), 0 0 0 1px rgba(255,255,255,.14); transition: transform .3s ease, opacity .3s ease; }
.mtc-call:hover { transform: translateY(-3px); }
.mtc-call::before { content: ""; position: absolute; inset: -3px; border-radius: 21px; border: 3px solid var(--c-ok); opacity: 0; pointer-events: none; animation: mtcRing 2s ease-out infinite; z-index: 3; }
@keyframes mtcRing { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12); } }
.mtc-cam { position: absolute; inset: 0; overflow: hidden; }
.mtc-cam img, .mtc-cam video { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; object-position: 50% 30%; animation: mtcLive 7s ease-in-out infinite alternate; }
.mtc-cam .mtc-av, .mtc-face .mtc-av { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* 讓靜態畫面有「即時視訊」的細微晃動 */
@keyframes mtcLive { 0% { transform: translate(0, 0) scale(1); } 35% { transform: translate(-1.2%, .6%) scale(1.02); } 70% { transform: translate(.8%, -.8%) scale(1.035); } 100% { transform: translate(-.4%, .4%) scale(1.015); } }
.mtc-call .mtc-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,.75) 100%); }
.mtc-top { position: absolute; left: 8px; right: 8px; top: 7px; z-index: 2; }
.mtc-top b { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .01em; }
.mtc-top span { display: flex; align-items: center; gap: 4px; font-size: 9.5px; color: rgba(255,255,255,.82); }
.mtc-top span i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-ok); box-shadow: 0 0 6px var(--c-ok); animation: mtcBlink 1.2s ease-in-out infinite; }
@keyframes mtcBlink { 50% { opacity: .3; } }
.mtc-min { position: absolute; right: 5px; top: 5px; z-index: 4; width: 24px; height: 24px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.mtc-min:hover { background: rgba(0,0,0,.8); }
.mtc-min svg { width: 13px; height: 13px; }
.mtc-btns { position: absolute; left: 0; right: 0; bottom: 9px; z-index: 2; display: flex; justify-content: center; }
.mtc-accept { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--c-ok); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 16px rgba(52,199,89,.5); animation: mtcShake 2s ease-in-out infinite; }
.mtc-accept svg, .mtc-end svg, .mtc-ctl svg, .mtc-send svg { width: 22px; height: 22px; }
@keyframes mtcShake { 0%, 60%, 100% { transform: none; } 65% { transform: rotate(-12deg); } 70% { transform: rotate(12deg); } 75% { transform: rotate(-8deg); } 80% { transform: rotate(8deg); } 85% { transform: none; } }
/* 接通中 */
.mtc-conn { position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; gap: 10px; background: rgba(5,14,28,.72); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .25s; text-align: center; }
.mtc.connecting .mtc-conn { opacity: 1; visibility: visible; }
.mtc-conn svg { width: 30px; height: 30px; color: var(--c-acc); filter: drop-shadow(0 0 6px rgba(41,182,232,.8)); }
.mtc-conn b { font-size: 13px; font-weight: 600; }
.mtc-conn i { display: block; width: 92px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.15); overflow: hidden; position: relative; }
.mtc-conn i::after { content: ""; position: absolute; inset: 0; background: var(--c-acc); transform-origin: left; transform: scaleX(0); }
.mtc.connecting .mtc-conn i::after { animation: mtcBar 1.3s ease-in-out forwards; }
@keyframes mtcBar { to { transform: scaleX(1); } }
/* 縮小後的圓形頭像 */
.mtc-fab { display: none; position: relative; width: 58px; height: 58px; border: 0; padding: 0; border-radius: 50%; cursor: pointer; background: #000; box-shadow: 0 10px 26px rgba(3,8,18,.5), 0 0 0 2px var(--c-ok); }
/* 縮小後頭像仍保留動態：畫面持續微晃＋呼吸光環 */
.mtc-face { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.mtc-face img, .mtc-face video { position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: cover; animation: mtcLive 6s ease-in-out infinite alternate; }
.mtc-fab::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--c-ok); pointer-events: none; animation: mtcRing 2s ease-out infinite; }
.mtc-fab > i { position: absolute; right: 1px; bottom: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--c-ok); border: 2px solid #0b1220; animation: mtcBlink 1.2s ease-in-out infinite; }
.mtc-pill { display: none; position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); padding: 2px 7px; border-radius: 999px; background: var(--c-ok); color: #fff; font-size: 10.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; box-shadow: 0 3px 8px rgba(0,0,0,.35); }
.mtc.incall .mtc-pill { display: block; }
.mtc.incall .mtc-fab > i { display: none; }
.mtc.mini .mtc-call { display: none; } .mtc.mini .mtc-fab { display: block; }
/* 來電進場：一道掃描光線 → 上下展開成全像小窗 → 邊框光跑一圈 → 掃描線掃過 → 回彈定位 */
.mtc.pre .mtc-call { visibility: hidden; }
.mtc.ringin .mtc-call { animation: mtcHoloIn .9s cubic-bezier(.2,.9,.25,1.15) both; }
@keyframes mtcHoloIn {
  0% { clip-path: inset(49.5% 50% 49.5% 50% round 18px); filter: brightness(3) saturate(0); transform: translateY(10px) scale(.92); }
  28% { clip-path: inset(49.5% 0 49.5% 0 round 18px); filter: brightness(2.6) saturate(.3); }
  70% { clip-path: inset(0 0 0 0 round 18px); filter: brightness(1.25); transform: translateY(-3px) scale(1.02); }
  100% { clip-path: inset(0 0 0 0 round 18px); filter: none; transform: none; }
}
.mtc-holo { position: absolute; inset: 0; z-index: 6; pointer-events: none; border-radius: inherit; opacity: 0; }
.mtc-holo::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--mtc-a, 0deg), transparent 0 70%, #6ff3ff 85%, #fff 90%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.mtc-holo::after { content: ""; position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(var(--support-rgb),.55) 60%, rgba(255,255,255,.85) 62%, transparent 66%); mix-blend-mode: screen; }
.mtc.ringin .mtc-holo { animation: mtcHoloFx 1.5s ease-out both; }
.mtc.ringin .mtc-holo::before { animation: mtcTrace 1.1s linear .35s both; }
.mtc.ringin .mtc-holo::after { animation: mtcScan .9s ease-in-out .45s both; }
@property --mtc-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes mtcHoloFx { 0%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes mtcTrace { from { --mtc-a: 0deg; } to { --mtc-a: 360deg; } }
@keyframes mtcScan { from { top: -30%; } to { top: 105%; } }
/* 接通：通話視窗從右下角以全像投影展開 */
.mtc.open .mtc-panel { animation: mtcPanelIn .55s cubic-bezier(.2,.85,.25,1) both; }
@keyframes mtcPanelIn {
  0% { clip-path: inset(calc(100% - 154px) 0 0 calc(100% - 116px) round 26px); filter: brightness(2.2) saturate(.4); }
  55% { filter: brightness(1.3); }
  100% { clip-path: inset(0 0 0 0 round 26px); filter: none; }
}
.mtc-panel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1.5px rgba(var(--support-rgb),.0); transition: box-shadow .6s; }
.mtc.open .mtc-panel::after { animation: mtcEdge 1.2s ease-out both; }
@keyframes mtcEdge { 0% { box-shadow: inset 0 0 0 2px rgba(var(--support-rgb),.95), 0 0 28px rgba(41,182,232,.6); } 100% { box-shadow: inset 0 0 0 1px rgba(var(--support-rgb),0), 0 0 0 rgba(41,182,232,0); } }
/* 不定時的來電震動 */
.mtc.buzz:not(.open):not(.dragging) .mtc-call, .mtc.buzz:not(.open):not(.dragging) .mtc-fab { animation: mtcBuzz .7s linear; }
@keyframes mtcBuzz { 0%, 100% { transform: none; } 8%, 40%, 72% { transform: translate(-3px, 0) rotate(-2.5deg); } 16%, 48%, 80% { transform: translate(3px, 0) rotate(2.5deg); } 24%, 56%, 88% { transform: translate(-2px, 0) rotate(-1.5deg); } 32%, 64%, 96% { transform: translate(2px, 0) rotate(1.5deg); } }
/* 縮小後的頭像可拖曳，放開時吸附到最近的左右邊緣 */
.mtc.mini:not(.open) { transition: left .28s cubic-bezier(.2,.8,.2,1), top .28s cubic-bezier(.2,.8,.2,1); }
.mtc.dragging { transition: none !important; }
.mtc.mini .mtc-fab { touch-action: none; cursor: grab; -webkit-user-select: none; user-select: none; }
.mtc.dragging .mtc-fab { cursor: grabbing; transform: scale(1.08); }
.mtc-fab img { -webkit-user-drag: none; pointer-events: none; }
.mtc.open .mtc-call, .mtc.open .mtc-fab { opacity: 0; pointer-events: none; transform: scale(.9); }
/* 通話視窗 */
.mtc-panel { position: absolute; right: 0; bottom: 0; width: 380px; height: min(640px, calc(100svh - 48px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 26px; background: var(--c-panel);
  box-shadow: 0 28px 70px rgba(3,8,18,.6), 0 0 0 1px var(--c-line); opacity: 0; visibility: hidden; transform: translateY(16px) scale(.96); transform-origin: bottom right; transition: opacity .3s, transform .3s, visibility 0s linear .3s; }
.mtc.open .mtc-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s, visibility 0s; }
.mtc-video { position: relative; flex: 0 0 236px; overflow: hidden; background: #000; }
.mtc-video .mtc-cam img, .mtc-video .mtc-cam video { object-position: 50% 26%; }
.mtc-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,0) 58%, rgba(15,24,40,.95) 100%); pointer-events: none; }
.mtc-vtop { position: absolute; left: 16px; right: 16px; top: 14px; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; }
.mtc-vtop b { display: block; font-size: 17px; font-weight: 600; }
.mtc-vtop span { font-size: 12.5px; color: rgba(255,255,255,.8); font-variant-numeric: tabular-nums; }
.mtc-vr { display: flex; align-items: center; gap: 8px; }
.mtc-top-min { width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; display: grid; place-items: center; cursor: pointer; }
.mtc-top-min:hover { background: rgba(0,0,0,.65); }
.mtc-top-min svg { width: 18px; height: 18px; }
.mtc-badge { white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: rgba(0,0,0,.45); font-size: 11px; color: #fff; }
.mtc-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-ok); box-shadow: 0 0 6px var(--c-ok); }
.mtc-ctls { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2; display: flex; justify-content: center; gap: 14px; }
.mtc-ctl, .mtc-end { width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); transition: background .2s; }
.mtc-ctl:hover { background: rgba(255,255,255,.3); }
.mtc-ctl[aria-pressed="true"] { background: #fff; color: #0b1220; }
/* 聆聽中：麥克風鈕外圈脈動 */
.mtc-ctl.listening { background: var(--c-ok); color: #fff; box-shadow: 0 0 0 0 rgba(52,199,89,.6); animation: mtcListen 1.2s ease-out infinite; }
@keyframes mtcListen { 0% { box-shadow: 0 0 0 0 rgba(52,199,89,.6); } 100% { box-shadow: 0 0 0 14px rgba(52,199,89,0); } }
.mtc-form input.listening { border-color: var(--c-ok); }
.mtc.speaking .mtc-badge i { background: var(--c-acc); box-shadow: 0 0 8px var(--c-acc); animation: mtcBlink .5s ease-in-out infinite; }
.mtc-end { background: var(--c-end); box-shadow: 0 6px 16px rgba(255,59,48,.45); }
.mtc-end:hover { background: #ff5247; }
.mtc-log { flex: 1; overflow-y: auto; padding: 12px 14px 6px; display: flex; flex-direction: column; gap: 9px; scrollbar-width: thin; overscroll-behavior: contain; }
.mtc-msg { max-width: 86%; padding: 9px 13px; border-radius: 18px; font-size: 14px; line-height: 1.55; white-space: pre-line; animation: mtcIn .25s ease both; }
.mtc-msg.bot { align-self: flex-start; background: #253247; border-bottom-left-radius: 6px; }
.mtc-msg.me { align-self: flex-end; background: #0a84ff; color: #fff; border-bottom-right-radius: 6px; }
@keyframes mtcIn { from { opacity: 0; transform: translateY(6px); } }
.mtc-typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.mtc-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-mut); animation: mtcDot 1s infinite; }
.mtc-typing i:nth-child(2) { animation-delay: .15s; } .mtc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes mtcDot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.mtc-chips { display: flex; gap: 6px; padding: 4px 14px 10px; overflow-x: auto; scrollbar-width: none; }
.mtc-chips::-webkit-scrollbar { display: none; }
.mtc-chips button, .mtc-act { flex: 0 0 auto; border: 1px solid rgba(41,182,232,.45); background: rgba(41,182,232,.1); color: var(--c-ink); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; line-height: 1.2; cursor: pointer; transition: background .2s; }
.mtc-chips button:hover { background: rgba(41,182,232,.22); }
.mtc-act { align-self: flex-start; background: var(--c-hot); border-color: var(--c-hot); color: #1d0b00; font-weight: 700; }
.mtc-act:hover { background: #ff8f3d; }
.mtc-form { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--c-line); background: var(--c-bg); }
.mtc-form input { flex: 1; min-width: 0; height: 40px; padding: 0 15px; border-radius: 20px; border: 1px solid var(--c-line); background: rgba(255,255,255,.05); color: var(--c-ink); font: 14px/1 inherit; font-family: inherit; }
.mtc-form input:focus { outline: none; border-color: #0a84ff; }
.mtc-send { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #0a84ff; color: #fff; cursor: pointer; display: grid; place-items: center; }
.mtc-send svg { width: 18px; height: 18px; }
.mtc-note { padding: 0 14px 9px; font-size: 10.5px; color: var(--c-mut); text-align: center; background: var(--c-bg); }
@media (max-width: 720px) {
  /* 手機右下角已有版型切換鈕，客服放在它上方 */
  .mtc { right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
  .mtc-call { width: 84px; height: 112px; border-radius: 16px; }
  .mtc-call::before { border-radius: 19px; }
  .mtc-top { left: 7px; top: 6px; } .mtc-top b { font-size: 10.5px; } .mtc-top span { font-size: 9px; } .mtc-top span em { display: none; }
  .mtc-accept { width: 32px; height: 32px; } .mtc-accept svg { width: 17px; height: 17px; } .mtc-btns { bottom: 7px; }
  .mtc-min { width: 24px; height: 24px; right: 3px; top: 3px; } .mtc-min svg { width: 12px; height: 12px; }
  .mtc-fab { width: 52px; height: 52px; }
  /* 小窗只有 84px 寬：接通中的圖示、文字、進度條跟著縮小，不被切掉 */
  .mtc-conn { gap: 6px; padding: 0 6px; } .mtc-conn svg { width: 22px; height: 22px; }
  .mtc-conn b { font-size: 10.5px; white-space: nowrap; letter-spacing: 0; } .mtc-conn i { width: 56px; height: 3px; }
  .mtc-panel { position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); width: auto; height: min(600px, calc(100svh - 70px)); border-radius: 22px; }
  .mtc-video { flex-basis: 200px; }
}
@media (prefers-reduced-motion: reduce) { .mtc.ringin .mtc-call, .mtc.ringin .mtc-holo, .mtc.open .mtc-panel, .mtc.open .mtc-panel::after, .mtc.buzz .mtc-call, .mtc.buzz .mtc-fab, .mtc-call::before, .mtc-accept, .mtc-cam img, .mtc-cam video, .mtc-face img, .mtc-fab::before, .mtc-fab > i, .mtc-top span i, .mtc-typing i, .mtc-msg { animation: none; } }
/* 畫面外的區塊先不排版、不繪製，捲到附近才計算（首屏與英雄區除外），大幅減少長頁面初次載入的排版時間 */
.v section:not([class*="-hero"]) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* 選擇題式對話 */
.mtc-opts { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; animation: mtcIn .3s ease both; }
.mtc-opt { border: 1px solid rgba(41,182,232,.55); background: rgba(41,182,232,.1); color: var(--c-ink); border-radius: 14px; padding: 9px 14px; font-size: 13.5px; line-height: 1.35; text-align: left; cursor: pointer; transition: background .2s, transform .2s; }
.mtc-opt:hover { background: rgba(41,182,232,.24); transform: translateX(2px); }
.mtc-opts.done .mtc-opt { display: none; }
.mtc-mini { align-self: stretch; display: grid; gap: 8px; padding: 12px; border-radius: 16px; background: #182335; border: 1px solid var(--c-line); animation: mtcIn .3s ease both; }
.mtc-mini label { display: grid; gap: 4px; font-size: 11.5px; color: var(--c-mut); }
.mtc-mini input, .mtc-mini select, .mtc-mini textarea { width: 100%; box-sizing: border-box; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--c-line); background: rgba(255,255,255,.05); color: var(--c-ink); font: 13.5px/1.4 inherit; font-family: inherit; }
.mtc-mini textarea { min-height: 58px; resize: vertical; }
.mtc-mini input:focus, .mtc-mini select:focus, .mtc-mini textarea:focus { outline: none; border-color: var(--c-acc); }
.mtc-mini select option { color: #0b1220; }
.mtc-mini .mtc-err { color: #ff8a80; font-size: 12px; min-height: 0; }
.mtc-mini button[type="submit"] { justify-self: start; border: 0; border-radius: 999px; padding: 9px 18px; background: var(--c-hot); color: #1d0b00; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.mtc-mini.sent { opacity: .55; pointer-events: none; }
.mtc-sticker { align-self: flex-start; width: 132px; height: auto; animation: mtcPop .5s cubic-bezier(.2,1.4,.4,1) both; filter: drop-shadow(0 8px 18px rgba(41,182,232,.35)); }
@keyframes mtcPop { from { opacity: 0; transform: scale(.6) translateY(10px); } }
.mtc-links { display: flex; flex-wrap: wrap; gap: 7px; animation: mtcIn .3s ease both; }
.mtc-links a, .mtc-links button { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--c-ink); background: rgba(255,255,255,.06); cursor: pointer; }
.mtc-links .hot { background: var(--c-hot); border-color: var(--c-hot); color: #1d0b00; }
.mtc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 14px 11px; border-top: 1px solid var(--c-line); background: var(--c-bg); font-size: 11px; color: var(--c-mut); }
.mtc-foot button { flex: 0 0 auto; border: 1px solid var(--c-line); background: transparent; color: var(--c-ink); border-radius: 999px; padding: 5px 11px; font-size: 12px; cursor: pointer; }
@media (max-width: 720px) {
  .v > footer { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}
.va-hero { position: relative; background: #05070c; color: #fff; overflow: hidden; }
.va-hero .wrap { position: relative; padding-block: 132px 120px; text-align: center; display: grid; justify-items: center; gap: 18px; }
.va-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,12,26,.6), rgba(4,12,26,.4) 45%, rgba(4,12,26,.82)); pointer-events: none; }
.va-hero .wrap { z-index: 1; }
.va-hero h1 { font: 800 clamp(44px, 8vw, 84px)/1 var(--latin-a); letter-spacing: .08em; }
.va-hero p { font-size: clamp(17px, 2.2vw, 22px); color: #d5e2f1; letter-spacing: .08em; }
.va-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.va-about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.va-facts { display: grid; gap: 1px; background: var(--a-line); border: 1px solid var(--a-line); border-radius: 10px; overflow: hidden; }
.va-facts div { background: var(--a-bg); padding: 22px 24px; display: grid; gap: 4px; }
.va-facts b { font: 800 30px/1.1 var(--latin-a); color: var(--a-blue); }
.va-facts span { color: var(--a-muted); font-size: 14.5px; }
.va-about .text { display: grid; gap: 18px; max-width: 62ch; color: #2c394c; }
.va-sol-head { text-align: center; display: grid; gap: 10px; justify-items: center; margin-bottom: 44px; }
.va-sol-head p { color: var(--a-muted); max-width: 52ch; }
.va-card { border: 1px solid var(--a-line); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 12px; background: var(--a-bg); transition: box-shadow .25s, transform .25s, border-color .25s; }
.va-card:hover { box-shadow: 0 14px 36px rgba(11,107,203,.12); transform: translateY(-3px); border-color: #b9d3ee; }
.va-card.wide { grid-column: span 2; background: linear-gradient(135deg, #0b6bcb, #08497f); color: #fff; border-color: transparent; }
.va-card .ic { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: #e8f1fb; color: var(--a-blue); }
.va-card.wide .ic { background: rgba(255,255,255,.14); color: #fff; }
.va-card h3 { font-size: 20px; font-weight: 700; }
.va-card p { color: var(--a-muted); font-size: 15px; flex: 1; }
.va-card.wide p { color: #d8e7f7; max-width: 60ch; }
.va-card a { font-weight: 700; font-size: 14.5px; color: var(--a-blue); text-decoration: none; }
.va-card.wide a { color: #fff; }
.va-cta { background: linear-gradient(100deg, #08497f 0%, #0b6bcb 60%, #15a39a 130%); color: #fff; }
.va-cta .wrap { padding-block: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.va-cta h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: .06em; }
.va-cta p { color: #d8e7f7; margin-top: 6px; font-size: 18px; }
.va-loc { display: grid; gap: 14px; }
.va-loc li { list-style: none; display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--a-line); border-radius: 10px; }
.va-loc ul { padding: 0; margin: 0; display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; }
.va-loc .mk { width: 12px; height: 12px; border-radius: 50%; margin-top: 7px; flex: none; }
.va-loc b { display: block; }
.va-loc span { color: var(--a-muted); font-size: 14.5px; }
@media (max-width: 900px) {
  .va-about { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .va-loc ul { grid-template-rows: none; }
  .va-card.wide { grid-column: auto; }
}
@media (max-width: 560px) { .va-hero .wrap { padding-block: 96px 88px; } }
.vb-status { display: flex; align-items: center; gap: 8px; font: 400 12px/1 var(--mono); color: var(--b-muted); }
.vb-status i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--b-ok); }
.vb-status i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--b-ok); animation: vbPulse 2s ease-out infinite; }
@keyframes vbPulse { from { transform: scale(1); opacity: .6; } to { transform: scale(3.2); opacity: 0; } }
.vb-sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.vb-sec-head p { color: var(--b-muted); max-width: 46ch; }
.vb-about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.vb-spec { border: 1px solid var(--b-line); background: var(--b-panel); border-radius: 6px; font: 400 13.5px/1.6 var(--mono); }
.vb-spec .bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--b-line); color: var(--b-muted); align-items: center; }
.vb-spec .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--b-line); }
.vb-spec .bar span { margin-left: 8px; }
.vb-spec dl { margin: 0; padding: 8px 0; }
.vb-spec dl div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 9px 18px; }
.vb-spec dt { color: var(--b-muted); }
.vb-spec dd { margin: 0; color: var(--b-ink); }
.vb-spec dd.ok { color: var(--b-ok); }
.vb-about .text { display: grid; gap: 18px; color: #bccadc; max-width: 62ch; align-content: start; }
.vb-about .text p:first-child { color: var(--b-ink); font-size: 19px; }
.vb-cell { position: relative; grid-column: span 2; border: 1px solid var(--b-line); background: var(--b-panel); border-radius: 6px; padding: 26px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; transition: border-color .25s, background .25s; }
.vb-cell:hover { border-color: rgba(58,208,230,.55); background: #0d1b2e; }
.vb-cell.big { grid-column: span 4; grid-row: span 2; justify-content: end; min-height: 360px; }
.vb-cell.half { grid-column: span 3; }
.vb-cell .slug { font: 400 12px/1 var(--mono); color: var(--b-cyan); }
.vb-cell h3 { font-size: 22px; font-weight: 700; }
.vb-cell.big h3 { font-size: 34px; }
.vb-cell p { color: var(--b-muted); font-size: 15px; }
.vb-cell .ico { color: var(--b-cyan); width: 30px; height: 30px; }
.vb-cell .more { font: 500 13px/1 var(--mono); color: var(--b-ink); text-decoration: none; margin-top: auto; padding-top: 6px; }
.vb-cell .more:hover { color: var(--b-cyan); }
.vb-cell.big canvas { opacity: .9; }
.vb-cell.big .body { position: relative; z-index: 1; display: grid; gap: 12px; max-width: 46ch; }
.vb-cell.big::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,22,38,0) 20%, rgba(11,22,38,.95) 80%); }
@keyframes vbDash { from { opacity: .3; } to { opacity: 1; } }
.vb-nodes { display: grid; grid-template-rows: repeat(6, minmax(0, 1fr)); gap: 10px; font-family: var(--mono); font-size: 13.5px; }
.vb-nodes div { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--b-line); border-radius: 6px; padding: 14px 16px; background: var(--b-panel); }
.vb-nodes i { width: 10px; height: 10px; border-radius: 2px; }
.vb-nodes small { color: var(--b-muted); }
@media (max-width: 900px) {
  .vb-status { display: none; }
  .vb-about { grid-template-columns: minmax(0, 1fr); }
  .vb-nodes { grid-template-rows: none; }
  .vb-cell, .vb-cell.big, .vb-cell.half { grid-column: auto; grid-row: auto; }
  .vb-cell.big { min-height: 320px; }
}
@media (max-width: 560px) { .vb-spec dl div { grid-template-columns: 88px minmax(0, 1fr); } }
.vc-lead { font-size: clamp(24px, 3vw, 36px); font-weight: 700; line-height: 1.45; letter-spacing: .01em; max-width: 30ch; }
.vc-lead mark { background: none; color: var(--c-accent); }
.vc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; color: #2f343a; }
.vc-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) 56px; gap: 24px; align-items: start; padding-block: 28px; border-bottom: 1px solid var(--c-hair); text-decoration: none; color: inherit; position: relative; transition: padding .25s, background .25s; }
.vc-row h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; line-height: 1.15; }
.vc-row h3 small { display: block; font: 800 12px/1 var(--latin-c); letter-spacing: .12em; color: var(--c-muted); margin-bottom: 10px; text-transform: uppercase; }
.vc-row p { color: #2f343a; font-size: 15.5px; }
.vc-row .arr { font: 900 30px/1 var(--latin-c); justify-self: end; transition: transform .25s; }
.vc-row:hover { background: var(--c-accent); color: var(--c-accent-ink); padding-inline: 20px; }
.vc-row:hover p, .vc-row:hover h3 small { color: var(--c-accent-ink); }
.vc-row:hover .arr { transform: translateX(-6px); }
.vc-cta { background: var(--c-accent); color: var(--c-accent-ink); }
.vc-cta .wrap { padding-block: 72px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; align-items: end; }
.vc-cta h2 { grid-column: 1 / span 9; font-size: clamp(48px, 9vw, 128px); font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.vc-cta p { grid-column: 1 / span 6; font-size: 20px; font-weight: 700; }
.vc-loc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--c-line); margin-top: 32px; }
.vc-loc div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--c-hair); }
.vc-loc b { font-size: 20px; font-weight: 900; display: block; }
.vc-loc .coord { font: 500 13px/1.4 var(--latin-c); color: var(--c-muted); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .vc-cta h2, .vc-cta p { grid-column: 1 / -1; }
  .vc-row { grid-template-columns: minmax(0, 1fr) 40px; }
  .vc-row p { grid-column: 1 / -1; grid-row: 2; }
  .vc-row .arr { grid-column: 2; grid-row: 1; }
  .vc-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) { .vc-loc { grid-template-columns: minmax(0, 1fr); } }
/* ---- 科技縮圖 ---- */
.thumb, .va-about-img, .vc-about-img { height: auto; }
.va-card { overflow: hidden; }
.va-card .thumb { display: block; margin: -28px -28px 6px; width: calc(100% + 56px); max-width: none; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s; }
.va-card.wide .thumb { aspect-ratio: 16 / 6.4; }
.va-card:hover .thumb { transform: scale(1.03); }
.va-about-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; display: block; }
.va-cta { background: linear-gradient(100deg, rgba(8,73,127,.95) 0%, rgba(11,107,203,.78) 45%, rgba(11,107,203,.12) 100%), url("assets/images/mootech_website_IMG040_thumbs_future.svg") center / cover; }
.vb-cell .thumb { display: block; margin: -26px -26px 4px; width: calc(100% + 52px); max-width: none; aspect-ratio: 16 / 8; object-fit: cover; border-bottom: 1px solid var(--b-line); opacity: .9; transition: opacity .25s; }
.vb-cell:hover .thumb { opacity: 1; }
.vb-cell.big .bg-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .55; }
.vc-row { grid-template-columns: 168px minmax(0, 3fr) minmax(0, 5fr) 56px; }
.vc-row .thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s; display: block; }
.vc-row:hover .thumb { transform: scale(1.04); }
.vc-about-img { margin-top: 40px; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; }
@media (max-width: 900px) {
  .vc-row { grid-template-columns: minmax(0, 1fr) 40px; }
  .vc-row .thumb { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 7; }
  .vc-row h3 { grid-row: 2; } .vc-row .arr { grid-row: 2; } .vc-row p { grid-row: 3; }
}
/* ===================== 升級：共用 ===================== */
.menu-btn { display: none; appearance: none; background: none; border: 0; color: inherit; padding: 6px; margin-left: 4px; cursor: pointer; }
.menu-btn .ico { width: 26px; height: 26px; }
@media (max-width: 900px) {
  .menu-btn { display: inline-grid; }
  .v header .wrap > [data-lang-toggle] { margin-left: auto; }
  .v header.menu-open nav { display: flex !important; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0;
    padding: 8px var(--gutter-r) 18px var(--gutter-l); background: var(--band); border-bottom: 1px solid rgba(127,140,160,.3); box-shadow: 0 18px 30px rgba(0,0,0,.12); }
  .v header.menu-open nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(127,140,160,.18); }
}
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
@keyframes up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-photo { position: absolute; inset: -3%; width: 106%; height: 106%; max-width: none; object-fit: cover; transform: translate3d(var(--mx, 0), var(--my, 0), 0); transition: transform .4s ease-out; }

/* ===================== 升級：A ===================== */
.va-hero .wrap > * { animation: up .9s cubic-bezier(.2,.7,.2,1) both; }
.va-hero .wrap > :nth-child(2) { animation-delay: .12s; } .va-hero .wrap > :nth-child(3) { animation-delay: .24s; } .va-hero .wrap > :nth-child(4) { animation-delay: .36s; }
.va-hero h1 { text-shadow: 0 0 40px rgba(80,150,255,.55); }
.va-hero .wrap { padding-block: 150px 170px; }
#va-about { padding-top: 120px; margin-top: -64px; }
.va-why-item { background: var(--a-bg); border-radius: 12px; padding: 30px 26px; display: grid; gap: 10px; align-content: start; border-top: 3px solid var(--a-blue); }
.va-why-item .ic { width: 48px; height: 48px; border-radius: 50%; background: #e8f1fb; color: var(--a-blue); display: grid; place-items: center; }
.va-why-item h3 { font-size: 19px; } .va-why-item p { color: var(--a-muted); font-size: 15px; }
.va-steps { margin-top: 72px; }
.va-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.va-steps ol::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--a-blue), var(--a-teal)); }
.va-steps li { text-align: center; display: grid; justify-items: center; gap: 8px; position: relative; }
.va-steps b { width: 56px; height: 56px; border-radius: 50%; background: var(--a-blue); color: #fff; display: grid; place-items: center; font: 800 18px/1 var(--latin-a); box-shadow: 0 0 0 8px var(--a-soft); }
.va-steps h4 { margin: 8px 0 0; font-size: 18px; } .va-steps p { color: var(--a-muted); font-size: 15px; max-width: 22ch; }
@media (max-width: 900px) {
  .va-steps ol { grid-template-columns: minmax(0, 1fr); } .va-steps ol::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; }
  .va-steps li { grid-template-columns: 56px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 18px; }
  .va-steps li b { grid-row: span 2; } .va-steps h4 { margin: 4px 0 0; }
  .va-hero .wrap { padding-block: 110px 130px; }
}
.vb-term { border: 1px solid var(--b-line); border-radius: 8px; background: rgba(8,17,31,.96); box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(58,208,230,.08) inset; overflow: hidden; min-width: 0; animation: up 1s .3s cubic-bezier(.2,.7,.2,1) both; }
.vb-term .bar { display: flex; gap: 6px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--b-line); font: 400 12px/1 var(--mono); color: var(--b-muted); }
.vb-term .bar i { width: 10px; height: 10px; border-radius: 50%; background: #253650; }
.vb-term .bar i:first-child { background: #ef4444; } .vb-term .bar i:nth-child(2) { background: #f5b83d; } .vb-term .bar i:nth-child(3) { background: var(--b-ok); }
.vb-term .bar span { margin-left: 10px; }
.vb-term pre { margin: 0; padding: 18px 20px 22px; font: 400 13.5px/1.75 var(--mono); color: var(--b-ink); min-height: 312px; white-space: pre-wrap; overflow-x: auto; }
.vb-term .p { color: var(--b-ok); } .vb-term .c { color: var(--b-cyan); } .vb-term .m { color: var(--b-muted); } .vb-term .r { color: #ff6b6b; font-weight: 500; } .vb-term .g { color: var(--b-ok); }
.vb-term .cur { display: inline-block; width: 8px; height: 1.1em; vertical-align: -2px; background: var(--b-cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.vb-check { border: 1px solid var(--b-line); background: var(--b-panel); border-radius: 6px; padding: 24px; display: grid; gap: 10px; align-content: start; transition: border-color .25s; }
.vb-check:hover { border-color: rgba(74,222,128,.5); }
.vb-check .ok { font: 400 12.5px/1 var(--mono); color: var(--b-ok); }
.vb-check h3 { font-size: 20px; } .vb-check p { color: var(--b-muted); font-size: 15px; }
.vb-pipe { margin-top: 64px; }
.vb-pipe ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.vb-pipe li { position: relative; border: 1px solid var(--b-line); border-radius: 6px; padding: 22px; background: linear-gradient(180deg, rgba(58,208,230,.06), transparent 60%); display: grid; gap: 8px; align-content: start; }
.vb-pipe li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -15px; width: 16px; height: 2px; background: repeating-linear-gradient(90deg, var(--b-cyan) 0 4px, transparent 4px 7px); animation: flow 1.2s ease-in-out infinite alternate; }
@keyframes flow { from { opacity: .25; } to { opacity: 1; } }
.vb-pipe small { font: 400 12px/1 var(--mono); color: var(--b-cyan); }
.vb-pipe h4 { margin: 0; font-size: 19px; } .vb-pipe p { color: var(--b-muted); font-size: 14.5px; }
@media (max-width: 900px) {
  .vb-term pre { min-height: 280px; font-size: 12.5px; }
  .vb-pipe ol { grid-template-columns: minmax(0, 1fr); }
  .vb-pipe li:not(:last-child)::after { top: auto; bottom: -15px; right: auto; left: 28px; width: 2px; height: 16px; background: var(--b-cyan); animation: none; }
}
.vc-marquee { border-block: 2px solid var(--c-line); overflow: hidden; background: var(--c-ink); color: var(--c-bg); }
.vc-marquee .track { display: flex; width: max-content; animation: marq 32s linear infinite; }
.vc-marquee .track > div { display: flex; align-items: center; }
.vc-marquee span { font: 900 clamp(32px, 5vw, 64px)/1.3 var(--sans); padding-inline: 28px; white-space: nowrap; }
.vc-marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px var(--c-bg); }
.vc-marquee i { width: 18px; height: 18px; background: var(--c-accent); flex: none; }
.vc-marquee:hover .track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.vc-why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--c-line); }
.vc-why > div { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--c-hair); display: grid; gap: 8px; align-content: start; }
.vc-why > div:nth-child(odd) { border-right: 1px solid var(--c-hair); }
.vc-why > div:nth-child(even) { padding-left: 28px; }
.vc-why h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; } .vc-why p { color: #2f343a; max-width: 34ch; }
.vc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.vc-steps li { border-top: 2px solid var(--c-line); padding-top: 14px; display: grid; gap: 8px; align-content: start; transition: border-color .3s; }
.vc-steps b { font: 900 clamp(56px, 7vw, 96px)/.9 var(--latin-c); letter-spacing: -.04em; color: var(--c-ink); transition: color .3s; }
.vc-steps li:hover { border-color: var(--c-accent); } .vc-steps li:hover b { color: var(--c-accent); }
.vc-steps h3 { font-size: 20px; font-weight: 900; } .vc-steps p { color: #2f343a; font-size: 15px; }
@media (max-width: 900px) {
  .vc-why { grid-template-columns: minmax(0, 1fr); } .vc-why > div:nth-child(odd) { border-right: 0; } .vc-why > div:nth-child(even) { padding-left: 0; }
  .vc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }
/* ---- 實拍照片 ---- */
.va-slides { overflow: hidden; }
.va-slides > * { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.va-slides > .on { opacity: 1; animation: kb 9s ease-out both; }
@keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }
.va-about-img.va-slides { position: relative; aspect-ratio: 16 / 10; }
.vb-cell.big .bg-img { opacity: .85; }
.vb-cell.big::after { background: linear-gradient(180deg, rgba(11,22,38,0) 25%, rgba(11,22,38,.96) 78%); }
.vb-cell .thumb { opacity: 1; }
.vc-row .thumb { overflow: hidden; }
.vc-cta h2 { grid-column: 1 / span 7; } .vc-cta p { grid-column: 1 / span 6; }
.va-why-item { box-shadow: 0 10px 30px rgba(8,30,60,.06); }
/* ---- 新增圖片區塊 ---- */
.va-slides > .blank { position: absolute; inset: 0; }
.va-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 14px; }
.va-mosaic figure { position: relative; margin: 0; border-radius: 12px; overflow: hidden; }
.va-mosaic figure:first-child { grid-column: span 2; grid-row: span 2; }
.va-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.va-mosaic figure:hover img { transform: scale(1.05); }
.va-mosaic figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(4,16,34,.85)); color: #fff; display: grid; gap: 2px; }
.va-mosaic figcaption b { font-size: 17px; } .va-mosaic figcaption span { font-size: 13px; color: #b9d3ee; }
@media (max-width: 900px) {
  .va-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
  .va-mosaic figure:first-child { grid-row: span 1; }
}
@media (max-width: 560px) { .va-mosaic { grid-template-columns: minmax(0, 1fr); } .va-mosaic figure:first-child { grid-column: auto; grid-row: span 1; } .va-mosaic figure { grid-row: span 1; } }
/* ---- 品牌 logo ---- */
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand img { display: block; width: auto; height: 34px; }
.big-logo { display: block; width: auto; height: clamp(110px, 16vw, 180px); }
@media (max-width: 560px) { .brand img { height: 28px; } }
@media (max-width: 340px) { .brand img { height: 22px; } }
@media (max-width: 900px) {
  .va-cta { background-image: linear-gradient(100deg, rgba(8,73,127,.95) 0%, rgba(11,107,203,.78) 45%, rgba(11,107,203,.12) 100%); }
}
/* ---- 效能 ---- */
.off, .off * { animation-play-state: paused !important; }
.map .halo { transform-box: fill-box; transform-origin: center; animation: halo 2.6s ease-out infinite; }
@keyframes halo { from { transform: scale(.55); opacity: .85; } to { transform: scale(1.55); opacity: 0; } }
#vc-why { content-visibility: auto; contain-intrinsic-size: auto 900px; }
canvas.fill { contain: strict; }
.map-wrap { position: relative; min-width: 0; }
.map-wrap > .map:not(.map-dots) { position: relative; }
.map-dots { position: absolute; inset: 0; }
.vc-steps h3, .vc-loc b { font-weight: 700; }
@media (max-width: 900px) {
  .vb-term pre { min-height: 0; height: 236px; overflow: hidden; font-size: 12px; padding: 14px 16px; }
  .vb-term .bar { padding: 9px 12px; }
}
/* ---- 頁尾版權列（比照原站：logo ｜ 公司 ｜ 版權） ---- */
.foot-legal { display: inline-flex; align-items: center; flex-wrap: wrap; row-gap: 6px; }
.foot-legal > span { display: inline-flex; align-items: center; }
.foot-legal > span + span::before { content: ""; width: 1px; height: 14px; background: currentColor; opacity: .45; margin-inline: 14px; }
/* ===================================================== */
/* D 未來光感                                             */
/* ===================================================== */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.vd { background: var(--d-bg); color: var(--d-ink); font-family: var(--inter); font-size: 16px; line-height: 1.7; }
.vd-head { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.vd:has(.vd-hero.off) .vd-head { background: rgba(0,0,0,.86); border-bottom-color: var(--d-line); }
.vd-head .wrap { display: flex; align-items: center; gap: 20px; height: 84px; max-width: 1280px; }
.vd .brand img { height: 32px; }
.vd-nav { margin: 0 auto; display: flex; gap: 2px; padding: 6px; border: 1px solid var(--d-line); border-radius: 999px; background: var(--d-glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.vd-nav a { padding: 9px 18px; border-radius: 999px; text-decoration: none; color: var(--d-muted); font-weight: 500; font-size: 15px; transition: color .3s, background .3s; }
.vd-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.vd-nav a.on { color: var(--d-g1); }
.vd-pill { appearance: none; background: transparent; border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 999px; padding: 10px 20px; font: 600 14px/1 var(--inter); cursor: pointer; transition: background .3s, border-color .3s; }
.vd-pill:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }
.vd-hero { position: relative; min-height: min(940px, 100svh); display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.vd-hero canvas { z-index: -1; }
.vd-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(55% 50% at 50% 50%, rgba(0,0,0,.6), rgba(0,0,0,.1) 75%), linear-gradient(180deg, rgba(0,0,0,.45), transparent 28%, transparent 70%, #000); }
.vd-hero .wrap { position: relative; z-index: 1; text-align: center; display: grid; justify-items: center; gap: 26px; padding-block: 140px 80px; }
.vd-hero .wrap > * { animation: up .9s cubic-bezier(.2,.7,.2,1) both; }
.vd-hero .wrap > h1 { animation: none; }
.vd-hero .wrap > :nth-child(2) { animation-delay: .1s; } .vd-hero .wrap > :nth-child(3) { animation-delay: .2s; } .vd-hero .wrap > :nth-child(4) { animation-delay: .3s; } .vd-hero .wrap > :nth-child(5) { animation-delay: .45s; }
.vd-badge { font: 600 12px/1 var(--inter); letter-spacing: .32em; text-transform: uppercase; padding: 12px 22px; border: 1px solid var(--d-line); border-radius: 999px; background: rgba(255,255,255,.04); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: rgba(255,255,255,.78); }
.vd-hero h1 { display: grid; font-weight: 700; font-size: clamp(44px, 8vw, 104px); line-height: 1.08; letter-spacing: -.02em; }
.vd .l1 { background: linear-gradient(180deg, #ffffff 35%, #8f99a4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vd .l2 { background: linear-gradient(90deg, var(--d-g1), var(--d-g2)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.vd-sub { max-width: 40em; color: var(--d-muted); font-size: clamp(16px, 1.6vw, 19px); font-weight: 300; }
.vd-actions { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.vd-cta { position: relative; display: inline-flex; align-items: center; gap: 18px; padding: 9px 9px 9px 30px; border-radius: 999px; background: rgba(10,14,20,.72); color: #fff; text-decoration: none; font: 600 15px/1 var(--inter); letter-spacing: .08em; text-transform: uppercase; border: 0; cursor: pointer; isolation: isolate; transition: transform .3s, box-shadow .3s; }
.vd-cta::before { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang), var(--d-g1), var(--d-g2), transparent 35%, transparent 60%, var(--d-g1)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: ang 4s linear infinite; z-index: -1; }
@keyframes ang { to { --ang: 360deg; } }
.vd-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(41,182,232,.25); }
.vd-arrow { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--d-g1), var(--d-g2)); color: #00131c; transition: transform .3s; }
.vd-arrow svg { width: 16px; height: 16px; }
.vd-cta:hover .vd-arrow { transform: rotate(45deg); }
.vd-link { color: var(--d-muted); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--d-line); padding-bottom: 4px; transition: color .3s, border-color .3s; }
.vd-link:hover { color: #fff; border-color: #fff; }
.vd-trust { margin-top: 3.25rem; display: grid; justify-items: center; gap: 6px; }
.vd-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.vd-chip { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.vd-chip i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #0b1118; border: 1px solid var(--d-line); color: var(--d-g1); box-shadow: 0 10px 22px rgba(0,0,0,.55); }
.vd-chip:nth-child(n+4) i { color: var(--d-g2); }
.vd-chips .ico { width: 20px; height: 20px; }
.vd-chip em { font-style: normal; font: 500 11.5px/1 var(--inter); letter-spacing: .04em; color: rgba(255,255,255,.72); white-space: nowrap; }
.site-top-btn { position: fixed; left: calc(24px + env(safe-area-inset-left, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--d-g1), var(--d-g2)); color: #05070c; box-shadow: 0 10px 26px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease, box-shadow .2s ease, filter .2s ease; }
.site-top-btn.show { opacity: 1; visibility: visible; transform: none; }
.site-top-btn:hover { box-shadow: 0 14px 30px rgba(0,0,0,.6); filter: brightness(1.08); }
.site-top-btn svg { width: 22px; height: 22px; }
@media (max-width: 640px) { .site-top-btn { left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 42px; height: 42px; } }
/* ===== 徵才文化區塊 + 原創向量人系列 ===== */
.vd-vision { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 30px; align-items: center; }
.vd-vision-text { padding: 28px 32px; }
.vd-vision-text p { font-size: 17px; line-height: 1.95; color: rgba(255,255,255,.84); margin: 0; }
.vd-team-intro { padding: 28px 32px; }
.vd-team-intro p { font-size: 15.5px; line-height: 2.05; color: rgba(255,255,255,.8); margin: 0; }
.vd-joingrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.vd-joincard { padding: 26px 22px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.vd-joincard h3 { font-size: 16px; font-weight: 700; margin: 10px 0 0; }
.vd-joincard .en { font: 600 11px/1.4 var(--inter); letter-spacing: .12em; color: rgba(255,255,255,.42); text-transform: uppercase; }
.vd-welfaregrid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.vd-welfaregrid .vd-glass { padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.vd-welfaregrid b { font-size: 20px; }
.vd-welfaregrid p { color: rgba(255,255,255,.76); line-height: 1.8; margin: 0; }
.vp-scene { width: 176px; max-width: 100%; height: 164px; }
.vp-scene picture, .vp-scene img { width: 100%; height: 100%; object-fit: contain; display: block; }
.vp-scene-lg { width: 100%; max-width: 360px; height: 280px; justify-self: center; }
@keyframes vpFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
@keyframes vpSpin { to { transform: rotate(360deg); } }
@keyframes vpPulse { 0%,100%{opacity:.5;transform:scale(1)} 50%{opacity:1;transform:scale(1.14)} }
@keyframes vpTwinkle { 0%,100%{opacity:.55;transform:scale(.88)} 50%{opacity:1;transform:scale(1.16)} }
.vp-person { animation: vpFloat 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.vp-person.d2 { animation-delay: -1.8s; }
.vp-gear { animation: vpSpin 7s linear infinite; transform-box: fill-box; transform-origin: center; }
.vp-glow { animation: vpPulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.vp-star { animation: vpTwinkle 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: reduce) { .vp-person, .vp-gear, .vp-glow, .vp-star { animation: none !important; } }
@media (max-width: 860px) { .vd-vision { grid-template-columns: minmax(0,1fr); } .vd-joingrid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) { .vd-joingrid, .vd-welfaregrid { grid-template-columns: minmax(0,1fr); } }
.vd-trust b { font-weight: 600; font-size: 16px; margin-top: 8px; }
.vd-trust small { font: 500 11px/1 var(--inter); letter-spacing: .18em; color: rgba(255,255,255,.5); }
.vd-sec { position: relative; padding-block: 110px; }
.vd-head2 { display: grid; gap: 12px; margin-bottom: 48px; max-width: 720px; }
.vd-kicker { font: 600 12px/1.2 var(--inter); letter-spacing: .24em; text-transform: uppercase; color: var(--d-g1); }
.vd-h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.vd-head2 p { color: var(--d-muted); }
.vd-glass { background: var(--d-glass); border: 1px solid var(--d-line); border-radius: 20px; }
.vd-grad { background: linear-gradient(90deg, var(--d-g1), var(--d-g2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vd-about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
.vd-about-text { padding: 36px; display: grid; gap: 18px; color: rgba(255,255,255,.78); align-content: start; }
.vd-facts { display: grid; gap: 20px; }
.vd-facts > div { padding: 24px 28px; display: grid; gap: 4px; }
.vd-facts b { font-size: 30px; font-weight: 700; justify-self: start; line-height: 1.3; }
.vd-facts span { color: var(--d-muted); font-size: 14.5px; }
.vd-sol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vd-card { position: relative; border-radius: 20px; overflow: hidden; background: #07090d; border: 1px solid var(--d-line); display: flex; flex-direction: column; transition: border-color .3s, transform .3s; }
.vd-card.wide { grid-column: span 2; }
.vd-card .thumb { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; opacity: .82; transition: opacity .3s, transform .6s; }
.vd-card.wide .thumb { aspect-ratio: 16 / 7.4; }
.vd-card .body { padding: 24px 26px 26px; display: grid; gap: 10px; flex: 1; align-content: start; }
.vd-card .ico { color: var(--d-g1); }
.vd-card h3 { font-size: 20px; font-weight: 600; }
.vd-card p { color: var(--d-muted); font-size: 15px; }
.vd-card a { color: var(--d-g1); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.vd-card:hover { border-color: rgba(41,182,232,.5); transform: translateY(-4px); }
.vd-card:hover .thumb { opacity: 1; transform: scale(1.03); }
.vd-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.vd-why > div { padding: 28px; display: grid; gap: 10px; align-content: start; }
.vd-why i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(41,182,232,.18), rgba(185,216,90,.1)); color: var(--d-g1); border: 1px solid var(--d-line); }
.vd-why h3 { font-size: 19px; font-weight: 600; }
.vd-why p, .vd-steps p { color: var(--d-muted); font-size: 15px; }
.vd-h3 { font-size: 24px; font-weight: 700; margin: 72px 0 28px; }
.vd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.vd-steps li { position: relative; border-top: 1px solid var(--d-line); padding-top: 20px; display: grid; gap: 8px; align-content: start; }
.vd-steps li::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 1px; background: linear-gradient(90deg, var(--d-g1), var(--d-g2)); }
.vd-steps b { font-size: 44px; font-weight: 700; line-height: 1; justify-self: start; }
.vd-steps h4 { margin: 0; font-size: 18px; font-weight: 600; }
.vd-ctasec { text-align: center; overflow: hidden; }
.vd-ctasec::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; max-width: 160vw; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(41,182,232,.18), rgba(185,216,90,.06) 40%, transparent 65%); pointer-events: none; }
.vd-ctasec .wrap { position: relative; display: grid; justify-items: center; gap: 22px; }
.vd-ctasec h2 { display: grid; font-size: clamp(38px, 6vw, 76px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }
.vd-ctasec p { color: var(--d-muted); max-width: 36em; }
.vd-global { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 20px; align-items: stretch; }
.vd-mapbox { padding: 24px; }
.vd-global .map .dot { fill: #1d3450; }
.vd-global .map .arc { fill: none; stroke: var(--d-g1); stroke-width: .3; stroke-dasharray: 1.2 1; animation: vbDash 1.6s ease-in-out infinite alternate; }
.vd-global .map .arc:nth-of-type(2) { animation-delay: .5s; } .vd-global .map .arc:nth-of-type(3) { animation-delay: 1s; }
.vd-global .map .pin-office { fill: var(--d-g1); } .vd-global .map .pin-dc { fill: var(--d-g2); }
.vd-global .map .halo { fill: none; stroke-width: .3; } .vd-global .map .halo.pin-office { stroke: var(--d-g1); } .vd-global .map .halo.pin-dc { stroke: var(--d-g2); }
.vd-global .map text { fill: #ffffff; font: 600 2.2px var(--inter); }
.vd-loc { display: grid; grid-template-rows: 2fr 3fr; gap: 20px; min-width: 0; }
.vd-loc > div { padding: 24px 26px; display: flex; flex-direction: column; gap: 18px; }
.vd-loc-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.vd-loc-count { color: var(--d-muted); font: 500 12px var(--mono); letter-spacing: .08em; }
.vd-loc dl { margin: 0; display: grid; flex: 1; }
.vd-loc dl > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; border-top: 1px solid var(--d-line); }
.vd-loc dt { font-size: 17px; font-weight: 600; line-height: 1.4; }
.vd-loc dd { margin: 0; color: var(--d-muted); font-size: 14px; text-align: right; }
.vd-loc .vd-office dt { font-size: 22px; }
.vd-loc .vd-office dd { font: 400 11px var(--mono); letter-spacing: .06em; }
.vd-contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
.vd-form { padding: 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.vd-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 500; color: var(--d-muted); }
.vd-form .full { grid-column: 1 / -1; }
.vd-form input, .vd-form textarea { background: rgba(255,255,255,.04); border: 1px solid var(--d-line); border-radius: 12px; padding: 13px 15px; color: #fff; font: 400 15px var(--inter); width: 100%; transition: border-color .3s, box-shadow .3s; }
.vd-form textarea { min-height: 150px; resize: vertical; }
.vd-form input:focus, .vd-form textarea:focus { outline: none; border-color: var(--d-g1); box-shadow: 0 0 0 3px rgba(41,182,232,.18); }
.vd-form .row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.vd-form .form-note { color: var(--d-g1); }
.vd-info { display: grid; gap: 20px; align-content: start; }
.vd-info > div { padding: 22px 26px; display: grid; gap: 8px; }
.vd-info a { color: var(--d-g1); text-decoration: none; }
.vd-foot { border-top: 1px solid var(--d-line); color: rgba(255,255,255,.55); font-size: 14px; }
.vd-foot .wrap { padding-block: 28px; display: flex; align-items: center; flex-wrap: wrap; }
.vd-foot .brand img { height: 28px; }
.vd-foot .brand + .foot-legal::before { content: ""; width: 1px; height: 22px; background: currentColor; opacity: .45; margin-inline: 18px; display: inline-flex; }
.off::before { animation-play-state: paused !important; }
#vd-why { content-visibility: auto; contain-intrinsic-size: auto 1100px; }
@media (max-width: 900px) {
  .vd-head .wrap { height: 68px; gap: 10px; }
  .vd-head.menu-open { background: #000; }
  .vd-head.menu-open .vd-nav { border-radius: 0; border: 0; border-bottom: 1px solid var(--d-line); background: #000; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .vd-head.menu-open .vd-nav a { border-radius: 0; }
  .vd-nav { display: none; }
  .vd .brand img { height: 28px; }
  .vd-hero .wrap { padding-block: 120px 64px; gap: 22px; }
  .vd-about, .vd-global, .vd-contact { grid-template-columns: minmax(0, 1fr); }
  .vd-loc { grid-template-rows: auto auto; }
  .vd-sol { grid-template-columns: minmax(0, 1fr); } .vd-card.wide { grid-column: auto; } .vd-card.wide .thumb { aspect-ratio: 16 / 9; }
  .vd-why, .vd-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vd-sec { padding-block: 72px; }
}
@media (max-width: 560px) {
  .vd-why, .vd-steps, .vd-form { grid-template-columns: minmax(0, 1fr); }
  .vd-badge { letter-spacing: .18em; font-size: 10.5px; padding: 10px 16px; }
  .vd-about-text, .vd-form { padding: 24px; }
  .vd-foot .brand + .foot-legal::before { display: none; } .vd-foot .wrap { row-gap: 12px; } .vd-foot .foot-legal { flex-basis: 100%; }
}
/* ---- C：照片平常黑白，滑鼠移上去轉為彩色（同一張彩色圖以濾鏡呈現，不多下載） ---- */
.vc-about-img { filter: grayscale(1) contrast(1.1); transition: filter .5s ease, transform .5s ease; }
.vc-row:hover .thumb, .vc-row:focus-visible .thumb, .vc-about-img:hover { filter: none; }
/* ===================================================== */
/* E 縱深：資安作戰室、主角物件、捲動式防線               */
/* ===================================================== */
:root {
  --e-bg: #07090e; --e-panel: #0d1119; --e-line: #1f2737; --e-ink: #e8edf5; --e-muted: #8d98ab;
  --e-accent: #29b6e8; --e-safe: var(--e-accent); --e-warn: #f5b84a; --e-threat: #ff5d6c;
  --e-serif: "Noto Serif TC", "Songti TC", serif;
  --e-display: "Space Grotesk", "Noto Sans TC", "PingFang TC", system-ui, sans-serif;
  --e-sans: "IBM Plex Sans", "Noto Sans TC", "PingFang TC", system-ui, sans-serif;
}

.ve-hero { position: relative; min-height: min(900px, 100svh); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.ve-hero canvas, .ve-hero video { z-index: -2; }
.ve-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ve-hero video { z-index: -1 !important; opacity: 0; transition: opacity .8s; }
.ve-hero video.on { opacity: 1; }
.ve-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(7,9,14,.92) 0%, rgba(7,9,14,.55) 45%, rgba(7,9,14,0) 75%), linear-gradient(180deg, rgba(7,9,14,.5), transparent 25%, transparent 75%, var(--e-bg)); }
.ve-hero .wrap { width: 100%; max-width: 1280px; padding-block: 120px 96px; }
.ve-hero h1 { font: 900 clamp(42px, 6.4vw, 92px)/1.12 var(--sans); letter-spacing: .01em; }

.ve-band { border-block: 1px solid var(--e-line); }
.ve-band .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1280px; }
.ve-band .wrap > div { padding: 26px 20px; border-right: 1px solid var(--e-line); display: grid; gap: 4px; }
.ve-band .wrap > div:last-child { border-right: 0; }
.ve-band b { font: 600 34px/1 var(--mono); font-variant-numeric: tabular-nums; }
.ve-band span { color: var(--e-muted); font-size: 14px; }
.ve-head2 { display: grid; gap: 14px; max-width: 760px; margin-bottom: 56px; }
.ve-head2 h2 { font: 900 clamp(32px, 4.4vw, 58px)/1.18 var(--sans); }
.ve-head2 p { color: var(--e-muted); max-width: 40em; }
.ve-stage { position: sticky; top: 110px; }
.ve-stage[data-active="0"] { --py: 83px; } .ve-stage[data-active="1"] { --py: 173px; } .ve-stage[data-active="2"] { --py: 263px; }
.ve-stage[data-active="3"] { --py: 353px; } .ve-stage[data-active="4"] { --py: 400px; }

.ve-global { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px; align-items: center; }
.ve-global .map .dot { fill: #1c2a3f; }
.ve-global .map .atk { fill: none; stroke: var(--e-threat); stroke-width: .3; stroke-dasharray: 1.2 1.2; opacity: .28; }
.ve-global .map .atk-run { fill: none; stroke: var(--e-threat); stroke-width: .7; stroke-linecap: round; stroke-dasharray: 9 91; stroke-dashoffset: 9; animation: atkRun 2.75s cubic-bezier(.45,0,.75,1) infinite; filter: drop-shadow(0 0 1px rgba(255,93,108,.9)); }
@keyframes atkRun { from { stroke-dashoffset: 9; } to { stroke-dashoffset: -91; } }
.ve-global .map .hit { fill: none; stroke: var(--e-safe); stroke-width: .45; opacity: 0; transform-box: fill-box; transform-origin: center; animation: hit 2.75s linear infinite; }
@keyframes hit { 0%, 93% { opacity: 0; transform: scale(.4); } 96% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
.ve-global .map .pin-office { fill: var(--e-safe); } .ve-global .map .pin-dc { fill: var(--e-accent); }
.ve-global .map .halo { fill: none; stroke: var(--e-safe); stroke-width: .3; } .ve-global .map .halo.pin-dc { stroke: var(--e-accent); }
.ve-global .map text { fill: var(--e-ink); font: 600 2.2px var(--mono); }
.ve-loc { display: grid; gap: 14px; }
.ve-loc > div { border-top: 1px solid var(--e-line); padding-top: 14px; display: grid; gap: 6px; }
.ve-loc b { font-size: 18px; }

.ve-process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--e-line); }
.ve-process li { position: relative; padding: 26px 24px 0 0; display: grid; gap: 8px; align-content: start; }
.ve-process li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--e-safe); box-shadow: 0 0 10px rgba(41,182,232,.7); }
.ve-process h3 { font: 700 19px/1.4 var(--sans); }
.ve-process p { color: var(--e-muted); font-size: 15px; }
#ve-process { content-visibility: auto; contain-intrinsic-size: auto 600px; }

@media (max-width: 900px) {
  .ve-hero { align-items: flex-end; }
  .ve-hero::after { background: linear-gradient(180deg, rgba(7,9,14,.2) 0%, rgba(7,9,14,.6) 38%, rgba(7,9,14,.95) 62%, var(--e-bg)); }
  .ve-hero .wrap { padding-block: 46svh 56px; }
  .ve-band .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ve-band .wrap > div:nth-child(2) { border-right: 0; } .ve-band .wrap > div:nth-child(-n+2) { border-bottom: 1px solid var(--e-line); }
  .ve-stage { top: 64px; z-index: 2; background: var(--e-bg); padding-block: 8px; border-bottom: 1px solid var(--e-line); }
  .ve-global { grid-template-columns: minmax(0, 1fr); }
  .ve-process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
}
@media (max-width: 560px) {
  .ve-process { grid-template-columns: minmax(0, 1fr); }
}
/* ---- E：標題字體與質感（英文 Space Grotesk 600、中文思源黑體 700；強調字單一品牌藍；首屏顆粒與暗角） ---- */
.ve-hero h1, .ve-head2 h2 { font-family: var(--e-display); font-weight: 700; }
.ve-hero h1 { font-size: clamp(40px, 5.6vw, 82px); line-height: 1.14; letter-spacing: .015em; }
.ve-head2 h2 { font-weight: 700; letter-spacing: .01em; }
html[lang="en"] .ve-hero h1 { font-weight: 600; font-size: clamp(40px, 5vw, 78px); line-height: 1.02; letter-spacing: -.035em; }
html[lang="en"] .ve-head2 h2 { font-weight: 600; letter-spacing: -.03em; line-height: 1.06; }
.ve-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.ve-hero .wrap { position: relative; z-index: 1; }
.ve-hero::after { background: radial-gradient(120% 90% at 70% 45%, transparent 40%, rgba(7,9,14,.85) 100%), linear-gradient(90deg, rgba(7,9,14,.94) 0%, rgba(7,9,14,.55) 42%, rgba(7,9,14,0) 72%), linear-gradient(180deg, rgba(7,9,14,.5), transparent 25%, transparent 78%, var(--e-bg)); }
@media (max-width: 900px) { .ve-hero::after { background: linear-gradient(180deg, rgba(7,9,14,.2) 0%, rgba(7,9,14,.6) 38%, rgba(7,9,14,.95) 62%, var(--e-bg)); } }
/* ---- E：首屏底圖（黑曜石盾）；有底圖時不畫程式盾牌 ---- */
.ve-hero.has-poster canvas { display: none; }
/* 桌機：底圖與影片稍微放大並往右下移，讓盾牌靠右下 */
/* 桌機：影片固定 16:9 靠右，盾牌（位於影片中央）落在畫面約 73%，四周柔和淡出 */
@media (min-width: 901px) { .ve-hero video { inset: auto; left: 33%; top: 52%; width: 80%; height: auto; aspect-ratio: 16 / 9; transform: translateY(-50%);
  -webkit-mask-image: radial-gradient(55% 62% at 50% 50%, #000 60%, transparent 100%); mask-image: radial-gradient(55% 62% at 50% 50%, #000 60%, transparent 100%); } }
@media (max-width: 900px) {
  .ve-hero.has-poster video { inset: 56px 0 auto 0; height: auto; aspect-ratio: 4 / 3; object-position: 50% 50%; }
  .ve-hero.has-poster::after { background: linear-gradient(180deg, var(--e-bg) 0, var(--e-bg) 56px, transparent 96px, transparent calc(75vw - 54px), var(--e-bg) calc(75vw + 56px)); }
  .ve-hero.has-poster .wrap { padding-block: calc(75vw + 20px) 56px; }
  .ve-hero.has-poster { align-items: flex-start; min-height: 0; }
}
.ve-hero video::-webkit-media-controls-start-playback-button, .ve-hero video::-webkit-media-controls { display: none !important; -webkit-appearance: none; }
.ve-line { border: 1px solid var(--e-line); border-radius: 10px; padding: 20px; background: #090c12; display: grid; gap: 12px; align-content: start; }
.ve-line h4 { margin: 0; font: 700 19px/1.2 var(--e-display); color: var(--e-accent); }
.ve-line ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.ve-line li { position: relative; padding-left: 18px; color: #c3ccd9; font-size: 14.5px; line-height: 1.55; }
.ve-line li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 5px; border-left: 2px solid var(--e-safe); border-bottom: 2px solid var(--e-safe); transform: rotate(-45deg); }
.ve-loc b { line-height: 1.6; }
/* ---- E v2 視覺調整 ---- */
.ve-head2 h2, .ve-hero h1 { text-wrap: pretty; }
.ve-head2 { max-width: 880px; }
/* ===== A–D：服務細項與線路類型（共用結構，各版型以變數換風格） ===== */
.sp { background: var(--sp-bg); color: var(--sp-ink); font-family: var(--sp-font); }
.sp .wrap { padding-block: 88px; display: grid; gap: 22px; }
.sp-head { display: grid; gap: 10px; max-width: 760px; margin-bottom: 8px; }
.sp-k, .sp-sub { font: 600 12px/1.2 var(--sp-label); letter-spacing: .2em; text-transform: uppercase; color: var(--sp-accent); }
.sp-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: var(--sp-h, 700); line-height: 1.25; }
.sp-head p { color: var(--sp-muted); }
.sp-lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-gap, 16px); }
.sp-line { background: var(--sp-card); border: var(--sp-bd, 1px) solid var(--sp-line); border-radius: var(--sp-r, 10px); padding: 22px; display: grid; gap: 12px; align-content: start; }
.sp-line h3 { font-size: 20px; font-weight: 800; color: var(--sp-accent); }
.sp-line ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.sp-line li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.55; color: var(--sp-ink); }
.sp-line li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 5px; border-left: 2px solid var(--sp-accent); border-bottom: 2px solid var(--sp-accent); transform: rotate(-45deg); }
.sp-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-gap, 16px); margin-top: 14px; }
.sp-group { border-top: var(--sp-bd, 1px) solid var(--sp-line); padding-top: 16px; display: grid; gap: 10px; align-content: start; }
.sp-group h3 { font-size: 19px; font-weight: 800; }
.sp-group dl { margin: 0; display: grid; gap: 10px; }
.sp-group dl div { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 4px 14px; }
.sp-group dt { font-weight: 700; font-size: 14.5px; }
.sp-group dd { margin: 0; color: var(--sp-muted); font-size: 14.5px; line-height: 1.6; }
.sp-group .service-note { margin: 0; color: #e5484d; font-size: 12px; line-height: 1.6; }
.sp-d { --sp-bg: var(--d-bg); --sp-card: var(--d-glass); --sp-ink: var(--d-ink); --sp-muted: var(--d-muted); --sp-line: var(--d-line); --sp-accent: var(--d-g1); --sp-font: var(--inter); --sp-label: var(--inter); --sp-r: 20px; }
.sp-d .sp-line h3 { background: linear-gradient(90deg, var(--d-g1), var(--d-g2)); -webkit-background-clip: text; background-clip: text; color: transparent; justify-self: start; }
@media (max-width: 900px) { .sp .wrap { padding-block: 60px; } .sp-lines, .sp-groups { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .sp-group dl div { grid-template-columns: minmax(0, 1fr); } }
/* ===== 合作夥伴（各版型以變數換風格；淺色版灰階、深色版白色剪影，滑鼠移上去恢復） ===== */
.pt { background: var(--pt-bg); color: var(--pt-ink); font-family: var(--pt-font); border-top: var(--pt-bd, 1px) solid var(--pt-line); }
.pt .wrap { padding-block: 84px; display: grid; gap: 28px; }
.pt-head { display: grid; gap: 10px; max-width: 760px; }
.pt-k { font: 600 12px/1.2 var(--pt-label); letter-spacing: .2em; color: var(--pt-accent); }
.pt-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: var(--pt-h, 800); line-height: 1.25; }
.pt-head p { color: var(--pt-muted); max-width: 46em; }
.pt-groups { display: grid; gap: 22px; }
.pt-group { display: grid; grid-template-columns: minmax(0, 10em) minmax(0, 1fr); gap: 16px 28px; align-items: start; border-top: 1px solid var(--pt-line); padding-top: 18px; }
.pt-group h3 { font: 600 13px/1.6 var(--pt-label); letter-spacing: .08em; color: var(--pt-muted); padding-top: 22px; }
.pt-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pt-logos li { height: 76px; display: grid; place-items: center; padding: 14px 18px; background: var(--pt-cell); border: 1px solid var(--pt-line); border-radius: var(--pt-r, 10px); transition: border-color .3s, background .3s; }
.pt-logos img { max-width: 100%; max-height: 38px; width: auto; height: auto; object-fit: contain; filter: var(--pt-filter); opacity: var(--pt-op, .7); transition: filter .35s, opacity .35s; }
.pt-logos li:hover { border-color: var(--pt-accent); }
.pt-logos li:hover img { filter: var(--pt-filter-hover, none); opacity: 1; }
.pt-light { --pt-filter: grayscale(1) contrast(1.05); --pt-op: .62; }
.pt-dark { --pt-filter: brightness(0) invert(1); --pt-filter-hover: brightness(0) invert(1); --pt-op: .55; }
.pt-d { --pt-bg: var(--d-bg); --pt-cell: var(--d-glass); --pt-ink: var(--d-ink); --pt-muted: var(--d-muted); --pt-line: var(--d-line); --pt-accent: var(--d-g1); --pt-font: var(--inter); --pt-label: var(--inter); --pt-r: 16px; --pt-filter: brightness(0) invert(1); --pt-filter-hover: brightness(0) invert(1); --pt-op: .55; }
@media (max-width: 760px) {
  .pt .wrap { padding-block: 60px; }
  .pt-group { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pt-group h3 { padding-top: 0; }
  .pt-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-logos li { height: 64px; padding: 12px; }
  .pt-logos img { max-height: 30px; }
}
/* 只有圖示的 logo（Telstra）：圖示旁加名稱；深色版改用鏤空單色版，保留 T 字 */
.pt-logos li.pt-icon { display: flex; align-items: center; justify-content: center; gap: 10px; }
.pt-logos li.pt-icon img { max-height: 34px; }
.pt-name { font: 700 19px/1 var(--pt-font); letter-spacing: -.01em; color: var(--pt-ink); opacity: var(--pt-op, .7); transition: opacity .35s; }
.pt-light .pt-name { color: #3d434b; }
.pt-logos li.pt-icon:hover .pt-name { opacity: 1; }
@media (max-width: 760px) { .pt-logos li.pt-icon img { max-height: 28px; } .pt-name { font-size: 16px; } }
/* ---- 合作夥伴跑馬燈：兩排反向、邊緣淡出、滑鼠移上暫停 ---- */
.pt-marquee { display: grid; gap: 12px; margin-top: 6px; }
.pt-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pt-logos.pt-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; width: max-content; animation: ptMarq 46s linear infinite; }
.pt-rev .pt-track { animation-direction: reverse; animation-duration: 40s; }
.pt-logos.pt-track li { flex: 0 0 auto; width: 188px; }
.pt-marquee:hover .pt-track { animation-play-state: paused; }
@keyframes ptMarq { to { transform: translateX(calc(-50% - var(--pt-cycle-correction, 6px))); } }
@media (max-width: 760px) { .pt-logos.pt-track li { width: 150px; } .pt-track { animation-duration: 34s; } .pt-rev .pt-track { animation-duration: 30s; } }
@media (prefers-reduced-motion: reduce) { .pt-row { -webkit-mask-image: none; mask-image: none; } .pt-logos.pt-track { flex-wrap: wrap; width: auto; } .pt-track li:nth-child(n+6) { display: none; } }
/* 首屏主標：強調詞不拆行；桌機主標可超出文字欄寬 */
.ve-hero h1 .serif { white-space: nowrap; }
@media (min-width: 901px) { .ve-hero h1 { width: max-content; max-width: min(860px, 62vw); font-size: clamp(40px, 5.2vw, 78px); } }
/* ===== 動畫插圖（取代含人物的照片）：各版型以變數換色 ===== */
.ill { display: block; position: relative; width: 100%; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; background: var(--ill-bg); color: var(--ill-ink); }
.ill svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ill .g { stroke: var(--ill-grid); stroke-width: .5; }
.ill .ln { fill: none; stroke: var(--ill-line); stroke-width: 1.2; }
.ill .lnA { fill: none; stroke: var(--ill-a); stroke-width: 1.6; }
.ill .lnB { fill: none; stroke: var(--ill-b); stroke-width: 1.2; stroke-dasharray: 3 3; }
.ill .flow { fill: none; stroke: var(--ill-a); stroke-width: 2.2; stroke-dasharray: 6 10; animation: illFlow 1.6s linear infinite; }
.ill .card { fill: var(--ill-card); stroke: var(--ill-line); stroke-width: 1; }
.ill .fa { fill: var(--ill-a); } .ill .fb { fill: var(--ill-b); } .ill .fr { fill: var(--ill-r); } .ill .fl { fill: var(--ill-line); }
.ill .tx { font: 600 7px/1 var(--mono); letter-spacing: .08em; fill: var(--ill-mute); }
.ill .txA { font: 700 7.5px/1 var(--mono); letter-spacing: .06em; fill: var(--ill-a); }
.ill .ring { fill: none; stroke: var(--ill-a); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: illRing 2.6s ease-out infinite; }
.ill .pulse { animation: illPulse 1.6s ease-in-out infinite; }
.ill .blink { animation: illBlink 2.2s steps(1) infinite; }
.ill .grow { transform-box: fill-box; transform-origin: bottom; animation: illGrow 3.2s ease-in-out infinite; }
.ill .draw { stroke-dasharray: 260; stroke-dashoffset: 260; animation: illDraw 4s ease-in-out infinite; }
.ill .sway { transform-origin: 250px 150px; animation: illSway 3.6s ease-in-out infinite alternate; }
.ill .bob { animation: illBob 4s ease-in-out infinite alternate; }
@keyframes illFlow { to { stroke-dashoffset: -32; } }
@keyframes illRing { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
@keyframes illPulse { 50% { opacity: .25; } }
@keyframes illBlink { 50% { opacity: .15; } }
@keyframes illGrow { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@keyframes illGrowX { 0%, 100% { transform: scaleX(.35); } 50% { transform: scaleX(1); } }
@keyframes illDraw { 0% { stroke-dashoffset: 260; } 55%, 100% { stroke-dashoffset: 0; } }
@keyframes illSway { from { transform: rotate(-38deg); } to { transform: rotate(22deg); } }
@keyframes illBob { from { transform: translateY(-3px); } to { transform: translateY(3px); } }
.ill.off *, .ill.off { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .ill * { animation: none !important; } }
.vd { --ill-bg: #05070b; --ill-grid: rgba(255,255,255,.05); --ill-line: rgba(255,255,255,.22); --ill-card: rgba(255,255,255,.05); --ill-ink: #fff; --ill-a: #29b6e8; --ill-b: #b9d85a; --ill-r: #ff6b6b; --ill-mute: rgba(255,255,255,.55); }
/* 原本針對 <img> 的版位，套到插圖上 */
.va-mosaic .ill { height: 100%; aspect-ratio: auto; transition: transform .6s; }
.va-mosaic figure:hover .ill { transform: scale(1.04); }
.va-about-img.ill { border-radius: 10px; aspect-ratio: 16 / 10; }
.va-card .ill.thumb { aspect-ratio: 16 / 9; } .va-card.wide .ill.thumb { aspect-ratio: 16 / 6.4; }
.vd-card .ill.thumb { aspect-ratio: 16 / 9; opacity: 1; } .vd-card.wide .ill.thumb { aspect-ratio: 16 / 7.4; }
.vb-cell .ill.thumb { aspect-ratio: 16 / 8; }
.vc-row .ill.thumb { aspect-ratio: 16 / 10; }
/* ===== 亞太互連動畫地圖（參考老闆範例） ===== */
.imap-box { position: relative; width: 100%; border-radius: var(--im-r, 12px); overflow: hidden; background: var(--im-bg); }
.imap { display: block; width: 100%; aspect-ratio: 16 / 11; }
.imap-cap { position: absolute; top: 12px; right: 14px; font: 500 11px/1.3 var(--mono); color: var(--im-tx2); opacity: .9; text-align: right; }
.imap-lgd { position: absolute; left: 14px; bottom: 12px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; font: 500 11.5px/1.3 var(--mono); color: var(--im-tx2); }
.imap-lgd i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.imap-lgd .h { background: var(--im-hub); box-shadow: 0 0 8px var(--im-hub); }
.imap-lgd .u { border: 2px solid var(--im-user); background: transparent; }
.imap-lgd .n { background: var(--im-pk); }
.imap-lgd .b { background: var(--im-bad); }
@media (max-width: 760px) { .imap { aspect-ratio: 4 / 5; } .imap-cap { left: 14px; right: 14px; text-align: left; } }
.vd { --im-bg: #06080d; --im-dot: #1d3450; --im-hub: #29b6e8; --im-user: #b9d85a; --im-link: rgba(41,182,232,.4); --im-ulink: rgba(185,216,90,.2); --im-pk: #9fe6ff; --im-bad: #ff6b6b; --im-tx: #ffffff; --im-tx2: rgba(255,255,255,.6); --im-r: 16px; }
.vd-mapbox { padding: 0; overflow: hidden; }
.ve-hero .s1, .ve-hero .s2 { transition: opacity .9s ease; }
.ve-hero[data-slide="1"] .s2, .ve-hero[data-slide="2"] .s1 { opacity: 0 !important; visibility: hidden; pointer-events: none; }
.ve-hero::after { transition: opacity .9s ease; }
@media (min-width: 901px) {
  /* 影片本身是亮色畫面：頂端加一條暗帶讓導覽列可讀 */
  .ve-hero[data-slide="2"]::after { opacity: 1; background: linear-gradient(180deg, rgba(7,9,14,.88) 0, rgba(7,9,14,.55) 70px, rgba(7,9,14,0) 150px, rgba(7,9,14,0) 82%, rgba(7,9,14,.55) 100%); }
}
@media (max-width: 900px) {
  .ve-hero[data-slide="2"]::after { opacity: 0; }
}

/* ===== E：手機版精簡 ===== */
@media (max-width: 900px) {
  .ve-band .wrap > div { padding: 16px 14px; }
  .ve-band b { font-size: 24px; }
  .ve-band span { font-size: 12px; line-height: 1.45; }
  .ve-head2 { margin-bottom: 26px; gap: 10px; }
  .ve-head2 > p { display: none; }
  .ve-head2 h2 { font-size: clamp(26px, 7.4vw, 34px); } .ve-line { padding: 12px 14px; gap: 6px; } .ve-line h4 { font-size: 16px; }
  .ve-line li:nth-child(n+3) { display: none; } .ve-line li { font-size: 13px; }
  .ve-line { padding: 5px 10px !important; border-radius: 999px !important; background: none !important; }
  .ve-line h4 { font-size: 12.5px !important; font-weight: 600; } .ve-line ul { display: none; }
  .ve-line h4 { font-size: 12px !important; letter-spacing: 0; }
  /* 四層防線：隱藏剖面圖與長段落 */
  .ve-stage { display: none; }
  /* 網路：只留地圖 */
  .ve-loc { display: none; }
  /* 合作流程：2×2，只留步驟名稱 */
  .ve-process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .ve-process li { padding: 18px 12px 0 0; } .ve-process p { display: none; } .ve-process h3 { font-size: 16px; }
}

/* Neutral support identity, shared across A–E and both languages. */
.mtc-service-icon { position: absolute; inset: 0; display: grid; place-items: center; color: #b6d24b; background: linear-gradient(145deg, #19251c, #0d1513); }
.mtc-service-icon svg { width: 44px; height: 44px; }
.mtc-fab .mtc-service-icon { border-radius: 50%; }
.mtc-fab .mtc-service-icon svg { width: 28px; height: 28px; }
.mtc-video { flex-basis: 116px; }
.mtc-video .mtc-service-icon { display: none; }
.mtc-video::after { display: none; }
body[data-v="d"] { --support-start: #29b6e8; --support-mid: #62c5ae; --support-end: #b9d85a; --support-surface: #0c1010; --support-panel: #101414; --support-ink: #ffffff; --support-muted: #a0b0ac; --support-bubble: #1c2422; --support-rgb: 98,197,174; --support-radius: 26px; --support-button-ink: #082d34; }
.mtc { --support-gradient: linear-gradient(90deg, var(--support-start), var(--support-mid) 50%, var(--support-end)); --c-bg: var(--support-surface); --c-panel: var(--support-panel); --c-ink: var(--support-ink); --c-mut: var(--support-muted); --c-acc: var(--support-start); --c-hot: var(--support-start); --c-ok: var(--support-end); --c-line: rgba(var(--support-rgb),.25); }
.mtc-call, .mtc-panel { border-radius: var(--support-radius); background: var(--support-panel); }
.mtc-top b { max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mtc-call::before { border-radius: calc(var(--support-radius) + 3px); }
.mtc-service-icon { background: linear-gradient(145deg, var(--support-surface), var(--support-panel)); }
.mtc-service-icon svg, .mtc-conn svg { stroke: url(#mtc-brand-gradient); }
.mtc-accept { background: var(--support-gradient); color: var(--support-button-ink); box-shadow: 0 6px 18px rgba(var(--support-rgb),.32); }
.mtc-fab { box-shadow: 0 10px 26px rgba(3,8,18,.5), 0 0 18px rgba(var(--support-rgb),.20); }
.mtc-fab::before { border: 0; padding: 3px; background: var(--support-gradient); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.mtc-fab > i { background: var(--support-gradient); }
.mtc-top span i, .mtc-badge i { box-shadow: 0 0 6px rgba(var(--support-rgb),.6); }
.mtc-msg.me, .mtc-send, .mtc-mini-submit, .mtc-links .hot, .mtc-act { background: var(--support-start); border-color: var(--support-start); color: var(--support-button-ink); }
.mtc-opt, .mtc-chips button { border-color: rgba(var(--support-rgb),.55); background: rgba(var(--support-rgb),.10); }
.mtc-opt:hover, .mtc-chips button:hover { background: rgba(var(--support-rgb),.24); }
.mtc-mini { background: var(--support-panel); }
.mtc { color-scheme: dark; }
.mtc-msg.bot { background: var(--support-bubble); }
.mtc-video { background: var(--support-panel); }
.mtc-call .mtc-shade { display: none; }
.mtc-conn { color: #eef3fa; }
.mtc-links .hot:hover, .mtc-mini-submit:hover, .mtc-act:hover { background: var(--support-start); border-color: var(--support-start); filter: brightness(1.08); }
.mtc-form input:focus { border-color: var(--support-start); }
.mtc-holo::before { background: conic-gradient(from var(--mtc-a, 0deg), transparent 0 70%, var(--support-start) 85%, #fff 90%, transparent 95%); }
.mtc-conn svg { filter: drop-shadow(0 0 6px rgba(var(--support-rgb),.6)); }
.mtc-mascot { display: none; }
body:not([data-v="e"]) .mtc-sticker { display: none; }
form[data-form] input { min-height: 48px; }

@media (min-width: 901px) {
  .ve-global { align-items: stretch; }
  .ve-global .imap-box { position: absolute; inset: 0; height: 100%; }
  .ve-global .imap { height: 100%; aspect-ratio: auto; }
}
.site-top-btn:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }


/* D careers: compact panoramic team banner with centered copy. */
.vd-careers > .wrap > .vd-head2 { text-align: left; margin-inline: 0; }
.vd-careers-banner { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--d-line); border-radius: 16px; height: auto; aspect-ratio: 4.5; display: grid; place-items: center; padding: 16px; background: #05070b; }
.vd-careers-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vd-careers-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.15), rgba(0,0,0,.55) 38%, rgba(0,0,0,.55) 62%, rgba(0,0,0,.15)); }
.vd-careers-copy { position: relative; z-index: 1; text-align: center; max-width: 48%; }
.vd-careers-copy h3 { margin: 0 0 8px; color: #fff; font-size: clamp(22px, 2.6vw, 36px); font-weight: 700; line-height: 1.3; text-shadow: 0 2px 14px #000; }
.vd-careers-copy p { color: #fff; margin: 0; font-size: clamp(15px, 1.5vw, 20px); line-height: 1.5; text-shadow: 0 2px 10px #000; }
.vd-careers-cta { display: inline-flex; align-items: center; justify-content: center; margin-top: 16px; min-width: 160px; padding: 10px 28px; border: 1.5px solid #fff; border-radius: 999px; color: #fff; text-decoration: none; font-size: 18px; font-weight: 600; background: rgba(255,255,255,.06); transition: background .2s, color .2s; }
.vd-careers-cta:hover { background: #fff; color: #0b1418; }
.vd-careers-cta:focus-visible { outline: 3px solid var(--d-g1); outline-offset: 5px; }
@media (min-width: 901px) and (max-width: 1100px) { .vd-nav a { padding-inline: 12px; font-size: 13px; } }
@media (max-width: 900px) {
  .vd-careers-banner { height: auto; aspect-ratio: auto; padding: 0; display: flex; flex-direction: column; }
  .vd-careers-image { position: relative; height: auto; object-fit: contain; }
  .vd-careers-banner::after { display: none; }
  .vd-careers-copy { max-width: 100%; padding: 18px 16px 22px; }
  .vd-careers-copy h3 { font-size: 25px; }
  .vd-careers-cta { margin-top: 20px; padding-block: 9px; font-size: 16px; }
}
.hr-head { margin-bottom: 36px; display: grid; gap: 12px; max-width: 760px; }
.hr-kicker { color: var(--hr-accent); font: 600 11px/1.5 var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.hr-head h2 { margin: 0; color: var(--hr-ink); font-size: clamp(28px, 3.6vw, 44px); line-height: 1.25; font-weight: 700; }
.hr-head > p, .global-intro { color: var(--hr-muted, inherit); }
.hr-card { border: 1px solid var(--hr-line); border-radius: var(--hr-radius); background: var(--hr-card); }
.hr-prose { padding: clamp(22px, 3vw, 32px); }
.hr-prose p { color: var(--hr-ink); font-size: 16px; line-height: 1.95; margin: 0; }
.hr-prose p + p { margin-top: 16px; }
.hr-vision, .hr-about { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 30px; }
.hr-facts { display: grid; gap: 14px; }
.hr-facts .hr-card { padding: 20px 24px; display: grid; gap: 5px; }
.hr-facts b { font-size: 24px; }
.hr-facts span { color: var(--hr-muted); }
.hr-emphasis { color: var(--hr-accent); }
.hr-joingrid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.hr-joincard { padding: 26px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hr-joincard h3 { margin: 18px 0 8px; color: var(--hr-ink); font-size: 17px; line-height: 1.6; }
.hr-joincard .en { color: var(--hr-muted); font: 500 11px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.hr-welfaregrid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.hr-welfaregrid .hr-card { padding: 28px; display: grid; gap: 12px; align-content: start; }
.hr-welfaregrid b { font-size: 21px; }
.hr-welfaregrid p { color: var(--hr-muted); font-size: 15px; line-height: 1.85; margin: 0; }
.hr-recruit > .wrap > .hr-head { margin-inline: 0; text-align: left; border-left: 0; padding-left: 0; }
.hr-banner { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--hr-line); border-radius: var(--hr-radius); height: clamp(240px,22vw,280px); display: grid; place-items: center; padding: 24px; background: #080e10; }
.hr-banner-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hr-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #0005 38%, #0005 62%, transparent); }
.hr-banner-copy { position: relative; z-index: 1; max-width: 48%; text-align: center; color: #fff; }
.hr-banner-copy h3 { margin: 0 0 8px; font-size: clamp(25px,2.6vw,36px); line-height: 1.3; font-weight: 700; }
.hr-banner-copy p { margin: 0; font-size: clamp(15px,1.5vw,20px); line-height: 1.5; }
.hr-banner-cta { display: inline-flex; justify-content: center; margin-top: 24px; padding: 10px 28px; min-width: 150px; border: 1.5px solid var(--hr-accent); border-radius: var(--hr-radius); color: #fff; text-decoration: none; font-size: 17px; font-weight: 600; background: #080e10cc; transition: background .2s; }
.hr-banner-cta:hover { background: var(--hr-accent); color: #061a20; }
.hr-banner-cta:focus-visible { outline: 3px solid var(--hr-accent); outline-offset: 5px; }
@media (min-width:901px) and (max-width:1200px) {
  .vb-status { display: none; }
}
@media (max-width:900px) {
  .hr-vision, .hr-about { grid-template-columns: minmax(0,1fr); }
  .hr-joingrid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:600px) {
  .hr-joingrid, .hr-welfaregrid { grid-template-columns: minmax(0,1fr); }
  .hr-banner { height: auto; padding: 0; display: flex; flex-direction: column; }
  .hr-banner-image { position: relative; height: auto; }
  .hr-banner::after { display: none; }
  .hr-banner-copy { max-width: 100%; padding: 18px 16px 22px; }
  .hr-banner-copy h3 { font-size: 25px; }
  .hr-banner-cta { margin-top: 20px; font-size: 16px; }
}


/* Service overviews: retain full copy in native, keyboard-accessible disclosures. */
.service-outline { margin: 0; color: var(--sp-muted, var(--e-muted)); font-size: 14px; line-height: 1.65; }
.service-details { min-width: 0; }
.service-details > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; width: fit-content; min-height: 44px; padding: 6px 0; color: var(--sp-accent, var(--e-accent)); font-size: 14px; font-weight: 600; }
.service-details > summary::-webkit-details-marker { display: none; }
.service-details > summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 3px; }
.detail-hide, .service-details[open] > summary .detail-show { display: none; }
.service-details[open] > summary .detail-hide { display: inline; }
.detail-symbol { font-size: 19px; transition: transform .2s; }
.service-details[open] > summary .detail-symbol { transform: rotate(45deg); }
.service-details[open] > summary { margin-bottom: 10px; }
.software-art { width: 100%; height: 150px; display: grid; place-items: center; overflow: hidden; }
.software-art img { display: block; width: 100%; height: 150px; min-width: 0; min-height: 0; max-width: 100%; object-fit: contain; }
.va-card:has(.software-art),.vb-cell:has(.software-art),.vd-card:has(.software-art) { min-width: 0; }
.vd { --service-accent: var(--d-g1); --service-line: var(--d-line); }
.v .service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: stretch; }
.v .service-grid > .service-card { grid-column: auto; grid-row: auto; display: flex; flex-direction: column; gap: 0; min-width: 0; min-height: 0; padding: 0; overflow: hidden; }
.v .service-card-art { position: relative; flex: 0 0 180px; height: 180px; width: 100%; overflow: hidden; border-bottom: 1px solid var(--service-line); }
.v .service-card-art > .ill { display: block; width: 100%; height: 180px; aspect-ratio: auto; max-height: none; margin: 0; }
.v .service-card-art .software-art { height: 180px; }
.v .service-card-art .software-art img { height: 180px; }
.v .service-card-body { position: static; display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 24px; max-width: none; }
.v .service-card-heading { min-height: 66px; display: flex; flex-direction: column; gap: 8px; }
.v .service-card-heading h3 { margin: 0; font-size: 22px; line-height: 1.35; }
.v .service-card-heading h3 small { display: none; }
.v .service-card-body > p { min-height: 48px; flex: 1; margin: 0; font-size: 14px; line-height: 1.7; }
.v .service-card-cta { display: block; margin-top: auto; color: var(--service-accent); font-size: 14px; font-weight: 600; text-decoration: none; }
.v .service-master { margin-top: 32px; min-width: 0; }
.v .service-master > summary { display: flex; align-items: center; justify-content: center; gap: 18px; width: fit-content; min-height: 48px; margin-inline: auto; padding: 12px 32px; border: 1px solid var(--service-accent); border-radius: 8px; color: var(--service-accent); cursor: pointer; list-style: none; font-size: 16px; font-weight: 600; }
.v .service-master > summary::-webkit-details-marker { display: none; }
.v .service-master > summary:focus-visible { outline: 3px solid var(--service-accent); outline-offset: 5px; }
.service-master[open] > summary .detail-show { display: none; }
.service-master[open] > summary .detail-hide { display: inline; }
.service-master[open] > summary .detail-symbol { transform: rotate(45deg); }
.v .service-master .sp .wrap { padding: 36px 0 0; }
.v .service-master .sp { background: transparent; }
.service-full-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 36px; }
.service-full-group { padding: 24px; border: 1px solid var(--service-line); border-radius: 10px; display: grid; align-content: start; gap: 16px; }
.service-full-group h3 { font-size: 22px; }
.service-full-group dl { margin: 0; }
.service-full-group dd { margin: 4px 0 16px; color: var(--e-muted); }
.service-full-group .service-note { margin: 0; color: #e5484d; font-size: 12px; line-height: 1.6; }
@media (min-width:701px) and (max-width:1100px) { .v .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width:700px) { .v .service-grid,.service-full-grid { grid-template-columns: 1fr; } .v .service-card-art,.v .service-card-art > .ill { height: 170px; flex-basis: 170px; } }


/* Shared vision content; each variant supplies its own visual tokens. */
.vd .vision-carousel { --hr-accent: var(--d-g1); --hr-ink: var(--d-ink); --hr-muted: rgba(255,255,255,.65); --hr-line: var(--d-line); --hr-card: var(--d-glass); --hr-radius: 16px; }
.vision-slide { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); border: 1px solid var(--hr-line); border-radius: var(--hr-radius); overflow: hidden; background: var(--hr-card); color: var(--hr-ink); }
.vision-slide[hidden] { display: none; }
.vision-copy { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: clamp(24px,3vw,44px); min-width: 0; }
.vision-topic { color: var(--hr-accent); font: 600 12px/1.2 var(--mono); letter-spacing: .15em; }
.vision-copy h3 { margin: 0; font-size: clamp(23px,2.5vw,34px); font-weight: 700; line-height: 1.5; }
.vision-copy p { margin: 0; color: var(--hr-muted); font-size: 16px; line-height: 1.9; }
.vision-photo { margin: 0; min-width: 0; aspect-ratio: 900/506; align-self: stretch; }
.vision-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vision-statement { max-width: 76ch; margin: 0 0 clamp(28px,4vw,48px); font-size: clamp(17px,1.45vw,20px); line-height: 1.95; color: inherit; }
.vision-statement:last-child { margin-bottom: 0; }
.vision-card .vision-statement { max-width: none; font-size: clamp(17px,1.45vw,20px); line-height: 1.95; color: inherit; }
.vc-label.keep-case, .vd-kicker.keep-case { text-transform: none; }
* + .vision-carousel { margin-top: clamp(28px,4vw,48px); }
.vision-carousel { position: relative; padding-inline: 28px; }
.vision-controls { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0; color: var(--hr-ink); pointer-events: none; }
.vision-pages { display: flex; align-items: center; gap: 10px; }
.vision-controls button { pointer-events: auto; flex: 0 0 44px; width: 44px; appearance: none; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--hr-line); border-radius: var(--hr-radius); background: var(--hr-card); color: inherit; padding: 8px 0; font: 600 13px/1.3 var(--sans); cursor: pointer; }
.vision-pages button[aria-current="true"] { color: var(--hr-accent); border-color: var(--hr-accent); box-shadow: inset 0 -2px var(--hr-accent); }
.vision-controls button:hover { border-color: var(--hr-accent); }
.vision-controls button:focus-visible { outline: 3px solid var(--hr-accent); outline-offset: 4px; }
@media(max-width:900px) { .vision-slide { grid-template-columns: 1fr; } .vision-copy { min-height: 240px; } .vision-photo img { height: auto; aspect-ratio: 900/506; } }
@media(max-width:520px) { .vision-controls { gap: 12px; } .vision-pages { justify-content: center; } .vision-copy { padding: 24px; min-height: 260px; } }




.vd-careers .career-jobs { --hr-accent: var(--d-g1); --hr-ink: var(--d-ink); --hr-muted: rgba(255,255,255,.65); --hr-line: var(--d-line); --hr-card: var(--d-glass); --hr-radius: 16px; }
.career-jobs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-top: 24px; }
.career-role { display: flex; flex-direction: column; gap: 14px; min-width: 0; min-height: 180px; padding: 24px; border: 1px solid var(--hr-line); border-radius: var(--hr-radius); background: var(--hr-card); color: var(--hr-ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.career-role:hover { border-color: var(--hr-accent); transform: translateY(-3px); }
.career-role:focus-visible { outline: 3px solid var(--hr-accent); outline-offset: 4px; }
.career-role-en { min-height: 38px; color: var(--hr-muted); font: 500 13px/1.5 var(--sans); }
.career-role h3 { margin: 0; font-size: 21px; line-height: 1.5; overflow-wrap: break-word; }
.career-role-link { display: block; margin-top: auto; color: var(--hr-accent); font-size: 14px; font-weight: 600; }
html[lang="en"] .career-role-en { display: none; }
@media(max-width:1100px) { .career-jobs { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .career-jobs { grid-template-columns: 1fr; } .career-role { min-height: 160px; } }


/* Compact one-line role names; the name itself retains the recruitment link. */
.career-role { min-height: 76px; padding: 20px; justify-content: center; gap: 0; }
.career-role h3 { font-size: clamp(14px,1.25vw,18px); line-height: 1.5; white-space: nowrap; }
html[lang="en"] .career-role h3 { font-size: clamp(14px,1.18vw,17px); }
@media(max-width:600px) { .career-role { min-height: 72px; } .career-role h3 { font-size: 18px; } }
/* Turnstile：桌機在送出按鈕旁、按鈕靠右；手機在按鈕上方，區塊固定 70px 高 */
form[data-form] .row .cf-turnstile { flex: 0 0 auto; }
form[data-form] .row .cf-turnstile:empty { display: none; }
form[data-form] .row [type="submit"] { margin-left: auto; }
form[data-form] .row .form-note { flex-basis: 100%; text-align: right; }
form[data-form] .row .form-note:empty { min-height: 0; }
/* 送出中：按鈕停用樣式，並取消各版 hover 效果 */
form[data-form] [type="submit"]:disabled { opacity: .5; cursor: not-allowed; }
form[data-form] [type="submit"]:disabled:hover { transform: none; box-shadow: none; }
form[data-form] [type="submit"]:disabled:hover .vd-arrow { transform: none; }
.va-form .va-btn:disabled:hover { background: var(--a-blue); }
.vc-form .vc-btn:disabled:hover { background: var(--c-ink); }
.ve-form .ve-btn:disabled:hover { background: var(--e-accent); color: var(--e-bg); }
@media (max-width: 560px) {
  form[data-form] .row { flex-direction: column; align-items: flex-start; }
  form[data-form] .row [type="submit"] { margin-left: 0; }
  form[data-form] .row .form-note { text-align: left; }
  form[data-form] .row .cf-turnstile, form[data-form] .row .cf-turnstile:empty { display: block; height: 70px; }
}
