/* =========================================================
   序境 SÉQUENCE｜樣式
   版面依設計稿（1536 × 1024）量測：導覽列 62px、首屏 34／66 分割（高 388px）、
   分類兩排四欄（每排約 112px）、精選系列左右 836／594px、左右留邊 37px。
   斷點：桌機 ≥1024、平板 640–1023、手機 <640。
   ========================================================= */
:root {
  --navy: #273844;
  --navy-2: #1f2e38;
  --navy-3: #324653;
  --paper: #F4F4F2;
  --paper-2: #ECECE9;
  --white: #FFFFFF;
  --red: #A45F58;
  --red-d: #8E4F49;
  --ink: #273844;
  --ink-2: #4C5A64;
  --muted: #6E7980;
  --soft: #EEF1F0;            /* 深色區柔白文字 */
  --soft-2: rgba(238, 241, 240, .72);
  --line: rgba(39, 56, 68, .16);
  --line-2: rgba(39, 56, 68, .28);
  --gl: 37px;                 /* 左右留邊（設計稿） */
  --nav-h: 62px;
  --zh: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --en: "Nunito Sans", "Helvetica Neue", Arial, var(--zh);
  --ease: cubic-bezier(.2, .6, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
html.lock { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.75 var(--zh); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
svg { display: block; }
.en { font-family: var(--en); font-style: normal; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { padding-inline: var(--gl); max-width: 1680px; margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; background: #fff; border: 1px solid var(--ink); }
.skip:focus { top: 10px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }

/* ---------- 共用：小標、按鈕 ---------- */
.eyebrow { display: flex; align-items: center; gap: 6px; color: var(--red); font-size: 13px; font-weight: 500; letter-spacing: .16em; line-height: 1.4; }
.eyebrow .en { font-weight: 600; letter-spacing: .18em; }
.eyebrow .slash { opacity: .8; }
.eyebrow.line::after { content: ""; width: 46px; height: 1px; background: currentColor; opacity: .45; margin-left: 22px; }
.btn-frame { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 0 16px; border: 1px solid rgba(238, 241, 240, .85); color: var(--soft); font-size: 14.5px; font-weight: 500; letter-spacing: .12em; white-space: nowrap; transition: background .2s var(--ease), border-color .2s, color .2s; }
.btn-frame svg { width: 13px; height: 13px; flex: none; transition: transform .2s var(--ease); }
.btn-frame:hover { background: rgba(238, 241, 240, .1); border-color: #fff; }
.btn-frame:hover svg { transform: translate(2px, -2px); }
.btn-frame.lg { min-height: 36px; padding: 0 26px; font-size: 15px; }
.btn-frame.dark { color: var(--ink); border-color: var(--ink); }
.btn-frame.dark:hover { background: var(--ink); color: var(--soft); }
.btn-solid { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 28px; background: var(--navy); color: var(--soft); font-weight: 500; letter-spacing: .12em; transition: background .2s; }
.btn-solid svg { width: 14px; height: 14px; }
.btn-solid:hover { background: var(--navy-2); }
.link-u { display: inline-flex; align-items: center; min-height: 36px; color: var(--soft); font-size: 14.5px; font-weight: 500; letter-spacing: .1em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; text-decoration-color: rgba(238, 241, 240, .7); transition: text-decoration-color .2s, color .2s; }
.link-u:hover { color: #fff; text-decoration-color: var(--red); }
.tag { display: inline-block; padding: 1px 8px; border: 1px solid var(--red); color: var(--red); font-size: 12px; letter-spacing: .08em; line-height: 1.6; }

/* ---------- 導覽列 ---------- */
.nav { position: sticky; top: 0; z-index: 60; background: var(--navy); color: var(--soft); border-bottom: 1px solid rgba(238, 241, 240, .1); }
.nav-in { height: var(--nav-h); display: flex; align-items: center; padding-left: 44px; padding-right: 26px; }
.logo { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; color: var(--soft); }
.logo-mark svg { width: 37px; height: 37px; }
.logo-txt { display: flex; flex-direction: column; line-height: 1; }
.logo-txt b { font-size: 21px; font-weight: 400; letter-spacing: .22em; margin-bottom: 7px; }
.logo-txt i { font-size: 11.5px; font-weight: 500; letter-spacing: .36em; }
.nav-menu { margin-left: auto; display: flex; align-items: center; }
.nav-menu ul { display: flex; align-items: center; }
.nav-menu li + li { border-left: 1px solid rgba(238, 241, 240, .22); }
.nav-menu ul a { display: inline-flex; align-items: center; min-height: 30px; padding: 0 26px; font-size: 15px; font-weight: 500; letter-spacing: .1em; transition: color .2s; position: relative; }
.nav-menu ul a::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: -8px; height: 1px; background: var(--red); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav-menu ul a:hover::after { transform: scaleX(1); }
.nav-cta { margin-left: 22px; border-bottom: 2px solid var(--red); min-height: 36px; padding: 0 14px 0 16px; font-size: 14px; }
.nav-tog { display: none; margin-left: auto; width: 44px; height: 44px; place-items: center; color: var(--soft); }
.nav-tog svg { width: 24px; height: 24px; }

/* ---------- 首頁主視覺 ---------- */
.hero { display: grid; grid-template-columns: 34.05% 1fr; height: clamp(388px, 25.26vw, 560px); background: var(--navy); }
.hero-copy { position: relative; overflow: hidden; background: var(--navy); color: var(--soft); isolation: isolate; }
/* 藍圖背景三層：底色（.hero-copy）＋方格網＋丈量草圖；不攔截點擊 */
.bp { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.bp-grid { position: absolute; inset: -40px;
  transform: translate3d(calc(var(--mx, 0) * -5px), calc(var(--py, 0) * .12px * var(--k, 1) + var(--my, 0) * -4px), 0);
  background-image:
    repeating-linear-gradient(0deg, rgba(214, 231, 240, .14) 0 1px, transparent 1px 110px),
    repeating-linear-gradient(90deg, rgba(214, 231, 240, .14) 0 1px, transparent 1px 110px),
    repeating-linear-gradient(0deg, rgba(214, 231, 240, .1) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(214, 231, 240, .1) 0 1px, transparent 1px 22px);
  background-position: -1px -1px; }
.bp-sketch { position: absolute; left: 6%; top: 10%; width: 125%; aspect-ratio: 980 / 820; transform: translate3d(calc(var(--mx, 0) * -16px), calc(var(--py, 0) * -.3px * var(--k, 1) + var(--my, 0) * -12px), 0) rotate(calc(-12deg + var(--py, 0) * .004deg * var(--k, 1))); transform-origin: 30% 40%; color: #D6E6EF; opacity: .8; will-change: transform; }
.bp-svg { width: 100%; height: 100%; }
.bp-svg .w path { stroke-width: 1.15; }
.bp-svg .f { opacity: .9; }
.bp-svg .d { opacity: .7; }
.bp-svg .a { stroke-dasharray: 18 5 2 5; opacity: .35; }
.bp-svg text { fill: currentColor; stroke: none; font: 500 12px/1 var(--en); text-anchor: middle; opacity: .7; }
.bp-veil { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(39, 56, 68, .3) 0%, rgba(39, 56, 68, .1) 50%, rgba(39, 56, 68, 0) 75%); }
.hero-txt { position: relative; padding: clamp(42px, 3.15vw, 64px) 28px 32px 68px; }
.hero .eyebrow { font-size: 14px; color: #C0726A; }
.hero .eyebrow::after { width: 46px; margin-left: 24px; }
.hero h1 { margin-top: 15px; font-size: clamp(32px, 2.36vw, 44px); font-weight: 400; line-height: 1.3; letter-spacing: .1em; }
.hero h1 span { display: block; }
.hero-lead { margin-top: 12px; font-size: clamp(14px, .95vw, 16px); letter-spacing: .08em; line-height: 1.75; color: var(--soft); }
.hero-act { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 16px; }
.hero-pic { position: relative; overflow: hidden; }
/* 視差：靜止時與設計稿同裁切；捲動時照片以較慢速度下移並微放大（始終填滿框），藍圖反向移動 */
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx); transform-origin: 50% 50%; transform: translate3d(0, calc(var(--py, 0) * .06px * var(--k, 1)), 0) scale(calc(1 + var(--py, 0) * .0005 * var(--k, 1))); will-change: transform; }
.hero-txt { transform: translate3d(0, calc(var(--py, 0) * -.08px * var(--k, 1)), 0); }
.hero-tag { position: absolute; right: 24px; bottom: 12px; color: rgba(255, 255, 255, .92); font-size: 11.5px; font-weight: 600; letter-spacing: .26em; text-shadow: 0 1px 6px rgba(0, 0, 0, .25); }
.hero-tag span { margin: 0 .5em; }

/* ---------- 八項產品分類 ---------- */
.cats { background: var(--paper); }
.cats-in { padding: 0 var(--gl); max-width: 1680px; margin: 0 auto; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cat-grid li { position: relative; }
.cat-grid li:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
.cat-grid li:not(:nth-child(4n+1))::before { content: ""; position: absolute; left: 0; top: 15px; bottom: 15px; width: 1px; background: var(--line); }
.cat { position: relative; width: 100%; height: 112px; display: grid; grid-template-columns: 136px auto; justify-content: center; align-items: center; column-gap: 28px; color: var(--ink); transition: background .25s; }
.cat:hover { background: rgba(255, 255, 255, .55); }
.cat-mark { position: absolute; left: 29px; top: 50%; width: 10px; height: 10px; margin-top: -9px; background: var(--red); transform: scale(0); transition: transform .25s var(--ease); }
.cat[aria-pressed="true"] .cat-mark { transform: scale(1); }
.cat-ic { width: 136px; height: 90px; color: var(--ink); transition: transform .3s var(--ease); }
.cat-ic svg { width: 100%; height: 100%; }
.cat:hover .cat-ic { transform: translateY(-2px); }
.cat-txt { display: flex; flex-direction: column; gap: 6px; min-width: 7.2em; }
.cat-txt b { font-size: 18px; font-weight: 500; letter-spacing: .14em; line-height: 1.3; }
.cat-txt i { font-size: 13px; font-weight: 400; letter-spacing: .2em; color: var(--muted); line-height: 1.3; }
.cat[aria-pressed="true"] .cat-txt b { color: var(--ink); }
.cat:focus-visible { outline-offset: -4px; }

/* ---------- 區段標題 ---------- */
.sec-h h2 { margin-top: 10px; font-size: clamp(24px, 1.75vw, 30px); font-weight: 500; letter-spacing: .14em; line-height: 1.45; }
.sec-h.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.sec-note { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); max-width: 520px; }
.sec-note .tag { flex: none; }

/* ---------- 精選系列 ---------- */
.coll { background: var(--paper); padding: 16px 0 40px; border-top: 1px solid transparent; }
.coll .sec-h .eyebrow::after { width: 150px; margin-left: 10px; }
.coll .sec-h h2 { font-size: clamp(24px, 1.72vw, 30px); margin-top: 4px; }
.coll-grid { display: grid; grid-template-columns: 836fr 594fr; gap: 31px; margin-top: 10px; }
.series-btn { display: block; width: 100%; color: var(--ink); }
.series-pic { display: block; overflow: hidden; aspect-ratio: 836 / 196; }
.series.sm .series-pic { aspect-ratio: 594 / 196; }
.series-pic img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx); transition: transform .8s var(--ease); }
.series-btn:hover .series-pic img { transform: scale(1.03); }
.series-name { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px 9px 18px; border-bottom: 1px solid var(--line-2); }
.series.sm .series-name { padding-left: 4px; }
.series-name b { font-size: 17.5px; font-weight: 500; letter-spacing: .18em; }
.arr { color: var(--red); width: 24px; transition: transform .25s var(--ease); }
.arr svg { width: 22px; height: 12px; }
.series-btn:hover .arr { transform: translateX(4px); }
.coll-note { margin-top: 8px; text-align: right; font-size: 11px; letter-spacing: .1em; color: var(--muted); }

/* ---------- 產品展示 ---------- */
.prod { background: var(--white); padding: 88px 0 96px; border-top: 1px solid var(--line); }
.prod-tabs { display: flex; flex-wrap: wrap; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tab { position: relative; padding: 14px 22px; font-size: 14.5px; letter-spacing: .1em; color: var(--ink-2); transition: color .2s; }
.tab + .tab::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 1px; background: var(--line); }
.tab::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .25s var(--ease); }
.tab:hover { color: var(--ink); }
.tab[aria-pressed="true"] { color: var(--ink); font-weight: 500; }
.tab[aria-pressed="true"]::after { transform: scaleX(1); }
.prod-cap { display: flex; align-items: baseline; gap: 12px; margin: 30px 0 20px; font-size: 18px; letter-spacing: .14em; }
.prod-cap b { font-weight: 500; }
.prod-cap .en { font-size: 12.5px; letter-spacing: .22em; color: var(--muted); }
.prod-cap .cnt { margin-left: auto; font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.pcard { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--paper); border: 1px solid var(--line); }
.pcard-pic { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.pcard-pic img, .pcard-pic .ph { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx); transition: transform .7s var(--ease); }
.pcard:hover .pcard-pic img { transform: scale(1.04); }
.pcard-body { display: flex; flex-direction: column; padding: 26px 26px 22px; }
.pcard-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--muted); letter-spacing: .1em; }
.pcard-meta .en { letter-spacing: .14em; }
.pcard h3 { margin-top: 12px; font-size: 19px; font-weight: 500; letter-spacing: .12em; line-height: 1.4; }
.pcard-desc { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }
.more { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding-top: 14px; font-size: 14.5px; font-weight: 500; letter-spacing: .12em; color: var(--ink); border-bottom: 1px solid transparent; }
.more svg { width: 22px; height: 12px; color: var(--red); transition: transform .25s var(--ease); }
.more:hover svg { transform: translateX(4px); }
.empty { display: grid; justify-items: center; gap: 16px; padding: 56px 20px; border: 1px dashed var(--line-2); text-align: center; color: var(--ink-2); }
.empty-ic { width: 120px; height: 80px; color: var(--muted); }

/* 照片待提供（可替換框） */
.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 100%; min-height: 120px; padding: 12px; color: var(--muted); text-align: center;
  background: repeating-linear-gradient(-45deg, rgba(39, 56, 68, .035) 0 1px, transparent 1px 12px), var(--paper-2); outline: 1px dashed var(--line-2); outline-offset: -10px; }
.ph-ic { width: min(120px, 60%); aspect-ratio: 3 / 2; }
.ph-ic svg { width: 100%; height: 100%; }
.ph-t { font-size: 13px; letter-spacing: .1em; }
.ph-k { font: 11px/1.4 ui-monospace, Menlo, monospace; color: var(--muted); opacity: .8; }

/* ---------- 品牌理念 ---------- */
.phil { background: var(--paper); padding: 120px 0; }
.phil-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 8vw; align-items: center; }
.phil-pics { position: relative; padding: 0 18% 14% 0; }
.phil-pics figure { overflow: hidden; }
.phil-a { aspect-ratio: 6 / 5; }
.phil-b { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 4 / 5; border: 10px solid var(--paper); box-sizing: content-box; }
.phil-pics img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx); transition: transform .9s var(--ease); }
.phil-pics figure:hover img { transform: scale(1.03); }
.phil-txt { max-width: 440px; }
.phil-txt h2 { margin-top: 22px; font-size: clamp(28px, 2.3vw, 38px); font-weight: 400; letter-spacing: .12em; line-height: 1.5; }
.phil-txt h2 span { display: block; }
.phil-txt > p:not(.eyebrow) { margin-top: 26px; font-size: 15.5px; line-height: 2.05; color: var(--ink-2); letter-spacing: .06em; }
.phil-tags { display: flex; margin-top: 36px; border-top: 1px solid var(--line); }
.phil-tags li { flex: 1; padding-top: 14px; font-size: 13px; letter-spacing: .2em; color: var(--muted); }
.phil-tags li + li { border-left: 1px solid var(--line); padding-left: 16px; }

