/* DISP-139：僅覆蓋頁首 Logo 與型錄下載區。 */
.brand img{width:166px;height:auto;display:block}.brand span{margin-top:2px}.topbar{min-height:96px}.catalog-download{margin-top:80px;padding:52px;background:#fff}.catalog-download__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;list-style:none;margin:28px 0 0;padding:0}.catalog-download__list li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid var(--line)}.catalog-download__list span{font-size:15px;color:#666}@media(max-width:720px){.topbar{min-height:82px}.brand img{width:144px;height:auto}.catalog-download{margin-top:52px;padding:32px 22px}.catalog-download__list{grid-template-columns:1fr}.catalog-download__list li{align-items:flex-start;flex-direction:column}}

/* DISP-144：首頁版面改為滿版背景與 1280px 文字欄；共用按鈕與系列圖比例同步校正。 */
.topbar,.site-footer__inner,.site-footer__bottom{width:min(1280px,calc(100% - 64px));margin-inline:auto}
.site-main{width:100%;margin:0;padding:0}
.wrap{width:min(1280px,calc(100% - 64px));margin-inline:auto}
.hero,.collection,.cta,.service-process{width:100%;padding-inline:0;border-radius:0}
.hero{position:relative;height:100vh;min-height:0;overflow:hidden;display:flex;align-items:center;color:#fff;background:#1a1a19}
.hero__img,.hero__overlay{position:absolute;inset:0;width:100%;height:100%}
.hero__img{object-fit:cover;max-width:none}.hero__overlay{background:rgb(0 0 0 / .4)}
.hero__content{position:relative;z-index:1;display:flex;height:100%;min-height:0;flex-direction:column;justify-content:center;padding-block:0}
.hero__content>div{max-width:768px}.hero .eyebrow{margin:0 0 16px;color:#ffffffcc;font-size:clamp(12px,1vw,16px);font-weight:400;letter-spacing:.3em}.hero h1{margin:0 0 32px;font-size:clamp(40px,6.2vw,92px);line-height:1.1}.hero__em{display:block;font-family:var(--serif);font-style:italic}.hero__lead{max-width:640px;margin:0;color:#ffffffe6;font-size:clamp(18px,1.45vw,21px);font-weight:300;line-height:1.65}.hero__scroll{position:absolute;bottom:40px;left:calc(50% - .5px);z-index:1;width:1px;height:64px;background:#ffffff80}
.actions{gap:16px;margin-top:40px}.button{padding:16px 32px;border:1px solid #1a1a19;border-radius:0;background:#1a1a19;color:#fff;font-size:16px;font-weight:500;letter-spacing:.05em;text-decoration:none;transition:background-color .25s ease,color .25s ease,border-color .25s ease}.button:hover,.button:focus{border-color:#34322d;background:#34322d}.button--line{border-color:#fff;background:transparent;color:#fff}.button--line:hover,.button--line:focus{border-color:#fff;background:#ffffffe6;color:#1a1a19}
.split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px;align-items:center;padding:128px max(32px,calc((100vw - 1280px) / 2))}.split>.wrap{display:contents}.split__content{order:2}.split__media{order:1;overflow:hidden;aspect-ratio:4/5}.split__media img{width:100%;height:100%;min-height:0;object-fit:cover;transition:transform .7s ease}.split__media:hover img{transform:scale(1.05)}.split h2::after{display:block;width:80px;height:1px;margin-top:28px;background:#1a1a19;content:""}.split ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:36px 0;padding:0;list-style:none}.split li{font-size:16px}.split .button{margin-top:8px}
.collection{padding-block:96px;background:#f4f4f2;text-align:left}.collection__heading{max-width:768px;margin:0 auto 64px;text-align:center}.collection__heading .eyebrow{color:#858481}.collection__heading h2{margin-bottom:0}.cards{gap:32px}.cards article{padding:0;border:0;background:none}.cards__image{position:relative;overflow:hidden;aspect-ratio:3/4;margin-bottom:24px}.cards__image::after{position:absolute;inset:0;background:#0003;content:"";transition:background-color .5s ease}.cards article:hover .cards__image::after{background:transparent}.cards img{width:100%;height:100%;object-fit:cover;transition:transform .7s ease}.cards article:hover img{transform:scale(1.05)}.cards article h3,.cards article p{margin-right:0;margin-left:0}.cards article h3{margin-top:0;margin-bottom:8px;font-size:28px}.cards article p{color:#666;font-size:16px}.collection__action{margin:48px 0 0;text-align:center}
.service-process{padding-block:128px;background:#1a1a19;color:#fff}.service-process__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px;align-items:center}.service-process__intro .eyebrow{color:#ffffffb3}.service-process__intro h2{font-size:clamp(38px,4vw,56px)}.service-process__steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.service-process__step{aspect-ratio:1;padding:24px;border:1px solid #ffffff1a;background:#ffffff0d}.service-process__number{display:block;font:400 clamp(34px,3vw,48px)/1 var(--serif);color:#fff}.service-process__step h3{margin:24px 0 8px;color:#fff;font-size:22px}.service-process__step p{margin:0;color:#ffffff80;font-size:15px}
.cta{position:relative;overflow:hidden;padding-block:128px;color:#fff;background:#1a1a19;text-align:center}.cta__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.2;filter:grayscale(1)}.cta__content{position:relative;z-index:1;max-width:768px}.cta .eyebrow{color:#ffffffb3}.cta p:not(.eyebrow){max-width:640px;margin-inline:auto}.cta .button{border-color:#fff;background:#fff;color:#1a1a19}.cta .button:hover,.cta .button:focus{background:#f8f8f7;border-color:#f8f8f7}
.series-card{background:transparent}.series-card img{height:auto;min-height:0;aspect-ratio:4/3;object-fit:cover}
@media(max-width:720px){.topbar,.site-footer__inner,.site-footer__bottom,.wrap{width:min(100% - 40px,1280px)}.site-main{width:100%;padding:0}.hero{height:100svh;min-height:0}.hero__content{height:100%;min-height:0;padding-block:0}.hero__scroll{bottom:24px}.split,.service-process__grid{grid-template-columns:1fr;gap:40px}.split{padding-block:96px}.split__content,.split__media{order:initial}.split ul{grid-template-columns:1fr;gap:16px}.cards{grid-template-columns:1fr;gap:42px}.collection{padding-block:96px}.service-process{padding-block:96px}.service-process__steps{gap:12px}.service-process__step{padding:18px}.cta{padding-block:96px}}

/* DISP-144D（程寶⚙️分身 2026-09-03 18:4x）：首頁導覽列改透明浮層、拆掉母主題頁首留白與 90px 區塊間距、系列卡 6 張。只用 body.home 限定，內頁沿用既有樣式。 */
body.home .site-header{position:absolute;top:0;right:0;left:0;z-index:20;width:100%;max-width:none;margin:0;padding:0;border-bottom:0;background:transparent;box-shadow:none;backdrop-filter:none;transition:background-color .3s ease,box-shadow .3s ease}
body.home .topbar{min-height:80px}
body.home .site-header .brand,body.home .site-header .primary-menu a,body.home .site-header .menu-toggle{color:#fff}
body.home .site-header .brand img{filter:brightness(0) invert(1)}
body.home .site-header .menu-toggle{padding:0;background:none}
body.home .site-header .primary-menu a:hover,body.home .site-header .primary-menu .current-menu-item a{color:#ffffffb3}
body.home .site-header.is-scrolled{position:fixed;border-bottom:1px solid var(--line);background:#f8f8f7f2;backdrop-filter:blur(8px)}
body.home .site-header.is-scrolled .brand,body.home .site-header.is-scrolled .primary-menu a,body.home .site-header.is-scrolled .menu-toggle{color:#1a1a19}
body.home .site-header.is-scrolled .brand img{filter:none}
body.home .site-header.is-scrolled .primary-menu a:hover,body.home .site-header.is-scrolled .primary-menu .current-menu-item a{color:#858481}
/* DISP-148：內頁沿用既有 1280px 節奏，不影響首頁的滿版專用區塊。 */
body:not(.home) .page-intro,body:not(.home) .number-intro,body:not(.home) .split,body:not(.home) .timeline,body:not(.home) .values,body:not(.home) .service-spirit,body:not(.home) .vision,body:not(.home) .contact-grid,body:not(.home) .form-panel,body:not(.home) .case-filter,body:not(.home) .case-grid,body:not(.home) .series-list{width:min(1280px,calc(100% - 64px));margin-inline:auto}
body:not(.home) .page-intro{padding-top:88px;text-align:center}body:not(.home) .number-intro{margin-top:0}.page-intro+.number-intro{margin-top:0}
body:not(.home) .split{padding:96px 0;gap:64px}.split>.split__content{display:block;width:auto;margin-inline:0}.split__media{aspect-ratio:4/3}.split__media img{min-height:0}
body:not(.home) .timeline{position:relative;display:block;background:none}.timeline::before{position:absolute;top:0;bottom:0;left:50%;width:1px;background:var(--line);content:""}.timeline li{position:relative;width:45%;margin-bottom:36px;padding:34px;background:#fff}.timeline li::before{position:absolute;top:42px;width:13px;height:13px;border:3px solid var(--paper);border-radius:50%;background:var(--ink);content:""}.timeline li:nth-child(odd){margin-right:auto;text-align:right}.timeline li:nth-child(odd)::before{right:-13%;}.timeline li:nth-child(even){margin-left:auto}.timeline li:nth-child(even)::before{left:-13%}.timeline strong{position:relative;z-index:0;font-size:clamp(30px,4vw,54px)}.timeline strong::first-letter{color:var(--ink)}
body:not(.home) .factory-gallery{width:min(1280px,calc(100% - 64px));display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:0 auto 96px}.factory-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover}
body:not(.home) .series-list{gap:128px}.series-card__media{display:block;overflow:hidden;aspect-ratio:4/3}.series-card__media img{width:100%;height:100%;min-height:0;aspect-ratio:4/3;object-fit:cover}.series-card__copy{align-self:center}
.series-navigation{display:flex;justify-content:space-between;gap:24px;margin:64px 0}.series-navigation a{display:flex;flex-direction:column;gap:6px;text-decoration:none}.series-navigation a:last-child{text-align:right;margin-left:auto}.series-navigation span{font:400 22px/1.2 var(--serif)}
@media(max-width:720px){body:not(.home) .page-intro,body:not(.home) .number-intro,body:not(.home) .split,body:not(.home) .timeline,body:not(.home) .values,body:not(.home) .service-spirit,body:not(.home) .vision,body:not(.home) .contact-grid,body:not(.home) .form-panel,body:not(.home) .case-filter,body:not(.home) .case-grid,body:not(.home) .series-list,body:not(.home) .factory-gallery{width:min(100% - 40px,1280px)}body:not(.home) .page-intro{padding-top:56px}body:not(.home) .split{padding:64px 0}.timeline::before{left:7px}.timeline li,.timeline li:nth-child(odd),.timeline li:nth-child(even){width:auto;margin:0 0 20px 26px;text-align:left}.timeline li::before,.timeline li:nth-child(odd)::before,.timeline li:nth-child(even)::before{top:38px;left:-26px;right:auto}.factory-gallery{grid-template-columns:1fr 1fr;margin-bottom:64px}body:not(.home) .series-list{gap:64px}.series-navigation{flex-direction:column;margin:44px 0}.series-navigation a:last-child{text-align:left;margin-left:0}}
/* 母主題給 site-main 每個子元素 90px 上下外距；wpautop 產生的那顆空 <p> 把 90px 折疊到首圖上方，變成一條米白帶。
   兩道一起關：flow-root 擋外距穿透 body，>* 把子元素（含空 <p>）的上下外距歸零。 */
body.home .site-main{display:flow-root}
body.home .site-main>*{margin-block:0}
.hero__img{z-index:0}.hero__overlay{z-index:1}
.hero::before{position:absolute;inset:0;z-index:2;background:linear-gradient(180deg,rgb(0 0 0 / .45),rgb(0 0 0 / .15) 38%,rgb(0 0 0 / 0) 62%);content:"";pointer-events:none}
.hero__content{z-index:3}.hero__scroll{z-index:3}
.split{padding-block:96px}
.collection{padding-block:96px}
.service-process{padding-block:112px}
.cta{padding-block:112px}
/* .split>.wrap{display:contents} 把首頁品牌介紹的文字欄整個溶掉，段落各自變成 grid item，兩欄版型才會散開；文字欄不要溶。 */
.split>.wrap.split__content{display:block;width:auto;margin-inline:0}
/* 卡片圖外框是 <a>，預設 inline 會讓 aspect-ratio 失效、標題與說明溢出卡片壓到下一列。 */
.cards__image{display:block}
.cards{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:56px;align-items:start}
@media(max-width:1024px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){
body.home .topbar{min-height:72px}
body.home .site-header .primary-menu{top:72px;border-bottom:0;background:#1a1a19f2}
body.home .site-header.is-scrolled .primary-menu{background:var(--paper)}
.split,.collection,.service-process,.cta{padding-block:80px}
.cards{grid-template-columns:1fr;row-gap:42px}
}

/* DISP-149：派工單指定的三處內頁差異；不改動其他首頁或卡片版型。 */
body:not(.home) .timeline li{isolation:isolate;overflow:visible}
body:not(.home) .timeline__year-bg{position:absolute;z-index:-1;top:-.42em;font:400 clamp(80px,10vw,160px)/1 var(--serif);color:rgb(52 50 45 / .1);letter-spacing:-.06em;pointer-events:none;user-select:none}
body:not(.home) .timeline li:nth-child(odd) .timeline__year-bg{right:-.15em}
body:not(.home) .timeline li:nth-child(even) .timeline__year-bg{left:-.15em}
body:not(.home) .timeline__year{display:block;margin:0 0 9px;color:#858481;font-size:14px;font-weight:700;letter-spacing:.16em}
body:not(.home) .timeline strong{font-size:clamp(27px,2.5vw,39px)}
body:not(.home) .timeline strong::first-letter{color:inherit}
body:not(.home) .values,body:not(.home) .service-spirit,body:not(.home) .vision{width:100vw;position:relative;left:50%;right:50%;margin:96px -50vw 0;padding:96px max(32px,calc((100vw - 1280px) / 2));background:var(--forest);color:#fff;text-align:center}
body:not(.home) .values .eyebrow,body:not(.home) .service-spirit .eyebrow,body:not(.home) .vision .eyebrow{color:#ffffffb3}
body:not(.home) .values h2,body:not(.home) .service-spirit h2,body:not(.home) .vision h2{margin-bottom:48px;color:#fff}
body:not(.home) .values .cards,body:not(.home) .service-spirit .cards,body:not(.home) .vision .cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px;max-width:1280px;margin:0 auto;text-align:center}
body:not(.home) .values .cards article,body:not(.home) .service-spirit .cards article,body:not(.home) .vision .cards article{padding:0;background:transparent;color:#fff}
body:not(.home) .values .cards h3,body:not(.home) .service-spirit .cards h3,body:not(.home) .vision .cards h3{margin:0 0 14px;color:#fff}
body:not(.home) .values .cards p,body:not(.home) .service-spirit .cards p,body:not(.home) .vision .cards p{margin:0;color:#ffffffbf}
body:not(.home) .vision>p:last-child{max-width:680px;margin:42px auto 0;color:#ffffffbf}
.detail-page>.wp-post-image{width:100vw;max-width:none;position:relative;left:50%;right:50%;margin:0 -50vw;max-height:600px;object-fit:cover}
@media(max-width:720px){body:not(.home) .timeline__year-bg{top:-.2em;font-size:clamp(72px,24vw,112px)}body:not(.home) .timeline li:nth-child(odd) .timeline__year-bg,body:not(.home) .timeline li:nth-child(even) .timeline__year-bg{left:-.1em;right:auto}body:not(.home) .values,body:not(.home) .service-spirit,body:not(.home) .vision{margin-top:64px;padding:72px 20px}body:not(.home) .values .cards,body:not(.home) .service-spirit .cards,body:not(.home) .vision .cards{grid-template-columns:1fr;gap:36px}.detail-page>.wp-post-image{max-height:420px}}

/* ===== DISP-152 內頁統一設計系統（品牌故事／系列列表／系列詳情／案例詳情） =====
   規格：outputs/disp152_baoge_inner_design_system/SPEC.md
   圖片比例只准三種：頁首橫幅 21:9、卡片與圖廊 4:3、直式產品照 3:4。 */

/* 根因 1：wpautop 產生的空 <p> 會把母主題 90px 外距折疊到區塊上方，形成無來由的白帶。 */
body:not(.home) .site-main{display:flow-root}
body:not(.home) .site-main>p:empty{display:none}

/* 根因 3：包圖的 <a> 預設 display:inline，會讓 aspect-ratio 整條失效。 */
body:not(.home) a:has(>img),body:not(.home) .series-card__media,body:not(.home) .case-card a{display:block}

/* ---- 通用：頁首橫幅 21:9 滿版 ---- */
.page-hero{width:100%;aspect-ratio:21/9;max-height:56vh;overflow:hidden;margin:0 0 clamp(56px,6vw,80px)}
.page-hero img{width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;display:block}

/* ---- 詳情頁：系列 9 頁與案例 4 頁共用同一套樣板 ---- */
body:not(.home) .detail-page{max-width:none;width:100%;margin:0;padding:0}
body:not(.home) .detail-page>*:not(.page-hero){width:min(1280px,calc(100% - 64px));margin-inline:auto}
body:not(.home) .detail-page .page-intro{max-width:820px;padding-top:0;padding-bottom:clamp(56px,6vw,72px);text-align:center}
body:not(.home) .detail-page .page-intro h1{margin-bottom:18px}
body:not(.home) .detail-page .page-intro>p{margin:0 auto;color:#5f5d57}
body:not(.home) .detail-page .detail-meta{margin:0 0 14px;color:#858481;font-size:16px;font-weight:700;letter-spacing:.06em}

/* 圖廊：3 欄等距、同比例 4:3 裁切；張數不足時樣板自動改 2 欄。 */
body:not(.home) .detail-gallery{padding-top:0;margin-bottom:clamp(72px,8vw,96px)}
body:not(.home) .detail-gallery h2{margin-bottom:32px;text-align:center}
body:not(.home) .gallery-grid{display:grid;grid-template-columns:repeat(var(--gallery-cols,3),minmax(0,1fr));gap:24px}
body:not(.home) .gallery-item{margin:0;overflow:hidden;aspect-ratio:4/3;background:#eceae5}
body:not(.home) .gallery-item img{width:100%;height:100%;max-width:none;min-height:0;aspect-ratio:4/3;object-fit:cover;transition:transform .7s ease}
body:not(.home) .gallery-item:hover img{transform:scale(1.05)}

/* 上下則導覽 */
body:not(.home) .detail-nav{display:flex;justify-content:space-between;gap:24px;margin:0 auto clamp(48px,5vw,64px);padding-top:40px;border-top:1px solid var(--line)}
body:not(.home) .detail-nav a{display:flex;flex-direction:column;gap:6px;font-size:14px;letter-spacing:.12em;color:#858481;text-decoration:none}
body:not(.home) .detail-nav a span{font:400 22px/1.25 var(--serif);color:var(--ink)}
body:not(.home) .detail-nav__next{margin-left:auto;text-align:right}
body:not(.home) .detail-cta{margin:0 auto clamp(72px,8vw,96px);text-align:center}

/* 型錄下載：4 本一列 */
body:not(.home) .catalog-download{margin-top:0;margin-bottom:clamp(72px,8vw,96px);padding:clamp(40px,5vw,56px);background:#fff}
body:not(.home) .catalog-download__list{display:flex;flex-wrap:wrap;justify-content:center}body:not(.home) .catalog-download__list li{flex:0 1 calc((100% - 28px)/3)}

/* ---- 品牌故事 /about/ ---- */
body:not(.home) .page-hero+.page-intro{padding-top:0}
body:not(.home) .split__media{aspect-ratio:4/3;overflow:hidden}
body:not(.home) .split__media img{width:100%;height:100%;max-width:none;min-height:0;object-fit:cover;transition:transform .7s ease}
body:not(.home) .split__media:hover img{transform:scale(1.05)}
/* 根因 2：display:contents 會把文字欄溶掉，段落各自變 grid item 左右散開。 */
body:not(.home) .split>.split__content{display:block;width:auto;margin-inline:0;align-self:center}
body:not(.home) .factory-gallery{gap:24px}
body:not(.home) .factory-gallery img{aspect-ratio:4/3;max-width:none;min-height:0;object-fit:cover}
body:not(.home) .factory-caption{width:min(1280px,calc(100% - 64px));margin:0 auto 28px}
body:not(.home) .factory-caption h2{margin-bottom:0}

/* ---- 系列列表 /products/ ---- */
body:not(.home) .series-list{gap:96px}
body:not(.home) .series-card{display:grid;grid-template-columns:46% 1fr;gap:64px;align-items:center;background:none;padding:0}
body:not(.home) .series-card:nth-child(even){direction:rtl}
body:not(.home) .series-card>*{direction:ltr}
body:not(.home) .series-card__media{overflow:hidden;aspect-ratio:3/4;background:#eceae5}
body:not(.home) .series-card__media img{width:100%;height:100%;max-width:none;min-height:0;aspect-ratio:3/4;object-fit:cover;transition:transform .7s ease}
body:not(.home) .series-card__media:hover img{transform:scale(1.05)}
body:not(.home) .series-card__copy{align-self:center;padding:0;background:none}
body:not(.home) .series-card__copy h2{margin:0 0 16px;font-size:40px}
body:not(.home) .series-card__copy>p{margin:0 0 28px;max-width:46ch;font-size:20px;line-height:1.7;color:#5f5d57}
body:not(.home) .series-card__copy .text-link{display:inline-block;font-size:16px;font-weight:700;letter-spacing:.04em;color:var(--forest);text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:4px}
body:not(.home) .series-card__copy .text-link:hover{color:#858481}

@media(max-width:1024px){
  body:not(.home) .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body:not(.home) .catalog-download__list li{flex-basis:calc((100% - 14px)/2)}
  body:not(.home) .series-card,body:not(.home) .series-card:nth-child(even){grid-template-columns:1fr;gap:32px;direction:ltr}
  body:not(.home) .series-card__media{aspect-ratio:4/3}
  body:not(.home) .series-card__media img{aspect-ratio:4/3}
}
@media(max-width:720px){
  .page-hero{aspect-ratio:16/10;max-height:44vh;margin-bottom:44px}
  body:not(.home) .detail-page>*:not(.page-hero){width:min(100% - 40px,1280px)}
  body:not(.home) .gallery-grid{grid-template-columns:1fr;gap:16px}
  body:not(.home) .detail-nav{flex-direction:column;gap:28px}
  body:not(.home) .detail-nav__next{margin-left:0;text-align:left}
  body:not(.home) .catalog-download__list li{flex-basis:100%}
  body:not(.home) .series-list{gap:64px}
  body:not(.home) .series-card__copy h2{font-size:31px}
  body:not(.home) .series-card__copy>p{font-size:18px}
  body:not(.home) .factory-gallery{gap:16px}
  body:not(.home) .factory-caption{width:min(100% - 40px,1280px)}
}

/* DISP-152 補丁：根因 1 的第二層防線——空段落一律不佔版面（PHP 已在 the_content 先拔掉一次）。 */
body:not(.home) .site-main p:empty{display:none}

/* DISP-152：品牌故事三個深色區塊原本各自帶 96px 上外距，中間夾出兩條米白斷帶，
   看起來像三塊各自浮著。改成連續一整片深色、用細線分段；最後一段與深色頁尾之間才留白。 */
body:not(.home) .values + .service-spirit,
body:not(.home) .service-spirit + .vision{margin-top:0;border-top:1px solid #ffffff21}
body:not(.home) .service-spirit,body:not(.home) .vision{padding-top:96px}
@media(max-width:720px){body:not(.home) .service-spirit,body:not(.home) .vision{padding-top:72px}}

/* DISP-152：/products/ 深色面板「客製化服務」裡的流程卡原本是米白底又繼承白字，
   五格全部白底白字讀不到；按鈕也是墨色實心疊在墨色面板上，等於隱形。
   卡片改成與面板同色、用半透明白細線分格（維持無框無白盒），按鈕在深色底上反白。 */
body:not(.home) .soft-panel .process{background:none;gap:0}
body:not(.home) .soft-panel .process li{background:none;color:#fff;padding:34px 0;border-top:1px solid #ffffff26}
body:not(.home) .soft-panel .process li:nth-child(odd){padding-right:34px;border-right:1px solid #ffffff26}
body:not(.home) .soft-panel .process li:nth-child(even){padding-left:34px}
body:not(.home) .soft-panel .process li strong{color:#fff}
body:not(.home) .soft-panel .process li span{color:#ffffffbf}
body:not(.home) .soft-panel .button{background:#fff;border-color:#fff;color:var(--forest)}
body:not(.home) .soft-panel .button:hover,body:not(.home) .soft-panel .button:focus{background:#ffffffe0;border-color:#ffffffe0}

/* DISP-152：案例列表卡原為 5:4，與詳情頁圖廊的 4:3 不同套；統一成 4:3、gap 對齊 24px。 */
body:not(.home) .case-grid{gap:24px}
body:not(.home) .case-card a{overflow:hidden;aspect-ratio:4/3;background:#eceae5}
body:not(.home) .case-card a img{width:100%;height:100%;max-width:none;min-height:0;aspect-ratio:4/3;object-fit:cover;transition:transform .7s ease}
body:not(.home) .case-card a:hover img{transform:scale(1.05)}

/* 11-18 程寶⚙️分身：換上正式標誌（11-18 改 J-ho）（淺底用主標誌、首頁透明表頭與頁尾深底用反白彩色版，不用濾色）＋頁尾「代理品牌」條。 */
.brand--jho{display:flex;align-items:center}.site-header .brand--jho img.brand__logo{width:auto;height:64px;max-width:none;filter:none;object-fit:contain}.brand__logo--reverse{display:none!important}
body.home .site-header:not(.is-scrolled) .brand__logo--primary{display:none!important}body.home .site-header:not(.is-scrolled) .brand__logo--reverse{display:block!important}
.footer-brand{margin:0 0 18px}.footer-brand img{width:auto;height:64px;max-width:100%}
.agency-brand{width:min(1280px,calc(100% - 64px));margin:40px auto 0;display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding-top:20px;border-top:1px solid #ffffff1a;font-size:14px;color:#ffffffb3}.agency-brand__label{padding:2px 10px;border:1px solid #b8955e;color:#b8955e;font-size:12px;letter-spacing:.15em}.agency-brand+.site-footer__bottom{margin-top:16px;border-top:0;padding-top:0}
@media(max-width:720px){.site-header .brand--jho img.brand__logo{height:62px}.footer-brand img{height:62px}.agency-brand{width:min(100% - 40px,1280px)}}

/* 11-18 程寶⚙️分身：內頁標頭與首頁一致（深色底＋白色標誌與選單）；標誌加粗版只給標頭用（頁尾不動）。真因：只有首頁（body.home）有把標頭撐滿寬、去掉母主題留白並改深色／透明；內頁標頭沿用母主題白色半透明底，還被套上左右各100px外距與上72下90px內距，變成一塊窄的白色大框。 */
body:not(.home) .site-header{width:100%;max-width:none;margin:0;padding:0;background:#1a1a19;border-bottom:0;box-shadow:none;backdrop-filter:none}
body:not(.home) .site-header .brand,body:not(.home) .site-header .primary-menu a,body:not(.home) .site-header .menu-toggle{color:#fff}
body:not(.home) .site-header .menu-toggle{padding:0;background:none}
body:not(.home) .site-header .primary-menu a:hover,body:not(.home) .site-header .primary-menu .current-menu-item a{color:#ffffffb3}
body:not(.home) .site-header .brand__logo--primary{display:none!important}body:not(.home) .site-header .brand__logo--reverse{display:block!important}
@media(max-width:720px){body:not(.home) .site-header .primary-menu{background:#1a1a19f2;border-bottom:0}}
