/* 首頁 v2 丙版「場域展間」（2026-10-03）
   首屏＝明亮攝影棚裡的立體展台（四種場域切換）；以下用「工業控制面板」美編語言：電控面板、指示燈、銘牌、金屬按鍵。
   規則：文字不放進 3D 轉動容器；按鈕一律立體；同一資訊一頁只出現一次；所有寬度不可橫捲。 */

.hv2-c {
  --hc-ink: #0f2747; --hc-ink2: #344d6b; --hc-ink3: #56708e;
  --hc-brand: #0267b9; --hc-brand2: #1e88e5; --hc-brand-d: #014e8e; --hc-sky: #4fc0f0;
  --hc-navy: #0a2140; --hc-navy2: #10305a;
  --hc-amber: #f59e0b; --hc-green: #34d399;
  --hc-line: #cfdce8;
  --hc-gap: clamp(16px, 1.2vw, 28px);
  --hc-r: clamp(20px, 1.5vw, 30px);
  --hc-pad: clamp(22px, 2vw, 44px);
  --hc-sec: clamp(64px, 5.4vw, 124px);
  --hc-display: "Noto Sans TC", var(--font);
  --hc-card: inset 0 1px 0 #fff, inset 0 -4px 0 #dce7f1, 0 2px 3px #17406612, 0 14px 26px -14px #154a7440, 0 36px 60px -36px #2a6a9a4d;
  background: #edf2f7;
}
.hv2-c main { overflow-x: clip; }
.hv2-c .band { width: min(88%, 2200px); }
@media (max-width: 1199px) { .hv2-c .band { width: calc(100% - 48px); } }
@media (max-width: 600px) { .hv2-c .band { width: calc(100% - 32px); } }

/* ---------- 共用：小標、標題、按鈕 ---------- */
.hc-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--hc-brand-d); font-size: clamp(16px, .74vw, 19px); font-weight: 800; letter-spacing: .14em; line-height: 1.4; }
.hc-eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #9fe0ff, #1e88e5 60%, #0a5aa0); box-shadow: 0 0 0 4px #4fc0f026, 0 0 10px #4fc0f099; flex-shrink: 0; }
.hc-h1, .hc-h2, .hc-h3 { font-family: var(--hc-display); color: var(--hc-ink); }
.hc-h2 { font-size: clamp(28px, 2.15vw, 52px); font-weight: 900; line-height: 1.25; letter-spacing: .01em; }
.hc-h3 { font-size: clamp(22px, 1.4vw, 32px); font-weight: 900; line-height: 1.3; }