/* ---------- 規劃服務 ---------- */
.svc { background: var(--white); padding: 100px 0; border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 44px; border-top: 1px solid var(--line); }
.step { position: relative; padding: 34px 32px 8px 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 28px; height: 1px; background: var(--red); }
.step + .step::before { left: 32px; }
.step-ic { display: block; width: 44px; height: 44px; color: var(--ink); }
.step-ic svg { width: 100%; height: 100%; }
.step-no { margin-top: 22px; color: var(--red); font-size: 14px; font-weight: 600; letter-spacing: .2em; }
.step h3 { margin-top: 4px; font-size: 19px; font-weight: 500; letter-spacing: .14em; }
.step p:last-child { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }

/* ---------- 預約諮詢 ---------- */
.book { background: var(--paper); padding: 100px 0 110px; border-top: 1px solid var(--line); }
.book-in { display: grid; grid-template-columns: 1fr 1.35fr; gap: 7vw; align-items: start; }
.book-txt h2 { margin-top: 14px; font-size: clamp(26px, 2.1vw, 34px); font-weight: 400; letter-spacing: .12em; line-height: 1.5; }
.book-txt > p:not(.eyebrow) { margin-top: 18px; color: var(--ink-2); line-height: 1.95; }
.book-txt .book-hint { margin-top: 24px; font-size: 13px; color: var(--muted); }
.req { color: var(--red); margin-left: 3px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; padding: 36px; background: var(--white); border: 1px solid var(--line); }
.field { display: grid; gap: 7px; align-content: start; }
.field.full, .form-foot.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; letter-spacing: .08em; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 0; background: var(--white); font-size: 15px; line-height: 1.6; transition: border-color .2s; -webkit-appearance: none; appearance: none; }
.field select { padding-right: 38px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23273844' stroke-width='1.2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(164, 95, 88, .22); }
.field [aria-invalid="true"] { border-color: var(--red); }
.err { min-height: 0; font-size: 13px; color: var(--red); }
.err:empty { display: none; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.status { font-size: 14px; line-height: 1.6; }
.status:empty { display: none; }
.status.info { padding: 10px 14px; border-left: 2px solid var(--red); background: var(--paper); color: var(--ink); }
.status.warn { color: var(--red); }

/* ---------- 頁尾 ---------- */
.foot { background: var(--navy); color: var(--soft); }
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.foot-brand p { margin-top: 20px; max-width: 300px; font-size: 14px; color: var(--soft-2); line-height: 1.9; }
.foot-col h2 { font-size: 14px; font-weight: 500; letter-spacing: .16em; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid rgba(238, 241, 240, .16); }
.foot-col li a { display: inline-flex; min-height: 34px; align-items: center; font-size: 14px; color: var(--soft-2); transition: color .2s; }
.foot-col li a:hover { color: #fff; }
.foot-col dl div { display: flex; gap: 14px; padding: 5px 0; font-size: 14px; }
.foot-col dt { color: var(--soft-2); min-width: 5.5em; }
.foot-col dd.tbd { color: rgba(238, 241, 240, .5); }
.foot-col dd.tbd::before { content: "（"; } .foot-col dd.tbd::after { content: "）"; }
.foot-base { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(238, 241, 240, .12); font-size: 12.5px; color: var(--soft-2); letter-spacing: .06em; }

/* ---------- 彈窗 ---------- */
.mdl { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.mdl-bg { position: absolute; inset: 0; background: rgba(23, 34, 42, .6); opacity: 0; transition: opacity .25s; }
.mdl-box { position: relative; width: min(980px, 100%); max-height: calc(100dvh - 48px); overflow: auto; background: var(--white); color: var(--ink); opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .3s var(--ease); overscroll-behavior: contain; }
.mdl.in .mdl-bg { opacity: 1; }
.mdl.in .mdl-box { opacity: 1; transform: none; }
.mdl-series .mdl-box { width: min(860px, 100%); }
.mdl-h { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 28px 18px; background: var(--white); border-bottom: 1px solid var(--line); }
.mdl-h h2 { margin-top: 6px; font-size: 24px; font-weight: 500; letter-spacing: .14em; }
.mdl-x { width: 44px; height: 44px; margin: -8px -10px 0 0; display: grid; place-items: center; color: var(--ink); flex: none; }
.mdl-x svg { width: 22px; height: 22px; }
.mdl-x:hover { color: var(--red); }
.mdl-body { padding: 24px 28px 30px; }
.mdl-pic { aspect-ratio: 836 / 260; overflow: hidden; }
.mdl-pic img, .mdl-pic .ph { width: 100%; height: 100%; object-fit: cover; }
.mdl-lead { margin-top: 20px; line-height: 1.95; color: var(--ink-2); }
.ticks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.ticks li { padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; }
.ticks li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--red); margin-right: 8px; vertical-align: 2px; }
.mdl-sub { margin-top: 28px; font-size: 15px; font-weight: 500; letter-spacing: .14em; }
.mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.mini button { width: 100%; display: grid; grid-template-columns: 96px 1fr 24px; align-items: center; gap: 14px; padding: 8px 12px 8px 8px; border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.mini button:hover { border-color: var(--ink-2); background: var(--paper); }
.mini button > svg { width: 22px; height: 12px; color: var(--red); }
.mini-pic { aspect-ratio: 3 / 2; overflow: hidden; }
.mini-pic img, .mini-pic .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; padding: 4px; }
.mini-pic .ph-t, .mini-pic .ph-k { display: none; }
.mini-t { display: grid; gap: 2px; }
.mini-t small { font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.mini-t b { font-weight: 500; letter-spacing: .08em; }
.mdl-note { margin-top: 18px; font-size: 12.5px; color: var(--muted); }
.pd { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.pd-main { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.pd-main img, .pd-main .ph { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx); }
.thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumbs button { width: 84px; aspect-ratio: 3 / 2; overflow: hidden; border: 1px solid transparent; opacity: .6; transition: opacity .2s; }
.thumbs button[aria-pressed="true"] { border-color: var(--red); opacity: 1; }
.thumbs button:hover { opacity: 1; }
.thumbs img, .thumbs .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.thumbs .ph-t, .thumbs .ph-k { display: none; }
.pd-desc { margin-top: 14px; line-height: 1.9; color: var(--ink-2); }
.spec { margin-top: 18px; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec dt { color: var(--muted); letter-spacing: .08em; }
.spec dd.tbd { color: var(--red); }
.pd-info .btn-solid { margin-top: 20px; width: 100%; }

/* ---------- 進場動畫（克制） ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.seen { opacity: 1; transform: none; }
.steps .step.reveal:nth-child(2) { transition-delay: .08s; }
.steps .step.reveal:nth-child(3) { transition-delay: .16s; }
.steps .step.reveal:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero { --k: 0; --mx: 0 !important; --my: 0 !important; }
  .hero-img { transform: none; }
}

/* =========================================================
   平板與手機
   ========================================================= */
@media (max-width: 1279px) {
  .nav-menu ul a { padding: 0 18px; }
  .nav-menu ul a::after { left: 18px; right: 18px; }
  .cat { grid-template-columns: 104px auto; column-gap: 20px; }
  .cat-ic { width: 104px; height: 69px; }
  .cat-txt b { font-size: 17px; }
  .cat-mark { left: 16px; }
  .hero-txt { padding-left: 44px; }
  .pcard { grid-template-columns: 1fr; }
}

@media (max-width: 1023px) {
  :root { --gl: 28px; --nav-h: 60px; }
  .nav-in { padding-left: 24px; padding-right: 14px; }
  .logo { gap: 16px; }
  .nav-tog { display: grid; }
  .nav-menu { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; padding: 8px 24px 24px; background: var(--navy); border-top: 1px solid rgba(238, 241, 240, .12); box-shadow: 0 18px 30px rgba(0, 0, 0, .18); }
  .menu-open .nav-menu { display: flex; }
  .nav-menu ul { flex-direction: column; align-items: stretch; }
  .nav-menu li + li { border-left: 0; border-top: 1px solid rgba(238, 241, 240, .14); }
  .nav-menu ul a { display: flex; min-height: 54px; padding: 0 4px; font-size: 16px; }
  .nav-menu ul a::after { display: none; }
  .nav-cta { margin: 16px 0 0; min-height: 48px; font-size: 15px; }

  .hero { grid-template-columns: 1fr; height: auto; }
  .hero-copy { min-height: 380px; }
  .hero-txt { padding: 56px var(--gl) 60px; }
  .bp-sketch { left: 26%; top: 2%; width: 92%; }
  .bp-veil { background: linear-gradient(100deg, rgba(39, 56, 68, .7) 0%, rgba(39, 56, 68, .4) 60%, rgba(39, 56, 68, .1) 100%); }
  .hero-pic { aspect-ratio: 16 / 9; }
  .hero-img { object-position: var(--fm); }
  .hero { --k: .7; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid li:nth-child(-n+4) { border-bottom: 0; }
  .cat-grid li:nth-child(-n+6) { border-bottom: 1px solid var(--line); }
  .cat-grid li::before { display: none; }
  .cat-grid li:nth-child(2n)::before { display: block; content: ""; position: absolute; left: 0; top: 15px; bottom: 15px; width: 1px; background: var(--line); }
  .cat { height: 108px; }

  .coll { padding-top: 48px; }
  .coll-grid { grid-template-columns: 1fr; gap: 28px; }
  .series-pic, .series.sm .series-pic { aspect-ratio: 16 / 7; }
  .series-name { padding-left: 4px; }

  .prod { padding: 72px 0; }
  .pgrid { gap: 20px; }
  .phil { padding: 88px 0; }
  .phil-in { grid-template-columns: 1fr; gap: 48px; }
  .phil-txt { max-width: 600px; }
  .svc { padding: 80px 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .step:nth-child(3)::before { left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .step { padding-bottom: 32px; }
  .book { padding: 80px 0; }
  .book-in { grid-template-columns: 1fr; gap: 36px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .pd { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 639px) {
  :root { --gl: 20px; --nav-h: 58px; }
  body { font-size: 15px; }
  .nav-in { padding-left: 18px; padding-right: 8px; }
  .logo-mark svg { width: 32px; height: 32px; }
  .logo-txt b { font-size: 18px; margin-bottom: 6px; }
  .logo-txt i { font-size: 10.5px; }
  .nav-menu { padding-inline: 20px; }

  .hero-copy { min-height: 0; }
  .hero-txt { padding: 44px var(--gl) 48px; }
  .hero h1 { font-size: 30px; letter-spacing: .08em; margin-top: 14px; }
  .hero-lead { font-size: 15px; letter-spacing: .04em; margin-top: 14px; }
  .hero-act { gap: 12px 26px; margin-top: 24px; }
  .hero-act .btn-frame { min-height: 46px; }
  .hero-act .link-u { min-height: 46px; }
  .bp-sketch { left: 8%; top: 22%; width: 150%; }
  .bp-veil { background: linear-gradient(180deg, rgba(39, 56, 68, .55) 0%, rgba(39, 56, 68, .35) 60%, rgba(39, 56, 68, .2) 100%); }
  .hero-pic { aspect-ratio: 4 / 3; }
  .hero { --k: .4; }
  .hero-tag { right: 14px; bottom: 10px; font-size: 10px; letter-spacing: .2em; }

  .cats-in { padding: 0 8px; }
  .cat { height: auto; min-height: 150px; padding: 22px 6px 18px; grid-template-columns: 1fr; justify-items: center; row-gap: 10px; text-align: center; }
  .cat-ic { width: 96px; height: 64px; }
  .cat-txt { align-items: center; min-width: 0; gap: 4px; }
  .cat-txt b { font-size: 16px; letter-spacing: .12em; }
  .cat-txt i { font-size: 11px; letter-spacing: .16em; }
  .cat-mark { left: 14px; top: 20px; margin-top: 0; width: 8px; height: 8px; }

  .sec-h h2, .book-txt h2 { font-size: 23px; letter-spacing: .1em; }
  .eyebrow.line::after { width: 32px; margin-left: 14px; }
  .coll .sec-h .eyebrow::after { width: 60px; }
  .coll { padding: 40px 0 32px; }
  .series-pic, .series.sm .series-pic { aspect-ratio: 3 / 2; }
  .series-name b { font-size: 16px; letter-spacing: .14em; }
  .series-name { min-height: 50px; }

  .prod { padding: 60px 0; }
  .prod-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 24px calc(var(--gl) * -1) 0; padding: 0 calc(var(--gl) - 14px); scrollbar-width: none; }
  .prod-tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; padding: 13px 14px; font-size: 14px; }
  .tab::after { left: 14px; right: 14px; }
  .prod-cap { flex-wrap: wrap; font-size: 16px; }
  .pgrid { grid-template-columns: 1fr; }
  .pcard-body { padding: 20px 20px 16px; }
  .pcard h3 { font-size: 18px; }

  .phil { padding: 64px 0; }
  .phil-pics { padding: 0 14% 18% 0; }
  .phil-b { width: 46%; border-width: 6px; }
  .phil-txt h2 { font-size: 28px; }
  .phil-tags li { letter-spacing: .12em; }
  .phil-tags li + li { padding-left: 10px; }

  .svc { padding: 64px 0; }
  .steps { grid-template-columns: 1fr; margin-top: 28px; }
  .step, .step + .step { padding: 24px 0 24px 64px; border-left: 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  .step::before, .step + .step::before { left: 0; }
  .step-ic { position: absolute; left: 0; top: 26px; width: 40px; height: 40px; }
  .step-no { margin-top: 0; }

  .book { padding: 64px 0; }
  .form { grid-template-columns: 1fr; padding: 22px 18px; gap: 16px; }
  .form-foot .btn-solid { width: 100%; }
  .foot-in { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
  .foot-base { flex-direction: column; }

  .mdl { padding: 0; place-items: end stretch; }
  .mdl-box { width: 100%; max-height: 92dvh; }
  .mdl-h { padding: 18px 18px 14px; }
  .mdl-h h2 { font-size: 20px; }
  .mdl-body { padding: 18px 18px 26px; }
  .ticks { grid-template-columns: 1fr; }
  .mini { grid-template-columns: 1fr; }
  .mdl-pic { aspect-ratio: 16 / 9; }
}
