/* =========================================================
   PowerSAC — site stylesheet
   Palette: deep navy / silicon cyan / signal amber
   ========================================================= */

:root {
  --ink: #071527;
  --ink-2: #0B1E35;
  --ink-3: #122C49;
  --cyan: #17B9CF;
  --cyan-2: #38D6E6;
  --cyan-soft: rgba(23, 185, 207, 0.1);
  --amber: #E2A03F;
  --brand: #F0602A;      /* Logo 主橙 */
  --brand-2: #F7941D;    /* Logo 淺橙 */
  --brand-soft: rgba(240, 96, 42, 0.07);
  --text: #12283D;
  --muted: #5C7186;
  --line: rgba(10, 30, 52, 0.12);
  --line-soft: rgba(10, 30, 52, 0.07);
  --paper: #F5F8FB;
  --white: #fff;
  --max: 1240px;
  --font: "DM Sans", "Noto Sans TC", "Noto Sans SC", "PingFang HK", "Hiragino Sans GB", "Microsoft JhengHei", system-ui, -apple-system, sans-serif;
  --font-display: "Space Grotesk", "Noto Sans TC", "Noto Sans SC", "PingFang HK", "Microsoft JhengHei", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.7, 0.25, 1);
}

* { box-sizing: border-box; }

/* --------------------------------------------------------- 字體（2026-11 v2.1.0）*/
/* 改用 hkgai.org 同款組合，經 Google Fonts 載入（functions.php enqueue）：
   Space Grotesk（標題拉丁）+ DM Sans（正文拉丁）+ JetBrains Mono（等寬標籤）
   + Noto Sans TC/SC（中文；SC 供簡體版缺字回退）。原本自載的 Muli 已移除。*/

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; font-family: var(--font-display); }
p { margin: 0 0 1em; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: 0.01em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  background: var(--cyan); color: #04121f; padding: 10px 18px; border-radius: 4px;
  font-size: 14px; transition: top 0.25s var(--ease);
}
.skip:focus { top: 16px; }
.mono-label {
  display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.muted { color: var(--muted); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: #E7F1F7;
  --hbtn: clamp(40px, 2.9vw, 56px); /* zv_66：頂欄圓形/方按鈕統一流式尺寸 */
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease), -webkit-backdrop-filter 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  color: var(--ink);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: clamp(12px, 1vw, 18px); height: clamp(104px, 7.4vw, 140px); } /* zv_66：頂欄隨屏幕比例縮放 */

.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo-mark { width: 34px; height: 34px; color: var(--cyan-2); transition: color 0.3s; }
/* 後台上傳的標誌圖片：頁首用橫版完整標誌（含名稱），footer 用方形 mark */
.logo-img, .brand img, .brand-footer img {
  width: auto; max-width: 34px; height: 34px; max-height: 34px;
  object-fit: contain; display: block; flex: none;
}
.header-inner .brand img { height: clamp(60px, 4.2vw, 80px) !important; max-height: clamp(60px, 4.2vw, 80px) !important; max-width: clamp(260px, 19vw, 380px) !important; } /* zv_66 */
/* 頁腳用橫版完整標誌（與頁首同一個 logo），高度對齊頁首觀感 */
.brand-footer img {
  width: auto !important; height: 44px !important; max-width: 230px !important;
  max-height: 44px; object-fit: contain;
}
.is-scrolled .logo-mark { color: var(--cyan); }
.brand-text { display: flex; flex-direction: column; line-height: 1.22; gap: 2px; }
.brand-text strong { font-size: 19px; letter-spacing: 0.06em; font-weight: 700; }
.brand-text span { font-size: 12.5px; letter-spacing: 0.03em; opacity: 0.68; }

.nav { margin-left: auto; }
/* 「聯絡我們」桌面由右側橙色按鈕代表，這一項只在手機抽屜出現，避免同名入口重複 */
.nav > ul > li.nav-m-only { display: none; }
.nav > ul { display: flex; align-items: center; gap: 2px; }
.nav > ul > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px; font-size: 14px; border-radius: 3px; white-space: nowrap;
  opacity: 0.86; transition: opacity 0.2s, background 0.2s;
}
.nav > ul > li > a:hover { opacity: 1; background: rgba(127, 200, 220, 0.12); }
.nav > ul > li.is-active > a { opacity: 1; }
.nav > ul > li.is-active > a::after {
  content: ""; position: absolute; inset: auto 12px -1px; height: 2px; background: var(--cyan-2);
}
.nav > ul > li { position: relative; }
.caret {
  width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: 0.6;
}
.submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 264px;
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  border-radius: 4px; padding: 8px; box-shadow: 0 18px 44px rgba(6, 22, 40, 0.14);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.22s var(--ease);
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu li a { display: block; padding: 9px 12px; font-size: 13px; border-radius: 3px; line-height: 1.4; }
.submenu li a:hover { background: var(--paper); color: var(--cyan); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
/* 導覽（資訊）與工具（語言／行動按鈕）之間的分隔 */
.head-divider { width: 1px; height: 18px; background: rgba(255, 255, 255, 0.18); flex: 0 0 auto; }
.is-scrolled .head-divider { background: var(--line); }
/* 語言下拉選單：單一按鈕，點擊展開 */
.lang-menu { position: relative; }
.lang-menu summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  height: var(--hbtn); padding: 0 clamp(12px, 0.9vw, 17px);
  font-family: var(--mono); font-size: clamp(13px, 0.95vw, 18px); letter-spacing: 0.1em;
  border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 3px;
  color: inherit; opacity: 0.9;
  transition: opacity 0.2s, background 0.2s, border-color 0.2s;
}
/* 捲動後底色轉白，邊框需同步轉深，否則白框落在白底上等於消失 */
.is-scrolled .lang-menu summary { border-color: rgba(10, 30, 52, 0.18); }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { opacity: 1; background: rgba(127, 200, 220, 0.12); }
.lang-menu[open] summary { opacity: 1; background: rgba(127, 200, 220, 0.16); border-color: rgba(127, 200, 220, 0.6); }
.lang-caret { transition: transform 0.2s; }
.lang-menu[open] .lang-caret { transform: rotate(180deg); }
.lang-panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 132px; padding: 6px;
  background: #fff; border: 1px solid rgba(10, 35, 64, 0.12); border-radius: 4px;
  box-shadow: 0 10px 28px rgba(7, 25, 47, 0.18);
}
.lang-item {
  display: block; padding: 8px 12px; font-size: 13px; color: var(--ink);
  border-radius: 3px; line-height: 1.4; white-space: nowrap;
}
.lang-item:hover { background: var(--cyan-soft); color: var(--cyan); }
.lang-item.is-active { font-weight: 700; color: var(--cyan); }
.lang-item.is-active::after { content: "✓"; float: right; font-size: 11px; }

.nav-toggle {
  display: none; width: var(--hbtn); height: var(--hbtn); border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent; border-radius: 3px; position: relative; cursor: pointer;
}
.is-scrolled .nav-toggle { border-color: var(--line); }
/* zv_70：兩橫線在按鈕內絕對居中（此前百分比定位偏上偏左） */
.nav-toggle span:not(.sr-only) {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 42%; height: 1.5px; background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: calc(50% - 5.5px); }
.nav-toggle span:nth-child(2) { top: calc(50% + 4px); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateX(-50%) translateY(calc(var(--hbtn) * 0.09)) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { transform: translateX(-50%) translateY(calc(var(--hbtn) * -0.09)) rotate(-45deg); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; font-size: 14px; font-weight: 500; border-radius: 2px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s, border-color 0.25s, transform 0.25s;
}
.btn svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--cyan); color: #04141E; }
.btn-primary:hover { background: var(--cyan-2); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.32); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.55); }
.btn-outline { border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(23, 185, 207, 0.05); }
.is-scrolled .btn-outline { border-color: var(--line); color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: 13px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--cyan);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color 0.2s, gap 0.2s;
}
.link-arrow svg { width: 14px; height: 14px; }
.link-arrow:hover { border-color: currentColor; gap: 12px; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; background: var(--ink); color: #E8F2F8;
  padding-top: 78px; overflow: hidden;
  min-height: 100vh; min-height: min(900px, 100svh); display: flex; flex-direction: column; justify-content: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 70% at 78% 38%, rgba(23, 185, 207, 0.16), transparent 62%),
    radial-gradient(60% 50% at 12% 92%, rgba(226, 160, 63, 0.07), transparent 70%),
    linear-gradient(180deg, #061323 0%, #071527 62%, #08192B 100%);
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120, 180, 214, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 180, 214, 0.055) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(75% 75% at 60% 45%, #000 30%, transparent 100%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(24px, 4vw, 56px); align-items: center; width: 100%;
  padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px);
}
.eyebrow {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan-2); margin: 0 0 22px; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 74px); line-height: 1.06; font-weight: 600;
  letter-spacing: -0.025em; margin-bottom: 26px; color: #fff;
}
.hero-lede { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.85; color: rgba(214, 232, 242, 0.74); max-width: 54ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero-meta { display: flex; gap: clamp(26px, 4.2vw, 60px); border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 24px; }
.hero-meta strong { display: block; font-family: var(--mono); font-size: clamp(20px, 2vw, 26px); letter-spacing: 0.03em; color: #fff; font-weight: 500; line-height: 1.1; }
.hero-meta .mono-label { margin-bottom: 7px; color: rgba(190, 218, 234, 0.55); font-size: 10.5px; }

.hero-visual { position: relative; }
.hero-art { width: 100%; height: auto; filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.45)); }
.scan-band { animation: scan 7s linear infinite; }
@keyframes scan { 0% { transform: translateY(0); } 100% { transform: translateY(560px); } }
.orbit { transform-origin: 310px 300px; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pkg { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translate(392px, 336px); } 50% { transform: translate(392px, 326px); } }

.hero-foot {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(190, 218, 234, 0.45);
}
.scroll-line { width: 46px; height: 1px; background: rgba(190, 218, 234, 0.3); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 14px; background: var(--cyan-2);
  animation: slide 2.4s var(--ease) infinite;
}
@keyframes slide { 0% { transform: translateX(-16px); } 100% { transform: translateX(48px); } }

/* ----------------------------------------------------------------- stats */
/* 首頁主視覺下方的數據帶（2026 / 04 / 09）：晶片電路風格，
   深藍底延續 hero，電路走線 + 節點呼應 logo，底部以品牌簽名線收邊 */
/* --------------------------------------------------------------- section */
.section { padding: clamp(52px, 6vw, 84px) 0; position: relative; }
/* 相鄰區塊：下一位的上間距收緊（避免上下 padding 疊加顯得過寬） */
.section + .section { padding-top: clamp(36px, 4.5vw, 60px); }
/* 主視覺（含數據）正下方的區塊：上間距適當收緊 */
.hero + .section { padding-top: clamp(40px, 4.6vw, 64px); }
.section-head { max-width: 820px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.section-index {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--cyan); border: 1px solid rgba(23, 185, 207, 0.4); padding: 1px 6px; border-radius: 2px;
}
.section-kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.section-title { font-size: clamp(27px, 3.2vw, 42px); line-height: 1.22; color: var(--ink); }
.section-lede { margin-top: 18px; font-size: 16px; color: var(--muted); max-width: 62ch; line-height: 1.85; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 38px); }
.section-head-row .section-head { margin-bottom: 0; }

.section-dark { background: var(--ink); color: #DCEAF2; }
.section-dark .section-title { color: #fff; }
.section-dark .section-lede { color: rgba(210, 231, 242, 0.66); }
.section-dark .section-kicker { color: rgba(190, 218, 234, 0.6); }

/* ----------------------------------------------------------------- intro */
.intro-grid { display: grid; grid-template-columns: 1.18fr 0.82fr; gap: clamp(36px, 5vw, 76px); align-items: start; }
.prose p { font-size: 16px; line-height: 1.92; color: #2B4257; }
.prose p:last-child { margin-bottom: 0; }
.tick-list { margin: 28px 0 30px; display: grid; gap: 10px; }
.tick-list li { position: relative; padding-left: 24px; font-size: 14.5px; color: #33495E; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 5px;
  border-left: 1.5px solid var(--cyan); border-bottom: 1.5px solid var(--cyan); transform: rotate(-45deg);
}
.fact-card {
  position: sticky; top: 104px; border: 1px solid var(--line); background: linear-gradient(180deg, #FBFDFE, #F3F8FB);
  padding: 26px 26px 18px; border-radius: 3px;
}
.fact-card::before, .fact-card::after {
  content: ""; position: absolute; width: 10px; height: 10px; border: 1px solid var(--cyan);
}
.fact-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.fact-card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.fact-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.fact-row dt { font-size: 13px; color: var(--muted); }
.fact-row dd { margin: 0; font-size: 13.5px; font-weight: 500; color: var(--ink); text-align: right; }
.fact-art { margin: 10px -26px -18px; padding: 0 10px; opacity: 0.9; }

/* ---------------------------------------------------------------- pillars */
/* 研究領域卡：2×2 寬欄佈局，內容攤平不再窄長 */
.pillar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.1); }
.pillar-grid--big { grid-template-columns: repeat(2, 1fr); background: var(--line); border-color: var(--line); gap: 1px; }
.pillar-card {
  position: relative; display: flex; flex-direction: column;
  background: #08192B; padding: 30px clamp(26px, 3vw, 42px) 26px;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}
.pillar-card:hover { background: #0C2340; }
.pillar-card:hover .pillar-icon { color: var(--cyan-2); border-color: rgba(56, 214, 230, 0.5); }
.pillar-card:hover .card-link svg { transform: translateX(4px); }
.pillar-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.pillar-no { font-family: var(--mono); font-size: 22px; color: rgba(120, 190, 210, 0.45); letter-spacing: 0.04em; }
.pillar-icon {
  width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 50%;
  display: grid; place-items: center; color: rgba(160, 210, 226, 0.7); transition: all 0.35s;
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar-card h3 { font-size: 19px; line-height: 1.4; color: #fff; margin-bottom: 12px; }
.pillar-card p { font-size: 13.5px; line-height: 1.8; color: rgba(201, 224, 236, 0.62); margin-bottom: 20px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.tag-list li {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.05em; padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.14); color: rgba(190, 220, 234, 0.7); border-radius: 2px;
}
.card-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--cyan-2); letter-spacing: 0.02em;
}
.card-link svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }

.pillar-grid--big .pillar-card { background: #fff; min-height: 0; padding: clamp(26px, 3vw, 40px); }
.pillar-grid--big .pillar-card:hover { background: #FBFDFE; }
.pillar-grid--big .pillar-no { color: rgba(23, 185, 207, 0.65); font-size: 26px; }
.pillar-grid--big .pillar-icon { border-color: var(--line); color: var(--cyan); }
.pillar-grid--big .pillar-icon svg { width: 24px; height: 24px; }
.pillar-grid--big .pillar-card h3 { color: var(--ink); font-size: 22px; }
.pillar-grid--big .pillar-card p { color: var(--muted); font-size: 14.5px; }
.pillar-grid--big .tag-list li { border-color: var(--line); color: var(--muted); }

/* ----------------------------------------------------------------- chain */
.chain {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  margin-top: clamp(44px, 5vw, 68px); border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.chain-step { position: relative; padding: 22px 18px 0 0; }
.chain-step::before {
  content: ""; position: absolute; top: -3px; left: 0; width: 5px; height: 5px; background: var(--cyan-2); border-radius: 50%;
}
.chain-no { display: block; font-family: var(--mono); font-size: 10px; color: rgba(120, 190, 210, 0.55); margin-bottom: 8px; }
.chain-step strong { display: block; font-size: 14.5px; color: #fff; margin-bottom: 4px; font-weight: 500; }
.chain-step span:last-child { font-size: 12px; line-height: 1.6; color: rgba(201, 224, 236, 0.55); display: block; }
.section-chain .chain { border-top-color: rgba(255, 255, 255, 0.16); }

/* ----------------------------------------------------------------- focus */
/* 應用場景：編號移到左側，橫向扁平佈局 */
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.6vw, 22px); }
.focus-item {
  display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; align-content: start;
  border-top: 1px solid var(--line); padding-top: 20px;
}
.focus-no { grid-column: 1; grid-row: 1 / span 2; font-family: var(--mono); font-size: 13px; color: var(--brand); letter-spacing: 0.1em; padding-top: 5px; }
.focus-item h3 { grid-column: 2; font-size: 20px; margin: 0 0 10px; color: var(--ink); }
.focus-item p { grid-column: 2; font-size: 14.5px; line-height: 1.85; color: var(--muted); margin: 0; }

/* ------------------------------------------------------------------ news */
.section-news { background: var(--paper); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.6vw, 34px); }
.news-grid--two { grid-template-columns: repeat(2, 1fr); }
.news-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(9, 30, 52, 0.1); border-color: rgba(23, 185, 207, 0.35); }
.news-card:hover .news-thumb::after { transform: scaleX(1); }
.news-thumb {
  position: relative; aspect-ratio: 16 / 8.4; overflow: hidden;
  background:
    radial-gradient(80% 100% at 20% 10%, rgba(23, 185, 207, 0.22), transparent 60%),
    linear-gradient(135deg, #0A1D31 0%, #102943 55%, #0B2036 100%);
}
.news-card:nth-child(2) .news-thumb { background: radial-gradient(80% 100% at 80% 10%, rgba(226, 160, 63, 0.18), transparent 60%), linear-gradient(135deg, #0A1D31 0%, #12243B 55%, #0B2036 100%); }
.news-card:nth-child(3) .news-thumb { background: radial-gradient(80% 100% at 30% 90%, rgba(23, 185, 207, 0.18), transparent 60%), linear-gradient(135deg, #0B1B2D 0%, #0F2C46 55%, #0A1E33 100%); }
.news-card:nth-child(4) .news-thumb { background: radial-gradient(80% 100% at 70% 20%, rgba(120, 180, 214, 0.18), transparent 60%), linear-gradient(135deg, #0A1D31 0%, #142F4C 55%, #0B2036 100%); }
.thumb-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120, 190, 214, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 190, 214, 0.1) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 95%);
}
.news-thumb .thumb-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.news-thumb.has-img .thumb-grid { display: none; }
.news-card:hover .thumb-img { transform: scale(1.04); }
.article-figure { margin: 0 0 28px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.article-figure img { display: block; width: 100%; height: auto; }
.news-thumb::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cyan);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.thumb-label {
  position: absolute; left: 20px; bottom: 18px; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(200, 232, 244, 0.75);
  border-left: 2px solid var(--cyan); padding-left: 8px;
}
.news-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 10px; }
.news-body h3 { font-size: 18px; line-height: 1.5; color: var(--ink); margin-bottom: 10px; }
.news-body p { font-size: 13.5px; line-height: 1.8; color: var(--muted); margin-bottom: 18px; }
.news-body .card-link { color: var(--cyan); font-size: 12.5px; margin-top: auto; }

/* ----------------------------------------------------------------- event */
.section-events { background: #fff; }
.event-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.event-list--full { border-top: 0; }
.event-card {
  display: grid; grid-template-columns: 150px 1fr; gap: clamp(20px, 3vw, 40px);
  padding: 28px 0; border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.event-list--full .event-card { border-top: 1px solid var(--line); border-bottom: 0; }
.event-card:hover { background: rgba(23, 185, 207, 0.03); }
.event-date { display: flex; flex-direction: column; gap: 2px; }
.event-day { font-family: var(--mono); font-size: 42px; line-height: 1; color: var(--ink); font-weight: 500; }
.event-my { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.event-tags { display: flex; gap: 8px; margin-bottom: 10px; }
.chip {
  font-size: 10.5px; font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--line); padding: 2px 8px; border-radius: 2px; color: var(--muted);
}
.chip--live { border-color: rgba(23, 185, 207, 0.5); color: var(--cyan); background: rgba(23, 185, 207, 0.06); }
.event-main h3 { font-size: 20px; margin-bottom: 8px; color: var(--ink); }
.event-main p { font-size: 14px; line-height: 1.8; color: var(--muted); margin-bottom: 12px; max-width: 70ch; }
.event-info { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: 0.03em; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.is-past .event-day { color: #9FB0C0; }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.event-grid .event-card { grid-template-columns: 1fr; gap: 14px; padding: 28px; background: #fff; border: 0; }
.event-grid .event-date { flex-direction: row; align-items: baseline; gap: 10px; }
.event-grid .event-day { font-size: 30px; }
.event-grid .event-main h3 { font-size: 17px; }

/* --- 關於我們：人物領航卡 --- */
.section-leadership { background: var(--paper); }
.leader-list { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.leader-card {
  display: grid; grid-template-columns: clamp(220px, 24vw, 300px) 1fr; gap: clamp(24px, 3vw, 44px);
  background: #fff; border: 1px solid var(--line); padding: clamp(20px, 2.6vw, 36px);
  position: relative;
}
.leader-card::before {
  content: ""; position: absolute; left: -1px; top: -1px; width: 34px; height: 34px;
  border-left: 2px solid var(--brand); border-top: 2px solid var(--brand);
}
.leader-photo { align-self: start; }
.leader-photo img {
  display: block; width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: center top;
  border: 1px solid var(--line);
}
.leader-mono {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 5 / 6;
  background: var(--ink); color: #fff; font-family: var(--mono); font-size: 64px;
}
.leader-role {
  display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--brand-ink); background: var(--brand-soft); padding: 3px 10px; border-radius: 2px;
  margin-bottom: 14px;
}
.leader-name { font-size: clamp(24px, 2.6vw, 32px); font-weight: 650; letter-spacing: 0.01em; }
.leader-name .leader-en { font-size: 0.55em; font-weight: 500; color: var(--muted); margin-left: 10px; letter-spacing: 0.02em; }
.leader-title { margin-top: 8px; font-size: 14.5px; color: var(--ink); font-weight: 500; }
.leader-honor { margin-top: 4px; font-size: 13px; color: var(--brand-ink); font-weight: 500; }
.leader-lede {
  margin-top: 16px; font-size: 15.5px; line-height: 1.75; color: var(--ink);
  padding-left: 14px; border-left: 2px solid var(--brand);
}
.leader-bio { margin-top: 14px; }
.leader-bio p { font-size: 13.5px; line-height: 1.85; color: var(--muted); }
.leader-bio p + p { margin-top: 8px; }
.leader-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.leader-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--cyan-ink, #0A6C7E);
  border: 1px solid rgba(23, 185, 207, 0.35); padding: 3px 9px; border-radius: 2px;
}
.leader-link { margin-top: 16px; }
@media (max-width: 760px) {
  .leader-card { grid-template-columns: 1fr; }
  .leader-photo img, .leader-mono { max-width: 260px; }
}

/* -------------------------------------------------------------- partners */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partner {
  display: flex; align-items: center; gap: 14px; padding: 22px 20px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.partner:hover { background: var(--paper); }
.partner-mark {
  width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.03em; color: var(--cyan);
  background: rgba(23, 185, 207, 0.08); border: 1px solid rgba(23, 185, 207, 0.2);
}
.partner[data-kind="lead"] .partner-mark { background: var(--ink); color: #fff; border-color: var(--ink); }
.partner-name { font-size: 13.5px; line-height: 1.5; color: #2B4257; }
.partner-logo { height: 26px; width: auto; max-width: 92px; object-fit: contain; flex: 0 0 auto; }
.partners--compact { grid-template-columns: repeat(3, 1fr); }

/* --- 首頁夥伴滑動牆（暗色科幻風） --- */
.pm-section {
  position: relative; overflow: hidden;
  background: var(--ink); color: #DCEAF2; padding: clamp(64px, 7vw, 104px) 0;
}
.pm-sky {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(126, 224, 255, 0.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 32% 68%, rgba(126, 224, 255, 0.26) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 55% 15%, rgba(255, 255, 255, 0.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 71% 55%, rgba(126, 224, 255, 0.32) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 86% 30%, rgba(255, 255, 255, 0.22) 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 74%, rgba(126, 224, 255, 0.26) 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 80%, rgba(255, 255, 255, 0.2) 50%, transparent 51%),
    radial-gradient(620px 240px at 50% 0%, rgba(23, 185, 207, 0.1), transparent 70%),
    radial-gradient(520px 260px at 88% 100%, rgba(240, 96, 42, 0.06), transparent 70%);
}
.pm-section::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 224, 255, 0.22), transparent);
}
.pm-head { position: relative; text-align: center; margin-bottom: clamp(30px, 3.4vw, 46px); }
.pm-kicker {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  font-size: clamp(22px, 2.5vw, 32px); font-weight: 700; letter-spacing: 0.1em;
  color: #fff; line-height: 1.3;
}
.pm-kicker::before, .pm-kicker::after {
  content: ""; width: clamp(22px, 3vw, 44px); height: 1px; flex: 0 0 auto;
  background: linear-gradient(90deg, transparent, rgba(126, 224, 255, 0.55));
}
.pm-kicker::after { background: linear-gradient(90deg, rgba(126, 224, 255, 0.55), transparent); }
.pm-lede {
  max-width: 660px; margin: 16px auto 0;
  font-size: clamp(13.5px, 1.1vw, 15px); line-height: 1.9; color: rgba(190, 218, 234, 0.72);
}
.pm-rows { position: relative; display: grid; gap: 18px; }
.pm-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.pm-track {
  display: flex; gap: 18px; width: max-content;
  animation: pm-scroll 40s linear infinite;
}
.pm-row:hover .pm-track, .pm-track:focus-within { animation-play-state: paused; }
@keyframes pm-scroll { to { transform: translateX(calc(-50% - 9px)); } }
@media (prefers-reduced-motion: reduce) { .pm-track { animation: none; } }
.pm-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  width: clamp(190px, 21vw, 240px); min-height: 112px;
  background: #fff; border-radius: 14px; padding: 18px 20px 15px;
  box-shadow: 0 6px 20px rgba(2, 12, 24, 0.28);
  border: 1px solid rgba(126, 224, 255, 0.14);
  transition: transform 0.3s, box-shadow 0.3s;
}
.pm-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(2, 12, 24, 0.5); }
.pm-logo {
  display: block; height: 36px; width: auto; max-width: 100%; object-fit: contain;
  filter: none; opacity: 0.96; transition: opacity 0.3s;
}
.pm-card:hover .pm-logo { opacity: 1; }
.pm-mark {
  width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.03em;
  color: var(--cyan); background: rgba(23, 185, 207, 0.08); border: 1px solid rgba(23, 185, 207, 0.22);
}
.pm-card[data-kind="lead"] .pm-mark {
  color: #fff; background: var(--brand-grad); border: none;
}
.pm-name {
  font-size: 12px; line-height: 1.5; color: #4C6579; font-weight: 500; text-align: center;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 640px) {
  .pm-card { width: 168px; min-height: 100px; gap: 9px; padding: 14px 14px 11px; }
  .pm-logo { height: 30px; }
  .pm-name { font-size: 11px; }
  .pm-kicker { gap: 10px; }
  .pm-kicker::before, .pm-kicker::after { width: 18px; }
}

/* --- 關於我們頁（暗色科幻） --- */
.section-team { position: relative; overflow: hidden; }
/* 關於我們頁（v2.2.0）：hero 底色直接收在 --ink，與下方團隊區塊無縫相接，
   消除「上下兩塊」的斷裂感；網格紋理淡化並拉長淡出距離。 */
.page-hero--team .page-hero-bg { background: linear-gradient(180deg, #061323, var(--ink)); }
.page-hero--team .page-hero-bg::before { background-size: 56px 56px; }
.section-dark.section-team { background: var(--ink); }
.section-team .team-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background:
    linear-gradient(rgba(126, 224, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 224, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 120% 100% at 50% 0%, #000 40%, transparent 92%);
  mask-image: radial-gradient(ellipse 120% 100% at 50% 0%, #000 40%, transparent 92%);
}
.leader-card--dark {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(126, 224, 255, 0.14);
  box-shadow: none;
}
.leader-card--dark::before { background: var(--brand-grad); }
.leader-card--dark .leader-name { color: #fff; }
.leader-card--dark .leader-name .leader-en { color: rgba(190, 218, 234, 0.6); }
.leader-card--dark .leader-title { color: rgba(220, 234, 242, 0.85); }
.leader-card--dark .leader-role { color: rgba(190, 218, 234, 0.55); }
.leader-card--dark .leader-bio p { color: rgba(210, 231, 242, 0.62); }
.leader-card--dark .leader-tag {
  background: rgba(23, 185, 207, 0.1); border-color: rgba(126, 224, 255, 0.25); color: #9FE8F5;
}
.leader-card--dark .leader-lede { color: #CFE9F2; }
.leader-card--dark .leader-mono { background: rgba(23, 185, 207, 0.1); color: #9FE8F5; border-color: rgba(126, 224, 255, 0.25); }

/* -------------------------------------------------------------- cta band */
.cta-band { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0; }
.cta-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 120% at 82% 20%, rgba(23, 185, 207, 0.22), transparent 60%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 88px 88px;
}
.cta-inner { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(24px, 2.8vw, 36px); line-height: 1.3; max-width: 22ch; margin-bottom: 12px; }
.cta-inner p { color: rgba(210, 231, 242, 0.66); max-width: 46ch; margin: 0; font-size: 14.5px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: #05111F; color: rgba(206, 228, 240, 0.72); padding: clamp(48px, 6vw, 80px) 0 0; font-size: 13.5px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 0.85fr 1fr; gap: clamp(24px, 4vw, 56px); padding-bottom: 48px; }
.brand-footer { color: var(--cyan-2); margin-bottom: 16px; }
.brand-footer .brand-text strong { color: #fff; font-size: 18px; }
.footer-name { color: #fff; font-size: 13.5px; line-height: 1.6; margin-bottom: 6px; max-width: 30ch; }
.footer-parent { color: rgba(190, 218, 234, 0.45); font-size: 12px; margin-bottom: 22px; }
.footer-contact { display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; }
.footer-contact svg { width: 14px; height: 14px; margin-top: 4px; flex: 0 0 auto; color: var(--cyan); opacity: 0.8; }
.footer-col h3 {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(190, 218, 234, 0.5); font-weight: 400; margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { transition: color 0.2s; }
.footer-col a:hover { color: var(--cyan-2); }
.footer-media .muted { font-size: 12px; color: rgba(190, 218, 234, 0.4); margin-top: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 22px 0 26px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 11.5px; color: rgba(190, 218, 234, 0.4);
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a:hover { color: var(--cyan-2); }

/* -------------------------------------------------------------- page hero */
.page-hero { position: relative; background: var(--ink); color: #E8F2F8; padding: 148px 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 90% at 88% 0%, rgba(23, 185, 207, 0.16), transparent 62%),
    linear-gradient(180deg, #061323, #08192B);
}
.page-hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120, 180, 214, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 180, 214, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(30px, 4.2vw, 54px); line-height: 1.16; color: #fff; max-width: 22ch; }
.page-lede { margin-top: 22px; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.85; color: rgba(210, 231, 242, 0.7); max-width: 62ch; }
.breadcrumb { margin-bottom: 34px; }
.breadcrumb ul { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: rgba(190, 218, 234, 0.5); }
.breadcrumb a:hover { color: var(--cyan-2); }
.breadcrumb .sep { opacity: 0.35; }
.breadcrumb [aria-current] { color: rgba(226, 244, 250, 0.85); }

/* -------------------------------------------------------------- about page */
.about-grid { display: grid; grid-template-columns: 200px 1fr; gap: clamp(28px, 3.5vw, 48px); align-items: start; }
.side-nav { position: sticky; top: 104px; border-left: 1px solid var(--line); }
.side-nav a {
  display: block; padding: 10px 0 10px 18px; font-size: 13.5px; color: var(--muted);
  border-left: 2px solid transparent; margin-left: -1px; transition: all 0.25s;
}
.side-nav a:hover, .side-nav a.is-active { color: var(--ink); border-left-color: var(--cyan); }
.about-block { padding-bottom: clamp(48px, 6vw, 80px); margin-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line-soft); }
.about-block:last-child { border-bottom: 0; margin-bottom: 0; }
.about-block .section-head { margin-bottom: 28px; }
.about-block .section-title { font-size: clamp(24px, 2.6vw, 34px); }
.mini-stats { display: flex; gap: 48px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.mini-stats strong { display: block; font-family: var(--mono); font-size: 28px; color: var(--ink); font-weight: 500; }
.mini-stats span { font-size: 12.5px; color: var(--muted); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.vm-card { border: 1px solid var(--line); padding: 28px; background: linear-gradient(180deg, #FBFDFE, #F4F9FC); }
.vm-card p { font-size: 15px; line-height: 1.9; color: #2B4257; margin: 0; }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value-item { background: #fff; padding: 22px 24px; }
.value-item h3 { font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.value-item p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.75; }

.director { display: grid; grid-template-columns: 96px 1fr; gap: 28px; margin: 34px 0 0; padding: 30px; background: var(--ink); color: #DCEAF2; }
.director-avatar {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #123A5C, #0A1E33); border: 1px solid rgba(56, 214, 230, 0.3);
  font-size: 32px; color: rgba(200, 235, 245, 0.8);
}
.director .mono-label { color: rgba(190, 218, 234, 0.55); }
.director h3 { font-size: 20px; color: #fff; margin-bottom: 4px; }
.director-title { font-size: 13px; color: rgba(200, 226, 238, 0.6); margin-bottom: 14px; }
.director blockquote { margin: 0; font-size: 14px; line-height: 1.9; color: rgba(220, 238, 246, 0.82); border-left: 2px solid var(--cyan); padding-left: 16px; }

.timeline { position: relative; padding-left: 4px; }
.timeline li { display: grid; grid-template-columns: 90px 20px 1fr; align-items: start; gap: 14px; padding: 14px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 101px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.tl-year { font-family: var(--mono); font-size: 12px; color: var(--cyan); padding-top: 2px; letter-spacing: 0.04em; }
.tl-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; border: 1.5px solid var(--cyan); margin-top: 7px; position: relative; z-index: 1; }
.tl-text { font-size: 14.5px; color: #2B4257; }

/* ------------------------------------------------------------------- rp */
.rp-hero-grid { display: grid; grid-template-columns: 1fr 200px; gap: 40px; align-items: start; }
.rp-hero-icon { color: rgba(56, 214, 230, 0.55); }
.rp-hero-icon svg { width: 130px; height: 130px; margin-left: auto; }
.page-hero--rp .tag-list li { border-color: rgba(255, 255, 255, 0.16); color: rgba(200, 228, 240, 0.7); }
.rp-grid { display: grid; grid-template-columns: 1fr 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.rp-main { display: grid; gap: clamp(40px, 5vw, 64px); }
.rp-block { border-top: 1px solid var(--line); padding-top: 28px; }
.rp-block:first-child { border-top: 0; padding-top: 0; }
.rp-challenge { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.7; color: var(--ink); max-width: 40ch; margin: 0; }
.rp-h2 { font-size: 24px; margin-bottom: 24px; color: var(--ink); }
.focus-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; }
.focus-row { display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.focus-idx { font-family: var(--mono); font-size: 11px; color: var(--cyan); padding-top: 4px; }
.focus-row h3 { font-size: 15.5px; margin-bottom: 6px; color: var(--ink); }
.focus-row p { font-size: 13.5px; line-height: 1.8; color: var(--muted); margin: 0; }
.outcome-list { display: grid; gap: 12px; }
.outcome-list li { position: relative; padding-left: 26px; font-size: 14.5px; color: #2B4257; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.outcome-list li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 4px; border-left: 1.5px solid var(--cyan); border-bottom: 1.5px solid var(--cyan); transform: rotate(-45deg); }
.rp-side { display: grid; gap: 20px; position: sticky; top: 104px; }
.side-card { border: 1px solid var(--line); padding: 24px; background: #FBFDFE; }
.side-card p { font-size: 13.5px; line-height: 1.8; color: #2B4257; margin-bottom: 16px; }
.side-card p:last-child { margin-bottom: 0; }
.side-card--dark { background: var(--ink); border-color: var(--ink); color: #DCEAF2; }
.side-card--dark .mono-label { color: rgba(190, 218, 234, 0.5); }
.side-card--dark p { color: rgba(210, 231, 242, 0.72); }
/* v2.5.5：合作洽談卡回歸中性色——v2.5.3 的暖米漸變橙味過重（用戶回報）；
   底色與「合作夥伴」卡統一，僅以橙色 mono-label 做層次區分；按鈕改簡約描邊款 */
.side-card--cta { background: #FBFDFE; border-color: var(--line); }
.side-card--cta .mono-label { color: var(--brand); }
.side-card--cta p { color: #2B4257; }
.side-card--cta .btn { width: 100%; justify-content: center; letter-spacing: 0.08em; }
.side-card--cta .btn:hover { border-color: var(--brand); color: var(--brand); background: rgba(240, 96, 42, 0.04); }
.rp-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rp-nav-item { padding: 26px 0; display: grid; gap: 6px; transition: background 0.3s; }
.rp-nav-item + .rp-nav-item { border-left: 1px solid var(--line); padding-left: 32px; }
.rp-nav-item strong { font-size: 15px; font-weight: 500; color: var(--ink); }
.rp-nav-item:hover strong { color: var(--cyan); }
.rp-nav-item--next { text-align: right; }
.rp-nav-item .mono-label { margin-bottom: 0; }

/* ------------------------------------------------------------------ news */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter {
  padding: 6px 14px; font-size: 12.5px; border: 1px solid var(--line); background: transparent;
  border-radius: 2px; cursor: pointer; color: var(--muted); transition: all 0.25s;
}
.filter:hover { border-color: var(--cyan); color: var(--cyan); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.news-list { border-top: 1px solid var(--line); }
.news-row {
  display: grid; grid-template-columns: 150px 1fr 40px; gap: clamp(16px, 3vw, 40px);
  padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start;
  transition: background 0.25s, padding 0.25s;
}
.news-row:hover { background: rgba(23, 185, 207, 0.035); }
.news-row:hover .news-row-arrow { color: var(--cyan); transform: translateX(4px); }
.news-row-date { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.news-row-date time { font-family: var(--mono); font-size: 13px; color: var(--ink); letter-spacing: 0.04em; }
.news-row-main h3 { font-size: 19px; line-height: 1.5; margin-bottom: 8px; color: var(--ink); }
.news-row-main p { font-size: 13.5px; line-height: 1.8; color: var(--muted); margin: 0; max-width: 76ch; }
.news-row-arrow { color: #B9C7D3; transition: all 0.25s; display: flex; justify-content: flex-end; padding-top: 4px; }
.news-row-arrow svg { width: 18px; height: 18px; }
.empty-state { padding: 60px 0; text-align: center; color: var(--muted); font-size: 14px; }
.media-box {
  margin-top: 56px; padding: 32px; background: var(--paper); border: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.media-box h3 { font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.media-box p { font-size: 13.5px; color: var(--muted); margin: 0; max-width: 60ch; }

.article { padding-top: clamp(48px, 6vw, 80px); }
.article-grid { display: grid; grid-template-columns: 1fr 300px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.article-body { max-width: 720px; }
/* zv_1zy：正文一體化——正文開頭的摘要段（遷移自舊摘要欄）與內嵌圖片 */
.article-body p.article-lede {
  font-size: clamp(15px, 1.2vw, 17px); line-height: 1.85;
  color: var(--muted); max-width: 62ch; margin: 0 0 1.6em;
}
.article-body img { max-width: 100%; height: auto; border-radius: 6px; margin: 8px 0; }
.article-body figure { margin: 24px 0; }
.article-body figure img { width: 100%; }
.article-body p { font-size: 16.5px; line-height: 1.95; color: #2B4257; margin-bottom: 1.4em; }
.article-body h2 { font-size: 24px; margin: 48px 0 16px; color: var(--ink); }
.article-body ul { margin: 0 0 1.6em; display: grid; gap: 10px; }
.article-body ul li { position: relative; padding-left: 24px; font-size: 15.5px; line-height: 1.85; color: #2B4257; }
.article-body ul li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 6px; height: 6px; background: var(--cyan); opacity: 0.7; }
.article-body blockquote {
  margin: 36px 0; padding: 22px 26px; background: var(--paper); border-left: 2px solid var(--cyan);
  font-size: 16px; line-height: 1.9; color: #1D3549;
}
.source { margin-top: 36px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line-soft); padding-top: 18px; }
.source a { color: var(--cyan); border-bottom: 1px solid currentColor; }
.article-side { display: grid; gap: 24px; position: sticky; top: 104px; }
.section-more { background: var(--paper); border-top: 1px solid var(--line-soft); }
.page-hero--article h1 { font-size: clamp(26px, 3.4vw, 42px); max-width: 28ch; }

/* ---------------------------------------------------------------- events */
.section-past { background: var(--paper); border-top: 1px solid var(--line-soft); }

/* --------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.block-title { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 8px; color: var(--ink); }
.contact-form-wrap > .muted { font-size: 13.5px; margin-bottom: 28px; }
.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 12.5px; color: var(--muted); letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 2px;
  font-family: inherit; font-size: 16px; color: var(--ink); background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(23, 185, 207, 0.1);
}
.contact-form .btn { justify-self: start; margin-top: 6px; }
.form-consent { font-size: 11.5px; color: var(--muted); margin: -4px 0 0; line-height: 1.7; }
.form-error { color: #C0503F; font-size: 13px; margin: 0; }
.form-success {
  display: grid; gap: 6px; padding: 16px 18px; background: rgba(23, 185, 207, 0.07);
  border-left: 2px solid var(--cyan);
}
.form-success[hidden], .form-error[hidden] { display: none; }
.form-success p { margin: 0; font-size: 13.5px; line-height: 1.75; color: #2B4257; }
.form-success-title { font-weight: 600; color: var(--ink) !important; font-size: 14.5px !important; }
.form-success .link-arrow { margin-top: 4px; }
.contact-side { display: grid; gap: 26px; }
.contact-block { border-top: 1px solid var(--line); padding-top: 20px; }
.contact-list { display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.7; color: #2B4257; }
.contact-list svg { width: 15px; height: 15px; margin-top: 5px; flex: 0 0 auto; color: var(--cyan); }
.contact-block p { font-size: 14px; line-height: 1.8; color: #2B4257; }
.contact-block a { color: var(--cyan); }
.map-card { position: relative; display: block; border: 1px solid var(--line); overflow: hidden; }
.map-card svg { display: block; width: 100%; height: auto; transition: transform 0.6s var(--ease); }
.map-card:hover svg { transform: scale(1.04); }
.map-open {
  position: absolute; right: 12px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: 0.06em; padding: 5px 9px; border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(7, 21, 39, 0.6); color: #D6EEF6;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}
.map-open svg { width: 12px; height: 12px; }
.map-card:hover .map-open { background: var(--cyan); border-color: var(--cyan); color: #06202B; }
/* 地址可點擊 → Google 地圖定位 */
.addr-link { color: inherit; border-bottom: 1px dotted currentColor; transition: color 0.2s; }
.footer-contact .addr-link { border-bottom-color: rgba(190, 218, 234, 0.35); }
.footer-contact .addr-link:hover { color: var(--cyan-2); }
.contact-list .addr-link:hover { color: var(--cyan); }
.map-label {
  position: absolute; left: 14px; bottom: 12px; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(200, 232, 244, 0.7);
}

/* --------------------------------------------------------------- sitemap */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.sitemap-list { display: grid; gap: 10px; margin-top: 14px; }
.sitemap-list a { font-size: 14px; color: #2B4257; }
.sitemap-list a:hover { color: var(--cyan); }

/* ------------------------------------------------------------- animation */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .scan-band, .orbit, .pkg, .scroll-line::after { animation: none; }
}

/* ----------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .nav > ul > li > a { padding: 9px 9px; font-size: 13.5px; }
  .chain { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .event-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1.4fr 0.8fr 1fr; }
  .footer-media { grid-column: 1 / -1; }
  .rp-grid { grid-template-columns: 1fr; }
  .rp-side { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .intro-grid, .contact-grid, .article-grid { grid-template-columns: 1fr; }
  .fact-card { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .side-nav { position: static; border-left: 0; border-top: 1px solid var(--line); padding-top: 8px; margin-bottom: 8px; }
  .side-nav ul { display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .side-nav a { border-left: 0; padding: 6px 0; }
  .article-side { position: static; }
  .focus-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-visual { order: 2; max-width: 460px; margin: 0 auto; }
  .hero { min-height: 0; padding-bottom: 60px; }
  .hero-foot { display: none; }
  .hero-meta { flex-wrap: wrap; gap: 16px 26px; }
  .event-card { grid-template-columns: 1fr; gap: 12px; }
  .event-date { flex-direction: row; align-items: baseline; gap: 10px; }
  .event-day { font-size: 30px; }
  .news-grid, .news-grid--two, .pillar-grid--big, .vm-grid, .value-grid, .event-grid { grid-template-columns: 1fr; }
  .rp-hero-grid { grid-template-columns: 1fr; }
  .rp-hero-icon { display: none; }
  .partners { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .page-hero { padding-top: 116px; }
}

@media (max-width: 740px) {
  /* v2.4.5：隱藏式全屏導覽已在全站生效（見檔尾 v2.4.5 段），
     此處只保留頁首高度等小屏佈局微調 */
  .header-inner { height: 68px; gap: 16px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .brand-text span { display: none; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .hero-meta { flex-wrap: wrap; gap: 18px 28px; }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .chain { grid-template-columns: 1fr 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 1fr; gap: 10px; }
  .news-row-arrow { display: none; }
  .news-row-date { flex-direction: row; align-items: center; }
  .partners, .partners--compact { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .director { grid-template-columns: 1fr; }
  .director-avatar { width: 68px; height: 68px; font-size: 24px; }
  .rp-side { grid-template-columns: 1fr; }
  .mini-stats { gap: 24px; flex-wrap: wrap; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .sitemap-grid { grid-template-columns: 1fr; }
}

/* ============================ Logo 橙色點綴層 ============================
   僅用於淺色內容區塊的小面積點綴：編號、標籤、勾選符、hover 邊飾。
   深藍主視覺與青色互動色（按鈕、連結）保持不變。 */
.section-index {
  color: var(--brand); border-color: rgba(240, 96, 42, 0.38); background: var(--brand-soft);
}
.focus-no { color: var(--brand); }
.tick-list li::before { border-color: var(--brand); }
/* hover 邊飾：以橙色細線回應，面積小、不搶眼 */
.focus-item { transition: border-color 0.25s var(--ease); }
.focus-item:hover { border-top-color: var(--brand); }
.value-item { transition: box-shadow 0.25s var(--ease); }
.value-item:hover { box-shadow: inset 0 2px 0 var(--brand); }
.news-card:hover { border-color: rgba(240, 96, 42, 0.42); }
.news-thumb::after { background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.event-card:hover { background: var(--brand-soft); }
.news-row:hover { background: var(--brand-soft); }
.news-row:hover .news-row-arrow { color: var(--brand); }

/* ========================= v6 · 橙色點綴強化 ========================= */
::selection { background: rgba(240, 96, 42, 0.24); }

/* 第一屏：eyebrow 前的短線改橙漸層（文字維持青色） */
.eyebrow::before { background: linear-gradient(90deg, var(--brand), var(--brand-2)); opacity: 1; }

/* 箭頭語言：「了解更多 →」的箭頭一律橙色，文字顏色不變 */
.link-arrow svg { color: var(--brand); }
.card-link svg { color: var(--brand); }

/* 頁內導航與篩選的「當前位置」用橙色標記 */
.side-nav a.is-active { border-left-color: var(--brand); }
.filter.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter.is-active:hover { color: #fff; }

/* 時間軸節點 → 橙圈 */
.tl-dot { border-color: var(--brand); }

/* 頁尾頂部的品牌簽名線：橙 → 青 漸層，把 Logo 色帶進深藍頁尾 */
.site-footer { position: relative; }
.site-footer::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 22%, rgba(56, 214, 230, 0.55) 78%, rgba(56, 214, 230, 0.2) 100%);
  z-index: 1;
}

/* ========================= v7 · 夥伴牆與更多橙色點綴 ========================= */
/* 牽頭單位（HKUST）圓框：橙漸層底，全場唯一，突出主導地位 */
.partner[data-kind="lead"] .partner-mark {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent; color: #fff;
}
/* 其他夥伴 hover 時圓框轉橙 */
.partner .partner-mark { transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); }
.partner:hover .partner-mark {
  background: var(--brand-soft); border-color: rgba(240, 96, 42, 0.45); color: var(--brand);
}
/* 新聞縮圖左下角的欄目標籤：左側豎線改橙 */
.thumb-label { border-left-color: var(--brand); }
/* 活動卡 hover：大日期數字轉橙 */
.event-card .event-day { transition: color 0.25s var(--ease); }
.event-card:hover .event-day { color: var(--brand); }
/* 關於頁 mini-stats 數字下橙短線（與首頁統計帶一致） */
.mini-stats strong { position: relative; }
.mini-stats strong::after {
  content: ""; display: block; width: 18px; height: 2px; margin-top: 8px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
/* CTA 帶（聯絡我們前的深藍區塊）：標題前橙短線 */
.cta-inner h2::before {
  content: ""; display: block; width: 26px; height: 2px; margin-bottom: 14px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

/* ========================= v8 · 橙色系統織入 =========================
   原則：只增加「小面積、邊緣、指示性」的橙色 —— 細線、方點、角標、
   圖示與滑鼠回應。大色塊與主要 CTA 仍維持青色，
   確保品牌橙融入版面而不搶戲。所有橙線統一使用同一個漸層語言。 */
:root {
  --brand-line: rgba(240, 96, 42, 0.30);
  --brand-edge: rgba(240, 96, 42, 0.46);
  --brand-tint: rgba(240, 96, 42, 0.06);
  --brand-ink: #C9450F;                    /* 淺底小字專用，對比約 5:1 */
  --brand-grad: linear-gradient(90deg, var(--brand), var(--brand-2));
}

/* --- 鍵盤操作時的可見焦點：橙 --- */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 3px;
}

/* --- 導覽列 --- */
.nav > ul > li.is-active > a::after { background: var(--brand-grad); }
/* --- 頁首主要行動：品牌橙實心。深底（首屏）與淺底（捲動後）都成立 --- */
/* 頁首行動鈕：玻璃描邊而非實心橘塊——保留品牌色作為行動提示，但不紮眼。
   深底用橘描邊＋橘字（對比約 5.6:1）；捲動後轉深橙 #C9450F（對白底 4.87:1）。 */
.header-cta {
  background: rgba(240, 96, 42, 0.10);
  border-color: var(--brand-edge);
  color: var(--brand);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0 16px;
  height: 36px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.header-cta:hover {
  background: rgba(240, 96, 42, 0.22);
  border-color: var(--brand);
  color: var(--brand);
}
.is-scrolled .header-cta {
  background: var(--brand-tint);
  border-color: rgba(201, 69, 15, 0.38);
  color: var(--brand-ink);
}
.is-scrolled .header-cta:hover {
  background: rgba(201, 69, 15, 0.12);
  border-color: var(--brand-ink);
  color: var(--brand-ink);
}
/* 在「聯絡我們」頁時，用實心深橙標示當前頁（深橙比主橙收斂，不紮眼） */
.header-cta.is-current {
  background: var(--brand-ink);
  border-color: var(--brand-ink);
  color: #fff;
}
.header-cta.is-current:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.lang-item:hover { background: var(--brand-tint); color: var(--brand); }
.lang-item.is-active { color: var(--brand); }
.submenu li a:hover { background: var(--brand-tint); color: var(--brand); }

/* --- 第一屏：數據下橙短線、捲動提示橙 --- */
.hero-meta strong { position: relative; }
.hero-meta strong::after {
  content: ""; position: absolute; left: 0; bottom: -9px; width: 16px; height: 2px;
  background: var(--brand-grad);
}
.scroll-line::after { background: linear-gradient(90deg, var(--brand-2), var(--brand)); }
.btn-ghost:hover { border-color: var(--brand-edge); background: rgba(240, 96, 42, 0.14); }

/* --- 研究領域卡（深色四格 / 淺色兩格） --- */
.pillar-card { position: relative; }
.pillar-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 52px; height: 2px;
  background: var(--brand-grad); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-card:hover .pillar-no { color: var(--brand-2); }
.pillar-card:hover .pillar-icon { color: var(--brand-2); border-color: var(--brand-edge); }
.pillar-grid--big .pillar-no { color: var(--brand); }
.pillar-grid--big .pillar-card:hover .pillar-icon { color: var(--brand); border-color: var(--brand-edge); }

/* --- 研究鏈條：起點標橙、序號轉暖 --- */
.chain-step:first-child::before {
  background: var(--brand-2); box-shadow: 0 0 0 4px rgba(240, 96, 42, 0.16);
}
.chain-no { color: rgba(247, 148, 29, 0.8); }

/* --- 側欄資料卡：L 形角標轉橙（全站最有辨識度的品牌細節） --- */
.fact-card::before, .fact-card::after { border-color: var(--brand-edge); }
.side-card { position: relative; }
.side-card::before {
  content: ""; position: absolute; top: -1px; left: -1px; width: 34px; height: 2px; background: var(--brand-grad);
}

/* --- 卡片 hover：暖色陰影取代冷藍陰影 --- */
.news-card:hover { box-shadow: 0 24px 48px rgba(240, 96, 42, 0.09); }
.value-item:hover { box-shadow: inset 0 2px 0 var(--brand), 0 10px 24px rgba(240, 96, 42, 0.06); }

/* --- 活動「報名中」等即時標籤：青轉橙，行動感更強 --- */
.chip--live { border-color: var(--brand-edge); color: var(--brand-ink); background: var(--brand-tint); }
.event-card:hover .chip--live { border-color: var(--brand); }

/* --- 新聞列表：日期前小橙點 --- */
.news-row-date time { position: relative; }
.news-row-date time::before {
  content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand); margin-right: 8px; vertical-align: 2px;
}

/* --- 內頁頁首：底部橙漸層收邊 + 麵包屑當前頁 --- */
.page-hero::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: min(46%, 520px); height: 2px;
  background: linear-gradient(90deg, var(--brand), rgba(247, 148, 29, 0));
  z-index: 2;
}
.breadcrumb [aria-current] { color: var(--brand-2); }

/* --- 關於頁：時間軸年份、負責人引言 --- */
.tl-year { color: var(--brand); }
.director blockquote { border-left-color: var(--brand); }

/* --- 研究詳情頁：編號、勾選清單、上下頁切換 --- */
.focus-idx { color: var(--brand); }
.outcome-list li::before { border-color: var(--brand); }
.rp-block { position: relative; }
.rp-nav-item { position: relative; }
.rp-nav-item::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--brand-grad); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.rp-nav-item:hover::after { transform: scaleX(1); }
.rp-nav-item:hover strong { color: var(--brand); }

/* --- 新聞／活動篩選 --- */
.filter:hover { border-color: var(--brand-edge); color: var(--brand); }

/* --- 文章內文 --- */
.article-body ul li::before { background: var(--brand); opacity: 0.85; }
.article-body blockquote { border-left: 2px solid var(--brand); }
.source a { color: var(--brand-ink); border-bottom-color: var(--brand-line); }
.source a:hover { border-bottom-color: var(--brand); }

/* --- 聯絡頁：圖示、表單焦點、地圖按鈕 --- */
.contact-list svg { color: var(--brand); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(240, 96, 42, 0.12);
}
.field:focus-within > span { color: var(--brand-ink); }
.form-success { border-left-color: var(--brand); background: var(--brand-tint); }
.map-card:hover .map-open { background: var(--brand); border-color: var(--brand); color: #fff; }

/* --- 頁尾：欄標題橙短線、聯絡圖示、法務連結 --- */
.footer-col h3 { position: relative; padding-left: 12px; }
.footer-col h3::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 2px; background: var(--brand);
}
.footer-contact svg { color: var(--brand-2); }
.footer-col a:hover, .footer-legal a:hover { color: var(--brand-2); }
.footer-contact .addr-link:hover { color: var(--brand-2); }

/* --- 網站地圖 --- */
.sitemap-list a:hover { color: var(--brand); }

/* ========================= v2.3.4 · Hero 品牌化微調 =========================
   依確認稿：eyebrow 改 logo 三斜條、標題關鍵詞橙色漸變、主按鈕橙漸層斜切、
   數據角標改小斜方塊。晶圓 dies 與掃描帶維持原版不變。 */

/* --- eyebrow：logo 右側三條斜四邊形（僅首屏） --- */
.hero .eyebrow::before {
  width: 38px; height: 12px; flex: none; opacity: 1;
  background: linear-gradient(135deg, var(--brand-2), #FF8A3D);
  transform: skewX(-24deg);
  -webkit-mask: linear-gradient(90deg, #000 0 9px, transparent 9px 13px, #000 13px 22px, transparent 22px 26px, rgba(0, 0, 0, 0.55) 26px 35px, transparent 35px);
          mask: linear-gradient(90deg, #000 0 9px, transparent 9px 13px, #000 13px 22px, transparent 22px 26px, rgba(0, 0, 0, 0.55) 26px 35px, transparent 35px);
}

/* --- 標題關鍵詞：呼應 logo「Power 白 + SAC 橙」 --- */
.hero h1 .hero-accent {
  background: linear-gradient(120deg, var(--brand-2) 10%, #FFB25E 90%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* --- 主按鈕：logo 橙漸層 + 右下斜切 --- */
.hero .btn-primary {
  background: linear-gradient(120deg, var(--brand-2), #FF8A3D);
  color: #1A0E02; font-weight: 600;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.hero .btn-primary:hover { background: linear-gradient(120deg, #FF8A3D, var(--brand-2)); transform: translateY(-1px); }
.hero .btn-primary svg { color: #1A0E02; }

/* --- 數據角標：數字右側小斜方塊（取代原本下方橙短線） --- */
.hero-meta strong::after {
  left: auto; bottom: auto; right: -16px; top: 4px;
  width: 7px; height: 7px;
  background: var(--brand-2);
  transform: skewX(-24deg); opacity: 0.9;
}

/* ====== PREVIEW v2.4 · 首頁板塊 logo 風格延伸（僅本地預覽，未確認） ====== */

/* 1) 板塊小標（kicker）：前加 logo 三斜條 */
.section-kicker { display: inline-flex; align-items: center; gap: 9px; }
.section-kicker::before {
  content: ""; width: 26px; height: 9px; flex: none;
  background: linear-gradient(135deg, var(--brand-2), #FF8A3D);
  transform: skewX(-24deg);
  -webkit-mask: linear-gradient(90deg, #000 0 7px, transparent 7px 10px, #000 10px 17px, transparent 17px 20px, rgba(0,0,0,.55) 20px 27px, transparent 27px);
          mask: linear-gradient(90deg, #000 0 7px, transparent 7px 10px, #000 10px 17px, transparent 17px 20px, rgba(0,0,0,.55) 20px 27px, transparent 27px);
}

/* 2) 板塊編號（01/02/03）：青框 → logo 橙漸層斜切章 */
.section-index {
  color: #1A0E02; font-weight: 600;
  background: linear-gradient(120deg, var(--brand-2), #FF8A3D);
  border: 0; border-radius: 0; padding: 2px 10px 2px 7px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

/* 3) 中心簡介 fact-card：角標青 → 橙，底部走線改橙漸變色 */
.fact-card::before, .fact-card::after { border-color: var(--brand-2); }
.fact-art path { stroke: rgba(247, 148, 29, 0.55); }
.fact-art circle { fill: var(--brand-2); }

/* 4) 新聞卡：頂部三斜條角標（呼應 hero） */
.news-card { position: relative; }
.news-card::before {
  content: ""; position: absolute; top: -1px; left: 18px; width: 24px; height: 4px; z-index: 1;
  background: linear-gradient(135deg, var(--brand-2), #FF8A3D);
  transform: skewX(-24deg);
  -webkit-mask: linear-gradient(90deg, #000 0 6px, transparent 6px 8px, #000 8px 15px, transparent 15px 17px, rgba(0,0,0,.55) 17px 24px, transparent 24px);
          mask: linear-gradient(90deg, #000 0 6px, transparent 6px 8px, #000 8px 15px, transparent 15px 17px, rgba(0,0,0,.55) 17px 24px, transparent 24px);
}

/* 5) CTA 帶：主按鈕與 hero 同款橙漸層斜切；暖光加一點品牌橙 */
.cta-band .btn-primary {
  background: linear-gradient(120deg, var(--brand-2), #FF8A3D);
  color: #1A0E02; font-weight: 600;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.cta-band .btn-primary:hover { background: linear-gradient(120deg, #FF8A3D, var(--brand-2)); transform: translateY(-1px); }
.cta-band .btn-primary svg { color: #1A0E02; }
/* v2.5.2：CTA 青暈原本 0.22 壓在右上角，把整塊染亮與上下深藍割裂；
   減弱並下移，讓板頂維持 #0B1B33 與夥伴牆無縫，光暈保留在板內 */
.cta-glow {
  background:
    radial-gradient(45% 100% at 88% 55%, rgba(247, 148, 29, 0.08), transparent 65%),
    radial-gradient(52% 110% at 84% 62%, rgba(23, 185, 207, 0.11), transparent 62%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, auto, 88px 88px;
}

/* 6) 夥伴牆 kicker：同樣吃到 .section-kicker 三斜條（pm-kicker 是獨立 class，補上） */
.pm-kicker { display: inline-flex; align-items: center; gap: 9px; }
.pm-kicker::before {
  content: ""; width: 26px; height: 9px; flex: none;
  background: linear-gradient(135deg, var(--brand-2), #FF8A3D);
  transform: skewX(-24deg);
  -webkit-mask: linear-gradient(90deg, #000 0 7px, transparent 7px 10px, #000 10px 17px, transparent 17px 20px, rgba(0,0,0,.55) 20px 27px, transparent 27px);
          mask: linear-gradient(90deg, #000 0 7px, transparent 7px 10px, #000 10px 17px, transparent 17px 20px, rgba(0,0,0,.55) 20px 27px, transparent 27px);
}

/* ====== PREVIEW v2.4.1 · 團隊頁優化（僅本地預覽） ====== */
/* 孤字修復：段落尾端孤字由 balance 均衡換行解決 */
.page-lede { text-wrap: balance; }

/* --- 方案 A：合併式 —— 移除第二個大標題，改為引導條 --- */
.section-team--merged { padding-top: clamp(30px, 3.4vw, 48px); }
.team-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 16px; margin-bottom: clamp(22px, 2.6vw, 32px);
  border-bottom: 1px solid rgba(120, 180, 214, 0.18);
}
.team-strip-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em;
  color: rgba(226, 244, 250, 0.88);
}
.team-strip-label::before {
  content: ""; width: 26px; height: 9px; flex: none;
  background: linear-gradient(135deg, var(--brand-2), #FF8A3D);
  transform: skewX(-24deg);
  -webkit-mask: linear-gradient(90deg, #000 0 7px, transparent 7px 10px, #000 10px 17px, transparent 17px 20px, rgba(0,0,0,.55) 20px 27px, transparent 27px);
          mask: linear-gradient(90deg, #000 0 7px, transparent 7px 10px, #000 10px 17px, transparent 17px 20px, rgba(0,0,0,.55) 20px 27px, transparent 27px);
}
.team-strip-count {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  color: rgba(247, 148, 29, 0.85);
}

/* ========================= v2.4.2 · 首頁「最新動態」極簡居中風 =========================
   僅作用於首頁 .section-news：居中標題（NEWS 小字）、3 張等寬卡（標題上、日期下、無摘要）、
   底部居中描邊按鈕。新聞列表頁 / 內頁不受影響。 */

.news-head-center { text-align: center; margin-bottom: clamp(36px, 4vw, 54px); }
.news-kicker-en {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.36em; text-indent: 0.36em; /* 抵銷末字間距，保持視覺居中 */
  color: var(--brand-2); margin-bottom: 12px;
}
.news-head-center h2 {
  font-size: clamp(26px, 2.8vw, 38px); font-weight: 700;
  color: var(--ink); line-height: 1.25;
}

.section-news .news-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 2.8vw, 40px); }
/* 去卡片框，直接縮圖+文字落在紙底上 */
.section-news .news-card { background: transparent; border: 0; }
.section-news .news-card:hover { transform: none; box-shadow: none; border-color: transparent; }
.section-news .news-card::before { display: none; }        /* 移除頂部三斜條 */
.section-news .thumb-label { display: none; }              /* 移除縮圖分類標籤 */
.section-news .news-thumb::after {
  background: linear-gradient(90deg, var(--brand-2), transparent);
  transform: scaleX(1); transform-origin: left;
}
.section-news .news-body { padding: 18px 2px 0; }
.section-news .news-body h3 { order: 1; font-size: 16.5px; line-height: 1.65; margin-bottom: 0; }
.section-news .news-card:hover .news-body h3 { color: var(--brand-2); }
.section-news .news-meta { order: 2; margin: 10px 0 0; }
.section-news .news-body p, .section-news .news-body .card-link { display: none; }

.news-more-wrap { text-align: center; margin-top: clamp(40px, 4.6vw, 60px); }
.news-more-btn {
  display: inline-block; border: 1px solid var(--ink); color: var(--ink);
  font-size: 14px; font-weight: 500; padding: 12px 38px; text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.news-more-btn:hover { background: var(--ink); color: #fff; }

@media (max-width: 960px) {
  .section-news .news-grid { grid-template-columns: 1fr; }
}

/* ====== v2.4.3 · Hero 居中極簡風（參考 HKGAI） ====== */

/* 頁頭未捲動時完全融入背景（去頂部分割線；捲動後 .is-scrolled 自有底線） */
.site-header:not(.is-scrolled) { border-bottom-color: transparent; }

/* --- 佈局：單欄居中 --- */
.hero-center .hero-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: clamp(60px, 8vw, 100px); padding-bottom: clamp(70px, 9vw, 110px);
}
.hero-center .hero-copy { max-width: 920px; margin: 0 auto; position: relative; z-index: 2; }

/* --- 背景光暈改居中 + logo 三斜帶基因（橙，低透明度斜向掃過） --- */
.hero-center .hero-bg {
  background:
    radial-gradient(64% 56% at 50% 42%, rgba(23, 185, 207, 0.10), transparent 62%),
    radial-gradient(48% 40% at 50% 88%, rgba(226, 160, 63, 0.06), transparent 70%),
    linear-gradient(180deg, #061323 0%, #071527 62%, #08192B 100%);
}
.hero-center .hero-bg::before { opacity: 0.55; } /* 網格再淡一點 */
.hero-center .hero-bg::after {
  content: ""; position: absolute; inset: -12%;
  background:
    /* 主橙帶：左上→右下，呼應 logo 平行四邊形 */
    linear-gradient(112deg, transparent 26%, rgba(247, 148, 29, 0.085) 26.6%, rgba(247, 148, 29, 0.028) 33%, transparent 33.6%),
    /* 次橙帶 */
    linear-gradient(112deg, transparent 46%, rgba(247, 148, 29, 0.05) 46.5%, rgba(247, 148, 29, 0.016) 51%, transparent 51.5%),
    /* 青帶呼應（技術色，更弱） */
    linear-gradient(112deg, transparent 62%, rgba(56, 214, 230, 0.05) 62.5%, rgba(56, 214, 230, 0.014) 68%, transparent 68.5%);
}

/* --- eyebrow：膠囊標籤（取代三斜條+細線） --- */
.hero-center .eyebrow {
  justify-content: center; display: inline-flex;
  border: 1px solid rgba(190, 218, 234, 0.28); border-radius: 999px;
  padding: 9px 22px; margin-bottom: 36px;
  letter-spacing: 0.2em; text-indent: 0.2em;
  color: rgba(205, 228, 240, 0.78);
  background: rgba(8, 25, 43, 0.4);
}
.hero-center .eyebrow::before { display: none; }

/* --- 標題/導語居中；字色柔化融入背景（HKGAI 式淡藍調） --- */
.hero-center h1 {
  font-size: clamp(42px, 6.2vw, 86px); line-height: 1.14; letter-spacing: 0; margin-bottom: 26px;
  background: linear-gradient(180deg, #F4FAFF 24%, #B8D2E8 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  text-shadow: none;
}
.hero-center .hero-lede {
  margin: 0 auto 42px; font-size: clamp(14.5px, 1.1vw, 16.5px);
  color: rgba(186, 212, 232, 0.58); letter-spacing: 0.02em;
}

/* --- 按鈕：單顆白色膠囊（呼應參考站） --- */
.hero-center .hero-actions { justify-content: center; gap: 0; margin-bottom: 0; }
.hero-center .btn-primary {
  background: #fff; color: var(--ink);
  clip-path: none; border-radius: 999px; padding: 15px 38px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
}
.hero-center .btn-primary:hover {
  background: #fff; transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
}
.hero-center .btn-primary svg { color: var(--ink); }
.hero-center .btn-ghost { display: none; }

/* --- 數據：居中弱化（後台可隱藏） --- */
.hero-center .hero-meta {
  justify-content: center; border-top: 0; padding-top: 0;
  margin-top: 60px; gap: clamp(30px, 5vw, 64px);
}
.hero-center .hero-meta strong { font-size: clamp(18px, 1.8vw, 24px); }

/* --- 晶圓：居中水印背景（再淡，僅留氛圍） --- */
.hero-center .hero-visual {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.26; pointer-events: none;
}
.hero-center .hero-visual .hero-art { width: min(58vw, 720px); height: auto; }

@media (max-width: 960px) {
  .hero-center .hero-visual .hero-art { width: min(120vw, 560px); opacity: 0.9; }
  .hero-center .hero-visual { opacity: 0.22; }
}

/* 英文標題較長：限制字號維持 2-3 行 */
body[data-lang="en"] .hero-center h1 { font-size: clamp(36px, 4.9vw, 68px); max-width: 21ch; margin-left: auto; margin-right: auto; }

/* 矮屏（筆記本 1366x768 等）：壓縮上下留白，避免 SCROLL 與數據重疊 */
@media (max-height: 800px) and (min-width: 961px) {
  .hero-center .hero-inner { padding-top: 48px; padding-bottom: 84px; }
  .hero-center .hero-meta { margin-top: 40px; }
  .hero-center .eyebrow { margin-bottom: 26px; }
  .hero-center h1 { margin-bottom: 20px; }
  .hero-center .hero-lede { margin-bottom: 32px; }
}

/* ========================= v2.4.4 · 首頁全深色統一（參考 HKGAI） =========================
   首頁刪除「中心簡介」「應用場景」後，剩餘板塊全部深色：hero → 最新動態 → 研究領域 →
   戰略合作夥伴 → CTA。最新動態由白底改深藍，與 hero 底色無縫銜接。 */

.section-news {
  background: linear-gradient(180deg, #08192B 0%, #071527 100%);
  border-top: 0;
  border-bottom: 0;
}
.news-head-center h2 { color: #F2F8FC; }
.section-news .news-body h3 { color: #E9F3F9; }
.section-news .news-meta { color: rgba(170, 200, 222, 0.6); }
.section-news .news-thumb { box-shadow: inset 0 0 0 1px rgba(120, 180, 214, 0.14); }
.news-more-btn {
  border-color: rgba(233, 243, 249, 0.45);
  color: #E9F3F9;
}
.news-more-btn:hover { background: #E9F3F9; color: var(--ink); border-color: #E9F3F9; }

/* ========================= v2.4.5 · 隱藏式全屏導覽（參考騰訊 / inno-access.hk） =========================
   桌面與手機統一：頁首只保留 logo、語言按鈕與菜單按鈕，
   導覽連結與「聯絡我們」全部收進全屏抽屜。 */

/* 頁首右側只留語言 + 菜單按鈕 */
.header-actions { margin-left: auto; }
.head-divider { display: none; }
.header-cta { display: none !important; }
.nav-toggle { display: block; }

/* 全屏抽屜：深藍底 + 淡橙斜帶（呼應 logo） */
.nav {
  position: fixed; inset: 0; z-index: -1; margin-left: 0;
  background:
    linear-gradient(112deg, transparent 34%, rgba(247, 148, 29, 0.05) 34.6%, rgba(247, 148, 29, 0.016) 41%, transparent 41.6%),
    linear-gradient(112deg, transparent 60%, rgba(247, 148, 29, 0.03) 60.5%, transparent 65%),
    var(--ink);
  padding: clamp(72px, 8.5vh, 96px) clamp(28px, 8vw, 96px) 56px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  overflow-y: auto;
}
.nav-open .nav { opacity: 1; visibility: visible; z-index: 99; }
body.nav-open { overflow: hidden; }

/* 抽屜打開時頁頭融入抽屜底色（避免捲動後白底頁頭壓在深色抽屜上） */
.nav-open .site-header {
  background: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  color: #E7F1F7;
  border-bottom-color: transparent;
}
.nav-open .lang-menu summary { border-color: rgba(255, 255, 255, 0.28); background: transparent; }
.nav-open .lang-menu[open] summary { border-color: rgba(127, 200, 220, 0.6); background: rgba(127, 200, 220, 0.16); }
.nav-open .nav-toggle { border-color: rgba(255, 255, 255, 0.28); }

/* 導覽列表：居中大字（與 hero-center 的極簡居中呼應） */
.nav > ul {
  flex-direction: column; align-items: stretch; gap: 0;
  max-width: 680px; margin: 0 auto;
}
.nav > ul::before {
  content: "MENU"; display: block;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; text-indent: 0.3em;
  color: rgba(170, 200, 222, 0.45);
  padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nav > ul > li.nav-m-only { display: block; }
.nav > ul > li > a {
  padding: 11px 4px; font-size: clamp(19px, 2.1vw, 25px); font-weight: 500;
  color: #E8F2F8; opacity: 0.88; background: none;
  letter-spacing: 0.05em; border-radius: 0;
}
.nav > ul > li > a:hover { opacity: 1; background: none; color: var(--cyan-2); }
.nav > ul > li.is-active > a { opacity: 1; color: var(--cyan-2); }
.nav > ul > li.is-active > a::after { display: none; }
.nav .caret { display: none; }

/* 子選單：抽屜內直接平鋪 */
.nav .submenu {
  /* zv_1zl：不可寫 visibility:visible——visibility 可被子元素覆蓋，會令收起的抽屜裡
     的子選單「隱形但可點擊」，懸浮在 hero 上攔截滑鼠事件。 */
  position: static; opacity: 1; transform: none;
  box-shadow: none; background: transparent; border: 0;
  padding: 0 0 16px; min-width: 0;
}
/* zv_1zl：僅在抽屜開啟時恢復可見（覆蓋基礎 hover 下拉的 visibility:hidden） */
.nav-open .nav .submenu { visibility: visible; }
.nav .submenu li a {
  color: rgba(200, 226, 238, 0.58); font-size: 14px; padding: 4px 4px 5px;
}
.nav .submenu li a:hover { background: none; color: var(--cyan-2); }

/* 「聯絡我們」：抽屜內以橙色強調 */
.nav > ul > li.nav-m-only > a { color: var(--brand-2); opacity: 1; }
.nav > ul > li.nav-m-only > a:hover { color: #ffb35c; }

/* v2.4.5 修補：nav 是 header 子元素，抽屜開啟時需確保 logo／語言／菜單按鈕
   疊在抽屜之上（同一層疊上下文內 z-index 需大於抽屜的 99） */
.header-inner .brand, .header-inner .header-actions { position: relative; z-index: 101; }

/* ========================= v2.4.6 · 頁首按鈕對齊 + hero 重排 + 板塊背景 UI 層 ========================= */

/* --- 1. 菜單按鈕尺寸對齊語言按鈕（zv_66 流式；zv_70 線條居中統一由基礎塊管理） --- */
.nav-toggle { width: var(--hbtn); height: var(--hbtn); border-radius: 6px; }

/* --- 2/3. hero 數據帶移除後：底部留白 + hkgai 式縱向 SCROLL 指示 --- */
.hero-center .hero-inner { padding-bottom: clamp(96px, 11vw, 150px); }
.hero-center .hero-foot {
  flex-direction: column; gap: 12px; bottom: 26px;
  color: rgba(190, 218, 234, 0.48);
}
.hero-center .scroll-line { width: 1px; height: 46px; }
.hero-center .scroll-line::after {
  width: 1px; height: 14px; background: var(--brand-2);
  animation: slideY 2.4s var(--ease) infinite;
}
@keyframes slideY { 0% { transform: translateY(-16px); } 100% { transform: translateY(48px); } }
@media (max-height: 800px) and (min-width: 961px) {
  .hero-center .hero-inner { padding-bottom: 92px; }
}

/* --- 4. 深色板塊低調 UI 背景層（參考 hkgai：微光暈 + 淡網格，非純色） --- */

/* 最新動態：頂部青光 + 底部橙/青角光 + 遮罩淡網格 */
.section-news::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(56% 42% at 50% 0%, rgba(23, 185, 207, 0.075), transparent 70%),
    radial-gradient(36% 30% at 88% 96%, rgba(247, 148, 29, 0.045), transparent 72%),
    radial-gradient(30% 26% at 8% 92%, rgba(56, 214, 230, 0.035), transparent 70%);
}
.section-news::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(126, 224, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 224, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(72% 62% at 50% 32%, #000 30%, transparent 100%);
  mask-image: radial-gradient(72% 62% at 50% 32%, #000 30%, transparent 100%);
}
.section-news .wrap { position: relative; z-index: 1; }

/* 研究領域：logo 橙斜帶弱化版 + 角光 + 頂部髮絲光線 */
.section-research::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(112deg, transparent 24%, rgba(247, 148, 29, 0.035) 24.6%, rgba(247, 148, 29, 0.012) 31%, transparent 31.6%),
    linear-gradient(112deg, transparent 44%, rgba(247, 148, 29, 0.02) 44.5%, transparent 49%),
    radial-gradient(50% 40% at 12% 6%, rgba(23, 185, 207, 0.055), transparent 70%),
    radial-gradient(44% 36% at 92% 92%, rgba(247, 148, 29, 0.04), transparent 72%);
}
.section-research::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(126, 224, 255, 0.14), transparent);
}
.section-research .wrap { position: relative; z-index: 1; }

/* v2.4.6 修補：小屏 hero-foot 隱藏，收緊按鈕下方留白（避免與 NEWS 之間大空洞） */
@media (max-width: 860px) {
  .hero-center .hero-inner { padding-bottom: 34px; }
}
@media (max-width: 860px) {
  .hero-center { padding-bottom: 28px; }
  .hero-center .hero-inner { padding-bottom: 24px; }
}

/* v2.4.6 修補：36px 按鈕內兩條橫線垂直居中（原 14/22 偏下約 1px） */
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 21px; }

/* v2.4.6 修補3：hero 按鈕縮小下移；捲動提示只留動畫豎線（文字隱藏，避免被按鈕半遮半露） */
.hero-center .btn-primary { padding: 12px 30px; font-size: 13.5px; }
.hero-center .hero-actions { margin-top: 26px; }
.hero-center .hero-inner { padding-bottom: clamp(84px, 9.5vw, 124px); }
.hero-center .hero-foot { bottom: 18px; }
.hero-center .hero-foot span:not(.scroll-line) { display: none; }
@media (max-height: 800px) and (min-width: 961px) {
  .hero-center .hero-inner { padding-bottom: 80px; }
}

/* ========================= v2.4.7 · 研究領域頁全深色融合 =========================
   hero → RP 卡片 → 研究鏈路 → 研究設施 → CTA 全深色銜接，中間不再插入白底板塊；
   RP 卡片復用首頁同款深色樣式，背景加同族光暈+淡網格。 */

.rp-overview { position: relative; overflow: hidden; }
.rp-overview::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 38% at 14% 4%, rgba(23, 185, 207, 0.05), transparent 70%),
    radial-gradient(40% 34% at 90% 96%, rgba(247, 148, 29, 0.04), transparent 72%);
}
.rp-overview::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(126, 224, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 224, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%);
}
.rp-overview .wrap { position: relative; z-index: 1; }
.rp-overview .pillar-grid { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.08); }

/* 研究設施（原本無樣式，補深色卡片風） */
.facility-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: clamp(30px, 3.4vw, 48px);
}
.facility { background: #08192B; padding: 26px clamp(22px, 2.6vw, 34px) 28px; transition: background 0.35s var(--ease); }
.facility:hover { background: #0C2340; }
.facility-no {
  display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  color: rgba(247, 148, 29, 0.8); margin-bottom: 12px;
}
.facility h3 { font-size: 17px; color: #fff; margin-bottom: 10px; }
.facility p { font-size: 13.5px; line-height: 1.8; color: rgba(201, 224, 236, 0.6); margin: 0; }
@media (max-width: 960px) { .facility-grid { grid-template-columns: 1fr; } }

/* v2.4.7 修補：設施不足一整行時，1px 縫合網格會露出容器底色空格 → 改用間距+邊框 */
.facility-grid {
  background: transparent; border: 0; gap: 12px; margin-top: clamp(30px, 3.4vw, 48px);
}
.facility { border: 1px solid rgba(255, 255, 255, 0.09); }

/* v2.4.7：CTA 板塊壓窄（上下留白收緊，整體更輕） */
.cta-band { padding: clamp(36px, 4.2vw, 60px) 0; }
.cta-inner h2 { font-size: clamp(22px, 2.5vw, 32px); }

/* v2.4.7 修補：CTA 標題放寬，讓 EN 標題一行放下 */
.cta-inner h2 { max-width: 32ch; }

/* ========================= v2.5.0 · 首頁下滑背景升級（hkgai 式深藍極光） =========================
   告別死黑：整整段下滑區域轉為深邃海軍藍漸變，疊加青/藍/紫極光暈與品牌橙微光，
   星空網格保留但提亮，頁腳同族收尾。 */

/* 最新動態：深邃海軍藍三段漸變 + 更豐富的極光暈 */
.home .section-news {
  background: linear-gradient(180deg, #0A1E36 0%, #0B2140 48%, #081A30 100%);
}
.home .section-news::before {
  background:
    radial-gradient(52% 38% at 50% 0%, rgba(46, 140, 255, 0.14), transparent 68%),
    radial-gradient(40% 34% at 88% 92%, rgba(108, 92, 231, 0.10), transparent 70%),
    radial-gradient(34% 30% at 6% 88%, rgba(23, 185, 207, 0.10), transparent 70%),
    radial-gradient(26% 22% at 74% 28%, rgba(247, 148, 29, 0.05), transparent 72%);
}
.home .section-news::after {
  background-image:
    linear-gradient(rgba(126, 200, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 200, 255, 0.05) 1px, transparent 1px);
}

/* 戰略合作夥伴：星空保留，底色轉深藍 + 對角極光 */
.home .pm-section {
  background: linear-gradient(180deg, #081A30 0%, #0A2142 52%, #0B1B33 100%);
}
.home .pm-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 40% at 14% 8%, rgba(23, 185, 207, 0.10), transparent 70%),
    radial-gradient(42% 38% at 90% 90%, rgba(46, 107, 255, 0.12), transparent 72%),
    radial-gradient(30% 26% at 78% 12%, rgba(247, 148, 29, 0.05), transparent 72%);
}

/* CTA：深藍漸變 + 底部藍光帶上湧 */
.home .cta-band {
  background:
    radial-gradient(56% 92% at 50% 120%, rgba(46, 140, 255, 0.16), transparent 70%),
    radial-gradient(32% 64% at 10% 112%, rgba(23, 185, 207, 0.10), transparent 70%),
    linear-gradient(180deg, #0B1B33 0%, #0A1E38 100%);
}

/* 頁腳：同族深藍漸變收尾（全站生效，色調一致） */
.site-footer {
  background: linear-gradient(180deg, #071829 0%, #050F1D 100%);
}

/* ========================= v2.5.1 · 捲動後頁頭改 hkgai 式偏黑微透明毛玻璃 =========================
   舊版捲動後轉白底（白底內容時代的產物），與全深色頁面割裂。
   改為深藍黑 72% 透明 + 背景模糊，logo／文字靠 currentColor 自動保持淺色。 */
.site-header.is-scrolled {
  background: rgba(7, 18, 32, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  backdrop-filter: blur(16px) saturate(1.35);
  color: #E7F1F7;
  border-bottom-color: rgba(255, 255, 255, 0.09);
}
.is-scrolled .head-divider { background: rgba(255, 255, 255, 0.2); }
.is-scrolled .lang-menu summary { border-color: rgba(255, 255, 255, 0.3); }
.is-scrolled .nav-toggle { border-color: rgba(255, 255, 255, 0.3); }
.is-scrolled .btn-outline { border-color: rgba(255, 255, 255, 0.3); color: #E7F1F7; }
.is-scrolled .header-cta { background: transparent; border-color: rgba(255, 255, 255, 0.3); color: #E7F1F7; }
.is-scrolled .header-cta:hover { background: rgba(127, 200, 220, 0.12); border-color: var(--cyan-2); color: var(--cyan-2); }

/* v2.5.1 修補：語言下拉面板改深色毛玻璃（原白面板與深色頁頭割裂） */
.lang-panel {
  background: rgba(9, 24, 42, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.lang-item { color: #DFECF5; }
.lang-item:hover { background: rgba(127, 200, 220, 0.12); color: var(--cyan-2); }

/* ========================= v2.5.2 · 板塊接縫縫合（漸變接力） =========================
   症狀：hero→最新動態、最新動態→夥伴牆兩處出現硬接縫（用戶紅框）。
   成因：① v2.5.0 把 news 頂色提亮為 #0A1E36，與 hero 底色 #08192B 形成色差斷崖；
        ② news 頂部藍光暈圓心正好壓在元素頂邊（at 50% 0%），光被攔腰切斷成亮帶；
        ③ news 底部紫/青角光貼著底邊（92%），把縫上一側推亮，縫下卻是純色。
   方案：backdrop-filter 無法跨板塊邊界，改用「漸變接力」——
        每段背景的結束色 = 下一段的起始色；貼邊光暈圓心內收、自然淡出。 */

/* 縫 A：news 頂色改回 hero 的結束色 #08192B，中段再爬升到亮藍 */
.home .section-news {
  background: linear-gradient(180deg, #08192B 0%, #0A2140 46%, #081A30 100%);
}
/* 頂部藍暈圓心下移到 26%，半徑收窄，光斑完全不觸及接縫 */
.home .section-news::before {
  background:
    radial-gradient(50% 34% at 50% 26%, rgba(46, 140, 255, 0.13), transparent 72%),
    radial-gradient(40% 34% at 88% 78%, rgba(108, 92, 231, 0.08), transparent 70%),
    radial-gradient(34% 30% at 6% 74%, rgba(23, 185, 207, 0.08), transparent 70%),
    radial-gradient(26% 22% at 74% 28%, rgba(247, 148, 29, 0.05), transparent 72%);
}

/* 縫 B：news 底部角光上收弱化，不再貼邊推亮接縫上側（見上條 ::before 的 78%/74%）；
   pm 頂部青暈同步內收，兩側在 #081A30 上對齊亮度 */
.home .pm-section::before {
  background:
    radial-gradient(46% 40% at 14% 20%, rgba(23, 185, 207, 0.09), transparent 70%),
    radial-gradient(42% 38% at 90% 90%, rgba(46, 107, 255, 0.12), transparent 72%),
    radial-gradient(30% 26% at 78% 18%, rgba(247, 148, 29, 0.05), transparent 72%);
}
/* pm 頂邊的裝飾髮絲光線：背景縫合後它反而成一條假接縫，隱藏 */
.home .pm-section::after { content: none; }
/* pm-sky 頂部青暈圓心下移，光斑不觸及接縫 */
.home .pm-sky {
  background:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(126, 224, 255, 0.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 32% 68%, rgba(126, 224, 255, 0.26) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 55% 15%, rgba(255, 255, 255, 0.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 71% 55%, rgba(126, 224, 255, 0.32) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 86% 30%, rgba(255, 255, 255, 0.22) 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 74%, rgba(126, 224, 255, 0.26) 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 80%, rgba(255, 255, 255, 0.2) 50%, transparent 51%),
    radial-gradient(620px 240px at 50% 34%, rgba(23, 185, 207, 0.09), transparent 70%),
    radial-gradient(520px 260px at 88% 100%, rgba(240, 96, 42, 0.06), transparent 70%);
}
.lang-item.is-active { color: var(--brand-2); }

/* v2.5.1 關鍵修補：backdrop-filter 會使 fixed 子元素（全屏抽屜）改以頁頭為包含塊，
   抽屜開啟時必須徹底移除模糊，否則抽屜被壓縮在頁頭框內（高權重確保覆蓋 v2.5.1） */
.nav-open .site-header.is-scrolled {
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.nav-open .site-header.is-scrolled .lang-menu summary { border-color: rgba(255, 255, 255, 0.3); }

/* ========================= v2.5.4 · 全站深色板塊「極光畫布」統一 =========================
   症狀：研究領域/團隊頁的 .section-dark、內頁 page-hero、非首頁 CTA 都是 var(--ink)=#071527
   死黑，壓抑且無 UI（用戶回報）。
   方案：套用首頁 v2.5.0 極光語言（深藍底 #08192B + 青/藍/紫/橙光暈 + 淡網格 + 橙斜帶），
   並遵守 v2.5.2 縫合原則——光暈圓心全部收在板塊內部（不再貼 0%/100% 邊緣），
   板塊邊緣統一 #08192B，多個深色板塊堆疊不產生接縫斷崖。 */

/* 1) 內頁頁首：青主光 + 藍角光 + 橙點綴 + 首頁式斜向橙帶 */
.page-hero-bg {
  background:
    radial-gradient(70% 92% at 82% 0%, rgba(23, 185, 207, 0.16), transparent 62%),
    radial-gradient(48% 44% at 6% 100%, rgba(46, 140, 255, 0.10), transparent 70%),
    radial-gradient(28% 26% at 94% 78%, rgba(247, 148, 29, 0.06), transparent 72%),
    linear-gradient(180deg, #061323, #08192B);
}
.page-hero-bg::after {
  content: ""; position: absolute; inset: -12%;
  background:
    linear-gradient(112deg, transparent 32%, rgba(247, 148, 29, 0.055) 32.6%, rgba(247, 148, 29, 0.016) 40%, transparent 40.6%),
    linear-gradient(112deg, transparent 56%, rgba(247, 148, 29, 0.035) 56.5%, transparent 62%);
}
.page-hero--team .page-hero-bg { background: linear-gradient(180deg, #061323, #08192B); }

/* 2) 所有 .section-dark：死黑 → 深藍底 + 極光 + 淡網格（rp-overview 自帶 UI 排除） */
.section-dark { background: #08192B; }
.section-dark:not(.rp-overview)::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42% 46% at 80% 22%, rgba(23, 185, 207, 0.10), transparent 68%),
    radial-gradient(38% 40% at 8% 78%, rgba(46, 140, 255, 0.10), transparent 72%),
    radial-gradient(24% 22% at 72% 68%, rgba(108, 92, 231, 0.06), transparent 70%),
    radial-gradient(20% 18% at 18% 30%, rgba(247, 148, 29, 0.05), transparent 72%);
}
.section-dark:not(.rp-overview)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(126, 224, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 224, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 100%);
}
.section-dark:not(.rp-overview) .wrap { position: relative; z-index: 1; }
.section-dark.section-team { background: #08192B; }

/* 3) 非首頁 CTA：死黑 → 深藍底（與首頁 v2.5.0 版同族，青光雲保留在板內） */
.cta-band { background: #08192B; }

/* ---------- v2.5.4b · 半導體科幻藍光紋路層（電路佈線 + 焊盤節點） ----------
   在極光畫布上疊加 PCB 佈線紋理：曼哈頓/45° 走線、雙層描邊（寬暈+細亮）模擬發光、
   焊盤圓節點收尾、一條品牌橙點綴走線。SVG data-URI 定義為變量全站複用。 */
:root {
  --ckt-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520'%3E%3Cg fill='none' stroke='%237EE0FF' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke-width='4' opacity='.05'%3E%3Cpath d='M520 80H360L300 140V240H200'/%3E%3Cpath d='M520 160H420V320H320V400'/%3E%3Cpath d='M520 260H460V420'/%3E%3Cpath d='M520 380H440V460H360'/%3E%3Cpath d='M280 520V440H180'/%3E%3C/g%3E%3Cg stroke-width='1.4' opacity='.17'%3E%3Cpath d='M520 80H360L300 140V240H200'/%3E%3Cpath d='M520 160H420V320H320V400'/%3E%3Cpath d='M520 260H460V420'/%3E%3Cpath d='M520 380H440V460H360'/%3E%3Cpath d='M280 520V440H180'/%3E%3Cpath d='M520 320H400V260H340'/%3E%3Cpath d='M200 520V480'/%3E%3C/g%3E%3C/g%3E%3Cg fill='%237EE0FF'%3E%3Ccircle cx='200' cy='240' r='3.5' opacity='.38'/%3E%3Ccircle cx='320' cy='400' r='3' opacity='.32'/%3E%3Ccircle cx='460' cy='420' r='3' opacity='.32'/%3E%3Ccircle cx='360' cy='460' r='3' opacity='.3'/%3E%3Ccircle cx='180' cy='440' r='2.5' opacity='.28'/%3E%3Ccircle cx='340' cy='260' r='2.5' opacity='.3'/%3E%3Ccircle cx='200' cy='480' r='2' opacity='.25'/%3E%3Ccircle cx='360' cy='80' r='2.5' opacity='.25'/%3E%3C/g%3E%3Cg fill='none' stroke='%23F7941D' stroke-linecap='round'%3E%3Cpath d='M520 480H480V520' stroke-width='4' opacity='.05'/%3E%3Cpath d='M520 480H480V520' stroke-width='1.4' opacity='.14'/%3E%3C/g%3E%3Ccircle cx='480' cy='520' r='2.5' fill='%23F7941D' opacity='.3'/%3E%3C/svg%3E");
  --ckt-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%237EE0FF' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke-width='4' opacity='.045'%3E%3Cpath d='M0 300H120L180 240V160H280'/%3E%3Cpath d='M0 380H80V320H200'/%3E%3C/g%3E%3Cg stroke-width='1.3' opacity='.15'%3E%3Cpath d='M0 300H120L180 240V160H280'/%3E%3Cpath d='M0 380H80V320H200'/%3E%3Cpath d='M0 240H60V180'/%3E%3Cpath d='M140 420V360H240'/%3E%3C/g%3E%3C/g%3E%3Cg fill='%237EE0FF'%3E%3Ccircle cx='280' cy='160' r='3' opacity='.32'/%3E%3Ccircle cx='200' cy='320' r='2.5' opacity='.3'/%3E%3Ccircle cx='240' cy='360' r='2.5' opacity='.28'/%3E%3C/g%3E%3Cg fill='none' stroke='%23F7941D' stroke-linecap='round'%3E%3Cpath d='M0 240H60V180' stroke-width='4' opacity='.05'/%3E%3Cpath d='M0 240H60V180' stroke-width='1.3' opacity='.13'/%3E%3C/g%3E%3Ccircle cx='60' cy='180' r='2.5' fill='%23F7941D' opacity='.28'/%3E%3C/svg%3E");
}

/* 內頁頁首：右上角電路簇 */
.page-hero-bg {
  background:
    var(--ckt-a) right -30px top -30px / 540px auto no-repeat,
    radial-gradient(70% 92% at 82% 0%, rgba(23, 185, 207, 0.16), transparent 62%),
    radial-gradient(48% 44% at 6% 100%, rgba(46, 140, 255, 0.10), transparent 70%),
    radial-gradient(28% 26% at 94% 78%, rgba(247, 148, 29, 0.06), transparent 72%),
    linear-gradient(180deg, #061323, #08192B);
}
.page-hero--team .page-hero-bg {
  background:
    var(--ckt-a) right -30px top -30px / 540px auto no-repeat,
    linear-gradient(180deg, #061323, #08192B);
}

/* 深色板塊：右下角電路紋路（疊在極光上，無遮罩衰減） */
.section-dark:not(.rp-overview)::before {
  background:
    var(--ckt-b) right 20px bottom 20px / 400px auto no-repeat,
    radial-gradient(42% 46% at 80% 22%, rgba(23, 185, 207, 0.10), transparent 68%),
    radial-gradient(38% 40% at 8% 78%, rgba(46, 140, 255, 0.10), transparent 72%),
    radial-gradient(24% 22% at 72% 68%, rgba(108, 92, 231, 0.06), transparent 70%),
    radial-gradient(20% 18% at 18% 30%, rgba(247, 148, 29, 0.05), transparent 72%);
  background-repeat: no-repeat;
}
.rp-overview::before {
  background:
    var(--ckt-b) right 20px bottom 20px / 400px auto no-repeat,
    radial-gradient(50% 38% at 14% 4%, rgba(23, 185, 207, 0.05), transparent 70%),
    radial-gradient(40% 34% at 90% 96%, rgba(247, 148, 29, 0.04), transparent 72%);
  background-repeat: no-repeat;
}

/* 非首頁 CTA：青光雲旁加電路紋路 */
.cta-glow {
  background:
    var(--ckt-a) right -20px bottom -20px / 460px auto no-repeat,
    radial-gradient(45% 100% at 88% 55%, rgba(247, 148, 29, 0.08), transparent 65%),
    radial-gradient(52% 110% at 84% 62%, rgba(23, 185, 207, 0.11), transparent 62%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-repeat: no-repeat;
}

/* ---------- v2.5.4c · 首頁與頁腳補齊電路紋路（全站語言完全統一） ---------- */

/* 首頁 hero：左下角電路簇（右上已有橙斜帶青光，錯開佈局） */
.hero-center .hero-bg {
  background:
    var(--ckt-b) left -20px bottom -20px / 460px auto no-repeat,
    radial-gradient(64% 56% at 50% 42%, rgba(23, 185, 207, 0.10), transparent 62%),
    radial-gradient(48% 40% at 50% 88%, rgba(226, 160, 63, 0.06), transparent 70%),
    linear-gradient(180deg, #061323 0%, #071527 62%, #08192B 100%);
  background-repeat: no-repeat;
}

/* 首頁最新動態：右下角電路簇 */
.home .section-news::before {
  background:
    var(--ckt-b) right 30px bottom 40px / 420px auto no-repeat,
    radial-gradient(50% 34% at 50% 26%, rgba(46, 140, 255, 0.13), transparent 72%),
    radial-gradient(40% 34% at 88% 78%, rgba(108, 92, 231, 0.08), transparent 70%),
    radial-gradient(34% 30% at 6% 74%, rgba(23, 185, 207, 0.08), transparent 70%),
    radial-gradient(26% 22% at 74% 28%, rgba(247, 148, 29, 0.05), transparent 72%);
  background-repeat: no-repeat;
}

/* 首頁夥伴牆：左上角電路簇（星空保留） */
.home .pm-section::before {
  background:
    var(--ckt-b) left 20px top 20px / 420px auto no-repeat,
    radial-gradient(46% 40% at 14% 20%, rgba(23, 185, 207, 0.09), transparent 70%),
    radial-gradient(42% 38% at 90% 90%, rgba(46, 107, 255, 0.12), transparent 72%),
    radial-gradient(30% 26% at 78% 18%, rgba(247, 148, 29, 0.05), transparent 72%);
  background-repeat: no-repeat;
}

/* 頁腳：右上角電路簇（簽名線下方，呼應全站） */
.site-footer {
  background:
    var(--ckt-b) right -10px top -10px / 400px auto no-repeat,
    linear-gradient(180deg, #071829 0%, #050F1D 100%);
  background-repeat: no-repeat;
}

/* ========================= v2.6.0 · 淺色模式（html[data-theme="light"]） =========================
   參考 hkgai.org：頁頭太陽圖標一鍵切換。設計原則：
   ① 保留全站 UI 基因——電路紋路換深藍油墨色（--ckt-*-l）、極光光暈轉淡彩、網格轉藍圖線、橙斜帶保留
   ② 深藍畫布 → 白／淡藍灰紙面，文字反轉為深藍；品牌橙／青點綴不變
   ③ 雙份 logo：深色主題用 logo-light，淺色主題用原版彩色 logo */

/* 淺色版電路紋路（油墨藍走線 + 焊盤 + 橙色點綴，不透明度略高以在白底上可讀） */
:root {
  --ckt-a-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520'%3E%3Cg fill='none' stroke='%232E5F8A' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke-width='4' opacity='.07'%3E%3Cpath d='M520 80H360L300 140V240H200'/%3E%3Cpath d='M520 160H420V320H320V400'/%3E%3Cpath d='M520 260H460V420'/%3E%3Cpath d='M520 380H440V460H360'/%3E%3Cpath d='M280 520V440H180'/%3E%3C/g%3E%3Cg stroke-width='1.4' opacity='.22'%3E%3Cpath d='M520 80H360L300 140V240H200'/%3E%3Cpath d='M520 160H420V320H320V400'/%3E%3Cpath d='M520 260H460V420'/%3E%3Cpath d='M520 380H440V460H360'/%3E%3Cpath d='M280 520V440H180'/%3E%3Cpath d='M520 320H400V260H340'/%3E%3Cpath d='M200 520V480'/%3E%3C/g%3E%3C/g%3E%3Cg fill='%232E5F8A'%3E%3Ccircle cx='200' cy='240' r='3.5' opacity='.45'/%3E%3Ccircle cx='320' cy='400' r='3' opacity='.4'/%3E%3Ccircle cx='460' cy='420' r='3' opacity='.4'/%3E%3Ccircle cx='360' cy='460' r='3' opacity='.38'/%3E%3Ccircle cx='180' cy='440' r='2.5' opacity='.35'/%3E%3Ccircle cx='340' cy='260' r='2.5' opacity='.38'/%3E%3Ccircle cx='200' cy='480' r='2' opacity='.32'/%3E%3Ccircle cx='360' cy='80' r='2.5' opacity='.32'/%3E%3C/g%3E%3Cg fill='none' stroke='%23C2410C' stroke-linecap='round'%3E%3Cpath d='M520 480H480V520' stroke-width='4' opacity='.07'/%3E%3Cpath d='M520 480H480V520' stroke-width='1.4' opacity='.18'/%3E%3C/g%3E%3Ccircle cx='480' cy='520' r='2.5' fill='%23C2410C' opacity='.4'/%3E%3C/svg%3E");
  --ckt-b-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%232E5F8A' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke-width='4' opacity='.06'%3E%3Cpath d='M0 300H120L180 240V160H280'/%3E%3Cpath d='M0 380H80V320H200'/%3E%3C/g%3E%3Cg stroke-width='1.3' opacity='.2'%3E%3Cpath d='M0 300H120L180 240V160H280'/%3E%3Cpath d='M0 380H80V320H200'/%3E%3Cpath d='M0 240H60V180'/%3E%3Cpath d='M140 420V360H240'/%3E%3C/g%3E%3C/g%3E%3Cg fill='%232E5F8A'%3E%3Ccircle cx='280' cy='160' r='3' opacity='.4'/%3E%3Ccircle cx='200' cy='320' r='2.5' opacity='.38'/%3E%3Ccircle cx='240' cy='360' r='2.5' opacity='.35'/%3E%3C/g%3E%3Cg fill='none' stroke='%23C2410C' stroke-linecap='round'%3E%3Cpath d='M0 240H60V180' stroke-width='4' opacity='.07'/%3E%3Cpath d='M0 240H60V180' stroke-width='1.3' opacity='.17'/%3E%3C/g%3E%3Ccircle cx='60' cy='180' r='2.5' fill='%23C2410C' opacity='.38'/%3E%3C/svg%3E");
}

/* ---------- 切換按鈕 ---------- */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: var(--hbtn); height: var(--hbtn); padding: 0;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 6px;
  color: inherit; cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s;
}
.theme-toggle:hover { border-color: rgba(127, 200, 220, 0.6); background: rgba(127, 200, 220, 0.12); color: var(--cyan-2); }
.theme-toggle svg { width: clamp(18px, 1.35vw, 26px); height: clamp(18px, 1.35vw, 26px); }
.theme-toggle .ico-moon { display: none; }
html[data-theme="light"] .theme-toggle { border-color: rgba(10, 30, 52, 0.18); }
html[data-theme="light"] .theme-toggle:hover { border-color: var(--cyan); background: rgba(23, 185, 207, 0.08); color: #0B7C8C; }
html[data-theme="light"] .theme-toggle .ico-sun { display: none; }
html[data-theme="light"] .theme-toggle .ico-moon { display: block; }
.is-scrolled .theme-toggle { border-color: var(--line); }

/* ---------- 雙 logo 切換（默認深色主題只用淺色版 logo） ---------- */
.brand img.logo-img-dark { display: none; }
html[data-theme="light"] .brand img.logo-img-light { display: none; }
html[data-theme="light"] .brand img.logo-img-dark { display: block; }

/* ---------- 頁首 ---------- */
html[data-theme="light"] .site-header { color: var(--text); }
html[data-theme="light"] .site-header:not(.is-scrolled) { color: var(--text); }
html[data-theme="light"] .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  border-bottom-color: var(--line);
}
html[data-theme="light"] .lang-menu summary { border-color: rgba(10, 30, 52, 0.18); }
html[data-theme="light"] .lang-menu summary:hover { background: rgba(23, 185, 207, 0.08); }
html[data-theme="light"] .lang-panel {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--line);
  box-shadow: 0 14px 36px rgba(16, 42, 67, 0.16);
}
html[data-theme="light"] .lang-item { color: var(--text); }
html[data-theme="light"] .lang-item:hover { background: rgba(23, 185, 207, 0.08); color: #0B7C8C; }
html[data-theme="light"] .is-scrolled .lang-menu summary { border-color: var(--line); }
html[data-theme="light"] .nav-toggle { border-color: rgba(10, 30, 52, 0.18); }
html[data-theme="light"] .is-scrolled .nav-toggle { border-color: var(--line); }

/* ---------- 全屏導覽抽屜 ---------- */
html[data-theme="light"] .nav {
  background:
    linear-gradient(112deg, transparent 34%, rgba(247, 148, 29, 0.06) 34.6%, rgba(247, 148, 29, 0.02) 41%, transparent 41.6%),
    linear-gradient(112deg, transparent 60%, rgba(247, 148, 29, 0.035) 60.5%, transparent 65%),
    #F7FAFC;
}
html[data-theme="light"] .nav-open .site-header { background: transparent; color: var(--text); border-bottom-color: transparent; }
html[data-theme="light"] .nav-open .lang-menu summary,
html[data-theme="light"] .nav-open .theme-toggle,
html[data-theme="light"] .nav-open .nav-toggle { border-color: rgba(10, 30, 52, 0.22); background: transparent; }
html[data-theme="light"] .nav-open .lang-menu[open] summary { border-color: var(--cyan); background: rgba(23, 185, 207, 0.1); }
html[data-theme="light"] .nav > ul::before { color: rgba(60, 84, 108, 0.55); border-bottom-color: rgba(10, 30, 52, 0.1); }
html[data-theme="light"] .nav > ul > li { border-bottom-color: rgba(10, 30, 52, 0.1); }
html[data-theme="light"] .nav > ul > li > a { color: var(--text); }
html[data-theme="light"] .nav > ul > li > a:hover { color: #0B7C8C; }
html[data-theme="light"] .nav > ul > li.is-active > a { color: #0B7C8C; }
html[data-theme="light"] .nav .submenu li a { color: var(--muted); }
html[data-theme="light"] .nav .submenu li a:hover { color: #0B7C8C; }

/* ---------- 首頁 Hero：白紙面 + 油墨電路 + 淡彩光暈（橙斜帶保留） ---------- */
html[data-theme="light"] .hero-center .hero-bg {
  background:
    var(--ckt-a-l) left -20px bottom -20px / 460px auto no-repeat,
    radial-gradient(64% 56% at 50% 42%, rgba(24, 152, 178, 0.07), transparent 62%),
    radial-gradient(48% 40% at 50% 88%, rgba(226, 160, 63, 0.08), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #F4F9FC 62%, #EDF4FA 100%);
  background-repeat: no-repeat;
}
html[data-theme="light"] .hero-center .hero-bg::before {
  background-image:
    linear-gradient(rgba(24, 95, 165, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 95, 165, 0.055) 1px, transparent 1px);
}
html[data-theme="light"] .hero-center .hero-bg::after {
  background:
    linear-gradient(112deg, transparent 26%, rgba(247, 148, 29, 0.07) 26.6%, rgba(247, 148, 29, 0.022) 33%, transparent 33.6%),
    linear-gradient(112deg, transparent 46%, rgba(247, 148, 29, 0.04) 46.5%, rgba(247, 148, 29, 0.014) 51%, transparent 51.5%),
    linear-gradient(112deg, transparent 62%, rgba(14, 116, 144, 0.045) 62.5%, rgba(14, 116, 144, 0.012) 68%, transparent 68.5%);
}
html[data-theme="light"] .hero-center .eyebrow {
  border-color: rgba(10, 30, 52, 0.2); color: var(--muted);
  background: rgba(255, 255, 255, 0.65);
}
html[data-theme="light"] .hero-center h1 {
  background: linear-gradient(180deg, #14283C 22%, #3E6285 100%);
  -webkit-background-clip: text; background-clip: text;
}
html[data-theme="light"] .hero-center .hero-lede { color: var(--muted); }
html[data-theme="light"] .hero-center .btn-primary {
  background: var(--ink); color: #fff;
  box-shadow: 0 10px 30px rgba(16, 42, 67, 0.2);
}
html[data-theme="light"] .hero-center .btn-primary:hover { background: var(--ink); box-shadow: 0 16px 42px rgba(16, 42, 67, 0.3); }
html[data-theme="light"] .hero-center .btn-primary svg { color: #fff; }
html[data-theme="light"] .hero-foot, html[data-theme="light"] .hero-scroll { color: var(--muted); }

/* ---------- 首頁最新動態：淡藍紙面 + 油墨電路 ---------- */
html[data-theme="light"] .home .section-news {
  background: linear-gradient(180deg, #EDF4FA 0%, #F7FAFD 100%);
}
html[data-theme="light"] .home .section-news::before {
  background:
    var(--ckt-b-l) right 30px bottom 40px / 420px auto no-repeat,
    radial-gradient(50% 34% at 50% 26%, rgba(46, 140, 255, 0.07), transparent 72%),
    radial-gradient(40% 34% at 88% 78%, rgba(108, 92, 231, 0.05), transparent 70%),
    radial-gradient(34% 30% at 6% 74%, rgba(23, 185, 207, 0.08), transparent 70%),
    radial-gradient(26% 22% at 74% 28%, rgba(247, 148, 29, 0.06), transparent 72%);
  background-repeat: no-repeat;
}
html[data-theme="light"] .home .section-news .mono-label { color: #0B7C8C; }
html[data-theme="light"] .news-head-center h2 { color: var(--ink); }
html[data-theme="light"] .section-news .news-body h3 { color: var(--text); }
html[data-theme="light"] .section-news .news-meta { color: var(--muted); }
html[data-theme="light"] .section-news .news-thumb { box-shadow: inset 0 0 0 1px rgba(10, 30, 52, 0.12); }
html[data-theme="light"] .news-more-btn { border-color: rgba(10, 30, 52, 0.3); color: var(--text); }
html[data-theme="light"] .news-more-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- 首頁戰略合作夥伴：淡紙面 + 油墨電路（星空隱去） ---------- */
html[data-theme="light"] .home .pm-section { background: linear-gradient(180deg, #F7FAFD 0%, #EFF5FA 100%); }
html[data-theme="light"] .home .pm-section::before {
  background:
    var(--ckt-b-l) left 20px top 20px / 420px auto no-repeat,
    radial-gradient(46% 40% at 14% 20%, rgba(23, 185, 207, 0.08), transparent 70%),
    radial-gradient(42% 38% at 90% 90%, rgba(46, 107, 255, 0.06), transparent 72%),
    radial-gradient(30% 26% at 78% 18%, rgba(247, 148, 29, 0.06), transparent 72%);
  background-repeat: no-repeat;
}
html[data-theme="light"] .home .pm-section .pm-sky { opacity: 0; }
html[data-theme="light"] .pm-kicker { color: var(--ink); }
html[data-theme="light"] .pm-kicker::before { background: linear-gradient(90deg, transparent, rgba(24, 95, 165, 0.55)); }
html[data-theme="light"] .pm-kicker::after { background: linear-gradient(90deg, rgba(24, 95, 165, 0.55), transparent); }
html[data-theme="light"] .pm-lede { color: var(--muted); }
html[data-theme="light"] .pm-card { border-color: var(--line-soft); box-shadow: 0 6px 18px rgba(16, 42, 67, 0.08); }
html[data-theme="light"] .pm-card:hover { box-shadow: 0 12px 30px rgba(16, 42, 67, 0.14); }

/* ---------- CTA（全站）：淡紙面 + 油墨電路 ---------- */
html[data-theme="light"] .cta-band { background: linear-gradient(180deg, #EFF5FA, #FFFFFF); }
html[data-theme="light"] .cta-glow {
  background:
    var(--ckt-a-l) right -20px bottom -20px / 460px auto no-repeat,
    radial-gradient(45% 100% at 88% 55%, rgba(247, 148, 29, 0.09), transparent 65%),
    radial-gradient(52% 110% at 84% 62%, rgba(23, 185, 207, 0.09), transparent 62%),
    linear-gradient(90deg, rgba(10, 30, 52, 0.04) 1px, transparent 1px);
  background-repeat: no-repeat;
}
html[data-theme="light"] .cta-inner h2 { color: var(--ink); }
html[data-theme="light"] .cta-inner p { color: var(--muted); }

/* ---------- 頁腳：淡紙面 + 油墨電路（橙色簽名線保留） ---------- */
html[data-theme="light"] .site-footer {
  background:
    var(--ckt-b-l) right -10px top -10px / 400px auto no-repeat,
    linear-gradient(180deg, #F4F8FB 0%, #E9F0F7 100%);
  background-repeat: no-repeat;
  color: #3A556E;
}
html[data-theme="light"] .brand-footer .brand-text strong { color: var(--ink); }
html[data-theme="light"] .footer-name { color: var(--ink); }
html[data-theme="light"] .footer-parent { color: rgba(60, 84, 108, 0.55); }
html[data-theme="light"] .footer-col h3 { color: rgba(60, 84, 108, 0.6); }
html[data-theme="light"] .footer-col a:hover { color: #0B7C8C; }
html[data-theme="light"] .footer-media .muted { color: rgba(60, 84, 108, 0.5); }
html[data-theme="light"] .footer-bottom { border-top-color: rgba(10, 30, 52, 0.1); color: rgba(60, 84, 108, 0.55); }
html[data-theme="light"] .footer-legal a:hover { color: #0B7C8C; }

/* ---------- 內頁頁首 ---------- */
html[data-theme="light"] .page-hero { background: #FFFFFF; color: var(--text); }
html[data-theme="light"] .page-hero-bg {
  background:
    var(--ckt-a-l) right -30px top -30px / 540px auto no-repeat,
    radial-gradient(70% 92% at 82% 0%, rgba(23, 185, 207, 0.12), transparent 62%),
    radial-gradient(48% 44% at 6% 100%, rgba(46, 140, 255, 0.07), transparent 70%),
    radial-gradient(28% 26% at 94% 78%, rgba(247, 148, 29, 0.07), transparent 72%),
    linear-gradient(180deg, #FFFFFF, #EDF4F9);
  background-repeat: no-repeat;
}
html[data-theme="light"] .page-hero-bg::before {
  background-image:
    linear-gradient(rgba(24, 95, 165, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 95, 165, 0.05) 1px, transparent 1px);
}
html[data-theme="light"] .page-hero--team .page-hero-bg {
  background:
    var(--ckt-a-l) right -30px top -30px / 540px auto no-repeat,
    linear-gradient(180deg, #FFFFFF, #EDF4F9);
  background-repeat: no-repeat;
}
html[data-theme="light"] .page-hero h1 { color: var(--ink); }
html[data-theme="light"] .page-hero .eyebrow { color: #0B7C8C; }
html[data-theme="light"] .page-hero .page-lede { color: var(--muted); }
html[data-theme="light"] .breadcrumb ul { color: rgba(60, 84, 108, 0.6); }
html[data-theme="light"] .breadcrumb a:hover { color: #0B7C8C; }
html[data-theme="light"] .breadcrumb [aria-current] { color: var(--brand); }

/* ---------- 深色板塊（研究領域頁 / 團隊頁）：淡紙面 + 油墨電路 ---------- */
html[data-theme="light"] .section-dark { background: #F6FAFD; }
html[data-theme="light"] .section-dark:not(.rp-overview)::before {
  background:
    var(--ckt-b-l) right 20px bottom 20px / 400px auto no-repeat,
    radial-gradient(42% 46% at 80% 22%, rgba(23, 185, 207, 0.08), transparent 68%),
    radial-gradient(38% 40% at 8% 78%, rgba(46, 140, 255, 0.06), transparent 72%),
    radial-gradient(24% 22% at 72% 68%, rgba(108, 92, 231, 0.045), transparent 70%),
    radial-gradient(20% 18% at 18% 30%, rgba(247, 148, 29, 0.06), transparent 72%);
  background-repeat: no-repeat;
}
html[data-theme="light"] .section-dark:not(.rp-overview)::after {
  background-image:
    linear-gradient(rgba(24, 95, 165, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 95, 165, 0.055) 1px, transparent 1px);
}
html[data-theme="light"] .section-dark h2, html[data-theme="light"] .section-dark h3 { color: var(--ink); }
html[data-theme="light"] .section-dark .mono-label { color: #0B7C8C; }

/* 研究領域 RP 卡：深藍卡 → 白卡 */
html[data-theme="light"] .pillar-card { background: #FFFFFF; border: 1px solid var(--line-soft); }
html[data-theme="light"] .pillar-card:hover { background: #FFFFFF; }
html[data-theme="light"] .pillar-card h3 { color: var(--ink); }
html[data-theme="light"] .pillar-card p { color: var(--muted); }
html[data-theme="light"] .pillar-no { color: rgba(247, 148, 29, 0.65); }
html[data-theme="light"] .pillar-icon { border-color: rgba(10, 30, 52, 0.14); color: #4A7194; }
html[data-theme="light"] .pillar-card:hover .pillar-icon { color: #0B7C8C; border-color: rgba(23, 185, 207, 0.55); }
html[data-theme="light"] .rp-overview .pillar-grid { background: transparent; border-color: var(--line-soft); }
html[data-theme="light"] .rp-overview::before {
  background:
    var(--ckt-b-l) right 20px bottom 20px / 400px auto no-repeat,
    radial-gradient(50% 38% at 14% 4%, rgba(23, 185, 207, 0.06), transparent 70%),
    radial-gradient(40% 34% at 90% 96%, rgba(247, 148, 29, 0.05), transparent 72%);
  background-repeat: no-repeat;
}

/* 研究鏈條 / 設施卡 */
html[data-theme="light"] .chain-step strong { color: var(--ink); }
html[data-theme="light"] .chain-step span:last-child { color: var(--muted); }
html[data-theme="light"] .chain-no { color: rgba(194, 65, 12, 0.75); }
html[data-theme="light"] .facility { background: #FFFFFF; border: 1px solid var(--line-soft); }
html[data-theme="light"] .facility h3 { color: var(--ink); }
html[data-theme="light"] .facility p { color: var(--muted); }

/* RP 詳情頁側欄與正文（正文本為淺色，無需處理；側欄卡已是淺色） */
html[data-theme="light"] .rp-nav { border-color: var(--line); }
html[data-theme="light"] .rp-nav-item { border-color: var(--line); }

/* ---------- v2.6.0b · 淺色模式細節修正 ---------- */
/* 晶圓插畫：深色主題的發光灰芯片在白底上成灰團 → 大幅淡化保輪廓 */
html[data-theme="light"] .hero-center .hero-visual { opacity: 0.16; }
html[data-theme="light"] .hero-center .hero-visual .hero-art { filter: none; }
/* 幽靈按鈕：白字白框在淺底不可見 → 深藍描邊 */
html[data-theme="light"] .btn-ghost { border-color: rgba(10, 30, 52, 0.3); color: var(--ink); }
html[data-theme="light"] .btn-ghost:hover { background: rgba(10, 30, 52, 0.05); border-color: rgba(10, 30, 52, 0.55); }
/* 標籤 chips：深色主題的淺白字在白卡上太淡 → 油墨藍 */
html[data-theme="light"] .tag-list li { border-color: rgba(10, 30, 52, 0.16); color: #4A7194; }
html[data-theme="light"] .hero-center .hero-visual {
  opacity: 0.1;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 98%);
  mask-image: radial-gradient(closest-side, #000 55%, transparent 98%);
}

/* ---------- v2.6.0d · 團隊頁淺色適配（leader-card--dark 文字原為淺藍，白底不可讀） ---------- */
html[data-theme="light"] .leader-card--dark { background: #FFFFFF; border-color: var(--line-soft); }
html[data-theme="light"] .leader-card--dark .leader-name { color: var(--ink); }
html[data-theme="light"] .leader-card--dark .leader-name .leader-en { color: var(--muted); }
html[data-theme="light"] .leader-card--dark .leader-title { color: var(--ink); }
html[data-theme="light"] .leader-card--dark .leader-role { color: #B4530F; background: rgba(247, 148, 29, 0.1); }
html[data-theme="light"] .leader-card--dark .leader-lede { color: var(--ink); border-left-color: var(--brand); }
html[data-theme="light"] .leader-card--dark .leader-bio p { color: var(--muted); }
html[data-theme="light"] .leader-card--dark .leader-tag { color: #0A6C7E; border-color: rgba(23, 185, 207, 0.4); background: rgba(23, 185, 207, 0.06); }
html[data-theme="light"] .leader-card--dark .leader-mono { background: #E8F1F8; color: #2E5F8A; border: 1px solid var(--line); }
html[data-theme="light"] .team-strip { border-bottom-color: rgba(10, 30, 52, 0.12); }
html[data-theme="light"] .team-strip-label { color: var(--ink); }
html[data-theme="light"] .team-strip-count { color: #C2410C; }

/* ---------- v2.6.0d · 合作機構 logo：淺色 PNG 為深底設計，白底會發白 → 壓深保色相 ---------- */
html[data-theme="light"] .partner-logo { filter: brightness(0.42) saturate(1.5); }
/* 晶圓插畫在淺色下連 0.1 透明度仍形成大面積色塊（逐像素驗證），直接隱藏——
   淺色 hero 以白底 + 橙斜帶 + 油墨電路呈現（2026-11-13） */
html[data-theme="light"] .hero-center .hero-visual { display: none; }



/* ========================= zv_1d · 首頁第一屏：內嵌圓角卡片輪播（騰訊官網風格） =========================
   ① 白色/深色頁面上內嵌圓角大卡片，四周留頁面底色；頁首回歸常規（疊頁面底色而非照片）
   ② 卡片內：左下標題組（大標題 + 副題 + 「關於我們 →」文字鏈）+ 左下指示條
   ③ 紗幕為每張幻燈的 ::after，標題組蓋在紗幕上 */

.hero-kv {
  /* 卡片內左邊界（標題組與指示條對齊用） */
  --kv-left: clamp(28px, 4.5vw, 60px);
  --kv-radius: 22px;
  position: relative;
  min-height: 0; height: auto;
  display: block;
  /* 卡片四周（深色主題）：深藍夜幕 + 藍色電路紋理 + 兩側青藍輝光，科幻感 */
  background:
    radial-gradient(52% 46% at 10% 6%, rgba(23, 185, 207, 0.18), transparent 62%),
    radial-gradient(58% 52% at 90% 98%, rgba(43, 110, 255, 0.20), transparent 64%),
    url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%234AA8E8' stroke-opacity='0.26' stroke-width='1.4'%3E%3Cpath d='M100 0 V180 H260'/%3E%3Cpath d='M800 140 H620 V320'/%3E%3Cpath d='M0 560 H180 V700 H340'/%3E%3C/g%3E%3Cg fill='%234AA8E8' fill-opacity='0.28'%3E%3Crect x='257.5' y='177.5' width='5' height='5' rx='1'/%3E%3Crect x='617.5' y='137.5' width='5' height='5' rx='1'/%3E%3Crect x='617.5' y='317.5' width='5' height='5' rx='1'/%3E%3Crect x='177.5' y='697.5' width='5' height='5' rx='1'/%3E%3Crect x='337.5' y='697.5' width='5' height='5' rx='1'/%3E%3C/g%3E%3Cg fill='%237CD0FF' fill-opacity='0.42'%3E%3Ccircle cx='260' cy='180' r='3'/%3E%3Ccircle cx='340' cy='700' r='3'/%3E%3C/g%3E%3C/svg%3E") repeat,
    linear-gradient(180deg, #0A1F3A 0%, #071527 70%, #050F1E 100%);
  /* 頂部留白=頁首高度（zv_66 同步流式）：logo 在頁首帶垂直居中 →「頁頂→logo」=「logo→卡片頂」 */
  padding: clamp(104px, 7.4vw, 140px) clamp(14px, 2.6vw, 36px) clamp(20px, 3vw, 40px);
  overflow: visible;
}
html[data-theme="light"] .hero-kv { background: var(--white); } /* 淺色主題=白紙 */

/* 首頁頁首與卡片邊緣對齊（騰訊官網式）：微微內縮一點（比卡片多 ~12px） */
body.home .site-header .header-inner {
  max-width: none;
  padding-left: clamp(24px, 3.4vw, 48px);
  padding-right: clamp(24px, 3.4vw, 48px);
}
.hero-kv .hero-bg { display: none; }   /* 頁面底色直接露出 */
.hero-kv .hero-visual,
.hero-kv .hero-foot { display: none; }

html[data-theme="dark"] .hero-kv .hero-slides,
html:not([data-theme]) .hero-kv .hero-slides {
  box-shadow: 0 24px 70px rgba(2, 8, 18, 0.6), 0 0 0 1px rgba(84, 186, 255, 0.16), 0 0 56px rgba(43, 130, 255, 0.14);
}

/* 半導體走線簇（深色主題）：左上與右下各一組，貼卡片邊緣放射 */
html[data-theme="dark"] .hero-kv::before,
html[data-theme="dark"] .hero-kv::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: min(560px, 46vw); height: 180px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='180' viewBox='0 0 560 180'%3E%3Cg fill='none' stroke='%234db4ff' stroke-opacity='0.10' stroke-width='4'%3E%3Cpath d='M0 36h120l26 26h190'/%3E%3Cpath d='M0 78h70l30 30h120l22 22h180'/%3E%3Cpath d='M56 0v46l30 30'/%3E%3C/g%3E%3Cg fill='none' stroke='%234db4ff' stroke-opacity='0.5' stroke-width='1.3'%3E%3Cpath d='M0 36h120l26 26h190'/%3E%3Cpath d='M0 78h70l30 30h120l22 22h180'/%3E%3Cpath d='M56 0v46l30 30'/%3E%3Cpath d='M210 0v28l20 20h90'/%3E%3C/g%3E%3Cg fill='none' stroke='%2323b9cf' stroke-opacity='0.4' stroke-width='1.1'%3E%3Cpath d='M0 122h96l24 24h150'/%3E%3C/g%3E%3Ccircle cx='336' cy='62' r='3.2' fill='%238fd8ff'/%3E%3Ccircle cx='242' cy='130' r='2.8' fill='%234db4ff'/%3E%3Ccircle cx='86' cy='76' r='2.6' fill='%237ad7ff'/%3E%3Ccircle cx='320' cy='48' r='2.2' fill='%2323e0f0'/%3E%3Ccircle cx='270' cy='146' r='2' fill='%238fd8ff'/%3E%3C/svg%3E") no-repeat;
  animation: kvTrace 5.2s ease-in-out infinite;
}
html[data-theme="dark"] .hero-kv::before { left: 0; top: 0; }
html[data-theme="dark"] .hero-kv::after {
  right: 0; bottom: 0; transform: scale(-1, -1);
  animation-delay: 2.6s;
}
@keyframes kvTrace { 0%, 100% { opacity: 0.8; } 50% { opacity: 1; } }

/* 文字層（獨立於輪播，不隨 ken-burns 縮放）：蓋在卡片上，與指示條左緣對齊 */
.kv-caps {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
}
.kv-caps .kv-cap { pointer-events: auto; }
/* zv_1zm：非活動字幕必須連 pointer-events 一起關——僅 opacity:0 時它們仍
   疊在最上層攔截 hover/點擊，令可見字幕的鏈接「消失」（點了會跳去別張） */
.kv-caps .kv-cap:not(.is-active) { opacity: 0; pointer-events: none; }

/* 左右兩側豎向走線（深色主題）：漸隱上下端 + 發光節點，與四角走線簇同語言 */
html[data-theme="dark"] .hero-kv .kv-edges,
html:not([data-theme]) .hero-kv .kv-edges {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(4px 4px at 18px 24%, rgba(143, 216, 255, 0.95) 55%, transparent 62%),
    radial-gradient(3px 3px at 17px 66%, rgba(77, 180, 255, 0.8) 55%, transparent 62%),
    radial-gradient(4px 4px at calc(100% - 18px) 76%, rgba(143, 216, 255, 0.9) 55%, transparent 62%),
    radial-gradient(3px 3px at calc(100% - 17px) 32%, rgba(35, 224, 240, 0.7) 55%, transparent 62%),
    linear-gradient(180deg, rgba(77, 180, 255, 0) 0%, rgba(77, 180, 255, 0.42) 24%, rgba(35, 185, 207, 0.28) 74%, rgba(77, 180, 255, 0) 100%) 17px 0 / 1.5px 100% no-repeat,
    linear-gradient(180deg, rgba(77, 180, 255, 0) 0%, rgba(35, 185, 207, 0.26) 30%, rgba(77, 180, 255, 0.42) 76%, rgba(77, 180, 255, 0) 100%) calc(100% - 17px) 0 / 1.5px 100% no-repeat;
  animation: kvTrace 6.4s ease-in-out infinite;
}
@media (max-width: 760px) {
  html[data-theme="dark"] .hero-kv .kv-edges { background: none; } /* 窄屏邊框太窄，豎線讓位 */
}
@media (prefers-reduced-motion: reduce) {
  html[data-theme="dark"] .hero-kv::before,
  html[data-theme="dark"] .hero-kv::after { animation: none; }
}

/* 卡片容器 */
.hero-kv .hero-slides {
  position: relative; inset: auto; z-index: 1; /* 蓋過四角走線簇，藍光只留在邊框留白 */
  height: max(560px, min(78vh, 54vw)); /* zv_65：騰訊首頁式——掛視口高度，展示圖無論顯示器/筆記本都佔首屏 ~78%，vw 上限防超寬屏裁切過狠 */
  border-radius: var(--kv-radius);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(6, 18, 34, 0.18);
  background: #061323;
}
.hero-slide {
  position: absolute; inset: -26px;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.02);
  transition: opacity 1.4s ease;
  will-change: opacity, transform;
}
.hero-slide.is-active { opacity: 1; animation: heroKv 7.9s linear forwards; }
@keyframes heroKv { from { transform: scale(1.02); } to { transform: scale(1.09); } }

/* 每張幻燈自帶紗幕：左下加重保標題可讀 */
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 13, 26, 0.40) 0%, rgba(4, 13, 26, 0.14) 46%, rgba(4, 13, 26, 0) 72%),
    linear-gradient(180deg, rgba(4, 13, 26, 0.30) 0%, rgba(4, 13, 26, 0.02) 34%, rgba(3, 10, 22, 0.08) 62%, rgba(4, 12, 25, 0.58) 100%);
}

/* ---------- zv_2b2 全站黑夜模式粒子星空底 ---------- */
/* 星空畫布：fixed 鋪滿視口，位於所有內容之下、頁面底色之上 */
#site-stars {
  display: none; /* 淺色模式不出現 */
  position: fixed; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  pointer-events: none;
}
html[data-theme="dark"] #site-stars,
html:not([data-theme]) #site-stars { display: block; }

/* 黑夜模式頁面底色：HKGAI 式純深藍夜幕（原本 --white 白底被全站星空取代） */
html[data-theme="dark"] body,
html:not([data-theme]) body {
  background:
    radial-gradient(60% 34% at 18% 0%, rgba(58, 120, 200, 0.07), transparent 62%),
    radial-gradient(56% 40% at 84% 100%, rgba(44, 84, 190, 0.08), transparent 64%),
    linear-gradient(180deg, #0A1322 0%, #081020 48%, #060C1A 100%);
  background-attachment: fixed;
}

/* 讓星空透出來：黑夜模式下各板塊的不透明底改透明（淺色模式各自有覆蓋，不受影響） */
html[data-theme="dark"] .section-dark,
html:not([data-theme]) .section-dark,
html[data-theme="dark"] .section-dark.section-team,
html:not([data-theme]) .section-dark.section-team,
html[data-theme="dark"] .section-news,
html:not([data-theme]) .section-news,
html[data-theme="dark"] .home .section-news,
html:not([data-theme]) .home .section-news,
html[data-theme="dark"] .pm-section,
html:not([data-theme]) .pm-section,
html[data-theme="dark"] .home .pm-section,
html:not([data-theme]) .home .pm-section,
html[data-theme="dark"] .page-hero,
html:not([data-theme]) .page-hero { background: transparent; }

/* 內頁頁首底紋：保留電路紋與光暈，僅把最深處的實心漸層換成半透明（星空微透） */
html[data-theme="dark"] .page-hero-bg,
html:not([data-theme]) .page-hero-bg {
  background:
    var(--ckt-a) right -30px top -30px / 540px auto no-repeat,
    radial-gradient(70% 92% at 82% 0%, rgba(23, 185, 207, 0.16), transparent 62%),
    radial-gradient(48% 44% at 6% 100%, rgba(46, 140, 255, 0.10), transparent 70%),
    radial-gradient(28% 26% at 94% 78%, rgba(247, 148, 29, 0.06), transparent 72%),
    linear-gradient(180deg, rgba(6, 19, 35, 0.42), rgba(8, 25, 43, 0.30));
}
html[data-theme="dark"] .page-hero--team .page-hero-bg,
html:not([data-theme]) .page-hero--team .page-hero-bg {
  background:
    var(--ckt-a) right -30px top -30px / 540px auto no-repeat,
    linear-gradient(180deg, rgba(6, 19, 35, 0.42), rgba(8, 25, 43, 0.30));
}

/* 頁尾：半透明深藍，星空隱約透出 */
html[data-theme="dark"] .site-footer,
html:not([data-theme]) .site-footer { background: rgba(15, 26, 46, 0.88); }

/* ---------- 標題組（卡片內左下） ---------- */
.kv-cap {
  position: absolute; z-index: 2;
  left: var(--kv-left); /* 與指示條同一座標層，左緣精確對齊 */
  bottom: clamp(76px, 6.5vw, 128px); /* zv_67：隨屏幕比例浮起，避免大字壓到指示條 */
  max-width: min(880px, calc(100% - var(--kv-left) - 32px));
  opacity: 0;
}
.kv-cap.is-active { animation: kvCapIn 1s 0.45s var(--ease, ease) forwards; }
@keyframes kvCapIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
.kv-cap-title {
  font-size: clamp(30px, 3.2vw, 62px); line-height: 1.18; font-weight: 600; /* zv_67：騰訊式大字，隨屏幕比例縮放 */
  letter-spacing: 0.01em; color: #fff; margin: 0 0 clamp(12px, 1vw, 20px);
  text-shadow: 0 2px 24px rgba(2, 8, 18, 0.55);
}
/* zv_1zm：大字標題可點（鏈接對應各頁面），樣式與純標題一致 */
.kv-cap-title a { color: inherit; text-decoration: none; }
.kv-cap-title a:hover { opacity: 0.88; }
.kv-cap-sub {
  font-size: clamp(15px, 1.45vw, 27px); line-height: 1.7;
  color: rgba(228, 240, 249, 0.82); margin: 0;
}
.kv-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: clamp(22px, 1.6vw, 32px); padding-bottom: 4px;
  color: #fff; font-size: clamp(15px, 1.05vw, 20px); letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  transition: gap 0.2s var(--ease, ease), border-color 0.2s;
}
.kv-link:hover { gap: 13px; border-color: #fff; }
.kv-link svg { width: clamp(15px, 1vw, 19px); height: clamp(15px, 1vw, 19px); }

/* ---------- 指示條（卡片內左下） ---------- */
.hero-kv .hero-dots {
  position: absolute; z-index: 3;
  left: var(--kv-left); bottom: clamp(30px, 2.2vw, 44px);
  display: flex; gap: clamp(14px, 1vw, 20px);
}
.hero-dot {
  width: clamp(48px, 3.6vw, 70px); height: clamp(4px, 0.3vw, 6px); padding: 0; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.28); border-radius: 3px;
  position: relative; overflow: hidden;
  transition: background 0.3s, transform 0.2s;
}
.hero-dot::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: #F7941D; }
.hero-dot:hover { background: rgba(255, 255, 255, 0.48); transform: scaleY(1.35); }
.hero-dot.is-active { background: rgba(255, 255, 255, 0.44); }
.hero-dot.is-active::after { width: 100%; animation: heroDot 4s linear forwards; }
@keyframes heroDot { from { width: 0; } to { width: 100%; } }

.hero-kv.is-paused .hero-slide.is-active,
.hero-kv.is-paused .hero-dot.is-active::after { animation-play-state: paused; }

/* ---------- 動效降級 ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active { animation: none; }
  .hero-dot.is-active::after { animation: none; width: 100%; }
  .kv-cap.is-active { animation: none; opacity: 1; }
}

/* ---------- 行動端 ---------- */
@media (max-width: 760px) {
  .hero-kv { --kv-radius: 16px; padding: 68px 12px 16px; }
  .header-inner .brand img { height: 42px !important; max-height: 42px !important; max-width: 190px !important; }
  .hero-kv .hero-slides { height: max(380px, min(64vh, 150vw)); } /* zv_65：手機同樣滿屏化，約佔首屏 64% */
  .kv-cap { bottom: 76px; }
  .kv-link { margin-top: 20px; }
  .hero-kv .hero-dots { bottom: 24px; gap: 10px; }
  .hero-dot { width: 32px; height: 3.5px; }
}

/* ========================= zv_1l · 首頁銜接 + 內頁索引欄與首板塊優化 ========================= */

/* 1) 首頁卡片與「最新動態」銜接收緊，消除割裂空白 */
.hero-kv { padding-bottom: clamp(26px, 3vw, 42px); }
body.home .section-news { padding-top: clamp(30px, 4vw, 52px); }

/* 2) 內頁首板塊：上下收窄、標題收一檔，更簡約 */
.page-hero { padding: 112px 0 clamp(26px, 3.2vw, 44px); }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 46px); }
.page-hero .page-lede { margin-top: 16px; }
@media (max-width: 960px) {
  .page-hero { padding-top: 96px; }
}

/* 3) 索引欄（麵包屑 + 頁內標籤）：字體放大、間距優化（顏色沿用雙主題現有設定） */
.breadcrumb { margin-bottom: 14px; }
.breadcrumb ul { font-size: 15.5px; letter-spacing: 0.04em; gap: 12px; }
.page-hero .eyebrow { font-size: 17px; letter-spacing: 0.1em; margin-bottom: 20px; gap: 12px; }
.page-hero .eyebrow::before { width: 34px; height: 2px; opacity: 1; }

/* RP 詳情頁：標題/簡介/標籤移入正文頂部（zv_1m） */
.rp-lead { margin-bottom: clamp(20px, 2.6vw, 30px); }
.rp-lead .tag-list { margin-bottom: 0; }
.rp-lead-title {
  font-size: clamp(28px, 3.6vw, 46px); line-height: 1.18; font-weight: 600;
  letter-spacing: 0.01em; margin: 0 0 14px; color: inherit;
}
.rp-lead-lede {
  font-size: clamp(15px, 1.2vw, 17px); line-height: 1.85;
  color: var(--muted); max-width: 62ch; margin: 0 0 18px;
}

/* 新聞詳情頁：日期/標題/摘要移入正文頂部（zv_1n），hero 只留索引欄 */
.article-lead { margin-bottom: clamp(24px, 3.4vw, 38px); }
.article-lead .eyebrow { font-size: 15px; letter-spacing: 0.1em; margin-bottom: 16px; }
.article-lead-title {
  font-size: clamp(26px, 3.4vw, 44px); line-height: 1.22; font-weight: 600;
  letter-spacing: 0.01em; margin: 12px 0 14px; color: inherit;
}
.article-lead-lede {
  font-size: clamp(15px, 1.2vw, 17px); line-height: 1.85;
  color: var(--muted); max-width: 62ch; margin: 0;
}


/* ========================= zv_1p · 黑夜模式全站內容區（data-theme="dark"） =========================
   基礎樣式為白紙內容頁；此塊在黑夜模式下翻轉文本變量、組件卡片與 body 底色，
   並鋪上低調的半導體電路紋理（比首頁邊框更含蓄），保持可讀性優先。 */

html[data-theme="dark"] {
  --text: #E3EEF8;
  --muted: #A6BCCF;
  --line: rgba(150, 195, 235, 0.17);
  --line-soft: rgba(150, 195, 235, 0.09);
  --paper: #1D2C45;
  --cyan-soft: rgba(23, 185, 207, 0.14);
  --brand-soft: rgba(240, 96, 42, 0.14);
}

/* body：深藍夜幕 + 柔和電路紋理 + 兩角微輝光 */
html[data-theme="dark"] body {
  background:
    radial-gradient(48% 38% at 12% 0%, rgba(56, 214, 230, 0.10), transparent 60%),
    radial-gradient(52% 42% at 88% 100%, rgba(70, 130, 255, 0.12), transparent 62%),
    url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%234AA8E8' stroke-opacity='0.26' stroke-width='1.4'%3E%3Cpath d='M100 0 V180 H260'/%3E%3Cpath d='M800 140 H620 V320'/%3E%3Cpath d='M0 560 H180 V700 H340'/%3E%3C/g%3E%3Cg fill='%234AA8E8' fill-opacity='0.28'%3E%3Crect x='257.5' y='177.5' width='5' height='5' rx='1'/%3E%3Crect x='617.5' y='137.5' width='5' height='5' rx='1'/%3E%3Crect x='617.5' y='317.5' width='5' height='5' rx='1'/%3E%3Crect x='177.5' y='697.5' width='5' height='5' rx='1'/%3E%3Crect x='337.5' y='697.5' width='5' height='5' rx='1'/%3E%3C/g%3E%3Cg fill='%237CD0FF' fill-opacity='0.42'%3E%3Ccircle cx='260' cy='180' r='3'/%3E%3Ccircle cx='340' cy='700' r='3'/%3E%3C/g%3E%3C/svg%3E") repeat,
    linear-gradient(180deg, #14273F 0%, #102138 55%, #0D1C30 100%);
  background-attachment: scroll;
  color: var(--text);
}

/* 標題與強調文字（--ink 當字色用的場景） */
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3, html[data-theme="dark"] h4 { color: #EAF4FB; }
html[data-theme="dark"] .section-title,
html[data-theme="dark"] .fact-row dd,
html[data-theme="dark"] .leader-title,
html[data-theme="dark"] .kv-cap-title,
html[data-theme="dark"] .rp-lead-title,
html[data-theme="dark"] .article-lead-title,
html[data-theme="dark"] p.lead,
html[data-theme="dark"] .btn-outline { color: #EAF4FB; }
html[data-theme="dark"] .btn-outline { border-color: rgba(150, 195, 235, 0.35); }
html[data-theme="dark"] .focus-item li,
html[data-theme="dark"] .check-list li,
html[data-theme="dark"] .fact-row dt,
html[data-theme="dark"] .rp-lead-lede,
html[data-theme="dark"] .article-lead-lede,
html[data-theme="dark"] .rp-challenge,
html[data-theme="dark"] .rp-h2,
html[data-theme="dark"] .section-lede,
html[data-theme="dark"] .news-body p,
html[data-theme="dark"] .article-body p,
html[data-theme="dark"] .article-body li { color: var(--text); }

/* 硬編碼 #2B4257 正文色批量翻轉（prose/卡片/時間線/新聞正文/側欄等） */
html[data-theme="dark"] .prose p,
html[data-theme="dark"] .partner-name,
html[data-theme="dark"] .vm-card p,
html[data-theme="dark"] .tl-text,
html[data-theme="dark"] .outcome-list li,
html[data-theme="dark"] .side-card p,
html[data-theme="dark"] .side-card--cta p,
html[data-theme="dark"] .form-success p,
html[data-theme="dark"] .prose li,
html[data-theme="dark"] .event-info,
html[data-theme="dark"] .news-body p,
html[data-theme="dark"] .fact-row dt { color: #C9DAE9; }
html[data-theme="dark"] .outcome-list li { border-bottom-color: var(--line-soft); }

/* 白底按鈕翻轉 */
html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .header-inner .btn { background: rgba(38, 56, 88, 0.9); color: #EAF4FB; border-color: rgba(150, 195, 235, 0.32); }
html[data-theme="dark"] .btn-primary:hover { border-color: var(--cyan); }

/* 卡片類組件：半透明深藍 + 細光邊 */
html[data-theme="dark"] .side-card,
html[data-theme="dark"] .side-card--cta,
html[data-theme="dark"] .pillar-card,
html[data-theme="dark"] .news-card,
html[data-theme="dark"] .event-card,
html[data-theme="dark"] .vm-card,
html[data-theme="dark"] .value-item,
html[data-theme="dark"] .focus-item,
html[data-theme="dark"] .leader-card,
html[data-theme="dark"] .partner,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] blockquote {
  background: rgba(32, 48, 76, 0.6);
  border-color: var(--line);
}
html[data-theme="dark"] .side-card,
html[data-theme="dark"] .pillar-grid--big .pillar-card,
html[data-theme="dark"] .vm-card { background: linear-gradient(180deg, rgba(40, 58, 90, 0.75), rgba(29, 44, 69, 0.75)); }
html[data-theme="dark"] .pillar-grid--big .pillar-card:hover { background: rgba(48, 68, 102, 0.85); }
html[data-theme="dark"] .side-card .mono-label { color: var(--cyan-2); }
html[data-theme="dark"] .tl-dot { background: #1D2C45; }

/* 麵包屑在深色內容區的配色 */
html[data-theme="dark"] .breadcrumb ul { color: rgba(190, 218, 234, 0.6); }

/* 表單控件 */
html[data-theme="dark"] input, html[data-theme="dark"] textarea, html[data-theme="dark"] select {
  background: rgba(26, 40, 64, 0.85); border-color: var(--line); color: #EAF4FB;
}

/* 選中/高亮背景塊（paper 變量已翻轉，這裡補硬編碼淺色） */
html[data-theme="dark"] .section-events,
html[data-theme="dark"] .submenu li a:hover { background: transparent; }
html[data-theme="dark"] .submenu { background: #1D2C45; border-color: var(--line); }
html[data-theme="dark"] .submenu li a { color: var(--text); }
html[data-theme="dark"] .site-footer { background: #141F35; }
html[data-theme="dark"] .section-dark { background: #1B2A45; }

/* ========================= zv_1z · 黑夜模式板塊縫合 =========================
   頁首索引欄與 CTA/深色板塊原本各自帶 #061323/#08192B 底色，
   與主內容的 #14273F 漸變+紋理形成明顯斷層；
   改為透出 body 連續底色，僅保留青/藍微光暈作點綴，視覺一體化。 */
html[data-theme="dark"] .page-hero { background: transparent; }
html[data-theme="dark"] .page-hero-bg {
  background:
    radial-gradient(70% 92% at 82% 0%, rgba(23, 185, 207, 0.09), transparent 62%),
    radial-gradient(48% 44% at 6% 100%, rgba(46, 140, 255, 0.07), transparent 70%);
}
html[data-theme="dark"] .page-hero--team .page-hero-bg {
  background:
    radial-gradient(70% 92% at 82% 0%, rgba(23, 185, 207, 0.09), transparent 62%),
    radial-gradient(48% 44% at 6% 100%, rgba(46, 140, 255, 0.07), transparent 70%);
}
html[data-theme="dark"] .section-dark { background: transparent; }
html[data-theme="dark"] .cta-band { background: transparent; }

/* zv_1z 巡檢補漏：黑夜模式隱形字 */
html[data-theme="dark"] .contact-block p { color: #C9DAE9; }
html[data-theme="dark"] .news-row-date time { color: var(--text); }

/* ========================= zv_1za · RP 上下領域導航改按鈕 =========================
   原為整條細字帶（返回/下一領域 15px），改為兩枚邊框按鈕卡片，文字放大一檔。 */
.rp-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: none; border-bottom: none; }
.rp-nav-item {
  border: 1px solid var(--line); border-radius: 10px; background: var(--white);
  padding: 14px 22px; display: flex; align-items: center; gap: 14px;
  transition: border-color 0.25s, background 0.25s;
}
.rp-nav-item + .rp-nav-item { border-left: 1px solid var(--line); padding-left: 22px; justify-content: flex-end; }
.rp-nav-item .mono-label { font-size: 12px; margin: 0; }
.rp-nav-item strong { font-size: 16.5px; font-weight: 600; color: var(--ink); }
.rp-nav-item::after { content: none; }
.rp-nav-item:hover { border-color: rgba(23, 185, 207, 0.55); background: rgba(23, 185, 207, 0.05); }
.rp-nav-item:hover strong { color: var(--cyan); }
html[data-theme="dark"] .rp-nav-item { background: rgba(32, 48, 76, 0.45); }
@media (max-width: 640px) {
  .rp-nav { grid-template-columns: 1fr; gap: 10px; }
  .rp-nav-item + .rp-nav-item { border-left: 1px solid var(--line); padding-left: 22px; justify-content: flex-start; }
}
html[data-theme="dark"] .rp-nav-item strong { color: var(--text); }
html[data-theme="dark"] .rp-nav-item .mono-label { color: var(--muted); }

/* zv_1zd 修復：黑夜模式下抽屜選單的子列表被 dark .submenu 實色蓋住，還原平鋪透明。
   zv_1zn 修正：本站 v2.4.5 起為全寬度抽屜導覽（桌面無 hover 下拉），不必限 960px */
html[data-theme="dark"] .nav .submenu { background: transparent; border: 0; box-shadow: none; padding: 0 0 16px; }

/* ========================= zv_1zf · 內頁內容區套首頁淺色紙面款式 =========================
   非首頁的正文原為純白，改為首頁同款：青/藍/橙微光暈 + 白→淡藍漸變。
   zv_34：應用戶要求移除油墨電路簇（右上/左下走線），與黑夜模式一致走乾淨路線。 */
html[data-theme="light"] body:not(.home) {
  background:
    radial-gradient(52% 26% at 88% 6%, rgba(23, 185, 207, 0.07), transparent 70%),
    radial-gradient(44% 28% at 4% 92%, rgba(46, 140, 255, 0.06), transparent 72%),
    radial-gradient(30% 20% at 80% 58%, rgba(247, 148, 29, 0.04), transparent 72%),
    linear-gradient(180deg, #FFFFFF 0%, #F7FAFD 58%, #EFF5FA 100%);
}

/* ---------------------------------------------------------------- zv_1zp：夥伴卡片帶官網連結時為 <a>，外觀與 div 版一致 */
a.pm-card,
a.partner {
	color: inherit;
	text-decoration: none;
}

a.pm-card {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.pm-card:hover {
	transform: translateY(-2px);
}

a.partner:hover {
	opacity: 0.82;
}

/* ========================= zv_2c · HKGAI 黑夜模式全面對齊 =========================
   用戶要求：黑夜模式拋棄半導體電路紋路與自製配色，完全對齊 hkgai.org——
   通體 #0A101F 深藏青實底、頂部中央淡藍輝光、半透明深藍板塊、星空粒子。
   僅作用黑夜模式；淺色模式不受影響。 */

/* 1) 半導體電路紋與極光裝飾：黑夜模式全部移除 */
html[data-theme="dark"] .page-hero-bg,
html:not([data-theme]) .page-hero-bg,
html[data-theme="dark"] .section-dark::before,
html:not([data-theme]) .section-dark::before,
html[data-theme="dark"] .rp-overview::before,
html:not([data-theme]) .rp-overview::before,
html[data-theme="dark"] .cta-glow,
html:not([data-theme]) .cta-glow,
html[data-theme="dark"] .hero-center .hero-bg,
html:not([data-theme]) .hero-center .hero-bg,
html[data-theme="dark"] .hero-bg,
html:not([data-theme]) .hero-bg,
html[data-theme="dark"] .home .section-news::before,
html:not([data-theme]) .home .section-news::before,
html[data-theme="dark"] .home .pm-section::before,
html:not([data-theme]) .home .pm-section::before,
html[data-theme="dark"] .section-news::after,
html:not([data-theme]) .section-news::after,
html[data-theme="dark"] .home .section-news::after,
html:not([data-theme]) .home .section-news::after,
html[data-theme="dark"] .section-dark:not(.rp-overview)::after,
html:not([data-theme]) .section-dark:not(.rp-overview)::after,
html[data-theme="dark"] .rp-overview::after,
html:not([data-theme]) .rp-overview::after,
html[data-theme="dark"] .section-team .team-grid-bg,
html:not([data-theme]) .section-team .team-grid-bg,
html[data-theme="dark"] .thumb-grid,
html:not([data-theme]) .thumb-grid,
html[data-theme="dark"] .hero-kv::before,
html:not([data-theme]) .hero-kv::before,
html[data-theme="dark"] .hero-kv::after,
html:not([data-theme]) .hero-kv::after,
html[data-theme="dark"] .hero-kv .kv-edges,
html:not([data-theme]) .hero-kv .kv-edges { display: none !important; }

/* 2) 通體實底：HKGAI body 同色（oklch(0.165 .03 262) ≈ #0A101F），取消漸變 */
html[data-theme="dark"] body,
html:not([data-theme]) body { background: #0A101F; }

/* 3) 頂部中央淡藍輝光：HKGAI hero 同款 radial（首頁主視覺區與內頁頁首） */
html[data-theme="dark"] .hero-kv,
html:not([data-theme]) .hero-kv,
html[data-theme="dark"] .page-hero,
html:not([data-theme]) .page-hero {
  background:
    radial-gradient(circle at 50% 0px, rgba(106, 150, 255, 0.16), transparent 34%),
    radial-gradient(circle at 12% 16%, rgba(96, 132, 226, 0.08), transparent 24%);
}

/* 4) 板塊：HKGAI 式半透明深藍面板 rgba(7,16,29,.72)，星空從面板下隱約透出 */
html[data-theme="dark"] .section-dark,
html:not([data-theme]) .section-dark,
html[data-theme="dark"] .section-dark.section-team,
html:not([data-theme]) .section-dark.section-team,
html[data-theme="dark"] .section-news,
html:not([data-theme]) .section-news,
html[data-theme="dark"] .home .section-news,
html:not([data-theme]) .home .section-news,
html[data-theme="dark"] .pm-section,
html:not([data-theme]) .pm-section,
html[data-theme="dark"] .home .pm-section,
html:not([data-theme]) .home .pm-section,
html[data-theme="dark"] .cta-band,
html:not([data-theme]) .cta-band { background: rgba(7, 16, 29, 0.72); }

/* 5) 頁尾：HKGAI 同款半透明亮一階的深藍（oklab(0.21 …)/0.39 觀感） */
html[data-theme="dark"] .site-footer,
html:not([data-theme]) .site-footer { background: rgba(24, 38, 64, 0.45); }

/* 6) 卡片：HKGAI 式深藍半透明浮層 + 細光邊（原 rgba(32,48,76) 偏亮偏藍，收斂） */
html[data-theme="dark"] .side-card,
html[data-theme="dark"] .side-card--cta,
html[data-theme="dark"] .pillar-card,
html[data-theme="dark"] .news-card,
html[data-theme="dark"] .event-card,
html[data-theme="dark"] .vm-card,
html[data-theme="dark"] .value-item,
html[data-theme="dark"] .focus-item,
html[data-theme="dark"] .leader-card,
html[data-theme="dark"] .partner,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] blockquote {
  background: rgba(16, 28, 50, 0.78);
  border-color: rgba(148, 176, 220, 0.16);
}
/* 夥伴 logo 牆：白卡 → 深藍半透明卡，logo 反白保持可見 */
html[data-theme="dark"] .pm-card,
html:not([data-theme]) .pm-card {
  background: rgba(16, 28, 50, 0.78);
  border-color: rgba(148, 176, 220, 0.16);
  box-shadow: 0 6px 20px rgba(2, 10, 22, 0.45);
}
html[data-theme="dark"] .pm-card .pm-logo,
html:not([data-theme]) .pm-card .pm-logo { filter: brightness(0) invert(1); opacity: 0.88; }
html[data-theme="dark"] .side-card,
html[data-theme="dark"] .pillar-grid--big .pillar-card,
html[data-theme="dark"] .vm-card { background: rgba(16, 28, 50, 0.78); }
html[data-theme="dark"] .pillar-grid--big .pillar-card:hover { background: rgba(24, 38, 64, 0.85); }
html[data-theme="dark"] .rp-nav-item { background: rgba(16, 28, 50, 0.72); }

/* 7) 表單控件與抽屜：同一色階 */
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select { background: rgba(20, 33, 56, 0.85); border-color: rgba(148, 176, 220, 0.18); }
html[data-theme="dark"] .nav .submenu { background: transparent; }
/* 成員照片佔位塊：青色調 → HKGAI 藏青 */
html[data-theme="dark"] .leader-mono,
html:not([data-theme]) .leader-mono { background: rgba(70, 110, 190, 0.14); color: #A9C6F2; }
/* 統計數字帶（關於頁 2026/4/9、研究頁 4/800V/GaN·SiC）：數字原為深墨色，黑夜模式翻淺 */
html[data-theme="dark"] .mini-stats strong,
html:not([data-theme]) .mini-stats strong { color: #EAF2FE; }
html[data-theme="dark"] .mini-stats span,
html:not([data-theme]) .mini-stats span { color: rgba(201, 218, 233, 0.75); }
html[data-theme="dark"] .mini-stats,
html:not([data-theme]) .mini-stats { border-top-color: rgba(148, 176, 220, 0.2); }

/* 8) 主按鈕：HKGAI 式冷藍描邊幽靈感 */
html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .header-inner .btn {
  background: rgba(24, 40, 68, 0.85); color: #EAF2FE; border-color: rgba(148, 178, 230, 0.35);
}
html[data-theme="dark"] .btn-primary:hover { border-color: rgba(140, 180, 255, 0.75); background: rgba(32, 52, 86, 0.9); }

/* 9) 首頁 KV 半導體走線：紋路與動畫保留，色相由青色系平移到 HKGAI 藍紫系（#6A96FF family）、亮度收斂 */
html[data-theme="dark"] .hero-kv::before,
html:not([data-theme]) .hero-kv::before,
html[data-theme="dark"] .hero-kv::after,
html:not([data-theme]) .hero-kv::after {
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='180' viewBox='0 0 560 180'%3E%3Cg fill='none' stroke='%236a96ff' stroke-opacity='0.08' stroke-width='4'%3E%3Cpath d='M0 36h120l26 26h190'/%3E%3Cpath d='M0 78h70l30 30h120l22 22h180'/%3E%3Cpath d='M56 0v46l30 30'/%3E%3C/g%3E%3Cg fill='none' stroke='%236a96ff' stroke-opacity='0.34' stroke-width='1.3'%3E%3Cpath d='M0 36h120l26 26h190'/%3E%3Cpath d='M0 78h70l30 30h120l22 22h180'/%3E%3Cpath d='M56 0v46l30 30'/%3E%3Cpath d='M210 0v28l20 20h90'/%3E%3C/g%3E%3Cg fill='none' stroke='%238fb4ff' stroke-opacity='0.28' stroke-width='1.1'%3E%3Cpath d='M0 122h96l24 24h150'/%3E%3C/g%3E%3Ccircle cx='336' cy='62' r='3.2' fill='%23a9c6f2' opacity='.75'/%3E%3Ccircle cx='242' cy='130' r='2.8' fill='%236a96ff' opacity='.8'/%3E%3Ccircle cx='86' cy='76' r='2.6' fill='%2383adf7' opacity='.75'/%3E%3Ccircle cx='320' cy='48' r='2.2' fill='%238fb4ff' opacity='.7'/%3E%3Ccircle cx='270' cy='146' r='2' fill='%23a9c6f2' opacity='.7'/%3E%3C/svg%3E") no-repeat;
}
/* KV 卡片光環：同步轉藍紫、更含蓄 */
html[data-theme="dark"] .hero-kv .hero-slides,
html:not([data-theme]) .hero-kv .hero-slides {
  box-shadow: 0 24px 70px rgba(2, 8, 18, 0.6), 0 0 0 1px rgba(106, 150, 255, 0.13), 0 0 56px rgba(90, 130, 230, 0.12);
}
/* 左右豎向走線：同步轉藍紫、亮度降一檔 */
html[data-theme="dark"] .hero-kv .kv-edges,
html:not([data-theme]) .hero-kv .kv-edges {
  background:
    radial-gradient(4px 4px at 18px 24%, rgba(169, 198, 242, 0.7) 55%, transparent 62%),
    radial-gradient(3px 3px at 17px 66%, rgba(106, 150, 255, 0.6) 55%, transparent 62%),
    radial-gradient(4px 4px at calc(100% - 18px) 76%, rgba(169, 198, 242, 0.65) 55%, transparent 62%),
    radial-gradient(3px 3px at calc(100% - 17px) 32%, rgba(143, 180, 255, 0.55) 55%, transparent 62%),
    linear-gradient(180deg, rgba(106, 150, 255, 0) 0%, rgba(106, 150, 255, 0.30) 24%, rgba(143, 180, 255, 0.20) 74%, rgba(106, 150, 255, 0) 100%) 17px 0 / 1.5px 100% no-repeat,
    linear-gradient(180deg, rgba(106, 150, 255, 0) 0%, rgba(143, 180, 255, 0.18) 30%, rgba(106, 150, 255, 0.30) 76%, rgba(106, 150, 255, 0) 100%) calc(100% - 17px) 0 / 1.5px 100% no-repeat;
}

/* 10) zv_2c7 全站小框統一：HKGAI 式深藍半透明底 + 圓角 + 細光邊 */
html[data-theme="dark"] .news-card,
html:not([data-theme]) .news-card,
html[data-theme="dark"] .event-card,
html:not([data-theme]) .event-card,
html[data-theme="dark"] .pillar-card,
html:not([data-theme]) .pillar-card,
html[data-theme="dark"] .side-card,
html:not([data-theme]) .side-card,
html[data-theme="dark"] .side-card--cta,
html:not([data-theme]) .side-card--cta,
html[data-theme="dark"] .vm-card,
html:not([data-theme]) .vm-card,
html[data-theme="dark"] .value-item,
html:not([data-theme]) .value-item,
html[data-theme="dark"] .focus-item,
html:not([data-theme]) .focus-item,
/* zv_2e：leader-card 與 blockquote 恢復原樣（用戶要求，中心主任卡引用框勿動） */
html[data-theme="dark"] .pm-card,
html:not([data-theme]) .pm-card,
html[data-theme="dark"] .faq-item,
html:not([data-theme]) .faq-item,
html[data-theme="dark"] .rp-nav-item,
html:not([data-theme]) .rp-nav-item,
html[data-theme="dark"] .home .section-news .news-card,
html:not([data-theme]) .home .section-news .news-card {
  background: rgba(13, 22, 39, 0.82);
  border: 1px solid rgba(148, 176, 220, 0.14);
  border-radius: 14px;
  overflow: hidden;
}
/* 首頁新聞卡：從「透明無框」改為完整卡片（圖片貼頂、圓角裁切、內文留白） */
html[data-theme="dark"] .home .section-news .news-card,
html:not([data-theme]) .home .section-news .news-card { padding: 0; }
html[data-theme="dark"] .home .section-news .news-body,
html:not([data-theme]) .home .section-news .news-body { padding: 16px 20px 14px; }
html[data-theme="dark"] .home .section-news .news-thumb::after,
html:not([data-theme]) .home .section-news .news-thumb::after { display: none; }

/* 11) zv_2c8 八項細節優化（用戶逐項反饋） */
/* ① 價值觀 2×2：去掉外框（value-grid 的邊框與 1px 縫），保留四張獨立圓角卡 */
html[data-theme="dark"] .value-grid,
html:not([data-theme]) .value-grid { background: transparent; border: 0; gap: 16px; }

/* ②④ 應用場景 focus 卡：內距加大、編號放大拉近標題 */
html[data-theme="dark"] .focus-item,
html:not([data-theme]) .focus-item {
  border-top: 0;
  padding: 24px 22px 20px;
  grid-template-columns: 34px 1fr;
  column-gap: 14px;
}
html[data-theme="dark"] .focus-no,
html:not([data-theme]) .focus-no { font-size: 21px; padding-top: 3px; color: var(--brand); }

/* ③ RP 板塊卡：zv_2f 用戶要求去掉四角括角（太醜），回歸 zv_2c7 標準圓角卡（暗色由上方清單提供） */

/* ⑤⑥ 新聞稿列表行：HKGAI 深色卡片化（代替分隔線列表） */
html[data-theme="dark"] .news-row,
html:not([data-theme]) .news-row {
  background: rgba(13, 22, 39, 0.82);
  border: 1px solid rgba(148, 176, 220, 0.14);
  border-radius: 14px;
  padding: 24px clamp(20px, 2.6vw, 32px);
  margin-bottom: 14px;
}
html[data-theme="dark"] .news-row:hover,
html:not([data-theme]) .news-row:hover { background: rgba(20, 32, 56, 0.9); }

/* ⑦ 聯絡表單：HKGAI 式圓角面板 + 圓角輸入框 + 圓角按鈕 */
html[data-theme="dark"] .contact-form-wrap,
html:not([data-theme]) .contact-form-wrap {
  background: rgba(13, 22, 39, 0.82);
  border: 1px solid rgba(148, 176, 220, 0.14);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 40px);
}
html[data-theme="dark"] .contact-form-wrap .contact-form input,
html:not([data-theme]) .contact-form-wrap .contact-form input,
html[data-theme="dark"] .contact-form-wrap .contact-form select,
html:not([data-theme]) .contact-form-wrap .contact-form select,
html[data-theme="dark"] .contact-form-wrap .contact-form textarea,
html:not([data-theme]) .contact-form-wrap .contact-form textarea {
  background: rgba(7, 13, 25, 0.6);
  border-radius: 10px;
  padding: 13px 16px;
}
html[data-theme="dark"] .contact-form-wrap .contact-form .btn,
html:not([data-theme]) .contact-form-wrap .contact-form .btn {
  background: #A9C6F2; color: #0A101F; border: 0;
  border-radius: 999px; padding: 13px 30px; font-weight: 600;
}
html[data-theme="dark"] .contact-form-wrap .contact-form .btn:hover,
html:not([data-theme]) .contact-form-wrap .contact-form .btn:hover { background: #C4D8FA; }

/* ⑧ 夥伴 logo：撤銷反白濾鏡（白色底圖會變純白塊），改白底圓角小托盤 */
html[data-theme="dark"] .pm-card .pm-logo,
html:not([data-theme]) .pm-card .pm-logo {
  filter: none;
  background: #fff;
  border-radius: 8px;
  padding: 7px 12px;
  opacity: 1;
}

/* 12) zv_2c9 淺色模式首頁新聞卡：卡片化圓角 + 整體放大 + HKGAI 間距 */
/* 卡片化（淺色/預設）：白底圓角卡，圖片貼頂圓角裁切，文字收進卡內 */
.home .section-news .news-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.home .section-news .news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(9, 30, 52, 0.12);
}
.home .section-news .news-thumb::after { display: none; }   /* 移除圖下橙線（卡片化後不需要） */
.home .section-news .news-body { padding: 18px 22px 20px; }
.home .section-news .news-body h3 { font-size: 17.5px; line-height: 1.6; }
.home .section-news .news-meta { margin-top: 9px; }
/* 卡片間距對齊 HKGAI（三卡 ~24px 檔，卡體因此等比放大） */
.home .section-news .news-grid { gap: clamp(20px, 2.2vw, 30px); }

/* 13) zv_2d 淺色模式卡片一一對應黑夜模式外形；顏色參考 HKGAI 淺色卡（純白+極淡邊+柔和投影） */
html[data-theme="light"] .news-card,
html[data-theme="light"] .event-card,
html[data-theme="light"] .side-card,
html[data-theme="light"] .side-card--cta,
html[data-theme="light"] .vm-card,
html[data-theme="light"] .value-item,
html[data-theme="light"] .focus-item,
html[data-theme="light"] .pm-card,
html[data-theme="light"] .faq-item,
html[data-theme="light"] .rp-nav-item {
  background: #FFFFFF;
  border: 1px solid rgba(16, 42, 74, 0.10);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 42, 74, 0.04), 0 10px 26px rgba(16, 42, 74, 0.06);
}

/* ① 價值觀 2×2：去外框，四張獨立圓角卡（同黑夜模式） */
html[data-theme="light"] .value-grid { background: transparent; border: 0; gap: 16px; }

/* ②④ 應用場景 focus 卡：卡片化 + 內距加大 + 編號放大（同黑夜模式外形） */
html[data-theme="light"] .focus-item {
  border-top: 0;
  padding: 24px 22px 20px;
  grid-template-columns: 34px 1fr;
  column-gap: 14px;
}
html[data-theme="light"] .focus-no { font-size: 21px; padding-top: 3px; }

/* ③ RP 板塊卡：同樣去掉括角，白底圓角卡 + 柔投影 */
html[data-theme="light"] .pillar-card {
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 42, 74, 0.04), 0 10px 26px rgba(16, 42, 74, 0.06);
}

/* ⑤ 新聞稿列表行：卡片化（同黑夜模式外形，白底） */
html[data-theme="light"] .news-row {
  background: #FFFFFF;
  border: 1px solid rgba(16, 42, 74, 0.10);
  border-radius: 14px;
  border-bottom: 1px solid rgba(16, 42, 74, 0.10);
  padding: 24px clamp(20px, 2.6vw, 32px);
  margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(16, 42, 74, 0.04), 0 10px 26px rgba(16, 42, 74, 0.05);
}
html[data-theme="light"] .news-row:hover { background: #FFFFFF; box-shadow: 0 14px 32px rgba(16, 42, 74, 0.10); }

/* ⑦ 聯絡表單：白色圓角面板 + 圓角輸入框 + 膠囊按鈕（同黑夜外形） */
html[data-theme="light"] .contact-form-wrap {
  background: #FFFFFF;
  border: 1px solid rgba(16, 42, 74, 0.10);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 1px 2px rgba(16, 42, 74, 0.04), 0 10px 26px rgba(16, 42, 74, 0.06);
}
html[data-theme="light"] .contact-form-wrap .contact-form input,
html[data-theme="light"] .contact-form-wrap .contact-form select,
html[data-theme="light"] .contact-form-wrap .contact-form textarea { border-radius: 10px; padding: 13px 16px; }
html[data-theme="light"] .contact-form-wrap .contact-form .btn {
  border-radius: 999px; padding: 13px 30px; font-weight: 600;
  background: var(--ink); color: #fff; border: 0;
}
html[data-theme="light"] .contact-form-wrap .contact-form .btn:hover { background: #12325A; }

/* 14) zv_2f 續：表單送出按鈕置中膠囊（同 HKGAI「送出留言」版式，雙主題） */
.contact-form .btn { justify-self: center; margin-top: 10px; }
html[data-theme="dark"] .contact-form-wrap .contact-form .btn,
html:not([data-theme]) .contact-form-wrap .contact-form .btn { background: #A9C6F2; color: #0A101F; }

/* ========================= zv_30 · 七項用戶反饋優化（2026-11-15） ========================= */

/* 1) 淺色模式：深色板塊的電路紋路與藍圖網格全部撤除（先前只撤了黑夜模式，
      淺色下研究頁 RP 卡區、創新鏈條、設施區仍露出格線與走線，用戶反饋「還是有線」） */
html[data-theme="light"] .section-dark::before,
html:not([data-theme]) .section-dark::before,
html[data-theme="light"] .section-dark::after,
html:not([data-theme]) .section-dark::after { display: none !important; }

/* 1b) RP 卡區容器：舊「縫合網格」的容器邊框在卡片縫隙間露出線段 → 整個去除 */
html[data-theme="light"] .rp-overview .pillar-grid,
html:not([data-theme]) .rp-overview .pillar-grid { background: transparent; border: 0; }

/* 2) 淺色模式：深色板塊的 kicker／lede 原為浅藍白 rgba(210,231,242,…)，
      淺底上幾乎不可見（創新鏈條、共用研究設施的說明文字）→ 翻深 */
html[data-theme="light"] .section-dark .section-kicker,
html:not([data-theme]) .section-dark .section-kicker { color: #B4530F; }
html[data-theme="light"] .section-dark .section-lede,
html:not([data-theme]) .section-dark .section-lede { color: #46617A; }

/* 2b) 淺色：創新鏈條的時間軸橫線與節點原為白色系，淺底不可見 → 翻深 */
html[data-theme="light"] .section-chain .chain,
html:not([data-theme]) .section-chain .chain { border-top-color: rgba(10, 30, 52, 0.28); }
html[data-theme="light"] .chain-step::before,
html:not([data-theme]) .chain-step::before {
  background: #0E7490;
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.14);
}

/* 3) 設施卡：全主題統一圓角卡（原先直角，與全站卡片語言不一致） */
html[data-theme="dark"] .facility,
html:not([data-theme]) .facility {
  background: rgba(13, 22, 39, 0.82);
  border: 1px solid rgba(148, 176, 220, 0.14);
  border-radius: 14px;
}
html[data-theme="light"] .facility {
  background: #FFFFFF;
  border: 1px solid rgba(16, 42, 74, 0.10);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 42, 74, 0.04), 0 10px 26px rgba(16, 42, 74, 0.06);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
html[data-theme="light"] .facility:hover {
  background: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(16, 42, 74, 0.10);
}

/* 4) 新聞列表：行已卡片化，列表頂部的舊分隔線殘留 → 移除（雙主題） */
.news-list { border-top: 0; }

/* 5) 媒體查詢面板：統一卡片語言（黑夜模式原本是突兀的亮色方塊 → 深色圓角面板；
      郵箱按鈕方框 → 膠囊幽靈按鈕），淺色同步白卡圓角 */
html[data-theme="dark"] .media-box,
html:not([data-theme]) .media-box {
  background: rgba(13, 22, 39, 0.82);
  border: 1px solid rgba(148, 176, 220, 0.14);
  border-radius: 16px;
  padding: clamp(26px, 3vw, 38px) clamp(24px, 3vw, 40px);
}
html[data-theme="dark"] .media-box .btn-outline,
html:not([data-theme]) .media-box .btn-outline {
  border-radius: 999px;
  padding: 11px 26px;
  color: #A9C6F2;
  border-color: rgba(148, 178, 230, 0.35);
  transition: all 0.25s;
}
html[data-theme="dark"] .media-box .btn-outline:hover,
html:not([data-theme]) .media-box .btn-outline:hover {
  border-color: rgba(140, 180, 255, 0.75);
  color: #D8E5FC;
  background: rgba(32, 52, 86, 0.5);
}
html[data-theme="light"] .media-box {
  background: #FFFFFF;
  border: 1px solid rgba(16, 42, 74, 0.10);
  border-radius: 16px;
  padding: clamp(26px, 3vw, 38px) clamp(24px, 3vw, 40px);
  box-shadow: 0 1px 2px rgba(16, 42, 74, 0.04), 0 10px 26px rgba(16, 42, 74, 0.06);
}
html[data-theme="light"] .media-box .btn-outline { border-radius: 999px; padding: 11px 26px; }

/* 6) 新聞稿正文引用框：黑夜模式加深至 HKGAI 深面板色澤（實底深藏青，與中心主任卡同族） */
html[data-theme="dark"] .article-body blockquote,
html:not([data-theme]) .article-body blockquote {
  background: #0B1524;
  border: 1px solid rgba(148, 176, 220, 0.16);
  border-left: 3px solid rgba(106, 150, 255, 0.55);
  border-radius: 12px;
  color: #D8E4F8;
}

/* 7) 人物領航卡（團隊頁）：四角圓框統一（用戶追加） */
.leader-card { border-radius: 14px; overflow: hidden; }
.leader-card::before { display: none; } /* 左上橙色括角與圓角卡不搭，一併移除 */
.leader-photo img, .leader-mono { border-radius: 10px; }
html[data-theme="dark"] .leader-card,
html:not([data-theme]) .leader-card { border-radius: 14px; overflow: hidden; }

/* 8) 首頁最新動態：卡片外緣與首頁大圖面板左右對齊（用戶追加）：
      容器採用與 .hero-kv 完全相同的左右內距，卡間距不變、卡片等比微放大 */
body.home .section-news .wrap {
  max-width: none;
  padding-left: clamp(14px, 2.6vw, 36px);
  padding-right: clamp(14px, 2.6vw, 36px);
}
@media (max-width: 760px) {
  body.home .section-news .wrap { padding-left: 12px; padding-right: 12px; }
}

/* 9) 人物卡欄目：對齊 HKGAI 層次（用戶追加）——
      欄目底色壓深一階淡藍灰漸層，純白人物卡帶柔投影自然浮出，不再與背景糊在一起 */
html[data-theme="light"] .section-leadership,
html:not([data-theme]) .section-leadership {
  background: linear-gradient(180deg, #E7EEF6 0%, #F1F5FA 55%, #F6F9FC 100%);
}
html[data-theme="light"] .leader-card,
html:not([data-theme]) .leader-card {
  border-color: rgba(16, 42, 74, 0.08);
  box-shadow: 0 1px 2px rgba(16, 42, 74, 0.05), 0 18px 40px rgba(16, 42, 74, 0.10);
}

/* 10) 首頁新聞區：1大2小錯落佈局（用戶選定）——
      左側大卡 16:9 完整展示不裁切、跨兩行；右側兩張圖左文右小卡堆疊；
      邊緣對齊與卡間距維持不變，圖片不再被壓扁遮擋 */
.home .section-news .news-grid {
  grid-template-columns: 1.5fr 1fr;
  align-items: stretch;
}
.home .section-news .news-grid .news-card:first-child { grid-row: 1 / span 3; }
.home .section-news .news-grid .news-card:first-child .news-thumb { aspect-ratio: 16 / 9; }
.home .section-news .news-grid .news-card:first-child .news-body { padding: 20px 26px 24px; }
.home .section-news .news-grid .news-card:first-child .news-body h3 { font-size: clamp(18px, 1.35vw, 20px); }
.home .section-news .news-grid .news-card:not(:first-child) {
  display: grid;
  grid-template-columns: 52% 1fr;
  align-items: center;
  column-gap: 16px;
  padding: 12px;
}
.home .section-news .news-grid .news-card:not(:first-child) .news-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
}
.home .section-news .news-grid .news-card:not(:first-child) .news-body { padding: 8px 10px; }
.home .section-news .news-grid .news-card:not(:first-child) .news-body h3 {
  font-size: 16px; line-height: 1.55; margin-bottom: 0;
}
.home .section-news .news-grid .news-card:not(:first-child) .news-meta { margin-bottom: 7px; }
.home .section-news .news-meta { font-size: 11.5px; }

/* 11) 「查看全部」按鈕：四角圓角膠囊 + 配色優化（雙主題） */
html[data-theme="light"] .news-more-btn,
html:not([data-theme]) .news-more-btn {
  border-radius: 999px; padding: 12px 44px;
  background: var(--ink); border-color: var(--ink); color: #fff;
}
html[data-theme="light"] .news-more-btn:hover,
html:not([data-theme]) .news-more-btn:hover {
  background: #12325A; border-color: #12325A; color: #fff;
}
html[data-theme="dark"] .news-more-btn {
  border-radius: 999px; padding: 12px 44px;
  background: #A9C6F2; border-color: #A9C6F2; color: #0A101F;
}
html[data-theme="dark"] .news-more-btn:hover {
  background: #C4D8FA; border-color: #C4D8FA; color: #0A101F;
}

/* ================= zv_34：內頁頁首「HKGAI 式克制」（用戶選定方案，2026-11-15） =================
   1) 麵包屑整體降為輔助灰（雙主題）：當前頁不再搶橙色、hover 才亮橙——頁首唯一主角是橙色眉標；
   2) 淺色模式清除右上角電路走線裝飾圖與藍圖網格殘留（黑夜模式此前已清，此處補齊淺色）；
   3) 底部橙色漸變收邊線保留。 */
html[data-theme="light"] .breadcrumb ul,
html:not([data-theme]) .breadcrumb ul { color: rgba(96, 116, 138, 0.78); }
html[data-theme="light"] .breadcrumb a,
html:not([data-theme]) .breadcrumb a { color: rgba(96, 116, 138, 0.78); }
html[data-theme="light"] .breadcrumb a:hover,
html:not([data-theme]) .breadcrumb a:hover { color: #B4530F; }
html[data-theme="light"] .breadcrumb [aria-current],
html:not([data-theme]) .breadcrumb [aria-current] { color: #46617A; }
html[data-theme="dark"] .breadcrumb [aria-current] { color: rgba(214, 230, 246, 0.82); }

/* 淺色頁首背景：去電路走線圖（右上橙塊根源）+藍圖網格，僅留柔和漸層 */
html[data-theme="light"] .page-hero-bg,
html:not([data-theme]) .page-hero-bg {
  background:
    radial-gradient(60% 80% at 80% 0%, rgba(46, 140, 255, 0.06), transparent 60%),
    linear-gradient(180deg, #FFFFFF, #EDF4F9);
  background-repeat: no-repeat;
}
html[data-theme="light"] .page-hero-bg::before,
html:not([data-theme]) .page-hero-bg::before { display: none; }
html[data-theme="light"] .page-hero--team .page-hero-bg,
html:not([data-theme]) .page-hero--team .page-hero-bg {
  background: linear-gradient(180deg, #FFFFFF, #EDF4F9);
}

/* ========================= zv_35：導覽懸停統一為 Logo 主橙（2026-11-15，用戶定調） =========================
   抽屜導覽任何項（含當前頁項）懸停都變橙：淺色 #F0602A、黑夜 #F7941D——恢復「可點擊」的視覺提示；
   當前頁項平時仍以高亮色標識位置（淺色墨藍、黑夜淡青）。 */
.nav > ul > li > a:hover { color: var(--brand-2); background: none; }
.nav > ul > li.is-active > a:hover { color: var(--brand-2); background: none; }
html[data-theme="light"] .nav > ul > li > a:hover,
html:not([data-theme]) .nav > ul > li > a:hover,
html[data-theme="light"] .nav > ul > li.is-active > a:hover,
html:not([data-theme]) .nav > ul > li.is-active > a:hover { color: var(--brand); background: none; }

/* 麵包屑當前頁恢復橙色（zv_34 的灰化撤回），並支援懸停深橙（組件端已改為自連結） */
.breadcrumb [aria-current], .breadcrumb a.is-current { color: var(--brand-2); }
.breadcrumb a.is-current:hover { color: var(--brand); }
html[data-theme="light"] .breadcrumb [aria-current],
html:not([data-theme]) .breadcrumb [aria-current],
html[data-theme="light"] .breadcrumb a.is-current,
html:not([data-theme]) .breadcrumb a.is-current { color: #B4530F; }
html[data-theme="light"] .breadcrumb a.is-current:hover,
html:not([data-theme]) .breadcrumb a.is-current:hover { color: var(--brand); }

/* ========================= zv_31 · 全站體系化：寬度規則 + 圓角清零 + 行距收緊 ========================= */

/* ---- 1) 寬度規則：首頁沉浸區（大圖/新聞）= 寬容器；夥伴機構與內頁閱讀內容 = 1240 標準容器 ----
   （CTA 橫欄已全站停用；若日後重啟，寬容器規則自動生效） */
/* 首頁 CTA 橫幅加入寬容器節奏，與大圖、新聞區左右緣對齊 */
body.home .cta-band .wrap {
  max-width: none;
  padding-left: clamp(14px, 2.6vw, 36px);
  padding-right: clamp(14px, 2.6vw, 36px);
}
@media (max-width: 760px) {
  body.home .cta-band .wrap { padding-left: 12px; padding-right: 12px; }
}

/* ---- 2) 圓角清零：四級體系——按鈕/標籤膠囊 999px · 圖片 12px · 卡片 14px · 面板 16px ---- */
.btn { border-radius: 999px; }
.section-index { border-radius: 999px; }
.tag-list li { border-radius: 999px; }
.chip { border-radius: 999px; padding: 3px 10px; }
.leader-role { border-radius: 999px; }
.leader-tag { border-radius: 999px; }
.filter { border-radius: 999px; }
.map-open { border-radius: 999px; }
input, textarea, select { border-radius: 8px; }
.article-body img { border-radius: 12px; }
.article-figure { border-radius: 12px; }

/* ---- 3) 行距收緊：中文正文 1.75–1.85（原 1.9–1.95 偏散）；摘要行寬統一 64ch ---- */
.prose p { line-height: 1.8; }
.article-body p { line-height: 1.85; }
.article-body ul li { line-height: 1.8; }
.article-body blockquote { line-height: 1.8; }
.vm-card p { line-height: 1.8; }
.director blockquote { line-height: 1.8; }
.leader-bio p { line-height: 1.8; }
.news-row-main p { max-width: 64ch; }
.event-main p { max-width: 64ch; }

/* ========================= zv_32 · 淺色模式色相收斂（可整段回退） =========================
   規則：墨藍 #12325A 為主（連結、hover、圖標、邊框）；橙 #B4530F 為唯一強調色
  （眉標、編號、引用豎線）；青色僅保留語義位置（.chip--live 狀態標籤、hero 氛圍光）。
   如用戶不滿意，刪除本段即可完整回退。 */

/* ---- 導航 / 頁頭：zv_35 用戶定調——導覽懸停恢復 Logo 主橙（is-active 平時仍墨藍標識位置） ---- */
html[data-theme="light"] .nav > ul > li > a:hover,
html[data-theme="light"] .nav .submenu li a:hover,
html[data-theme="light"] .submenu li a:hover { color: var(--brand); }
html[data-theme="light"] .nav > ul > li.is-active > a { color: #12325A; }
html[data-theme="light"] .lang-item:hover { background: rgba(10, 30, 52, 0.06); color: #12325A; }
html[data-theme="light"] .lang-item.is-active { color: #12325A; }
html[data-theme="light"] .theme-toggle:hover { border-color: rgba(10, 30, 52, 0.22); background: rgba(10, 30, 52, 0.05); color: #12325A; }
html[data-theme="light"] .nav-open .lang-menu[open] summary { border-color: rgba(10, 30, 52, 0.25); background: rgba(10, 30, 52, 0.05); }

/* ---- 連結類：青轉墨藍 ---- */
html[data-theme="light"] .link-arrow,
html[data-theme="light"] .contact-block a,
html[data-theme="light"] .contact-list .addr-link:hover,
html[data-theme="light"] .sitemap-list a:hover,
html[data-theme="light"] .source a,
html[data-theme="light"] .breadcrumb a:hover,
html[data-theme="light"] .rp-nav-item:hover strong,
html[data-theme="light"] .news-row:hover .news-row-arrow,
html[data-theme="light"] .news-body .card-link,
html[data-theme="light"] .footer-col a:hover,
html[data-theme="light"] .footer-legal a:hover { color: #12325A; }

/* ---- 按鈕 / 篩選：青轉墨藍 ---- */
html[data-theme="light"] .btn-outline:hover { border-color: #12325A; color: #12325A; background: rgba(10, 30, 52, 0.04); }
html[data-theme="light"] .filter:hover { border-color: rgba(10, 30, 52, 0.35); color: #12325A; }

/* ---- 圖標 / 裝飾：青轉墨藍 ---- */
html[data-theme="light"] .pillar-card:hover .pillar-icon { color: #12325A; border-color: rgba(10, 30, 52, 0.35); }
html[data-theme="light"] .article-body ul li::before { background: #12325A; }
html[data-theme="light"] .contact-list svg { color: #12325A; }
html[data-theme="light"] .footer-contact svg { color: #12325A; }
html[data-theme="light"] .side-nav a:hover, html[data-theme="light"] .side-nav a.is-active { border-left-color: #12325A; }
html[data-theme="light"] .news-card:hover { border-color: rgba(16, 42, 74, 0.22); }
html[data-theme="light"] .event-card:hover { background: rgba(10, 30, 52, 0.03); }
html[data-theme="light"] .map-card:hover .map-open { background: #12325A; border-color: #12325A; color: #fff; }
html[data-theme="light"] .skip { background: #12325A; color: #fff; }
html[data-theme="light"] input:focus,
html[data-theme="light"] textarea:focus,
html[data-theme="light"] select:focus { border-color: #12325A; box-shadow: 0 0 0 3px rgba(18, 50, 90, 0.12); }

/* ---- 眉標 / 編號 / 引用線：橙為唯一強調 ---- */
html[data-theme="light"] .page-hero .eyebrow { color: #B4530F; }
html[data-theme="light"] .section-dark .mono-label { color: #B4530F; }
html[data-theme="light"] .home .section-news .mono-label { color: #B4530F; }
html[data-theme="light"] .section-index { color: #B4530F; border-color: rgba(180, 83, 15, 0.4); }
html[data-theme="light"] .tl-dot { border-color: var(--brand); }
html[data-theme="light"] .director blockquote { border-left-color: var(--brand); }
html[data-theme="light"] .article-body blockquote { border-left-color: var(--brand); }

/* ========================= zv_36：黑夜模式夥伴 logo 尺寸與淺色一致（2026-11-15） =========================
   根因：全站 box-sizing:border-box，黑夜模式白托盤 padding 7px/12px 把 .pm-logo height:36px
   的內容區壓成 22px（淺色無 padding 仍是 36px），導致黑夜圖標偏小。
   修法：黑夜模式把高度補回 50px（=36 內容 + 14 上下 padding），行動端補 44px（=30 + 14）。 */
html[data-theme="dark"] .pm-card .pm-logo,
html:not([data-theme]) .pm-card .pm-logo { height: 50px; }
@media (max-width: 640px) {
  html[data-theme="dark"] .pm-card .pm-logo,
  html:not([data-theme]) .pm-card .pm-logo { height: 44px; }
}

/* ========================= zv_38：首頁新聞區移動端折疊修復（2026-11-15） =========================
   zv_30 的雙列錯落網格（1.5fr/1fr）寫在檔尾，把主題原有 @media(max-width:960px) 的單列規則覆蓋掉了，
   導致手機上右欄小卡溢出屏幕邊緣被截斷。此處補回：≤960px 恢復單列，大卡滿寬，小卡圖左文右收窄。 */
@media (max-width: 960px) {
  .home .section-news .news-grid { grid-template-columns: 1fr; }
  .home .section-news .news-grid .news-card:first-child { grid-row: auto; }
  .home .section-news .news-grid .news-card:not(:first-child) {
    grid-template-columns: 40% 1fr;
    column-gap: 12px;
    padding: 10px;
  }
  .home .section-news .news-grid .news-card:not(:first-child) .news-body h3 { font-size: 15px; }
}

/* zv_38 續：移動端頭部觸控目標加大至 ≥44px（WCAG 2.5.5） */
@media (pointer: coarse) {
  #themeToggle, #navToggle, .lang-menu summary { min-height: 44px; min-width: 44px; }
  .lang-menu summary { padding: 12px 14px; }
}

/* ========================= zv_40：新聞列表頁時間篩選（2026-11-17） =========================
   需求：與左側分類膠囊同一行、靠右對齊；點擊「時間篩選」按鈕向下彈出日期區間面板，
   選「由 xx 至 xx」後與分類篩選聯動（交集過濾）。面板用 var(--paper/--line/--ink/--muted)，
   深淺主題自動跟隨，無需另寫淺色覆蓋。 */
.filter-bar { align-items: center; }
.date-filter { position: relative; margin-left: auto; }
.date-filter summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.date-filter summary::-webkit-details-marker { display: none; }
.date-filter summary .ico-cal { flex: 0 0 auto; opacity: 0.85; }
.date-filter summary .lang-caret { transition: transform 0.25s var(--ease); }
.date-filter[open] summary .lang-caret { transform: rotate(180deg); }
.date-filter.has-range summary {
  border-color: var(--brand); color: var(--brand); background: rgba(192, 84, 25, 0.08);
}
html[data-theme="light"] .date-filter.has-range summary { background: rgba(192, 84, 25, 0.07); }

.date-panel {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 40;
  width: min(320px, calc(100vw - 48px));
  padding: 18px; border-radius: 16px;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(10, 22, 40, 0.16);
}
html[data-theme="light"] .date-panel { box-shadow: 0 18px 48px rgba(10, 30, 52, 0.12); }
.date-panel-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.date-field {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 9px 12px; font: inherit; font-size: 13px; cursor: pointer;
  color: var(--muted); background: transparent;
  border: 1px solid var(--line); border-radius: 8px; transition: border-color 0.2s;
}
.date-field:hover, .date-field.is-filled { border-color: var(--brand); }
.date-field.is-filled { color: var(--text); }

/* zv_40b：自製年月面板——‹ 年份 › 左右切年，1月–12月 數字網格（替代原生 date picker） */
.month-pop { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.month-pop-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.month-year { font-size: 14px; font-weight: 500; color: var(--text); }
.month-nav {
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px; background: transparent;
  color: var(--muted); cursor: pointer; transition: all 0.2s;
}
.month-nav:hover { color: var(--brand); border-color: var(--brand); }
.month-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.month-cell {
  padding: 8px 0; font: inherit; font-size: 12.5px; text-align: center;
  border: 0; border-radius: 8px; background: transparent; color: var(--text); cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.month-cell:hover { background: rgba(192, 84, 25, 0.08); color: var(--brand); }
.month-cell.is-sel { background: var(--brand); color: #fff; }
.date-panel-err { margin: 10px 0 0; font-size: 12px; color: #C2410C; }
.date-panel-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.date-btn {
  padding: 7px 16px; font: inherit; font-size: 12.5px; cursor: pointer;
  border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); transition: all 0.25s;
}
.date-btn--ghost:hover { color: var(--text); border-color: var(--text); }
.date-btn--apply { background: var(--brand); border-color: var(--brand); color: #fff; }
.date-btn--apply:hover { filter: brightness(1.08); color: #fff; }

@media (max-width: 640px) {
  .filter-bar { position: relative; }
  .date-filter { position: static; margin-left: 0; }
  .date-panel { right: auto; left: 0; width: min(320px, 100%); }
}

/* zv_40c：黑夜模式月份面板可讀性（2026-11-17）——月份/年份/錯誤提示字色在暗底可見 */
html[data-theme="dark"] .date-panel-err { color: #F49B6C; }

/* zv_41：聯絡頁郵件提示框標題黑夜模式可讀（2026-11-17）
   .form-success-title 原為 var(--ink)!important，黑夜模式的批量翻轉蓋不過 !important 而失效；
   此處以同等 !important 覆蓋為淺白。 */
html[data-theme="dark"] .form-success-title { color: #EAF4FB !important; }

/* ========================= zv_42：全站關鍵詞搜索（2026-11-17） =========================
   頁首搜索按鈕（divider 後、語言切換前，與右側按鈕同高同距）+ 搜索結果頁。
   字色一律用會隨主題翻轉的 var(--text)/var(--muted)（黑夜模式可讀，zv_40c 教訓）。 */
.header-search {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--hbtn); height: var(--hbtn); border-radius: 999px;
  color: var(--text); transition: background 0.25s, color 0.25s;
}
.header-search:hover { background: rgba(240, 96, 42, 0.12); color: var(--brand); }
.header-search svg { display: block; width: clamp(18px, 1.35vw, 26px); height: clamp(18px, 1.35vw, 26px); }

/* ---- 搜索結果頁 ---- */
.page-hero--search { padding: 72px 0 40px; }
.search-title { margin: 0 0 22px; text-align: center; font-size: clamp(28px, 4.2vw, 40px); color: var(--text); }
.search-form {
  display: flex; align-items: center; gap: 10px;
  max-width: 620px; margin: 0 auto; padding: 6px 6px 6px 18px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); transition: border-color 0.25s, box-shadow 0.25s;
}
.search-form:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(240, 96, 42, 0.12); }
.search-form-ico { display: inline-flex; color: var(--muted); flex: 0 0 auto; }
.search-form input[type="search"] {
  flex: 1; min-width: 0; border: 0; background: transparent;
  font: inherit; font-size: 15px; color: var(--text); padding: 10px 0;
}
.search-form input[type="search"]:focus { outline: none; box-shadow: none; }
.search-form input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-form-btn {
  flex: 0 0 auto; padding: 10px 22px; font: inherit; font-size: 14px; cursor: pointer;
  border: 0; border-radius: 999px; background: var(--brand); color: #fff; transition: filter 0.25s;
}
.search-form-btn:hover { filter: brightness(1.08); color: #fff; }

.search-body { padding-top: 8px; }
.search-count { color: var(--muted); font-size: 14px; margin: 0 0 26px; }
.search-hits { display: grid; gap: 14px; max-width: 780px; }
.search-hit {
  display: block; padding: 18px 20px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--paper);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.search-hit:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(10, 22, 40, 0.10);
}
.search-hit-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.search-hit-kind {
  font-size: 11px; letter-spacing: 0.06em; padding: 3px 10px; border-radius: 999px;
  background: rgba(240, 96, 42, 0.10); color: var(--brand);
}
.search-hit-lang {
  font-size: 11px; letter-spacing: 0.06em; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
}
.search-hit-title { margin: 0 0 6px; font-size: 17px; color: var(--text); line-height: 1.5; }
.search-hit:hover .search-hit-title { color: var(--brand); }
.search-hit-snippet { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--muted); }
.search-hit-snippet mark {
  background: rgba(240, 96, 42, 0.16); color: var(--brand);
  padding: 0 2px; border-radius: 3px; font-weight: 600;
}

@media (max-width: 640px) {
  .page-hero--search { padding: 48px 0 28px; }
  .search-form { padding-left: 14px; }
  .search-form-btn { padding: 10px 16px; }
}


/* ========================= zv_43：黑夜模式首頁兩欄改 HKGAI 同款（2026-11-17） =========================
   用戶要求：首頁「新聞動態」「戰略合作夥伴」黑夜背景照抄 hkgai.org 統計帶——
   深藍漸變（實測 #1E2840→#0E1626）+ 星座網絡紋理（點、連線、虛線圓）。
   僅作用於首頁（.home）與黑夜模式，淺色版不受影響。 */
html[data-theme="dark"] .home .section-news,
html:not([data-theme]) .home .section-news,
html[data-theme="dark"] .home .pm-section,
html:not([data-theme]) .home .pm-section {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #1E2840 0%, #161D31 46%, #0E1626 100%) !important;
}
/* zv_43b：接縫縫合——兩欄改垂直漸變接力，新聞欄底色＝夥伴欄頂色（#131B2E），輝光只放在遠離接縫的一端 */
/* zv_43c：頂部接縫同樣縫合——實測 hero 底色 #070D1C，新聞欄由此起步平滑爬升 */
html[data-theme="dark"] .home .section-news,
html:not([data-theme]) .home .section-news {
  background:
    radial-gradient(56% 110% at 70% 0%, rgba(96, 134, 220, 0.10), transparent 60%),
    linear-gradient(180deg, #070D1C 0%, #101a30 22%, #1E2840 48%, #131B2E 100%) !important;
}
html[data-theme="dark"] .home .pm-section,
html:not([data-theme]) .home .pm-section {
  background:
    radial-gradient(42% 80% at 6% 100%, rgba(58, 96, 180, 0.08), transparent 68%),
    linear-gradient(180deg, #131B2E 0%, #10182A 55%, #0E1626 100%) !important;
}
html[data-theme="dark"] .home .section-news::before,
html:not([data-theme]) .home .section-news::before,
html[data-theme="dark"] .home .pm-section::before,
html:not([data-theme]) .home .pm-section::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  display: block !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 420'%3E%3Cline x1='70' y1='90' x2='185' y2='42' stroke='%237EA4D9' stroke-opacity='0.14' stroke-width='1'/%3E%3Cline x1='185' y1='42' x2='300' y2='95' stroke='%237EA4D9' stroke-opacity='0.14' stroke-width='1'/%3E%3Cline x1='300' y1='95' x2='425' y2='36' stroke='%237EA4D9' stroke-opacity='0.14' stroke-width='1'/%3E%3Cline x1='185' y1='42' x2='255' y2='150' stroke='%237EA4D9' stroke-opacity='0.14' stroke-width='1'/%3E%3Cline x1='255' y1='150' x2='300' y2='95' stroke='%237EA4D9' stroke-opacity='0.14' stroke-width='1'/%3E%3Cline x1='70' y1='90' x2='150' y2='185' stroke='%237EA4D9' stroke-opacity='0.14' stroke-width='1'/%3E%3Cline x1='150' y1='185' x2='255' y2='150' stroke='%237EA4D9' stroke-opacity='0.14' stroke-width='1'/%3E%3Cline x1='60' y1='200' x2='150' y2='185' stroke='%237EA4D9' stroke-opacity='0.14' stroke-width='1'/%3E%3Cline x1='1085' y1='64' x2='1215' y2='112' stroke='%237EA4D9' stroke-opacity='0.14' stroke-width='1'/%3E%3Cline x1='1215' y1='112' x2='1345' y2='52' stroke='%237EA4D9' stroke-opacity='0.14' stroke-width='1'/%3E%3Cline x1='1085' y1='64' x2='1170' y2='185' stroke='%237EA4D9' stroke-opacity='0.14' stroke-width='1'/%3E%3Cline x1='1170' y1='185' x2='1310' y2='225' stroke='%237EA4D9' stroke-opacity='0.14' stroke-width='1'/%3E%3Cline x1='1310' y1='225' x2='1402' y2='142' stroke='%237EA4D9' stroke-opacity='0.14' stroke-width='1'/%3E%3Cline x1='1215' y1='112' x2='1170' y2='185' stroke='%237EA4D9' stroke-opacity='0.14' stroke-width='1'/%3E%3Cline x1='585' y1='318' x2='705' y2='262' stroke='%237EA4D9' stroke-opacity='0.14' stroke-width='1'/%3E%3Cline x1='705' y1='262' x2='838' y2='322' stroke='%237EA4D9' stroke-opacity='0.14' stroke-width='1'/%3E%3Cline x1='585' y1='318' x2='508' y2='368' stroke='%237EA4D9' stroke-opacity='0.14' stroke-width='1'/%3E%3Cline x1='838' y1='322' x2='930' y2='372' stroke='%237EA4D9' stroke-opacity='0.14' stroke-width='1'/%3E%3Ccircle cx='70' cy='90' r='1.7' fill='%23A9C6EE' fill-opacity='0.30'/%3E%3Ccircle cx='185' cy='42' r='2.6' fill='%23A9C6EE' fill-opacity='0.50'/%3E%3Ccircle cx='300' cy='95' r='1.7' fill='%23A9C6EE' fill-opacity='0.30'/%3E%3Ccircle cx='425' cy='36' r='1.7' fill='%23A9C6EE' fill-opacity='0.30'/%3E%3Ccircle cx='255' cy='150' r='1.7' fill='%23A9C6EE' fill-opacity='0.30'/%3E%3Ccircle cx='150' cy='185' r='1.7' fill='%23A9C6EE' fill-opacity='0.30'/%3E%3Ccircle cx='60' cy='200' r='1.7' fill='%23A9C6EE' fill-opacity='0.30'/%3E%3Ccircle cx='1085' cy='64' r='1.7' fill='%23A9C6EE' fill-opacity='0.30'/%3E%3Ccircle cx='1215' cy='112' r='2.6' fill='%23A9C6EE' fill-opacity='0.50'/%3E%3Ccircle cx='1345' cy='52' r='1.7' fill='%23A9C6EE' fill-opacity='0.30'/%3E%3Ccircle cx='1170' cy='185' r='1.7' fill='%23A9C6EE' fill-opacity='0.30'/%3E%3Ccircle cx='1310' cy='225' r='1.7' fill='%23A9C6EE' fill-opacity='0.30'/%3E%3Ccircle cx='1402' cy='142' r='1.7' fill='%23A9C6EE' fill-opacity='0.30'/%3E%3Ccircle cx='585' cy='318' r='1.7' fill='%23A9C6EE' fill-opacity='0.30'/%3E%3Ccircle cx='705' cy='262' r='1.7' fill='%23A9C6EE' fill-opacity='0.30'/%3E%3Ccircle cx='838' cy='322' r='2.6' fill='%23A9C6EE' fill-opacity='0.50'/%3E%3Ccircle cx='508' cy='368' r='1.7' fill='%23A9C6EE' fill-opacity='0.30'/%3E%3Ccircle cx='930' cy='372' r='1.7' fill='%23A9C6EE' fill-opacity='0.30'/%3E%3Ccircle cx='185' cy='42' r='30' fill='none' stroke='%237EA4D9' stroke-opacity='0.16' stroke-dasharray='3 5'/%3E%3Ccircle cx='1215' cy='112' r='36' fill='none' stroke='%237EA4D9' stroke-opacity='0.14' stroke-dasharray='3 5'/%3E%3Ccircle cx='705' cy='262' r='26' fill='none' stroke='%237EA4D9' stroke-opacity='0.12' stroke-dasharray='2 5'/%3E%3Ccircle cx='673' cy='87' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='818' cy='343' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='108' cy='47' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='1107' cy='58' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='758' cy='308' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='128' cy='269' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='449' cy='29' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='186' cy='232' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='866' cy='45' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='502' cy='56' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='1138' cy='227' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='131' cy='299' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='263' cy='124' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='1301' cy='331' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='1203' cy='41' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='1191' cy='309' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='822' cy='35' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='462' cy='33' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='1150' cy='78' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='603' cy='224' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='305' cy='286' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='251' cy='302' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='641' cy='296' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='1406' cy='102' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='221' cy='307' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3Ccircle cx='1179' cy='337' r='1' fill='%238FB4E4' fill-opacity='0.16'/%3E%3C/svg%3E") center / 1440px 420px repeat-x;
  opacity: 0.9;
}
html[data-theme="dark"] .home .section-news > .wrap,
html:not([data-theme]) .home .section-news > .wrap,
html[data-theme="dark"] .home .pm-section > .wrap,
html:not([data-theme]) .home .pm-section > .wrap { position: relative; z-index: 1; }
/* pm-sky 星點保留（HKGAI 帶內亦有顆粒感），略收斂避免與星座紋理打架 */
html[data-theme="dark"] .home .pm-section .pm-sky { opacity: 0.55; }


/* ========================= zv_44：內頁內容層復刻 HKGAI 黑夜背景（2026-11-17） =========================
   把首頁新聞/夥伴欄的深藍漸變+星座紋理鋪到所有內頁的 main 容器（頁首之下的整個內容層）。
   各欄 section 保持透明疊在上面，天然無接縫；漸變首尾色分別對齊 body(#0A101F) 與頁尾(#101A2E)。 */
html[data-theme="dark"] body:not(.home) main,
html:not([data-theme]) body:not(.home) main {
  position: relative; z-index: 0;
  background: linear-gradient(180deg, #0A101F 0%, #101A30 22%, #1E2840 44%, #131B2E 74%, #0E1626 100%);
}
html[data-theme="dark"] body:not(.home) main::before,
html:not([data-theme]) body:not(.home) main::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 960'%3E%3Cline x1='80' y1='70' x2='210' y2='36' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Cline x1='210' y1='36' x2='330' y2='86' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Cline x1='210' y1='36' x2='160' y2='140' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Cline x1='160' y1='140' x2='60' y2='180' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Cline x1='80' y1='70' x2='60' y2='180' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Ccircle cx='80' cy='70' r='1.7' fill='%23A9C6EE' fill-opacity='0.28'/%3E%3Ccircle cx='210' cy='36' r='2.6' fill='%23A9C6EE' fill-opacity='0.48'/%3E%3Ccircle cx='330' cy='86' r='1.7' fill='%23A9C6EE' fill-opacity='0.28'/%3E%3Ccircle cx='160' cy='140' r='1.7' fill='%23A9C6EE' fill-opacity='0.28'/%3E%3Ccircle cx='60' cy='180' r='1.7' fill='%23A9C6EE' fill-opacity='0.28'/%3E%3Cline x1='1090' y1='90' x2='1210' y2='50' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Cline x1='1210' y1='50' x2='1330' y2='105' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Cline x1='1090' y1='90' x2='1150' y2='170' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Cline x1='1150' y1='170' x2='1290' y2='190' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Cline x1='1290' y1='190' x2='1400' y2='120' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Cline x1='1330' y1='105' x2='1400' y2='120' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Cline x1='1210' y1='50' x2='1400' y2='120' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Ccircle cx='1090' cy='90' r='1.7' fill='%23A9C6EE' fill-opacity='0.28'/%3E%3Ccircle cx='1210' cy='50' r='2.6' fill='%23A9C6EE' fill-opacity='0.48'/%3E%3Ccircle cx='1330' cy='105' r='1.7' fill='%23A9C6EE' fill-opacity='0.28'/%3E%3Ccircle cx='1150' cy='170' r='1.7' fill='%23A9C6EE' fill-opacity='0.28'/%3E%3Ccircle cx='1290' cy='190' r='1.7' fill='%23A9C6EE' fill-opacity='0.28'/%3E%3Ccircle cx='1400' cy='120' r='1.7' fill='%23A9C6EE' fill-opacity='0.28'/%3E%3Cline x1='500' y1='470' x2='640' y2='430' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Cline x1='640' y1='430' x2='760' y2='500' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Cline x1='500' y1='470' x2='560' y2='540' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Cline x1='760' y1='500' x2='700' y2='560' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Cline x1='560' y1='540' x2='700' y2='560' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Ccircle cx='500' cy='470' r='1.7' fill='%23A9C6EE' fill-opacity='0.28'/%3E%3Ccircle cx='640' cy='430' r='1.7' fill='%23A9C6EE' fill-opacity='0.28'/%3E%3Ccircle cx='760' cy='500' r='2.6' fill='%23A9C6EE' fill-opacity='0.48'/%3E%3Ccircle cx='560' cy='540' r='1.7' fill='%23A9C6EE' fill-opacity='0.28'/%3E%3Ccircle cx='700' cy='560' r='1.7' fill='%23A9C6EE' fill-opacity='0.28'/%3E%3Cline x1='120' y1='830' x2='240' y2='780' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Cline x1='240' y1='780' x2='360' y2='850' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Cline x1='120' y1='830' x2='180' y2='900' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Cline x1='360' y1='850' x2='180' y2='900' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Ccircle cx='120' cy='830' r='1.7' fill='%23A9C6EE' fill-opacity='0.28'/%3E%3Ccircle cx='240' cy='780' r='2.6' fill='%23A9C6EE' fill-opacity='0.48'/%3E%3Ccircle cx='360' cy='850' r='1.7' fill='%23A9C6EE' fill-opacity='0.28'/%3E%3Ccircle cx='180' cy='900' r='1.7' fill='%23A9C6EE' fill-opacity='0.28'/%3E%3Cline x1='1050' y1='860' x2='1180' y2='810' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Cline x1='1180' y1='810' x2='1310' y2='880' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Cline x1='1310' y1='880' x2='1400' y2='820' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Cline x1='1180' y1='810' x2='1400' y2='820' stroke='%237EA4D9' stroke-opacity='0.13' stroke-width='1'/%3E%3Ccircle cx='1050' cy='860' r='1.7' fill='%23A9C6EE' fill-opacity='0.28'/%3E%3Ccircle cx='1180' cy='810' r='1.7' fill='%23A9C6EE' fill-opacity='0.28'/%3E%3Ccircle cx='1310' cy='880' r='2.6' fill='%23A9C6EE' fill-opacity='0.48'/%3E%3Ccircle cx='1400' cy='820' r='1.7' fill='%23A9C6EE' fill-opacity='0.28'/%3E%3Ccircle cx='210' cy='36' r='30' fill='none' stroke='%237EA4D9' stroke-opacity='0.15' stroke-dasharray='3 5'/%3E%3Ccircle cx='1210' cy='50' r='34' fill='none' stroke='%237EA4D9' stroke-opacity='0.13' stroke-dasharray='3 5'/%3E%3Ccircle cx='760' cy='500' r='26' fill='none' stroke='%237EA4D9' stroke-opacity='0.11' stroke-dasharray='2 5'/%3E%3Ccircle cx='934' cy='894' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='1154' cy='885' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='961' cy='470' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='1048' cy='883' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='1210' cy='202' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='386' cy='831' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='1056' cy='495' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='1297' cy='636' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='389' cy='104' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='922' cy='318' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='298' cy='100' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='1111' cy='837' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='1428' cy='657' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='93' cy='617' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='819' cy='471' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='1347' cy='764' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='1268' cy='673' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='330' cy='646' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='38' cy='859' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='1090' cy='72' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='129' cy='44' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='397' cy='908' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='503' cy='622' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='69' cy='804' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='958' cy='342' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='910' cy='613' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='408' cy='539' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='486' cy='663' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='610' cy='519' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='17' cy='686' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='182' cy='476' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='1349' cy='292' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='841' cy='572' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='178' cy='732' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='528' cy='330' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='478' cy='533' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='599' cy='38' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='151' cy='584' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='229' cy='418' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='228' cy='874' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='603' cy='403' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='144' cy='25' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='1410' cy='8' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='445' cy='222' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='115' cy='489' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='776' cy='733' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='821' cy='437' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='157' cy='587' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='1297' cy='211' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='1390' cy='284' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='697' cy='97' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='645' cy='348' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='39' cy='427' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='249' cy='145' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='512' cy='731' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='214' cy='19' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='130' cy='484' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='1005' cy='189' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='1404' cy='580' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3Ccircle cx='393' cy='466' r='1' fill='%238FB4E4' fill-opacity='0.14'/%3E%3C/svg%3E") center top / 1440px 960px repeat;
  opacity: 0.85;
}

/* ========================= zv_45：內頁 .section-dark 面板透明化（2026-11-17） =========================
   zv_44 已把 HKGAI 漸變鋪到內頁 main；.section-dark（研究頁 rp-overview/chain/facilities、
   團隊頁）自帶 rgba(7,16,29,.72) 深色面板，與透明欄目交界形成色差台階（用戶截圖紅框）。
   黑夜模式下一律透明，內容融進整頁漸變；卡片自身有半透明底，可讀性不受影響。 */
html[data-theme="dark"] .section-dark,
html:not([data-theme]) .section-dark,
html[data-theme="dark"] .section-dark.section-team,
html:not([data-theme]) .section-dark.section-team { background: transparent; }


/* ========================= zv_46：內頁殘餘實底欄目透明化（2026-11-17） =========================
   全局巡檢 zv_44/zv_45 之後仍殘留的實底欄位——黑夜下與整頁漸變形成色差台階：
   1) .section-more（新聞單頁「延伸閱讀」，用戶截圖紅框）、.section-past、.section-leadership
      三者同為 background:var(--paper)（黑夜=#1D2C45 實底）+ border-top 分界線，在漸變上是亮色帶；
   2) .cta-band 預設態為 rgba(7,16,29,.72) 半透明面板，與 .section-dark 同屬舊面板體系，
      且與手動黑夜（已 transparent）不一致——統一透明，內容融進整頁漸變（HKGAI 無縫做法）。 */
html[data-theme="dark"] .section-more,
html:not([data-theme]) .section-more,
html[data-theme="dark"] .section-past,
html:not([data-theme]) .section-past,
html[data-theme="dark"] .section-leadership,
html:not([data-theme]) .section-leadership {
  background: transparent;
  border-top-color: transparent;
}
html[data-theme="dark"] .cta-band,
html:not([data-theme]) .cta-band { background: transparent; }


/* ========================= zv_47：人物卡黑夜模式「夜色融合」優化（2026-11-17，方案 A） =========================
   用戶反饋黑夜下人物卡不如人意，痛點：1) 照片原始亮藍底與深藍頁面衝突突兀；
   2) 面板扁平缺乏層次；3) 舊版左上橙色實心方塊像渲染瑕疵。
   處方：面板改淡藍玻璃漸變提層次；照片不做壓暗處理（用戶要求），僅邊框改淡藍融入；對角一對橙色 L 形角標
   呼應品牌色（僅黑夜模式，淺色版不受影響）。 */
html[data-theme="dark"] .leader-card,
html:not([data-theme]) .leader-card {
  background: linear-gradient(165deg, rgba(126, 164, 217, 0.10) 0%, rgba(126, 164, 217, 0.045) 42%, rgba(14, 24, 46, 0.30) 100%);
  border-color: rgba(126, 164, 217, 0.22);
}
html[data-theme="dark"] .leader-card::before,
html:not([data-theme]) .leader-card::before {
  display: block; content: ""; position: absolute; left: 12px; top: 12px; width: 16px; height: 16px;
  border-left: 2px solid rgba(247, 148, 29, 0.9); border-top: 2px solid rgba(247, 148, 29, 0.9);
  background: transparent; border-radius: 0;
}
html[data-theme="dark"] .leader-card::after,
html:not([data-theme]) .leader-card::after {
  content: ""; position: absolute; right: 12px; bottom: 12px; width: 16px; height: 16px;
  border-right: 2px solid rgba(247, 148, 29, 0.9); border-bottom: 2px solid rgba(247, 148, 29, 0.9);
}
html[data-theme="dark"] .leader-photo,
html:not([data-theme]) .leader-photo { position: relative; }
html[data-theme="dark"] .leader-photo img,
html:not([data-theme]) .leader-photo img {
  border-color: rgba(126, 164, 217, 0.28);
}


/* ========================= zv_48：聯絡表單面板玻璃化（2026-11-17） =========================
   用戶反饋「發送查詢」面板違和（框必須保留）。根因：面板 rgba(13,22,39,.82) 比頁面星空漸變
   更黑形成凹陷黑塊，輸入框又是更黑的 rgba(7,13,25,.6)——黑上加黑。
   處方：對齊 zv_47 人物卡的淡藍玻璃語言——面板提亮成淡藍玻璃漸變，輸入框改為
   半透明白微浮層（比面板亮半階、邊框清晰一檔），保留圓角與框體結構。 */
html[data-theme="dark"] .contact-form-wrap,
html:not([data-theme]) .contact-form-wrap {
  background: linear-gradient(165deg, rgba(126, 164, 217, 0.10) 0%, rgba(126, 164, 217, 0.045) 42%, rgba(14, 24, 46, 0.30) 100%);
  border: 1px solid rgba(126, 164, 217, 0.22);
}
html[data-theme="dark"] .contact-form-wrap .contact-form input,
html:not([data-theme]) .contact-form-wrap .contact-form input,
html[data-theme="dark"] .contact-form-wrap .contact-form select,
html:not([data-theme]) .contact-form-wrap .contact-form select,
html[data-theme="dark"] .contact-form-wrap .contact-form textarea,
html:not([data-theme]) .contact-form-wrap .contact-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(148, 176, 220, 0.30);
  color: #EAF4FB;
}
html[data-theme="dark"] .contact-form-wrap .contact-form input::placeholder,
html:not([data-theme]) .contact-form-wrap .contact-form input::placeholder,
html[data-theme="dark"] .contact-form-wrap .contact-form textarea::placeholder,
html:not([data-theme]) .contact-form-wrap .contact-form textarea::placeholder { color: rgba(190, 210, 234, 0.45); }
html[data-theme="dark"] .contact-form-wrap .contact-form input:focus,
html:not([data-theme]) .contact-form-wrap .contact-form input:focus,
html[data-theme="dark"] .contact-form-wrap .contact-form select:focus,
html:not([data-theme]) .contact-form-wrap .contact-form select:focus,
html[data-theme="dark"] .contact-form-wrap .contact-form textarea:focus,
html:not([data-theme]) .contact-form-wrap .contact-form textarea:focus {
  border-color: rgba(126, 224, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(23, 185, 207, 0.14);
}
/* 下拉框選項彈出層：黑夜下原生列表底色（跟隨舊 --panel 深藍），一併對齊 */
html[data-theme="dark"] .contact-form-wrap .contact-form select option,
html:not([data-theme]) .contact-form-wrap .contact-form select option { background: #16233C; color: #EAF4FB; }


/* ========================= zv_49：黑夜卡片全家統一玻璃化（2026-11-17） =========================
   用戶指出研究頁側欄卡（side-card）與聯絡表單同樣「凹陷黑塊」。根因同源：
   舊卡片體系 rgba(16,28,50,.78) 比整頁星空漸變更黑。一次收編全站卡片家族
   到 zv_47/zv_48 已驗證的淡藍玻璃語言（比底色亮半階、自然浮出）；
   blockquote 用戶曾要求勿動，維持不變；首頁新聞卡保持無縫透明（zv_43 體系）。 */
html[data-theme="dark"] .side-card,
html:not([data-theme]) .side-card,
html[data-theme="dark"] .side-card--cta,
html:not([data-theme]) .side-card--cta,
html[data-theme="dark"] .pillar-card,
html:not([data-theme]) .pillar-card,
html[data-theme="dark"] .news-card,
html:not([data-theme]) .news-card,
html[data-theme="dark"] .event-card,
html:not([data-theme]) .event-card,
html[data-theme="dark"] .vm-card,
html:not([data-theme]) .vm-card,
html[data-theme="dark"] .value-item,
html:not([data-theme]) .value-item,
html[data-theme="dark"] .focus-item,
html:not([data-theme]) .focus-item,
html[data-theme="dark"] .partner,
html:not([data-theme]) .partner,
html[data-theme="dark"] .faq-item,
html:not([data-theme]) .faq-item,
html[data-theme="dark"] .pm-card,
html:not([data-theme]) .pm-card,
html[data-theme="dark"] .rp-nav-item,
html:not([data-theme]) .rp-nav-item {
  background: linear-gradient(165deg, rgba(126, 164, 217, 0.10) 0%, rgba(126, 164, 217, 0.045) 42%, rgba(14, 24, 46, 0.30) 100%);
  border-color: rgba(126, 164, 217, 0.20);
}
html[data-theme="dark"] .home .section-news .news-card,
html:not([data-theme]) .home .section-news .news-card { background: transparent; border-color: transparent; }
html[data-theme="dark"] .pillar-grid--big .pillar-card:hover,
html:not([data-theme]) .pillar-grid--big .pillar-card:hover { background: rgba(126, 164, 217, 0.14); }


/* ========================= zv_50：首頁新聞卡試用玻璃面板（2026-11-17） =========================
   用戶要求首頁新聞卡跟其它卡片一樣玻璃化（不行再回退）。撤銷 zv_49 對首頁新聞卡的透明豁免，
   改為全站同款淡藍玻璃漸變+邊框；圓角 14px/貼頂圖片/內文留白結構沿用 2970 段既有設定。 */
html[data-theme="dark"] .home .section-news .news-card,
html:not([data-theme]) .home .section-news .news-card {
  background: linear-gradient(165deg, rgba(126, 164, 217, 0.10) 0%, rgba(126, 164, 217, 0.045) 42%, rgba(14, 24, 46, 0.30) 100%);
  border: 1px solid rgba(126, 164, 217, 0.20);
  border-radius: 14px;
  overflow: hidden;
}


/* ========================= zv_51：首頁新聞卡圖片收邊（2026-11-17） =========================
   用戶反饋：玻璃面板對了，但大卡圖片滿鋪到卡邊，亮色照片直接糊在玻璃邊上差一口氣
   （小卡因有 12px 內距+圓角反而精緻）。處方：大卡比照小卡——圖片內嵌 12px 留白+圓角；
   全部縮圖加一圈淡藍細邊框，讓照片成為卡片裡的「照片物件」而非滿鋪糊邊。照片本身不做任何壓暗。 */
html[data-theme="dark"] .home .section-news .news-grid .news-card:first-child,
html:not([data-theme]) .home .section-news .news-grid .news-card:first-child { padding: 12px; }
html[data-theme="dark"] .home .section-news .news-grid .news-card:first-child .news-thumb,
html:not([data-theme]) .home .section-news .news-grid .news-card:first-child .news-thumb { border-radius: 10px; }
html[data-theme="dark"] .home .section-news .news-grid .news-card:first-child .news-body,
html:not([data-theme]) .home .section-news .news-grid .news-card:first-child .news-body { padding: 18px 14px 10px; }
html[data-theme="dark"] .home .section-news .news-thumb .thumb-img,
html:not([data-theme]) .home .section-news .news-thumb .thumb-img {
  border: 1px solid rgba(126, 164, 217, 0.25);
  border-radius: 10px;
}


/* ========================= zv_52：首頁新聞卡 HUD 科技風（2026-11-17） =========================
   用戶反饋淡藍玻璃喪失科幻感。改回深藍夜艙底色（貼合星空色系不再偏紫灰），
   換青色科技光邊，懸停青光呼吸；對角括角用戶要求去掉（2026-11-17）；
   zv_51 的照片內嵌收邊結構保留。 */
html[data-theme="dark"] .home .section-news .news-card,
html:not([data-theme]) .home .section-news .news-card {
  position: relative;
  background: linear-gradient(170deg, rgba(17, 44, 78, 0.68) 0%, rgba(10, 22, 46, 0.78) 48%, rgba(5, 12, 27, 0.84) 100%);
  border: 1px solid rgba(126, 224, 255, 0.30);
}
html[data-theme="dark"] .home .section-news .news-card::before,
html:not([data-theme]) .home .section-news .news-card::before,
html[data-theme="dark"] .home .section-news .news-card::after,
html:not([data-theme]) .home .section-news .news-card::after { content: none; }
html[data-theme="dark"] .home .section-news .news-card:hover,
html:not([data-theme]) .home .section-news .news-card:hover {
  border-color: rgba(126, 224, 255, 0.45);
  box-shadow: 0 0 28px rgba(23, 185, 207, 0.14), inset 0 0 18px rgba(23, 185, 207, 0.05);
}
html[data-theme="dark"] .home .section-news .news-thumb .thumb-img,
html:not([data-theme]) .home .section-news .news-thumb .thumb-img { border-color: rgba(126, 224, 255, 0.28); }


/* ========================= zv_53：首頁新聞卡圖片滿鋪貼框（2026-11-17） =========================
   用戶要求：大圖邊緣與卡框重合（兩模式統一，撤銷 zv_51 黑夜內嵌留白）；
   小圖改成左/上/下三面貼框、右側自然接文字，整體美觀簡約。照片本身不做任何處理。
   卡片圓角由 overflow:hidden 統一裁切，圖片不再自帶圓角與邊框。 */
html[data-theme="dark"] .home .section-news .news-grid .news-card:first-child,
html:not([data-theme]) .home .section-news .news-grid .news-card:first-child { padding: 0; }
html[data-theme="dark"] .home .section-news .news-grid .news-card:first-child .news-thumb,
html:not([data-theme]) .home .section-news .news-grid .news-card:first-child .news-thumb { border-radius: 0; }
html[data-theme="dark"] .home .section-news .news-grid .news-card:first-child .news-body,
html:not([data-theme]) .home .section-news .news-grid .news-card:first-child .news-body { padding: 20px 26px 24px; }

.home .section-news .news-grid .news-card:not(:first-child),
html[data-theme="dark"] .home .section-news .news-grid .news-card:not(:first-child),
html:not([data-theme]) .home .section-news .news-grid .news-card:not(:first-child),
html[data-theme="light"] .home .section-news .news-grid .news-card:not(:first-child) {
  padding: 0; align-items: stretch;
}
.home .section-news .news-grid .news-card:not(:first-child) .news-thumb,
html[data-theme="dark"] .home .section-news .news-grid .news-card:not(:first-child) .news-thumb,
html:not([data-theme]) .home .section-news .news-grid .news-card:not(:first-child) .news-thumb {
  aspect-ratio: auto; height: 100%; border-radius: 0;
}
.home .section-news .news-grid .news-card:not(:first-child) .news-body,
html[data-theme="dark"] .home .section-news .news-grid .news-card:not(:first-child) .news-body,
html:not([data-theme]) .home .section-news .news-grid .news-card:not(:first-child) .news-body {
  padding: 16px 20px; align-self: center;
}
html[data-theme="dark"] .home .section-news .news-thumb .thumb-img,
html:not([data-theme]) .home .section-news .news-thumb .thumb-img { border: 0; border-radius: 0; }


/* ========================= zv_54：首頁小卡圖片「浮出貼角」（2026-11-17） =========================
   用戶指定：小圖保留完整四個圓角、同比例放大，上/下/左三邊略微超出卡片邊緣（疊在框上），
   帶柔和投影讓照片自然浮出。卡片改 overflow:visible（背景仍隨圓角裁切）。
   撤銷 zv_53 小圖的滿鋪拉伸（aspect-ratio auto/height 100%）。 */
.home .section-news .news-grid .news-card:not(:first-child),
html[data-theme="dark"] .home .section-news .news-grid .news-card:not(:first-child),
html:not([data-theme]) .home .section-news .news-grid .news-card:not(:first-child),
html[data-theme="light"] .home .section-news .news-grid .news-card:not(:first-child) {
  overflow: visible; align-items: center;
}
.home .section-news .news-grid .news-card:not(:first-child) .news-thumb,
html[data-theme="dark"] .home .section-news .news-grid .news-card:not(:first-child) .news-thumb,
html:not([data-theme]) .home .section-news .news-grid .news-card:not(:first-child) .news-thumb {
  aspect-ratio: 16 / 9; height: auto;
  border-radius: 12px;
  margin: -10px 0 -10px -10px;
  box-shadow: 0 8px 22px rgba(2, 10, 22, 0.30);
}
html[data-theme="light"] .home .section-news .news-grid .news-card:not(:first-child) .news-thumb {
  box-shadow: 0 8px 22px rgba(9, 30, 52, 0.16);
}


/* ========================= zv_55：小卡圖片浮出改 transform 等比縮放（2026-11-17） =========================
   用戶指出負 margin 方案三張圖沒對齊（浮出量隨卡內文字高度漂移）。改為：佈局基準統一
   （16/9 置中、零負邊距），再用 transform translateX(-8px)+scale(1.09) 等比放大——
   浮出量只跟圖片自身尺寸掛鉤，三張圖完全一致：左緣外移約 16px、上下各約 5px、右緣不動。 */
.home .section-news .news-grid .news-card:not(:first-child) .news-thumb,
html[data-theme="dark"] .home .section-news .news-grid .news-card:not(:first-child) .news-thumb,
html:not([data-theme]) .home .section-news .news-grid .news-card:not(:first-child) .news-thumb,
html[data-theme="light"] .home .section-news .news-grid .news-card:not(:first-child) .news-thumb {
  aspect-ratio: 16 / 9; height: auto; margin: 0;
  border-radius: 12px;
  transform: translateX(-8px) scale(1.14);
  transition: transform 0.35s var(--ease, ease);
}
.home .section-news .news-grid .news-card:not(:first-child):hover .news-thumb { transform: translateX(-8px) scale(1.17); }


/* ========================= zv_56：小卡圖片恢復滿鋪貼框（2026-11-17，用戶定案） =========================
   用戶明確：圖片要和框對齊、不要突出，恢復與大圖的原始間距。
   撤銷 zv_54/zv_55 的浮出效果（transform/負邊距/投影全部移除），
   回到滿鋪貼框：圖片貼滿左/上/下三面；修訂（用戶反饋右側兩角成直角）：縮圖自帶 14px 圓角（與卡片一致），四角全圓，左側與卡框曲線重合。 */
.home .section-news .news-grid .news-card:not(:first-child),
html[data-theme="dark"] .home .section-news .news-grid .news-card:not(:first-child),
html:not([data-theme]) .home .section-news .news-grid .news-card:not(:first-child),
html[data-theme="light"] .home .section-news .news-grid .news-card:not(:first-child) {
  overflow: hidden; align-items: stretch;
}
.home .section-news .news-grid .news-card:not(:first-child) .news-thumb,
html[data-theme="dark"] .home .section-news .news-grid .news-card:not(:first-child) .news-thumb,
html:not([data-theme]) .home .section-news .news-grid .news-card:not(:first-child) .news-thumb,
html[data-theme="light"] .home .section-news .news-grid .news-card:not(:first-child) .news-thumb {
  aspect-ratio: auto; height: 100%;
  border-radius: 14px; margin: 0; transform: none; box-shadow: none;
}


/* ========================= zv_58：首頁小卡文字區精修（2026-11-17） =========================
   用戶反饋小卡「總感覺差一點」。照片不動，精修三處：
   1) 文字區內距 8px→14px 20px，呼吸感；
   2) 日期前加品牌橙短劃線（12x2px），把孤零零的灰字變成有設計感的 meta 行；
   3) 懸停卡片輕浮起 + 柔和投影（雙主題各自色調），標題變橙已有，補齊整體反饋。 */
.home .section-news .news-grid .news-card:not(:first-child) .news-body,
html[data-theme="dark"] .home .section-news .news-grid .news-card:not(:first-child) .news-body,
html:not([data-theme]) .home .section-news .news-grid .news-card:not(:first-child) .news-body,
html[data-theme="light"] .home .section-news .news-grid .news-card:not(:first-child) .news-body {
  padding: 14px 20px;
}
.home .section-news .news-grid .news-card:not(:first-child) .news-meta {
  display: flex; align-items: center; gap: 8px;
}
.home .section-news .news-grid .news-card:not(:first-child) .news-meta::before {
  content: ""; width: 12px; height: 2px; background: var(--brand); flex: none;
  transition: width 0.3s var(--ease, ease);
}
.home .section-news .news-grid .news-card:not(:first-child):hover .news-meta::before { width: 22px; }
.home .section-news .news-grid .news-card:not(:first-child) {
  transition: transform 0.3s var(--ease, ease), box-shadow 0.3s var(--ease, ease), border-color 0.3s var(--ease, ease);
}
.home .section-news .news-grid .news-card:not(:first-child):hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(9, 30, 52, 0.12);
}
html[data-theme="dark"] .home .section-news .news-grid .news-card:not(:first-child):hover,
html:not([data-theme]) .home .section-news .news-grid .news-card:not(:first-child):hover {
  box-shadow: 0 14px 30px rgba(2, 10, 22, 0.45), 0 0 22px rgba(23, 185, 207, 0.10);
}


/* ========================= zv_59：黑夜模式低對比文字修復（2026-11-17，WCAG AA 巡檢） =========================
   全站黑夜對比度自動巡檢發現 6 組不達標文字，逐一修復（僅黑夜，淺色不動）：
   1) 聯絡頁 contact-list li / contact-block p 硬編碼 #2B4257（淺色專用深色）→ 深底上對比僅 1.3:1，最嚴重；
   2) 首頁新聞卡日期 alpha .6 → 3.9:1 差線 → .78；3) 夥伴欄 pm-name 偏暗灰藍 → 提亮；
   4) 頁尾次要文字 .4/.45 → .6/.65；5) 研究頁 RP 編號裝飾字 .45 → .65（裝飾性，適度即可）。 */
html[data-theme="dark"] .contact-list li,
html:not([data-theme]) .contact-list li,
html[data-theme="dark"] .contact-block p,
html:not([data-theme]) .contact-block p { color: #C6D8E8; }
html[data-theme="dark"] .home .section-news .news-meta,
html:not([data-theme]) .home .section-news .news-meta { color: rgba(196, 217, 236, 0.78); }
html[data-theme="dark"] .pm-name,
html:not([data-theme]) .pm-name { color: rgba(208, 226, 242, 0.9); }
html[data-theme="dark"] .footer-parent,
html:not([data-theme]) .footer-parent { color: rgba(190, 218, 234, 0.65); }
html[data-theme="dark"] .footer-bottom,
html:not([data-theme]) .footer-bottom,
html[data-theme="dark"] footer .muted,
html:not([data-theme]) footer .muted { color: rgba(190, 218, 234, 0.6); }
html[data-theme="dark"] .pillar-no,
html:not([data-theme]) .pillar-no { color: rgba(120, 190, 210, 0.65); }


/* ========================= zv_61：正文連結白天模式橙色標識（2026-11-20） =========================
   用戶要求：白天背景下語法連結顯示橙色，明示可點擊跳轉；黑夜模式維持青色系。 */
html[data-theme="light"] .contact-block a.psac-text-link,
html:not([data-theme]) .contact-block a.psac-text-link,
html[data-theme="light"] a.psac-text-link,
html:not([data-theme]) a.psac-text-link { color: var(--brand); }
html[data-theme="light"] .contact-block a.psac-text-link:hover,
html:not([data-theme]) .contact-block a.psac-text-link:hover,
html[data-theme="light"] a.psac-text-link:hover,
html:not([data-theme]) a.psac-text-link:hover { text-decoration: underline; }


/* ========================= zv_62：首頁三張新聞小卡等高（2026-11-17，用戶選定） =========================
   實測小卡高 182.1 / 157.3 / 157.3px（標題行數差異導致）。grid-auto-rows:1fr 讓三行
   統一等於最高行，三卡等高、間距不變；大卡 grid-row span 3 自動跟隨總高。
   圖片 height:100% 隨卡拉伸滿鋪。僅桌面（>960px 單列佈局除外），手機不受影響。 */
@media (min-width: 961px) {
  .home .section-news .news-grid { grid-auto-rows: 1fr; }
}


/* ========================= zv_63：新聞列表小框 HUD 夜艙風（2026-11-17，用戶要求對齊首頁） =========================
   列表行原為舊凹陷黑塊 rgba(13,22,39,.82)，換成首頁小卡同款（zv_52）：
   深藍夜艙漸變 + 青色光邊 + 懸停青光呼吸；圓角/內距/間距結構不變。 */
html[data-theme="dark"] .news-row,
html:not([data-theme]) .news-row {
  background: linear-gradient(170deg, rgba(17, 44, 78, 0.68) 0%, rgba(10, 22, 46, 0.78) 48%, rgba(5, 12, 27, 0.84) 100%);
  border: 1px solid rgba(126, 224, 255, 0.30);
}
html[data-theme="dark"] .news-row:hover,
html:not([data-theme]) .news-row:hover {
  background: linear-gradient(170deg, rgba(21, 52, 90, 0.74) 0%, rgba(12, 26, 52, 0.82) 48%, rgba(7, 15, 32, 0.88) 100%);
  border-color: rgba(126, 224, 255, 0.45);
  box-shadow: 0 0 28px rgba(23, 185, 207, 0.14), inset 0 0 18px rgba(23, 185, 207, 0.05);
}

/* ========================= zv_70 · 大屏顯示器等比放大（≥1700px） =========================
   目標：27 吋顯示器（1920）的視覺比例 = 筆記本（1366）。zoom 1.4 ≈ 1920/1366，
   排版視口變為 1371px ≈ 筆記本，全部 px 版式與筆記本完全等比；
   掛 vw 的頂欄/hero 尺寸在此鎖定為筆記本數值（zoom 負責放大，避免雙重放大），
   僅 hero 高度除回 1.4 補償 vh，保持佔屏 78%。 */
@media (min-width: 1700px) {
  body { zoom: 1.4; }
  /* 頂欄：鎖筆記本比例值 */
  .site-header { --hbtn: 40px; }
  .header-inner { height: 104px; gap: 14px; }
  .header-inner .brand img { height: 60px !important; max-height: 60px !important; max-width: 260px !important; }
  .header-search svg, .theme-toggle svg { width: 18px; height: 18px; }
  .lang-menu summary { font-size: 13px; padding: 0 12px; }
  /* hero：佔屏 78%，文字/指示條鎖筆記本值 */
  .hero-kv { --kv-left: 60px; padding: 104px 36px 40px; }
  .hero-kv .hero-slides { height: calc(max(560px, min(78vh, 54vw)) / 1.4); }
  .kv-cap { bottom: 89px; }
  .kv-cap-title { font-size: 44px; margin-bottom: 14px; }
  .kv-cap-sub { font-size: 20px; }
  .kv-link { font-size: 15px; margin-top: 22px; }
  .kv-link svg { width: 15px; height: 15px; }
  .hero-kv .hero-dots { bottom: 30px; gap: 14px; }
  .hero-dot { width: 49px; height: 4px; }
}

/* ----------------------------------------------------- zv_86：新聞分頁（/news/）；zv_90：科技感重製 */
.news-pager {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  margin-top: 40px; flex-wrap: wrap;
}
.pg-btn {
  position: relative;
  min-width: 42px; height: 38px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px; background: transparent;
  color: var(--muted); font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em;
  cursor: pointer; transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.pg-btn:hover:not(:disabled):not(.is-active) { border-color: var(--cyan); color: var(--cyan); }
.pg-btn:disabled { opacity: 0.32; cursor: default; }
.pg-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.pg-dots { color: var(--muted); padding: 0 4px; user-select: none; font-family: var(--mono); }
/* 當前頁（淺色）：青色淡染 + 青邊 + 深青字，柔和融入版面 */
.pg-btn.is-active { background: var(--cyan-soft); border-color: var(--cyan); color: #0E7C90; cursor: default; }
@media (max-width: 640px) {
  .news-pager { gap: 7px; }
  .pg-btn { min-width: 38px; height: 36px; padding: 0 11px; font-size: 12px; }
}

/* zv_90：黑暗模式——青色脈衝當前頁 + 電路感邊框 + HUD 四角瞄準框 */
html[data-theme="dark"] .pg-btn {
  border-color: rgba(126, 224, 255, 0.26);
  background: rgba(126, 224, 255, 0.04);
  color: #9FC6E4;
}
html[data-theme="dark"] .pg-btn:hover:not(:disabled):not(.is-active) {
  border-color: var(--cyan-2); color: var(--cyan-2);
  background: rgba(56, 214, 230, 0.08);
}
html[data-theme="dark"] .pg-btn.is-active {
  background: rgba(23, 185, 207, 0.14); border-color: var(--cyan); color: var(--cyan-2);
  text-shadow: 0 0 10px rgba(56, 214, 230, 0.55);
  box-shadow: inset 0 0 12px rgba(56, 214, 230, 0.10);
}
html[data-theme="dark"] .pg-btn.is-active::before,
html[data-theme="dark"] .pg-btn.is-active::after {
  content: ""; position: absolute; width: 9px; height: 9px;
  border: 1.5px solid var(--cyan-2); pointer-events: none;
}
html[data-theme="dark"] .pg-btn.is-active::before { top: -4px; left: -4px; border-right: 0; border-bottom: 0; }
html[data-theme="dark"] .pg-btn.is-active::after { bottom: -4px; right: -4px; border-left: 0; border-top: 0; }
html[data-theme="dark"] .pg-btn:disabled { color: rgba(150, 195, 235, 0.35); border-color: rgba(150, 195, 235, 0.14); background: transparent; }
html[data-theme="dark"] .pg-dots { color: rgba(150, 195, 235, 0.55); }

/* ---------- zv_91：首頁淺色模式 A/B 背景照搬 hkgai（粒子星座由 #psac-dust canvas 提供） ----------
   A（頂部+hero）：近白藍底 + 頂部藍色光暈；B（最新動態+夥伴）：白紗罩 + 頂部藍暈。
   原有電路紋理／彩色光暈／白底全部移除，讓固定粒子層透出。 */
html[data-theme="light"] body.home {
  background:
    radial-gradient(120% 46% at 50% 0%, rgba(106, 150, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #F3F7FD 0%, #F7FAFE 60%, #F3F7FC 100%);
}
html[data-theme="light"] body.home .hero-kv { background: transparent; }
html[data-theme="light"] .home .section-news {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.40) 0%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0.46) 100%);
}
html[data-theme="light"] .home .section-news::before {
  background: radial-gradient(46% 30% at 50% 0%, rgba(106, 150, 255, 0.10), transparent 70%);
  background-repeat: no-repeat;
}
html[data-theme="light"] .home .section-news::after { content: none; }
html[data-theme="light"] .home .pm-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.40) 0%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0.46) 100%);
}
html[data-theme="light"] .home .pm-section::before {
  background: radial-gradient(46% 30% at 50% 0%, rgba(106, 150, 255, 0.10), transparent 70%);
  background-repeat: no-repeat;
}
#psac-dust { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* ---------- zv_92：淺色 footer 貼近 hkgai——近白通透、粒子透出、去電路紋理與彩色頂線 ---------- */
html[data-theme="light"] .site-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(247, 250, 254, 0.72) 100%);
}
html[data-theme="light"] .site-footer::before {
  background: linear-gradient(90deg, rgba(11, 30, 53, 0.08), rgba(11, 30, 53, 0.03) 60%, transparent);
}

/* ---------- zv_93：黑暗模式首頁——新聞/夥伴/CTA 帶改半透明暗紗，靜態星座紋理退場 ----------
   原帶內是不透明漸變+畫死的 SVG 星座紋理，把會動的 #site-stars 全頁星空擋住（用戶：帶內粒子不動）。
   改為 rgba 暗紗後星空透出，全頁粒子統一動態；紗的深淺仍維持原接縫色感。 */
html[data-theme="dark"] .home .section-news::before,
html:not([data-theme]) .home .section-news::before,
html[data-theme="dark"] .home .pm-section::before,
html:not([data-theme]) .home .pm-section::before { content: none !important; }
html[data-theme="dark"] .home .section-news,
html:not([data-theme]) .home .section-news {
  background:
    radial-gradient(56% 110% at 70% 0%, rgba(96, 134, 220, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(7, 13, 28, 0.42) 0%, rgba(16, 26, 48, 0.34) 30%, rgba(30, 40, 64, 0.34) 55%, rgba(19, 27, 46, 0.45) 100%) !important;
}
html[data-theme="dark"] .home .pm-section,
html:not([data-theme]) .home .pm-section {
  background:
    radial-gradient(42% 80% at 6% 100%, rgba(58, 96, 180, 0.07), transparent 68%),
    linear-gradient(180deg, rgba(19, 27, 46, 0.45) 0%, rgba(16, 24, 42, 0.40) 55%, rgba(14, 22, 38, 0.50) 100%) !important;
}
html[data-theme="dark"] .home .cta-band,
html:not([data-theme]) .home .cta-band {
  background:
    radial-gradient(56% 92% at 50% 120%, rgba(46, 140, 255, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(11, 27, 51, 0.45) 0%, rgba(10, 30, 56, 0.50) 100%) !important;
}

/* ---------- zv_94：首頁大新聞卡日期也加橘色橫線（與小卡一致） ---------- */
.home .section-news .news-grid .news-card:first-child .news-meta { display: flex; align-items: center; gap: 8px; }
.home .section-news .news-grid .news-card:first-child .news-meta::before {
  content: ""; width: 12px; height: 2px; background: var(--brand); flex: none;
  transition: width 0.3s var(--ease, ease);
}
.home .section-news .news-grid .news-card:first-child:hover .news-meta::before { width: 22px; }

/* ---------- zv_95：內頁淺色模式中間內容層——套用首頁「最新動態」同款背景 ----------
   白紗罩漸變 + 頂部藍暈，全站 dust 粒子從紗下透出（JS 已擴展到內頁，黑暗模式由 site-stars 負責）。 */
html[data-theme="light"] body:not(.home) main {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.40) 0%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0.46) 100%);
}
html[data-theme="light"] body:not(.home) main::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30vh;
  pointer-events: none;
  background: radial-gradient(46% 30% at 50% 0%, rgba(106, 150, 255, 0.10), transparent 70%);
}

/* ---------- zv_97：內頁淺色頁首（page-hero）融入 hkgai 體系 ----------
   舊版：不透明白底+電路走線裝飾+白→#EDF4F9 漸變（底部與內容區有色差斷層、無粒子）。
   新版：透明底讓 body 漸變與全站 dust 粒子透出；僅留頂部藍暈（呼應首頁 A 區）；接縫自然消失。 */
html[data-theme="light"] .page-hero { background: transparent; }
html[data-theme="light"] .page-hero-bg,
html:not([data-theme]) .page-hero-bg {
  background: radial-gradient(90% 100% at 50% 0%, rgba(106, 150, 255, 0.14), transparent 60%);
  background-repeat: no-repeat;
}
html[data-theme="light"] .page-hero--team .page-hero-bg,
html:not([data-theme]) .page-hero--team .page-hero-bg {
  background: radial-gradient(90% 100% at 50% 0%, rgba(106, 150, 255, 0.14), transparent 60%);
  background-repeat: no-repeat;
}

/* ---------- zv_100：手機端視覺優化（僅 ≤760px 生效，桌面/筆記本零改動） ---------- */
@media (max-width: 760px) {
  /* 1. hero 標題斷行美化：balance 讓多行標題均勻分布，避免「Low-/carbon」式單詞硬切 */
  .kv-cap-title { text-wrap: balance; }

  /* 2. iOS 地址欄伸縮時 hero 高度穩定（支援 svh 的瀏覽器用小視口高，舊瀏覽器沿用上一行） */
  .hero-kv .hero-slides { height: max(380px, min(64vh, 150vw)); height: max(380px, min(64svh, 150vw)); }

  /* 3. 觸控目標加大：篩選 pill 36→40px 高、字號 12.5→13px（拇指友好） */
  .filter-bar .filter { min-height: 40px; font-size: 13px; }
  .filter-bar .filter.date-toggle { min-height: 40px; }
  .filter-bar .month-cell { min-height: 40px; }

  /* 4. 微字號手機端提升（原 11-11.5px 在手機偏小） */
  .news-meta { font-size: 12px; }
  .kicker { font-size: 11.5px; }

  /* 5. 觸控反饋：去系統藍色高亮塊，按壓時改用輕微縮放 */
  a, button, .filter, .pg-btn, .news-card { -webkit-tap-highlight-color: transparent; }
  .filter:active, .pg-btn:active { transform: scale(0.95); }
  .news-card:active { transform: scale(0.99); }

  /* 6. 窄屏卡片陰影收斂（大投影在手機上顯得髒） */
  .news-card { box-shadow: 0 8px 24px rgba(6, 18, 34, 0.08); }

  /* 7. 頁面滾動整體柔化（iOS 慣性滾動已是默認，補 font-smoothing） */
  body { -webkit-font-smoothing: antialiased; }
}
@media (max-width: 760px) {
  /* zv_100b：手機 hero 標題 30→25px＋balance——兩行收整（Powering a Sustainable, / Low-carbon Future），不再斷詞 */
  .kv-cap-title { font-size: 25px; line-height: 1.26; }
  .kv-cap-sub { font-size: 15px; }
}

/* ---------- zv_101：內頁黑夜星空活體化——與 zv_93 同病同治 ----------
   zv_44 給內頁 main 鋪了不透明漸變 + 畫死的星座 SVG 紋理（::before），把會動的
   #site-stars 全頁星空完全擋住（用戶：內頁星點全部不動）。
   處方：①main 漸變改半透明暗紗（保色階節奏，星空透出）②刪靜態星座紋理。 */
html[data-theme="dark"] body:not(.home) main,
html:not([data-theme]) body:not(.home) main {
  background: linear-gradient(180deg,
    rgba(10, 16, 31, 0.42) 0%,
    rgba(16, 26, 48, 0.50) 22%,
    rgba(30, 40, 64, 0.58) 44%,
    rgba(19, 27, 46, 0.54) 74%,
    rgba(14, 22, 38, 0.62) 100%);
}
html[data-theme="dark"] body:not(.home) main::before,
html:not([data-theme]) body:not(.home) main::before { content: none !important; }

/* ---------- zv_102：新聞列表分類標籤——英文長分類名（如 GOVERNMENT ANNOUNCEMENTS）不再折成兩行 ----------
   日期欄 150px 裝不下長英文名，標籤在藥丸內折行很醜；加寬欄位＋禁折行（僅桌面，移動端本就單列橫排）。 */
.news-row-date .chip { white-space: nowrap; }
@media (min-width: 741px) {
  .news-row { grid-template-columns: 240px 1fr 40px; }
}

/* ==========================================================
   zv_105 · 首頁新版：全屏影片 + 暖白紙面 + 橙色視覺系統
   所有新版元素使用 rv- 前綴，與舊版首頁及內頁樣式隔離。
   ========================================================== */
body.home {
  --rv-bg: #0b0d10;
  --rv-paper: #f4f2ed;
  --rv-panel: #fbfaf7;
  --rv-text: #181b1f;
  --rv-muted: #69717a;
  --rv-orange: #f29a54;
  --rv-orange-deep: #c45a24;
  --rv-gradient: linear-gradient(110deg, #ffc18b 0%, #f29a54 42%, #e86a2c 100%);
  --rv-max: 1360px;
  --rv-px: clamp(22px, 5vw, 76px);
  --rv-section: clamp(88px, 10vw, 150px);
  background: var(--rv-paper);
}
body.home #main { position: relative; background: var(--rv-paper); }
body.home #main::before, body.home #main::after { content: none !important; }
.redesign-home { position: relative; background: var(--rv-paper); }
.rv-wrap { width: 100%; max-width: var(--rv-max); margin-inline: auto; padding-inline: var(--rv-px); }
.rv-main { position: relative; z-index: 2; background: var(--rv-paper); color: var(--rv-text); }

/* 頁首控制不變；只在首頁影片上切換為白色可讀版本，進入正文後恢復淺色毛玻璃。 */
html[data-theme="light"] body.home:not(.nav-open) .site-header:not(.is-scrolled) { background: transparent; color: #f4f3f0; border-bottom-color: transparent; }
body.home .site-header.is-scrolled { background: rgba(244, 242, 237, .94); color: #181b1f; border-bottom-color: rgba(20, 24, 28, .09); }
html[data-theme="light"] body.home:not(.nav-open) .site-header:not(.is-scrolled) .brand img.logo-img-dark { display: none; }
html[data-theme="light"] body.home:not(.nav-open) .site-header:not(.is-scrolled) .brand img.logo-img-light { display: block; }
body.home:not(.nav-open) .site-header:not(.is-scrolled) .head-divider { background: rgba(255, 255, 255, .18); }
body.home:not(.nav-open) .site-header:not(.is-scrolled) .header-search { color: #f4f3f0; }
body.home .site-header.is-scrolled .header-search { color: var(--text); }
body.home:not(.nav-open) .site-header:not(.is-scrolled) .lang-menu summary,
body.home:not(.nav-open) .site-header:not(.is-scrolled) .nav-toggle { border-color: rgba(255, 255, 255, .28); }
body.home:not(.nav-open) .site-header:not(.is-scrolled) .nav > ul > li > a:hover { background: rgba(255, 255, 255, .08); }
body.home .site-header.is-scrolled .brand img.logo-img-light { display: none; }
body.home .site-header.is-scrolled .brand img.logo-img-dark { display: block; }
body.home.nav-open .site-header { background: rgba(244, 242, 237, .98); color: #181b1f; }
body.home.nav-open .site-header .brand img.logo-img-light { display: none; }
body.home.nav-open .site-header .brand img.logo-img-dark { display: block; }
body.home.nav-open .site-header .lang-menu summary,
body.home.nav-open .site-header .nav-toggle { border-color: rgba(20, 24, 28, .18); }

/* Hero video slider */
.rv-hero {
  position: relative; z-index: 1; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  background: var(--rv-bg); color: #f4f3f0;
}
.rv-hero-bg { position: absolute; inset: 0; overflow: hidden; background: var(--rv-bg); }
.rv-hero-track { display: flex; width: 100%; height: 100%; transition: transform 1.15s cubic-bezier(.76, 0, .24, 1); will-change: transform; }
.rv-hero-slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; overflow: hidden; }
.rv-hero-video, .rv-hero-poster { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; filter: saturate(.82) contrast(1.04); }
.rv-hero-poster { background-position: center; background-size: cover; }
.rv-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 10, 12, .92) 0%, rgba(8, 10, 12, .68) 42%, rgba(8, 10, 12, .18) 78%, rgba(8, 10, 12, .35) 100%),
              linear-gradient(180deg, rgba(8, 10, 12, .55) 0%, transparent 35%, rgba(11, 13, 16, .28) 72%, #0b0d10 100%);
}
.rv-hero-content { position: relative; z-index: 2; overflow: hidden; padding-top: clamp(120px, 16vh, 170px); padding-bottom: clamp(120px, 16vh, 160px); }
.rv-hero-copy-track { display: flex; width: 100%; transition: transform 1.15s cubic-bezier(.76, 0, .24, 1); will-change: transform; }
.rv-hero-copy { flex: 0 0 100%; min-width: 100%; }
.rv-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--rv-orange); font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; }
.rv-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--rv-gradient); transform: skewX(-24deg); }
.rv-hero-title { margin-top: 22px; max-width: 680px; color: #fff; font-size: clamp(25px, 2.6vw, 38px); font-weight: 600; line-height: 1.35; letter-spacing: -.015em; text-wrap: balance; }
.rv-hero-lead { margin: 20px 0 0; max-width: 560px; color: #e0e2e5; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.85; }
.rv-hero-detail { display: inline-flex; align-items: center; gap: 14px; margin-top: 27px; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .38); color: #fff; font-size: 14px; font-weight: 500; transition: color .25s, border-color .25s; }
.rv-hero-detail span { color: var(--rv-orange); font-size: 17px; transition: transform .25s; }
.rv-hero-detail:hover { border-color: var(--rv-orange); }
.rv-hero-detail:hover span { transform: translateX(4px); }
.rv-hero-bottom { position: absolute; z-index: 3; left: var(--rv-px); right: var(--rv-px); bottom: 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #a6acb4; font-family: var(--font-display); }
.rv-slide-caption { display: block; color: #fff; max-width: 460px; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.rv-slide-caption-kicker { display: block; color: #d3d6da; font-size: 10px; letter-spacing: 1.8px; }
.rv-slide-caption-title { display: flex; align-items: center; gap: 14px; margin-top: 6px; font-size: 16px; font-weight: 500; letter-spacing: .03em; }
.rv-slide-caption-title i { font-style: normal; color: var(--rv-orange); font-size: 17px; transition: transform .25s; }
.rv-slide-caption:hover .rv-slide-caption-title i { transform: translate(3px, -3px); }
.rv-slide-interface { display: flex; align-items: center; gap: 24px; }
.rv-slide-status { display: flex; align-items: baseline; gap: 9px; font-size: 11px; letter-spacing: 1.4px; }
.rv-slide-current { color: #f4f3f0; font-size: 15px; letter-spacing: 0; }
.rv-slide-total { color: #7f8790; }
.rv-slide-nav { display: flex; align-items: center; gap: 5px; }
.rv-slide-dot { position: relative; width: 38px; height: 30px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.rv-slide-dot::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 1px; background: rgba(255, 255, 255, .28); }
.rv-slide-dot::after { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 2px; background: var(--rv-orange); transform: scaleX(0); transform-origin: left; }
.rv-slide-dot.active::after { animation: rvSlideProgress var(--rv-slide-duration, 8000ms) linear forwards; }
@keyframes rvSlideProgress { to { transform: scaleX(1); } }

/* Stats */
.rv-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid rgba(20, 24, 28, .13); }
.rv-stat { padding: clamp(32px, 4vw, 48px) clamp(18px, 2.8vw, 38px); border-left: 1px solid rgba(20, 24, 28, .075); }
.rv-stat:first-child { border-left: 0; padding-left: 0; }
.rv-stat:last-child { padding-right: 0; }
.rv-stat-number { color: var(--rv-text); font-family: var(--font-display); font-size: clamp(34px, 3.5vw, 50px); font-weight: 500; line-height: 1.1; letter-spacing: -2px; }
.rv-stat-number em { color: #d66a2d; font-style: normal; }
.rv-stat-label { margin-top: 12px; color: var(--rv-muted); font-size: 13px; letter-spacing: .4px; }

/* Shared sections */
.rv-section { position: relative; padding-block: var(--rv-section); }
.rv-section-head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 50px; align-items: end; margin-bottom: clamp(48px, 6vw, 76px); }
.rv-section-index { margin-bottom: 22px; color: var(--rv-orange-deep); font-family: var(--font-display); font-size: 12px; letter-spacing: 2px; }
.rv-section-title { color: var(--rv-text); font-size: clamp(32px, 4.1vw, 56px); font-weight: 700; line-height: 1.25; letter-spacing: -.035em; text-wrap: balance; }
.rv-section-desc { max-width: 440px; justify-self: end; color: var(--rv-muted); font-size: 15px; line-height: 1.95; }

/* Research video cards */
.rv-research { background: radial-gradient(52% 30% at 92% 3%, rgba(232, 106, 44, .065), transparent 75%), var(--rv-paper); }
.rv-research-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.2vw, 30px); }
.rv-research-card { position: relative; grid-column: span 6; display: flex; align-items: flex-end; min-height: clamp(430px, 37vw, 520px); overflow: hidden; border: 1px solid rgba(20, 24, 28, .075); border-radius: 18px; background: #111418; box-shadow: 0 1px 0 rgba(255, 255, 255, .7); transition: border-color .35s, transform .35s, box-shadow .35s; }
.rv-research-card.rv-wide { grid-column: span 7; }
.rv-research-card.rv-narrow { grid-column: span 5; }
.rv-research-card:hover { transform: translateY(-5px); border-color: rgba(242, 154, 84, .5); box-shadow: 0 24px 55px rgba(39, 31, 24, .16); }
.rv-research-media { position: absolute; inset: 0; overflow: hidden; background: #12161b; }
.rv-research-media video { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.82); transition: transform .8s, filter .5s; }
.rv-research-card:hover video { transform: scale(1.045); filter: saturate(1); }
.rv-research-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8, 10, 12, .12) 0%, rgba(8, 10, 12, .12) 32%, rgba(8, 10, 12, .9) 100%); }
.rv-rp-badge { position: absolute; top: 20px; left: 20px; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 7px 11px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 6px; background: rgba(10, 12, 15, .48); backdrop-filter: blur(10px); color: #fff; font-family: var(--font-display); font-size: 11px; letter-spacing: 1.3px; }
.rv-rp-badge::before { content: ""; width: 5px; height: 5px; background: var(--rv-orange); transform: skewX(-20deg); }
.rv-research-content { position: relative; z-index: 2; width: 100%; padding: clamp(26px, 3vw, 38px); }
.rv-research-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.rv-research-content h3 { color: #fff; font-size: clamp(20px, 1.8vw, 25px); font-weight: 600; line-height: 1.45; letter-spacing: -.02em; }
.rv-research-arrow { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; color: #fff; transition: .3s; }
.rv-research-card:hover .rv-research-arrow { border-color: var(--rv-orange); background: var(--rv-orange); color: #171009; transform: rotate(-35deg); }
.rv-research-en { margin-top: 5px; color: #c3c8ce; font-family: var(--font-display); font-size: 12px; letter-spacing: .3px; }
.rv-research-content p { margin: 17px 0 0; max-width: 520px; color: #d0d4d9; font-size: 14px; line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rv-research-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.rv-research-tags span { padding: 5px 10px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 5px; background: rgba(8, 10, 12, .16); backdrop-filter: blur(6px); color: #e0e3e6; font-family: var(--font-display); font-size: 11px; }

/* News */
.rv-news { background: #ebe8e1; }
.rv-news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.rv-news-head .rv-section-index { margin-bottom: 22px; }
.rv-news-all { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 7px; border-bottom: 1px solid rgba(20, 24, 28, .13); color: #3f464e; font-size: 13px; white-space: nowrap; transition: .25s; }
.rv-news-all:hover { color: var(--rv-orange-deep); border-color: var(--rv-orange-deep); }
.rv-news-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2vw, 26px); }
.rv-news-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid rgba(20, 24, 28, .1); border-radius: 14px; background: var(--rv-panel); transition: transform .3s, border-color .3s, box-shadow .3s; }
.rv-news-card:hover { transform: translateY(-4px); border-color: rgba(196, 90, 36, .28); box-shadow: 0 18px 42px rgba(42, 34, 27, .08); }
.rv-news-image { aspect-ratio: 4 / 3; margin: 0; overflow: hidden; background: #dedbd4; }
.rv-news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s, filter .4s; }
.rv-news-card:hover img { transform: scale(1.045); filter: saturate(1.04); }
.rv-news-card-body { display: flex; flex: 1; flex-direction: column; padding: clamp(20px, 2vw, 24px); }
.rv-news-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; color: #737b84; font-family: var(--font-display); font-size: 10px; font-weight: 600; letter-spacing: 1px; line-height: 1.5; text-transform: uppercase; }
.rv-news-meta span { min-width: 0; }
.rv-news-meta time { flex: none; white-space: nowrap; }
.rv-news-card h3 { margin-top: 15px; color: #1b1e22; font-size: 17px; font-weight: 600; line-height: 1.58; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .25s; }
.rv-news-card:hover h3 { color: var(--rv-orange-deep); }
.rv-news-card p { margin: 11px 0 0; color: #68717a; font-size: 13px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rv-news-read { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 20px; color: var(--rv-orange-deep); font-size: 12px; font-weight: 600; }
.rv-news-read i { font-style: normal; transition: transform .25s; }
.rv-news-card:hover .rv-news-read i { transform: translateX(4px); }

/* Partner text marquee */
.rv-partners { padding-block: clamp(76px, 8vw, 112px); background: var(--rv-paper); }
.rv-partners-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.rv-partners-head h2 { color: #1a1d21; font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: -.025em; }
.rv-partners-head p { margin: 0; color: var(--rv-muted); font-size: 13px; }
.rv-marquee { overflow: hidden; padding-block: 30px; border-block: 1px solid rgba(20, 24, 28, .13); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.rv-marquee-track { display: flex; width: max-content; animation: rvMarquee 32s linear infinite; }
.rv-marquee:hover .rv-marquee-track { animation-play-state: paused; }
.rv-partner-group { display: flex; flex: none; }
.rv-partner { display: flex; align-items: center; gap: 32px; padding-right: 32px; color: #737b83; font-family: var(--font-display); font-size: 20px; font-weight: 500; white-space: nowrap; transition: color .25s; }
.rv-partner::after { content: ""; width: 5px; height: 5px; background: #aaa79f; transform: skewX(-22deg); }
.rv-partner:hover { color: var(--rv-orange-deep); }
@keyframes rvMarquee { to { transform: translateX(-50%); } }

/* 新版首頁的深色頁腳是固定版面，不是可切換的黑夜模式。 */
body.home .site-footer { border-top: 1px solid rgba(255, 255, 255, .08); background: #090b0e; color: #d8dbe0; }
body.home .site-footer .brand-footer img.logo-img-dark { display: none; }
body.home .site-footer .brand-footer img.logo-img-light { display: block; }
body.home .site-footer .footer-name,
body.home .site-footer .footer-col h3 { color: #d8dbe0; }
body.home .site-footer .footer-parent,
body.home .site-footer .footer-contact,
body.home .site-footer .footer-contact a,
body.home .site-footer .footer-col a,
body.home .site-footer .footer-media .muted { color: #9299a3; }
body.home .site-footer .footer-contact svg { color: var(--rv-orange); }
body.home .site-footer .footer-bottom { border-top-color: rgba(255, 255, 255, .065); color: #69717b; }
body.home .site-footer .footer-legal a:hover,
body.home .site-footer .footer-col a:hover { color: var(--rv-orange); }

html.js .rv-reveal { opacity: 0; transform: translateY(24px); transition: opacity .85s, transform .85s; }
html.js .rv-reveal.visible { opacity: 1; transform: translateY(0); }

@media (min-width: 1700px) {
  /* 舊全站規則在大螢幕使用 body zoom:1.4；首屏高度需除回 1.4，才維持剛好一屏。 */
  .rv-hero { min-height: calc(100vh / 1.4); min-height: calc(100svh / 1.4); }
}
@media (max-width: 1100px) {
  .rv-research-card.rv-wide, .rv-research-card.rv-narrow { grid-column: span 6; }
  .rv-news-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .rv-hero-content { padding-top: 120px; padding-bottom: 130px; }
  .rv-hero-title { max-width: 600px; font-size: clamp(24px, 4.6vw, 32px); }
  .rv-section-head { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .rv-section-desc { justify-self: start; max-width: 600px; }
  .rv-research-card.rv-wide, .rv-research-card.rv-narrow { grid-column: 1 / -1; }
  .rv-partners-head { align-items: flex-start; flex-direction: column; gap: 10px; }
}
@media (max-width: 560px) {
  body.home { --rv-px: 20px; --rv-section: 82px; }
  .rv-hero-content { padding-top: 112px; padding-bottom: 142px; }
  .rv-hero-title { font-size: clamp(24px, 6.5vw, 29px); line-height: 1.38; letter-spacing: -.01em; }
  .rv-hero-lead { font-size: 15px; line-height: 1.85; }
  .rv-hero-bottom { bottom: 22px; align-items: flex-end; gap: 18px; }
  .rv-slide-caption { max-width: 190px; }
  .rv-slide-caption-kicker { font-size: 8px; letter-spacing: 1px; }
  .rv-slide-caption-title { gap: 8px; font-size: 13px; line-height: 1.5; }
  .rv-slide-interface { flex-direction: column; align-items: flex-end; gap: 4px; }
  .rv-slide-dot { width: 25px; }
  .rv-slide-nav { gap: 3px; }
  .rv-slide-current { font-size: 12px; }
  .rv-stats { grid-template-columns: repeat(2, 1fr); }
  .rv-stat { padding: 26px 16px; border-bottom: 1px solid rgba(20, 24, 28, .075); }
  .rv-stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .rv-stat:nth-child(even) { padding-right: 0; }
  .rv-stat:nth-child(3), .rv-stat:nth-child(4) { border-bottom: 0; }
  .rv-stat-number { font-size: 34px; letter-spacing: -1px; }
  .rv-stat-label { margin-top: 8px; font-size: 12px; }
  .rv-section-title { font-size: 32px; line-height: 1.32; }
  .rv-research-grid { gap: 20px; }
  .rv-research-card { min-height: 460px; }
  .rv-research-content { padding: 23px; }
  .rv-research-content h3 { font-size: 21px; }
  .rv-news-head { align-items: flex-start; flex-direction: column; }
  .rv-news-cards { grid-template-columns: 1fr; }
  .rv-news-card-body { padding: 20px; }
  .rv-news-meta { font-size: 10px; letter-spacing: .7px; }
  .rv-partner { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-marquee-track { animation: none; }
  .rv-slide-dot.active::after { animation: none; transform: scaleX(1); }
  html.js .rv-reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   zv_106 · 首頁視覺微調：緊湊深色導覽 + 原始比例影片 + 懸浮數據卡
   僅覆寫首頁；文字內容、輪播／滑動 JS 與後台資料結構不變。
   ========================================================== */
body.home .site-header .header-inner {
  max-width: var(--rv-max);
  height: clamp(64px, 5.2vw, 76px);
  padding-inline: var(--rv-px);
}
body.home .site-header .header-inner .brand img {
  height: clamp(38px, 3vw, 46px) !important;
  max-height: clamp(38px, 3vw, 46px) !important;
  max-width: min(240px, 42vw) !important;
}
html[data-theme="light"] body.home .site-header {
  background: rgba(15, 16, 18, .74);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  color: #f4f3f0;
  border-bottom-color: rgba(255, 255, 255, .07);
}
html[data-theme="light"] body.home:not(.nav-open) .site-header:not(.is-scrolled) { background: rgba(15, 16, 18, .74); }
html[data-theme="light"] body.home .site-header.is-scrolled { background: rgba(15, 16, 18, .9); }
html[data-theme="light"] body.home .site-header .brand img.logo-img-dark { display: none; }
html[data-theme="light"] body.home .site-header .brand img.logo-img-light { display: block; }
html[data-theme="light"] body.home .site-header .header-search { color: #f4f3f0; }
html[data-theme="light"] body.home .site-header .lang-menu summary,
html[data-theme="light"] body.home .site-header .nav-toggle {
  border-color: rgba(255, 255, 255, .2);
  border-radius: 10px;
}
html[data-theme="light"] body.home .site-header .lang-menu summary:hover,
html[data-theme="light"] body.home .site-header .header-search:hover { background: rgba(242, 146, 77, .1); color: var(--rv-orange); }
html[data-theme="light"] body.home .site-header .lang-panel {
  background: rgba(15, 16, 18, .96);
  border-color: rgba(255, 255, 255, .1);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .38);
}
html[data-theme="light"] body.home .site-header .lang-item { color: #d7dbe1; }
html[data-theme="light"] body.home .site-header .lang-item:hover,
html[data-theme="light"] body.home .site-header .lang-item.is-active { background: rgba(242, 146, 77, .1); color: var(--rv-orange); }
html[data-theme="light"] body.home .nav {
  background:
    linear-gradient(112deg, transparent 34%, rgba(242, 146, 77, .045) 34.6%, rgba(242, 146, 77, .012) 41%, transparent 41.6%),
    #0f1012;
}
html[data-theme="light"] body.home .nav > ul::before { color: #777f89; border-bottom-color: rgba(255, 255, 255, .08); }
html[data-theme="light"] body.home .nav > ul > li { border-bottom-color: rgba(255, 255, 255, .08); }
html[data-theme="light"] body.home .nav > ul > li > a { color: #f4f5f7; }
html[data-theme="light"] body.home .nav > ul > li > a:hover,
html[data-theme="light"] body.home .nav > ul > li.is-active > a { color: var(--rv-orange); }
html[data-theme="light"] body.home .nav .submenu li a { color: #9aa2ad; }
html[data-theme="light"] body.home .nav .submenu li a:hover { color: var(--rv-orange); }
html[data-theme="light"] body.home.nav-open .site-header,
html[data-theme="light"] body.home.nav-open .site-header.is-scrolled {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: #f4f3f0;
  border-bottom-color: transparent;
}

/* 以模糊 poster 延續畫面氛圍，前景影片用 contain 完整呈現 1344×768 原始比例。 */
.rv-hero-slide { background: var(--rv-bg); }
.rv-hero-ambient {
  position: absolute; inset: -32px; pointer-events: none;
  background-position: center; background-size: cover;
  filter: blur(24px) saturate(.72); transform: scale(1.06); opacity: .52;
}
.rv-hero-video { position: relative; z-index: 1; object-fit: contain; object-position: center; }
.rv-hero-poster { position: relative; z-index: 1; background-size: contain; background-repeat: no-repeat; }
.has-rv-hero .rv-hero-bottom { bottom: 88px; }

/* 深色數據卡懸浮在 hero 與暖白正文之間，對齊用戶提供的參考效果。 */
.rv-stats-wrap { position: relative; z-index: 4; }
.has-rv-hero .rv-stats-wrap { margin-top: clamp(-72px, -4.5vw, -52px); }
.rv-stats {
  gap: 1px; overflow: hidden; border: 0; border-radius: 20px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .34);
}
.rv-stats .rv-stat {
  padding: clamp(24px, 2.8vw, 36px) clamp(20px, 2.4vw, 30px);
  border: 0; background: #20242a; transition: background .3s;
}
.rv-stats .rv-stat:hover { background: #272c34; }
.rv-stat-number {
  color: var(--rv-orange); font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -1px;
  background: var(--rv-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.rv-stat-number em { color: transparent; }
.rv-stat-label { color: #9aa2ad; letter-spacing: .05em; }

@media (max-width: 560px) {
  body.home .site-header .header-inner { height: 64px; }
  body.home .site-header .header-inner .brand img {
    height: 34px !important; max-height: 34px !important; max-width: 164px !important;
  }
  .has-rv-hero .rv-hero-bottom { bottom: 78px; }
  .has-rv-hero .rv-stats-wrap { margin-top: -48px; }
  .rv-stats { border-radius: 16px; }
  .rv-stats .rv-stat { padding: 22px 18px; border: 0; }
  .rv-stat-number { font-size: 28px; }
  .rv-stat-label { font-size: 11px; line-height: 1.55; }
}

/* ==========================================================
   zv_107 · 首屏滿版構圖：薄型透明導覽 + 左側文字控制組
   ========================================================== */
body.home .site-header { --hbtn: 34px; }
body.home .site-header .header-inner {
  height: 58px; max-width: 1440px;
  padding-inline: clamp(18px, 3.5vw, 56px);
}
body.home .site-header .header-inner .brand img {
  height: 34px !important; max-height: 34px !important; max-width: 184px !important;
}
html[data-theme="light"] body.home .site-header,
html[data-theme="light"] body.home:not(.nav-open) .site-header:not(.is-scrolled) {
  background: rgba(8, 10, 12, .22);
  -webkit-backdrop-filter: blur(8px) saturate(1.08);
  backdrop-filter: blur(8px) saturate(1.08);
  border-bottom-color: rgba(255, 255, 255, .08);
  color: #f5f5f3;
}
html[data-theme="light"] body.home .site-header.is-scrolled {
  background: rgba(243, 244, 242, .88);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  border-bottom-color: rgba(20, 24, 28, .09);
  color: #181b1f;
}
html[data-theme="light"] body.home .site-header.is-scrolled .brand img.logo-img-light { display: none; }
html[data-theme="light"] body.home .site-header.is-scrolled .brand img.logo-img-dark { display: block; }
html[data-theme="light"] body.home .site-header.is-scrolled .header-search { color: #181b1f; }
html[data-theme="light"] body.home .site-header.is-scrolled .lang-menu summary,
html[data-theme="light"] body.home .site-header.is-scrolled .nav-toggle { border-color: rgba(20, 24, 28, .18); }
html[data-theme="light"] body.home .site-header.is-scrolled .lang-panel {
  background: rgba(250, 250, 248, .96); border-color: rgba(20, 24, 28, .1);
  box-shadow: 0 14px 36px rgba(20, 24, 28, .14);
}
html[data-theme="light"] body.home .site-header.is-scrolled .nav > ul > li > a { color: #30353a; }
html[data-theme="light"] body.home .site-header.is-scrolled .nav > ul > li.is-active > a { color: var(--rv-orange-deep); }
html[data-theme="light"] body.home .site-header.is-scrolled .lang-item { color: #343a40; }
html[data-theme="light"] body.home .site-header.is-scrolled .lang-item:hover,
html[data-theme="light"] body.home .site-header.is-scrolled .lang-item.is-active { background: rgba(242, 154, 84, .12); color: var(--rv-orange-deep); }

/* 桌面首頁恢復參考稿的橫向導覽；其他頁與手機抽屜不改。 */
@media (min-width: 861px) {
  body.home .site-header .header-inner {
    display: grid; grid-template-columns: minmax(150px, 1fr) auto minmax(190px, 1fr);
    gap: 22px;
  }
  body.home .site-header .header-inner .brand { justify-self: start; }
  body.home .site-header .nav {
    position: static; inset: auto; z-index: auto; margin: 0; padding: 0;
    opacity: 1; visibility: visible; overflow: visible; background: none !important;
    transition: none;
  }
  body.home .site-header .nav > ul {
    flex-direction: row; align-items: center; gap: 3px; max-width: none; margin: 0;
  }
  body.home .site-header .nav > ul::before { content: none; }
  body.home .site-header .nav > ul > li { border: 0; }
  body.home .site-header .nav > ul > li.nav-m-only { display: none; }
  body.home .site-header .nav > ul > li > a {
    position: relative; padding: 7px 11px; border-radius: 5px;
    color: inherit; font-size: 13px; font-weight: 400; letter-spacing: .02em; opacity: .82;
  }
  body.home .site-header .nav > ul > li > a:hover { background: rgba(255, 255, 255, .08); color: inherit; opacity: 1; }
  body.home .site-header.is-scrolled .nav > ul > li > a:hover { background: rgba(20, 24, 28, .055); }
  body.home .site-header .nav .caret { display: block; }
  body.home .site-header .nav .submenu {
    position: absolute; top: calc(100% + 9px); left: 0; min-width: 224px; padding: 7px;
    background: rgba(250, 250, 248, .98); border: 1px solid rgba(20, 24, 28, .1); border-radius: 8px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .18); opacity: 0; visibility: hidden; transform: translateY(-6px);
  }
  body.home .site-header .nav .has-sub:hover .submenu,
  body.home .site-header .nav .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
  body.home .site-header .nav .submenu li a { padding: 9px 11px; color: #343a40; font-size: 12px; }
  body.home .site-header .nav .submenu li a:hover { background: rgba(242, 154, 84, .1); color: var(--rv-orange-deep); }
  body.home .site-header .header-actions { justify-self: end; margin-left: 0; gap: 9px; }
  body.home .site-header .header-cta {
    display: inline-flex !important; height: 34px; padding: 0 16px; border: 0; border-radius: 999px;
    background: var(--rv-orange); color: #1b140e; font-size: 12px; font-weight: 600;
  }
  body.home .site-header .header-cta:hover,
  body.home .site-header.is-scrolled .header-cta:hover { background: #ffad6d; color: #1b140e; }
  body.home .site-header .nav-toggle { display: none; }
}

/* 影片不加額外縮放，以原始畫面滿版鋪滿整個首屏。 */
.rv-hero { height: 100vh; height: 100svh; min-height: 0; }
.rv-hero-ambient { display: none; }
.rv-hero-video, .rv-hero-poster {
  object-fit: cover; object-position: center; transform: none;
  filter: saturate(.9) contrast(1.02);
}
.rv-hero-poster { background-size: cover; }
/* zv_150：影片首幀未準備好時顯示底層海報，不讓黑色解碼空幀閃出。 */
.rv-hero-slide { background-position: center; background-size: cover; }
.rv-hero-video.is-pending { opacity: 0; }
.rv-hero::after {
  background:
    linear-gradient(90deg, rgba(6, 8, 10, .7) 0%, rgba(6, 8, 10, .38) 35%, rgba(6, 8, 10, .06) 68%, rgba(6, 8, 10, .14) 100%),
    linear-gradient(180deg, rgba(6, 8, 10, .32) 0%, transparent 32%, rgba(6, 8, 10, .06) 68%, rgba(6, 8, 10, .5) 100%);
}
.rv-hero-content {
  position: absolute; inset: 0; width: 100%; max-width: none; margin: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 76px clamp(26px, 6vw, 96px) 122px;
  overflow: hidden;
}
.rv-hero-copy { opacity: 0; visibility: hidden; pointer-events: none; transition: none; }
.rv-hero-copy.is-active { opacity: 1; visibility: visible; pointer-events: auto; animation: rvCopyIn .5s ease both; }
@keyframes rvCopyIn { from { opacity: 0; } to { opacity: 1; } }
.rv-hero-title { max-width: 610px; }
.rv-hero-lead { max-width: 520px; }
.rv-hero-bottom,
.has-rv-hero .rv-hero-bottom {
  position: relative; inset: auto; bottom: auto; display: block; margin-top: 27px;
  color: #a6acb4;
}
.rv-slide-interface { flex-direction: row; align-items: center; gap: 18px; }
.rv-slide-nav { gap: 4px; }
.rv-slide-dot { width: 38px; }

@media (min-width: 1700px) {
  .rv-hero { height: calc(100vh / 1.4); height: calc(100svh / 1.4); min-height: 0; }
}
@media (max-width: 860px) {
  body.home .site-header .header-inner { height: 58px; }
  body.home .site-header .header-inner .brand img { height: 30px !important; max-height: 30px !important; max-width: 156px !important; }
  body.home .site-header .header-actions { gap: 8px; }
  .rv-hero-content { padding: 84px 22px 126px; }
  .rv-hero-title { max-width: 100%; text-shadow: 0 2px 20px rgba(0, 0, 0, .42); }
  .rv-hero-lead { max-width: 34em; color: #f0f1f2; text-shadow: 0 2px 14px rgba(0, 0, 0, .65); }
  .rv-hero-bottom, .has-rv-hero .rv-hero-bottom { margin-top: 24px; }
  .rv-slide-interface { flex-direction: row; align-items: center; gap: 14px; }
  .rv-slide-dot { width: 27px; }
}
@media (max-width: 560px) {
  .rv-hero-content { padding-top: 76px; padding-bottom: 118px; }
  .rv-hero-title { font-size: clamp(23px, 6.4vw, 28px); }
  .rv-hero-lead { font-size: 14px; line-height: 1.75; }
  .rv-hero-detail { margin-top: 22px; }
  .rv-slide-status { gap: 6px; }
  .rv-slide-dot { width: 24px; }
}

/* ==========================================================
   zv_108 · 首屏玻璃數據帶 + 夥伴圖像牆 + 連續背景
   ========================================================== */
.rv-hero-content { padding-left: clamp(22px, 4.5vw, 72px); padding-right: clamp(22px, 4.5vw, 72px); }
.rv-hero-copy-track, .rv-hero-bottom { position: relative; top: 18px; }
.rv-eyebrow { font-size: 12.5px; }
.rv-hero-title { max-width: 650px; font-size: clamp(27px, 2.8vw, 42px); }
.rv-hero-lead { max-width: 550px; font-size: clamp(15px, 1.12vw, 17px); }
.rv-hero-detail { font-size: 15px; }
.rv-slide-interface { gap: 20px; }
.rv-slide-current { font-size: 16px; }
.rv-slide-nav { gap: 5px; }
.rv-slide-dot { width: 42px; height: 34px; }
.rv-slide-dot::before { top: 16px; height: 2px; background: rgba(255, 255, 255, .3); }
.rv-slide-dot::after { top: 15px; height: 3px; }

/* 數據卡完全收進影片底部：透明玻璃、背景虛化、細亮邊。 */
.rv-stats-wrap, .has-rv-hero .rv-stats-wrap {
  position: absolute; left: 0; right: 0; bottom: clamp(18px, 3vh, 30px); z-index: 4;
  max-width: 1280px; margin: 0 auto;
}
.rv-stats {
  gap: 0; border: 1px solid rgba(255, 255, 255, .24); border-radius: 14px;
  background: rgba(18, 24, 28, .3);
  -webkit-backdrop-filter: blur(20px) saturate(1.18);
  backdrop-filter: blur(20px) saturate(1.18);
  box-shadow: 0 14px 42px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.rv-stats .rv-stat {
  padding: 19px clamp(18px, 2.2vw, 30px); border: 0; border-left: 1px solid rgba(255, 255, 255, .14);
  background: transparent; transition: background .3s;
}
.rv-stats .rv-stat:first-child { border-left: 0; }
.rv-stats .rv-stat:hover { background: rgba(255, 255, 255, .055); }
.rv-stat-number { font-size: clamp(29px, 2.6vw, 38px); line-height: 1.05; }
.rv-stat-label { margin-top: 9px; color: #d2d6d8; font-size: 12px; }

/* 各欄共用一片暖白環境底，以首屏的橙光與電路線條作低對比延伸。 */
body.home #main, .redesign-home, .rv-main {
  background:
    radial-gradient(54% 24% at 92% 5%, rgba(232, 106, 44, .09), transparent 74%),
    radial-gradient(42% 22% at 2% 44%, rgba(41, 58, 66, .055), transparent 72%),
    radial-gradient(48% 20% at 88% 78%, rgba(232, 106, 44, .055), transparent 72%),
    linear-gradient(180deg, #f6f3ee 0%, #efede7 52%, #f6f3ee 100%);
}
.rv-main::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .32;
  background-image:
    linear-gradient(rgba(62, 55, 48, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 55, 48, .028) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 90%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 90%, transparent);
}
.rv-research, .rv-news { background: transparent; }
.rv-news-card { background: rgba(251, 250, 247, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* 大改前的校徽＋學校名跑馬燈，套用目前暖白玻璃質感。 */
body.home .rv-main .rv-partners.pm-section {
  position: relative; overflow: hidden; padding-block: clamp(76px, 8vw, 112px);
  background: transparent !important; color: var(--rv-text);
}
body.home .rv-partners.pm-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(48% 60% at 50% 50%, rgba(255, 255, 255, .44), transparent 76%);
}
body.home .rv-partners.pm-section::after { content: none; }
.rv-partners .rv-partners-head, .rv-partners .pm-rows { position: relative; z-index: 1; }
.rv-partners .pm-row { padding-block: 8px; }
.rv-partners .pm-track { gap: 18px; }
body.home .rv-partners .pm-card {
  width: clamp(200px, 20vw, 240px); min-height: 126px; gap: 11px; padding: 18px 18px 15px;
  border: 1px solid rgba(39, 43, 46, .1); border-radius: 13px;
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(46, 39, 32, .055);
}
body.home .rv-partners .pm-card:hover {
  border-color: rgba(196, 90, 36, .28); background: rgba(255, 255, 255, .82);
  box-shadow: 0 16px 36px rgba(46, 39, 32, .1);
}
body.home .rv-partners .pm-logo { height: 38px; max-width: 150px; filter: none; opacity: .94; }
body.home .rv-partners .pm-name { color: #50585e; font-size: 12px; }
body.home .rv-partners .pm-mark { border-color: rgba(196, 90, 36, .24); background: rgba(242, 154, 84, .09); color: var(--rv-orange-deep); }

@media (max-width: 860px) {
  .rv-hero-copy-track, .rv-hero-bottom { top: 10px; }
  .rv-hero-content { padding-left: 22px; padding-right: 22px; }
  .rv-slide-dot { width: 30px; }
}
@media (max-width: 560px) {
  .rv-hero-content { padding-bottom: 188px; }
  .rv-hero-title { font-size: clamp(24px, 6.8vw, 30px); }
  .rv-hero-lead { font-size: 14.5px; }
  .rv-hero-detail { font-size: 14px; }
  .rv-slide-interface { gap: 15px; }
  .rv-slide-dot { width: 27px; }
  .rv-stats-wrap, .has-rv-hero .rv-stats-wrap { bottom: 16px; padding-inline: 16px; }
  .rv-stats { border-radius: 13px; }
  .rv-stats .rv-stat { padding: 16px 14px; }
  .rv-stats .rv-stat:nth-child(odd) { border-left: 0; }
  .rv-stats .rv-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .13); }
  .rv-stat-number { font-size: 27px; }
  .rv-stat-label { margin-top: 7px; color: #d2d6d8; font-size: 10.5px; }
  body.home .rv-partners .pm-card { width: 174px; min-height: 112px; padding: 15px 13px 12px; }
  body.home .rv-partners .pm-logo { height: 32px; }
  body.home .rv-partners .pm-name { font-size: 11px; }
}

/* ==========================================================
   zv_109 · 全站視覺統一：電影感內容畫布 + 編輯式新聞 + 深色頁腳
   保留所有後台內容、三語與輪播互動；僅調整視覺層。
   ========================================================== */

/* zv_110：首頁正文恢復暖白＋淡橙，不沿用深色內容畫布。 */
body.home #main, .redesign-home, .rv-main {
  background:
    radial-gradient(54% 24% at 92% 5%, rgba(232, 106, 44, .09), transparent 74%),
    radial-gradient(42% 22% at 2% 44%, rgba(41, 58, 66, .055), transparent 72%),
    radial-gradient(48% 20% at 88% 78%, rgba(232, 106, 44, .055), transparent 72%),
    linear-gradient(180deg, #f6f3ee 0%, #efede7 52%, #f6f3ee 100%);
}
.rv-main { color: var(--rv-text); isolation: isolate; }
.rv-main::after {
  z-index: 0; opacity: .32;
  background-image:
    linear-gradient(rgba(62, 55, 48, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 55, 48, .028) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 90%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 90%, transparent);
}
.rv-main > section { position: relative; z-index: 1; }
.rv-section-index { color: var(--rv-orange-deep); }
.rv-section-title, .rv-partners-head h2 { color: #1a1d21; }
.rv-section-desc, .rv-partners-head p { color: var(--rv-muted); }
.rv-research-card {
  border-color: rgba(20, 24, 28, .075);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7);
}
.rv-research-card:hover {
  border-color: rgba(242, 154, 84, .5);
  box-shadow: 0 24px 55px rgba(39, 31, 24, .16);
}

/* 最新動態保留主從排版，但恢復暖白卡片與深色文字。 */
.rv-news {
  overflow: hidden;
  border-block: 1px solid rgba(39, 43, 46, .055);
  background: transparent;
}
.rv-news::before {
  content: ""; position: absolute; width: 720px; height: 720px; right: -280px; top: -270px;
  pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 106, 44, .07), transparent 68%);
}
.rv-news > .rv-wrap { position: relative; }
.rv-news-all {
  padding: 10px 15px; border: 1px solid rgba(39, 43, 46, .14); border-radius: 999px;
  color: #3f464e;
}
.rv-news-all:hover { border-color: rgba(196, 90, 36, .36); background: rgba(242, 154, 84, .08); color: var(--rv-orange-deep); }
.rv-news-cards {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  grid-template-rows: repeat(3, minmax(176px, 1fr));
  gap: 20px 22px;
}
.rv-news-card {
  border-color: rgba(39, 43, 46, .1); border-radius: 16px;
  background: rgba(251, 250, 247, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 12px 34px rgba(46, 39, 32, .06);
}
.rv-news-card:hover {
  border-color: rgba(196, 90, 36, .3); background: rgba(255, 255, 255, .96);
  box-shadow: 0 20px 48px rgba(46, 39, 32, .1);
}
.rv-news-card:first-child { grid-row: 1 / 4; }
.rv-news-card:not(:first-child) {
  display: grid; grid-template-columns: minmax(138px, 36%) minmax(0, 1fr);
  min-height: 176px;
}
.rv-news-image { position: relative; aspect-ratio: 16 / 9; background: #dedbd4; }
.rv-news-image::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 76%, rgba(8, 10, 12, .08));
}
.rv-news-card:first-child .rv-news-image { aspect-ratio: 16 / 9.2; }
.rv-news-card:not(:first-child) .rv-news-image { height: 100%; min-height: 176px; aspect-ratio: auto; }
.rv-news-image img { filter: saturate(.94); }
.rv-news-card:hover img { filter: saturate(1.04); }
.rv-news-card-body { padding: 24px; }
.rv-news-card:first-child .rv-news-card-body { padding: clamp(26px, 2.6vw, 34px); }
.rv-news-card:not(:first-child) .rv-news-card-body { padding: 19px 20px; }
.rv-news-meta { color: #737b84; letter-spacing: .7px; }
.rv-news-meta span { color: var(--rv-orange-deep); }
.rv-news-card h3 { color: #1b1e22; }
.rv-news-card:first-child h3 { margin-top: 17px; font-size: clamp(22px, 2vw, 28px); line-height: 1.48; -webkit-line-clamp: 2; }
.rv-news-card:not(:first-child) h3 { margin-top: 11px; font-size: 16px; line-height: 1.55; -webkit-line-clamp: 2; }
.rv-news-card:hover h3 { color: var(--rv-orange-deep); }
.rv-news-card p { color: #68717a; }
.rv-news-card:first-child p { -webkit-line-clamp: 2; }
.rv-news-card:not(:first-child) p { margin-top: 8px; font-size: 12px; -webkit-line-clamp: 2; }
.rv-news-read { color: var(--rv-orange-deep); }
.rv-news-card:not(:first-child) .rv-news-read { padding-top: 12px; font-size: 11px; }

/* 夥伴牆恢復暖白玻璃質感，校徽與學校名保持清晰。 */
body.home .rv-main .rv-partners.pm-section { background: transparent !important; color: var(--rv-text); }
body.home .rv-partners.pm-section::before {
  background: radial-gradient(48% 60% at 50% 50%, rgba(255, 255, 255, .44), transparent 76%);
}
body.home .rv-partners .pm-card {
  border-color: rgba(39, 43, 46, .1); background: rgba(255, 255, 255, .62);
  box-shadow: 0 8px 24px rgba(46, 39, 32, .055);
}
body.home .rv-partners .pm-card:hover {
  border-color: rgba(196, 90, 36, .28); background: rgba(255, 255, 255, .82);
  box-shadow: 0 16px 36px rgba(46, 39, 32, .1);
}

/* 內頁維持高可讀性的暖白正文，但與首頁共用炭灰、暖橙和細線紋。 */
html[data-theme="light"] body:not(.home) {
  background:
    radial-gradient(52% 24% at 90% 3%, rgba(225, 113, 48, .085), transparent 74%),
    radial-gradient(42% 24% at 0% 56%, rgba(53, 66, 74, .055), transparent 74%),
    linear-gradient(180deg, #f6f3ee 0%, #efede7 58%, #f5f2ed 100%);
}
html[data-theme="light"] body:not(.home) main { background: transparent; }
html[data-theme="light"] body:not(.home) main::before,
html[data-theme="light"] body:not(.home) main::after { content: none !important; }
html[data-theme="light"] .page-hero { background: transparent; }
html[data-theme="light"] .page-hero-bg,
html[data-theme="light"] .page-hero--team .page-hero-bg {
  background:
    radial-gradient(68% 100% at 88% 0%, rgba(225, 113, 48, .105), transparent 66%),
    linear-gradient(180deg, rgba(255, 255, 255, .4), rgba(255, 255, 255, 0));
}
html[data-theme="light"] .page-hero-bg::before {
  background-image:
    linear-gradient(rgba(42, 46, 48, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 46, 48, .035) 1px, transparent 1px);
  background-size: 88px 88px;
}
html[data-theme="light"] .page-hero .eyebrow { color: #b75b28; }
html[data-theme="light"] .section-dark,
html[data-theme="light"] .section-news,
html[data-theme="light"] .pm-section { background: transparent; }

/* 全站共用首頁深色頁腳；不是恢復黑暗模式，而是固定品牌收尾。 */
html[data-theme="light"] .site-footer,
body.home .site-footer {
  border-top: 1px solid rgba(255, 255, 255, .075);
  background:
    radial-gradient(52% 90% at 88% 0%, rgba(225, 113, 48, .055), transparent 72%),
    #090b0e;
  color: #aeb4ba;
}
html[data-theme="light"] .site-footer::before, .site-footer::before {
  height: 1px; background: linear-gradient(90deg, #e47b39, rgba(228, 123, 57, .16) 36%, transparent 78%);
}
html[data-theme="light"] .site-footer .brand-footer img.logo-img-light,
body.home .site-footer .brand-footer img.logo-img-light { display: block; }
html[data-theme="light"] .site-footer .brand-footer img.logo-img-dark,
body.home .site-footer .brand-footer img.logo-img-dark { display: none; }
html[data-theme="light"] .site-footer .footer-name,
html[data-theme="light"] .site-footer .footer-col h3,
html[data-theme="light"] .brand-footer .brand-text strong { color: #e3e5e5; }
html[data-theme="light"] .site-footer .footer-parent,
html[data-theme="light"] .site-footer .footer-contact,
html[data-theme="light"] .site-footer .footer-contact a,
html[data-theme="light"] .site-footer .footer-col a,
html[data-theme="light"] .site-footer .footer-media .muted { color: #9299a1; }
html[data-theme="light"] .site-footer .footer-contact svg { color: #f29a54; }
html[data-theme="light"] .site-footer .footer-contact .addr-link { border-bottom-color: rgba(255, 255, 255, .16); }
html[data-theme="light"] .site-footer .footer-bottom {
  border-top-color: rgba(255, 255, 255, .075); color: #737b84;
}
html[data-theme="light"] .site-footer .footer-col a:hover,
html[data-theme="light"] .site-footer .footer-legal a:hover,
html[data-theme="light"] .site-footer .footer-contact .addr-link:hover { color: #f29a54; }

/* UI 審查補強：一致的鍵盤焦點、觸控閱讀與主從卡片響應式。 */
.rv-news-card:focus-visible, .rv-research-card:focus-visible,
.rv-news-all:focus-visible, .rv-slide-dot:focus-visible {
  outline: 2px solid #f29a54; outline-offset: 4px;
}
.rv-slide-current { font-variant-numeric: tabular-nums; }

@media (max-width: 1100px) {
  .rv-news-cards { grid-template-columns: minmax(0, 1fr) minmax(330px, .92fr); }
  .rv-news-card:not(:first-child) { grid-template-columns: 128px minmax(0, 1fr); }
  .rv-news-card:not(:first-child) .rv-news-card-body { padding: 17px; }
  .rv-news-card:not(:first-child) p { display: none; }
}
@media (max-width: 860px) {
  .rv-news-cards { grid-template-columns: 1fr; grid-template-rows: auto; }
  .rv-news-card:first-child { grid-row: auto; }
  .rv-news-card:not(:first-child) { grid-template-columns: minmax(180px, 34%) minmax(0, 1fr); min-height: 184px; }
  .rv-news-card:not(:first-child) .rv-news-image { min-height: 184px; }
  .rv-news-card:not(:first-child) p { display: -webkit-box; }
}
@media (max-width: 560px) {
  .rv-news { padding-block: 78px; }
  .rv-news-head { gap: 20px; margin-bottom: 32px; }
  .rv-news-all { padding: 8px 13px; }
  .rv-news-card:first-child .rv-news-image { aspect-ratio: 4 / 3; }
  .rv-news-card:first-child .rv-news-card-body { padding: 22px; }
  .rv-news-card:first-child h3 { font-size: 22px; }
  .rv-news-card:not(:first-child) { grid-template-columns: 116px minmax(0, 1fr); min-height: 176px; }
  .rv-news-card:not(:first-child) .rv-news-image { min-height: 176px; }
  .rv-news-card:not(:first-child) .rv-news-card-body { padding: 15px 16px; }
  .rv-news-card:not(:first-child) .rv-news-meta { flex-direction: column; gap: 3px; letter-spacing: .35px; }
  .rv-news-card:not(:first-child) h3 { font-size: 15px; -webkit-line-clamp: 3; }
  .rv-news-card:not(:first-child) p { display: none; }
}

/* ==========================================================
   zv_111 · 全站薄型橫向導覽與左右間距校正
   ========================================================== */
.site-header { --hbtn: 34px; --rv-orange: #f29a54; --rv-orange-deep: #c45a24; }
.site-header .header-inner {
  height: 58px; max-width: 1440px;
  padding-inline: clamp(18px, 3.5vw, 56px);
}
.site-header .header-inner .brand img {
  height: 34px !important; max-height: 34px !important; max-width: 184px !important;
}

/* 內頁採用首頁滾動後的灰白磨砂狀態；手機抽屜開啟時除外。 */
html[data-theme="light"] body:not(.home):not(.nav-open) .site-header {
  background: rgba(243, 244, 242, .88);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  border-bottom-color: rgba(20, 24, 28, .09);
  color: #181b1f;
}
html[data-theme="light"] body:not(.home):not(.nav-open) .site-header .brand img.logo-img-light { display: none; }
html[data-theme="light"] body:not(.home):not(.nav-open) .site-header .brand img.logo-img-dark { display: block; }
html[data-theme="light"] body:not(.home):not(.nav-open) .site-header .header-search { color: #181b1f; }
html[data-theme="light"] body:not(.home):not(.nav-open) .site-header .lang-menu summary,
html[data-theme="light"] body:not(.home):not(.nav-open) .site-header .nav-toggle { border-color: rgba(20, 24, 28, .18); }
html[data-theme="light"] body:not(.home):not(.nav-open) .site-header .lang-panel {
  background: rgba(250, 250, 248, .96); border-color: rgba(20, 24, 28, .1);
  box-shadow: 0 14px 36px rgba(20, 24, 28, .14);
}
html[data-theme="light"] body:not(.home):not(.nav-open) .site-header .nav > ul > li > a { color: #30353a; }
html[data-theme="light"] body:not(.home):not(.nav-open) .site-header .nav > ul > li.is-active > a { color: var(--rv-orange-deep); }
html[data-theme="light"] body:not(.home):not(.nav-open) .site-header .lang-item { color: #343a40; }
html[data-theme="light"] body:not(.home):not(.nav-open) .site-header .lang-item:hover,
html[data-theme="light"] body:not(.home):not(.nav-open) .site-header .lang-item.is-active { background: rgba(242, 154, 84, .12); color: var(--rv-orange-deep); }

@media (min-width: 861px) {
  .site-header .header-inner {
    display: grid; grid-template-columns: minmax(150px, 1fr) auto minmax(190px, 1fr);
    gap: 22px;
  }
  .site-header .header-inner .brand { justify-self: start; }
  .site-header .nav {
    position: static; inset: auto; z-index: auto; margin: 0; padding: 0;
    opacity: 1; visibility: visible; overflow: visible; background: none !important;
    transition: none;
  }
  .site-header .nav > ul {
    flex-direction: row; align-items: center; gap: 3px; max-width: none; margin: 0;
  }
  .site-header .nav > ul::before { content: none; }
  .site-header .nav > ul > li { border: 0; }
  .site-header .nav > ul > li.nav-m-only { display: none; }
  .site-header .nav > ul > li > a {
    position: relative; padding: 7px 11px; border-radius: 5px;
    color: inherit; font-size: 13px; font-weight: 400; letter-spacing: .02em; opacity: .82;
  }
  .site-header .nav > ul > li > a:hover { background: rgba(20, 24, 28, .055); color: inherit; opacity: 1; }
  body.home:not(.nav-open) .site-header:not(.is-scrolled) .nav > ul > li > a:hover { background: rgba(255, 255, 255, .08); }
  .site-header .nav .caret { display: block; }
  .site-header .nav .submenu {
    position: absolute; top: calc(100% + 9px); left: 0; min-width: 224px; padding: 7px;
    background: rgba(250, 250, 248, .98); border: 1px solid rgba(20, 24, 28, .1); border-radius: 8px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .18); opacity: 0; visibility: hidden; transform: translateY(-6px);
  }
  .site-header .nav .has-sub:hover .submenu,
  .site-header .nav .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
  .site-header .nav .submenu li a { padding: 9px 11px; color: #343a40; font-size: 12px; }
  .site-header .nav .submenu li a:hover { background: rgba(242, 154, 84, .1); color: var(--rv-orange-deep); }
  .site-header .header-actions { justify-self: end; margin-left: 0; gap: 9px; }
  .site-header .header-cta {
    display: inline-flex !important; height: 34px; padding: 0 16px; border: 0; border-radius: 999px;
    background: var(--rv-orange); color: #1b140e; font-size: 12px; font-weight: 600;
  }
  .site-header .header-cta:hover,
  .site-header.is-scrolled .header-cta:hover { background: #ffad6d; color: #1b140e; }
  .site-header .nav-toggle { display: none; }
}

/* 兩側控制組等寬，Logo 在左組內靠右：Logo→首頁 = 新聞稿→放大鏡。 */
@media (min-width: 1000px) {
  body { --header-side-width: 188px; }
  body[data-lang="en"] { --header-side-width: 206px; }
  .site-header .header-inner .brand {
    width: var(--header-side-width); justify-content: flex-end;
  }
  .site-header .header-actions {
    width: var(--header-side-width); justify-content: flex-end;
  }
}

@media (max-width: 860px) {
  .site-header .header-inner { height: 58px; }
  .site-header .header-inner .brand img { height: 30px !important; max-height: 30px !important; max-width: 156px !important; }
  .site-header .header-actions { gap: 8px; }
  html[data-theme="light"] body:not(.home) .nav {
    background:
      linear-gradient(112deg, transparent 34%, rgba(242, 146, 77, .045) 34.6%, rgba(242, 146, 77, .012) 41%, transparent 41.6%),
      #0f1012;
  }
  html[data-theme="light"] body:not(.home) .nav > ul::before { color: #777f89; border-bottom-color: rgba(255, 255, 255, .08); }
  html[data-theme="light"] body:not(.home) .nav > ul > li { border-bottom-color: rgba(255, 255, 255, .08); }
  html[data-theme="light"] body:not(.home) .nav > ul > li > a { color: #f4f5f7; }
  html[data-theme="light"] body:not(.home) .nav > ul > li > a:hover,
  html[data-theme="light"] body:not(.home) .nav > ul > li.is-active > a { color: var(--rv-orange); }
  html[data-theme="light"] body:not(.home) .nav .submenu li a { color: #9aa2ad; }
  html[data-theme="light"] body:not(.home) .nav .submenu li a:hover { color: var(--rv-orange); }
  html[data-theme="light"] body:not(.home).nav-open .site-header .brand img.logo-img-light { display: block; }
  html[data-theme="light"] body:not(.home).nav-open .site-header .brand img.logo-img-dark { display: none; }
  html[data-theme="light"] body:not(.home).nav-open .site-header { color: #f4f3f0; }
  html[data-theme="light"] body:not(.home).nav-open .site-header .header-search { color: #f4f3f0; }
  html[data-theme="light"] body:not(.home).nav-open .site-header .lang-menu summary,
  html[data-theme="light"] body:not(.home).nav-open .site-header .nav-toggle {
    color: #f4f3f0; border-color: rgba(255, 255, 255, .2); background: transparent;
  }
  html[data-theme="light"] body:not(.home).nav-open .site-header .lang-panel { background: rgba(15, 16, 18, .96); border-color: rgba(255, 255, 255, .1); }
  html[data-theme="light"] body:not(.home).nav-open .site-header .lang-item { color: #d7dbe1; }
}

/* ==========================================================
   zv_113 · 標題箭頭緊隨文字末端並縮小
   ========================================================== */
.rv-hero-title { max-width: 860px; }
.rv-hero-title-link {
  display: inline; max-width: 100%; color: #fff; text-decoration: none;
}
.rv-hero-title-arrow {
  display: inline-block; margin-left: .35em; vertical-align: .1em;
  color: var(--rv-orange); font-size: .62em; line-height: 1; white-space: nowrap;
  transition: transform .25s ease;
}
.rv-hero-title-link:hover { color: #fff; }
.rv-hero-title-link:hover .rv-hero-title-arrow { transform: translateX(4px); }
.rv-hero-title-link:focus-visible { outline: 2px solid var(--rv-orange); outline-offset: 7px; }
.rv-slide-interface { gap: 0; }

@media (max-width: 560px) {
  .rv-hero-title-arrow { margin-left: .3em; font-size: .58em; }
}

/* ==========================================================
   zv_114 · 首頁欄目精簡、研究說明左移與連續暖白背景
   ========================================================== */
body.home { --rv-section: clamp(54px, 5.2vw, 80px); }
.rv-research .rv-section-head { display: block; margin-bottom: clamp(30px, 3.5vw, 44px); }
.rv-research .rv-section-desc {
  max-width: 680px; justify-self: start; color: var(--rv-muted);
  font-size: 16px; line-height: 1.85;
}
.rv-news { border-block: 0; }
.rv-news-head { margin-bottom: clamp(28px, 3.5vw, 42px); }
body.home .rv-main .rv-partners.pm-section { padding-block: clamp(52px, 5vw, 74px); }

@media (max-width: 860px) {
  body.home { --rv-section: 58px; }
  .rv-research .rv-section-head { margin-bottom: 30px; }
}
@media (max-width: 560px) {
  body.home { --rv-section: 50px; }
  .rv-news { padding-block: 50px; }
  body.home .rv-main .rv-partners.pm-section { padding-block: 48px; }
  .rv-research .rv-section-desc { font-size: 15px; line-height: 1.8; }
}

/* ==========================================================
   zv_115 · 標題主導新聞、伙伴收尾留白與內頁半導體 KV
   ========================================================== */
.rv-news-head .rv-section-title { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.025em; }
.rv-news-head .rv-section-index { margin-bottom: 14px; }
.rv-news-cards { grid-template-rows: repeat(3, minmax(148px, 1fr)); }
.rv-news-card:first-child .rv-news-card-body { padding-block: 25px; }
.rv-news-card:not(:first-child) { min-height: 148px; }
.rv-news-card:not(:first-child) .rv-news-image { min-height: 148px; }
.rv-news-card:not(:first-child) .rv-news-card-body { justify-content: center; padding-block: 17px; }
.rv-news-card:not(:first-child) h3 { margin-top: 10px; }
body.home .rv-main .rv-partners.pm-section {
  padding-top: clamp(52px, 5vw, 74px);
  padding-bottom: clamp(78px, 7vw, 104px);
}

/* 全站內頁共用橙光功率模塊 KV；正文與後台內容保持不變。 */
html[data-theme="light"] body:not(.home) .page-hero {
  min-height: 274px; padding: 116px 0 52px;
  background: #080d13; color: #fff;
}
html[data-theme="light"] .page-hero-bg,
html[data-theme="light"] .page-hero--team .page-hero-bg,
html[data-theme="light"] .page-hero--rp .page-hero-bg,
html[data-theme="light"] .page-hero--article .page-hero-bg,
html[data-theme="light"] .page-hero--search .page-hero-bg {
  background:
    linear-gradient(90deg, rgba(5, 9, 14, .94) 0%, rgba(5, 9, 14, .82) 32%, rgba(5, 9, 14, .4) 58%, rgba(5, 9, 14, .08) 100%),
    linear-gradient(0deg, rgba(5, 9, 14, .28), transparent 60%),
    url("../img/hero/kv-energy-arc.webp") 68% center / cover no-repeat;
}
html[data-theme="light"] .page-hero-bg::before,
html[data-theme="light"] .page-hero-bg::after { content: none !important; display: none !important; }
html[data-theme="light"] .page-hero::after {
  width: min(42%, 520px); height: 2px;
  background: linear-gradient(90deg, #f29a54, rgba(242, 154, 84, 0));
}
html[data-theme="light"] .page-hero .wrap { z-index: 1; }
html[data-theme="light"] .page-hero .breadcrumb { margin-bottom: 30px; }
html[data-theme="light"] .page-hero .breadcrumb ul,
html[data-theme="light"] .page-hero .breadcrumb a { color: rgba(235, 239, 242, .66); }
html[data-theme="light"] .page-hero .breadcrumb a:hover,
html[data-theme="light"] .page-hero .breadcrumb [aria-current],
html[data-theme="light"] .page-hero .breadcrumb a.is-current { color: #f3a165; }
html[data-theme="light"] .page-hero .eyebrow {
  max-width: 760px; margin: 0; gap: 15px;
  color: #fff; font-size: clamp(30px, 3.2vw, 44px); font-weight: 600;
  line-height: 1.25; letter-spacing: -.02em; text-shadow: 0 2px 18px rgba(0, 0, 0, .22);
}
html[data-theme="light"] .page-hero .eyebrow::before { width: 34px; height: 3px; background: #f29a54; }
html[data-theme="light"] .page-hero h1,
html[data-theme="light"] .page-hero .search-title { color: #fff; }
html[data-theme="light"] .page-hero .page-lede { color: rgba(235, 239, 242, .78); }
html[data-theme="light"] .page-hero--article { min-height: 224px; }
html[data-theme="light"] .page-hero--search { padding-top: 106px; }
html[data-theme="light"] .page-hero--search .search-form {
  background: rgba(255, 255, 255, .94); box-shadow: 0 12px 38px rgba(0, 0, 0, .16);
}

@media (max-width: 860px) {
  .rv-news-cards { grid-template-rows: auto; }
  .rv-news-card:not(:first-child) { min-height: 154px; }
  .rv-news-card:not(:first-child) .rv-news-image { min-height: 154px; }
  html[data-theme="light"] body:not(.home) .page-hero { min-height: 246px; padding: 100px 0 42px; }
  html[data-theme="light"] .page-hero .eyebrow { font-size: clamp(28px, 5vw, 38px); }
}
@media (max-width: 560px) {
  .rv-news-head .rv-section-title { font-size: 30px; }
  .rv-news-card:first-child .rv-news-card-body { padding-block: 22px; }
  .rv-news-card:not(:first-child) { min-height: 142px; }
  .rv-news-card:not(:first-child) .rv-news-image { min-height: 142px; }
  .rv-news-card:not(:first-child) .rv-news-card-body { justify-content: center; padding-block: 14px; }
  body.home .rv-main .rv-partners.pm-section { padding-top: 48px; padding-bottom: 70px; }
  html[data-theme="light"] body:not(.home) .page-hero { min-height: 226px; padding: 88px 0 36px; }
  html[data-theme="light"] .page-hero-bg,
  html[data-theme="light"] .page-hero--team .page-hero-bg,
  html[data-theme="light"] .page-hero--rp .page-hero-bg,
  html[data-theme="light"] .page-hero--article .page-hero-bg,
  html[data-theme="light"] .page-hero--search .page-hero-bg {
    background:
      linear-gradient(90deg, rgba(5, 9, 14, .92), rgba(5, 9, 14, .55)),
      url("../img/hero/kv-energy-arc-1280w.webp") 63% center / cover no-repeat;
  }
  html[data-theme="light"] .page-hero .breadcrumb { margin-bottom: 25px; }
  html[data-theme="light"] .page-hero .breadcrumb ul { font-size: 12px; gap: 8px; }
  html[data-theme="light"] .page-hero .eyebrow { font-size: 29px; gap: 11px; }
  html[data-theme="light"] .page-hero .eyebrow::before { width: 25px; height: 2px; }
  html[data-theme="light"] .page-hero--article { min-height: 174px; }
  html[data-theme="light"] .page-hero--search { padding-top: 82px; }
}

/* ==========================================================
   zv_120 · 手機資訊密度、內頁閱讀、頁腳與組件一致性
   ========================================================== */
/* 1) 手機研究卡保留原畫質影片與完整連結，首頁預覽更緊湊。 */
@media (max-width: 860px) {
  .rv-research-card { min-height: 420px; }
}
@media (max-width: 560px) {
  .rv-research-grid { gap: 16px; }
  .rv-research-card { min-height: 390px; border-radius: 16px; }
  .rv-research-content { padding: 20px; }
  .rv-research-content h3 { font-size: 20px; line-height: 1.45; }
  .rv-research-en { margin-top: 4px; font-size: 11px; line-height: 1.5; }
  .rv-research-content p {
    margin-top: 12px; font-size: 14px; line-height: 1.75; -webkit-line-clamp: 2;
  }
  .rv-research-tags { gap: 6px; margin-top: 14px; }
  .rv-research-tags span { padding: 4px 8px; }
  .rv-rp-badge { top: 16px; left: 16px; }
}

/* 2) 內頁以舒適行寬和明確段落節奏為主，不改任何後台內容。 */
.about-main .prose { max-width: 74ch; }
.prose p {
  max-width: 72ch; margin-bottom: 1.35em;
  font-size: clamp(16px, 1.15vw, 17px); line-height: 1.88; text-wrap: pretty;
}
.about-block {
  padding-bottom: clamp(44px, 5vw, 68px); margin-bottom: clamp(44px, 5vw, 68px);
}
.about-block .section-head { margin-bottom: 26px; }
.about-block .section-title { line-height: 1.3; text-wrap: balance; }
.article-body { max-width: 72ch; }
.article-body p { max-width: 68ch; line-height: 1.9; text-wrap: pretty; }
.section-lede { line-height: 1.85; text-wrap: pretty; }
.leader-lede { font-size: 16px; line-height: 1.8; }
.leader-bio p { font-size: 14.5px; line-height: 1.85; }
@media (max-width: 740px) {
  .prose p, .article-body p { font-size: 16px; line-height: 1.9; }
  .about-block .section-head { margin-bottom: 22px; }
  .about-block .section-title { font-size: 26px; }
}

/* 3) 頁腳收緊；相同的一般／傳媒郵箱由模板自動合併。 */
.site-footer { padding-top: clamp(42px, 4.5vw, 64px); }
.footer-top { padding-bottom: 38px; }
.footer-top--merged { grid-template-columns: minmax(0, 1.55fr) minmax(220px, .75fr); }
.footer-parent { margin-bottom: 18px; }
.footer-bottom { padding: 18px 0 20px; }
@media (max-width: 740px) {
  .site-footer { padding-top: 40px; }
  .footer-top, .footer-top--merged { grid-template-columns: 1fr; gap: 26px; padding-bottom: 30px; }
  .footer-brand .brand-footer { margin-bottom: 14px; }
  .footer-contact { gap: 8px; }
  .footer-col:not(.footer-media) ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .footer-col:not(.footer-media) li a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-col h3 { margin-bottom: 8px; }
  .footer-bottom { gap: 6px; padding: 16px 0 18px; }
  .footer-legal a { display: inline-flex; align-items: center; min-height: 40px; }
}

/* 4) 放大滑块触控区域，但可见线条宽度及粗细保持不变。 */
.rv-slide-dot {
  width: 44px; height: 44px; margin-block: -5px; touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.rv-slide-dot::before { left: 1px; right: 1px; top: 21px; }
.rv-slide-dot::after { left: 1px; right: 1px; top: 20px; }
.rv-news-all { min-height: 44px; }
.rv-news-card:active, .rv-research-card:active { transform: translateY(-1px); }
.rv-news-all:active { background: rgba(242, 154, 84, .14); }
.news-row:focus-visible, a.pm-card:focus-visible {
  outline: 2px solid #f29a54; outline-offset: 4px;
}
@media (max-width: 560px) {
  .rv-slide-dot::before, .rv-slide-dot::after { left: 8px; right: 8px; }
}

/* 6) 新聞組件共用暖白卡片、橙色互動與一致的中繼資料節奏。 */
.rv-news-meta, .news-row-date time {
  font-family: var(--font-display); font-variant-numeric: tabular-nums;
}
html[data-theme="light"] .news-list { border-top: 0; }
html[data-theme="light"] .news-row {
  padding: 26px 28px; border: 1px solid rgba(39, 43, 46, .1); border-radius: 16px;
  background: rgba(251, 250, 247, .88);
  box-shadow: 0 12px 34px rgba(46, 39, 32, .055);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
html[data-theme="light"] .news-row:hover {
  transform: translateY(-2px); border-color: rgba(196, 90, 36, .3);
  background: rgba(255, 255, 255, .96); box-shadow: 0 20px 48px rgba(46, 39, 32, .1);
}
html[data-theme="light"] .news-row:active { transform: translateY(0); }
.news-row-main h3 { transition: color .25s ease; }
html[data-theme="light"] .news-row:hover .news-row-main h3 { color: #c45a24; }
html[data-theme="light"] .news-row-date .chip {
  color: #a84d20; border-color: rgba(196, 90, 36, .18); background: rgba(242, 154, 84, .08);
}
@media (max-width: 740px) {
  html[data-theme="light"] .news-row { padding: 20px; border-radius: 14px; }
}

/* 夥伴 Logo 使用固定光學框，再按字形重量微調，而非機械地同寬。 */
.rv-partners .pm-card { min-height: 118px; gap: 10px; border-radius: 14px; }
.rv-partners .pm-logo { height: 38px; max-width: 168px; }
.rv-partners .pm-logo[src*="/polyu."] { height: 43px; max-width: 176px; }
.rv-partners .pm-logo[src*="/mrdi."],
.rv-partners .pm-logo[src*="/epfl."] { height: 31px; }
.rv-partners .pm-logo[src*="/pku."],
.rv-partners .pm-logo[src*="/thu."] { height: 41px; }
.rv-partners .pm-name { color: #4f565e; font-size: 12.5px; line-height: 1.45; }
.rv-partners a.pm-card:active { transform: translateY(0); }
@media (max-width: 640px) {
  .rv-partners .pm-card { min-height: 106px; gap: 8px; }
  .rv-partners .pm-logo { height: 32px; max-width: 142px; }
  .rv-partners .pm-logo[src*="/polyu."] { height: 36px; }
  .rv-partners .pm-logo[src*="/mrdi."],
  .rv-partners .pm-logo[src*="/epfl."] { height: 27px; }
  .rv-partners .pm-logo[src*="/pku."],
  .rv-partners .pm-logo[src*="/thu."] { height: 34px; }
  .rv-partners .pm-name { font-size: 12px; }
}

/* ==========================================================
   zv_122 · 桌面 Hero 比例：標題適度下移，數據列收斂並精準置中
   手機沿用 zv_120 的觸控及兩欄數據配置，不受本輪桌面調整影響。
   ========================================================== */
@media (min-width: 861px) {
  .rv-hero-copy-track { top: 52px; }
  .rv-stats-wrap, .has-rv-hero .rv-stats-wrap {
    width: min(58vw, 900px);
    max-width: 900px;
    padding-inline: clamp(20px, 2vw, 32px);
  }
  .rv-stats .rv-stat { padding: 16px clamp(16px, 1.8vw, 26px); }
  .rv-stat-number { font-size: clamp(28px, 2vw, 34px); }
  .rv-stat-label { margin-top: 7px; font-size: 11px; line-height: 1.55; }
}
/* 1920px 寬屏有 1.4 倍整頁縮放；以實際視覺寬度補償，維持約半屏的參考比例。 */
@media (min-width: 1800px) {
  .rv-stats-wrap, .has-rv-hero .rv-stats-wrap { width: 800px; max-width: 800px; padding-inline: 32px; }
}

/* ==========================================================
   zv_124 · Hero 控制組整體下移，恢復標題與滑塊間距
   數據列僅收薄及提高通透度；手機沿用既有配置。
   ========================================================== */
@media (min-width: 861px) {
  .rv-hero-copy-track, .rv-hero-bottom, .has-rv-hero .rv-hero-bottom { top: 160px; }
  .rv-hero-bottom, .has-rv-hero .rv-hero-bottom { margin-top: 27px; }
  .rv-stats {
    background: rgba(18, 24, 28, .18);
    border-color: rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(16px) saturate(1.12);
    backdrop-filter: blur(16px) saturate(1.12);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .04);
  }
  .rv-stats .rv-stat { padding-block: 12px; }
  .rv-stat-label { margin-top: 6px; }
}
@media (min-width: 861px) and (max-height: 700px) {
  .rv-hero-copy-track, .rv-hero-bottom, .has-rv-hero .rv-hero-bottom { top: 150px; }
}

/* zv_125：高度由目前標題驅動；切換長短標題時，滑塊間距保持一致。 */
.rv-hero-copy-track {
  align-items: flex-start;
  transition: transform 1.15s cubic-bezier(.76, 0, .24, 1), height .35s ease;
}
@media (prefers-reduced-motion: reduce) {
  .rv-hero-copy-track { transition: none; }
}

/* ==========================================================
   zv_126 · 研究領域編輯式編排：主研究影片＋研究目錄
   保留暖白淡橙、真實後台內容與逐項影片／海報設定。
   ========================================================== */
.rv-research-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(300px, .88fr);
  gap: clamp(36px, 4.5vw, 68px);
  align-items: start;
}
.rv-research-feature { min-width: 0; }
.rv-research-feature-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #171b1f;
}
.rv-research-feature-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rv-research-film-label {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(20, 24, 27, .78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .12em;
}
.rv-research-film-label::before { content: ""; width: 18px; height: 2px; background: var(--rv-orange); }
.rv-research-feature-body {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 24px;
  padding-top: 28px;
}
.rv-research-feature-no { padding-top: 7px; font-family: var(--font-display); }
.rv-research-feature-no strong { display: block; color: var(--rv-orange-deep); font-size: 12px; letter-spacing: .12em; }
.rv-research-feature-no span { display: block; margin-top: 8px; color: #8a8f93; font-size: 9px; letter-spacing: .14em; }
.rv-research-feature-copy h3 {
  margin: 0;
  color: #1c2226;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -.035em;
}
.rv-research-feature-en { margin: 9px 0 0; color: #7b8288; font-family: var(--font-display); font-size: 12px; letter-spacing: .02em; }
.rv-research-feature-desc { margin: 22px 0 0; color: #515b62; font-size: 15px; line-height: 1.9; }
.rv-research-feature-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 25px; }
.rv-research-feature-tags { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.rv-research-feature-tags span { padding-left: 9px; border-left: 2px solid rgba(198, 93, 41, .52); color: #687077; font-size: 11px; line-height: 1.5; }
.rv-research-feature-link {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(198, 93, 41, .42);
  color: var(--rv-orange-deep);
  font-size: 12px;
  font-weight: 600;
}
.rv-research-feature-link span { transition: transform .25s ease; }
.rv-research-feature-link:hover span, .rv-research-feature-link:focus-visible span { transform: translateX(4px); }
.rv-research-index { min-width: 0; padding-left: 18px; border-top: 1px solid rgba(36, 42, 45, .18); }
.rv-research-index-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 16px;
  color: #8a8f93;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: .14em;
}
.rv-research-index-head span:first-child { color: var(--rv-orange-deep); font-weight: 700; }
.rv-research-index-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 20px;
  gap: 12px;
  align-items: start;
  width: 100%;
  min-height: 88px;
  padding: 23px 0;
  border: 0;
  border-bottom: 1px solid rgba(36, 42, 45, .14);
  border-radius: 0;
  background: transparent;
  color: #1c2226;
  text-align: left;
  cursor: pointer;
}
.rv-research-index-item::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 27px;
  width: 3px;
  height: 0;
  background: var(--rv-orange-deep);
  transition: height .25s ease;
}
.rv-research-index-item[aria-pressed="true"]::before { height: 28px; }
.rv-research-index-num { padding-top: 3px; color: #94999d; font-family: var(--font-display); font-size: 11px; }
.rv-research-index-item[aria-pressed="true"] .rv-research-index-num { color: var(--rv-orange-deep); }
.rv-research-index-title { display: block; font-size: 16px; font-weight: 600; line-height: 1.55; transition: color .25s ease; }
.rv-research-index-en { display: block; margin-top: 6px; color: #7c8389; font-family: var(--font-display); font-size: 10px; line-height: 1.55; }
.rv-research-index-arrow { padding-top: 2px; color: var(--rv-orange-deep); opacity: 0; transform: translateX(-5px); transition: opacity .25s ease, transform .25s ease; }
.rv-research-index-item:hover .rv-research-index-title,
.rv-research-index-item[aria-pressed="true"] .rv-research-index-title { color: var(--rv-orange-deep); }
.rv-research-index-item:hover .rv-research-index-arrow,
.rv-research-index-item[aria-pressed="true"] .rv-research-index-arrow { opacity: 1; transform: none; }
.rv-research-index-item:focus-visible, .rv-research-feature-link:focus-visible { outline: 2px solid var(--rv-orange-deep); outline-offset: 4px; }
@media (max-width: 1000px) {
  .rv-research-editorial { grid-template-columns: 1fr; }
  .rv-research-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; padding-left: 0; }
  .rv-research-index-head { grid-column: 1 / -1; }
  .rv-research-index-item { padding-left: 14px; }
  .rv-research-index-item::before { left: 0; }
}
@media (max-width: 600px) {
  .rv-research-feature-media { aspect-ratio: 4 / 3; }
  .rv-research-film-label { padding: 10px 12px; font-size: 9px; }
  .rv-research-feature-body { grid-template-columns: 1fr; gap: 12px; padding-top: 22px; }
  .rv-research-feature-no { display: flex; align-items: center; gap: 12px; padding-top: 0; }
  .rv-research-feature-no span { margin-top: 0; }
  .rv-research-feature-copy h3 { font-size: 28px; }
  .rv-research-feature-desc { margin-top: 18px; font-size: 14px; }
  .rv-research-feature-foot { align-items: flex-start; flex-direction: column; gap: 20px; }
  .rv-research-feature-link { min-height: 40px; align-items: center; }
  .rv-research-index { display: block; margin-top: 4px; }
  .rv-research-index-head { padding-bottom: 12px; }
  .rv-research-index-item { grid-template-columns: 34px minmax(0, 1fr) 20px; min-height: 76px; padding-block: 19px; }
  .rv-research-index-item::before { top: 23px; }
  .rv-research-index-title { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-research-feature-link span, .rv-research-index-item::before, .rv-research-index-arrow, .rv-research-index-title { transition: none; }
}

/* ==========================================================
   zv_127 · 三語數據同高與研究區精緻化
   英文以短標籤避免翻譯拉長；窄桌面適度放寬，不縮小可讀性。
   ========================================================== */
@media (min-width: 861px) and (max-width: 1100px) {
  .rv-stats-wrap, .has-rv-hero .rv-stats-wrap { width: min(78vw, 760px); max-width: 760px; }
}

/* 研究導讀以一條細規則收束，建立頁面節奏而不恢復大型欄目標題。 */
.rv-research .rv-section-head {
  margin-bottom: clamp(30px, 3vw, 42px);
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(43, 47, 48, .13);
}
.rv-research .rv-section-index { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.rv-research .rv-section-index::before { content: ""; width: 26px; height: 1px; background: var(--rv-orange-deep); }
.rv-research .rv-section-desc { max-width: 720px; line-height: 1.8; }

/* 主影片成為視覺焦點：細框、柔和落地陰影與浮置的影片資訊。 */
.rv-research-feature-media {
  border: 1px solid rgba(33, 38, 41, .13);
  border-radius: 6px;
  background: #14191d;
  box-shadow: 0 22px 48px rgba(47, 38, 29, .12), 0 3px 10px rgba(47, 38, 29, .055);
  isolation: isolate;
}
.rv-research-feature-media::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(9, 13, 16, .32));
}
.rv-research-film-label {
  left: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 3px;
  background: rgba(17, 22, 26, .66);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
}
.rv-research-feature-body { padding-top: 30px; padding-bottom: 26px; border-bottom: 1px solid rgba(43, 47, 48, .13); }
.rv-research-feature-no strong { font-size: 12.5px; }
.rv-research-feature-copy h3 { font-weight: 550; }
.rv-research-feature-desc { max-width: 64ch; color: #4c575e; }
.rv-research-feature-foot { margin-top: 23px; padding-top: 18px; border-top: 1px solid rgba(43, 47, 48, .09); }
.rv-research-feature-link { min-height: 32px; }

/* 目錄以淡橙選中底色、細長標記及圓形箭頭構成清楚而克制的層級。 */
.rv-research-index { padding-left: 0; border-top-color: rgba(36, 42, 45, .22); }
.rv-research-index-head { padding: 2px 0 18px 24px; }
.rv-research-index-item {
  grid-template-columns: 38px minmax(0, 1fr) 28px;
  min-height: 96px;
  padding: 24px 8px 24px 24px;
  border-bottom-color: rgba(36, 42, 45, .12);
  border-radius: 0 4px 4px 0;
  transition: background .28s ease;
}
.rv-research-index-item::before { left: 0; top: 50%; height: 0; transform: translateY(-50%); }
.rv-research-index-item[aria-pressed="true"] {
  background: linear-gradient(90deg, rgba(232, 106, 44, .085), rgba(232, 106, 44, .018) 72%, transparent);
}
.rv-research-index-item[aria-pressed="true"]::before { height: 38px; }
.rv-research-index-item:hover { background: rgba(255, 255, 255, .38); }
.rv-research-index-arrow {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding-top: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  font-size: 13px;
}
.rv-research-index-item:hover .rv-research-index-arrow,
.rv-research-index-item[aria-pressed="true"] .rv-research-index-arrow {
  border-color: rgba(196, 90, 36, .24);
  background: rgba(255, 255, 255, .42);
}
.rv-research-index-item[aria-pressed="true"] .rv-research-index-en { color: #8b6a58; }

@media (max-width: 1000px) {
  .rv-research-index-item { min-height: 88px; }
}
@media (max-width: 600px) {
  .rv-research .rv-section-head { margin-bottom: 28px; padding-bottom: 22px; }
  .rv-research .rv-section-index { margin-bottom: 14px; }
  .rv-research-feature-media { border-radius: 5px; box-shadow: 0 15px 32px rgba(47, 38, 29, .11); }
  .rv-research-film-label { left: 12px; bottom: 12px; padding: 9px 11px; }
  .rv-research-feature-body { padding-top: 23px; padding-bottom: 23px; }
  .rv-research-feature-foot { margin-top: 20px; padding-top: 0; border-top: 0; }
  .rv-research-index { margin-top: 10px; }
  .rv-research-index-head { padding: 0 0 14px 18px; }
  .rv-research-index-item { grid-template-columns: 30px minmax(0, 1fr) 26px; min-height: 78px; padding: 18px 4px 18px 18px; }
  .rv-research-index-item[aria-pressed="true"]::before { height: 32px; }
  .rv-research-index-arrow { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-research-index-item { transition: none; }
}

/* ==========================================================
   zv_128 · 英文 Hero 固定滑塊與大屏首頁響應式比例
   文字向固定滑塊底線對齊；寬屏不再依賴 body zoom 放大。
   ========================================================== */
@media (min-width: 861px) {
  body.home[data-lang="en"] .rv-hero-content { display: block; }
  body.home[data-lang="en"] .rv-hero-copy-track {
    position: absolute;
    top: auto;
    right: clamp(22px, 4.5vw, 72px);
    bottom: calc(clamp(170px, 22.8vh, 240px) + 61px);
    left: clamp(22px, 4.5vw, 72px);
    align-items: flex-end;
    height: 230px !important;
  }
  body.home[data-lang="en"] .rv-hero-bottom,
  body.home[data-lang="en"] .has-rv-hero .rv-hero-bottom {
    position: absolute;
    inset: auto;
    right: clamp(22px, 4.5vw, 72px);
    bottom: clamp(170px, 22.8vh, 240px);
    left: clamp(22px, 4.5vw, 72px);
    margin-top: 0;
  }
}

@media (min-width: 1700px) {
  body.home {
    zoom: 1;
    --rv-max: clamp(1500px, 84vw, 1760px);
    --rv-px: clamp(36px, 3vw, 64px);
    --rv-section: clamp(88px, 5.8vw, 112px);
    --header-side-width: 220px;
  }
  body.home[data-lang="en"] { --header-side-width: 236px; }

  /* 導覽在寬屏使用真正的 72px 高度與 15px 菜單，而非舊整頁縮放。 */
  body.home .site-header { --hbtn: 42px; }
  body.home .site-header .header-inner {
    height: 72px;
    max-width: var(--rv-max);
    gap: 28px;
    padding-inline: var(--rv-px);
  }
  body.home .site-header .header-inner .brand img {
    height: 40px !important;
    max-height: 40px !important;
    max-width: 216px !important;
  }
  body.home .site-header .nav > ul { gap: 6px; }
  body.home .site-header .nav > ul > li > a { padding: 9px 13px; font-size: 15px; }
  body.home .site-header .nav .submenu li a { padding: 11px 13px; font-size: 13px; }
  body.home .site-header .header-actions { gap: 12px; }
  body.home .site-header .header-cta { height: 42px; padding-inline: 20px; font-size: 14px; }
  body.home .site-header .header-search svg { width: 20px; height: 20px; }
  body.home .site-header .lang-menu summary { padding-inline: 14px; font-size: 14px; }

  /* Hero 維持精確一屏；標題、滑塊及數據在寬屏都有獨立可讀尺寸。 */
  body.home .rv-hero { height: 100vh; height: 100svh; min-height: 0; }
  body.home .rv-hero-content { padding: 88px var(--rv-px) 140px; }
  body.home .rv-eyebrow { font-size: 14px; }
  body.home .rv-hero-title { max-width: 1100px; font-size: clamp(58px, 3vw, 72px); line-height: 1.25; }
  body.home .rv-slide-nav { gap: 6px; }
  body.home .rv-slide-dot { width: 48px; height: 40px; }
  body.home .rv-slide-dot::before { top: 19px; }
  body.home .rv-slide-dot::after { top: 18px; }
  body.home .rv-stats-wrap,
  body.home .has-rv-hero .rv-stats-wrap { width: min(58vw, 1160px); max-width: 1160px; padding-inline: 32px; }
  body.home .rv-stats .rv-stat { padding: 16px 26px; }
  body.home .rv-stat-number { font-size: clamp(44px, 2vw, 52px); }
  body.home .rv-stat-label { margin-top: 7px; font-size: clamp(13px, .75vw, 15px); }

  /* 內容畫布、研究主影片及文字同步放大，避免寬屏只剩中央一小塊。 */
  body.home .rv-research .rv-section-index,
  body.home .rv-news-head .rv-section-index { font-size: 13px; }
  body.home .rv-research .rv-section-desc { max-width: 780px; font-size: 18px; line-height: 1.8; }
  body.home .rv-research-editorial { grid-template-columns: minmax(0, 1.68fr) minmax(380px, .92fr); gap: clamp(52px, 4vw, 76px); }
  body.home .rv-research-feature-body { grid-template-columns: 88px minmax(0, 1fr); gap: 30px; padding-top: 36px; }
  body.home .rv-research-feature-no strong { font-size: 14px; }
  body.home .rv-research-feature-no span { font-size: 10px; }
  body.home .rv-research-feature-copy h3 { font-size: clamp(52px, 2.5vw, 60px); }
  body.home .rv-research-feature-en { font-size: 13px; }
  body.home .rv-research-feature-desc { max-width: 70ch; font-size: 18px; line-height: 1.85; }
  body.home .rv-research-feature-tags span { font-size: 13px; }
  body.home .rv-research-feature-link { font-size: 14px; }
  body.home .rv-research-index-head { font-size: 10px; }
  body.home .rv-research-index-item { grid-template-columns: 42px minmax(0, 1fr) 30px; min-height: 108px; }
  body.home .rv-research-index-num { font-size: 12px; }
  body.home .rv-research-index-title { font-size: 18px; }
  body.home .rv-research-index-en { font-size: 11px; }
  body.home .rv-research-film-label { font-size: 11px; }

  body.home .rv-news-head .rv-section-title { font-size: clamp(46px, 2.6vw, 56px); }
  body.home .rv-news-all { font-size: 14px; }
  body.home .rv-news-card:first-child h3 { font-size: 32px; }
  body.home .rv-news-card:not(:first-child) h3 { font-size: 18px; }
  body.home .rv-news-meta { font-size: 11px; }
  body.home .rv-partners-head h2 { font-size: 44px; }
  body.home .rv-partners-head p { font-size: 15px; }
  body.home .rv-partners .pm-logo { height: 44px; max-width: 184px; }
  body.home .rv-partners .pm-name { font-size: 14px; }

  /* 寬屏英文仍以固定滑塊為準，只增加可供長標題使用的上方空間。 */
  body.home[data-lang="en"] .rv-hero-copy-track {
    bottom: calc(clamp(170px, 22.8vh, 240px) + 57px);
    height: 260px !important;
  }
}

/* ==========================================================
   zv_129 · 寬屏導覽與研究目錄可讀性
   只放大使用者標出的寬屏元素；普通桌面、手機與內頁不變。
   ========================================================== */
@media (min-width: 1700px) {
  body.home .site-header { --hbtn: 46px; }
  body.home .site-header .header-inner { height: 84px; gap: 30px; }
  body.home .site-header .header-inner .brand img {
    height: 48px !important;
    max-height: 48px !important;
    max-width: 236px !important;
  }
  body.home .site-header .nav > ul { gap: 8px; }
  body.home .site-header .nav > ul > li > a { padding: 10px 14px; font-size: 18px; }
  body.home .site-header .nav .submenu li a { padding: 12px 14px; font-size: 15px; }
  body.home .site-header .header-actions { gap: 14px; }
  body.home .site-header .header-cta { height: 46px; padding-inline: 22px; font-size: 15px; }
  body.home .site-header .header-search svg { width: 22px; height: 22px; }
  body.home .site-header .lang-menu summary { padding-inline: 15px; font-size: 15px; }

  body.home .rv-research .rv-section-index { gap: 13px; font-size: 15px; }
  body.home .rv-research .rv-section-index::before { width: 30px; }
  body.home .rv-research-index-head { font-size: 12px; }
  body.home .rv-research-index-item {
    grid-template-columns: 46px minmax(0, 1fr) 32px;
    min-height: 116px;
  }
  body.home .rv-research-index-num { font-size: 14px; }
  body.home .rv-research-index-title { font-size: 21px; }
  body.home .rv-research-index-en { margin-top: 7px; font-size: 13px; }
  body.home .rv-research-index-arrow { width: 30px; height: 30px; font-size: 15px; }
}

/* ==========================================================
   zv_130 · 寬屏三語 Hero 同位與研究操作區精修
   ========================================================== */
@media (min-width: 1700px) {
  /* 繁簡與英文共用英文版的固定坐標；文字向滑塊底線對齊。 */
  body.home .rv-hero-content { display: block; }
  body.home .rv-hero-copy-track {
    position: absolute;
    inset: auto clamp(22px, 4.5vw, 72px) calc(clamp(170px, 22.8vh, 240px) + 57px);
    display: flex;
    align-items: flex-end;
    width: auto;
    height: 260px !important;
  }
  body.home .rv-hero-bottom,
  body.home .has-rv-hero .rv-hero-bottom {
    position: absolute;
    inset: auto clamp(22px, 4.5vw, 72px) clamp(170px, 22.8vh, 240px);
    margin-top: 0;
  }
  body.home .rv-research .rv-section-desc {
    width: 100%;
    max-width: none;
    white-space: nowrap;
  }
}

/* 目錄按鈕保留原有編輯式結構，以編號膠囊和細邊界完善選中層級。 */
.rv-research-index-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 26px;
  margin-top: 1px;
  padding-top: 0;
  border: 1px solid transparent;
  border-radius: 20px;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.rv-research-index-item[aria-pressed="true"] .rv-research-index-num {
  border-color: rgba(198, 93, 41, .14);
  background: rgba(198, 93, 41, .09);
}
.rv-research-index-item[aria-pressed="true"] {
  box-shadow: inset 0 0 0 1px rgba(198, 93, 41, .075);
}
.rv-research-index-item:hover .rv-research-index-num {
  border-color: rgba(198, 93, 41, .12);
  color: var(--rv-orange-deep);
}

/* 底部標籤與主 CTA 形成清楚的操作層，不再像一排普通文字。 */
.rv-research-feature-foot { margin-top: 26px; padding-top: 22px; }
.rv-research-feature-tags { gap: 10px; }
.rv-research-feature-tags span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(73, 68, 61, .12);
  border-radius: 30px;
  background: rgba(255, 255, 255, .46);
  color: #60676b;
  line-height: 1.35;
}
.rv-research-feature-tags span::before {
  content: "";
  flex: none;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--rv-orange-deep);
  opacity: .7;
}
.rv-research-feature-link {
  min-height: 44px;
  gap: 13px;
  padding: 6px 7px 6px 18px;
  border: 0;
  border-radius: 4px;
  background: var(--rv-orange-deep);
  box-shadow: 0 7px 18px rgba(153, 70, 32, .13);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.rv-research-feature-link span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  font-size: 16px;
  transition: transform .25s ease, background .25s ease;
}
.rv-research-feature-link:hover,
.rv-research-feature-link:focus-visible {
  background: #ad4c20;
  box-shadow: 0 9px 22px rgba(153, 70, 32, .2);
  color: #fff;
  transform: translateY(-1px);
}
.rv-research-feature-link:hover span,
.rv-research-feature-link:focus-visible span { background: rgba(255, 255, 255, .22); transform: translateX(2px); }

@media (max-width: 600px) {
  .rv-research-feature-foot { margin-top: 22px; padding-top: 20px; }
  .rv-research-feature-tags { gap: 8px; }
  .rv-research-feature-tags span { min-height: 30px; padding: 6px 10px; }
  .rv-research-feature-link { align-self: flex-start; }
  .rv-research-index-num { width: 28px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-research-feature-link, .rv-research-feature-link span, .rv-research-index-num { transition: none; }
  .rv-research-feature-link:hover, .rv-research-feature-link:focus-visible { transform: none; }
}

/* ==========================================================
   zv_131 · 研究區骨架：版心、等高雙欄與一致的互動層級
   右欄只與影片等高，不延伸至下方研究內容；配色與資料結構不變。
   ========================================================== */
.rv-research-feature-media { border-radius: 12px; }
.rv-research-feature-copy h3 { font-size: clamp(32px, 2.5vw, 36px); line-height: 1.28; }
.rv-research-feature-en { margin-top: 7px; font-size: 13px; line-height: 1.55; }
.rv-research-feature-desc { margin-top: 22px; font-size: 15px; line-height: 1.85; }
.rv-research-feature-no { padding-top: 4px; }
.rv-research-feature-no strong { line-height: 1.4; }
.rv-research-feature-no span { margin-top: 6px; font-size: 10px; line-height: 1.5; }

/* 四項共用固定箭頭槽位；選中只靠淡底與左標記，不再堆疊膠囊和圓鈕。 */
.rv-research-index-item {
  align-items: center;
  box-shadow: none;
  transition: background .25s ease;
}
.rv-research-index-item[aria-pressed="true"] { box-shadow: none; }
.rv-research-index-item[aria-pressed="true"] .rv-research-index-title,
.rv-research-index-item[aria-pressed="true"] .rv-research-index-num { color: #1c2226; }
.rv-research-index-item[aria-pressed="true"] .rv-research-index-en { color: #7c8389; }
.rv-research-index-num,
.rv-research-index-item[aria-pressed="true"] .rv-research-index-num,
.rv-research-index-item:hover .rv-research-index-num {
  border-color: transparent;
  background: transparent;
}
.rv-research-index-arrow,
.rv-research-index-item:hover .rv-research-index-arrow,
.rv-research-index-item[aria-pressed="true"] .rv-research-index-arrow {
  border-color: transparent;
  background: transparent;
  color: #7c8389;
  opacity: .28;
  transform: none;
}
.rv-research-index-item:hover .rv-research-index-arrow,
.rv-research-index-item[aria-pressed="true"] .rv-research-index-arrow {
  color: var(--rv-orange-deep);
  opacity: 1;
  transform: translateX(2px);
}
.rv-research-index-item:hover .rv-research-index-title { color: var(--rv-orange-deep); }

/* 影片入口提供明確播放圖示、時長與真正的播放／暫停操作。 */
.rv-research-film-label {
  gap: 9px;
  min-height: 40px;
  padding: 7px 11px;
  border-radius: 5px;
  font-family: var(--font-display);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .1em;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.rv-research-film-label::before { content: none; }
.rv-research-film-label:hover { border-color: rgba(255, 255, 255, .4); background: rgba(17, 22, 26, .82); }
.rv-research-film-label:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.rv-research-film-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--rv-orange);
  color: #fff;
}
.rv-research-film-icon svg { width: 12px; height: 12px; }
.rv-research-icon-pause { display: none; }
.rv-research-film-label.is-playing .rv-research-icon-play { display: none; }
.rv-research-film-label.is-playing .rv-research-icon-pause { display: block; }
.rv-research-film-duration {
  padding-left: 9px;
  border-left: 1px solid rgba(255, 255, 255, .24);
  color: rgba(255, 255, 255, .74);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

@media (min-width: 1001px) {
  .rv-research .rv-section-desc { width: 100%; max-width: none; }
  .rv-research-editorial {
    grid-template-areas: "media index" "body .";
    grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
    column-gap: 24px;
    align-items: stretch;
  }
  .rv-research-feature { display: contents; }
  .rv-research-feature-media { grid-area: media; }
  .rv-research-feature-body { grid-area: body; }
  .rv-research-index {
    grid-area: index;
    display: flex;
    flex-direction: column;
    align-self: stretch;
  }
  .rv-research-index-head { flex: none; }
  .rv-research-index-item { flex: 1 1 0; min-height: 60px; padding-block: 16px; }
}

@media (min-width: 1700px) {
  body.home .rv-research-editorial { grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 24px; }
  body.home .rv-research-feature-copy h3 { font-size: clamp(46px, 2.2vw, 54px); }
  body.home .rv-research-feature-en { font-size: 14px; }
  body.home .rv-research-feature-no span { font-size: 11px; }
  body.home .rv-research-index-item { min-height: 64px; }
  body.home .rv-research-film-label { font-size: 11px; }
}

@media (max-width: 1000px) {
  .rv-research-index-arrow { opacity: .38; }
  .rv-research-index-item[aria-pressed="true"] .rv-research-index-arrow { opacity: 1; }
}
@media (max-width: 600px) {
  .rv-research-feature-media { border-radius: 8px; }
  .rv-research-feature-copy h3 { font-size: 28px; }
  .rv-research-feature-en { font-size: 12px; }
  .rv-research-feature-desc { font-size: 14px; line-height: 1.85; }
  .rv-research-feature-no span { font-size: 10px; }
  .rv-research-film-label { min-height: 44px; padding: 8px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-research-film-label, .rv-research-index-arrow { transition: none; }
  .rv-research-index-item:hover .rv-research-index-arrow,
  .rv-research-index-item[aria-pressed="true"] .rv-research-index-arrow { transform: none; }
}

/* ==========================================================
   zv_132 · 無文字影片控制與內容內嵌 CTA
   ========================================================== */
.rv-research-film-label {
  justify-content: center;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  gap: 0;
  border-radius: 4px;
  background: rgba(17, 22, 26, .66);
}
.rv-research-film-icon {
  width: 20px;
  height: 20px;
  background: transparent;
  color: #fff;
}
.rv-research-film-icon svg { width: 14px; height: 14px; }
.rv-research-film-label:hover { color: var(--rv-orange); }
.rv-research-feature-body { padding-bottom: 0; border-bottom: 0; }
.rv-research-feature-copy > .rv-research-feature-link { margin-top: 24px; }
@media (max-width: 600px) {
  .rv-research-film-label { width: 44px; height: 44px; min-height: 44px; }
  .rv-research-feature-copy > .rv-research-feature-link { margin-top: 22px; }
}

/* ==========================================================
   zv_133 · 研究領域：居中分頁與左文右影片的一體卡片
   沿用 WP 研究資料、三語、無文字播放控制與原影片比例。
   ========================================================== */
body.home .rv-research .rv-research-head {
  margin: 0 0 clamp(28px, 3vw, 38px);
  padding: 0;
  border: 0;
  text-align: center;
}
body.home .rv-research .rv-research-head > .rv-reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
}
body.home .rv-research .rv-section-index {
  justify-content: center;
  gap: 12px;
  margin: 0 0 13px;
  color: #987c6d;
  font-size: 12px;
  line-height: 1.4;
}
body.home .rv-research .rv-section-index::before,
body.home .rv-research .rv-section-index::after {
  content: "";
  width: 23px;
  height: 1px;
  background: rgba(163, 116, 87, .38);
}
body.home .rv-research .rv-section-title {
  margin: 0;
  color: #252321;
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.025em;
}
body.home .rv-research-editorial {
  display: block;
  min-width: 0;
}
body.home .rv-research-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}
body.home .rv-research-index-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 56px;
  padding: 11px 14px;
  border: 1px solid rgba(72, 62, 53, .1);
  border-radius: 7px;
  background: rgba(255, 255, 255, .56);
  box-shadow: none;
  color: #514d48;
  text-align: left;
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease;
}
body.home .rv-research-index-item::before { content: none; }
body.home .rv-research-index-item:hover {
  border-color: rgba(198, 93, 41, .22);
  background: rgba(255, 255, 255, .88);
}
body.home .rv-research-index-item[aria-pressed="true"] {
  border-color: rgba(198, 93, 41, .2);
  background: #fbefea;
  box-shadow: 0 4px 14px rgba(106, 66, 39, .035);
}
body.home .rv-research-index-num,
body.home .rv-research-index-item[aria-pressed="true"] .rv-research-index-num,
body.home .rv-research-index-item:hover .rv-research-index-num {
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #a0958c;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}
body.home .rv-research-index-item[aria-pressed="true"] .rv-research-index-num { color: var(--rv-orange-deep); }
body.home .rv-research-index-title,
body.home .rv-research-index-item[aria-pressed="true"] .rv-research-index-title,
body.home .rv-research-index-item:hover .rv-research-index-title {
  color: inherit;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.45;
}
body.home .rv-research-index-item[aria-pressed="true"] .rv-research-index-title { color: #3c312b; }
body.home .rv-research-feature {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  grid-template-areas: "copy media";
  align-items: stretch;
  min-width: 0;
  min-height: clamp(470px, 34vw, 520px);
  overflow: hidden;
  border: 1px solid rgba(76, 64, 52, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 20px 55px rgba(76, 57, 38, .07);
}
body.home .rv-research-feature-body {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  /* zv_151：四項內容從同一頂部起排，RP 編號行不再隨標題高度上下漂移。 */
  justify-content: flex-start;
  min-width: 0;
  padding: clamp(32px, 3.4vw, 52px);
  /* zv_152：四項內容同步下移一個 36px 工程網格；平板／手機由下方規則維持原間距。 */
  padding-top: calc(clamp(32px, 3.4vw, 52px) + 36px);
  border: 0;
  background: transparent;
}
body.home .rv-research-feature-no {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
  font-family: var(--font-display);
}
body.home .rv-research-feature-no strong {
  color: var(--rv-orange-deep);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .12em;
}
body.home .rv-research-feature-no span {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: #8e847b;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .08em;
}
body.home .rv-research-feature-no span::before {
  content: "";
  width: 14px;
  height: 1px;
  background: rgba(115, 99, 86, .28);
}
body.home .rv-research-feature-copy { width: 100%; }
body.home .rv-research-feature-copy h3 {
  margin: 0;
  color: #262422;
  font-size: clamp(32px, 2.5vw, 38px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.02em;
}
body.home .rv-research-feature-en {
  margin: 8px 0 0;
  color: #91877f;
  font-size: 13px;
  line-height: 1.55;
}
body.home .rv-research-feature-desc {
  max-width: none;
  margin: 23px 0 0;
  color: #625d57;
  font-size: 15px;
  line-height: 1.9;
}
body.home .rv-research-feature-copy > .rv-research-feature-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 14px;
  min-height: 44px;
  margin-top: 25px;
  padding: 4px 4px 4px 16px;
  border: 1px solid rgba(71, 60, 50, .14);
  border-radius: 7px;
  background: rgba(255, 255, 255, .48);
  box-shadow: none;
  color: #45403a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  transform: none;
}
body.home .rv-research-feature-link span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 5px;
  background: var(--rv-orange);
  color: #fff;
  font-size: 16px;
  transition: background .2s ease, transform .2s ease;
}
body.home .rv-research-feature-link:hover,
body.home .rv-research-feature-link:focus-visible {
  border-color: rgba(198, 93, 41, .28);
  background: #fff9f5;
  color: #332b26;
  transform: none;
}
body.home .rv-research-feature-link:hover span,
body.home .rv-research-feature-link:focus-visible span {
  background: var(--rv-orange-deep);
  transform: translateX(1px);
}
body.home .rv-research-feature-media {
  grid-area: media;
  min-width: 0;
  min-height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #d8d2c9;
  box-shadow: none;
}
body.home .rv-research-feature-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.home .rv-research-feature-media::after {
  background: linear-gradient(180deg, transparent 72%, rgba(12, 15, 17, .12));
}
body.home .rv-research-film-label {
  left: 18px;
  bottom: 18px;
  z-index: 2;
}

@media (min-width: 1700px) {
  body.home .rv-research .rv-section-index { font-size: 14px; }
  body.home .rv-research .rv-section-title { font-size: clamp(44px, 2.2vw, 52px); }
  body.home .rv-research-index { gap: 12px; margin-bottom: 24px; }
  body.home .rv-research-index-item { min-height: 66px; padding: 13px 18px; }
  body.home .rv-research-index-num { font-size: 14px; }
  body.home .rv-research-index-title,
  body.home .rv-research-index-item[aria-pressed="true"] .rv-research-index-title,
  body.home .rv-research-index-item:hover .rv-research-index-title { font-size: 16px; }
  body.home .rv-research-feature {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    min-height: clamp(540px, 29vw, 620px);
  }
  body.home .rv-research-feature-body {
    padding: clamp(48px, 3vw, 64px);
    padding-top: calc(clamp(48px, 3vw, 64px) + 36px);
  }
  body.home .rv-research-feature-no { margin-bottom: 24px; }
  body.home .rv-research-feature-no strong { font-size: 13px; }
  body.home .rv-research-feature-no span { font-size: 11px; }
  body.home .rv-research-feature-copy h3 { font-size: clamp(42px, 2vw, 52px); }
  body.home .rv-research-feature-en { font-size: 14px; }
  body.home .rv-research-feature-desc { margin-top: 25px; font-size: 17px; line-height: 1.85; }
  body.home .rv-research-feature-copy > .rv-research-feature-link { margin-top: 28px; font-size: 14px; }
  body.home .rv-research-film-label { width: 44px; height: 44px; min-height: 44px; }
}

@media (max-width: 1000px) {
  body.home .rv-research-index { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 18px; }
  body.home .rv-research-index-item { min-height: 54px; }
  body.home .rv-research-feature {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "media" "copy";
    min-height: 0;
  }
  body.home .rv-research-feature-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  body.home .rv-research-feature-body { padding: 32px; }
  body.home .rv-research-feature-copy h3 { font-size: 32px; }
}

@media (max-width: 600px) {
  body.home .rv-research .rv-research-head { margin-bottom: 26px; }
  body.home .rv-research .rv-section-index { margin-bottom: 11px; font-size: 10px; }
  body.home .rv-research .rv-section-title { font-size: 32px; }
  body.home .rv-research-index { gap: 9px; }
  body.home .rv-research-index-item { gap: 8px; min-height: 64px; padding: 10px 11px; }
  body.home .rv-research-index-num { font-size: 11px; }
  body.home .rv-research-index-title,
  body.home .rv-research-index-item[aria-pressed="true"] .rv-research-index-title,
  body.home .rv-research-index-item:hover .rv-research-index-title { font-size: 13px; line-height: 1.45; }
  body.home .rv-research-feature { border-radius: 9px; }
  body.home .rv-research-feature-body { padding: 27px 23px 29px; }
  body.home .rv-research-feature-no { margin-bottom: 17px; }
  body.home .rv-research-feature-copy h3 { font-size: 28px; }
  body.home .rv-research-feature-en { font-size: 12px; }
  body.home .rv-research-feature-desc { margin-top: 19px; font-size: 14px; line-height: 1.85; }
  body.home .rv-research-feature-copy > .rv-research-feature-link { margin-top: 22px; }
  body.home .rv-research-film-label { left: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  body.home .rv-research-index-item,
  body.home .rv-research-feature-link,
  body.home .rv-research-feature-link span { transition: none; }
  body.home .rv-research-feature-link:hover span,
  body.home .rv-research-feature-link:focus-visible span { transform: none; }
}

/* zv_136：精密工業 × 陶瓷白；沿用已核准 Demo，不包含本機比較工具。 */
body.home {
  --demo-paper: #f2f2ef;
  --demo-panel: #f8f8f5;
  --demo-ink: #1d2429;
  --demo-graphite: #242c31;
  --demo-line: rgba(35, 46, 52, .16);
  --demo-grid: rgba(39, 52, 59, .055);
}

/* Hero：在現有影片上加入低對比蝕刻結構層。 */
body.home .rv-hero-video,
body.home .rv-hero-poster {
  filter: saturate(.82) contrast(1.1) brightness(.94);
}
body.home .rv-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(184, 199, 207, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 199, 207, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 154, 84, .2) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px, 288px 100%;
  opacity: .32;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .6) 34%, transparent 64%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .6) 34%, transparent 64%);
}
body.home .rv-hero::after {
  background:
    linear-gradient(90deg, rgba(7, 11, 14, .79) 0%, rgba(7, 11, 14, .5) 35%, rgba(7, 11, 14, .04) 69%, rgba(7, 11, 14, .18) 100%),
    linear-gradient(180deg, rgba(7, 11, 14, .38) 0%, transparent 34%, rgba(7, 11, 14, .04) 65%, rgba(7, 11, 14, .62) 100%);
}
body.home .rv-stats {
  border: 1px solid rgba(211, 222, 227, .3);
  border-radius: 6px;
  background: rgba(18, 25, 30, .56);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  backdrop-filter: blur(16px) saturate(1.05);
  box-shadow: 0 15px 36px rgba(0, 0, 0, .25), inset 0 1px rgba(255, 255, 255, .05);
}

/* 石墨色匯流排銜接電影感 Hero 與陶瓷白正文。 */
body.home .rv-main {
  position: relative;
  isolation: isolate;
  border-top: 14px solid #1b2227;
  background:
    linear-gradient(180deg, #dedfdd 0, var(--demo-paper) 150px, var(--demo-paper) 100%);
}
body.home .rv-main::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -14px;
  left: var(--rv-px);
  width: min(230px, 28vw);
  height: 3px;
  background: linear-gradient(90deg, var(--rv-orange) 0 34%, rgba(242, 154, 84, .25) 34% 48%, transparent 48%);
  pointer-events: none;
}
body.home .rv-research,
body.home .rv-news,
body.home .rv-partners.pm-section {
  position: relative;
  background: transparent !important;
}
body.home .rv-research,
body.home .rv-news {
  overflow: hidden;
}
body.home .rv-research > .rv-wrap,
body.home .rv-news > .rv-wrap,
body.home .rv-partners > .rv-wrap,
body.home .rv-partners > .pm-rows {
  position: relative;
  z-index: 2;
}

/* 晶圓／晶粒網格只出現在外圍留白，避免干擾正文。 */
body.home .rv-research::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--demo-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--demo-grid) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .64;
  -webkit-mask-image:
    radial-gradient(ellipse at 94% 17%, #000 0%, transparent 44%),
    radial-gradient(ellipse at 2% 84%, #000 0%, transparent 35%);
  mask-image:
    radial-gradient(ellipse at 94% 17%, #000 0%, transparent 44%),
    radial-gradient(ellipse at 2% 84%, #000 0%, transparent 35%);
}
body.home .rv-research::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 34px;
  right: -210px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(46, 59, 65, .09);
  border-radius: 50%;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(46, 59, 65, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 59, 65, .075) 1px, transparent 1px);
  background-size: 38px 38px;
  box-shadow: inset 0 0 0 18px rgba(255, 255, 255, .18), inset 0 0 0 19px rgba(46, 59, 65, .045);
  opacity: .7;
}
body.home .rv-news::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(var(--rv-px) - 1px), rgba(41, 53, 59, .09) var(--rv-px), transparent calc(var(--rv-px) + 1px)),
    radial-gradient(circle at var(--rv-px) 110px, rgba(198, 93, 41, .32) 0 2px, transparent 2.5px),
    linear-gradient(rgba(42, 54, 60, .038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 54, 60, .038) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 72px 72px, 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 62%);
  mask-image: linear-gradient(180deg, #000, transparent 62%);
}

/* 研究分頁採精密儀器面板語言。 */
body.home .rv-research-index {
  gap: 8px;
}
body.home .rv-research-index-item {
  min-height: 58px;
  border: 1px solid rgba(41, 51, 57, .17);
  border-radius: 3px;
  background: rgba(248, 248, 245, .74);
  box-shadow: 0 2px 0 rgba(41, 51, 57, .035);
  color: #4c555a;
}
body.home .rv-research-index-item:hover {
  border-color: rgba(41, 51, 57, .36);
  background: #fafaf7;
}
body.home .rv-research-index-item[aria-pressed="true"] {
  border-color: #242c31;
  background: #242c31;
  box-shadow: 0 4px 10px rgba(24, 31, 35, .13), inset 3px 0 var(--rv-orange);
}
body.home .rv-research-index-item[aria-pressed="true"] .rv-research-index-title,
body.home .rv-research-index-item[aria-pressed="true"]:hover .rv-research-index-title {
  color: #f6f6f2;
}
body.home .rv-research-index-item[aria-pressed="true"] .rv-research-index-num {
  color: var(--rv-orange);
}
body.home .rv-research-index-num,
body.home .rv-research-index-item .rv-research-index-num {
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}

/* 一體式基板卡：金屬頂線、短陰影與整合影片。 */
body.home .rv-research-feature {
  position: relative;
  border: 1px solid rgba(33, 43, 49, .34);
  border-radius: 5px;
  background: var(--demo-panel);
  box-shadow: 0 16px 34px rgba(28, 36, 40, .12), 0 3px 0 rgba(38, 46, 50, .1);
}
body.home .rv-research-feature::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rv-orange) 0 12%, #b9bdba 12% 13%, #353e43 13% 100%);
  pointer-events: none;
}
body.home .rv-research-feature-body {
  position: relative;
  border-right: 1px solid rgba(37, 47, 52, .15);
  background:
    linear-gradient(rgba(42, 54, 60, .032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 54, 60, .032) 1px, transparent 1px),
    linear-gradient(135deg, #fbfbf8, #eff0ed);
  background-size: 36px 36px, 36px 36px, 100% 100%;
}
body.home .rv-research-feature-no {
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(41, 51, 57, .13);
}
body.home .rv-research-feature-no strong {
  font-variant-numeric: tabular-nums;
}
body.home .rv-research-feature-no span {
  color: #737c80;
}
body.home .rv-research-feature-copy h3 {
  color: #20282d;
  font-weight: 650;
}
body.home .rv-research-feature-en {
  color: #758087;
}
body.home .rv-research-feature-desc {
  color: #505c62;
}
body.home .rv-research-feature-copy > .rv-research-feature-link {
  border: 1px solid rgba(37, 47, 52, .22);
  border-radius: 3px;
  background: rgba(255, 255, 255, .66);
  color: #303b41;
}
body.home .rv-research-feature-link span {
  border-radius: 2px;
}
body.home .rv-research-feature-media {
  border-left: 1px solid rgba(255, 255, 255, .08);
  background: #151b1f;
}
body.home .rv-research-feature-media video {
  filter: saturate(.84) contrast(1.07);
}
body.home .rv-research-film-label {
  border-radius: 2px;
  background: rgba(14, 20, 24, .78);
}

/* 新聞與夥伴共用更清晰、短而精密的邊界。 */
body.home .rv-news-head {
  padding-top: 22px;
  border-top: 1px solid rgba(38, 49, 55, .17);
}
body.home .rv-news-card {
  border: 1px solid rgba(39, 50, 56, .16);
  border-radius: 4px;
  background: rgba(248, 248, 245, .94);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 3px 0 rgba(39, 50, 56, .035);
}
body.home .rv-news-card:hover {
  transform: translateY(-2px);
  border-color: rgba(39, 50, 56, .34);
  box-shadow: 0 12px 26px rgba(30, 38, 42, .09);
}
body.home .rv-partners.pm-section::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .32), transparent);
}
body.home .rv-partners .pm-card {
  border: 1px solid rgba(39, 50, 56, .14);
  border-radius: 4px;
  background: rgba(248, 248, 245, .8);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 3px 0 rgba(39, 50, 56, .035);
}
body.home .rv-partners .pm-card:hover {
  border-color: rgba(39, 50, 56, .32);
  background: #fafaf7;
  box-shadow: 0 9px 20px rgba(30, 38, 42, .07);
}

@media (max-width: 600px) {
  body.home .rv-main { border-top-width: 10px; }
  body.home .rv-main::before { top: -10px; width: 130px; }
  body.home .rv-hero-bg::after {
    background-size: 48px 48px, 48px 48px, 192px 100%;
    opacity: .22;
    -webkit-mask-image: linear-gradient(90deg, #000, transparent 92%);
    mask-image: linear-gradient(90deg, #000, transparent 92%);
  }
  body.home .rv-research::before { background-size: 42px 42px; opacity: .38; }
  body.home .rv-research::after { display: none; }
  body.home .rv-research-index-item { min-height: 64px; }
  body.home .rv-research-feature { border-radius: 4px; }
  body.home .rv-research-feature-body { border-right: 0; }
  body.home .rv-research-feature-media { border-left: 0; border-bottom: 1px solid rgba(37, 47, 52, .16); }
  body.home .rv-news-head { padding-top: 18px; }
}

/* zv_137：認識中心「精密工業 × 陶瓷白」；沿用核准 Demo，無本機比較工具。 */
body.page-about {
  --ab-paper: #f2f2ef;
  --ab-panel: #f8f8f5;
  --ab-ink: #20282d;
  --ab-graphite: #242c31;
  --ab-orange: #f29a54;
  --ab-line: rgba(35, 46, 52, .17);
  --ab-grid: rgba(39, 52, 59, .052);
  background: var(--ab-paper);
}
body.page-about #psac-dust { opacity: .16; }

/* 保留原 KV 與取景，只加入低對比蝕刻工程層。 */
html[data-theme="light"] body.page-about .page-hero {
  background: #080d13;
  isolation: isolate;
}
html[data-theme="light"] body.page-about .page-hero-bg {
  background:
    linear-gradient(90deg, rgba(5, 9, 14, .95) 0%, rgba(5, 9, 14, .79) 34%, rgba(5, 9, 14, .32) 61%, rgba(5, 9, 14, .12) 100%),
    linear-gradient(180deg, rgba(5, 9, 14, .2), transparent 58%, rgba(5, 9, 14, .38)),
    url("../img/hero/kv-energy-arc.webp") 68% center / cover no-repeat;
}
html[data-theme="light"] body.page-about .page-hero-bg::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(184, 199, 207, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 199, 207, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 154, 84, .18) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 256px 100%;
  opacity: .32;
  -webkit-mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .5) 42%, transparent 72%);
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .5) 42%, transparent 72%);
}
html[data-theme="light"] body.page-about .page-hero::after {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, var(--ab-orange) 0 82px, #1b2227 82px 100%);
}
html[data-theme="light"] body.page-about .page-hero .eyebrow {
  font-weight: 650;
  letter-spacing: -.025em;
}
html[data-theme="light"] body.page-about .page-hero .breadcrumb ul { font-variant-numeric: tabular-nums; }

/* 連續陶瓷基板與只位於外圍留白的晶圓結構。 */
body.page-about .section-about {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: linear-gradient(180deg, #dedfdd 0, var(--ab-paper) 150px, var(--ab-paper) 100%);
}
body.page-about .section-about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--ab-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ab-grid) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .7;
  -webkit-mask-image:
    radial-gradient(ellipse at 96% 10%, #000, transparent 34%),
    radial-gradient(ellipse at 0% 52%, #000, transparent 26%),
    radial-gradient(ellipse at 96% 88%, #000, transparent 28%);
  mask-image:
    radial-gradient(ellipse at 96% 10%, #000, transparent 34%),
    radial-gradient(ellipse at 0% 52%, #000, transparent 26%),
    radial-gradient(ellipse at 96% 88%, #000, transparent 28%);
}
body.page-about .section-about::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 56px;
  right: -190px;
  width: 450px;
  height: 450px;
  border: 1px solid rgba(46, 59, 65, .085);
  border-radius: 50%;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(46, 59, 65, .065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 59, 65, .065) 1px, transparent 1px);
  background-size: 36px 36px;
  box-shadow: inset 0 0 0 17px rgba(255, 255, 255, .16), inset 0 0 0 18px rgba(46, 59, 65, .045);
}
body.page-about .about-grid { position: relative; z-index: 1; }

/* 章節導覽：緊湊儀器索引。 */
body.page-about .side-nav {
  top: 94px;
  padding: 7px;
  border: 1px solid var(--ab-line);
  border-radius: 4px;
  background: rgba(248, 248, 245, .8);
  box-shadow: 0 3px 0 rgba(39, 50, 56, .035);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
body.page-about .side-nav ul { display: grid; gap: 3px; }
body.page-about .side-nav a {
  margin: 0;
  padding: 11px 12px;
  border-left: 3px solid transparent;
  border-radius: 2px;
  color: #606b70;
  font-size: 13px;
  font-weight: 550;
}
body.page-about .side-nav a:hover {
  color: var(--ab-ink);
  border-left-color: rgba(242, 154, 84, .65);
  background: rgba(36, 44, 49, .045);
}
body.page-about .side-nav a.is-active {
  color: #f6f6f2;
  border-left-color: var(--ab-orange);
  background: var(--ab-graphite);
  box-shadow: 0 3px 8px rgba(24, 31, 35, .12);
}

/* 共用章節字體、編號及校準分隔線。 */
body.page-about .about-block {
  scroll-margin-top: 92px;
  padding-bottom: clamp(46px, 5vw, 66px);
  margin-bottom: clamp(46px, 5vw, 66px);
  border-bottom-color: rgba(38, 49, 55, .16);
}
body.page-about .about-block .section-head { margin-bottom: 28px; }
body.page-about .about-block .section-meta { margin-bottom: 14px; }
body.page-about .about-block .section-index {
  padding: 3px 7px;
  border: 1px solid var(--ab-graphite);
  border-radius: 2px;
  background: var(--ab-graphite);
  color: var(--ab-orange);
  font-variant-numeric: tabular-nums;
}
body.page-about .about-block .section-kicker { color: #7a8286; }
body.page-about .about-block .section-title {
  color: var(--ab-ink);
  font-weight: 650;
  letter-spacing: -.025em;
}
body.page-about .about-main .prose { max-width: 74ch; }
body.page-about .about-main .prose p { color: #455159; }
body.page-about #background .prose p:first-child {
  margin-bottom: 1.45em;
  padding-left: 20px;
  border-left: 3px solid var(--ab-orange);
  color: #2c373d;
  font-size: clamp(17px, 1.35vw, 19px);
  font-weight: 520;
  line-height: 1.8;
}

/* 核心數據：深色三欄儀器列。 */
body.page-about .mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 36px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #343e43;
  border-top: 4px solid var(--ab-orange);
  border-radius: 4px;
  background: var(--ab-graphite);
  box-shadow: 0 14px 30px rgba(28, 36, 40, .13), 0 3px 0 rgba(38, 46, 50, .1);
}
body.page-about .mini-stats > div {
  position: relative;
  padding: 22px 25px 20px;
  background-image:
    linear-gradient(rgba(184, 199, 207, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 199, 207, .045) 1px, transparent 1px);
  background-size: 28px 28px;
}
body.page-about .mini-stats > div + div { border-left: 1px solid rgba(226, 232, 234, .14); }
body.page-about .mini-stats strong {
  color: #f7f7f3;
  font-size: 32px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
}
body.page-about .mini-stats span {
  display: block;
  margin-top: 5px;
  color: #b9c2c6;
  font-size: 12px;
  letter-spacing: .04em;
}

/* 願景與價值：短金屬邊界，不使用漂浮柔卡。 */
body.page-about .vm-grid { gap: 16px; margin-bottom: 16px; }
body.page-about .vm-card {
  position: relative;
  padding: 31px 28px 27px;
  border: 1px solid rgba(33, 43, 49, .26);
  border-radius: 4px;
  background: var(--ab-panel);
  box-shadow: 0 3px 0 rgba(38, 46, 50, .07);
}
body.page-about .vm-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ab-orange) 0 22%, #b9bdba 22% 23%, #353e43 23% 100%);
}
body.page-about .vm-card .mono-label {
  display: inline-block;
  margin-bottom: 14px;
  color: #b4530f;
  font-weight: 650;
  letter-spacing: .12em;
}
body.page-about .vm-card p { color: #364248; font-size: 15.5px; }
body.page-about .value-grid { gap: 12px; border: 0; background: transparent; }
body.page-about .value-item {
  padding: 23px 24px;
  border: 1px solid rgba(39, 50, 56, .15);
  border-radius: 4px;
  background:
    linear-gradient(rgba(42, 54, 60, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 54, 60, .025) 1px, transparent 1px),
    rgba(248, 248, 245, .82);
  background-size: 30px 30px, 30px 30px, 100% 100%;
  box-shadow: 0 2px 0 rgba(39, 50, 56, .03);
}
body.page-about .value-item h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #2b353a;
  font-weight: 650;
}
body.page-about .value-item h3::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--ab-orange);
}
body.page-about .value-item p { color: #647077; }
body.page-about .value-item:hover { box-shadow: inset 0 2px 0 var(--ab-orange); }

/* 管治規格板：整頁的石墨色視覺錨點。 */
body.page-about .director {
  position: relative;
  grid-template-columns: 108px 1fr;
  gap: 30px;
  margin-top: 36px;
  padding: 36px 34px 32px;
  overflow: hidden;
  border: 1px solid #3a444a;
  border-radius: 5px;
  background:
    linear-gradient(rgba(184, 199, 207, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 199, 207, .045) 1px, transparent 1px),
    linear-gradient(135deg, #293238, #1d2429);
  background-size: 38px 38px, 38px 38px, 100% 100%;
  box-shadow: 0 16px 32px rgba(28, 36, 40, .14);
}
body.page-about .director::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ab-orange) 0 16%, #899196 16% 17%, #3d474d 17% 100%);
}
body.page-about .director > * { position: relative; z-index: 1; }
body.page-about .director-avatar {
  width: 108px;
  height: 116px;
  border: 1px solid rgba(215, 224, 228, .22);
  border-radius: 3px;
  background:
    linear-gradient(rgba(184, 199, 207, .065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 199, 207, .065) 1px, transparent 1px),
    #1a2227;
  background-size: 24px 24px;
  color: var(--ab-orange);
  font-size: 34px;
  font-weight: 550;
}
body.page-about .director .mono-label { color: #c3cbce; letter-spacing: .1em; }
body.page-about .director h3 { margin-top: 8px; font-size: 23px; }
body.page-about .director-title { color: #aeb9be; }
body.page-about .director blockquote {
  border-left: 3px solid var(--ab-orange);
  color: #d9dfe1;
  line-height: 1.9;
}

/* 發展里程：校準工程路線。 */
body.page-about .timeline {
  padding: 10px 26px;
  border: 1px solid rgba(39, 50, 56, .18);
  border-radius: 4px;
  background: rgba(248, 248, 245, .72);
  box-shadow: 0 3px 0 rgba(39, 50, 56, .035);
}
body.page-about .timeline li {
  grid-template-columns: 98px 22px 1fr;
  gap: 15px;
  padding: 17px 0;
}
body.page-about .timeline li + li { border-top: 1px solid rgba(39, 50, 56, .075); }
body.page-about .timeline li::before { left: 109px; background: rgba(36, 44, 49, .2); }
body.page-about .tl-year {
  color: #4e5a60;
  font-size: 12px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: .07em;
}
body.page-about .tl-dot {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border: 2px solid #f8f8f5;
  background: var(--ab-orange);
  box-shadow: 0 0 0 1px rgba(198, 93, 41, .6);
}
body.page-about .tl-text { color: #364248; font-size: 15px; }

/* 應用場景：編號統一的系統面板。 */
body.page-about .focus-grid { gap: 14px; }
body.page-about .focus-item {
  position: relative;
  grid-template-columns: 38px 1fr;
  column-gap: 14px;
  padding: 29px 23px 24px;
  border: 1px solid rgba(33, 43, 49, .23);
  border-radius: 4px;
  background: var(--ab-panel);
  box-shadow: 0 3px 0 rgba(38, 46, 50, .065);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
body.page-about .focus-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ab-orange) 0 28%, #353e43 28% 100%);
}
body.page-about .focus-no {
  display: grid;
  place-items: center;
  width: 36px;
  height: 29px;
  padding: 0;
  border-radius: 2px;
  background: var(--ab-graphite);
  color: var(--ab-orange);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
body.page-about .focus-item h3 { color: #29343a; font-size: 19px; font-weight: 650; }
body.page-about .focus-item p { color: #606c72; }
body.page-about .focus-item:hover {
  transform: translateY(-2px);
  border-color: rgba(33, 43, 49, .38);
  box-shadow: 0 10px 22px rgba(30, 38, 42, .09);
}

@media (max-width: 960px) {
  body.page-about .side-nav {
    position: static;
    padding: 6px;
    border-top: 1px solid var(--ab-line);
  }
  body.page-about .side-nav ul { display: flex; flex-wrap: wrap; gap: 5px; }
  body.page-about .side-nav a { padding: 9px 12px; }
}
@media (max-width: 740px) {
  body.page-about .section-about { overflow: hidden; }
  body.page-about .section-about::before { background-size: 42px 42px; opacity: .42; }
  body.page-about .section-about::after { display: none; }
  body.page-about .about-block { scroll-margin-top: 76px; }
  body.page-about #background .prose p:first-child { padding-left: 15px; font-size: 17px; }
  body.page-about .mini-stats > div { padding: 18px 16px 17px; }
  body.page-about .mini-stats strong { font-size: 28px; }
  body.page-about .vm-card { padding: 29px 23px 24px; }
  body.page-about .director { grid-template-columns: 80px 1fr; gap: 20px; padding: 31px 24px 26px; }
  body.page-about .director-avatar { width: 80px; height: 88px; font-size: 28px; }
  body.page-about .timeline { padding: 8px 18px; }
}
@media (max-width: 560px) {
  html[data-theme="light"] body.page-about .page-hero-bg {
    background:
      linear-gradient(90deg, rgba(5, 9, 14, .94), rgba(5, 9, 14, .58)),
      url("../img/hero/kv-energy-arc-1280w.webp") 63% center / cover no-repeat;
  }
  html[data-theme="light"] body.page-about .page-hero-bg::before {
    background-size: 44px 44px, 44px 44px, 176px 100%;
    opacity: .22;
    -webkit-mask-image: linear-gradient(90deg, #000, transparent 92%);
    mask-image: linear-gradient(90deg, #000, transparent 92%);
  }
  html[data-theme="light"] body.page-about .page-hero::after {
    height: 8px;
    background: linear-gradient(90deg, var(--ab-orange) 0 64px, #1b2227 64px 100%);
  }
  body.page-about .side-nav { margin-bottom: 18px; }
  body.page-about .side-nav a { font-size: 12px; padding: 8px 10px; }
  body.page-about .mini-stats > div { padding: 17px 11px 15px; }
  body.page-about .mini-stats strong { font-size: 26px; }
  body.page-about .mini-stats span { font-size: 11px; letter-spacing: 0; }
  body.page-about .value-grid { gap: 10px; }
  body.page-about .value-item { padding: 20px; }
  body.page-about .director { grid-template-columns: 1fr; gap: 18px; }
  body.page-about .director-avatar { width: 72px; height: 72px; }
  body.page-about .timeline { padding: 7px 14px; }
  body.page-about .timeline li { grid-template-columns: 75px 18px 1fr; gap: 10px; padding: 15px 0; }
  body.page-about .timeline li::before { left: 83px; }
  body.page-about .tl-year { font-size: 11px; }
  body.page-about .tl-text { font-size: 14px; line-height: 1.65; }
  body.page-about .focus-item { padding: 27px 21px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  body.page-about .focus-item { transition: none; }
  body.page-about .focus-item:hover { transform: none; }
}

/* zv_138：關於我們「精密工業 × 陶瓷白」；沿用核准 Demo，移除人物卡編號。 */
body.page-team {
  --tm-paper: #f2f2ef;
  --tm-panel: #f8f8f5;
  --tm-ink: #20282d;
  --tm-graphite: #242c31;
  --tm-orange: #f29a54;
  --tm-line: rgba(35, 46, 52, .17);
  --tm-grid: rgba(39, 52, 59, .052);
  background: var(--tm-paper);
}
body.page-team #psac-dust { opacity: .12; }

/* 保留原 KV 與取景，只加入低對比蝕刻工程層及原版細橙線。 */
html[data-theme="light"] body.page-team .page-hero {
  background: #080d13;
  isolation: isolate;
}
html[data-theme="light"] body.page-team .page-hero-bg {
  background:
    linear-gradient(90deg, rgba(5, 9, 14, .95) 0%, rgba(5, 9, 14, .79) 34%, rgba(5, 9, 14, .32) 61%, rgba(5, 9, 14, .12) 100%),
    linear-gradient(180deg, rgba(5, 9, 14, .2), transparent 58%, rgba(5, 9, 14, .38)),
    url("../img/hero/kv-energy-arc.webp") 68% center / cover no-repeat;
}
html[data-theme="light"] body.page-team .page-hero-bg::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(184, 199, 207, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 199, 207, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 154, 84, .18) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 256px 100%;
  opacity: .32;
  -webkit-mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .5) 42%, transparent 72%);
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .5) 42%, transparent 72%);
}
html[data-theme="light"] body.page-team .page-hero::after {
  left: 0;
  bottom: 0;
  width: min(42%, 520px);
  height: 2px;
  background: linear-gradient(90deg, var(--tm-orange), rgba(242, 154, 84, 0));
}
html[data-theme="light"] body.page-team .page-hero .eyebrow {
  font-weight: 650;
  letter-spacing: -.025em;
}

/* 連續陶瓷基板，晶格只在周邊留白出現。 */
html[data-theme="light"] body.page-team .section-dark.section-team {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(30px, 3.4vw, 48px) 0 86px;
  color: var(--tm-ink);
  background: var(--tm-paper);
}
body.page-team .section-team .team-grid-bg {
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .42;
  background-image:
    linear-gradient(var(--tm-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--tm-grid) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 98% 10%, #000, transparent 32%), radial-gradient(ellipse at 0% 58%, #000, transparent 25%), radial-gradient(ellipse at 96% 92%, #000, transparent 25%);
  mask-image: radial-gradient(ellipse at 98% 10%, #000, transparent 32%), radial-gradient(ellipse at 0% 58%, #000, transparent 25%), radial-gradient(ellipse at 96% 92%, #000, transparent 25%);
}
body.page-team .section-team > .wrap { position: relative; z-index: 1; }

/* 原版團隊索引：無外框、底色或額外過渡帶。 */
body.page-team .team-strip {
  margin: 0 0 clamp(22px, 2.6vw, 32px);
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid rgba(35, 46, 52, .14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.page-team .team-strip-label {
  color: #303b41;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
}
body.page-team .team-strip-label::before { display: block; }
body.page-team .team-strip-count {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #a14f24;
  background: transparent;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

/* 五位教授同寬、同媒體、同字級及同間距，不用卡片大小区分地位。 */
body.page-team .leader-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}
html[data-theme="light"] body.page-team .leader-card,
html[data-theme="light"] body.page-team .leader-card--dark {
  position: relative;
  display: grid;
  grid-template-columns: clamp(220px, 22vw, 270px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 3vw, 42px);
  min-width: 0;
  min-height: 0;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(35, 46, 52, .18);
  border-radius: 5px;
  background: #f8f8f5;
  box-shadow: 0 3px 0 rgba(39, 50, 56, .045), 0 13px 26px rgba(39, 50, 56, .055);
}
html[data-theme="light"] body.page-team .leader-card::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0 0 auto;
  width: auto;
  height: 3px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, var(--tm-orange) 0 72px, #7d898f 72px 73px, #d4d9d7 73px 100%);
}
html[data-theme="light"] body.page-team .leader-card::after { content: none; }
body.page-team .leader-photo { position: relative; align-self: start; }
html[data-theme="light"] body.page-team .leader-photo img,
html[data-theme="light"] body.page-team .leader-mono {
  display: flex;
  width: 100%;
  max-width: none;
  aspect-ratio: 5 / 6;
  border: 1px solid rgba(35, 46, 52, .2);
  border-radius: 3px;
  object-fit: cover;
  object-position: center top;
}
html[data-theme="light"] body.page-team .leader-mono {
  position: relative;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: rgba(241, 238, 229, .74);
  background-color: #2b3439;
  background-image: linear-gradient(rgba(198, 210, 214, .065) 1px, transparent 1px), linear-gradient(90deg, rgba(198, 210, 214, .065) 1px, transparent 1px), linear-gradient(145deg, rgba(255, 255, 255, .035), transparent 65%);
  background-size: 22px 22px, 22px 22px, 100% 100%;
  border-bottom: 2px solid rgba(242, 154, 84, .72);
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, .025);
  font-size: 58px;
  font-weight: 400;
}
body.page-team .leader-main { min-width: 0; }
html[data-theme="light"] body.page-team .leader-role {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 3px 7px;
  border: 1px solid rgba(200, 112, 49, .24);
  border-radius: 2px;
  color: #87512e;
  background: rgba(242, 154, 84, .065);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .12em;
}
html[data-theme="light"] body.page-team .leader-name {
  margin: 0;
  color: var(--tm-ink);
  font-size: 30px;
  font-weight: 680;
  line-height: 1.35;
  letter-spacing: -.015em;
}
html[data-theme="light"] body.page-team .leader-name .leader-en {
  display: block;
  margin: 6px 0 0;
  color: #68747a;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .01em;
}
html[data-theme="light"] body.page-team .leader-title {
  margin-top: 10px;
  color: #3f4c52;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.65;
}
html[data-theme="light"] body.page-team .leader-lede {
  margin-top: 16px;
  padding-left: 12px;
  border-left: 2px solid var(--tm-orange);
  color: #334047;
  font-size: 15px;
  line-height: 1.8;
}
html[data-theme="light"] body.page-team .leader-bio p {
  color: #58656b;
  font-size: 14.5px;
  line-height: 1.85;
}
body.page-team .leader-tags { gap: 6px; margin-top: 16px; }
html[data-theme="light"] body.page-team .leader-tag {
  padding: 4px 7px;
  border: 1px solid rgba(35, 46, 52, .17);
  border-radius: 2px;
  color: #4d5a60;
  background: rgba(36, 44, 49, .025);
  font-size: 10.5px;
  line-height: 1.45;
}
body.page-team .leader-link { margin-top: 18px; }
body.page-team .leader-link .link-arrow { color: #9d4f22; font-weight: 600; }

@media (max-width: 1000px) {
  html[data-theme="light"] body.page-team .leader-card,
  html[data-theme="light"] body.page-team .leader-card--dark { grid-template-columns: 210px minmax(0, 1fr); padding: 28px; gap: 26px; }
  html[data-theme="light"] body.page-team .leader-name { font-size: 27px; }
}
@media (max-width: 760px) {
  html[data-theme="light"] body.page-team .section-dark.section-team { padding: 34px 0 58px; }
  body.page-team .team-strip { margin: 0 0 20px; padding: 0 0 13px; }
  body.page-team .team-strip-label { font-size: 11px; letter-spacing: .08em; }
  body.page-team .leader-list { grid-template-columns: 1fr; gap: 18px; }
  html[data-theme="light"] body.page-team .leader-card,
  html[data-theme="light"] body.page-team .leader-card--dark {
    grid-template-columns: 120px minmax(0, 1fr);
    padding: 25px 20px 23px;
    gap: 14px 18px;
  }
  body.page-team .leader-photo { grid-column: 1; grid-row: 1 / 5; }
  body.page-team .leader-main { display: contents; }
  body.page-team .leader-role { grid-column: 2; grid-row: 1; justify-self: start; }
  body.page-team .leader-name { grid-column: 2; grid-row: 2; }
  body.page-team .leader-title { grid-column: 2; grid-row: 3; }
  body.page-team .leader-lede { grid-column: 2; grid-row: 4; }
  body.page-team .leader-bio,
  body.page-team .leader-tags,
  body.page-team .leader-link { grid-column: 1 / -1; }
  html[data-theme="light"] body.page-team .leader-mono { font-size: 40px; }
  html[data-theme="light"] body.page-team .leader-name { font-size: 24px; }
  html[data-theme="light"] body.page-team .leader-name .leader-en { font-size: 13px; }
  html[data-theme="light"] body.page-team .leader-role { margin-bottom: 0; font-size: 9px; }
  html[data-theme="light"] body.page-team .leader-title { margin-top: 0; font-size: 12.5px; }
  html[data-theme="light"] body.page-team .leader-lede { margin-top: 0; font-size: 13px; line-height: 1.7; }
  html[data-theme="light"] body.page-team .leader-bio p { font-size: 14.5px; }
  body.page-team .leader-tags { gap: 5px; }
  html[data-theme="light"] body.page-team .leader-tag { font-size: 9.5px; }
}
@media (max-width: 560px) {
  html[data-theme="light"] body.page-team .page-hero-bg {
    background: linear-gradient(90deg, rgba(5, 9, 14, .94), rgba(5, 9, 14, .42) 60%, rgba(5, 9, 14, .2)), url("../img/hero/kv-energy-arc-1280w.webp") 63% center / cover no-repeat;
  }
}

/* zv_139：研究領域總覽「精密工業 × 陶瓷白」；保留最初技術路徑。 */
body.page-research {
  --rs-paper: #f2f2ef;
  --rs-panel: #f8f8f5;
  --rs-ink: #20282d;
  --rs-graphite: #242c31;
  --rs-orange: #f29a54;
  --rs-line: rgba(35, 46, 52, .17);
  --rs-grid: rgba(39, 52, 59, .052);
  background: var(--rs-paper);
}
body.page-research #psac-dust { opacity: .12; }
body.page-research main { color: var(--rs-ink); background: var(--rs-paper); }

/* 原 KV、取景與細橙線，只加入低對比工程網格。 */
html[data-theme="light"] body.page-research .page-hero {
  background: #080d13;
  isolation: isolate;
}
html[data-theme="light"] body.page-research .page-hero-bg {
  background:
    linear-gradient(90deg, rgba(5,9,14,.95) 0%, rgba(5,9,14,.79) 34%, rgba(5,9,14,.32) 61%, rgba(5,9,14,.12) 100%),
    linear-gradient(180deg, rgba(5,9,14,.2), transparent 58%, rgba(5,9,14,.38)),
    url("../img/hero/kv-energy-arc.webp") 68% center / cover no-repeat;
}
html[data-theme="light"] body.page-research .page-hero-bg::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(184,199,207,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,199,207,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,154,84,.18) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 256px 100%;
  opacity: .32;
  -webkit-mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.5) 42%, transparent 72%);
  mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.5) 42%, transparent 72%);
}
html[data-theme="light"] body.page-research .page-hero::after {
  left: 0;
  bottom: 0;
  width: min(42%, 520px);
  height: 2px;
  background: linear-gradient(90deg, var(--rs-orange), rgba(242,154,84,0));
}
html[data-theme="light"] body.page-research .page-hero .eyebrow {
  font-weight: 650;
  letter-spacing: -.025em;
}

/* 四項研究等寬媒體模組，使用後台現有海報。 */
html[data-theme="light"] body.page-research .section-dark.rp-overview {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(48px, 5vw, 70px) 0 clamp(64px, 6vw, 84px);
  background: var(--rs-paper);
}
body.page-research .rp-overview::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .55;
  pointer-events: none;
  background-image:
    linear-gradient(var(--rs-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--rs-grid) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 98% 12%, #000, transparent 35%), radial-gradient(ellipse at 0% 88%, #000, transparent 30%);
  mask-image: radial-gradient(ellipse at 98% 12%, #000, transparent 35%), radial-gradient(ellipse at 0% 88%, #000, transparent 30%);
}
body.page-research .rp-overview::after { display: none; }
body.page-research .rp-overview > .wrap { position: relative; z-index: 1; }
html[data-theme="light"] body.page-research .rp-overview .pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  border: 0;
  background: transparent;
}
html[data-theme="light"] body.page-research .pillar-card,
html[data-theme="light"] body.page-research .pillar-card--big {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(35,46,52,.2);
  border-radius: 5px;
  background: var(--rs-panel);
  box-shadow: 0 3px 0 rgba(39,50,56,.045), 0 13px 26px rgba(39,50,56,.055);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
html[data-theme="light"] body.page-research .pillar-card::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  width: auto;
  height: 3px;
  transform: none;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, var(--rs-orange) 0 72px, #7d898f 72px 73px, #d4d9d7 73px 100%);
}
html[data-theme="light"] body.page-research .pillar-card:hover {
  transform: translateY(-2px);
  border-color: rgba(35,46,52,.34);
  background: var(--rs-panel);
  box-shadow: 0 4px 0 rgba(39,50,56,.045), 0 17px 30px rgba(39,50,56,.085);
}
body.page-research .rp-card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.7;
  overflow: hidden;
  border-bottom: 1px solid rgba(35,46,52,.2);
  background: #20292e;
}
body.page-research .rp-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8,13,17,.08), transparent 52%, rgba(8,13,17,.62));
}
body.page-research .rp-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
body.page-research .pillar-card:hover .rp-card-media img { transform: scale(1.018); }
body.page-research .rp-card-caption {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 15px;
  padding-left: 10px;
  border-left: 2px solid var(--rs-orange);
  color: rgba(245,246,242,.82);
  font: 10px/1.4 var(--mono);
  letter-spacing: .16em;
}
body.page-research .rp-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 24px 27px 25px;
}
html[data-theme="light"] body.page-research .pillar-top { margin-bottom: 15px; }
html[data-theme="light"] body.page-research .pillar-no,
html[data-theme="light"] body.page-research .pillar-grid--big .pillar-no {
  color: #925026;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .08em;
}
html[data-theme="light"] body.page-research .pillar-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(35,46,52,.19);
  border-radius: 3px;
  color: #46545b;
  background: rgba(36,44,49,.025);
}
html[data-theme="light"] body.page-research .pillar-icon svg { width: 21px; height: 21px; }
html[data-theme="light"] body.page-research .pillar-card h3 {
  margin-bottom: 11px;
  color: var(--rs-ink);
  font-size: 24px;
  font-weight: 680;
  line-height: 1.35;
  letter-spacing: -.015em;
}
html[data-theme="light"] body.page-research .pillar-card p {
  margin-bottom: 17px;
  color: #58656b;
  font-size: 14.5px;
  line-height: 1.8;
}
html[data-theme="light"] body.page-research .pillar-card .tag-list {
  gap: 6px;
  margin-bottom: 21px;
}
html[data-theme="light"] body.page-research .pillar-card .tag-list li {
  padding: 4px 7px;
  border: 1px solid rgba(35,46,52,.17);
  border-radius: 2px;
  color: #4d5a60;
  background: rgba(36,44,49,.025);
  font-size: 10.5px;
  line-height: 1.45;
}
html[data-theme="light"] body.page-research .pillar-card .card-link {
  margin-top: auto;
  color: #9d4f22;
  font-weight: 600;
}
html[data-theme="light"] body.page-research .pillar-card:hover .pillar-icon {
  border-color: rgba(35,46,52,.36);
  color: #2e3b42;
}
html[data-theme="light"] body.page-research .pillar-card:hover .pillar-no { color: #9d4f22; }

/* 連續陶瓷畫布與緊湊章節索引。 */
html[data-theme="light"] body.page-research .section-rp-sections {
  position: relative;
  padding: clamp(65px, 6vw, 86px) 0;
  background: var(--rs-paper);
}
body.page-research .section-rp-sections .about-grid { align-items: start; }
body.page-research .section-rp-sections .side-nav {
  top: 88px;
  padding: 7px;
  border: 1px solid var(--rs-line);
  border-radius: 4px;
  background: rgba(248,248,245,.82);
  box-shadow: 0 3px 0 rgba(39,50,56,.035);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
body.page-research .section-rp-sections .side-nav ul { display: grid; gap: 3px; }
body.page-research .section-rp-sections .side-nav a {
  margin: 0;
  padding: 11px 12px;
  border-left: 3px solid transparent;
  border-radius: 2px;
  color: #606b70;
  font-size: 13px;
  font-weight: 550;
}
body.page-research .section-rp-sections .side-nav a:hover {
  color: var(--rs-ink);
  border-left-color: rgba(242,154,84,.65);
  background: rgba(36,44,49,.045);
}
body.page-research .section-rp-sections .side-nav a.is-active {
  color: #f6f6f2;
  border-left-color: var(--rs-orange);
  background: var(--rs-graphite);
  box-shadow: 0 3px 8px rgba(24,31,35,.12);
}
body.page-research .section-rp-sections .about-block {
  scroll-margin-top: 88px;
  padding-bottom: clamp(48px,5vw,66px);
  margin-bottom: clamp(48px,5vw,66px);
  border-bottom-color: rgba(38,49,55,.16);
}
body.page-research .section-rp-sections .about-block:last-child { margin-bottom: 0; }
body.page-research .section-rp-sections .section-head { margin-bottom: 28px; }
body.page-research .section-rp-sections .section-meta { margin-bottom: 14px; }
body.page-research .section-index {
  padding: 3px 7px;
  border: 1px solid var(--rs-graphite);
  border-radius: 2px;
  color: var(--rs-orange);
  background: var(--rs-graphite);
  font-variant-numeric: tabular-nums;
}
body.page-research .section-kicker { color: #7a8286; }
body.page-research .section-title,
html[data-theme="light"] body.page-research .section-dark .section-title {
  color: var(--rs-ink);
  font-weight: 650;
  letter-spacing: -.025em;
}
body.page-research .about-main .prose { max-width: 76ch; }
body.page-research .about-main .prose p { color: #455159; }
body.page-research #background .prose p:first-child {
  margin-bottom: 1.45em;
  padding-left: 20px;
  border-left: 3px solid var(--rs-orange);
  color: #2c373d;
  font-size: clamp(17px,1.35vw,19px);
  font-weight: 520;
  line-height: 1.8;
}

/* 原數據列僅縮短上下內距。 */
body.page-research .mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0;
  margin-top: 36px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #343e43;
  border-top: 4px solid var(--rs-orange);
  border-radius: 4px;
  background: var(--rs-graphite);
  box-shadow: 0 14px 30px rgba(28,36,40,.13), 0 3px 0 rgba(38,46,50,.1);
}
body.page-research .mini-stats > div {
  position: relative;
  padding: 15px 25px 14px;
  background-image:
    linear-gradient(rgba(184,199,207,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,199,207,.045) 1px, transparent 1px);
  background-size: 28px 28px;
}
body.page-research .mini-stats > div + div { border-left: 1px solid rgba(226,232,234,.14); }
body.page-research .mini-stats strong {
  color: #f7f7f3;
  font-size: 32px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
}
body.page-research .mini-stats span {
  display: block;
  margin-top: 5px;
  color: #b9c2c6;
  font-size: 12px;
  letter-spacing: .04em;
}

/* 應用場景沿用首頁金屬頂線與短邊界。 */
body.page-research .section-rp-sections .focus-grid { gap: 12px; border: 0; background: transparent; }
body.page-research .section-rp-sections .focus-item {
  position: relative;
  grid-template-columns: 38px 1fr;
  column-gap: 14px;
  padding: 29px 23px 24px;
  border: 1px solid rgba(33,43,49,.2);
  border-radius: 4px;
  background: var(--rs-panel);
  box-shadow: 0 3px 0 rgba(38,46,50,.055);
}
body.page-research .section-rp-sections .focus-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--rs-orange) 0 28%, #353e43 28% 100%);
}
body.page-research .section-rp-sections .focus-no {
  display: grid;
  place-items: center;
  width: 36px;
  height: 29px;
  padding: 0;
  border-radius: 2px;
  color: var(--rs-orange);
  background: var(--rs-graphite);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
body.page-research .section-rp-sections .focus-item h3 { color: #29343a; font-size: 19px; font-weight: 650; }
body.page-research .section-rp-sections .focus-item p { color: #606c72; }

/* 技術路徑整段維持最初設計，僅重置共享標題樣式。 */
html[data-theme="light"] body.page-research .section-chain .section-title {
  font-weight: 600;
  letter-spacing: normal;
}
body.page-research .section-chain .section-kicker { color: #b4530f; }

/* 共用設施為有序設備規格面板。 */
html[data-theme="light"] body.page-research .section-dark.section-facilities {
  position: relative;
  padding: clamp(65px,6vw,82px) 0 clamp(78px,7vw,96px);
  background: var(--rs-paper);
}
body.page-research .section-facilities::before,
body.page-research .section-facilities::after { display: none; }
body.page-research .section-facilities .section-head { max-width: 850px; margin-bottom: 31px; }
body.page-research .section-facilities .section-lede,
html[data-theme="light"] body.page-research .section-facilities .section-lede { color: #606c72; }
body.page-research .facility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  border: 0;
  background: transparent;
}
body.page-research .facility {
  position: relative;
  min-width: 0;
  padding: 29px 25px 25px;
  border: 1px solid rgba(33,43,49,.2);
  border-radius: 4px;
  background: var(--rs-panel);
  box-shadow: 0 3px 0 rgba(38,46,50,.055);
}
body.page-research .facility::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--rs-orange) 0 64px, #7d898f 64px 65px, #d4d9d7 65px 100%);
}
body.page-research .facility-no {
  display: grid;
  place-items: center;
  width: 36px;
  height: 29px;
  margin-bottom: 17px;
  border-radius: 2px;
  color: var(--rs-orange);
  background: var(--rs-graphite);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
body.page-research .facility h3 { color: #29343a; font-size: 19px; font-weight: 650; }
body.page-research .facility p { color: #606c72; font-size: 14.5px; line-height: 1.8; }

@media (max-width: 960px) {
  body.page-research .section-rp-sections .side-nav { position: static; padding: 6px; }
  body.page-research .section-rp-sections .side-nav ul { display: flex; flex-wrap: wrap; gap: 5px; }
  body.page-research .section-rp-sections .side-nav a { padding: 9px 12px; }
}
@media (max-width: 760px) {
  html[data-theme="light"] body.page-research .rp-overview .pillar-grid { grid-template-columns: 1fr; gap: 18px; }
  body.page-research .rp-card-media { aspect-ratio: 16 / 9; }
  body.page-research .rp-card-body { padding: 22px 22px 23px; }
  html[data-theme="light"] body.page-research .pillar-card h3 { font-size: 23px; }
  body.page-research .section-rp-sections .about-block { scroll-margin-top: 76px; }
  body.page-research .mini-stats > div { padding: 12px 15px; }
  body.page-research .mini-stats strong { font-size: 27px; }
  body.page-research .mini-stats span { font-size: 11px; letter-spacing: 0; }
  body.page-research .facility-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  html[data-theme="light"] body.page-research .page-hero-bg {
    background: linear-gradient(90deg, rgba(5,9,14,.94), rgba(5,9,14,.42) 60%, rgba(5,9,14,.2)), url("../img/hero/kv-energy-arc-1280w.webp") 63% center / cover no-repeat;
  }
  html[data-theme="light"] body.page-research .page-hero-bg::before {
    background-size: 44px 44px, 44px 44px, 176px 100%;
    opacity: .22;
  }
  html[data-theme="light"] body.page-research .section-dark.rp-overview { padding: 34px 0 54px; }
  body.page-research .rp-card-body { padding: 20px 19px 21px; }
  body.page-research .rp-card-caption { left: 14px; bottom: 12px; font-size: 9px; }
  html[data-theme="light"] body.page-research .pillar-card h3 { font-size: 22px; }
  html[data-theme="light"] body.page-research .pillar-card p { font-size: 14px; }
  html[data-theme="light"] body.page-research .section-rp-sections { padding: 48px 0 55px; }
  body.page-research .section-rp-sections .side-nav { margin-bottom: 24px; }
  body.page-research #background .prose p:first-child { padding-left: 15px; font-size: 17px; }
  body.page-research .mini-stats > div { padding: 11px 10px; }
  body.page-research .mini-stats strong { font-size: 24px; }
  body.page-research .section-rp-sections .focus-grid { grid-template-columns: 1fr; gap: 10px; }
  body.page-research .section-rp-sections .focus-item { padding: 27px 21px 22px; }
  html[data-theme="light"] body.page-research .section-dark.section-facilities { padding: 52px 0 66px; }
  body.page-research .facility { padding: 27px 21px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  body.page-research .pillar-card,
  body.page-research .rp-card-media img { transition: none; }
  body.page-research .pillar-card:hover { transform: none; }
  body.page-research .pillar-card:hover .rp-card-media img { transform: none; }
}

/* zv_142：新聞稿總覽保留原五則列表與篩選，加入真實精選圖小框及無框分頁。 */
body.page-news {
  --news-ink: #273238;
  --news-muted: #657177;
  --news-line: rgba(39, 50, 56, .16);
  --news-orange: #c45a24;
}
body.page-news main > .section {
  background-color: #f2f2ef;
  background-image:
    linear-gradient(rgba(43, 52, 57, .016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 52, 57, .016) 1px, transparent 1px);
  background-size: 32px 32px;
}
html[data-theme="light"] body.page-news .news-list {
  display: grid;
  gap: 14px;
  border-top: 0;
}
html[data-theme="light"] body.page-news .news-row {
  position: relative;
  grid-template-columns: 176px 126px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 18px 20px;
  overflow: hidden;
  border: 1px solid var(--news-line);
  border-radius: 5px;
  background: rgba(251, 251, 248, .96);
  box-shadow: 0 6px 18px rgba(28, 36, 40, .045);
  transform: none;
  transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}
html[data-theme="light"] body.page-news .news-row--no-thumb { grid-template-columns: 126px minmax(0, 1fr) 24px; }
body.page-news .news-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #78848a, #d5dadd 24%, #909ba0 57%, #e0e3e4 82%, #7c878d);
  opacity: .82;
}
html[data-theme="light"] body.page-news .news-row:hover {
  border-color: rgba(39, 50, 56, .27);
  background: #fffefa;
  box-shadow: 0 9px 24px rgba(28, 36, 40, .065);
  transform: none;
}
body.page-news .news-row-thumb {
  position: relative;
  display: block;
  width: 176px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 0;
  border-radius: 3px;
  background: transparent;
}
body.page-news .news-row-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
body.page-news .news-row:hover .news-row-thumb img { transform: scale(1.02); }
body.page-news .news-row-date { gap: 8px; padding: 0; }
html[data-theme="light"] body.page-news .news-row-date time {
  color: #455158;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .035em;
  white-space: nowrap;
}
html[data-theme="light"] body.page-news .news-row-date .chip {
  align-self: flex-start;
  font-size: 11px;
}
body.page-news .news-row-main { min-width: 0; }
body.page-news .news-row-main h3 {
  margin: 0 0 8px;
  color: var(--news-ink);
  font-size: 19px;
  font-weight: 610;
  line-height: 1.48;
}
body.page-news .news-row-main p {
  display: -webkit-box;
  max-width: 68ch;
  margin: 0;
  overflow: hidden;
  color: var(--news-muted);
  font-size: 13.5px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
html[data-theme="light"] body.page-news .news-row:hover .news-row-main h3 { color: var(--news-orange); }
html[data-theme="light"] body.page-news .news-row-arrow {
  align-self: center;
  padding: 0;
  color: #9ca6aa;
}
html[data-theme="light"] body.page-news .news-row:hover .news-row-arrow { color: var(--news-orange); }
body.page-news .news-pager { gap: 7px; margin-top: 32px; }
html[data-theme="light"] body.page-news .pg-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  color: #7a858a;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  text-shadow: none;
}
html[data-theme="light"] body.page-news .pg-btn:hover:not(:disabled):not(.is-active) {
  border: 0;
  color: var(--news-orange);
  background: transparent;
}
html[data-theme="light"] body.page-news .pg-btn.is-active {
  border: 0;
  color: var(--news-ink);
  background: transparent;
  box-shadow: none;
  font-weight: 600;
}
body.page-news .pg-btn.is-active::before { display: none; }
body.page-news .pg-btn.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 18px;
  height: 2px;
  border: 0;
  background: var(--news-orange);
  transform: translateX(-50%);
}
html[data-theme="light"] body.page-news .pg-btn:disabled {
  border: 0;
  color: #8f999d;
  background: transparent;
  opacity: .3;
}
body.page-news .pg-btn:active { transform: none; }

@media (min-width: 1700px) {
  html[data-theme="light"] body.page-news .news-row { grid-template-columns: 196px 140px minmax(0, 1fr) 28px; gap: 26px; padding: 22px 24px; }
  html[data-theme="light"] body.page-news .news-row--no-thumb { grid-template-columns: 140px minmax(0, 1fr) 28px; }
  body.page-news .news-row-thumb { width: 196px; }
  body.page-news .news-row-main h3 { font-size: 21px; }
  body.page-news .news-row-main p { font-size: 15px; }
}
@media (max-width: 1100px) and (min-width: 741px) {
  html[data-theme="light"] body.page-news .news-row { grid-template-columns: 148px 108px minmax(0, 1fr) 20px; gap: 17px; padding: 17px; }
  html[data-theme="light"] body.page-news .news-row--no-thumb { grid-template-columns: 108px minmax(0, 1fr) 20px; }
  body.page-news .news-row-thumb { width: 148px; }
  body.page-news .news-row-main h3 { font-size: 18px; }
}
@media (max-width: 740px) {
  html[data-theme="light"] body.page-news .news-list { gap: 12px; }
  html[data-theme="light"] body.page-news .news-row,
  html[data-theme="light"] body.page-news .news-row--no-thumb {
    grid-template-columns: 108px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-items: start;
    gap: 15px 16px;
    padding: 16px;
    border-radius: 5px;
  }
  body.page-news .news-row-thumb { grid-column: 1; grid-row: 1; width: 108px; aspect-ratio: 4 / 3; }
  body.page-news .news-row-date {
    grid-column: 2;
    grid-row: 1;
    flex-direction: row;
    align-items: center;
    align-self: center;
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  body.page-news .news-row--no-thumb .news-row-date { grid-column: 1 / -1; }
  body.page-news .news-row-main { grid-column: 1 / -1; grid-row: 2; }
  body.page-news .news-row-main h3 { margin-bottom: 7px; font-size: 18px; }
  body.page-news .news-row-main p { font-size: 13.5px; }
  body.page-news .news-row-arrow { display: none; }
  body.page-news .news-pager { gap: 4px; margin-top: 26px; }
  html[data-theme="light"] body.page-news .pg-btn { min-width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  body.page-news .news-row,
  body.page-news .news-row-thumb img { transition: none; }
  body.page-news .news-row:hover .news-row-thumb img { transform: none; }
}

/* zv_143：聯絡頁保留原版雙欄與表單，只整理右欄、Google 位置連結及桌面底邊對齊。 */
body.page-contact .contact-side {
  gap: 22px;
  align-content: start;
}
body.page-contact .contact-block { padding-top: 18px; }
body.page-contact .contact-block:first-child { padding-top: 0; border-top: 0; }
body.page-contact .contact-block .mono-label { display: block; margin-bottom: 10px; }
body.page-contact .contact-list { gap: 10px; }
html[data-theme="light"] body.page-contact .contact-list li { color: #33434d; line-height: 1.75; }
html[data-theme="light"] body.page-contact .contact-list svg { color: #6b7478; }
body.page-contact .contact-block:nth-child(2) p,
body.page-contact .contact-block:nth-child(3) p { margin: 0; }
body.page-contact .contact-block:nth-child(2) p a { font-weight: 550; overflow-wrap: anywhere; }
html[data-theme="light"] body.page-contact .map-card {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  border: 1px solid rgba(35,47,54,.16);
  border-radius: 4px;
  background: #fff;
}
body.page-contact .map-view {
  position: relative;
  display: block;
  height: 216px;
  overflow: hidden;
  background: #eef0ec;
}
body.page-contact .map-static {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s var(--ease);
}
body.page-contact .map-card:hover .map-static { transform: scale(1.018); }
html[data-theme="light"] body.page-contact .map-label {
  top: 12px;
  bottom: auto;
  left: 12px;
  padding: 5px 8px;
  border: 1px solid rgba(35,47,54,.12);
  border-radius: 2px;
  color: #39474e;
  background: rgba(255,255,255,.92);
  box-shadow: 0 2px 7px rgba(35,47,54,.07);
  font-size: 9.5px;
  pointer-events: none;
}
body.page-contact .map-attribution {
  position: absolute;
  right: 8px;
  bottom: 7px;
  padding: 2px 5px;
  border-radius: 2px;
  color: #5e686b;
  background: rgba(255,255,255,.88);
  font: 8.5px/1.4 var(--mono);
  letter-spacing: .02em;
  pointer-events: none;
}
html[data-theme="light"] body.page-contact .map-open {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 10px 12px;
  border: 0;
  border-top: 1px solid rgba(35,47,54,.12);
  border-radius: 0;
  color: #3e4b51;
  background: #fff;
  font-size: 11.5px;
  letter-spacing: .02em;
}
body.page-contact .map-open svg { width: 13px; height: 13px; color: var(--brand); }
body.page-contact .map-card:hover .map-open svg { transform: none; }
html[data-theme="light"] body.page-contact .map-card:hover .map-open,
html[data-theme="light"] body.page-contact .map-open:hover {
  border-color: rgba(35,47,54,.12);
  color: var(--brand-ink);
  background: #fafaf7;
}
@media (min-width: 961px) {
  body.page-contact .contact-grid { align-items: stretch; }
  body.page-contact .contact-side {
    height: 100%;
    grid-template-rows: auto auto auto minmax(216px, 1fr);
    align-content: stretch;
  }
  html[data-theme="light"] body.page-contact .map-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  body.page-contact .map-view { flex: 1 1 auto; height: auto; min-height: 216px; }
  body.page-contact .map-open { flex: 0 0 auto; }
}
@media (min-width: 1700px) {
  body.page-contact .contact-side { grid-template-rows: auto auto auto minmax(236px, 1fr); }
  body.page-contact .map-view { min-height: 236px; }
}
@media (max-width: 960px) {
  body.page-contact .contact-side { max-width: 680px; gap: 24px; }
}
@media (max-width: 740px) {
  body.page-contact .contact-side { gap: 23px; }
  body.page-contact .map-view { height: 200px; }
  html[data-theme="light"] body.page-contact .map-open { min-height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  body.page-contact .map-static { transition: none; }
  body.page-contact .map-card:hover .map-static { transform: none; }
}

/* zv_144：最新動態沿用原版四卡，只統一標題；移除區塊長線與新聞組件頂線。 */
body.home .rv-news { border-block: 0; }
body.home .rv-news-head {
  position: relative;
  display: block;
  margin: 0 0 clamp(28px, 3vw, 38px);
  padding: 0;
  border: 0;
  text-align: center;
}
body.home .rv-news-head > div.rv-reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
}
body.home .rv-news-head .rv-section-index {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 13px;
  color: #987c6d;
  font-size: 12px;
  line-height: 1.4;
}
body.home .rv-news-head .rv-section-index::before,
body.home .rv-news-head .rv-section-index::after {
  content: "";
  width: 23px;
  height: 1px;
  background: rgba(163, 116, 87, .38);
}
body.home .rv-news-head .rv-section-title {
  margin: 0;
  color: #252321;
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.025em;
}
body.home .rv-news-all {
  position: absolute;
  right: 0;
  bottom: 0;
}
body.home .rv-news-cards { padding-top: 0; }
body.home .rv-news-cards::before { content: none; }
@media (min-width: 1700px) {
  body.home .rv-news-head .rv-section-index { font-size: 14px; }
  body.home .rv-news-head .rv-section-title { font-size: clamp(44px, 2.2vw, 52px); }
}
@media (max-width: 860px) {
  body.home .rv-news-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  body.home .rv-news-all { position: static; align-self: center; }
}
@media (max-width: 600px) {
  body.home .rv-news-head { margin-bottom: 26px; }
  body.home .rv-news-head .rv-section-index { margin-bottom: 11px; font-size: 10px; }
  body.home .rv-news-head .rv-section-title { font-size: 32px; }
}

/* zv_145：每張最新動態卡沿用研究卡的細金屬頂線，不再橫跨整個新聞組件。 */
body.home .rv-news-card { position: relative; }
body.home .rv-news-card::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rv-orange) 0 12%, #b9bdba 12% 13%, #353e43 13% 100%);
  pointer-events: none;
}
