/* 恩瑞 EW Switch 首頁混版樣式(A expower 為底,頁首換成 B CITIZEN)。原 A 版說明:數值照 expower 1440 寬量的(回報有對照),品牌色換成恩瑞藍。
   段落順序 = 頁面順序:1 基礎 2 按鈕 3 頁首 4 首屏 5 3D 組裝 6 段落頭 7 產品 8 關於 9 應用 10 客戶 11 消息 12 Contact(已拿掉) 13 頁尾 14 手機 */

/* 1 基礎 ─────────────────────────────────────────── */
:root {
  --navy: #0D3A7C;          /* 恩瑞藍(logo 深面) */
  --navy-2: #1048A0;        /* 小標、滑過 */
  --navy-dk: #0A2E63;
  --gold: #E5B220;          /* logo 閃電;只給小記號 */
  --ink: #1a1a1a;
  --text: #333;
  --muted: #6b6f76;
  --line: #dfe1e5;
  --card: #f1f2f4;          /* 產品卡底:比頁面深一階 */
  --dark: #16181c;          /* 深色區(expower Projects #1a1a1a 換冷一點) */
  --ft-h: 220; --ft-s: 9%; --ft-l: 12.5%; --ft: hsl(var(--ft-h) var(--ft-s) var(--ft-l));   /* 頁尾底色。11-30 V16 Eric「把頁尾的灰色加深」:#2b2e33(亮度 18%)→ 12.5%(拉桿 tune-ft.html) */
  --ftw-l: 17.5%;   /* 頁尾 EW Switch 大字:同色相、比底色亮一點(Eric「文字顏色用比底色淺一點的顏色」) */
  --gut: clamp(20px, 7.08vw, 136px);   /* 左右版邊(手機、平板 ≤1180):expower 1440 寬 = 102px */
  --sec: clamp(96px, 11.1vw, 180px);    /* 區塊間距:expower 160 */
  --r: 20px;                /* 大圓角(expower 圖框、深色區、Contact 帶) */
  --r-s: 6px;               /* 卡片 */
  --hd: 72px;               /* 頁首高(B 版):1024 以上 88 */
  --en: "Inter Tight", "Noto Sans TC", sans-serif;   /* 11-29 V12 Eric「全站英文字都用inter tight」(原 Instrument Sans) */
  --zh: "Inter Tight", "Noto Sans TC", sans-serif;   /* Inter Tight 排第一:中文字它沒有、自動接思源黑體;中文裡的英文字母和數字也用 Inter Tight */
  --ease: cubic-bezier(.33, 1, .68, 1);
}
@media (min-width: 1181px) { :root { --gut: max(124px, 8.17vw); } }   /* 電腦(1181 以上,完整選單、右下三顆鈕在版邊外)。11-30 V18 Eric 拉桿「這台 2056 寬 = 168px」+「其他的螢幕寬度你按照一般UIUX常識幫我去作調整」:
   比例 = 168 / 2056 = 8.17%(1920 寬 157、2560 寬 209);最少 124 = 鈕離邊 24 + 鈕寬 48 + 留 52(鈕到內容比鈕寬大,精華 9b),1181〜1517 寬停在 124;平板手機照上面那條不動 */
