/* Approved Word-led home layout; carousel artwork and stage geometry are untouched. */
body[data-page="home"] :is(.home-welcome,.home-products,.home-labs,.home-featured,.home-presence) { padding-block:clamp(56px,6vw,96px); }
.home-welcome-copy { max-width:var(--max); margin:0 auto 40px; text-align:center; }
.home-welcome-copy h2,.home-section-heading h2,.router-copy h2,.final-cta h2 { font-size:clamp(26px,2.4vw,38px); line-height:1.4; letter-spacing:-.02em; }
.home-welcome-copy p { font-size:clamp(16px,1.25vw,19px); line-height:1.95; margin-top:24px; text-align:start; text-wrap:pretty; }
.home-theme-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.home-theme { margin:0; min-width:0; }
.home-theme img { width:100%; height:auto; display:block; }
.home-theme figcaption { padding:18px 0 0; }
.home-theme h3 { font-size:22px; margin:0 0 6px; color:var(--ink); }
.home-theme p { font-size:14px; margin:0; }
.home-image-note { font-size:12px; color:var(--ink-soft); margin:18px 0 0; line-height:1.6; }
.home-section-heading { text-align:center; margin-bottom:36px; }
.home-section-heading .eyebrow { margin-bottom:10px; }
.home-products .homepage-category-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:24px; }
.home-category-icon { min-width:0; text-align:center; }
.home-category-icon a { display:block; padding:12px 4px; border-radius:8px; }
.home-category-icon a:hover { background:#fff; }
.home-category-icon img { display:block; width:100%; height:110px; object-fit:contain; margin:auto auto 18px; }
.home-category-icon h3 { font-size:16px; line-height:1.5; margin:0; }
.home-category-icon p { font-size:12px; line-height:1.5; margin:6px 0 0; }
.home-products .category-illustration-note { grid-column:1 / -1; text-align:center; font-size:12px; margin:8px 0 0; }
.home-lab-row { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); align-items:center; gap:clamp(28px,5vw,76px); }
.home-lab-row + .home-lab-row { margin-top:64px; }
.home-lab-row figure,.home-presence figure { margin:0; min-width:0; }
.home-lab-row img,.home-presence img { display:block; width:100%; height:auto; }
.home-lab-row h3 { font-size:clamp(24px,2.2vw,34px); line-height:1.45; margin:12px 0 20px; }
.home-lab-row p { line-height:1.85; }
.home-lab-row .text-link { margin-top:14px; }
.home-featured-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.home-featured-card { min-width:0; background:#fff; border:1px solid var(--line); }
.home-featured-image { aspect-ratio:4 / 3; background:#080d12; }
.home-featured-image img { width:100%; height:100%; object-fit:contain; display:block; }
.home-featured-card h3 { display:flex; justify-content:space-between; gap:16px; font-size:20px; line-height:1.5; margin:0; padding:22px; }
.home-featured-summary { margin:0; padding:0 22px 24px; color:var(--body-color,#526c7a); line-height:1.7; }
.home-featured-card a:hover h3 { color:var(--medical-teal); }
.home-presence-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:clamp(28px,3.5vw,56px); }
.home-presence-visual { background:#071c32; color:#fff; }
.home-presence-map { position:relative; width:100%; isolation:isolate; }
.home-presence-map img { aspect-ratio:1122 / 1402; }
.home-presence-routes { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.presence-route { fill:none; stroke:#e1c388; stroke-width:2.5; opacity:.9; }
.presence-leader { fill:none; stroke:#f0ddb6; stroke-width:1.5; }
.presence-leader-mobile { display:none; }
.presence-point { stroke-width:2; }
.location-point { fill:#96deda; stroke:#e2fffd; }
.partner-point { fill:none; stroke:#f2d596; stroke-width:3; }
.presence-label { position:absolute; color:#fff; padding:5px 8px; background:rgba(5,22,39,.9); font-size:clamp(12px,1vw,15px); line-height:1.35; font-weight:600; max-width:37%; border-left:2px solid #d9bd83; }
.label-new-taipei { left:31%; top:32.4%; }
.label-taichung { left:31%; top:43%; }
.label-shenzhen { left:5.5%; top:48%; }
.label-los-angeles { left:58%; top:24.5%; }
.home-presence-legend { display:flex; flex-wrap:wrap; gap:12px 24px; padding:18px 24px; border-top:1px solid #294054; font-size:12px; line-height:1.5; }
.home-presence-legend span { display:flex; align-items:center; gap:9px; }
.home-presence-legend i { display:inline-block; width:8px; height:8px; flex-shrink:0; }
.legend-location { background:#96deda; border-radius:50%; }
.legend-partner { border:1.5px solid #f2d596; transform:rotate(45deg); }
.home-location-list { display:grid; gap:16px; }
.home-location { min-width:0; padding-bottom:16px; border-bottom:1px solid var(--line); }
.home-location h3 { margin:0 0 6px; font-size:20px; line-height:1.4; }
.home-location h3 a { display:flex; justify-content:space-between; gap:14px; }
.home-location p { margin:0 0 5px; font-size:14px; }
.home-location-company { color:var(--ink); }
.home-partner-note { color:#3a6874; line-height:1.6; }
.home-location address { font-style:normal; font-size:14px; line-height:1.7; color:var(--ink-soft); }
@media(max-width:1100px) {
 .home-products .homepage-category-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
 .home-presence-grid { grid-template-columns:1fr; gap:32px; }
 .home-presence-grid figure { width:100%; max-width:580px; margin:auto; }
 .home-location-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
}
@media(max-width:680px) {
 .presence-label { max-width:45%; }
 .label-new-taipei { left:40%; top:29%; }
 .label-taichung { left:40%; top:46%; }
 .label-shenzhen { left:5.5%; top:62%; }
 .label-los-angeles { left:52%; top:14%; }
 .presence-leader-desktop { display:none; }
 .presence-leader-mobile { display:initial; }
 .home-theme-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 14px; }
 .home-theme h3 { font-size:20px; }
 .home-products .homepage-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
 .home-lab-row,.home-featured-grid,.home-location-list { grid-template-columns:1fr; }
 .home-lab-row-reverse figure { grid-row:1; }
 .home-lab-row + .home-lab-row { margin-top:48px; }
 .home-featured-grid { gap:28px; }
 .home-category-icon img { height:100px; }
}
