/* Look B, 開闊編輯: spacious editorial. White and light grey, big type, generous air,
   full-width photo banners, red only as an accent. Same markup as A; overrides site.css. */
.v-b{--wide:1240px}
.v-b .sx{padding:120px max(var(--gut),calc((100vw - var(--wide)) / 2))}
.v-b .sx-red,.v-b .sx-navy{background:#f3f5f7;color:var(--ink)}
.v-b .sx-red p,.v-b .sx-navy p{color:var(--ink-2)}
.v-b .sx h2{font-size:clamp(32px,3.4vw,52px);font-weight:600;letter-spacing:.01em}
.v-b .sx h2::before{content:"";display:block;width:48px;height:3px;background:var(--red);margin-bottom:var(--s3)}
.v-b .sx p{font-size:19px;line-height:2}

/* Hero: full-width photo banner, title over a soft dark fade at the bottom */
.v-b .page-hero{min-height:clamp(440px,64vh,680px)!important;align-items:flex-end}
.v-b .page-hero>img{position:absolute;inset:0;width:100%!important;height:100%;left:0!important;right:0}
.v-b .page-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0a213000 35%,#0a2130d9)}
.v-b .page-hero .panel{width:100%;background:none;clip-path:none;animation:none;z-index:2;align-items:flex-end}
.v-b .page-hero .panel::before{display:none}
.v-b .page-hero .hero-copy{max-width:none;padding:0 max(var(--gut),calc((100vw - var(--wide)) / 2)) var(--s6)}
.v-b .page-hero h1{color:#fff;font-size:clamp(44px,6vw,96px);font-weight:600}
.v-b .page-hero .lead{color:#fff;max-width:36em}

/* Split rows: larger photo, more air */
.v-b .split{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:96px}
.v-b .split>.ph{min-height:520px}
.v-b .jump{border-top-color:#0e2a3a26}
.v-b .jump a{border-bottom-color:#0e2a3a26;color:var(--ink)}
.v-b .jump a span{color:var(--red)}
.v-b .strip{gap:12px}

/* Industries: open cards, no boxes */
.v-b .ind{background:none;border:0;gap:56px 40px}
.v-b .ind-i{padding:0;background:none}
.v-b .ind-i h2{font-size:24px}
.v-b .ind-i h2::before{display:none}

/* Process: vertical timeline */
.v-b .steps{display:block;background:none;border:0;max-width:820px;position:relative;counter-reset:none}
.v-b .steps::before{content:"";position:absolute;left:31px;top:12px;bottom:12px;width:2px;background:#0e2a3a1f}
.v-b .steps::after{display:none}
.v-b .step{display:grid;grid-template-columns:64px 1fr;column-gap:var(--s4);background:none;padding:0 0 var(--s5);min-height:0;color:var(--ink)}
.v-b .step:hover{background:none}
.v-b .step-n{grid-row:span 3;width:64px;height:64px;display:grid;place-items:center;margin:0;background:#fff;border:2px solid var(--red);border-radius:50%;font-size:20px;position:relative}
.v-b .step h3{align-self:center;font-size:20px;font-weight:600}
.v-b .step p,.v-b .step ul{color:var(--ink-2);font-size:16px}
.v-b .sx-navy .acts .btn-primary{margin-left:0;padding-left:var(--s4)}

/* Certificates and capability */
.v-b .cert{box-shadow:0 12px 40px #0e2a3a1f}
.v-b .mfg{background:none;gap:40px}
.v-b .mfg-i{background:none}
.v-b .mfg-i>div{padding:var(--s3) 0 0}
.v-b .mfg-i p{color:var(--ink-2)}
.v-b .mfg-i .ph{aspect-ratio:3/2}

/* Tile rows become light */
.v-b .tiles .tile.dark,.v-b .tiles .tile.red{background:#f3f5f7;color:var(--ink)}
.v-b .tiles .tile.dark p,.v-b .tiles .tile.red p{color:var(--ink-2)}
.v-b .tile{padding:96px max(var(--gut),6vw)}
.v-b .t-duo-ph{min-height:560px}

/* Label + text: open two-column list with rules */
.v-b .cells{background:none;border:0;gap:var(--s5) var(--s6)}
.v-b .cells.c4{grid-template-columns:repeat(2,minmax(0,1fr))}
.v-b .cell,.v-b .cells.c1 .cell{background:none;padding:var(--s3) 0 0;border-top:1px solid #0e2a3a26}
.v-b .cell h3{font-size:22px;font-weight:600}
.v-b .cell h3::before{display:none}
.v-b .cell p,.v-b .cells.c1 .cell p{color:var(--ink-2);font-size:17px}

/* Locations and offices */
.v-b .site figcaption{color:var(--ink)}
.v-b .sites{gap:40px}
.v-b .offices{background:none;border:0;gap:64px}
.v-b .office{background:none;grid-template-columns:minmax(0,1fr);gap:var(--s3)}
.v-b .office .ph{aspect-ratio:16/10;height:auto}
.v-b .office>div{padding:0}
.v-b .film{background:#f3f5f7}
.v-b .film::before{display:none}

@media (max-width:760px){
  .v-b .sx{padding:72px var(--gut)}
  .v-b .split{gap:var(--s4)}
  .v-b .split>.ph{min-height:280px}
  .v-b .cells.c4{grid-template-columns:minmax(0,1fr)}
  .v-b .tile{padding:64px var(--gut)}
  .v-b .page-hero{min-height:420px!important}
  .v-b .page-hero>img{position:absolute!important;height:100%!important}
  .v-b .page-hero .panel{margin-top:0}
}

/* ---- B fixes ---- */
/* placeholder on light background (was white-on-white on About 全球客戶) */
.v-b .ph-ph.on-red{background:repeating-linear-gradient(135deg,#ffffff 0 14px,#e9edf1 14px 15px);border-color:#0e2a3a40;color:#6b808b}
.v-b .ph-ph.on-red b{color:var(--red)}
/* slimmer milestone placeholder */
.v-b .ph-ph.wide{min-height:240px}
/* CMM title fits its tile */
.v-b .t-trio .tile h2{font-size:clamp(24px,2vw,30px)}
/* quality grid aligns with the content width */
.v-b .sx .eq{margin:0;gap:12px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.v-b .sx .eq li{aspect-ratio:1}
@media (max-width:760px){
  /* stack split rows on phones (B's desktop columns were overriding) */
  .v-b .split,.v-b .split.rev{grid-template-columns:minmax(0,1fr)}
  .v-b .strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  /* hero: title sits at the bottom of the photo */
  .v-b .page-hero{display:flex;flex-direction:column;justify-content:flex-end;min-height:340px!important}
  .v-b .page-hero .panel{position:relative}
  .v-b .page-hero .hero-copy{padding:0 var(--gut) var(--s4)!important}
  .v-b .sx .eq{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
}
@media (max-width:760px){.v-b .page-hero{min-height:360px!important}.v-b .page-hero .panel{position:absolute!important;left:0;right:0;bottom:0;margin:0!important}}

/* ---- B round 2 ---- */
/* hero: slow settle-in zoom, and each page frames its banner a little differently */
@keyframes bZoom{from{transform:scale(1.12)}to{transform:none}}
.v-b .page-hero>img{animation:bZoom 9s cubic-bezier(.2,.7,.2,1) both}
.v-b.p-products .page-hero>img{object-position:center 30%}
.v-b.p-ability .page-hero{min-height:clamp(480px,72vh,760px)!important}
.v-b.p-ability .page-hero>img{object-position:center 40%}
.v-b.p-about .page-hero>img{object-position:center 45%}
.v-b.p-support .page-hero{min-height:clamp(400px,56vh,600px)!important}
.v-b.p-support .page-hero>img{object-position:center 25%}
.v-b.p-contact .page-hero>img{object-position:center 60%}
.v-b.p-ability .page-hero::after{background:linear-gradient(90deg,#0a2130cc 0%,#0a213066 45%,#0a213000 70%)}
.v-b.p-about .page-hero::after{background:linear-gradient(0deg,#0a2130e6 0%,#0a213000 60%)}
/* timeline line draws as you scroll (--tl set by site-js) */
.v-b .steps::before{transform-origin:top;transform:scaleY(var(--tl,1));background:var(--red);transition:transform .15s linear}
.v-b .steps::after{content:"";display:block;position:absolute;left:31px;top:12px;bottom:12px;width:2px;background:#0e2a3a1a;z-index:-1}
.v-b .steps{isolation:isolate}
/* industries: open cards with photo, logo strip below */
.v-b .ind-i .ph{aspect-ratio:3/2;margin-bottom:var(--s2)}
.v-b .ph-ph.logos{min-height:64px}
/* About ending on light grey */
.v-b .about-end .ph-ph{min-height:220px}
/* Contact: equal cards, photos the same size */
.v-b .offices{align-items:start}
.v-b .office .ph{aspect-ratio:16/10!important;height:auto!important}
.v-b .office h2{font-size:clamp(24px,2.2vw,32px)}
/* closing band: light version */
.v-b .cta-band{background:#fff;color:var(--ink);border-top:1px solid #0e2a3a1a;padding:96px max(var(--gut),calc((100vw - var(--wide)) / 2))}
@media (prefers-reduced-motion:reduce){.v-b .page-hero>img{animation:none}.v-b .steps::before{transform:none}}
@media (max-width:1100px){.v-b .split{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px}.v-b .sites{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
  .v-b .split{grid-template-columns:minmax(0,1fr)!important}
  .v-b.p-ability .page-hero,.v-b.p-support .page-hero{min-height:360px!important}
  .v-b .cta-band{padding:64px var(--gut)}
  .v-b .offices{gap:48px}
}
/* B: slideshow photos fill the whole banner; zoom handled by .sl.on */
.v-b .page-hero>img.sl{position:absolute;inset:0;width:100%!important;height:100%!important;animation:none}
.v-b .page-hero>img.sl.on{animation:slZoom 7s cubic-bezier(.2,.7,.2,1) both}
.v-b .sl-dots{right:max(var(--gut),calc((100vw - var(--wide)) / 2))}
