/* Quality chapter: paper cards, photographic equipment, a numbered side rail. */
#quality-system.qs-section{padding:100px 0 120px;overflow:visible;--qs-radius:26px}
.qs-stage{width:100%;position:relative}
.qs-layout{max-width:1520px;margin:auto;padding:0 4%;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.12fr) 118px;gap:clamp(24px,3.8vw,70px);align-items:start}
.qs-intro{padding:22px 0}
.qs-eyebrow{display:flex;align-items:center;gap:15px;font-size:12px;font-weight:600;letter-spacing:.13em;color:var(--sg-muted);margin:0 0 32px}
.qs-eyebrow>span:first-child{color:var(--sg-brand);font-variant-numeric:tabular-nums}
.qs-eyebrow i{height:1px;width:32px;background:var(--sg-line)}
#quality-system .qs-intro h2{font-size:clamp(34px,3.5vw,58px);line-height:1.22;font-weight:550;letter-spacing:-.045em;margin:0 0 24px;text-wrap:balance}
#quality-system .qs-intro h2 em{color:var(--sg-brand);font-family:Georgia,'Noto Serif SC','Songti SC',SimSun,serif;font-weight:500;font-style:normal}
.qs-lead{font-size:clamp(14px,1.15vw,17px);line-height:1.9;color:var(--sg-muted);max-width:30em;margin:0 0 28px;text-wrap:pretty}
.qs-cert-label{font-size:10px;color:var(--sg-muted);letter-spacing:.12em;margin:0 0 10px}
.qs-certs{margin:0 0 26px;border-top:1px solid var(--sg-line)}
.qs-certs>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 12px;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--sg-line)}
.qs-certs dt{font-size:clamp(12px,1.02vw,15px);font-weight:650;letter-spacing:-.02em}
.qs-certs dd{font-size:12px;color:var(--sg-muted);margin:0}
.qs-link{display:inline-flex;align-items:center;gap:22px;font-size:14px;font-weight:600;color:var(--sg-brand);text-decoration:none;padding:5px 0}
.qs-link>span:last-child{font-size:23px;transition:transform .2s}.qs-link:hover>span:last-child{transform:translate(3px,-3px)}
.qs-note{font-size:11px;color:var(--sg-muted);line-height:1.8;margin:16px 0 0;max-width:38em}
.qs-stack{min-width:0;position:relative;display:grid;gap:28px;padding-bottom:20px}
.qs-card{position:relative;min-width:0;border:1px solid #dfe7f0;background:#fff;border-radius:var(--qs-radius);padding:12px;box-shadow:0 18px 48px -26px #173f6a45;overflow:hidden;transform-origin:50% 85%;scroll-margin-top:110px}
.qs-photo{margin:0;overflow:hidden;border-radius:16px;background:#f4f7fb;height:260px}
#quality-system .qs-photo img{width:100%;height:100%;min-height:0;max-height:100%;object-fit:cover;display:block}
.qs-card-cmm .qs-photo img{object-position:50% 42%}
.qs-card-vision .qs-photo,.qs-card-instant .qs-photo{background:#fff}
#quality-system .qs-card-vision .qs-photo img,#quality-system .qs-card-instant .qs-photo img{object-fit:contain;padding:10px;box-sizing:border-box}
.qs-card-body{padding:24px 18px 16px}
.qs-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--sg-muted);font-size:11px;letter-spacing:.035em;font-variant-numeric:tabular-nums;margin-bottom:15px}
.qs-meta>span:first-child{color:var(--sg-brand)}
#quality-system .qs-card h3{font-size:clamp(21px,1.8vw,28px);line-height:1.25;letter-spacing:-.035em;font-weight:600;margin:0 0 13px}
.qs-description{color:var(--sg-muted);font-size:14px;line-height:1.8;margin:0 0 22px;text-wrap:pretty}
.qs-card-footer{display:flex;gap:12px;justify-content:space-between;align-items:center;border-top:1px solid #e7edf5;padding-top:17px}
.qs-count{display:flex;align-items:baseline;gap:7px;white-space:nowrap}.qs-count strong{font-size:36px;line-height:1;color:var(--sg-brand);font-weight:500;letter-spacing:-.05em}.qs-count>span{font-size:11px;color:var(--sg-muted)}
.qs-tags{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px;max-width:69%}.qs-tags span{background:#f2f6fb;color:#47648b;border-radius:6px;padding:4px 7px;font-size:10px;line-height:1.4}
.qs-inventory-hero{position:relative;min-height:150px;padding:22px;background:#eaf2fc;border-radius:16px;display:flex;align-items:center;gap:25px;color:var(--sg-brand);overflow:hidden}
.qs-inventory-number{font-size:78px;line-height:1;font-weight:450;letter-spacing:-.06em;white-space:nowrap}.qs-inventory-number small{font-size:13px;letter-spacing:0;margin-left:9px}
.qs-inventory-hero>div{display:grid;gap:10px}.qs-inventory-hero strong{font-size:17px}.qs-inventory-hero>div>span{font-size:11px;color:var(--sg-muted)}
.qs-ruler{position:absolute;bottom:0;left:20px;right:20px;height:12px;background:repeating-linear-gradient(90deg,#84a7d4 0 1px,transparent 1px 12px);opacity:.5}
.qs-inventory{margin:18px 0 0}.qs-inventory>div{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid #edf1f7;font-size:13px}.qs-inventory>div:last-child{border:0}.qs-inventory dt{color:var(--sg-muted)}.qs-inventory dd{display:flex;align-items:center;gap:25px;margin:0}.qs-inventory b{min-width:12px;text-align:right;font-weight:500;font-variant-numeric:tabular-nums}.qs-dots{display:flex;gap:6px}.qs-dots i{width:5px;height:5px;border-radius:50%;background:var(--sg-brand);opacity:.7}
.qs-guide{display:block;min-width:0;position:sticky;top:150px;left:auto;right:auto;transform:none;padding-top:30px}.qs-guide-count{margin:0 0 30px;display:flex;align-items:baseline;gap:8px;font-variant-numeric:tabular-nums}.qs-guide-count b{font-size:30px;letter-spacing:-.06em;font-weight:500;color:var(--sg-brand)}.qs-guide-count>span{font-size:11px;color:var(--sg-muted)}
.qs-guide-body{position:relative}.qs-guide-track{position:absolute;left:4px;top:9px;bottom:9px;width:1px;background:#d4e0f0}.qs-guide-track i{display:block;width:100%;height:100%;background:var(--sg-brand);transform:scaleY(0);transform-origin:top}
.qs-guide ol{display:grid;gap:42px;list-style:none;padding:0;margin:0}.qs-guide a{position:relative;display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--sg-muted);font-size:11px;white-space:nowrap;transition:color .2s}.qs-guide a[aria-current]{color:var(--sg-brand);font-weight:650}.qs-guide a:hover{color:var(--sg-brand)}
.qs-guide-dot{z-index:1;width:9px;height:9px;flex:0 0 9px;border-radius:50%;border:1px solid #bbcee6;background:#f5f8fd;box-sizing:border-box;transition:background .2s,box-shadow .2s}.qs-guide [aria-current] .qs-guide-dot{background:var(--sg-brand);border-color:var(--sg-brand);box-shadow:0 0 0 5px #17468f0b}.qs-guide-number{font-size:9px;opacity:.6;font-variant-numeric:tabular-nums}
.qs-scroll-hint{font-size:9px;letter-spacing:.08em;color:var(--sg-muted);margin:35px 0 0;display:grid;gap:12px}.qs-scroll-hint>span:last-child{font-size:22px;color:var(--sg-brand)}
.qs-link:focus-visible,.qs-guide a:focus-visible{outline:2px solid var(--sg-brand);outline-offset:7px;border-radius:3px}
.qs-motion .qs-layout{align-items:center;min-height:calc(100svh - 122px)}
.qs-motion .qs-stack{height:min(630px,calc(100svh - 182px));padding-bottom:0}
.qs-motion .qs-card{position:absolute;inset:0;display:flex;flex-direction:column;will-change:transform,opacity}
.qs-motion .qs-photo{height:52%;flex-shrink:0}.qs-motion .qs-card-body{flex:1;display:flex;flex-direction:column;min-height:0}.qs-motion .qs-card-footer{margin-top:auto}.qs-motion .qs-inventory-hero{min-height:0;height:27%;flex-shrink:0}.qs-motion .qs-inventory{margin-top:6px}.qs-motion .qs-inventory>div{padding:9px 0}.qs-motion .qs-guide{position:relative;top:auto;padding:0}
@media(min-width:900px) and (max-height:780px){.qs-intro{padding:0}.qs-eyebrow{margin-bottom:22px}.qs-lead{margin-bottom:18px}.qs-certs{margin-bottom:18px}.qs-certs>div{padding:12px 0}.qs-card-body{padding:18px 15px 12px}.qs-meta{margin-bottom:10px}.qs-description{margin-bottom:14px;font-size:13px}.qs-motion .qs-photo{height:40%}.qs-motion .qs-inventory>div{padding:7px 0}.qs-inventory-number{font-size:64px}}
@media(max-width:1100px){.qs-layout{gap:26px;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr) 84px}.qs-guide-number{display:none}.qs-certs>div{display:block}.qs-certs dd{margin-top:4px}.qs-card-footer{align-items:flex-start}.qs-count{flex-wrap:wrap;gap:4px}.qs-count>span{white-space:normal}.qs-inventory-hero{gap:15px;padding:15px}.qs-inventory-hero strong{font-size:14px}.qs-note{font-size:10px}}
@media(max-width:899px){#quality-system.qs-section{padding:65px 0 80px}.qs-layout{max-width:700px;padding:0 6%;grid-template-columns:minmax(0,1fr) 72px;gap:30px 20px}.qs-intro{grid-column:1/-1;padding:0}.qs-intro h2{font-size:42px!important}.qs-lead{max-width:40em}.qs-certs>div{display:flex}.qs-certs dd{margin:0}.qs-guide{top:112px}.qs-photo{height:250px}.qs-card-body{padding:20px 12px 12px}.qs-card-footer{align-items:center}.qs-count{flex-wrap:nowrap}.qs-inventory-hero{min-height:145px}.qs-inventory-number{font-size:64px}}
@media(max-width:480px){.qs-layout{padding:0 5%;grid-template-columns:minmax(0,1fr) 49px;gap:24px 12px}.qs-guide a{font-size:10px;gap:7px}.qs-guide a>span:last-child{writing-mode:vertical-rl;letter-spacing:.1em}.qs-guide ol{gap:25px}.qs-guide-count{gap:4px}.qs-guide-count b{font-size:24px}.qs-guide-count>span{font-size:9px}.qs-scroll-hint{font-size:8px;letter-spacing:0}.qs-card{padding:8px;border-radius:20px}.qs-photo{height:210px;border-radius:13px}.qs-meta{font-size:9px}.qs-description{font-size:13px}.qs-card-footer{display:block}.qs-tags{margin-top:14px;max-width:none;justify-content:flex-start}.qs-inventory-hero{min-height:125px;display:block}.qs-inventory-number{font-size:55px}.qs-inventory-hero>div{gap:4px;margin-top:8px}.qs-inventory-hero strong{font-size:12px}.qs-inventory-hero>div>span{font-size:10px}.qs-inventory dd{gap:12px}.qs-inventory>div{font-size:11px}.qs-certs dt{font-size:12px}.qs-certs dd{font-size:10px}}
@media(prefers-reduced-motion:reduce){.qs-card,.qs-link>span:last-child,.qs-guide a,.qs-guide-dot{transition:none!important;will-change:auto}}

/* Native sticky confines the stack to its own chapter, including direct fragment entry. */
#quality-system.qs-motion{min-height:calc(415svh + 98px)}
.qs-motion .qs-stage{position:sticky;top:94px}

.qs-certs{max-width:480px}.qs-certs>div{justify-content:flex-start;gap:5px 18px}