.hc-btn {
  --e: #014e8e; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex-shrink: 0; max-width: 100%;
  box-sizing: border-box; height: clamp(52px, 2.5vw, 60px); padding: 3px clamp(20px, 1.2vw, 28px) 0; border: 1px solid #0b5fa6; border-bottom: 4px solid var(--e); border-radius: 14px;
  background: linear-gradient(180deg, #2b97ea, #0b6fc2 55%, #0262ad); color: #fff; font-size: clamp(17px, .8vw, 20px); font-weight: 800; line-height: 1.2; white-space: nowrap; text-decoration: none;
  box-shadow: inset 0 1px 0 #ffffff59, 0 10px 20px -10px #0267b98c; transition: transform .16s, box-shadow .16s, filter .16s; cursor: pointer;
}
.hc-btn svg { flex-shrink: 0; margin-top: -2px; }
.hc-btn:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 #ffffff59, 0 16px 24px -12px #0267b9a6; }
.hc-btn:active { transform: translateY(2px); border-bottom-width: 2px; box-shadow: inset 0 2px 4px #0003, 0 4px 8px -6px #0267b980; }
.hc-btn--lg { height: clamp(58px, 3vw, 72px); padding-inline: clamp(26px, 1.6vw, 38px); font-size: clamp(19px, 1vw, 24px); border-radius: 16px; }
.hc-btn--primary { --e: #c77806; border-color: #e7950f; background: linear-gradient(180deg, #ffd27a, #ffb21f 52%, #f59e0b); color: #2a1a02; box-shadow: inset 0 1px 0 #fff7, 0 12px 24px -12px #d98a0fb3; }
.hc-btn--primary:hover { box-shadow: inset 0 1px 0 #fff7, 0 18px 28px -12px #d98a0fcc; }
.hc-btn--light { --e: #c3d5e5; border-color: #d3e1ed; background: linear-gradient(180deg, #fff, #eef5fb); color: var(--hc-brand-d); box-shadow: inset 0 1px 0 #fff, 0 10px 20px -12px #1f5b8b59; }
.hc-btn--light:hover { box-shadow: inset 0 1px 0 #fff, 0 16px 24px -12px #1f5b8b73; color: var(--hc-brand); }
.hc-btn--metal { --e: #5b6f84; border-color: #b9c7d4; background: linear-gradient(180deg, #f7fafc, #d7e1ea 55%, #c3d0dc); color: #102a4a; box-shadow: inset 0 1px 0 #fff, 0 12px 22px -10px #00000073; }
.hc-btn:focus-visible { outline: 3px solid #4fc0f0; outline-offset: 4px; }

/* 共用區塊標題列：左＝小標＋標題＋說明，右＝看更多 */
.hv2-c main > section.hc-sec { padding: var(--hc-sec) 0 0; }
.hv2-c main > section.hc-sec--end { padding-bottom: var(--hc-sec); }
.hc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(22px, 1.9vw, 40px); }
.hc-head__text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.hc-head__text > p:not(.hc-eyebrow) { color: var(--hc-ink2); font-size: var(--fs-body); max-width: 46em; }

/* ---------- 1. 首屏：攝影棚＋立體展台 ---------- */
.hv2-c main > section.hc-hero { padding: clamp(118px, 7.2vw, 150px) 0 clamp(26px, 2.2vw, 52px); }
.hc-hero { position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, #dfe7ef 0%, #e8eef4 34%, #eef3f7 58%, #f3f6f9 70%, #e9eff5 100%); }
.hc-hero__studio { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(46% 52% at 69% 46%, #ffffffee 0%, #ffffff8c 40%, #ffffff00 72%),
    radial-gradient(38% 20% at 69% 80%, #ffffffcc 0%, #ffffff00 70%),
    linear-gradient(180deg, #ffffff00 56%, #c9d6e21f 63%, #ffffff00 70%),
    radial-gradient(120% 90% at 50% 0%, #ffffff00 55%, #9fb4c826 100%); }
.hc-hero__studio::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(#edf2f700, #edf2f7); }
.hc-hero__grid { display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); grid-template-areas: "copy stage" "console console"; column-gap: clamp(28px, 2.8vw, 72px); row-gap: clamp(14px, 1.3vw, 30px); align-items: center; }
.hc-hero__copy { grid-area: copy; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(16px, 1.25vw, 28px); min-width: 0; }
.hc-h1 { margin: 2px 0 0; font-size: clamp(36px, 3.55vw, 88px); font-weight: 900; line-height: 1.16; letter-spacing: .02em; }
.hc-h1 span { display: block; white-space: nowrap; }
.hc-h1 span:last-child { color: var(--hc-brand); }
.hc-lead { color: var(--hc-ink2); font-size: clamp(17px, 1.06vw, 24px); line-height: 1.85; max-width: 26em; }
.hc-hero__copy .hc-btn--lg { margin-top: 4px; }
.hc-hero__copy .hc-btn--lg svg { margin-left: 6px; }

/* 證據銘牌：細邊框、四角鉚釘、等寬數字 */
.hc-plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: min(100%, 560px); margin-top: clamp(4px, .6vw, 14px); }
.hc-plate { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; padding: 12px 16px 11px; border: 1px solid #b9c9d7; border-radius: 10px;
  background:
    radial-gradient(circle at 7px 7px, #8fa3b5 0 2px, #fff0 2.6px), radial-gradient(circle at calc(100% - 7px) 7px, #8fa3b5 0 2px, #fff0 2.6px),
    radial-gradient(circle at 7px calc(100% - 7px), #8fa3b5 0 2px, #fff0 2.6px), radial-gradient(circle at calc(100% - 7px) calc(100% - 7px), #8fa3b5 0 2px, #fff0 2.6px),
    repeating-linear-gradient(90deg, #ffffff00 0 2px, #ffffff40 2px 3px), linear-gradient(180deg, #f8fafc, #e2e9f0);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 #c9d5e0, 0 6px 14px -10px #1b45694d; }
.hc-plate b { color: var(--hc-ink); font-family: var(--hc-display); font-size: clamp(22px, 1.45vw, 34px); font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.hc-plate span { color: var(--hc-ink2); font-size: clamp(16px, .72vw, 19px); font-weight: 700; line-height: 1.35; white-space: nowrap; }

/* 立體展台：固定 16:10，備援圖與畫布同框 */
.hc-stage { grid-area: stage; position: relative; justify-self: end; width: min(100%, max(520px, calc((100svh - 330px) * 1.42))); aspect-ratio: 142 / 100; min-width: 0; }
.hc-poster, .hc-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.hc-poster { object-fit: contain; pointer-events: none; user-select: none; }
.hc-canvas { opacity: 0; }
.hc-stage.is-ready .hc-canvas { opacity: 1; }
.hc-stage.is-ready .hc-poster { visibility: hidden; }
.hc-stage__tag { position: absolute; left: clamp(4px, 1%, 16px); top: clamp(2px, 1%, 14px); z-index: 2; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 1px; max-width: calc(100% - 80px); margin: 0; padding: 8px 16px 7px 14px; border: 1px solid #ffffff; border-left: 4px solid var(--hc-brand2); border-radius: 12px; background: #ffffffe6; box-shadow: 0 10px 24px -16px #1d4f7a66; backdrop-filter: blur(6px); color: var(--hc-ink2); font-size: clamp(16px, .72vw, 19px); line-height: 1.5; }
.hc-stage__tag b + span { position: relative; padding-left: 13px; }
.hc-stage__tag b + span::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: #c5d4e2; }
.hc-stage__tag b { color: var(--hc-ink); font-size: clamp(17px, .8vw, 21px); font-weight: 800; }
.hc-stage__tag.is-swap { animation: hc-fade .45s ease both; }
.hc-pause { position: absolute; top: clamp(2px, 1%, 14px); right: clamp(2px, 1%, 14px); z-index: 3; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid #fff; border-bottom: 3px solid #b8cfe0; border-radius: 50%; background: linear-gradient(#fff, #edf4fa); color: var(--hc-brand); box-shadow: 0 8px 18px -8px #28688b66; transition: transform .16s; }
.hc-pause:hover { transform: translateY(-2px); }
.hc-pause:active { transform: translateY(1px); border-bottom-width: 1px; }
.hc-pause[hidden] { display: none; }
.hc-pause__on { display: none; }
.hc-pause.is-paused .hc-pause__on { display: block; }
.hc-pause.is-paused .hc-pause__off { display: none; }

/* 控制台：左＝場域切換鍵、右＝本場域建議設備（跟上方兩欄對齊） */
.hc-console { grid-area: console; position: relative; display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); column-gap: clamp(28px, 2.8vw, 72px); padding: clamp(14px, 1.1vw, 24px); border: 1px solid #ffffff; border-radius: clamp(18px, 1.3vw, 26px);
  background: linear-gradient(180deg, #ffffffeb, #f2f6fae6); box-shadow: inset 0 1px 0 #fff, inset 0 -5px 0 #dbe5ee, 0 3px 4px #17406614, 0 22px 40px -22px #1b4f7a59; }
.hc-console__zone { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hc-console__zone--rec { position: relative; }
.hc-console__zone--rec::before { content: ""; position: absolute; left: calc(clamp(28px, 2.8vw, 72px) / -2); top: 4px; bottom: 4px; width: 2px; border-radius: 2px; background: linear-gradient(90deg, #cfdbe6 50%, #fff 50%); }
.hc-console__label { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--hc-ink3); font-size: clamp(16px, .7vw, 18px); font-weight: 800; letter-spacing: .12em; line-height: 1.3; }
.hc-console__led { width: 8px; height: 8px; border-radius: 50%; background: #2a9cf0; box-shadow: 0 0 0 3px #2a9cf022, 0 0 8px #2a9cf0; }
.hc-console__led--green { background: #2ec27a; box-shadow: 0 0 0 3px #2ec27a22, 0 0 8px #2ec27a; }

.hc-keys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, .7vw, 14px); }
.hc-key { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; box-sizing: border-box; height: clamp(88px, 5.6vw, 116px); min-width: 0; padding: 10px 6px 6px; border: 1px solid #d3dfea; border-bottom: 6px solid #b7c8d8; border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #edf3f8 70%, #e3ebf2); color: var(--hc-ink2); font: inherit; box-shadow: inset 0 1px 0 #fff, 0 10px 16px -12px #1d4f7a73; transition: transform .14s, box-shadow .14s, border-width .14s, background .2s, color .2s; cursor: pointer; }
.hc-key:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 #fff, 0 16px 22px -14px #1d4f7a8c; color: var(--hc-brand-d); }
.hc-key:active { transform: translateY(3px); border-bottom-width: 2px; box-shadow: inset 0 3px 6px #1d4f7a26; }
.hc-key__ico { width: clamp(28px, 1.8vw, 40px); height: auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hc-key__name { font-size: clamp(16px, .92vw, 20px); font-weight: 800; line-height: 1.25; white-space: nowrap; }
.hc-key__led { position: absolute; top: 9px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e3e9ef, #a9b7c4); box-shadow: inset 0 1px 1px #0002; }
.hc-key.is-on { transform: translateY(3px); border-color: #0d63aa; border-bottom: 3px solid #08487f; background: linear-gradient(180deg, #2e9bf0, #0b70c4 60%, #075ea8); color: #fff; box-shadow: inset 0 2px 5px #00000040, inset 0 1px 0 #ffffff40, 0 0 0 4px #4fc0f02e, 0 10px 22px -12px #0267b9b3; }
.hc-key.is-on .hc-key__led { background: radial-gradient(circle at 35% 35%, #ffffff, #8ff0c3 45%, #2ec27a); box-shadow: 0 0 0 3px #2ec27a40, 0 0 10px #5ff0a8; }
.hc-key:focus-visible { outline: 3px solid #4fc0f0; outline-offset: 3px; }

.hc-rec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: clamp(10px, .8vw, 16px); align-items: stretch; height: clamp(88px, 5.6vw, 116px); }
.hc-rec.is-swap { animation: hc-fade .45s ease both; }
.hc-rec__item { position: relative; display: flex; align-items: center; gap: clamp(10px, .8vw, 16px); min-width: 0; padding: 8px 40px 8px 8px; border: 1px solid #d3dfea; border-bottom: 4px solid #c3d4e3; border-radius: 16px; background: linear-gradient(180deg, #fff, #f2f6fa); color: var(--hc-ink); text-decoration: none; box-shadow: inset 0 1px 0 #fff, 0 10px 18px -14px #1d4f7a73; transition: transform .16s, box-shadow .16s; }
.hc-rec__item:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 #fff, 0 16px 24px -14px #1d4f7a8c; }
.hc-rec__item:active { transform: translateY(2px); border-bottom-width: 2px; }
.hc-rec__photo { display: grid; place-items: center; flex-shrink: 0; width: clamp(66px, calc(5.6vw - 22px), 94px); height: clamp(66px, calc(5.6vw - 22px), 94px); border-radius: 11px; background: radial-gradient(circle at 50% 40%, #fff, #eef3f7 75%); border: 1px solid #e3eaf1; overflow: hidden; }
.hc-rec__photo img { width: 86%; height: 86%; min-width: 0; object-fit: contain; mix-blend-mode: multiply; }
.hc-rec__name { min-width: 0; font-size: clamp(16px, .95vw, 21px); font-weight: 800; line-height: 1.3; }
.hc-rec__go { position: absolute; right: 12px; top: 50%; margin-top: -9px; color: var(--hc-brand); }
.hc-rec__more { height: 100%; padding-inline: clamp(18px, 1.3vw, 28px); border-radius: 16px; }

/* ---------- 2. 控制面板：現場問題 → 峰煜的做法 ---------- */
.hc-panel { position: relative; padding: clamp(26px, 2.4vw, 56px); border: 1px solid #23466f; border-radius: clamp(24px, 1.8vw, 36px); color: #e8f1fb;
  background:
    repeating-linear-gradient(0deg, #ffffff06 0 1px, #ffffff00 1px 3px),
    repeating-linear-gradient(90deg, #00000008 0 1px, #00000000 1px 7px),
    radial-gradient(120% 120% at 18% 0%, #18406e 0%, #0d2a4f 46%, #091d39 100%);
  box-shadow: inset 0 1px 0 #ffffff47, inset 0 -2px 0 #0000004d, 0 9px 0 #061630, 0 10px 0 #04102200, 0 30px 50px -22px #06163099, 0 60px 90px -60px #0a2a5480; }
.hc-panel::before { content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 1px; background: linear-gradient(90deg, #ffffff00, #ffffffa6 30%, #9fdcff 50%, #ffffffa6 70%, #ffffff00); }
.hc-screw { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f1f5f8, #95a6b6 55%, #4d5d6d); box-shadow: 0 1px 1px #000a, inset 0 -1px 1px #0005; }
.hc-screw::after { content: ""; position: absolute; left: 3px; right: 3px; top: 6px; height: 2px; border-radius: 1px; background: #3b4b5b; transform: rotate(-35deg); }
.hc-screw--tl { left: 14px; top: 14px; } .hc-screw--tr { right: 14px; top: 14px; } .hc-screw--bl { left: 14px; bottom: 14px; } .hc-screw--br { right: 14px; bottom: 14px; }
.hc-panel__body { display: grid; grid-template-columns: minmax(0, 37fr) clamp(72px, 6vw, 140px) minmax(0, 63fr); align-items: stretch; }
.hc-panel__zone { display: flex; flex-direction: column; gap: clamp(12px, 1vw, 20px); min-width: 0; }
.hc-panel__label { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; margin: 0; padding: 6px 16px 5px 12px; border: 1px solid #ffffff2e; border-radius: 8px; background: linear-gradient(180deg, #ffffff1f, #ffffff08); color: #dbe8f6; font-size: clamp(16px, .74vw, 19px); font-weight: 800; letter-spacing: .16em; box-shadow: inset 0 1px 0 #ffffff26, 0 2px 0 #00000040; }
.hc-panel h3 { color: #fff; font-family: var(--hc-display); font-size: clamp(19px, 1.2vw, 27px); font-weight: 900; line-height: 1.35; }
.hc-panel p { color: #b9cce0; font-size: clamp(16px, .86vw, 19px); line-height: 1.7; }
.hc-issues { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: clamp(10px, .8vw, 16px); flex: 1; }
.hc-issue { display: flex; align-items: center; gap: clamp(14px, 1.1vw, 22px); min-width: 0; padding: clamp(14px, 1.1vw, 22px) clamp(16px, 1.2vw, 24px); border-radius: 16px; background: linear-gradient(180deg, #06142a99, #0b2344b3); box-shadow: inset 0 2px 6px #0000006b, inset 0 -1px 0 #ffffff14, 0 1px 0 #ffffff12; }
.hc-issue > div, .hc-fix > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hc-lamp { position: relative; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; }
.hc-lamp::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; pointer-events: none; }
.hc-lamp--amber { background: radial-gradient(circle at 36% 32%, #fff4d6 0 14%, #ffbf47 38%, #f08c00 70%, #a85a00); box-shadow: 0 0 0 3px #00000059, 0 0 0 4px #ffffff1a; }
.hc-lamp--amber::after { background: radial-gradient(circle, #ffad3399 0%, #ffad3300 70%); animation: hc-breathe 3.4s ease-in-out infinite; }
.hc-issue:nth-child(2) .hc-lamp--amber::after { animation-delay: -1.1s; }
.hc-issue:nth-child(3) .hc-lamp--amber::after { animation-delay: -2.2s; }
.hc-lamp--green { background: radial-gradient(circle at 36% 32%, #e9fff3 0 14%, #5ff0a8 38%, #1fb46b 72%, #0d7a45); box-shadow: 0 0 0 3px #00000059, 0 0 0 4px #ffffff1a, 0 0 12px #36e08d80; }
.hc-lamp--sm { width: 12px; height: 12px; box-shadow: 0 0 0 2px #0000004d; }
.hc-lamp--sm::after { inset: -4px; }
@keyframes hc-breathe { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.12); } }

/* 中間導流：管道裡的小光點往右流 */
.hc-panel__flow { display: grid; place-items: center; min-width: 0; padding-top: 44px; }
.hc-duct { position: relative; display: block; width: 100%; max-width: 104px; height: 18px; border-radius: 9px; background: linear-gradient(180deg, #04102280, #0c2a4f); box-shadow: inset 0 2px 4px #000a, 0 1px 0 #ffffff1f; overflow: hidden; }
.hc-duct::after { content: ""; position: absolute; right: -2px; top: 50%; width: 0; height: 0; margin-top: -9px; border-left: 12px solid #4fc0f0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; filter: drop-shadow(0 0 6px #4fc0f0); }
.hc-duct i { position: absolute; left: -12px; top: 50%; width: 22px; height: 4px; margin-top: -2px; border-radius: 3px; background: linear-gradient(90deg, #4fc0f000, #9fe4ff 60%, #ffffff); box-shadow: 0 0 8px #4fc0f0; animation: hc-duct 2.4s linear infinite; }
.hc-duct i:nth-child(2) { animation-delay: -.6s; } .hc-duct i:nth-child(3) { animation-delay: -1.2s; } .hc-duct i:nth-child(4) { animation-delay: -1.8s; }
@keyframes hc-duct { from { transform: translateX(0); } to { transform: translateX(118px); } }

.hc-fixes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: clamp(10px, .8vw, 16px); flex: 1; }
.hc-fix { display: flex; align-items: center; gap: clamp(14px, 1.1vw, 22px); min-width: 0; padding: clamp(14px, 1.1vw, 22px); border-radius: 16px; background: linear-gradient(180deg, #ffffff12, #ffffff05); border: 1px solid #ffffff1a; box-shadow: inset 0 1px 0 #ffffff1f, 0 6px 14px -8px #0008; }
.hc-fix h3 { display: flex; align-items: center; gap: 10px; }
.hc-fix h3 .hc-lamp { width: 12px; height: 12px; }
.hc-fix__icon { flex-shrink: 0; display: grid; place-items: center; width: clamp(68px, 4.6vw, 104px); aspect-ratio: 1; border-radius: 18px; background: linear-gradient(180deg, #ffffff, #e6eef5); border-bottom: 5px solid #9fb3c6; box-shadow: inset 0 1px 0 #fff, 0 8px 14px -6px #000b; overflow: hidden; }
.hc-fix__icon img { width: 92%; height: auto; mix-blend-mode: multiply; }
.hc-panel__foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: clamp(20px, 1.6vw, 32px); padding-top: clamp(16px, 1.3vw, 26px); border-top: 1px solid #00000059; box-shadow: inset 0 1px 0 #ffffff14; }
.hc-panel__meter { display: flex; align-items: center; gap: 6px; padding-left: 4px; }
.hc-panel__meter i { width: 6px; height: 18px; border-radius: 2px; background: #1d3d63; box-shadow: inset 0 1px 0 #ffffff14; }
.hc-panel__meter i:nth-child(-n+5) { background: linear-gradient(180deg, #7ff0bb, #22b46c); box-shadow: 0 0 6px #36e08d66; }
.hc-panel__foot .hc-btn { margin-right: 0; }

/* ---------- 3. 產品拼貼格：攝影棚小格＋銘牌 ---------- */
.hc-bento { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(2, clamp(250px, 15.5vw, 380px)); gap: var(--hc-gap); }
.hc-prod { position: relative; isolation: isolate; display: block; min-width: 0; overflow: hidden; border: 1px solid #d3dfea; border-radius: var(--hc-r); color: var(--hc-ink); text-decoration: none;
  background: radial-gradient(70% 60% at 50% 38%, #ffffff 0%, #f3f7fa 55%, #e4ebf2 100%); box-shadow: var(--hc-card); transition: transform .3s ease, box-shadow .3s ease; }
.hc-prod::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: -1; background: linear-gradient(180deg, #e6edf3 0%, #f4f7fa 40%, #eef3f7 100%); border-top: 1px solid #ffffffb3; }
.hc-prod::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 34%; z-index: 2; pointer-events: none; background: linear-gradient(100deg, #ffffff00, #ffffff70 50%, #ffffff00); transform: translateX(0) skewX(-16deg); animation: hc-sheen 8s ease-in-out infinite; }
.hc-prod:nth-child(2)::after { animation-delay: -1.6s; } .hc-prod:nth-child(3)::after { animation-delay: -3.2s; } .hc-prod:nth-child(4)::after { animation-delay: -4.8s; } .hc-prod:nth-child(5)::after { animation-delay: -6.4s; }
@keyframes hc-sheen { 0%, 78% { transform: translateX(0) skewX(-16deg); } 100% { transform: translateX(560%) skewX(-16deg); } }
@media (hover: hover) { .hc-prod:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 #fff, inset 0 -4px 0 #d2dfeb, 0 6px 8px -5px #16456b30, 0 22px 36px -16px #134b765c, 0 48px 70px -40px #256e9b66; } }
.hc-prod:active { transform: translateY(2px); }
.hc-prod__stage { position: absolute; inset: 9% 8% 25% 8%; display: flex; align-items: flex-end; justify-content: center; }
.hc-prod__stage::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: -5%; height: 12%; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, #1a3d5e45 0%, #1a3d5e14 50%, #1a3d5e00 72%); }
.hc-prod__stage img { position: relative; display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .45s ease; }
.hc-prod:hover .hc-prod__stage img { transform: translateY(-4px) scale(1.03); }
.hc-prod--pad .hc-prod__stage img { max-width: min(100%, 290px); max-height: min(100%, 249px); }
.hc-prod__plate { position: absolute; left: clamp(14px, 1.2vw, 24px); bottom: clamp(14px, 1.2vw, 24px); z-index: 3; display: flex; flex-direction: column; gap: 1px; max-width: calc(100% - 96px); padding: 9px 18px 8px; border: 1px solid #bccbd8; border-radius: 10px;
  background:
    radial-gradient(circle at 6px 6px, #93a6b7 0 1.7px, #fff0 2.3px), radial-gradient(circle at calc(100% - 6px) 6px, #93a6b7 0 1.7px, #fff0 2.3px),
    radial-gradient(circle at 6px calc(100% - 6px), #93a6b7 0 1.7px, #fff0 2.3px), radial-gradient(circle at calc(100% - 6px) calc(100% - 6px), #93a6b7 0 1.7px, #fff0 2.3px),
    repeating-linear-gradient(90deg, #ffffff00 0 2px, #ffffff4d 2px 3px), linear-gradient(180deg, #fbfcfd, #e3eaf0);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 #cbd7e2, 0 8px 16px -10px #1b456966; }
.hc-prod__plate small { color: var(--hc-ink3); font-size: clamp(16px, .7vw, 18px); font-weight: 700; line-height: 1.3; letter-spacing: .08em; }
.hc-prod__plate b { color: var(--hc-ink); font-family: var(--hc-display); font-size: clamp(19px, 1.18vw, 28px); font-weight: 900; line-height: 1.3; white-space: nowrap; }
.hc-prod--lead .hc-prod__plate b { font-size: clamp(22px, 1.55vw, 36px); }
.hc-prod__go { position: absolute; right: clamp(14px, 1.2vw, 24px); bottom: clamp(16px, 1.3vw, 26px); z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #0b5fa6; border-bottom: 3px solid #014e8e; border-radius: 50%; background: linear-gradient(180deg, #2b97ea, #0b6fc2); color: #fff; box-shadow: inset 0 1px 0 #ffffff59, 0 8px 14px -8px #0267b9a6; transition: transform .2s; }
.hc-prod:hover .hc-prod__go { transform: translateX(3px); }
.hc-prod--lead { grid-row: span 2; }
.hc-prod--lead .hc-prod__stage { inset: 8% 8% 22% 8%; }

/* ---------- 4. 安裝實績照片牆 ---------- */
/* 安裝實例：12 案自動輪播（一次看 3 張、窄寬度 2 張／1 張，捲動吸附） */
.hc-carousel { --hc-per: 3; position: relative; }
.hc-cases { display: flex; gap: var(--hc-gap); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain; padding: 6px 0 14px; margin: -6px 0 -14px; -webkit-overflow-scrolling: touch; }
.hc-cases::-webkit-scrollbar { display: none; }
.hc-cases.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.hc-cases.is-dragging .hc-case { pointer-events: none; }
.hc-cases > .hc-case { flex: 0 0 calc((100% - var(--hc-gap) * (var(--hc-per) - 1)) / var(--hc-per)); scroll-snap-align: start; }
.hc-carousel__nav { position: absolute; top: calc(50% - 26px); z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid #ffffffcc; border-radius: 50%; background: linear-gradient(180deg, #ffffffee, #e9f1f8ee); color: var(--hc-brand); box-shadow: inset 0 1px 0 #fff, 0 10px 22px -10px #0b214080, 0 2px 4px #0b214026; cursor: pointer; backdrop-filter: blur(6px); transition: transform .16s, box-shadow .16s, opacity .2s; }
.hc-carousel__nav--prev { left: -26px; } .hc-carousel__nav--next { right: -26px; }
.hc-carousel__nav:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 #fff, 0 16px 28px -12px #0b214099, 0 2px 4px #0b214026; }
.hc-carousel__nav:active { transform: translateY(1px); }
.hc-carousel__nav:focus-visible { outline: 3px solid var(--hc-brand); outline-offset: 2px; }
.hc-carousel__dots { display: flex; justify-content: center; flex-wrap: wrap; margin-top: clamp(4px, .5vw, 10px); }
.hc-carousel__dots { gap: 2px; }
/* 點本身 10px 高，但按鈕保留 44px 的可點範圍（手機好按） */
.hc-carousel__dot { position: relative; width: 22px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; transition: width .25s; }
.hc-carousel__dot::before { content: ""; position: absolute; left: 6px; right: 6px; top: 17px; height: 10px; border-radius: 6px; background: #b9cbdc; transition: background .25s; }
.hc-carousel__dot.is-on { width: 42px; }
.hc-carousel__dot.is-on::before { background: var(--hc-brand); }
.hc-carousel__dot:focus-visible { outline: 3px solid var(--hc-brand); outline-offset: 3px; }
@media (max-width: 1099px) { .hc-carousel { --hc-per: 2; } }
@media (max-width: 759px) { .hc-carousel { --hc-per: 1; } }
@media (max-width: 1399px) { .hc-carousel__nav--prev { left: -14px; } .hc-carousel__nav--next { right: -14px; } }
@media (max-width: 1199px) { .hc-carousel__nav { width: 44px; height: 44px; top: calc(50% - 22px); } .hc-carousel__nav--prev { left: -10px; } .hc-carousel__nav--next { right: -10px; } }
@media (max-width: 600px) { .hc-carousel__nav--prev { left: -8px; } .hc-carousel__nav--next { right: -8px; } }
@media (prefers-reduced-motion: reduce) { .hc-cases { scroll-behavior: auto; } }
.hc-case { --mx: 0; --my: 0; position: relative; isolation: isolate; display: block; min-width: 0; aspect-ratio: 4 / 5; max-height: 860px; width: 100%; overflow: hidden; border-radius: var(--hc-r); color: #fff; text-decoration: none; background: #0b2140; box-shadow: 0 2px 3px #0b21401a, 0 20px 34px -18px #0b2140a6, 0 50px 80px -50px #0b214099; transition: transform .3s ease, box-shadow .3s ease; }
.hc-case__photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hc-case__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.08) contrast(1.06); transform: translate3d(calc(var(--mx) * -10px), calc(var(--my) * -10px), 0) scale(1.0); transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.hc-case:hover .hc-case__photo img { transform: translate3d(calc(var(--mx) * -14px), calc(var(--my) * -14px), 0) scale(1.04); }
.hc-case::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #06162b00 30%, #06162b8c 58%, #06162bf0 100%); }
.hc-case:nth-child(1) .hc-case__photo img { object-position: 50% 60%; }
.hc-case:nth-child(2) .hc-case__photo img { object-position: 38% 50%; }
.hc-case:nth-child(3) .hc-case__photo img { object-position: 46% 50%; }
@media (hover: hover) { .hc-case:hover { transform: translateY(-5px); box-shadow: 0 2px 3px #0b21401a, 0 28px 44px -20px #0b2140bf, 0 60px 90px -50px #0b2140a6; } }
.hc-case:active { transform: translateY(2px); }
.hc-case__body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: clamp(20px, 1.7vw, 38px); }
.hc-case__tag { display: inline-flex; margin-bottom: auto; padding: 5px 14px 4px; border: 1px solid #ffffff59; border-radius: 30px; background: #ffffff1f; color: #fff; font-size: clamp(16px, .72vw, 19px); font-weight: 700; backdrop-filter: blur(6px); }
.hc-case__num { margin-top: 8px; font-family: var(--hc-display); font-size: clamp(64px, 5.4vw, 132px); font-weight: 900; line-height: .95; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 6px 24px #0008; }
.hc-case__num small { margin-left: 4px; font-size: .48em; font-weight: 900; color: #9fdcff; }
.hc-case__what { color: #dbe9f7; font-size: clamp(17px, 1vw, 22px); font-weight: 700; }
.hc-case__name { margin-top: clamp(8px, .7vw, 14px); padding-top: clamp(10px, .8vw, 16px); border-top: 1px solid #ffffff38; width: 100%; color: #fff; font-family: var(--hc-display); font-size: clamp(21px, 1.35vw, 32px); font-weight: 900; line-height: 1.3; }
.hc-more { display: flex; align-items: center; gap: 14px 24px; margin-top: var(--hc-gap); padding: clamp(14px, 1.1vw, 24px); border: 1px solid #fff; border-radius: var(--hc-r); background: linear-gradient(180deg, #ffffffcc, #f2f6faee); box-shadow: var(--hc-card); }
.hc-more__label { flex-shrink: 0; margin: 0; color: var(--hc-ink3); font-size: clamp(16px, .72vw, 18px); font-weight: 800; letter-spacing: .14em; }
.hc-more__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, .8vw, 16px); flex: 1; min-width: 0; }
.hc-chip { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 12px 16px 10px 18px; border: 1px solid #d3dfea; border-bottom: 4px solid #c3d4e3; border-radius: 14px; background: linear-gradient(180deg, #fff, #eef4f9); color: var(--hc-ink); text-decoration: none; box-shadow: inset 0 1px 0 #fff, 0 10px 18px -14px #1d4f7a73; transition: transform .16s, box-shadow .16s; }
.hc-chip:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 #fff, 0 16px 24px -14px #1d4f7a8c; }
.hc-chip:active { transform: translateY(2px); border-bottom-width: 2px; }
.hc-chip__text { display: flex; flex-direction: column; min-width: 0; }
.hc-chip b { font-size: clamp(17px, .95vw, 21px); font-weight: 800; line-height: 1.35; }
.hc-chip__text > span { color: var(--hc-ink3); font-size: clamp(16px, .72vw, 18px); line-height: 1.45; }
.hc-chip svg { flex-shrink: 0; color: var(--hc-brand); }

/* ---------- 5. 公司介紹影片＋服務流程 ---------- */
.hc-duo { display: grid; grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); gap: var(--hc-gap); align-items: stretch; }
.hc-video, .hc-steps-card { display: flex; flex-direction: column; min-width: 0; padding: var(--hc-pad); border: 1px solid #d3dfea; border-radius: var(--hc-r); background: linear-gradient(160deg, #ffffff 40%, #f1f6fa); box-shadow: var(--hc-card); }
.hc-video { gap: clamp(18px, 1.4vw, 30px); }
.hc-video__frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: clamp(8px, .6vw, 13px); border: 1px solid #23466f; border-radius: clamp(18px, 1.3vw, 26px); background: linear-gradient(180deg, #1b4675, #0b2445); box-shadow: inset 0 1px 0 #ffffff4d, inset 0 -2px 0 #00000059, 0 8px 0 #071a33, 0 28px 40px -20px #071a33a6; cursor: pointer; overflow: visible; transition: transform .2s, box-shadow .2s; }
.hc-video__frame img { width: 100%; height: 100%; object-fit: cover; border-radius: clamp(11px, .8vw, 16px); box-shadow: 0 0 0 1px #00000040; }
.hc-video__frame:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 #ffffff4d, inset 0 -2px 0 #00000059, 0 9px 0 #071a33, 0 36px 48px -22px #071a33b3; }
.hc-video__frame:active { transform: translateY(3px); box-shadow: inset 0 1px 0 #ffffff4d, inset 0 -2px 0 #00000059, 0 4px 0 #071a33, 0 18px 30px -18px #071a33a6; }
.hc-video__frame:focus-visible { outline: 3px solid #4fc0f0; outline-offset: 5px; }
.hc-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: clamp(84px, 6.4vw, 140px); aspect-ratio: 1; margin: 0; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle at 40% 30%, #ffffff, #e9f1f8 70%); border-bottom: 6px solid #9fb6ca; color: var(--hc-brand); box-shadow: 0 0 0 10px #ffffff3d, 0 18px 34px -10px #000b; transition: transform .2s, box-shadow .2s; }
.hc-play svg { width: 42%; height: auto; margin-left: 8%; filter: drop-shadow(0 2px 2px #0267b955); }
.hc-video__frame:hover .hc-play { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 14px #ffffff4d, 0 22px 40px -10px #000c; }
.hc-video__cap { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.hc-video__cap p { color: var(--hc-ink2); }
.hc-steps-card { gap: clamp(16px, 1.2vw, 26px); }
.hc-steps-card__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.hc-steps-wrap { position: relative; flex: 1; display: flex; }
.hc-steps { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(8px, .6vw, 14px); flex: 1; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.hc-step { display: flex; align-items: flex-start; gap: clamp(14px, 1vw, 20px); min-width: 0; }
.hc-step > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-top: 2px; }
.hc-step h3 { font-size: clamp(18px, 1.1vw, 25px); font-weight: 800; line-height: 1.35; }
.hc-step p { color: var(--hc-ink2); font-size: clamp(16px, .85vw, 19px); line-height: 1.6; }
.hc-step__no { flex-shrink: 0; display: grid; place-items: center; width: clamp(40px, 2.4vw, 52px); aspect-ratio: 1; padding-top: 2px; border: 1px solid #0b5fa6; border-bottom: 4px solid #014e8e; border-radius: 50%; background: linear-gradient(180deg, #2e9bf0, #0b6fc2); color: #fff; font-family: var(--hc-display); font-size: clamp(18px, 1.05vw, 23px); font-weight: 900; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 5px #fff, inset 0 1px 0 #ffffff59, 0 8px 14px -8px #0267b9b3; }
.hc-step:last-child .hc-step__no { border-color: #e7950f; border-bottom-color: #c77806; background: linear-gradient(180deg, #ffd27a, #f59e0b); color: #2a1a02; }
.hc-steps__rail { position: absolute; left: calc(clamp(40px, 2.4vw, 52px) / 2 - 2px); top: 18px; bottom: 18px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, #4fc0f0, #0b6fc2 85%, #f5a524); opacity: .55; }
.hc-steps__rail i { position: absolute; left: 50%; top: 0; width: 12px; height: 34px; margin-left: -6px; border-radius: 8px; background: linear-gradient(180deg, #ffffff00, #bfeaff 50%, #ffffff); box-shadow: 0 0 12px #4fc0f0; animation: hc-rail 4.6s cubic-bezier(.45,.05,.55,.95) infinite; }
@keyframes hc-rail { from { transform: translateY(-10px); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { transform: translateY(var(--rail, 400px)); opacity: 0; } }

/* ---------- 6. 收尾 ---------- */
.hc-end { position: relative; display: grid; grid-template-columns: clamp(130px, 9vw, 210px) minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "art copy actions"; align-items: center; gap: clamp(20px, 2.2vw, 52px); padding: clamp(24px, 2.2vw, 50px); border: 1px solid #d3dfea; border-radius: var(--hc-r); background: radial-gradient(40% 120% at 8% 50%, #dcefff 0%, #dcefff00 70%), linear-gradient(110deg, #f6faff 0%, #ffffff 35%, #f0f6fb); box-shadow: var(--hc-card); }
.hc-end__copy { grid-area: copy; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hc-end__copy p { color: var(--hc-ink2); max-width: 32em; }
.hc-end__actions { grid-area: actions; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1vw, 20px); }
.hc-end__art { grid-area: art; }
.hc-act { position: relative; display: flex; align-items: center; gap: clamp(12px, .9vw, 18px); min-width: 0; min-height: clamp(84px, 5.2vw, 112px); padding: 14px 44px 12px clamp(14px, 1vw, 20px); border: 1px solid #d3dfea; border-bottom: 5px solid #c3d4e3; border-radius: 18px; background: linear-gradient(180deg, #fff, #eef4f9); color: var(--hc-ink); text-decoration: none; box-shadow: inset 0 1px 0 #fff, 0 12px 22px -14px #1d4f7a80; transition: transform .16s, box-shadow .16s; }
.hc-act:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 #fff, 0 18px 28px -14px #1d4f7a99; }
.hc-act:active { transform: translateY(2px); border-bottom-width: 2px; }
.hc-act__ico { flex-shrink: 0; display: grid; place-items: center; width: clamp(46px, 2.9vw, 60px); aspect-ratio: 1; border-radius: 14px; background: linear-gradient(180deg, #2b97ea, #0b6fc2); color: #fff; box-shadow: inset 0 1px 0 #ffffff59, 0 6px 12px -6px #0267b9a6; }
.hc-act__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hc-act__text b { font-size: clamp(18px, 1vw, 23px); font-weight: 900; line-height: 1.3; white-space: nowrap; }
.hc-act__text small { color: var(--hc-ink3); font-size: clamp(16px, .78vw, 18px); line-height: 1.45; }
.hc-act__go { position: absolute; right: 16px; top: 50%; margin-top: -10px; color: var(--hc-brand); }
.hc-act--primary { border-color: #e7950f; border-bottom-color: #c77806; background: linear-gradient(180deg, #ffd780, #ffb427 55%, #f6a10e); color: #2a1a02; box-shadow: inset 0 1px 0 #fff8, 0 14px 24px -14px #d98a0fcc; }
.hc-act--primary .hc-act__ico { background: linear-gradient(180deg, #fff, #fff1d6); color: #c26f00; }
.hc-act--primary .hc-act__text small { color: #5a3c06; }
.hc-act--primary .hc-act__go { color: #5a3c06; }
.hc-act:focus-visible { outline: 3px solid #4fc0f0; outline-offset: 4px; }
.hc-end__art { display: block; width: 100%; min-width: 0; }
.hc-end__art svg { display: block; width: 100%; height: auto; overflow: visible; }
.hc-end__rotor { transform-box: view-box; transform-origin: 82px 94px; animation: hc-spin 2.6s linear infinite; }
@keyframes hc-spin { to { transform: rotate(360deg); } }
.hc-end__streaks path { stroke: #4fb6ea; stroke-width: 4; stroke-dasharray: 18 70; animation: hc-streak 1.8s linear infinite; opacity: .8; }
.hc-end__streaks path:nth-child(2) { animation-delay: -.5s; stroke: #8fd3f5; } .hc-end__streaks path:nth-child(3) { animation-delay: -1s; } .hc-end__streaks path:nth-child(4) { animation-delay: -1.4s; stroke: #8fd3f5; }
@keyframes hc-streak { from { stroke-dashoffset: 88; } to { stroke-dashoffset: 0; } }

/* ---------- 影片彈窗 ---------- */
.hc-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.hc-modal[hidden] { display: none; }
.hc-modal__backdrop { position: absolute; inset: 0; background: #061428cc; backdrop-filter: blur(4px); animation: hc-fade .25s ease both; }
.hc-modal__panel { position: relative; width: min(1280px, 100%, calc((100vh - 48px) * 16 / 9)); padding: 12px; border: 1px solid #2b5585; border-radius: 22px; background: linear-gradient(180deg, #1b4675, #0b2445); box-shadow: inset 0 1px 0 #ffffff40, 0 40px 80px -30px #000; animation: hc-pop .3s cubic-bezier(.2,.8,.2,1) both; }
.hc-modal__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.hc-modal__frame video, .hc-modal__frame iframe { display: block; width: 100%; height: 100%; border: 0; background: #000; }
.hc-modal__frame iframe { position: absolute; inset: 0; }
.hc-modal__close { position: absolute; right: -14px; top: -14px; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid #fff; border-bottom: 3px solid #b8cfe0; border-radius: 50%; background: linear-gradient(#fff, #e9f1f8); color: var(--hc-ink); box-shadow: 0 10px 20px -8px #000a; transition: transform .16s; }
.hc-modal__close:hover { transform: translateY(-2px); }
.hc-modal__close:active { transform: translateY(1px); border-bottom-width: 1px; }
body.hc-modal-open { overflow: hidden; }
@keyframes hc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hc-pop { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- 進場（只有探測到動畫正常才啟用；首屏不隱藏） ---------- */
html.hc-fx .hc-reveal:not(.is-in) { opacity: 0; transform: translate3d(0, 44px, 0); }
html.hc-fx .hc-reveal.hc-entering { animation: hc-in .75s cubic-bezier(.18,.7,.28,1) both; animation-delay: var(--hc-delay, 0ms); }
@keyframes hc-in { from { opacity: 0; transform: translate3d(0, 44px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
.hc-off, .hc-off *, .hc-off *::before, .hc-off *::after { animation-play-state: paused !important; }
/* 進場動畫不受「離開畫面暫停」影響，避免捲太快時卡在半透明 */
.hc-off .hc-entering, .hc-entering.hc-off { animation-play-state: running !important; }
@media print { html.hc-fx .hc-reveal:not(.is-in) { opacity: 1; transform: none; } .hc-stage .hc-canvas { display: none; } .hc-stage .hc-poster { visibility: visible !important; } }

/* ---------- 寬度調整（連續：每段都有調） ---------- */
@media (min-width: 1921px) {
  .hc-plates { width: min(100%, 640px); }
}
@media (max-width: 1599px) {
  .hc-end { grid-template-columns: clamp(110px, 12vw, 180px) minmax(0, 1fr); grid-template-areas: "art copy" "art actions"; row-gap: 18px; }
  .hc-end__actions { max-width: 760px; }
  .hc-rec__item { padding-right: 32px; }
  .hc-rec__go { right: 8px; }
}
@media (max-width: 1365px) {
  .hc-more { flex-direction: column; align-items: stretch; gap: 10px; }
  .hc-duo { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); }
  .hc-panel__body { grid-template-columns: minmax(0, 40fr) 72px minmax(0, 60fr); }
  .hc-fix { flex-direction: column; align-items: flex-start; }
  .hc-fix__icon { width: 64px; border-radius: 14px; }
  .hc-rec__more { padding-inline: 16px; font-size: 17px; }
}
@media (max-width: 1279px) {
  .hc-plate { padding-inline: 12px; }
}
/* 首屏改上下排：文字 → 展台 → 控制台 */
@media (max-width: 1099px) {
  .hv2-c main > section.hc-hero { padding-top: 112px; }
  .hc-hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "stage" "console"; row-gap: 22px; }
  .hc-hero__copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 28%); grid-template-areas: "eye plates" "h1 plates" "lead plates" "cta plates"; column-gap: clamp(24px, 4vw, 48px); row-gap: 14px; align-items: start; }
  .hc-hero__copy > .hc-eyebrow { grid-area: eye; } .hc-hero__copy > .hc-h1 { grid-area: h1; } .hc-hero__copy > .hc-lead { grid-area: lead; } .hc-hero__copy > .hc-btn { grid-area: cta; justify-self: start; }
  .hc-hero__copy > .hc-plates { grid-area: plates; align-self: center; grid-template-columns: minmax(0, 1fr); width: 100%; margin: 0; }
  .hc-h1 { font-size: clamp(36px, 5.4vw, 58px); }
  .hc-lead { max-width: 30em; }
  .hc-stage { justify-self: center; width: min(100%, max(320px, calc((100svh - 240px) * 1.42))); }
  .hc-hero__studio { background: radial-gradient(70% 34% at 50% 58%, #ffffffee 0%, #ffffff00 72%), radial-gradient(120% 90% at 50% 0%, #ffffff00 55%, #9fb4c826 100%); }
  .hc-console { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .hc-console__zone--rec::before { left: 4px; right: 4px; top: -10px; bottom: auto; width: auto; height: 2px; background: linear-gradient(180deg, #cfdbe6 50%, #fff 50%); }
  .hc-panel__body { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .hc-panel__flow { padding: 0; height: 54px; }
  .hc-duct { width: 18px; max-width: none; height: 54px; }
  .hc-duct::after { right: auto; left: 50%; top: auto; bottom: -2px; margin: 0 0 0 -9px; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 12px solid #4fc0f0; border-bottom: 0; }
  .hc-duct i { left: 50%; top: -12px; width: 4px; height: 20px; margin: 0 0 0 -2px; background: linear-gradient(180deg, #4fc0f000, #9fe4ff 60%, #fff); animation-name: hc-duct-v; }
  .hc-issues { grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hc-issue { align-items: flex-start; }
  .hc-more { flex-direction: column; align-items: stretch; }
  .hc-video { display: grid; grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); align-items: center; column-gap: var(--hc-pad); }
  .hc-video__cap { margin-top: 0; }
  .hc-steps-wrap { display: block; }
  .hc-steps__rail { display: none; }
  .hc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .hc-step { padding: 16px; border: 1px solid #dbe6ef; border-radius: 16px; background: linear-gradient(180deg, #fff, #f3f7fb); box-shadow: inset 0 -3px 0 #e1e9f1; }
  .hc-fix { flex-direction: row; align-items: center; }
  .hc-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: clamp(300px, 40vw, 420px) repeat(2, clamp(240px, 30vw, 320px)); }
  .hc-prod--lead { grid-row: auto; grid-column: 1 / -1; }
  .hc-duo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 899px) {
  .hc-head { flex-direction: column; align-items: flex-start; }
  .hc-fixes { grid-template-columns: minmax(0, 1fr); }
  .hc-rec { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: auto; grid-auto-rows: 88px; }
  .hc-rec__more { grid-column: 1 / -1; height: 54px; }
}
@media (max-width: 759px) {
  .hc-case { aspect-ratio: 4 / 3; max-height: none; }
  .hc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .hc-hero__copy { display: flex; align-items: flex-start; }
  .hc-hero__copy > .hc-plates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hc-issues { grid-template-columns: minmax(0, 1fr); }
  .hc-issue { align-items: center; }
  .hc-video { display: flex; }
  .hc-steps-wrap { display: flex; }
  .hc-steps__rail { display: block; }
  .hc-steps { display: flex; gap: 12px; }
  .hc-step { padding: 0; border: 0; background: none; box-shadow: none; }
  .hc-keys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hc-key { flex-direction: row; justify-content: flex-start; gap: 12px; height: 64px; padding: 4px 14px 0; }
  .hc-key.is-on { transform: translateY(2px); }
  .hc-key__led { top: 50%; margin-top: -5px; right: 12px; }
}
@media (max-width: 600px) {
  .hv2-c main > section.hc-hero { padding-top: 92px; padding-bottom: 20px; }
  .hc-h1 { font-size: clamp(33px, 9.4vw, 46px); }
  .hc-lead { font-size: 17px; line-height: 1.8; }
  .hc-hero__copy { gap: 16px; }
  .hc-hero__copy .hc-btn--lg { height: 58px; width: 100%; }
  .hc-plates { gap: 8px; }
  .hc-plate { padding: 10px 8px 9px 12px; }
  .hc-plate b { font-size: 22px; }
  .hc-plate span { font-size: 16px; white-space: normal; }
  .hc-stage__tag { position: relative; left: auto; top: auto; max-width: none; margin: 0 0 6px; flex-direction: column; }
  .hc-stage__tag b + span { padding-left: 0; }
  .hc-stage__tag b + span::before { display: none; }
  .hc-stage { aspect-ratio: auto; display: flex; flex-direction: column; }
  .hc-stage::before { content: ""; order: 2; display: block; width: 100%; aspect-ratio: 142 / 100; }
  .hc-stage__tag { order: 1; }
  .hc-poster, .hc-canvas { top: auto; bottom: 0; height: auto; aspect-ratio: 142 / 100; }
  .hc-pause { top: auto; bottom: calc((100vw - 32px) / 1.42 - 50px); }
  .hc-console { padding: 14px; }
  .hc-rec__item { flex-direction: column; justify-content: center; gap: 6px; padding: 8px; text-align: center; }
  .hc-rec { grid-auto-rows: auto; }
  .hc-rec__photo { height: 76px; width: 76px; }
  .hc-rec__go { display: none; }
  .hc-rec__name { font-size: 16px; }
  .hc-panel { padding: 18px; border-radius: 22px; }
  .hc-screw { width: 11px; height: 11px; } .hc-screw::after { top: 4.5px; }
  .hc-screw--tl, .hc-screw--bl { left: 7px; } .hc-screw--tr, .hc-screw--br { right: 7px; } .hc-screw--tl, .hc-screw--tr { top: 7px; } .hc-screw--bl, .hc-screw--br { bottom: 7px; }
  .hc-issue, .hc-fix { padding: 14px; gap: 14px; }
  .hc-fix { align-items: flex-start; }
  .hc-fix__icon { width: 58px; border-radius: 12px; border-bottom-width: 4px; }
  .hc-panel__foot { flex-direction: column; align-items: stretch; }
  .hc-panel__meter { display: none; }
  .hc-panel__foot .hc-btn { margin: 0; }
  .hc-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 300px repeat(2, 236px); gap: 12px; }
  .hc-prod__plate { left: 10px; right: 10px; bottom: 10px; max-width: none; padding: 7px 10px 6px; }
  .hc-prod__plate b { font-size: 17px; white-space: normal; }
  .hc-prod--lead .hc-prod__plate { right: 66px; }
  .hc-prod--lead .hc-prod__plate b { font-size: 22px; }
  .hc-prod:not(.hc-prod--lead) .hc-prod__go { display: none; }
  .hc-prod:not(.hc-prod--lead) .hc-prod__stage { inset: 8% 8% 34% 8%; }
  .hc-prod__plate small { font-size: 16px; }
  .hc-case { aspect-ratio: 4 / 4.2; }
  .hc-video, .hc-steps-card { padding: 18px; }
  .hc-end { grid-template-columns: minmax(0, 1fr) 88px; grid-template-areas: "copy art" "actions actions"; padding: 24px 18px; column-gap: 12px; }
  .hc-end__art { width: 88px; align-self: start; }
  .hc-end__actions { grid-template-columns: minmax(0, 1fr); }
  .hc-modal { padding: 12px; }
  .hc-modal__panel { padding: 8px; border-radius: 16px; }
  .hc-modal__close { right: -6px; top: -18px; }
}
@media (max-width: 379px) {
  .hc-plates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hc-plate { padding: 9px 6px 8px 9px; }
  .hc-plate b { font-size: 20px; }
  .hc-key { gap: 8px; padding-inline: 10px; }
  .hc-key__ico { width: 24px; }
  .hc-bento { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-rows: 250px; }
  .hc-prod:not(.hc-prod--lead) .hc-prod__go { display: grid; }
  .hc-prod:not(.hc-prod--lead) .hc-prod__plate { right: 66px; }
  .hc-prod:not(.hc-prod--lead) .hc-prod__stage { inset: 8% 8% 28% 8%; }
}
@keyframes hc-duct-v { from { transform: translateY(0); } to { transform: translateY(70px); } }

/* 說明句只在逗號後換行，不把「施工」等詞拆到兩行 */
.hv2-c .hc-lead .hc-keep{display:inline-block}

/* ===== 2026-10-03 審查修正 ===== */
/* 斷行：標題與品名平衡分行、段落避免最後一行只剩一個字 */
.hv2-c main :is(h2, h3, h4, b, strong, .hc-rec__name, .hc-plate span, .hc-act__text small) { text-wrap: balance; }
.hv2-c main :is(p, li) { text-wrap: pretty; }
/* 建議設備＝資訊小卡（不可點，連結只留「看〇〇方案」與產品區） */
.hv2-c .hc-rec__item--info { padding-right: 14px; border-bottom-width: 1px; box-shadow: inset 0 1px 0 #fff, 0 6px 14px -12px #1d4f7a59; cursor: default; }
.hv2-c .hc-rec__item--info:hover, .hv2-c .hc-rec__item--info:active { transform: none; border-bottom-width: 1px; box-shadow: inset 0 1px 0 #fff, 0 6px 14px -12px #1d4f7a59; }
/* 收尾卡按鈕：標題可換行，不壓到箭頭；窄寬度改成一欄 */
.hv2-c .hc-act__text b { white-space: normal; }
@media (max-width: 760px) { .hv2-c .hc-end__actions { grid-template-columns: minmax(0, 1fr); } }
/* 最窄手機：場域鍵右側留出指示燈的位置 */
@media (max-width: 359px) { .hv2-c .hc-key { padding-right: 30px; } }
/* 首屏控制台要完整留在第一個畫面內（含 2560×1270、1366×657 這類常見視窗） */
.hv2-c .hc-stage { width: min(100%, max(440px, calc((100svh - 352px) * 1.42))); }
@media (min-width: 1700px) { .hv2-c .hc-stage { width: min(100%, max(440px, calc((100svh - 384px) * 1.42))); } }
/* 矮視窗筆電（如 1366×657）：左欄字級與間距收一點，讓場域鍵留在第一個畫面 */
@media (min-width: 1100px) and (max-height: 700px) {
  .hv2-c .hc-h1 { font-size: clamp(34px, min(3.55vw, 6svh), 88px); }
  .hv2-c .hc-hero__copy { gap: 10px; }
  .hv2-c .hc-lead { line-height: 1.7; }
  .hv2-c .hc-stage { width: min(100%, max(400px, calc((100svh - 330px) * 1.42))); }
}
/* 收尾卡：1100～1599 寬時兩顆按鈕撐滿右側，不留空白 */
@media (max-width: 1599px) { .hv2-c .hc-end__actions { max-width: none; } }
/* 手機：建議設備照片放大一點，看得清楚 */
@media (max-width: 600px) { .hv2-c .hc-rec__photo { width: 92px; height: 92px; } }

/* ===== 2026-10-04 建議設備改為 2～4 項（工業廠房 4 項、農業溫室與畜牧養殖 3 項） ===== */
/* 品名只在詞與詞之間（<wbr>）換行；照片依項數縮小，整列高度與左邊場域鍵一致 */
.hc-console__zone--rec { container: hcrec / inline-size; }
.hc-rec__name { word-break: keep-all; overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .hc-rec[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
  .hc-rec[data-n="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
  /* 照片不超過列高（列高 clamp(88px, 5.6vw, 116px) 扣上下留白與框線） */
  .hc-rec[data-n="3"] .hc-rec__photo { width: min(clamp(44px, 9cqw, 94px), calc(clamp(88px, 5.6vw, 116px) - 18px)); height: min(clamp(44px, 9cqw, 94px), calc(clamp(88px, 5.6vw, 116px) - 18px)); }
  .hc-rec[data-n="4"] .hc-rec__photo { width: min(clamp(44px, calc(19cqw - 95px), 80px), calc(clamp(88px, 5.6vw, 116px) - 18px)); height: min(clamp(44px, calc(19cqw - 95px), 80px), calc(clamp(88px, 5.6vw, 116px) - 18px)); }
  /* 窄桌機橫排放不下四項：改成照片在上、品名在下的直立小卡，照片吃滿剩下的高度；
     間距與按鈕左右留白也收窄，最長的「固定式水冷機」才排得成一行 */
  @container hcrec (max-width: 759px) {
    .hc-rec[data-n="4"] { gap: 6px; }
    .hc-rec[data-n="4"] .hc-rec__more { padding-inline: 10px; }
    .hv2-c .hc-rec[data-n="4"] .hc-rec__item { flex-direction: column; justify-content: center; gap: 3px; padding: 5px 4px; text-align: center; }
    .hc-rec[data-n="4"] .hc-rec__photo { flex: 1 1 0; min-height: 0; width: auto; height: auto; max-height: 64px; aspect-ratio: 1; border-radius: 9px; }
    .hc-rec[data-n="4"] .hc-rec__name { font-size: 16px; line-height: 1.25; }
  }
}
@media (max-width: 899px) {
  .hc-rec[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .hv2-c .hc-rec[data-n="3"] .hc-rec__photo { width: min(92px, 100%); height: auto; aspect-ratio: 1; }
}