@media (min-width: 1024px) { :root { --hd: 88px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--zh); font-size: 17px; line-height: 1.6; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
[lang="en"] { font-family: var(--en); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd, figure, p, h1, h2, h3 { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.ew-wrap { padding-inline: var(--gut); }
.ew-cls { display: inline-block; text-indent: 0; }   /* 11-30 V18:不繼承父層的負縮排(關於頁引言「連」被往左推半字、疊到逗號被切,Eric 熱鍵「連結的連被砍一半」) */
.ew-ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; display: block; }
.ew-sec { padding-block: var(--sec) 0; }

/* 2 按鈕(expower:實心長條 + 右邊方形箭頭格,高 60、圓角 4)────────── */
/* ── 按鈕系統(11-29 V12 Eric 在 選樣式/ 挑:「T2 跟 W4結合 不要W4的下方電流線 改成按鈕發光的樣式」「T2的圓圈不要白色 也是藍色底的 這樣按鈕發光比較像」)──
   = 膠囊 + 圓圈箭頭(T2:滑過箭頭從圈裡飛出去、另一支從對角飛進來)+ 通電(W4:平常是沒通電的暗藍、MORE 字和箭頭白色(11-29 V13 Eric:「more和箭頭 預設都改成白色」,原本 72% 白);
   滑過像燈管啟動閃兩下 → 整顆亮成藍、往外發光;不要底下那道電弧)。全站 5 種照這套:
   MORE(.ew-btn)、圓形箭頭鈕(.ew-sq,控制鈕:平常只有淡框,滑過一樣通電)、照片角落箭頭(.ew-app__a)、頁首聯絡(.ew-hd__cta,只有字)、
   Contact 大字帶(整條太大,不閃,滑過慢慢亮起來)。箭頭飛出飛入 = .ew-loop(裡面放兩支一樣的箭頭;is-r 往右、is-l 往左,沒寫 = 往右上)。 */
:root { --off: #0b2550; --on: linear-gradient(90deg, #1048A0, #1f6fe5); --on-glow: inset 0 0 16px rgba(160,215,255,.45), 0 0 22px rgba(31,111,229,.45);
  /* 圓鈕通電的漸層(圓形箭頭鈕 .ew-sq、直條角落 .ew-app__a、MORE 裡的小圓 .ew-btn__k)。11-30 V16 Eric「包含圓形按鈕HOVER的深藍和淺藍的漸層也是一樣」(對比太大、過渡要自然):
     原本 #6fb2ff → #2f7bff 72% 一條直線 → 中心色(--dot-c)往邊緣色(--dot-e)照 smoothstep 五段 oklab 混色,--dot-r 處變成邊緣色;顏色拆色相、飽和度、亮度給拉桿(tune-app.html) */
  --dot-ch: 215; --dot-cs: 100%; --dot-cl: 68%; --dot-eh: 216; --dot-es: 95%; --dot-el: 58%; --dot-r: 90%;
  --dot-c: hsl(var(--dot-ch) var(--dot-cs) var(--dot-cl)); --dot-e: hsl(var(--dot-eh) var(--dot-es) var(--dot-el));
  --on-dot: radial-gradient(circle at 50% 38% in oklab, var(--dot-c) 0%, color-mix(in oklab, var(--dot-c) 84.4%, var(--dot-e)) calc(var(--dot-r) * .25), color-mix(in oklab, var(--dot-c) 50%, var(--dot-e)) calc(var(--dot-r) * .5),
    color-mix(in oklab, var(--dot-c) 15.6%, var(--dot-e)) calc(var(--dot-r) * .75), var(--dot-e) var(--dot-r)); }
@keyframes ewOn { 0% { opacity: 0; } 12% { opacity: 1; } 22% { opacity: .15; } 36% { opacity: 1; } 46% { opacity: .35; } 60%, 100% { opacity: 1; } }
.ew-btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 20px; height: 60px; padding: 0 8px 0 30px; border-radius: 999px; background: var(--off);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .06em; transition: color .2s; }
.ew-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--on); box-shadow: var(--on-glow); opacity: 0; transition: opacity .35s; }
.ew-btn__k { width: 44px; height: 44px; border-radius: 50%; background: #163f7d; flex: none; transition: box-shadow .35s; }
.ew-btn__k::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--on-dot); box-shadow: inset 0 0 6px rgba(255,255,255,.35); opacity: 0; transition: opacity .35s; }
.ew-btn:is(:hover, :focus-visible) { color: #fff; }
.ew-btn:is(:hover, :focus-visible) .ew-btn__k { box-shadow: 0 0 14px rgba(110,180,255,.8); }
.ew-btn:is(:hover, :focus-visible)::before, .ew-btn:is(:hover, :focus-visible) .ew-btn__k::before { opacity: 1; transition: none; animation: ewOn .55s linear; }
/* 箭頭飛出飛入(圈裡兩支一樣的箭頭) */
.ew-loop { position: relative; overflow: hidden; }
.ew-loop .ew-ico { position: absolute; left: 50%; top: 50%; margin: -8px 0 0 -8px; transition: transform .45s var(--ease); }
.ew-loop .ew-ico + .ew-ico { transform: translate(-34px, 34px); }
.ew-loop.is-r .ew-ico + .ew-ico { transform: translateX(-34px); }
.ew-loop.is-l .ew-ico + .ew-ico { transform: translateX(34px); }
:is(a, button):is(:hover, :focus-visible) .ew-loop .ew-ico:first-child, .ew-loop:is(a, button):is(:hover, :focus-visible) .ew-ico:first-child { transform: translate(34px, -34px); }
:is(a, button):is(:hover, :focus-visible) .ew-loop.is-r .ew-ico:first-child, .ew-loop.is-r:is(a, button):is(:hover, :focus-visible) .ew-ico:first-child { transform: translateX(34px); }
:is(a, button):is(:hover, :focus-visible) .ew-loop.is-l .ew-ico:first-child, .ew-loop.is-l:is(a, button):is(:hover, :focus-visible) .ew-ico:first-child { transform: translateX(-34px); }
:is(a, button):is(:hover, :focus-visible) .ew-loop .ew-ico + .ew-ico, .ew-loop:is(a, button):is(:hover, :focus-visible) .ew-ico + .ew-ico { transform: none; }
/* 圓形箭頭鈕(控制鈕:淡框;滑過通電) */
.ew-sq { isolation: isolate; display: inline-flex; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); flex: none; transition: color .2s, border-color .2s, box-shadow .35s; }
.ew-sq::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--on-dot); opacity: 0; transition: opacity .35s; }
.ew-sq:is(:hover, :focus-visible), :is(a:hover, a:focus-visible) .ew-sq { color: #fff; border-color: var(--dot-e); box-shadow: 0 0 16px rgba(31,111,229,.5); }
.ew-sq:is(:hover, :focus-visible)::before, :is(a:hover, a:focus-visible) .ew-sq::before { opacity: 1; transition: none; animation: ewOn .55s linear; }
/* 進場動畫(reveal.js)最後用剛好包住的裁切,會把外面那圈光切掉 → 這幾種按鈕進場完留 40px 給光 */
html.rv .rv-in :is(.ew-btn, .ew-sq, .ew-loop).rv-a:not(#rv-x):not(#rv-x), html.rv :is(.ew-btn, .ew-sq, .ew-loop).rv-a.rv-in:not(#rv-x):not(#rv-x) { clip-path: inset(-40px); }
@media (prefers-reduced-motion: reduce) { .ew-btn::before, .ew-btn__k::before, .ew-sq::before, .ew-app__a::before, .ew-hd__cta::before { animation: none !important; } }

/* 3 頁首 = B 版(CITIZEN):logo 左、選單在中間、繁中/EN + 藍色膠囊鈕;在首屏上透明白字,
     離開首屏變白底毛玻璃 + 底線;Headroom 往下捲藏、往上捲出現。左右版邊照全站 --gut ──── */
.ew-hd { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--hd); color: #fff; transition: transform .45s var(--ease), background-color .35s, color .35s, box-shadow .35s; }
.ew-hd.is-hide { transform: translateY(-100%); }
.ew-hd.is-solid { background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ew-hd__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-inline: var(--gut); }
.ew-logo { position: relative; display: block; height: 36px; flex: none; }
.ew-logo img { height: 100%; width: auto; display: block; transition: opacity .35s; }
.ew-logo .ew-logo__w { position: absolute; inset: 0; opacity: 0; }
.ew-hd:not(.is-solid) .ew-logo.has-w .ew-logo__c { opacity: 0; }
.ew-hd:not(.is-solid) .ew-logo.has-w .ew-logo__w { opacity: 1; }
.ew-hd:not(.is-solid) .ew-logo:not(.has-w) .ew-logo__c { filter: brightness(0) invert(1); }
.ew-hd__nav { align-self: stretch; }
.ew-hd__nav > ul { display: flex; gap: 40px; height: 100%; }
.ew-hd__nav > ul > li { position: relative; display: flex; align-items: center; }   /* 12-01 V26 每項撐滿頁首高 → 下拉從頁首底邊往下掛 */
.ew-hd__nav > ul > li > a, .ew-dd__card a { position: relative; display: block; font-size: 16px; font-weight: 500; letter-spacing: .06em; padding: 8px 0; white-space: nowrap; }
.ew-hd__nav > ul > li > a::after, .ew-dd__card a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.ew-hd__nav > ul > li > a:hover::after, .ew-dd.is-open > a::after, .ew-dd__card a:is(:hover, :focus-visible)::after { transform: scaleX(1); }
.ew-hd__tools { display: flex; align-items: center; gap: 24px; }
.ew-lang { display: flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: .04em; }
.ew-lang a { opacity: .6; }
.ew-lang a.is-on { opacity: 1; font-weight: 500; }
.ew-lang span { opacity: .4; }
.ew-hd__cta { position: relative; isolation: isolate; display: inline-flex; align-items: center; height: 44px; padding: 0 24px; border-radius: 999px; background: var(--off); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); color: #fff !important; font-size: 15px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.ew-hd__cta::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--on); box-shadow: var(--on-glow); opacity: 0; transition: opacity .35s; }
.ew-hd__cta:is(:hover, :focus-visible)::before { opacity: 1; transition: none; animation: ewOn .55s linear; }   /* 按鈕系統:頁首只有字,一樣通電發光 */
.ew-burger { display: none; width: 44px; height: 44px; position: relative; color: inherit; }
.ew-burger i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.ew-burger i:nth-child(1) { top: 17px; }
.ew-burger i:nth-child(2) { top: 26px; }
.ew-menu-open .ew-burger i:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.ew-menu-open .ew-burger i:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
@media (min-width: 1024px) { .ew-logo { height: 42px; } }
/* 3b 頁首下拉(12-01 V26 Eric「參考之前幾個網站的 把下拉選單做出來」「產品用MEGA MENU配產品圖」;做法照承泰 V29)──────
   打開(ew.js 3b:滑鼠移上去、鍵盤 Tab 進去、觸控第一下)= li.is-open;頁首照原本的樣子(停在首屏上照舊透明白字),下拉是浮在底下的白卡。
   文字項 = 一般下拉小卡:掛在大項正下方置中、頁首底下 8px、白底細灰框圓角 12、不加陰影;字跟主選單同一組(16 / 500 / .06em)、每行置中。
   產品介紹 = 大選單:12-01 V26 Eric「可以做成跟TBI和睿智那樣 卡片式的MEGA MENU嗎 就是沒有跟HEADER一樣連在一起」→ 浮起來的一張白卡
     (TBI、睿志都是頁首下方一張圓角白卡、頁首不變色):左右 = 全站版邊、頂 = 頁首底下 8px(跟小卡同一條線)、白底細灰框、圓角 = 全站大圓角 --r、內距 40;16 類一排 8 個,
     卡片 = 首頁產品卡同一套(灰底 --card、去背圖、白色箭頭圓鈕、中文 / 英文),三列用 subgrid 對齊(名字一行兩行都對得齊)。
   滑過:字和底線變品牌藍 --navy-2、產品圖放大 1.08(首頁產品卡同一個值)。 */
.ew-dd__p { position: absolute; top: 100%; z-index: 1; color: var(--ink); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, visibility 0s .2s; }
.ew-dd.is-open > .ew-dd__p { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .25s; }
.ew-dd__card { left: 50%; translate: -50% 0; padding-top: 8px; }   /* 上面 8px 透明 = 滑鼠從大項往下移不會斷掉 */
.ew-dd__card ul { display: grid; justify-items: center; padding: 8px 32px; background: #fff; border: 1px solid var(--line); border-radius: 12px; translate: 0 -6px; transition: translate .35s var(--ease); }
.ew-dd.is-open .ew-dd__card ul { translate: 0 0; }
.ew-dd__card a { padding: 10px 0; text-align: center; transition: color .2s; }
.ew-dd__card a:is(:hover, :focus-visible), .ew-dd__card a[aria-current="page"] { color: var(--navy-2); }
.ew-hd__nav > ul > li.ew-dd--mega { position: static; }   /* 大選單照頁首整條寬掛(左右版邊),不跟著「產品介紹」那項 */
.ew-mm { left: var(--gut); right: var(--gut); padding-top: 8px; }   /* 上面 8px 透明 = 滑鼠從大項往下移不會斷掉(同小卡) */
.ew-mm__grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: 16px; padding: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); translate: 0 -6px; transition: translate .35s var(--ease); }
.ew-dd.is-open .ew-mm__grid { translate: 0 0; }   /* 卡片跟小卡一樣往下落 6px 進場 */
.ew-mm__grid > li { display: grid; grid-row: span 3; grid-template-rows: subgrid; opacity: 0; translate: 0 10px; transition: opacity .2s, translate 0s .2s; }
.ew-mm__grid > li:nth-child(n + 9) .ew-mm__ph { margin-top: 32px; }   /* 第二排跟第一排的距離 */
.ew-dd.is-open .ew-mm__grid > li { opacity: 1; translate: 0 0; transition: opacity .35s calc(var(--i) * 16ms), translate .5s var(--ease) calc(var(--i) * 16ms); }   /* 打開時一張接一張升上來(16 張 .24 秒排完) */
.ew-mm__it { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
.ew-mm__ph { position: relative; aspect-ratio: 4 / 3; margin-bottom: 12px; background: var(--card); border-radius: var(--r-s); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ew-mm__ph img { max-height: 64%; max-width: 70%; width: auto; height: auto; object-fit: contain; transition: scale .6s var(--ease); }
.ew-mm__it:is(:hover, :focus-visible) .ew-mm__ph img { scale: 1.08; }
.ew-mm__go { --s: 28px; position: absolute; right: 8px; bottom: 8px; width: var(--s); height: var(--s); background: #fff; border-color: transparent; }
.ew-mm__go .ew-ico { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; }
.ew-mm__go .ew-ico path { vector-effect: non-scaling-stroke; }   /* 箭頭縮小,線寬維持 1.4px(同首頁產品卡) */
.ew-mm__zh { font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: .04em; color: var(--ink); transition: color .2s; }
.ew-mm__en { margin-top: 2px; font-family: var(--en); font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--muted); transition: color .2s; }
.ew-mm__it:is(:hover, :focus-visible) :is(.ew-mm__zh, .ew-mm__en) { color: var(--navy-2); }
@media (max-width: 1439px) {   /* 1181〜1439 寬一排 8 張每張只剩 103〜135px,中文名字擠成一串、英文斷三行 → 改 4 欄 × 4 列「小圖在左、名字在右」清單(小圖 80 方格,箭頭圓鈕收起來) */
  .ew-mm__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; row-gap: 24px; }
  .ew-mm__grid > li { display: grid; grid-row: auto; grid-template-rows: none; }   /* 連結撐滿格子:同一列有人名字折兩行,小圖照樣對齊 */
  .ew-mm__grid > li:nth-child(n + 9) .ew-mm__ph { margin-top: 0; }
  .ew-mm__it { grid-row: auto; grid-template-rows: 1fr auto auto 1fr; grid-template-columns: 80px minmax(0, 1fr); column-gap: 16px; }   /* 名字組上下等空 = 永遠對小圖中線 */
  .ew-mm__ph { grid-row: 1 / 5; align-self: center; aspect-ratio: 1; margin: 0; }
  .ew-mm__zh { grid-column: 2; grid-row: 2; }
  .ew-mm__en { grid-column: 2; grid-row: 3; }
  .ew-mm__go { display: none; }
}
@media (max-width: 1279px) { .ew-mm__it { grid-template-columns: 64px minmax(0, 1fr); } }   /* 12-01 大選單改浮卡多了內距 40:1181 寬名字欄只剩 93、「帶燈輕觸開關」斷成「開 / 關」→ 小圖 80 → 64,名字欄 109(六字名一行放得下) */
@media (prefers-reduced-motion: reduce) { .ew-dd__card ul, .ew-mm__grid, .ew-mm__grid > li { translate: none !important; transition: none !important; } }
@media (max-width: 1180px) {          /* 1180 以下改漢堡(5 項選單 + 繁中/EN + 膠囊鈕在這以下會擠) */
  .ew-hd__nav, .ew-hd__cta, .ew-hd .ew-lang { display: none; }
  .ew-burger { display: block; }
}
/* 手機全螢幕選單(B 版:白底、Menu 小標、一列一項 中文 + 英文 + 箭頭) */
.ew-menu { position: fixed; inset: 0; z-index: 55; background: #fff; color: var(--ink); opacity: 0; pointer-events: none; transition: opacity .35s; overflow-y: auto; }
.ew-menu-open .ew-menu { opacity: 1; pointer-events: auto; }
.ew-menu-open .ew-hd { background: #fff; color: var(--ink); transform: none; box-shadow: none; }
.ew-menu-open .ew-hd .ew-logo__c { filter: none !important; opacity: 1 !important; }
.ew-menu-open .ew-hd .ew-logo__w { opacity: 0 !important; }
.ew-menu__in { padding: calc(var(--hd) + 24px) var(--gut) 48px; }
.ew-menu__t { margin: 0 0 16px; font-size: 22px; font-weight: 500; letter-spacing: .01em; color: var(--muted); }
.ew-menu__in > ul { margin: 0 0 32px; }
.ew-menu__in > ul > li > a, .ew-mn__row > a { display: flex; align-items: center; gap: 12px; min-height: 64px; border-bottom: 1px solid var(--line); }
.ew-menu__zh { font-size: 20px; font-weight: 500; }
.ew-menu__en { flex: 1; font-size: 13px; letter-spacing: .08em; color: var(--muted); }
.ew-menu li .ew-ico { width: 20px; height: 20px; color: var(--navy); }
/* 手機選單子項(12-01 V26,照承泰 / TBI 收合):有子項的大項第一下展開、展開後再點才進那頁;右邊 +/− 只管開關(44 方格、14px 線,粗 1.75 = 旁邊 20px 箭頭畫出來的粗細),一次開一個;
   子項一行一個、16px、列高 44、字比大項多縮 16、右邊細線箭頭;層級靠縮排 + 字級分,不再疊淺灰(精華 14)。線只畫在每組下面 */
.ew-mn { border-bottom: 1px solid var(--line); }
.ew-mn__row { display: flex; align-items: center; }
.ew-mn__row > a { flex: 1; border-bottom: 0; }
.ew-mn__tg { position: relative; width: 44px; height: 44px; margin-right: -12px; flex: none; color: var(--navy); }   /* -12:+/− 中線對齊其他列箭頭的中線 */
.ew-mn__tg i::before, .ew-mn__tg i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.75px; margin: -.875px 0 0 -7px; background: currentColor; transition: transform .35s var(--ease); }
.ew-mn__tg i::after { transform: rotate(90deg); }
.ew-mn.is-open .ew-mn__tg i::after { transform: rotate(0deg); }   /* 打開:直線轉平 → 「−」 */
.ew-mn__p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.ew-mn.is-open .ew-mn__p { grid-template-rows: 1fr; }
.ew-mn__sub { min-height: 0; overflow: hidden; }
.ew-mn__sub a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding-left: 16px; font-size: 16px; font-weight: 500; color: var(--ink); }
.ew-mn__sub li:last-child a { margin-bottom: 12px; }
.ew-menu .ew-mn__sub .ew-ico { width: 16px; height: 16px; margin-right: 2px; }   /* 16px 箭頭往左 2 → 中線對齊大項 20px 箭頭 */
.ew-mn__sub a[aria-current="page"] { color: var(--navy-2); }

/* 4 首屏(滿版輪播)──────────────────────────────── */
.ew-top { position: relative; }
.ew-hero { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; background: #0f1216; z-index: 1; }
.ew-hero__slides, .ew-hero__slide { position: absolute; inset: 0; }
.ew-hero__slide { opacity: 0; transition: opacity 0s 1.2s; }   /* 11-28 V10 換下去的那張等新的一張淡入完才消失(兩張一起淡,中間會透出深色底,白底照會閃一下灰) */
.ew-hero__slide.is-on { opacity: 1; z-index: 1; transition: opacity 1.2s var(--ease); }
.ew-hero__ph, .ew-hero__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ew-hero__ph img { object-position: var(--pos, 50% 50%); }   /* 11-28 V10 每張自己的裁切位置(build.py HERO);直式版另給 --pos-p */
@media (max-aspect-ratio: 3/4) { .ew-hero__ph img { object-position: var(--pos-p, var(--pos, 50% 50%)); } }
.ew-hero__ph img { transform: scale(1.08); transition: transform 7s linear; }
.ew-hero__slide.is-on .ew-hero__ph img { transform: scale(1); }
/* 字疊照片:上方一層讓頁首看得到,左下一層讓大字看得到 */
.ew-hero__slide::before, .ew-hero__slide::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.ew-hero__slide::before { background: linear-gradient(180deg, rgba(8,14,26,.45) 0, rgba(8,14,26,0) 22%); }
.ew-hero__slide::after { background: linear-gradient(15deg, rgba(8,14,26,.72) 0, rgba(8,14,26,.32) 38%, rgba(8,14,26,0) 64%); }
.ew-hero__txt { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(120px, 14vh, 168px); z-index: 2; max-width: 1180px; }
/* 11-28 V10 首屏標語系統:三張同一套 = 英文大標(同字級、畫面上大寫、一個詞組一個 .ew-hero__ln,只在詞組之間斷)+ 一行小字 */
.ew-hero__en { font-family: var(--en); font-weight: 600; font-size: clamp(40px, 7.6vw, 132px); line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase; }
.ew-hero__ln { display: inline-block; }
.ew-hero__zh { margin-top: clamp(16px, 1.4vw, 24px); font-size: clamp(20px, 1.9vw, 32px); font-weight: 700; line-height: 1.4; letter-spacing: .08em; }   /* 中文標語 = 大標的中文版,跟大標同一組(近);小字是另一組(遠) */
.ew-hero__sub { margin-top: clamp(28px, 2.6vw, 44px); font-size: clamp(16px, 1.25vw, 20px); font-weight: 500; line-height: 1.6; opacity: .82; letter-spacing: .01em; max-width: 34em; }
/* 換張時字一行行從下面升上來(進場池 01 的語言,首屏自己做) */
/* 11-30 V16 Eric「切換HERO的幻燈片的時候 切下一張 上一張的文字會有殘影跑到計數BAR上面」:原本裁切框(clip-path)寫在字自己身上,字往下移時框也跟著移,根本沒藏到;
   舊的那張又要等新的淡入完(1.2 秒)才消失 → 掉下去的字壓在計數條上 1 秒多。改成裁切框跟字反方向動(移多少、底邊就往上收多少,同一條曲線)= 框底永遠停在字原本的底線:
   進場從線下升上來、出場沉回線下(.35 秒,加速),線以下一律看不到 */
.ew-hero__txt > * { clip-path: inset(0 0 -.2em 0); transform: translateY(0); }
.ew-hero__slide:not(.is-on) .ew-hero__txt > * { transform: translateY(105%); clip-path: inset(0 0 105% 0); transition: transform .35s cubic-bezier(.4, 0, 1, 1), clip-path .35s cubic-bezier(.4, 0, 1, 1); }
.ew-hero__slide.is-on .ew-hero__txt > * { transition: transform 1s var(--ease) .3s, clip-path 1s var(--ease) .3s; }   /* 晚 .3 秒才升:舊字先沉完(.35 秒),兩張的字不會疊在一起 */
.ew-hero__slide.is-on .ew-hero__txt > *:nth-child(2) { transition-delay: .42s; }
.ew-hero__slide.is-on .ew-hero__txt > *:nth-child(3) { transition-delay: .54s; }
html.ew-wait .ew-hero__txt > * { transform: translateY(105%) !important; clip-path: inset(0 0 105% 0) !important; transition: none !important; }
.ew-hero__foot { position: absolute; left: var(--gut); right: var(--gut); bottom: 40px; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; }
.ew-hero__dots { display: flex; gap: 24px; }
.ew-hero__dot { display: flex; flex-direction: column; gap: 10px; width: clamp(64px, 7vw, 120px); text-align: left; padding-block: 8px; }
.ew-hero__num { font-size: 13px; font-weight: 600; opacity: .6; transition: opacity .3s; }
.ew-hero__dot.is-on .ew-hero__num { opacity: 1; }
.ew-hero__bar { position: relative; height: 1px; background: rgba(255,255,255,.35); overflow: hidden; }
.ew-hero__bar i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.ew-hero__dot.is-on .ew-hero__bar i { animation: ewBar var(--dur, 6s) linear forwards; }
.ew-hero__dot.is-past .ew-hero__bar i { transform: scaleX(1); }
@keyframes ewBar { to { transform: scaleX(1); } }
.ew-hero__scroll { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.ew-hero__scroll i { width: 1px; height: 48px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.ew-hero__scroll i::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40%; background: #fff; animation: ewDrip 2.2s var(--ease) infinite; }
@keyframes ewDrip { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* 5 3D 捲動組裝(白色圓角板從下面升起蓋住首屏 → 板子停住,零件一層層組起來)──── */
.ew-asm { position: relative; z-index: 2; height: 420vh; margin-top: 0; }
.ew-asm__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: linear-gradient(180deg, #f4f6f9 0%, #eceff3 100%); border-radius: var(--r) var(--r) 0 0; }
.ew-asm__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.ew-asm__stage::before { content: ""; position: absolute; inset: 0; background: #fff; opacity: var(--fade, 0); z-index: 0; pointer-events: none; }
.ew-hero::after { content: ""; position: absolute; inset: 0; background: #05080e; opacity: var(--dim, 0); z-index: 4; pointer-events: none; }
.ew-asm__copy { position: absolute; left: var(--gut); top: calc(var(--hd) + clamp(24px, 6vh, 72px)); z-index: 2; max-width: 34vw; pointer-events: none; }
.ew-asm__title { margin-top: 20px; font-family: var(--en); font-weight: 600; font-size: clamp(44px, 6.2vw, 104px); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.ew-asm__name { margin-top: 28px; display: flex; gap: 14px; align-items: baseline; font-family: var(--en); font-size: 16px; font-weight: 500; color: var(--muted); }
.ew-asm__name span { font-size: 20px; font-weight: 600; color: var(--ink); }
.ew-asm__facts { margin-top: 16px; display: flex; gap: 32px; }
.ew-asm__facts dt { font-size: 13px; font-weight: 600; color: var(--navy-2); }
.ew-asm__facts dd { font-family: var(--en); font-size: 17px; font-weight: 500; color: var(--ink); }
.ew-asm__steps { position: absolute; right: var(--gut); bottom: clamp(48px, 9vh, 96px); z-index: 2; width: min(320px, 26vw); }
.ew-asm__steps li { display: grid; grid-template-columns: 36px 1fr auto; align-items: baseline; gap: 8px; padding-block: 10px; border-top: 1px solid rgba(26,26,26,.12); color: rgba(26,26,26,.32); transition: color .35s; }
.ew-asm__steps li:last-child { border-bottom: 1px solid rgba(26,26,26,.12); }
.ew-asm__steps li.is-done { color: rgba(26,26,26,.6); }
.ew-asm__steps li.is-on { color: var(--ink); }
.ew-asm__steps li.is-on .ew-asm__n { color: var(--navy-2); }
.ew-asm__n { font-size: 13px; font-weight: 600; }
.ew-asm__zh { font-size: 16px; font-weight: 700; }
.ew-asm__en { font-size: 13px; font-weight: 500; }
.ew-asm__bar { position: absolute; left: var(--gut); bottom: clamp(48px, 9vh, 96px); width: min(240px, 20vw); height: 1px; background: rgba(26,26,26,.15); z-index: 2; }
.ew-asm__bar i { position: absolute; inset: 0; background: var(--navy); transform-origin: left; transform: scaleX(var(--p, 0)); }
.ew-asm__fallback { display: none; }
.ew-asm.is-no3d { height: auto; }
.ew-asm.is-no3d .ew-asm__stage { position: relative; height: auto; min-height: 70vh; }
.ew-asm.is-no3d .ew-asm__steps li { color: var(--ink); }

/* 5b 品牌開場 intro(三個版本比較中:intro-1/2/3.html;舞台照 A 版 3D 組裝那樣從下面升起蓋住首屏)──── */
.ew-intro { position: relative; z-index: 2; height: 480vh; pointer-events: none; }   /* 11-29 V12 Eric 熱鍵「這個區塊和下面區塊沒有hover 也不能框選字 我猜有什麼東西檔到了」:關於區疊進 intro 底下,intro 整段的框擋住滑鼠;intro 裡沒有要點的東西(鎖捲動掛在視窗上) */
.ew-intro[data-intro="1"] { height: 420vh; }   /* 11-29 V14 改回全程照捲動(不鎖):按下那點不變(舞台蓋滿後 1.03 個畫面),按下後約 2.2 個畫面給轉上視圖、通電、標語、爆光、淡出(= ew-intro.js 的 S_PRESS、UK)。鎖捲動版是 300vh */
.ew-intro__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; border-radius: var(--r) var(--r) 0 0; background: linear-gradient(180deg, #f4f6f9 0%, #e8ecf1 100%); }
.ew-intro[data-intro="2"] .ew-intro__stage { background: radial-gradient(110% 85% at 50% 42%, #10223d 0%, #070d18 58%, #03060b 100%); color: #fff; }
.ew-intro[data-intro="3"] .ew-intro__stage { background: linear-gradient(180deg, #eef1f5 0%, #e2e7ee 100%); }
/* 1:11-27 V6 Eric「改成深色背景」→ 跟載入動畫同一套深底;字白、中文 72%;淡出是 JS 把白色 wipe 整片淡進來(接關於恩瑞白底) */
.ew-intro[data-intro="1"] .ew-intro__stage { background: radial-gradient(110% 85% at 50% 46%, #10223d 0%, #070d18 58%, #03060b 100%); color: #fff; border-radius: 0; }   /* 11-28 V10 Eric「intro區塊底上方兩個圓角取消」 */
.ew-intro[data-intro="1"] .ew-i1__a, .ew-intro[data-intro="1"] .ew-i1__b { color: #fff; }
.ew-intro[data-intro="1"] .ew-i1__zh { color: rgba(255, 255, 255, .72); }
.ew-intro__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.ew-intro__txt { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.ew-intro[data-intro="2"] .ew-intro__txt { z-index: 0; }               /* 2:字在 3D 後面 */
/* 11-28 Eric:「intro淡出的時候就可以馬上看到about區塊了」→ 緊接 1 號 intro 的那一區往上疊進 intro 最後一個畫面底下
   (intro 在上層),intro 白了以後整個舞台淡掉,底下已經捲上來的這一區就露出來,不用再捲一段空白 */
/*   首屏是釘住的(z-index 1),這一區要蓋在首屏上面、intro 下面:同樣 z-index 1、排在後面就在上面,加白底才不會透出首屏 */
.ew-top:has(.ew-intro[data-intro="1"]) + .ew-sec { margin-top: -100vh; margin-top: -100svh; position: relative; z-index: 1; background: #fff; }
/*   淡出時這一區還沒捲到頂,上面空出來的那條會透出首屏 → 白底往上延伸一個畫面高蓋住(只在 intro 舞台底下,平常看不到) */
.ew-top:has(.ew-intro[data-intro="1"]) + .ew-sec::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 100vh; height: 100svh; background: #fff; pointer-events: none; }
/* 11-29 V11 關於恩瑞精簡到一屏內後比 100svh 矮:疊進 intro 最後一個畫面後,下面的產品區落在首屏(sticky、z-index 1)還釘著的範圍,
   首屏從關於底下露出來(Eric 熱鍵「漏餡了」)→ 產品區也墊白底、同一層,蓋住首屏 */
.ew-top:has(.ew-intro[data-intro="1"]) + .ew-sec + .ew-sec { position: relative; z-index: 1; background: #fff; }
.ew-intro__wipe { position: absolute; inset: 0; z-index: 5; background: #fff; clip-path: circle(0px at 50% 50%); pointer-events: none; }
.ew-intro__ring { position: absolute; z-index: 6; border: clamp(6px, .7vw, 12px) solid var(--navy); border-radius: 50%; opacity: 0; pointer-events: none; box-sizing: border-box; }
.ew-intro__bolt { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 6; opacity: 0; pointer-events: none; overflow: visible; }
.ew-intro__bolt polyline { fill: none; stroke: var(--gold); stroke-width: 5; stroke-linejoin: miter; filter: drop-shadow(0 0 10px rgba(255, 194, 58, .9)) drop-shadow(0 0 28px rgba(255, 194, 58, .6)); }
.ew-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ew-intro [data-t] { opacity: 0; will-change: transform, opacity; }
/* 1:左上一行、右下一行,中文跟在右下 */
.ew-i1__a, .ew-i1__b { font-family: var(--en); font-weight: 600; font-size: clamp(40px, 6.2vw, 112px); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.ew-i1__a { position: absolute; left: var(--gut); top: calc(var(--hd) + clamp(16px, 4vh, 48px)); }
.ew-i1__r { position: absolute; right: var(--gut); bottom: clamp(40px, 8vh, 96px); text-align: right; }
.ew-i1__zh { margin-top: 20px; font-size: clamp(20px, 1.8vw, 30px); font-weight: 700; letter-spacing: .08em; color: var(--navy); }
/* 2:置中大字在開關後面、中文在下面 */
.ew-i2__a, .ew-i2__b { position: absolute; left: 0; right: 0; text-align: center; font-family: var(--en); font-weight: 600; font-size: clamp(48px, 9.4vw, 176px); line-height: .95; letter-spacing: -.025em; color: rgba(255, 255, 255, .92); }
.ew-i2__a { top: calc(var(--hd) + clamp(8px, 3vh, 40px)); }
.ew-i2__b { bottom: calc(clamp(40px, 8vh, 96px) + clamp(18px, 1.6vw, 26px) * 1.6 + 20px); }
.ew-i2__zh { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(40px, 8vh, 96px); text-align: center; font-size: clamp(18px, 1.6vw, 26px); font-weight: 500; letter-spacing: .1em; color: rgba(255, 255, 255, .72); }
/* 3:一個字一個字(位置由 ew-intro.js 算),合體後排成上面那一行 */
.ew-i3__line, .ew-i3__w { font-family: var(--en); font-weight: 600; font-size: clamp(30px, 4.3vw, 80px); line-height: 1; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.ew-i3__line { position: absolute; left: var(--gut); right: var(--gut); top: calc(var(--hd) + clamp(20px, 5vh, 64px)); text-align: center; visibility: hidden; }
.ew-i3__w { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform; }
.ew-i3__zh { position: absolute; left: var(--gut); right: var(--gut); top: calc(var(--hd) + clamp(20px, 5vh, 64px) + clamp(30px, 4.3vw, 80px) + 24px); text-align: center; font-size: clamp(20px, 1.8vw, 30px); font-weight: 700; letter-spacing: .08em; color: var(--navy); }
@media (max-width: 767px) {
  .ew-intro { height: 400vh; }
  .ew-intro[data-intro="1"] { height: 400vh; }   /* 11-29 V14 改回照捲動:按下後約 2 個畫面(鎖捲動版 290vh) */
  .ew-i1__a, .ew-i1__b { font-size: 36px; }
  .ew-i1__r { left: var(--gut); }
  .ew-i3__line, .ew-i3__w { font-size: 26px; }
  .ew-i3__line { white-space: normal; }
  .ew-i2__b { bottom: calc(clamp(40px, 8vh, 96px) + 18px * 1.6 * 2 + 24px); }   /* 手機中文兩行 */
}

/* 6 段落頭(expower:「( 事業内容 )」17px 藍 + 超大英文 102px 600)────────── */
/* 中文大標字重 700 → 600(11-29 V12 Eric「中文大標的字重下降一級」)
   段落頭(11-29 V12 全站統一,Eric:「把其他區塊的標題系統統一」= 關於恩瑞 V11 那套):英文藍色小標 + 中文大標、不要括號。
   原本 expower 的「( 中文 )」+ 超大英文 120px 不用了;.ew-head__lb 只剩舊 A 版 3D 組裝區在用 */
.ew-head__en { font-family: var(--en); font-size: 17px; font-weight: 700; line-height: 1; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-2); }   /* 11-29 V12 Eric「英文小標改成全大寫 bold 但是大小維持」(600 → 700、大寫);字距 .04 → .1em 是我加的(全大寫字母擠在一起要拉開) */
.ew-head__zh { margin-top: 16px; font-size: clamp(32px, 3.1vw, 48px); font-weight: 600; line-height: 1.3; letter-spacing: .06em; color: var(--ink); }
.ew-head { position: relative; }
/* 小標旁的裝飾零件(11-29 V12;ew-deco.js 畫在這張畫布上,款式 = <html data-deco>;拉桿 tune-about.html「小標裝飾」) */
.ew-deco { position: absolute; z-index: 1; pointer-events: none; --deco-glow: 1; --deco-w: 1; --deco-amp: 1; --deco-every: 3.6; --deco-rest: .55; }
.ew-head.is-dark .ew-head__en { color: #7fa8e6; }
.ew-head.is-dark .ew-head__zh { color: #fff; }
.ew-head__lb { font-size: 17px; font-weight: 700; color: var(--navy-2); letter-spacing: .04em; }
/* 英文小標通電(11-29 V13 Eric 在 選樣式/文字動效.html 選第 2 款「霓虹招牌逐字跳亮」;程式 ew-txfx.js)
   is-off = 沒通電(淡度 .18,跟 ew-txfx.js 的 OFF 同值);--ew-glow = 跳亮那一下的光暈(白底淡藍、深底客戶區淺藍)。
   小標整顆跟著 reveal.js 升起(build.py RV.box 加了 .ew-head__en),升到位後裁切框往外放,光暈不會被切掉 */
.ew-head__en { --ew-glow: rgba(47, 134, 255, .6); }
.ew-head.is-dark .ew-head__en { --ew-glow: rgba(170, 205, 255, .75); }
.ew-head__en.is-off .ew-tx__c { opacity: .18; }
html.rv .rv-in .ew-head__en.rv-a:not(#rv-x):not(#rv-x) { clip-path: inset(-.6em -1em); }

/* 7 產品(一列五個、左右切換、自動輪播)──────────────────────── */
.ew-prod__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.ew-prod__ctl { display: flex; align-items: center; gap: 12px; margin-bottom: calc(4.4px + clamp(32px, 3.1vw, 48px) * .0375); }   /* 11-29 V12 段落頭換中文大標後:換頁鈕框底對大標字墨底(大標行框底下的空,量 1024〜1920 三種寬度擬合) */
.ew-prod__count { margin-right: 12px; font-size: 15px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.ew-prod__count b { color: var(--ink); font-weight: 600; }
.ew-prod__view { margin: clamp(40px, 4.4vw, 64px) var(--gut) 0; overflow: hidden; }
.ew-prod__track { display: flex; gap: var(--pg, 24px); will-change: transform; }
.ew-prod__card { flex: 0 0 calc((100% - 4 * var(--pg, 24px)) / 5); }
.ew-prod__card a { display: grid; row-gap: 4px; }   /* 11-29 V15 Eric「產品卡數字拿掉」:拿掉編號 01〜16,中文、英文名字直接對齊照片左緣(原本兩欄:編號 | 名字) */
.ew-prod__ph { grid-column: 1 / -1; aspect-ratio: 1 / 1.08; background: var(--card); border-radius: var(--r-s); display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 18px; }
/* 去背圖:高 56%、寬最多 68%,置中;滑過整台放大(11-29 V13 Eric「產品全部都縮小一點點 現在太大太滿了」→ 從 70% / 84% 縮 2 成) */
.ew-prod__ph { position: relative; }
.ew-prod__go { --s: clamp(32px, 2.5vw, 40px); --o: clamp(12px, 1.1vw, 16px); position: absolute; right: var(--o); bottom: var(--o); width: var(--s); height: var(--s); background: #fff; border-color: transparent; }   /* 11-29 V15 Eric「按鈕不要加灰框」:平常只有白圓底,滑過照樣變藍框通電。 11-29 V15 Eric「每個右下加小圓圈箭頭按鈕」:用站上圓形箭頭鈕(.ew-sq + .ew-loop,滑過整張卡通電、箭頭飛出飛入);淡框放在卡底灰上幾乎看不到 → 白底。放照片框右下角,不放名字旁邊(1280 寬名字旁只剩 9px,會折行)。大小跟螢幕寬走 32〜40、離框邊 12〜16:DC 電源插座的產品壓到右下角,44px 時 1181〜1440 寬會碰到,這組量過 16 類在 375〜2560 都離產品 6px 以上 */
.ew-prod__go .ew-ico { width: calc(var(--s) * .38); height: calc(var(--s) * .38); margin: calc(var(--s) * -.19) 0 0 calc(var(--s) * -.19); }
.ew-prod__go .ew-ico path { vector-effect: non-scaling-stroke; }   /* 箭頭縮小,線寬維持 1.4px 跟站上其他箭頭一樣粗 */
.ew-prod__ph img { max-height: 56%; max-width: 68%; width: auto; height: auto; object-fit: contain; transition: scale .6s var(--ease); }
.ew-prod__card a:hover .ew-prod__ph img { scale: 1.08; }
/* 11-29 V14 Eric 熱鍵「這邊似乎沒按照目前文字系統 中文標題跟英文 都偏小了」→ 照站上字級:編號 14/600(= 產業應用編號)、
   中文 22–28px/600(= 引言那一級的上下限、中文標題用 600;斜率 1.6vw 讓 1440 寬 228px 的卡片「導航按鈕/多向開關」也放得下一行)、英文 17/500(= 產業應用、引言的英文副字)。原本 13/700 18/13 */
.ew-prod__zh { font-size: clamp(22px, 1.6vw, 28px); font-weight: 600; color: var(--ink); line-height: 1.3; letter-spacing: .04em; }
.ew-prod__en { font-family: var(--en); font-size: 17px; font-weight: 500; color: var(--muted); }
.ew-prod__more { margin-top: clamp(40px, 4.4vw, 64px); }

/* 8 關於恩瑞(11-29 V11 Eric tune:傳統左文右圖。左欄 = 英文藍小標 + 中文大標貼圖頂、三好一快 + 內文 + MORE 貼圖底,
     中間留白壓產線照淡背景(從螢幕左邊長出來、往右和上下淡掉;深淺 tune-about.html 拉桿);右圖 = 檢查開關那張,跟左欄等高) */
/* 11-29 Eric 熱鍵後:「圖片左緣要對齊系統的中線 gap、Applications 醫療卡的左緣」→ 兩等分 + 跟產業應用同一個欄距 24px(醫療卡 = 四欄第 3 張,左緣 = 中線右邊 12px);文字欄右邊另外留白 */
.ew-ab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.ew-ab__txt { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-right: clamp(32px, 6vw, 120px); }
/* 11-29 V12 Eric 熱鍵「我想要把淡背景 放在這個區域 另外不要黑白 讓我調飽和度」→ 範圍從「墊滿整個左欄」改成上半部:
   上緣往上伸進段落上方的留白(--bt = 留白的幾成)、下緣停在左欄由上往下 --bh %;灰階拿掉,飽和度 --sat(1 = 原色)。預設 = 他框的那塊(2056 寬量:上緣 About 上方 150px、下緣左欄 38%) */
.ew-ab__bg { position: absolute; z-index: -1; top: calc(-1 * var(--bt, .83) * var(--sec)); left: calc(-1 * var(--gut)); width: calc(100% + var(--gut) + 24px); max-width: none; height: calc(var(--bt, .83) * var(--sec) + var(--bh, 38) * 1%); overflow: hidden; filter: saturate(var(--sat, 1));
  opacity: var(--o, .14);
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 var(--fr, 45%), transparent 100%), linear-gradient(180deg, transparent 0, #000 var(--fy, 22%), #000 calc(100% - var(--fy, 22%)), transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, #000 0, #000 var(--fr, 45%), transparent 100%), linear-gradient(180deg, transparent 0, #000 var(--fy, 22%), #000 calc(100% - var(--fy, 22%)), transparent 100%); mask-composite: intersect; }
/* 11-29 V12 Eric「關於我們淡背景我要調相對位置」→ 外框(.ew-ab__bg)管深淺和淡邊,裡面的照片可以移:--bx 左右、--by 上下(0〜100%)、--bs 放大(拉桿 tune-about.html) */
.ew-ab__bg img { position: relative; top: calc(-1 * var(--pa, 0px)); translate: 0 var(--py, 0px); display: block; width: 100%; height: calc(100% + 2 * var(--pa, 0px)); max-width: none; object-fit: cover; object-position: var(--bx, 50%) var(--by, 50%); transform: scale(var(--bs, 1)); transform-origin: var(--bx, 50%) var(--by, 50%); }
.ew-ab__lead { font-size: clamp(22px, 1.9vw, 28px); font-weight: 700; line-height: 1.4; letter-spacing: .04em; color: var(--ink); }
.ew-ab__leadSub { display: block; margin-top: 8px; font-size: 17px; font-weight: 500; line-height: 1.6; letter-spacing: .06em; color: var(--text); }
.ew-ab__leadSub > span { display: inline-block; white-space: nowrap; }
.ew-ab__body { margin-top: 40px; font-size: 17px; line-height: 1.75; }
.ew-wbr { word-break: keep-all; overflow-wrap: anywhere; }
.ew-nw { white-space: nowrap; }   /* 12-01 V26 型號(BTS-WTP638)整串不在連字號斷開;ew.js 詞間斷那段包的 */   /* 11-30 V18 中文只在詞間換行:ew.js 最後一段用分詞插 <wbr>(Eric「關於我們的內文自己斷行了」);一個詞比整行寬才在詞裡斷 */   /* 11-29 V15 Eric 熱鍵「這邊padding增加」(【服務好…】到內文):24 → 40,跟內文到 MORE 同一個值 */
.ew-ab__main .ew-btn { margin-top: 40px; }
.ew-ab__ph { position: relative; min-height: clamp(460px, 44vw, 680px); overflow: hidden; border-radius: var(--r); isolation: isolate; }   /* 圓角改由框裁(照片放大時角不會跑出去;isolation 讓 Safari 圓角不漏) */
.ew-ab__ph img { position: absolute; top: calc(-1 * var(--pa, 0px)); left: 0; width: 100%; height: calc(100% + 2 * var(--pa, 0px)); translate: 0 var(--py, 0px); object-fit: cover; object-position: 45% 50%; border-radius: var(--r); transition: transform 1s var(--ease); }
/* 11-30 V17 Eric 熱鍵「壓一層淡灰讓圖卡邊緣比較清楚」(女工照邊緣是白窗、白桌,跟白頁面糊在一起):照片上壓一層淡灰(深藍灰 15,30,55,深淺 --ph-dim),
   純白處變約 #eeeff1(跟站上卡片底 --card #f1f2f4 同一類淡灰),圖卡外形就出來;疊在照片上面、不跟著放大和視差,深淺拉桿 tune-about.html */
.ew-ab__ph { --ph-dim: .07; }
.ew-ab__ph::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: rgba(15, 30, 55, var(--ph-dim)); pointer-events: none; }
/* 11-30 V17 Eric「三個淡背景和ABOUT的右圖片都做捲動視差」:關於恩瑞淡背景照、產業應用淡線稿、最新消息淡背景照、關於區右邊照片,都比外框慢一點跟著捲(ew.js 最後一段)。
   照片在框裡上下各多出 --pa(JS 照螢幕高算),捲動時在框裡 ±--pa 滑,框邊不露白;用 translate 屬性(不是 transform),跟進場動畫、滑過放大疊得起來。
   JS 沒跑、減少動態、手機:--pa、--py 都是 0,照原本的樣子 */
.ew-draw { translate: 0 var(--py, 0px); }
/* 11-30 V17 Eric 熱鍵「作HOVER微微放大的動效」(關於恩瑞女工照):滑過照片在框裡慢慢推近到 1.05 倍(1 秒),移開慢慢退回;只給有滑鼠的裝置,減少動態不動 */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html .ew-ab__ph:hover img:not(#rv-x):not(#rv-x):not(#rv-x) { transform: scale(1.05); transition: transform 1s var(--ease); }   /* 進場動畫(reveal.css)收完會寫 transform: none,優先權有兩個 :not(#…);這裡多一個才蓋得過 */
}

/* 9 產業應用(11-29 V14 Eric 選「直條手風琴」:8 條直條滿版並排,滑到哪條哪條展開;原本 expower 4×2 大圖卡不用了)──────
   展開那條 = 其他的 5.2 倍寬(1440 寬:收起 118、展開 614);照片寬固定 43vw 置中,收起來只是裁掉兩邊、不會跟著縮放跳動。
   高度:段落頭 + 直條一起放得進一屏(1440×790 直條 550)。展開那條的大字 36px(段落大標 45 的 1/1.25,不做成差一點點) */
/* 11-29 V15 Eric 熱鍵「這個區塊放一個開關的工程圖線稿svg drawing」(產業應用大標右邊那塊空白):型錄 BPB-MP19T-4MF 的側視 + 正視 + 開孔重畫(tools/make_draw.py)。
   淡裝飾:右邊故意被螢幕吃掉約 1 成(精華 9b),最底那條尺寸線對齊「產業應用」字底(bottom = 大標字墨離行框底約 .2 個字高 − 尺寸線離線稿底 .0142 個線稿寬;改大標字級或線稿要重算);捲到時一筆一筆描出來,捲走再回來重播;手機拿掉 */
.ew-app { overflow-x: clip; }
.ew-app__top { position: relative; }
.ew-draw { --dw: clamp(420px, 42vw, 980px); position: absolute; right: calc(var(--dw) * -.1); bottom: calc(.2 * clamp(32px, 3.1vw, 48px) - .0142 * var(--dw)); width: var(--dw); height: auto; color: var(--navy); --ink-o: .17; --lit: .33; --glow: .25; pointer-events: none;
  --rg-eh: 216; --rg-es: 92%; --rg-el: 56%; --rg-ch: 213; --rg-cs: 100%; --rg-cl: 74%; --rg-gh: 215; --rg-gs: 100%; --rg-gl: 60%;   /* 光環邊緣色、中心色、外光暈色(11-30 V16 拉桿 tune-app.html) */
  --rg-e: hsl(var(--rg-eh) var(--rg-es) var(--rg-el)); --rg-c: hsl(var(--rg-ch) var(--rg-cs) var(--rg-cl)); --rg-g: hsl(var(--rg-gh) var(--rg-gs) var(--rg-gl)); overflow: visible; z-index: 3; }   /* 11-30 V16 Eric 拉桿:線稿 .3 → .17、光環亮起來 .9 → .33、光暈 .5 → .25。11-30 Eric「線稿淡一點」.42 → .3(11-30 V16 改成 --ink-o 寫在 .ew-draw__ink,光環才能亮過線稿);z-index 3 = 疊在方格上面 */
.ew-draw__ink { opacity: var(--ink-o); }
.ew-draw path { fill: none; stroke: currentColor; stroke-width: 1.25px; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease) calc(var(--i, 0) * 15ms); }
.ew-draw__d path { stroke-width: .75px; }
.ew-draw__c path { stroke-width: .75px; stroke-dasharray: 14 4 2 4; stroke-dashoffset: 0; opacity: 0; transition: opacity .6s .3s; }
.ew-draw .ring { stroke: #2f86ff; stroke-width: 26; vector-effect: none; stroke-linecap: butt; opacity: calc(.8 * var(--ink-o)); transition-duration: 1.1s; }   /* 描線時的光環(跟線稿一樣淡);11-30 V16 光環改成填滿 r88〜114(外緣剛好碰到格線),寬 22 → 26 */
/* 11-30 V16 Eric「模型線稿圖中間那個模型 藍色的圈跑完 跑一個通電變亮的特效」:光環描完(--i 30 × 15ms + 1.1s ≈ 1.55s)接著通電 =
   像燈管啟動閃兩下(跟按鈕系統同一組 ewOn)→ 亮著;光暈再慢慢長大變亮。11-30 V16 改兩層:藍光暈(糊開)+ 光環徑向漸層(邊緣深、中間淺,過渡照 smoothstep)。
   --lit 亮起來的深淺、--glow 光暈深淺(拉桿 tune-app.html);捲出去收回、捲回來再播 */
.ew-draw__lit { opacity: 0; }
.ew-draw__lit circle { fill: none; vector-effect: none; }
.ew-draw__glow { stroke: var(--rg-g); stroke-width: 60; opacity: var(--glow); }
.ew-draw__on { stroke: url(#ewRingGrad); opacity: var(--lit); }   /* 11-30 V16 Eric「深藍和淺藍的對比太大了 希望過度更自然」:亮藍 + 硬的淺色芯 → 同一圈徑向漸層(make_draw.py ring_stops,兩邊 --rg-e、中間 --rg-c),邊緣糊開 ewRingSoft */
.ew-draw.is-in .ew-draw__lit { animation: ewOn .6s linear 1.6s both; }
.ew-draw.is-in .ew-draw__glow { animation: ewRingBloom 1.2s var(--ease) 2.1s both; }
@keyframes ewRingBloom { from { opacity: calc(.35 * var(--glow)); stroke-width: 34; } to { opacity: var(--glow); stroke-width: 60; } }
.ew-draw__hit { fill: transparent; stroke: none; pointer-events: all; }   /* 11-30 V17 Eric「這個套用HOVER效果 HOVER會再自己亮一次」:正視六角的感應區(整張線稿點得穿,只有這塊收滑鼠),滑過光環再通電一次 = ew.js 線稿那段 */
.ew-draw__a path { fill: currentColor; stroke: none; opacity: 0; transition: opacity .4s .8s; }
.ew-draw__t { font-family: var(--en); font-size: 26px; font-weight: 500; letter-spacing: .02em; fill: currentColor; opacity: 0; transition: opacity .5s .8s; }
.ew-draw.is-in path { stroke-dashoffset: 0; }
/* 11-30 V15 工程方格。Eric「線稿淡一點 然後壓更淡的方格線在下面 上下左邊淡出 但是整塊要跟上下方區塊圖卡有部分疊到」→ 第二刀「方格的層級應該比圖卡還要後面 是全部層級最下的」:
   墊在所有東西最底下。產品區自己有白底、是一層(蓋首屏用),方格放在它後面會整片被蓋掉 → 拆兩片:上片在產品區裡(墊產品卡後面)、下片在產業應用區(墊直條後面),
   兩片左右一樣寬、格線在兩區交界對齊(上片從底往上排、下片從頂往下排);左邊 40% 淡入,上片頂淡出、下片在伸進直條那段淡出;跟線稿一起捲到才淡入。
   11-30 V16 Eric「我想要退回之前不是白色線的工程稿」→ 白線 + 灰底拿掉,退回藍色細線(細格 .07、主格 .13 = V15 第一版);層級照第二刀留在最底下。
   同一天「格子的比例可以加大嗎 然後希望格線垂直線可以切齊模型線稿圖」→ 格子改用線稿的比例:一格 = 線稿 57 單位(正視六角寬的 1/6),每 5 格一條主格線;
   --k = 線稿 1 單位幾 px(線稿寬 --dw / viewBox 1760),--gx = 方格原點(正視中心,主格線)離右緣多遠 = (30 + 1760 × .9 − 1052) 單位 + 半條線寬。
   線稿的主要直線都畫在格線上(tools/make_draw.py),改 make_draw.py 的 G / GX / viewBox 或 .ew-draw 的 --dw、right 要一起改這裡。
   一格:1440 寬 19.6px、2056 寬 28px、2560 寬 31.7px(原本一律 12px) */
.ew-grid { --gu: clamp(80px, 8vw, 200px); --gd: clamp(100px, 10vw, 200px); --gca: .04; --gma: .05;   /* 11-30 V16 Eric 拉桿:細格 .07 → .04、主格 .13 → .05 */
 
  --dw: clamp(420px, 42vw, 980px); --k: calc(var(--dw) / 1760); --g: calc(57 * var(--k)); --g5: calc(285 * var(--k)); --gx: calc(562 * var(--k) + .5px);
  position: absolute; z-index: -1; left: 45%; right: 0; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(13, 58, 124, var(--gma)) 1px, transparent 1px), linear-gradient(0deg, rgba(13, 58, 124, var(--gma)) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 58, 124, var(--gca)) 1px, transparent 1px), linear-gradient(0deg, rgba(13, 58, 124, var(--gca)) 1px, transparent 1px);
  background-size: var(--g5) var(--g5), var(--g5) var(--g5), var(--g) var(--g), var(--g) var(--g);
  -webkit-mask-composite: source-in; mask-composite: intersect; opacity: 0; transition: opacity .8s var(--ease); }
.ew-grid.is-in { opacity: 1; }
.ew-grid--up { bottom: 0; height: calc(210px + var(--gu)); background-position: right var(--gx) bottom 0;   /* 從產品區底往上:伸到產品照下緣約 1/3〜1/2 */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%), linear-gradient(180deg, transparent 0, #000 75%); mask-image: linear-gradient(90deg, transparent 0, #000 40%), linear-gradient(180deg, transparent 0, #000 75%); }
.ew-grid--dn { top: calc(-1 * var(--sec)); bottom: calc(-1 * (clamp(40px, 4.4vw, 64px) + var(--gd))); background-position: right var(--gx) top 0;   /* 從產業應用區頂往下:伸進直條 --gd */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%), linear-gradient(180deg, #000 0, #000 calc(100% - var(--gd)), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 40%), linear-gradient(180deg, #000 0, #000 calc(100% - var(--gd)), transparent 100%); }
@media (prefers-reduced-motion: reduce) { .ew-grid { opacity: 1; transition: none; } }
.ew-draw.is-in :is(.ew-draw__c path, .ew-draw__a path), .ew-draw.is-in .ew-draw__t { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ew-draw path { stroke-dashoffset: 0; transition: none; } .ew-draw__c path, .ew-draw__a path, .ew-draw__t { opacity: 1; transition: none; }
  .ew-draw__lit { opacity: 1; } .ew-draw.is-in :is(.ew-draw__lit, .ew-draw__glow) { animation: none; } }
.ew-app__row { margin-top: clamp(40px, 4.4vw, 64px); display: flex; gap: 2px; height: clamp(440px, calc(100vh - 240px), 680px); height: clamp(440px, calc(100svh - 240px), 680px); }
.ew-app__it { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: #111; transition: flex-grow .75s var(--ease); }
.ew-app__it.is-on { flex-grow: 5.2; }
.ew-app__it a { position: absolute; inset: 0; display: block; color: #fff; }
.ew-app__it img { position: absolute; top: 0; left: 50%; width: max(100%, 43vw); height: 100%; object-fit: cover; transform: translateX(-50%); }
.ew-app__it a::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(6,12,24,.58); transition: background .5s; }
.ew-app__it.is-on a::before { background: linear-gradient(0deg, rgba(6,12,24,.72) 0, rgba(6,12,24,0) 52%); }
.ew-app__n { position: absolute; left: 50%; top: 32px; z-index: 2; transform: translateX(-50%); font-family: var(--en); font-size: 14px; font-weight: 600; transition: left .75s var(--ease), top .75s var(--ease), transform .75s var(--ease); }   /* 收起:置中、離頂 32(= 直寫名字離底 32) */
.ew-app__it.is-on .ew-app__n { left: 40px; top: 40px; transform: none; }   /* 展開:跟標題、箭頭一樣離邊 40 */
.ew-app__v { position: absolute; left: 50%; bottom: 32px; z-index: 2; transform: translateX(-50%); writing-mode: vertical-rl; font-size: 22px; font-weight: 600; letter-spacing: .16em; line-height: 1; transition: opacity .3s; }
.ew-app__it.is-on .ew-app__v { opacity: 0; }
.ew-app__t { position: absolute; left: 40px; bottom: 40px; z-index: 2; display: flex; flex-direction: column; gap: 6px; white-space: nowrap; opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; }
.ew-app__it.is-on .ew-app__t { opacity: 1; transform: none; transition: opacity .45s .3s, transform .6s .3s var(--ease); }
.ew-app__zh { font-size: clamp(26px, 2.5vw, 38px); font-weight: 600; line-height: 1.25; letter-spacing: .06em; }
.ew-app__en { font-family: var(--en); font-size: 17px; font-weight: 500; opacity: .85; }
.ew-app__a { position: absolute; right: 40px; bottom: 40px; z-index: 2; isolation: isolate; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: #fff; opacity: 0; transition: opacity .2s, border-color .2s, box-shadow .35s; }
.ew-app__a::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--on-dot); opacity: 0; transition: opacity .35s; }
.ew-app__it.is-on .ew-app__a { opacity: 1; transition: opacity .3s .35s, border-color .2s, box-shadow .35s; }
.ew-app__it a:is(:hover, :focus-visible) .ew-app__a { border-color: #2f7bff; box-shadow: 0 0 16px rgba(110,180,255,.75); }
.ew-app__it a:is(:hover, :focus-visible) .ew-app__a::before { opacity: 1; transition: none; animation: ewOn .55s linear; }   /* 按鈕系統:圓圈通電 + 箭頭飛出飛入 */
@media (prefers-reduced-motion: reduce) { .ew-app__it, .ew-app__t { transition: none !important; } }

/* 10 客戶實機案例(expower 深色圓角 Projects 區)────────────────── */
.ew-dark { margin-top: var(--sec); background: var(--dark); color: #fff; border-radius: var(--r) var(--r) 0 0; padding-block: clamp(80px, 9vw, 144px); }
/* 11-29 V14 Eric「客戶實機案例 改成白底 然後三條放之前抓過的全部合作品牌 第一三條往右跑 第二條往左跑」:原本深色圓角區 + 一條白色 logo → 白底 + 三條灰色 logo */
.ew-cl__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }   /* 11-29 V15 Eric 熱鍵「上方對齊中文大標上方」:原本 end(說明句字底對大標字底),改成頂對齊 */
.ew-cl__lead { margin-top: calc(27px + .156 * clamp(32px, 3.1vw, 48px)); font-size: 17px; font-weight: 400; line-height: 1.75; color: var(--text); max-width: 28em; justify-self: end; }   /* 11-29 V15 margin-top = 說明句第一行字墨頂對齊中文大標字墨頂(量 820〜1920 差 ≤0.5px);改 .ew-head__zh 字級要一起改這個 clamp */   /* 11-29 V14 換成客戶「…國際大廠供應鏈」那整句(約 140 字),Eric「順便字重下降」→ 跟關於恩瑞內文同一級(17px、400、行高 1.75);原本 20–26px 粗體 */
.ew-cl__rows { margin-top: clamp(56px, 6vw, 96px); display: grid; gap: clamp(20px, 2.2vw, 32px); }
.ew-cl__mq { min-width: 0; }   /* 格線裡的一條不能被 logo 撐開(不然整頁多出 6,800px 橫捲) */
.ew-cl__mqin { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.ew-cl__logos { flex: none; display: flex; align-items: center; gap: clamp(48px, 5vw, 88px); padding-right: clamp(48px, 5vw, 88px); animation: ewMq var(--dur, 48s) linear infinite; }
.ew-cl__mq[data-dir="r"] .ew-cl__logos { animation-direction: reverse; }   /* 第 1、3 條往右跑 */
.ew-cl__mq:hover .ew-cl__logos { animation-play-state: paused; }
@keyframes ewMq { to { transform: translateX(-100%); } }
.ew-cl__logos li { flex: none; display: flex; align-items: center; height: 56px; }
.ew-cl__logos img { width: auto; max-width: none; }
@media (prefers-reduced-motion: reduce) { .ew-cl__logos { animation: none; } .ew-cl__mqin { flex-wrap: wrap; row-gap: 16px; } .ew-cl__logos[aria-hidden] { display: none; } }

/* 11 最新消息(expower Projects 清單:左大標+按鈕、右清單分隔線)──────── */
.ew-news { --np: clamp(56px, 6vw, 96px); --m: max(8px, calc(var(--gut) - var(--np))); position: relative; isolation: isolate; margin: var(--sec) 0 var(--m); padding-block: var(--np); }   /* 11-30 V16 Eric「最新消息的底卡左右寬度加寬 跟表格和底卡上方的PADDING對齊」:卡兩側原本 = 半個版邊(1440 寬卡邊到字 51、上方 86)→ 卡兩側 --m = 版邊 − 上下內距,卡邊到字 = 上下內距(1440:卡離螢幕 16、卡邊到字 86);卡底到頁尾、淡背景左緣、下面深色色塊照舊跟著 --m;手機照舊 8 */   /* 11-30 V15 Eric「最新消息上下padding減小」:clamp(80px, 9vw, 144px) → 每種寬約少 3 成 */   /* 11-29 V15 Eric「最新消息 做一個淺灰色卡背景」:灰卡 = 產品卡同一個灰(--card)、大圓角 --r;卡往外多出半個版邊,字還是停在全站版邊(精華 9b);卡上方離上一區 = 區塊間距,卡內上下 = 深色段那組內距,卡底離頁尾 = 卡兩側的空(成對相等) */
.ew-news::before { content: ""; position: absolute; inset: 0 var(--m); z-index: -1; border-radius: var(--r); background: var(--card); }
.ew-news { --line: #d3d5d9; }   /* 灰卡上的分隔線深一階:跟白底上 --line 對比一樣(1.31) */
.ew-news .ew-sq { background: #fff; border-color: transparent; }   /* 我加的:消息圓鈕照產品卡(Eric「按鈕不要加灰框」),灰底上用白圓底 */
/* 11-29 V15 Eric「最新消息左下壓淡背景」→ Codex 生的咖啡機(Eric 拉桿:深淺 0.5,其他照預設)。預設 = 他在挑選頁看到的那個樣子:灰卡左下、寬 --bw、高 --bh、深淺 --o、往右 --fr 起淡掉、往上 --fy 起淡掉;照片在框裡 --bx 左右 / --by 上下 / --bs 放大(拉桿 tune-news.html)。框裁在灰卡裡(左邊 = 灰卡左緣、左下圓角跟著卡) */
.ew-news__bg { position: absolute; z-index: -1; left: var(--m); bottom: 0; width: var(--bw, 52%); height: var(--bh, 78%); overflow: hidden; border-bottom-left-radius: var(--r); pointer-events: none; opacity: var(--o, .5); filter: saturate(var(--sat, 1));
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 var(--fr, 35%), transparent 100%), linear-gradient(0deg, #000 0, #000 var(--fy, 40%), transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, #000 0, #000 var(--fr, 35%), transparent 100%), linear-gradient(0deg, #000 0, #000 var(--fy, 40%), transparent 100%); mask-composite: intersect; }
.ew-news__bg img { position: relative; top: calc(-1 * var(--pa, 0px)); translate: 0 var(--py, 0px); display: block; width: 100%; height: calc(100% + 2 * var(--pa, 0px)); max-width: none; object-fit: cover; object-position: var(--bx, 0%) var(--by, 100%); transform: scale(var(--bs, 1)); transform-origin: var(--bx, 0%) var(--by, 100%); }
.ew-news__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: stretch; }
/* 11-30 V15 Eric「把最新消息的表格上下分隔線拿掉 對齊方式以整個表格的圖片上緣和下緣為基準」:拿掉第一則上面、最後一則下面的線(中間的留著);
   第一則上、最後一則下的列內距歸 0 → 灰卡上下內距直接量到第一張圖頂、最後一張圖底;左欄撐滿同高:NEWS 字墨頂 = 第一張圖頂、MORE 底 = 最後一張圖底 */
.ew-news__side { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }   /* flex-start:不然 MORE 會被拉成整欄寬(11-30 Eric 熱鍵「這個跑版了吧」) */
.ew-news__side .ew-head { margin-top: -.1em; font-size: 17px; }   /* 英文小標行高 1,大寫字墨頂在行框下一點 → 往上收 .1 個字高,字墨頂才碰到圖頂(1440〜2560 量過差 ≤0.5px) */

.ew-news__side .ew-btn { margin-top: 48px; }
@media (max-width: 1599px) {   /* 12-01 V20 斷點 1280 → 1599:兩欄改成縫對中線(左右等寬)後,1440 寬列表只剩 533、標題 4 行比圖高 14px,1600 以上才放得下。原註:我加的(1180 以下會切漢堡,這段另外到 1280:1181〜1280 第 1、2 則標題 3 行、比圖高 1〜10px):平板寬兩欄時列表太窄,標題被擠成 3〜6 行、比圖還高,「以圖片上下緣為基準」不成立 → 改上下排:大標左、MORE 右(框底對大標字墨底,同產品換頁鈕),列表整排放寬;淡背景會壓到列表文字,拿掉 */
  .ew-news__grid { grid-template-columns: 1fr; gap: clamp(32px, 4.4vw, 48px); }
  .ew-news__side { flex-direction: row; align-items: flex-end; gap: 24px; }
  .ew-news__side .ew-btn { margin-top: 0; margin-bottom: calc(4.4px + clamp(32px, 3.1vw, 48px) * .0375); flex: none; }
  .ew-news__side { flex-wrap: wrap; row-gap: 24px; }   /* 12-01 V26 RWD:320 寬「最新消息」+ MORE 擠不下,大標被斷成「最新消|息」→ 大標不斷行、MORE 換到下一行 */
  .ew-news__side .ew-head__zh { white-space: nowrap; }
  .ew-news__bg { display: none; }
}
.ew-news__it a { display: grid; grid-template-columns: clamp(140px, 13vw, 200px) 1fr auto; gap: clamp(20px, 2.4vw, 36px); align-items: center; padding-block: 28px; border-top: 1px solid var(--line); }
.ew-news__it:first-child a { padding-top: 0; border-top: 0; }
.ew-news__it:last-child a { padding-bottom: 0; }
.ew-news__ph { aspect-ratio: 3 / 2; border-radius: var(--r-s); overflow: hidden; background: var(--card); }
.ew-news__ph img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.ew-news__it a:hover .ew-news__ph img { scale: 1.06; }
.ew-news__txt { display: flex; flex-direction: column; gap: 8px; }
.ew-news__txt time { font-size: 14px; font-weight: 600; color: var(--navy-2); letter-spacing: .03em; }
.ew-news__t { font-size: 17px; font-weight: 700; line-height: 1.6; color: var(--ink); }

/* 12 Contact 大字帶:11-29 V15 Eric「contact cta區塊拿掉」,樣式已刪(要找回看 ew.css.bak-20261129-before-news-card)──── */

/* 13 頁尾(深灰)────────────────────────────────── */
/* 11-30 V16 Eric「現在TUNE頁尾 把頁尾的灰色加深 然後上面左右兩邊圓角取消 並在頁尾上方加同樣顏色的色塊 疊在最新消息下方 高度大概最新消息的五分之一 或六分之一 做成兩個區塊重疊的樣子」
   → 頁尾底色加深(--ft)、上緣圓角拿掉;同色色塊 = .ew-news::after(在最新消息那段裡,墊在灰卡後面,高 = 最新消息的 --ov,往下接到頁尾、多蓋 1px 不留縫)。
   「LOGO的3D模型放到最下面左邊…」「模型右邊 加品牌大字升起動效」「根據這個變動 在做相對應的頁尾文字排版」「最左上角的LOGO太小了 要放大」(頁尾左上那個):
   上排 logo(48 → 1440 寬 72px)| 選單;中排三欄同一套(小標、名稱、地址電話;原本總公司在上、分公司在線下面,兩套樣子);
   下排 3D logo + EW Switch 大字一組,大小照內容寬算(container 單位:--hw = 大字高,3D 圖形看得到的高 = --mk 倍,字墨跟 logo 原檔一樣寬高比 6.79);
   分隔線拿掉,靠留白分(精華 18)。閱讀字 15 → 16(精華 20) */
.ew-news::after { content: ""; position: absolute; z-index: -2; left: 0; right: 0; bottom: calc(-1 * var(--m) - 1px); height: calc(var(--ov, 18%) + var(--m) + 1px); background: var(--ft); pointer-events: none; }
/* 11-30 V17 重排(Eric「頁尾的排版都不行 且還漏了三個社群按鈕 重新排」;V16 的 A〜F 都不要):左上平面 logo 拿掉(3D + 大字就是 logo);
   補舊站的 Facebook、WeChat、LINE;零件 = 品牌(3D + 大字)、三個據點、選單、社群、版權,12 欄格線排。
   G 品牌撐滿(參考 Digital Metal):上排兩塊 = 左三個據點各 3 欄、空 1 欄、右選單 + 社群 2 欄,下面 3D + 大字一組撐滿內容寬,最底版權。
   比過 G/H/I 三種 + 大字實心/網點,Eric 11-30 選 G、實心(「用實心的好了」)。頂標參考 = 參考/頁尾參考/,選版頁 = site-mix/選樣式/頁尾排法/ */
.ew-ft { --fg: min(clamp(48px, 4.6vw, 80px), 6.5svh); --cg: clamp(24px, 2.2vw, 40px); --bt: min(clamp(64px, 7vw, 120px), 11svh);
  background: var(--ft); color: rgba(255,255,255,.85); padding-block: min(clamp(64px, 6.7vw, 112px), 9svh) clamp(28px, 2.6vw, 40px); }   /* --bt = 資訊到品牌那組的組間距(比組內 --fg 明顯大,兩組分得開);11-30 V17 行距加大後 1536×740 超出一屏 7px → 跟螢幕高取小的(12svh);11-30 V18 拉桿行距 2.2、段落間 17 後 1536×740 又超 6px → 11svh */
.ew-ft__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); align-items: start; }
/* 11-30 V17 Eric 熱鍵「整體看起來排版不平均 把住址區塊 跟網站導覽 拉開一點 改成兩塊的排版」:上排 = 兩塊。
   左塊 .ew-ft__offs = 三個據點,每欄照字本身的寬(max-content;地址、泰文照詞組固定斷行、不自動折行),欄跟欄等距 --og → 三個據點之間的空一樣大;
   右塊 .ew-ft__side = 選單 + 社群,靠右版邊;兩塊中間剩下的空自動比據點之間大(1181 寬約 2 倍,越寬越開)。
   原本照 12 欄格線分(台灣 4、深圳 3、泰國 3、選單 2),欄寬一樣但字長短不同,看起來空得不平均 */
.ew-ft { --og: clamp(40px, calc(10.06vw - 78.8px), 136px); --ft-lh: 2.2; --ft-pg: 17px; --nav-g: 14px; }   /* 11-30 V18 Eric 拉桿 tune-ft 貼回:行距 2.1 → 2.2、段落間 12 → 17、選單中英間 12 → 14、據點間 2056 寬 90 → 128(他看 2056 寬)。同日版邊改 2056 寬 168、1181 寬 124 後,1181 寬據點到選單只剩 12(比據點間 74 小、黏在一起)→ 改成 1181 寬 40 到 2056 寬 128 拉直線(1280 50、1440 66、1920 114,2560 停在 136) */   /* 11-30 V17 Eric 熱鍵「垂直線太擠 拉大行距看看 或是作拉桿頁讓我調行距 還有兩個欄位的GAP」:行距 1.75 → 2.1(+20%)、段落間 8 → 12;四個值接拉桿 tune-ft.html(行距、段落間、據點間 --og、選單中英間 --nav-g) */
.ew-ft__offs { grid-area: 1 / 1 / 2 / 13; justify-self: start; display: grid; grid-template-columns: repeat(3, max-content); column-gap: var(--og); align-items: start; }
.ew-ft__offs .ew-ft__col { white-space: nowrap; }
.ew-ft__side { grid-area: 1 / 1 / 2 / 13; justify-self: end; }
.ew-ft__so { margin-top: 28px; }
.ew-ft__brand { grid-area: 2 / 1 / 3 / 13; margin-top: var(--bt); container-type: inline-size; min-width: 0; }
.ew-ft__copy { grid-area: 3 / 1 / 4 / 13; margin-top: clamp(24px, 2.4vw, 40px); font-size: 14px; color: rgba(255,255,255,.5); }
/* 11-30 V18 Eric 熱鍵「這邊我想拆三欄 第一欄寫INTRO的那個中英文標語 第二欄公司地址」:上排第一欄 = 首頁 intro 1 號的英中標語(英文照 intro 在逗號後分兩行)。
   1440 寬以上:標語 | 三個據點 | 選單三塊一排,三塊之間等距(中間兩條 1fr),比據點之間 --og 大 1.5 倍以上(精華 17,1440 1.5、2056 1.6);
   比 1440 窄放不下三塊(1366 寬只剩 27 給據點間),標語改成最上面自己一行(英文中文同一行,放不下才折),下面照原本兩塊。 */
.ew-ft { --tg-f: clamp(20px, 1.36vw, 34px); }   /* 標語英文字級:2056 寬 28(= 頁尾內文 16 的 1.75 倍,比大字 EW Switch 小很多,主角還是大字) */
.ew-ft__te { font-family: var(--en); font-weight: 600; font-size: var(--tg-f); line-height: 1.15; letter-spacing: -.01em; color: #fff; }   /* 字重、字距照 intro 1 號英文(600),字小一點字距放回 -.01 */
.ew-ft__tz { margin-top: 14px; font-size: 16px; font-weight: 500; line-height: 1.6; letter-spacing: .08em; color: rgba(255,255,255,.72); }   /* 中文 16 = 頁尾內文同大;500 不用 700(700 白字是公司名的樣子,會搞混) */
.ew-ft__lb { font-size: 16px; font-weight: 700; line-height: var(--ft-lh); letter-spacing: .06em; color: #7fa8e6; }   /* 11-30 V17 Eric 熱鍵「字級太小了 改成跟下面一樣大」:13 → 16(= 下面名稱、地址);四個小標同一種,一起改 */
.ew-ft__col { font-style: normal; font-size: 16px; line-height: var(--ft-lh); color: rgba(255,255,255,.72); }
.ew-ft__col p + p { margin-top: var(--ft-pg); }
:is(.ew-ft__col, .ew-ft__nav) .ew-ft__lb + * { margin-top: 12px; }
.ew-ft__col a { transition: color .2s; }
.ew-ft__col a:hover { color: #fff; }
.ew-ft__nm { font-weight: 700; color: #fff; }
.ew-ft__nm span { font-weight: 400; color: rgba(255,255,255,.72); }
/* 選單:中文 + 英文小字一列(英文是我們加的);行高跟地址同一個 --ft-lh,左右兩邊的行對得上 */
.ew-ft__nav a { display: flex; align-items: baseline; gap: var(--nav-g); font-size: 16px; line-height: var(--ft-lh); white-space: nowrap; }   /* font-size 16 = 地址的字級,行高才一樣(原本繼承 body 17,選單每行高 2px、左右對不齊) */
.ew-ft__zh { font-size: 16px; font-weight: 400; color: #fff; transition: color .2s; }   /* 11-30 V17 Eric 熱鍵「不要粗體」:700 → 400 */
.ew-ft__en { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #7fa8e6; }
.ew-ft__nav a:hover .ew-ft__zh { color: #7fa8e6; }
/* 社群:站上圓形箭頭鈕同一款(.ew-sq,滑過通電),深底用白色淡框;圖示 = Font Awesome 官方品牌圖 */
.ew-ft__soc { display: flex; gap: 8px; }   /* 8 = 右側固定鈕同一個間距;1181 寬時選單那 2 欄剛好放得下三顆 */
.ew-ft__soc .ew-sq { position: relative; width: 44px; height: 44px; align-items: center; justify-content: center; border-color: rgba(255,255,255,.22); color: #fff; }
.ew-ft__si { display: block; width: auto; height: 18px; fill: currentColor; }
/* 3D logo + EW Switch 大字一組 = 橫式 logo:--hw = 大字高(字墨框),3D 圖形看得到的高 = --mk 倍(G:跟大字差不多高,像 Digital Metal 圖形跟字同高)、中間空 --mg 倍;
   寬照品牌那格的寬算(container 單位)。canvas 比圖形大(圖形佔 8 成,留晃動的空間),往左下多出 1 成,讓圖形左緣對版邊、底對大字基線(E 的底;基線在字墨框底上面 .0325 倍) */
.ew-ft__mark { --mk: 1.1; --mg: .4; --hw: calc(100cqw / (.965 * var(--mk) + var(--mg) + 6.79)); --S: calc(var(--mk) * var(--hw) / .8);
  position: relative; height: calc((var(--mk) + .0325) * var(--hw)); }
.ew-ft__gl { position: absolute; left: calc(-.1 * var(--S)); bottom: calc(.0325 * var(--hw) - .1 * var(--S)); width: var(--S); height: var(--S); pointer-events: none;
  --g3-o: .2; --g3-r: .095;   /* 11-30 V18 Eric 拉桿:深淺 .2、大小 .095 */   /* 11-30 V18 Eric「頁尾的3d模型作一點發光效果」:外光暈 = 照模型輪廓暈開的藍光(顏色 = 線稿光環外光暈),兩層:大的淡、小的亮;
                                 --g3-o 深淺、--g3-r 大小(畫布寬的幾倍);--g3-p = 通電亮度 0〜1,ew-ft3d.js 每格寫(閃兩下 → 亮起來 → 跟起伏呼吸) */
  filter: drop-shadow(0 0 calc(var(--S) * var(--g3-r)) hsl(215 100% 60% / calc(var(--g3-p, 0) * var(--g3-o))))
          drop-shadow(0 0 calc(var(--S) * var(--g3-r) * .3) hsl(213 100% 74% / calc(var(--g3-p, 0) * var(--g3-o) * .7))); }
.ew-ft__word { position: absolute; right: 0; bottom: 0; width: calc(6.79 * var(--hw)); height: var(--hw); fill: hsl(var(--ft-h) var(--ft-s) var(--ftw-l)); overflow: hidden; }
/* 大字逐字升起 = 動畫池 02(字母從自己的字底線下升上來,每個 .95 秒、間隔 .06 秒;露出 2 成才播,整個離開才收回、捲回來重播);沒程式就直接顯示 */
html.ftw-on .ew-ftw__l { transform-box: fill-box; transform: translateY(115%); transition: transform .5s cubic-bezier(.4, 0, 1, 1); }
html.ftw-on .ew-ft__word.is-in .ew-ftw__l { transform: none; transition: transform .95s cubic-bezier(.2, .85, .3, 1) calc(var(--i) * .06s); }
@media (min-width: 1440px) {
  .ew-ft { --og: clamp(40px, calc(14.29vw - 165.7px), 200px); }   /* 三塊一排時的據點間:2056 寬 128(Eric 拉桿值不動)、1440 寬 40 拉直線(1536 54、1680 74、1920 109、2560 200);原本的 10.06vw - 78.8 在 1440〜1700 會讓三塊之間比據點間還窄 */
  .ew-ft__in { grid-template-columns: max-content minmax(0, 1fr) max-content minmax(0, 1fr) max-content; column-gap: 0; }
  .ew-ft__tag { grid-area: 1 / 1 / 2 / 2; margin-top: calc((var(--ft-lh) - 2.2) * 8px + 11.1px - .271 * var(--tg-f)); }   /* 英文字墨頂 = 旁邊小標(台灣總公司、網站導覽)字墨頂(精華 9;量的:字 20 差 5.7、34 差 1.9,小標行距跟著拉桿 --ft-lh 走) */
  .ew-ft__offs { grid-area: 1 / 3 / 2 / 4; }
  .ew-ft__side { grid-area: 1 / 5 / 2 / 6; }
  .ew-ft__brand { grid-area: 2 / 1 / 3 / -1; } .ew-ft__copy { grid-area: 3 / 1 / 4 / -1; }
  .ew-ft__te span { display: block; }
}
@media (max-width: 1439px) {
  .ew-ft { --bt: min(clamp(64px, 7vw, 120px), 10svh); }   /* 標語多一行,1366×768、1439×790 頁尾超出一屏 16、13 → 到大字那組的空 11svh → 10svh、標語下面的空收成 40(還是內文段落間的 2 倍多、比到大字那組的空小一半) */
  .ew-ft__tag { grid-area: 1 / 1 / 2 / 13; margin-bottom: min(40px, 5svh); display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 24px; }
  .ew-ft__tz { margin-top: 0; }
  .ew-ft__offs, .ew-ft__side { grid-row: 2 / 3; }
  .ew-ft__brand { grid-row: 3 / 4; } .ew-ft__copy { grid-row: 4 / 5; }
}
/* 平板:標語一行、三據點一排(1024 以下兩欄),下一排選單橫排 + 社群放右邊;手機:一欄往下疊,選單兩欄 */
@media (max-width: 1180px) {
  .ew-ft__offs { grid-area: 2 / 1 / 3 / 13; }
  .ew-ft__side { grid-area: 3 / 1 / 4 / 13; justify-self: stretch; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; margin-top: var(--fg); }
  .ew-ft__nav ol { display: flex; flex-wrap: wrap; gap: 8px 32px; }
  .ew-ft__so { margin-top: 0; }
  .ew-ft__brand { grid-area: 4 / 1 / 5 / 13; } .ew-ft__copy { grid-area: 5 / 1 / 6 / 13; }
}
@media (max-width: 1023px) { .ew-ft__offs { grid-template-columns: repeat(2, max-content); row-gap: 40px; } }
@media (max-width: 767px) {
  .ew-ft__in { grid-template-columns: minmax(0, 1fr); }
  .ew-ft__tag, .ew-ft__offs, .ew-ft__side, .ew-ft__brand, .ew-ft__copy { grid-area: auto; }
  .ew-ft__offs { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .ew-ft__offs .ew-ft__col { white-space: normal; }   /* 手機窄,放不下就照常折行 */
  .ew-ft__side { display: block; margin-top: 40px; }
  .ew-ft__nav ol { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 4px 40px; }
  .ew-ft__so { margin-top: 32px; }
  .ew-ft__brand { margin-top: var(--fg); }
  .ew-ft__tag { order: 0; } .ew-ft__offs { order: 1; } .ew-ft__side { order: 2; } .ew-ft__brand { order: 3; } .ew-ft__copy { order: 4; }   /* 手機照這個順序往下疊(HTML 裡品牌那組排第一) */
}

/* 14 平板、手機 ───────────────────────────────────── */
@media (max-width: 1180px) {
  .ew-prod__card { flex-basis: calc((100% - 2 * var(--pg, 24px)) / 3); }
  .ew-app__t { left: 24px; bottom: 24px; }
  .ew-app__a { right: 24px; bottom: 24px; }
  .ew-app__it.is-on .ew-app__n { left: 24px; top: 24px; }
  .ew-asm__copy { max-width: 60vw; }
}
@media (max-width: 767px) {
  .ew-news { --m: 8px; }
  .ew-news__bg { display: none; }   /* 手機上下疊,左下是消息列表,不壓(跟關於區淡背景一樣手機拿掉) */   /* 手機版邊才 20 多 px,灰卡兩側留 8,字離卡邊還有 18 以上 */
  :root { --r: 14px; }
  body { font-size: 16px; }
  .ew-hero__txt { bottom: 112px; }
  .ew-hero__en { font-size: clamp(30px, 9.6vw, 56px); }   /* 11-28 V10 手機:最長詞組 SWITCH EXPERTS 一行放得下(375 寬 36px、320 寬 31px) */
  .ew-hero__dots { gap: 14px; }
  .ew-hero__scroll { display: none; }
  .ew-asm { height: 340vh; }
  .ew-asm__copy { max-width: none; right: var(--gut); top: calc(var(--hd) + 20px); }
  .ew-asm__title { font-size: 44px; }
  .ew-asm__steps { left: var(--gut); right: var(--gut); width: auto; bottom: 28px; }
  .ew-asm__steps li { padding-block: 0; border: 0; display: none; }
  .ew-asm__steps li.is-on { display: grid; }
  .ew-asm__bar { display: none; }
  .ew-btn { height: 52px; padding: 0 7px 0 26px; font-size: 15px; }
  .ew-btn__k { width: 38px; height: 38px; }
  .ew-prod__top { flex-direction: column; align-items: flex-start; }
  .ew-prod__card { flex-basis: 72%; }
  .ew-prod__count { margin-right: auto; }
  .ew-ab, .ew-news__grid, .ew-cl__grid { grid-template-columns: 1fr; }
  .ew-ab__bg { display: none; }
  .ew-ab__txt { gap: 32px; padding-right: 0; }
  .ew-ab__ph { min-height: 0; }
  .ew-ab__ph img { position: static; height: auto; aspect-ratio: 4 / 3; translate: none; }
  .ew-cl__lead { justify-self: start; margin-top: 0; }   /* 手機上下疊,不用往下推 */
  /* 產業應用手機:直條改成上下 8 列(每列 64 高、橫寫名字),點哪列哪列展開成照片 */
  .ew-draw, .ew-grid { display: none; }   /* 手機大標右邊沒空間 */
  .ew-app__row { flex-direction: column; height: auto; }
  .ew-app__it { flex: none; height: 64px; transition: height .6s var(--ease); }
  .ew-app__it.is-on { height: min(92vw, 420px); }
  .ew-app__it img { top: 50%; left: 0; width: 100%; height: min(92vw, 420px); transform: translateY(-50%); }
  .ew-app__v, .ew-app__a { display: none; }
  .ew-app__n, .ew-app__it.is-on .ew-app__n { left: var(--gut); top: 32px; transform: translateY(-50%); transition: none; }
  .ew-app__t { left: calc(var(--gut) + 40px); right: var(--gut); bottom: auto; top: 32px; gap: 2px; opacity: 1; transform: translateY(-50%); transition: none; }
  .ew-app__it.is-on .ew-app__t { top: auto; bottom: 20px; left: var(--gut); transform: none; }
  .ew-app__zh { font-size: 20px; }
  .ew-app__it.is-on .ew-app__zh { font-size: 26px; }
  .ew-app__en { display: none; font-size: 14px; }
  .ew-app__it.is-on .ew-app__en { display: block; }
  .ew-news__it a { grid-template-columns: 112px 1fr; }
  .ew-news__it .ew-sq { display: none; }
  .ew-news__t { font-size: 16px; }
  .ew-cl__logos img { scale: .8; }
}


@media (prefers-reduced-motion: reduce) {
  .ew-hero__ph img { transition: none; transform: none; }
  .ew-hero__scroll i::after { animation: none; }
}
@media (prefers-reduced-motion: reduce) { html.ftw-on .ew-ftw__l { transform: none !important; transition: none !important; } }

/* 15 右側固定鈕:詢價車、產品搜尋、GO TOP(11-30 V17 Eric「舊站右側有釘死三個按鈕 也作一下 尋價 搜尋 和GO TOP」)──────────
   右下疊三顆(上 → 下:詢價車、搜尋、GO TOP),離右、離下都是 --fab-x(電腦平板 24、手機 16 = 力軒 11-22 Eric 定的「小浮動鈕離邊約自身寬的一半」);
   首屏和 intro 還在畫面上時藏著,捲離才淡入往上浮(ew.js 最後一段)。照按鈕系統分兩層(精華 14b):
   詢價車 = 主動作:暗藍實心(同 MORE、頁首聯絡),滑過往左長出「詢價車」字 + 通電;只有一條外框(精華 16:膠囊裡的字左邊離邊 = 半徑);件數 = 金色小圓(0 件不顯示)。
   搜尋、GO TOP = 控制鈕:站上圓形箭頭鈕(.ew-sq)加白色毛玻璃底 + 淡藍細邊(白底上看得到外形、深色頁尾和照片上是白圓),滑過一樣通電;GO TOP 箭頭往上飛出飛入。 */
.ew-fab { --fab-x: 24px; --fs: 48px; position: fixed; right: var(--fab-x); bottom: calc(var(--fab-x) + env(safe-area-inset-bottom, 0px)); z-index: 50;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px; transition: opacity .35s, translate .45s var(--ease), visibility 0s; }
.ew-fab.is-away { opacity: 0; translate: 0 16px; visibility: hidden; pointer-events: none; transition: opacity .35s, translate .45s var(--ease), visibility 0s .45s; }
.ew-fab__inq { position: relative; isolation: isolate; display: grid; grid-template-columns: 0fr var(--fs); align-items: center; height: var(--fs); border-radius: 999px;
  background: var(--off); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); color: #fff; transition: grid-template-columns .5s var(--ease), box-shadow .35s; }
.ew-fab__inq::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--on); box-shadow: var(--on-glow); opacity: 0; transition: opacity .35s; }
.ew-fab__t { min-width: 0; overflow: hidden; display: flex; justify-content: flex-end; }
.ew-fab__t span { flex: none; padding-left: calc(var(--fs) / 2); font-size: 15px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.ew-fab__i { position: relative; display: grid; place-items: center; width: var(--fs); height: var(--fs); }
.ew-fab .ew-ico[viewBox="0 0 20 20"] { width: 20px; height: 20px; }   /* 夾板、放大鏡畫在 20 格裡、線寬一樣 1.4 → 跟 16px 箭頭看起來一樣粗 */
.ew-fab__n { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--ink);
  font: 700 12px/20px var(--en); text-align: center; letter-spacing: 0; }   /* 圓心壓在圓鈕 45° 的邊上(48 圓:41, 7) */
.ew-fab__n[hidden] { display: none; }
.ew-fab__inq:focus-visible { grid-template-columns: 1fr var(--fs); }   /* 用鍵盤 Tab 到也長出字 */
.ew-fab__inq:focus-visible::before { opacity: 1; transition: none; animation: ewOn .55s linear; }
@media (hover: hover) {
  .ew-fab__inq:hover { grid-template-columns: 1fr var(--fs); }
  .ew-fab__inq:hover::before { opacity: 1; transition: none; animation: ewOn .55s linear; }
}
.ew-fab__c { position: relative; width: var(--fs); height: var(--fs); align-items: center; justify-content: center; background: rgba(255,255,255,.8);
  border-color: rgba(13,58,124,.16); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); }
.ew-loop.is-u .ew-ico + .ew-ico { transform: translateY(34px); }
.ew-loop.is-u:is(a, button):is(:hover, :focus-visible) .ew-ico:first-child { transform: translateY(-34px); }
@media (max-width: 767px) { .ew-fab { --fab-x: 16px; --fs: 44px; } }   /* 手機:可點 ≥44(精華 25) */
/* 平板、手機捲到頁尾版權那行(is-end,ew.js):詢價車、搜尋收起來只留 GO TOP —— 這兩種寬度鈕疊在內容上,三顆會壓到 EW Switch 大字;
   GO TOP 留在最下面那格不動(上面兩顆只是淡掉,位置不變),量過 375 / 820 不壓到大字和版權。桌機鈕在版邊外面,不用收 */
@media (max-width: 1180px) {
  .ew-fab > * { transition: opacity .3s, visibility 0s; }
  .ew-fab.is-end > :not([data-top]) { opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
}
/* 頁尾最底跟 GO TOP 的關係:平板版權那行的中線 = GO TOP 中線(同一條線,版權短、GO TOP 在最右,中間空很開),大字往上讓 48;
   手機版權到 GO TOP 只剩十幾 px,改成版權放在 GO TOP 上面 16 */
@media (max-width: 1180px) {
  .ew-ft { padding-bottom: calc(var(--fab-x, 24px) + var(--fs, 48px) / 2 - 11.2px + env(safe-area-inset-bottom, 0px)); --fab-x: 24px; --fs: 48px; }
  .ew-ft .ew-ft__copy { margin-top: 48px; }
}
@media (max-width: 767px) {
  .ew-ft { --fab-x: 16px; --fs: 44px; padding-bottom: calc(var(--fab-x) + var(--fs) + 16px + env(safe-area-inset-bottom, 0px)); }
  .ew-ft .ew-ft__copy { margin-top: 32px; }
}
@media (max-width: 359px) { .ew-ft .ew-ft__nav ol { grid-template-columns: auto; } }   /* 320 寬兩欄放不下(中文會被拆開)→ 一欄 */
@media (prefers-reduced-motion: reduce) { .ew-fab, .ew-fab.is-away { translate: none; } .ew-fab__inq::before { animation: none !important; } }

/* 產品搜尋框:跟手機選單同一款(白底整頁淡入);右上關閉鈕放在頁首漢堡鈕的位置。標題「產品搜尋」= 舊站彈窗標題;
   輸入框底線、點進去時藍線由左往右畫出(精華 26);送出 = MORE 同款膠囊。表單欄位照舊站(get /index.php:kw + lang、modelid、c、a),後台照新系統改 */
.ew-srch { position: fixed; inset: 0; z-index: 70; overflow-y: auto; background: #fff; color: var(--ink); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.ew-srch.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
.ew-srch__x { position: absolute; top: calc((var(--hd) - 48px) / 2); right: var(--gut); align-items: center; justify-content: center; }
.ew-srch__in { min-height: 100%; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hd) + 40px) var(--gut) max(80px, 14vh); }
.ew-srch__t { font-size: clamp(32px, 3.1vw, 48px); font-weight: 600; line-height: 1.3; letter-spacing: .06em; }   /* = 段落頭中文大標 */
.ew-srch__f { display: flex; align-items: center; flex-wrap: wrap; gap: 24px 40px; margin-top: clamp(32px, 3.3vw, 48px); }
.ew-srch__fd { position: relative; flex: 1 1 320px; display: block; }
.ew-srch__fd::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--navy-2); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.ew-srch__fd:focus-within::after { transform: scaleX(1); }
.ew-srch__fd input { width: 100%; height: clamp(64px, 5.6vw, 88px); padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; outline: none;
  font: 500 clamp(22px, 2.2vw, 32px)/1.2 var(--zh); letter-spacing: .04em; color: var(--ink); -webkit-appearance: none; appearance: none; }
.ew-srch__fd input::placeholder { color: #a3a7ae; }
.ew-srch__fd input::-webkit-search-cancel-button { -webkit-appearance: none; }
.ew-srch__note { margin-top: 24px; font-size: 14px; color: var(--muted); }
html.ew-srch-open { overflow: hidden; }
@media (max-width: 767px) { .ew-srch__f { gap: 24px; } .ew-srch__fd { flex-basis: 100%; } .ew-srch__x { top: calc((var(--hd) - 44px) / 2); width: 44px; height: 44px; } }

/* 16 關於恩瑞子頁(about.html,11-30 V18 Eric「直接開始作 關於我們的子頁 並套用首頁設計系統」)──────────────
   全用首頁的零件:段落頭(英文藍小標 + 中文大標)、三好一快大字、客戶灰 logo 跑馬燈、按鈕通電、頁首頁尾、右下固定鈕;版邊 --gut、區塊間距 --sec、圓角 --r 照全站。
   排法(由上而下):頁頭(麵包屑、大標 | 客戶 30 年那句、廠房外觀大圖)→ EW Group(左標語 | 右台灣、中國兩列)→ 全方位解決方案(左圖右文)
   → 客戶(首頁同一套)→ 經營理念(左文右圖)→ 集團架構(營運流程、組織圖,舊站兩張圖改用 HTML 重寫)→ 六種語言「開關」跑馬燈 + keystone 那句。
   兩段圖文換骨架:解決方案 = 窄直圖在左、文字頂底貼圖;經營理念 = 寬圖在右、文字整組貼頂。 */
.ew-px { position: relative; overflow: hidden; border-radius: var(--r); isolation: isolate; }   /* 照片框:照片在框裡比頁面慢一點捲(ew.js 視差,[data-px]) */
.ew-px img { position: absolute; top: calc(-1 * var(--pa, 0px)); left: 0; width: 100%; height: calc(100% + 2 * var(--pa, 0px)); translate: 0 var(--py, 0px); object-fit: cover; }
.ew-hd__nav > ul > li > a[aria-current="page"]::after { transform: scaleX(1); }   /* 選單:現在這頁底線一直在 */
.ew-menu a[aria-current="page"] .ew-menu__zh { color: var(--navy-2); }

/* 頁頭 */
.ew-pgh { padding-top: calc(var(--hd) + clamp(24px, 2.8vw, 48px)); }
.ew-bc ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; line-height: 1.5; letter-spacing: .04em; color: var(--muted); }
.ew-bc a { transition: color .2s; }
.ew-bc a:hover { color: var(--navy-2); }
.ew-bc .ew-ico { width: 12px; height: 12px; }
.ew-bc [aria-current] { color: var(--ink); }
.ew-pgh__row { margin-top: clamp(32px, 4vw, 64px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.ew-pgh__hd { grid-column: 1 / 7; }
.ew-pgh__t { font-size: clamp(40px, 4.4vw, 80px); line-height: 1.15; letter-spacing: .06em; }   /* 頁大標 = 段落大標 1.4 倍(精華 21) */
.ew-pgh__q { grid-column: 8 / 13; margin-top: calc(33px + .125 * clamp(40px, 4.4vw, 80px) - .3 * clamp(20px, 1.7vw, 26px)); }   /* 第一行字墨頂 = 大標字墨頂(精華 9) */
.ew-pgh__zh { font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; line-height: 1.6; letter-spacing: .04em; color: var(--ink); text-indent: -1em; }   /* 開頭「掛在外面(精華 10);整個全形「寬一次掛足,「專」對齊欄線(.ew-cls 不再自己再掛半格) */
.ew-pgh__en { margin-top: 12px; font-size: 15px; font-weight: 500; line-height: 1.6; letter-spacing: .02em; color: var(--muted); }
.ew-pgh__ph { margin-top: clamp(40px, 4.4vw, 72px); height: clamp(300px, calc(100svh - 440px), 840px); }   /* 頁頭跟照片一起在第一屏(精華 23):照片高 = 視窗高扣掉上面那些 */
.ew-pgh__ph img { object-position: 50% 58%; }

/* EW Group */
.ew-grp__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.ew-grp__side { grid-column: 1 / 6; }
.ew-grp__en { margin-top: 20px; font-family: var(--en); font-size: clamp(18px, 1.4vw, 22px); font-weight: 500; line-height: 1.5; letter-spacing: .01em; color: var(--muted); }
.ew-grp__list { grid-column: 7 / 13; margin-top: calc(35px + .075 * clamp(32px, 3.1vw, 48px) - .2 * clamp(22px, 1.9vw, 28px)); }   /* 第一列公司名字墨頂 ≈ 中文大標字墨頂 */
.ew-grp__it { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); column-gap: 24px; align-items: baseline; padding-block: clamp(28px, 2.8vw, 40px); border-bottom: 1px solid var(--line); }
.ew-grp__it:first-child { padding-top: 0; }   /* 第一列上面不畫線、不留空(精華 18) */
.ew-grp__k { font-size: 16px; font-weight: 700; letter-spacing: .1em; color: var(--navy-2); }
.ew-grp__nm { font-size: clamp(22px, 1.9vw, 28px); font-weight: 600; line-height: 1.4; letter-spacing: .04em; color: var(--ink); }
.ew-grp__nm span { margin-left: .3em; font-weight: 500; letter-spacing: .02em; color: var(--navy-2); }
.ew-grp__c p { margin-top: 12px; font-size: 17px; line-height: 1.75; }
.ew-grp__c p + p { margin-top: 4px; }

/* 全方位解決方案(左窄直圖、右文;文字頂 = 圖頂、末行字底 = 圖底,中間的空放在標題組和內文組之間) */
.ew-sol__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.ew-sol__ph { grid-column: 1 / 6; min-height: clamp(440px, 40vw, 760px); }
.ew-sol__ph img { object-position: 38% 50%; }
.ew-sol__txt { grid-column: 7 / 13; margin-top: -2px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.ew-sol__t .ew-cls { display: inline; }
.ew-sol__t { text-wrap: balance; }   /* 12-01 V20 縫對中線後欄寬變窄(2056 847 → 775),大標斷在詞中間(「更|是」「供|應商」):data-wbr 只在詞間斷 + 兩行平均 */
.ew-sol__body { max-width: 36em; }
.ew-sol__body p { font-size: 17px; line-height: 1.75; }
.ew-sol__body p + p { margin-top: 16px; }
.ew-sol__body p:last-child { margin-bottom: -.78em; }   /* 末行字墨底對圖底(行高多出來的那截 + 字墨到行框底;1181〜2056 量過) */
/* 12-01 V25 Eric 熱鍵「壓個淡線稿圖 在找一個不是很複雜的來畫 不要跟首頁重複」:大標和內文中間空的那塊壓微動開關工程圖線稿(tools/make_draw_micro.py)。
   線稿樣式、淡度、描線動畫跟首頁 .ew-draw 同一套(ew.js 捲到就描);從右欄 42% 開始往右畫、讓螢幕右邊吃掉一截(精華 9b),高度 = 那塊空白、最多 360px;平板手機上下排沒有空白 → 不放 */
.ew-sol { overflow-x: clip; }
.ew-sol__draw { flex: 1 1 auto; min-height: 0; position: relative; pointer-events: none; container-type: size; }   /* 高 = 大標和內文中間的空白(flex 撐開) */
/* 12-01 V25 Eric「跟首頁一樣要壓方格線 數值都要一樣」:線稿改照方格畫(make_draw_micro.py 一格 = 65 單位),網頁上一格 --g 跟首頁 .ew-grid 同一條公式
   (1440 寬 19.6px、2056 寬 28px、2560 寬 31.7px);線稿寬 = 18.3077 格(viewBox 1190 ÷ 65),右緣推出螢幕 12% 線稿寬。 */
.ew-draw--micro { --mk: calc(clamp(420px, 42vw, 980px) / 1760); --g: calc(57 * var(--mk)); --mw: calc(18.3077 * var(--g));
  position: absolute; top: 50%; right: calc(-1 * var(--gut) - .12 * var(--mw)); left: auto; bottom: auto; width: var(--mw); height: auto;
  translate: 0 calc(-50% + var(--py, 0px)); z-index: 0; }
@container (max-height: 240px) { .ew-draw--micro { display: none; } }   /* 1440、1536 這類寬度大標和內文中間幾乎沒空白(34〜91px),放不下 → 不放(方格跟著線稿才淡入,也不會出現) */
/* 方格:同首頁 .ew-grid(細格 4%、主格 5%、每 5 格一條主格線、左邊 40% 淡入、跟線稿一起捲到才淡入),上下用首頁上片 --gu、下片 --gd 的距離淡出;
   整段區塊高、從區塊寬 45% 開始。垂直格線對齊線稿:方格原點(本體左緣,主格線)離區塊右緣 15.4954 格(make_draw_micro.py 印的 GRID_R)+ 半條線寬 */
.ew-sol { position: relative; isolation: isolate; }
.ew-grid--sol { top: 0; bottom: 0; background-position: right calc(15.4954 * var(--g) + .5px) top 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%), linear-gradient(180deg, transparent 0, #000 var(--gu), #000 calc(100% - var(--gd)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 40%), linear-gradient(180deg, transparent 0, #000 var(--gu), #000 calc(100% - var(--gd)), transparent 100%); }
@media (max-width: 1180px) { .ew-grid--sol { display: none; } }
.ew-draw--micro .ew-draw__t { font-size: 30px; }
@media (max-width: 1180px) { .ew-sol__draw { display: none; } }

/* 客戶(首頁同一套;右邊兩段)
   11-30 V19 Eric 熱鍵三處:①「這個區塊放個橫跨螢幕的淺灰底 不要左右PADDING」→ 整段 --card 灰底滿版(字照舊停在版邊,精華 9b),灰底內上下 = 最新消息灰卡同一組內距;
   ②「這個左側要對其上面的文字區塊」→ 說明改放 12 欄的 7〜12 欄 = 上一段(全方位解決方案)文字左緣,寬度上限也跟它同 36em;
   ③「要自動斷行 右邊要對其上面的圖片右側」→ 段落頭放 1〜5 欄 = 上一段產線圖右緣,中英標題都自動折行(只在詞間斷、兩行平均)。
   英文小標折成兩行時說明也要對中文大標:段落頭用 subgrid 拆兩列(英文小標 | 中文大標),說明放第二列 → 說明第一行字墨頂 = 中文大標字墨頂(11-29 V15 Eric「上方對齊中文大標上方」照舊) */
.ew-cl--pg { margin-top: var(--sec); padding-block: clamp(56px, 6vw, 96px); background: var(--card); }
.ew-cl--pg .ew-cl__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: 24px; row-gap: 0; }
.ew-cl--pg .ew-head { grid-column: 1 / 6; grid-row: 1 / 3; display: grid; grid-template-rows: subgrid; }
.ew-cl--pg :is(.ew-head__en, .ew-head__zh) { text-wrap: balance; }
.ew-cl--pg .ew-head__en { line-height: 1.4; margin-block: -.2em; }   /* 折兩行時行距;上下各收回多出來的半行,一行時位置跟原本 line-height 1 一樣 */
.ew-cl--pg .ew-cl__lead { grid-column: 7 / 13; grid-row: 2; justify-self: start; max-width: 36em; margin-top: calc(10px + .156 * clamp(32px, 3.1vw, 48px)); }   /* 原本 27px 裡含英文小標 17 高,現在從中文大標那列算起 → 10px */
.ew-cl--pg .ew-cl__lead p + p { margin-top: 12px; }
@media (max-width: 1180px) {   /* 上一段這個寬度以下也改上下疊 */
  .ew-cl--pg .ew-cl__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .ew-cl--pg .ew-head { grid-column: 1 / -1; grid-row: auto; display: block; }
  .ew-cl--pg .ew-cl__lead { grid-column: 1 / -1; grid-row: auto; margin-top: 32px; }
}   /* 英文小標是一整句(More than 100+ Companies Choose EW Switch),左欄放寬才不會折成兩行、右邊說明對不上大標 */

/* 經營理念(左文整組貼頂、右寬圖) */
.ew-phi__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.ew-phi__txt { grid-column: 1 / 6; margin-top: -2px; }   /* 英文小標字墨頂 = 圖頂(小標行框比字墨高 2px) */
.ew-phi__main { margin-top: clamp(32px, 3.3vw, 48px); }
.ew-phi__pre { font-size: 17px; line-height: 1.75; color: var(--text); }
.ew-phi__lead { margin-top: 8px; }
.ew-phi__p { margin-top: 24px; font-size: 17px; line-height: 1.75; }
.ew-phi__p + .ew-phi__p { margin-top: 12px; }
.ew-phi__p b { font-weight: 700; color: var(--navy-2); }
.ew-phi__ph { grid-column: 7 / 13; aspect-ratio: 5 / 4; }
.ew-phi__ph img { object-position: 55% 50%; }
@media (min-width: 1181px) {   /* 12-01 V20 Eric 熱鍵「對齊圖片下方」(框兩段內文、箭頭往下):同全方位解決方案 —— 文字欄撐滿圖高,英文小標字墨頂 = 圖頂、
     末行字墨底 = 圖底;空白只放在「三好一快【…】」和內文之間(精華 9),標題組和三好一快照舊貼頂 */
  .ew-phi__txt { align-self: stretch; display: flex; flex-direction: column; }
  .ew-phi__ph { align-self: stretch; }   /* 照片至少 5:4;文字比較高時(1181〜1300 寬)照片跟著拉高,末行照樣對圖底 */
  .ew-phi__main { flex: 1; display: flex; flex-direction: column; }
  .ew-phi__lead + .ew-phi__p { margin-top: auto; padding-top: 24px; }   /* 至少留原本的 24 */
  .ew-phi__p:last-child { margin-bottom: -.78em; }   /* 末行字墨底對圖底(同 .ew-sol__body,17px / 行高 1.75) */
}

/* 左右兩欄的縫對準螢幕中線(12-01 V20 Eric 熱鍵「這個間距是置中於螢幕中線的嗎」,框的是全方位解決方案照片和文字中間;精華 8「兩欄的縫以中線置中」):
   原本 12 欄裡 左 5 欄 | 空 1 欄 | 右 6 欄(頁頭反過來 6 | 1 | 5),縫的中線偏螢幕中線 73px(2056 寬,1440 寬 51)。
   頁頭、集團、全方位解決方案、客戶段、經營理念五段一起改成 左 | 縫 | 右 三條軌:左右等寬,縫寬照舊 = 一欄 + 兩個欄距(2056 寬 169)。上下段的欄線照樣共用 */
@media (min-width: 1181px) {
  .ew-pgh__row, .ew-grp__in, .ew-sol__in, .ew-cl--pg .ew-cl__grid, .ew-phi__in { grid-template-columns: minmax(0, 1fr) calc((100% - 264px) / 12 + 48px) minmax(0, 1fr); column-gap: 0; }
  .ew-pgh__hd, .ew-grp__side, .ew-sol__ph, .ew-cl--pg .ew-head, .ew-phi__txt { grid-column: 1; }
  .ew-pgh__q, .ew-grp__list, .ew-sol__txt, .ew-cl--pg .ew-cl__lead, .ew-phi__ph { grid-column: 3; }
}
/* 首頁同一套(Eric 接著說「兩欄的中間GAP都要對齊中線啊」):客戶段 標題 | 說明(說明原本靠右對齊,看得見的縫偏右 180)、最新消息 NEWS | 列表(原本 5:7,偏左 133)。
   首頁「關於恩瑞」不動:照片左緣是 11-29 Eric 指定對齊系統中線縫(= 產業應用醫療卡左緣),格線的縫本來就置中,文字欄右邊另外留白 */
@media (min-width: 768px) {
  .ew-cl__grid { grid-template-columns: minmax(0, 1fr) calc((100% - 264px) / 12 + 48px) minmax(0, 1fr); column-gap: 0; }
  .ew-cl__grid > .ew-head { grid-column: 1; }
  .ew-cl__lead { grid-column: 3; justify-self: start; }
}
@media (min-width: 1600px) {   /* 1599 以下最新消息上下疊(左右等寬時 1600 以下列表太窄,標題比圖高) */
  .ew-news__grid { grid-template-columns: minmax(0, 1fr) calc((100% - 264px) / 12 + 48px) minmax(0, 1fr); column-gap: 0; }
  .ew-news__side { grid-column: 1; }
  .ew-news__list { grid-column: 3; }
}

/* 集團架構:兩塊暗藍電路板(營運流程、組織圖)。12-01 V20 Eric 看完 12 個參考「有的都有點太扯了吧?」「我想要的主要是樣式 不用太野」→ 結構不動只換長相,
   做了管線、藍圖、電路三版切換,Eric「用D好了」= 電路(學 Stripe 首頁串接圖:暗藍底點陣、虛線直角走線、中心是通電的藍晶片 = 全站按鈕通電那套);
   「然後脈衝寫法參考力軒的分隔線」= 營運流程線上跑力軒水滴脈衝(同日 Eric「集團架構…應該不需要電流」→「我是說組織圖不要而已」,組織圖不跑)。兩張圖同一套;圖上的字電腦 ≥16px(Eric:圖表的字要看得清楚) */
.ew-str__pn { --pn-card: color-mix(in srgb, var(--off) 94%, #fff);   /* 卡片底實色(線從卡片後面過不透出來) */
  --pn-bd: rgba(255, 255, 255, .16); --pn-ln: rgba(150, 190, 255, .5); --pn-ln2: rgba(150, 190, 255, .3); --pn-tx2: rgba(255, 255, 255, .72); --pn-hi: hsl(213 100% 78%);
  margin-top: clamp(40px, 4.4vw, 64px); padding: clamp(40px, 4.4vw, 96px); border-radius: var(--r); color: #fff;   /* 12-01 V20 Eric「構圖好擠」:內距 56 → 2056 寬 90 */
  background-color: var(--off); background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1.5px); background-size: 20px 20px; background-position: 10px 10px; }
.ew-str__pn + .ew-str__pn { margin-top: clamp(24px, 2.2vw, 40px); }
.ew-str__cap { font-family: var(--en); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pn-hi); }
.ew-ln { stroke: var(--pn-ln); stroke-width: 1; stroke-dasharray: 4 4; fill: none; }   /* 兩張圖的走線:虛線(電路板) */
/* 電流脈衝(只給營運流程;12-01 V20 Eric「放回去 我是說組織圖不要而已」):照力軒分隔線的水滴(圓頭直徑 4、往後收成尖尾,尾巴透明 → 頭實色;填色是 ew.js 的漸層),線露完才開始流 */
.ew-pl { opacity: 0; transition: opacity .4s; }
.ew-flow__ln { color: hsl(215 100% 60%); }   /* 脈衝顏色(水滴漸層用 currentColor,漸層定義在 svg 最外層的 defs,所以顏色要設在 svg 上;原本吃到板子的白字色)。12-01 V20 Eric「脈衝不要白色的 要藍色的」→ 電光藍(同線稿光環外光暈、按鈕通電的亮藍) */
.ew-flow.is-in .ew-pl { opacity: 1; transition-delay: 1.2s; }
@media (prefers-reduced-motion: reduce) { .ew-pl { display: none; } }

/* 營運流程(舊站圖 12):兩個工廠 → China → Taiwan,市場掛在兩個中心下面。線照實際位置畫成 svg(ew.js「營運流程」),
   捲到時由左往右露出(直式由上往下),之後脈衝照貨的方向一路流;脈衝穿過 China、Taiwan 時,晶片外圍擴一圈淡框、微微放大 */
.ew-flow { --hub: clamp(132px, 11vw, 176px); --hc: 124px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(48px, .5fr) minmax(0, 1.25fr) minmax(48px, .5fr) minmax(0, 1.25fr); align-items: start; font-family: var(--en); }
.ew-flow > :not(.ew-flow__ln) { position: relative; }   /* 節點疊在線上面:脈衝跑進卡片、晶片就被蓋住 */
.ew-flow__ln { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; fill: none; clip-path: inset(0); transition: clip-path 1.1s var(--ease) .1s; }
html.rv .ew-flow:not(.is-in) .ew-flow__ln { clip-path: inset(0 100% 0 0); transition: none; }
.ew-flow__src { display: grid; gap: 12px; }   /* 兩張 56 + 12 + 56 = 124 = 晶片高,上下切齊 */
.ew-flow__b, .ew-flow__mk li { display: flex; align-items: center; justify-content: center; border: 1px solid var(--pn-bd); border-radius: 8px; background: var(--pn-card); font-size: 16px; color: #fff; text-align: center; }
.ew-flow__b { height: 56px; padding: 0 20px; font-weight: 600; letter-spacing: .02em; }
.ew-flow__hub { display: flex; flex-direction: column; align-items: center; }
.ew-flow__c { --hit-g: 0; --hit-r: 0; --hit-o: 0; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: min(100%, 220px); height: var(--hc);
  border-radius: 12px; background: var(--on); box-shadow: var(--on-glow), inset 0 0 0 1px rgba(255, 255, 255, .2); color: #fff; scale: calc(1 + var(--hit-g) * .03); }
.ew-flow__c::after { content: ""; position: absolute; inset: calc(var(--hit-r) * -14px); border: 1px solid var(--pn-hi); border-radius: calc(12px + var(--hit-r) * 8px); opacity: var(--hit-o); pointer-events: none; }   /* 脈衝穿過時往外擴的淡框(力軒方塊那圈) */
.ew-flow__c b { font-size: clamp(22px, 1.7vw, 26px); font-weight: 700; letter-spacing: .02em; line-height: 1.2; }
.ew-flow__c span { margin-top: 4px; font-size: 16px; font-weight: 500; letter-spacing: .06em; color: var(--pn-tx2); }
.ew-flow__mk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; margin-top: clamp(64px, 5vw, 96px); }   /* 兩張市場卡一定等寬 */
.ew-flow__mk li { min-height: 56px; padding: 8px 12px; font-weight: 500; line-height: 1.35; letter-spacing: .01em; }
.ew-flow__ar { display: block; }   /* 格線裡的空欄,線由 svg 畫 */

/* 組織圖(舊站圖 30):總經理 → 台灣總公司、深圳、東莞廠;另一位總經理 → 浙江廠。上層連接線 ew.js 照實際位置畫(svg),捲到時由上往下露出,
   每個單位 = 關係(Sole Proprietorship…)、單位卡、副總經理、部門清單(左邊一條線串起來,子部門再縮一層) */
.ew-org { --ug: clamp(24px, 2.8vw, 56px); position: relative; margin-top: clamp(32px, 3vw, 56px); display: grid; grid-template-columns: 3fr 1fr; column-gap: var(--ug); }   /* --ug 單位卡之間(原本 24,2056 寬 56) */
.ew-org__ln { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; fill: none; clip-path: inset(0); transition: clip-path .9s var(--ease) .1s; }
html.rv .ew-org:not(.is-in) .ew-org__ln { clip-path: inset(0 0 100% 0); transition: none; }
.ew-org__g { position: relative; display: flex; flex-direction: column; align-items: center; }
.ew-org__p { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding: 12px 24px; border-radius: 12px; background: var(--on); box-shadow: var(--on-glow), inset 0 0 0 1px rgba(255, 255, 255, .2); color: #fff; }   /* 總經理 = 通電晶片(同營運流程的 China、Taiwan) */
.ew-org__p .ew-org__dz { font-size: 17px; font-weight: 700; letter-spacing: .1em; color: #fff; }
.ew-org__p .ew-org__de { color: var(--pn-tx2); }
.ew-org__us { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: var(--ug); width: 100%; margin-top: clamp(56px, 4.4vw, 80px); }   /* 總經理到單位:匯流線在總經理和關係字中間(ew.js) */
.ew-org__u { position: relative; display: flex; flex-direction: column; align-items: stretch; }
.ew-org__rel { position: relative; z-index: 1; align-self: center; height: 24px; padding: 0 8px; background: var(--off); font-family: var(--en); font-size: 16px; font-weight: 600; line-height: 24px; letter-spacing: .04em; color: var(--pn-hi); text-align: center; }   /* 墊板子底色:上層連接線從字後面過,不穿字 */
.ew-org__rel[aria-hidden="true"] { visibility: hidden; }   /* 恩瑞股份(沒有關係字)只留高度對齊:佔位那塊墊了板子底色,把往下接卡片的虛線蓋斷(12-01 V20 Eric「恩瑞股份有限公司 上面的虛線斷掉了」) */
.ew-org__card { position: relative; z-index: 1; margin-top: 12px; padding: 20px clamp(8px, 1.1vw, 16px); border-radius: 8px; background: var(--pn-card); box-shadow: inset 0 0 0 1px var(--pn-bd); text-align: center; }
.ew-org__nm { word-break: keep-all; font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: .04em; color: #fff; }
.ew-org__en { margin-top: 2px; font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--pn-tx2); }
.ew-org__dz { font-size: 16px; font-weight: 600; line-height: 1.5; letter-spacing: .04em; color: #fff; }
.ew-org__de { font-family: var(--en); font-size: 16px; font-weight: 500; line-height: 1.5; letter-spacing: .01em; color: var(--pn-tx2); }
.ew-org__d li { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }   /* 部門中英同一行(放不下英文才換行) */
.ew-org__p, .ew-org__vp { display: flex; flex-direction: column; align-items: center; }
/* 每欄一條主幹線,在單位卡左邊 24px 往下:卡 → 副總經理 → 部門(副總經理的框靠左,讓主幹線接進它) */
.ew-org__vp { position: relative; align-self: flex-start; margin: 24px 0 0 0; padding: 8px 16px; border-radius: 8px; background: var(--pn-card); box-shadow: inset 0 0 0 1px var(--pn-bd); text-align: left; align-items: flex-start !important; }
.ew-org__vp::before { content: ""; position: absolute; left: 24px; bottom: 100%; width: 1px; height: 24px; background: var(--pn-ln); }
.ew-org__d { position: relative; margin: 28px 0 0 24px; padding-left: 20px; display: grid; gap: 14px; }
.ew-org__d::before { content: ""; position: absolute; left: 0; top: -28px; bottom: 12px; width: 1px; background: var(--pn-ln); }   /* 部門串在主幹線上 */
.ew-org__d > li, .ew-org__sub > li { position: relative; }
.ew-org__d > li::before, .ew-org__sub > li::before { content: ""; position: absolute; left: -20px; top: 12px; width: 12px; height: 1px; background: var(--pn-ln); }   /* 線接到中文那行的中線(16px × 1.5 行高的一半) */
.ew-org__sub { position: relative; flex-basis: 100%; margin-top: 10px; padding-left: 20px; display: grid; gap: 8px; }
.ew-org__sub::before { content: ""; position: absolute; left: 0; top: -4px; bottom: 12px; width: 1px; background: var(--pn-ln2); }
.ew-org__sub > li::before { background: var(--pn-ln2); }
.ew-org__sub .ew-org__dz { font-weight: 500; }   /* 子部門靠縮排分層,字跟上一層一樣大(原本 15,電腦字 ≥16) */
.ew-org__note { margin-top: clamp(32px, 3vw, 56px); font-size: 16px; line-height: 1.6; color: var(--pn-tx2); }
/* 部門 = 懸掛方塊(12-01 V20 Eric 問「為啥圖的方框跟原圖長得不一樣呢 是考慮到RWD嗎」→ 上網找 RWD 畫法做了現在 / 懸掛方塊 / 由左往右三版切換,Eric「用懸掛方塊」):
   Office SmartArt、Highcharts 的 hanging 版型 —— 上兩層照舊橫排,部門一格一個方塊、直直掛在單位卡左邊的主幹線上,子部門再縮一層(只有框、不墊底)。
   原圖最底一排並排 17 格,2056 寬每格只剩約 79px、字得縮到 8〜10px,所以底層改直的掛;手機照樣。部門名(中 + 英)包在 .ew-org__lb 當方塊 */
:is(.ew-org__d, .ew-org__sub) > li { display: block; }
.ew-org__lb { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; padding: 8px 14px; border-radius: 8px; background: var(--pn-card); box-shadow: inset 0 0 0 1px var(--pn-bd); }
.ew-org__sub .ew-org__lb { padding: 6px 12px; background: transparent; }   /* 子部門只有框、不墊底 = 低一層 */
.ew-org__d { gap: 10px; }
.ew-org__sub { margin: 10px 0 0 20px; gap: 8px; }
.ew-org__d > li::before { top: 20px; }      /* 接線對方塊第一行字的中線:上內距 8 + 16 × 1.5 ÷ 2 */
.ew-org__sub > li::before { top: 18px; }    /* 6 + 12 */
.ew-org__d::before { bottom: 21px; }        /* 主幹線停在最後一格的中線 */
.ew-org__sub::before { top: -10px; bottom: 19px; }


/* 最後一段:六種語言跑馬燈 + keystone 那句;產線淡背景從頁尾交界長出來(往上淡掉,精華 18) */
.ew-end { position: relative; isolation: isolate; margin-top: var(--sec); padding-block: var(--end-p) var(--sec); overflow: hidden;
  /* 12-01 V20 Eric 熱鍵「上下PADDING要一樣 抓現在藍色卡片和 THE SWITCHES的中間」:藍色板子底 → 跑馬燈字墨頂 = 跑馬燈字墨底 → 那句英文字墨頂。
     兩端位置不動(段落上距 + 這兩段空白的總和 --end-s 照舊),只把跑馬燈移到正中間(2056 寬 289 / 100 → 195 / 195)。
     字墨位置照字級算:跑馬燈字墨頂在行框下 .10 個字高、字墨底在行框底上 .13 個字高;英文那句字墨頂在行框下 .225 個字高(2560〜375 量過) */
  --mf: clamp(56px, 7.2vw, 132px); --qf: clamp(28px, 3.1vw, 52px);
  --end-s: calc(clamp(56px, 6vw, 96px) + clamp(40px, 4.4vw, 72px));
  --end-p: calc((var(--end-s) + .03 * var(--mf) + .225 * var(--qf) - var(--sec)) / 2); }
.ew-end__bg { position: absolute; inset: 0; z-index: -1; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 70%); mask-image: linear-gradient(180deg, transparent 0, #000 70%); }
.ew-end__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; opacity: .14; filter: saturate(.6); }
.ew-end__mq { overflow: hidden; }
.ew-end__mqin { display: flex; width: max-content; animation: ewMq 60s linear infinite; }
.ew-end__mq ul { display: flex; align-items: baseline; flex: none; }
.ew-end__mq li { flex: none; padding-right: clamp(48px, 5vw, 96px); font-size: var(--mf); font-weight: 600; line-height: 1.2; letter-spacing: .02em; color: #d8dce2; white-space: nowrap; }
.ew-end__mq li[lang="zh-Hans"] { font-family: "Inter Tight", "Noto Sans SC", sans-serif; }
.ew-end__mq li[lang="ja"] { font-family: "Inter Tight", "Noto Sans JP", sans-serif; }
.ew-end__mq li[lang="ko"] { font-family: "Inter Tight", "Noto Sans KR", sans-serif; }
.ew-end__mq li[lang="en"], .ew-end__mq li[lang="fr"] { font-family: var(--en); }
.ew-end__in { margin-top: calc(var(--end-s) - var(--end-p)); }
.ew-end__q { max-width: 22em; font-family: var(--en); font-size: var(--qf); font-weight: 700;   /* 12-01 V20 Eric「改成BOLD」(原本 500) */
   line-height: 1.25; letter-spacing: -.005em; color: var(--ink); }
.ew-end__zh { margin-top: clamp(8px, .6vw, 12px); font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; line-height: 1.6; letter-spacing: .04em; color: var(--ink); }   /* 12-01 V20 英文句的中文(我們翻的;字級同頁頭引言那一級,英文句是主角) */
.ew-end__s { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: clamp(24px, 2.2vw, 32px); font-size: 15px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-2); }
.ew-end__s { overflow: hidden; }   /* 12-01 V26 RWD:手機上兩句換成兩行時,分隔線原本掉在第二行開頭 →「|」改成掛在第二句左邊的欄距裡,換行後落到框外被切掉 */
.ew-end__s span + span { position: relative; }
.ew-end__s span + span::before { content: ""; position: absolute; left: -10.5px; top: 50%; width: 1px; height: 14px; margin-top: -7px; background: currentColor; opacity: .4; }
@media (prefers-reduced-motion: reduce) { .ew-end__mqin { animation: none; } }

/* 子頁 平板(≤1180):兩欄改上下;組織圖改成直的清單(上層連接線不畫,單位卡兩兩並排) */
@media (max-width: 1180px) {
  .ew-pgh__row { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .ew-pgh__hd, .ew-pgh__q { grid-column: 1 / -1; }
  .ew-pgh__q { margin-top: 0; max-width: 34em; }
  .ew-pgh__ph { height: auto; aspect-ratio: 16 / 10; }   /* 平板直立時不跟視窗高(820×1180 會變成直的) */
  .ew-grp__in, .ew-sol__in, .ew-phi__in { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .ew-grp__side, .ew-grp__list, .ew-sol__ph, .ew-sol__txt, .ew-phi__txt, .ew-phi__ph { grid-column: 1 / -1; }
  .ew-grp__list { margin-top: 0; }
  .ew-sol__ph { min-height: 0; aspect-ratio: 3 / 2; }
  .ew-sol__txt { order: -1; gap: 32px; }
  .ew-sol__body p:last-child { margin-bottom: 0; }
  /* 直排:晶片在左、它負責的市場在右(括號線接著),上下串起來;線由上往下露出 */
  .ew-flow { --hub: 112px; --hc: var(--hub); grid-template-columns: minmax(0, 1fr); row-gap: 0; justify-items: start; }
  html.rv .ew-flow:not(.is-in) .ew-flow__ln { clip-path: inset(0 0 100% 0); }
  .ew-flow__src { grid-auto-flow: column; }
  .ew-flow__ar { width: 1px; height: 56px; }
  .ew-flow__hub { width: 100%; display: grid; grid-template-columns: var(--hub) minmax(0, 1fr); align-items: center; column-gap: 40px; }
  .ew-flow__mk { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 0; max-width: 360px; }
  .ew-flow__mk li { justify-content: flex-start; text-align: left; }
  .ew-org { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .ew-org__ln { display: none; }
  .ew-org__g { align-items: stretch; }
  .ew-org__p { align-self: flex-start; }
  .ew-org__us { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; margin-top: 24px; padding-left: 20px; border-left: 1px solid var(--pn-ln); }
  .ew-org__rel { text-align: left; }
  .ew-org__card { text-align: left; }
}
@media (max-width: 767px) {
  .ew-pgh__ph { height: auto; aspect-ratio: 4 / 3; }
  .ew-pgh__ph img { position: static; height: 100%; translate: none; }
  .ew-grp__it { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .ew-phi__ph { aspect-ratio: 4 / 3; }
  .ew-flow { --hub: 96px; }
  .ew-flow__src { grid-template-columns: 1fr 1fr; width: 100%; }   /* 兩個工廠並排,線才不會穿過下面那張 */
  .ew-flow__b { padding: 0 8px; }
  .ew-flow__hub { column-gap: 32px; }
  .ew-flow__mk li { padding: 8px 12px; font-size: 14px; }
  .ew-org__us { grid-template-columns: minmax(0, 1fr); }
  .ew-str__pn { padding: 24px 20px; }
}

/* 18 手機點擊範圍(12-01 V26 推預覽站前 RWD 檢查,Eric「開始仔細檢查RWD後 就可以推了」):外觀不動,只把手指點得到的範圍撐到 ≥44(精華 25)。
   量到不到 44 的:手機選單「繁中 / EN」29×22、頁尾選單列 35 高、電話 / 信箱 20 高、麵包屑「首頁」29×17 → 用透明 ::after 往外撐 */
.ew-menu .ew-lang a, .ew-ft__col a, .ew-ft__nav a, .ew-bc a { position: relative; }
.ew-menu .ew-lang a::after { content: ""; position: absolute; inset: -11px -8px; }
.ew-ft__nav a::after { content: ""; position: absolute; inset: -5px 0; }
.ew-ft__col a::after { content: ""; position: absolute; inset: -12px 0; }
.ew-bc a::after { content: ""; position: absolute; inset: -14px -8px; }

/* 19 預覽站專用 404「這一頁還沒放上預覽站」(12-02 V26;page_404.py 產,交件洗版時整段刪):沿用關於頁頁頭,右欄一段說明 + 兩顆按鈕 */
.ew-p404 { padding-bottom: var(--sec); }
.ew-p404__p { font-size: 17px; line-height: 1.9; letter-spacing: .04em; color: var(--text); }
.ew-p404__bt { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

