.site-quality header{gap:1rem;padding-inline:4%}
.site-quality header nav{gap:1.3rem}
.site-quality figure{margin:0}
.site-quality figcaption{font-size:.875rem;color:#595959;line-height:1.5;padding-top:.7rem}
.quality-mast{background:#181818;color:white;border-bottom:4px solid #bd2523}
.quality-mast-inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.65rem 2rem;padding-block:1.25rem}
.quality-mast h1{font-size:clamp(1.65rem,3vw,2.6rem);line-height:1.25;margin:0}
.quality-page-links{display:flex;flex-wrap:wrap;gap:0 1.4rem}
.quality-page-links a{padding:.4rem 0;font-size:.9rem;font-weight:700}
.quality-page-links a:first-child,.quality-page-links a:hover{color:#f1cf34}
.factory-section{padding-block:clamp(3rem,6vw,6rem)}
.factory-section h2,.cutting-test h2{margin:0 0 1rem;padding-left:1rem;border-left:5px solid #bd2523;line-height:1.3}
.factory-section h3{margin:2rem 0 .85rem}
.factory-intro{max-width:46rem}
.patent-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(1.5rem,4vw,3.5rem);align-items:center}
.factory-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.5rem}
.factory-gallery img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:center 60%}
.process-section{background:#191919;color:white}
.process-steps{list-style:none;counter-reset:steps;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.9rem;padding:0;margin:2rem 0 0}
.process-steps li{counter-increment:steps;position:relative;border-top:3px solid #f1cf34;padding:.8rem .9rem 1rem;background:#262626;min-width:0}
.process-steps li::before{content:counter(steps,decimal-leading-zero);display:block;font-size:.875rem;color:#f1cf34;font-weight:700}
.process-steps strong,.process-steps span,.abrasive-grades strong,.abrasive-grades span{display:block}
.process-steps strong{margin:.25rem 0 .45rem}
.process-steps span{font-size:.875rem;color:#dedede;line-height:1.6}
.material-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.7rem 0}
.material-photos img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.material-photos figure:nth-child(2) img{object-fit:contain;background:white;border:1px solid #dedbd4}
.abrasive-grades{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;padding:0;margin:0}
.abrasive-grades li{border-left:3px solid #bd2523;background:#f2f0ec;padding:.75rem .9rem;min-width:0}
.abrasive-grades span{font-size:.9rem}
.abrasive-grades .abrasive-grade-selected{background:#fff6dc}
.abrasive-grades .abrasive-grade-label{display:inline-block;margin-top:.3rem;color:#66201b;font-weight:700}
.samurai-grain{display:flex;align-items:baseline;flex-wrap:wrap;gap:.25rem 1rem;margin:1rem 0 .45rem;padding:.65rem .9rem;background:#fff6dc;border-left:3px solid #bf2423}
.samurai-grain-value{font-weight:700;color:#66201b}
.preview-note{font-size:.875rem;color:#565656;line-height:1.7}
.patent-section{background:#f5f3ef}
.site-quality .certificate-photo{justify-self:center;width:min(100%,24rem)}
.certificate-photo img{width:100%;height:auto;border:1px solid #d9d1c5}
.home-manufacturing{background:#191919;color:white}
.home-manufacturing a{margin-top:.65rem}
.home-manufacturing img{width:100%;height:auto;max-height:22rem;object-fit:cover}
.cutting-test{background:#f3f1ed;border-top:1px solid #e0ddd5;border-bottom:1px solid #e0ddd5}
.cutting-test .wrap{padding-block:clamp(1.8rem,3.5vw,3.2rem)}
.cutting-test .factory-intro{margin-bottom:1.25rem}
.test-conditions{padding:.9rem 1.05rem;background:white;border-left:4px solid #d1a600;font-size:.9rem;margin:1rem 0 1.3rem}
.test-conditions p{margin:.22rem 0}
.test-controls{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.2rem}
.test-controls button{background:#fff;color:#171717;border:1px solid #999;padding:.55rem .9rem;cursor:pointer;font-weight:700;font-size:.95rem}
.test-controls button[aria-pressed="true"]{background:#181818;color:white;border-color:#181818;box-shadow:inset 0 -3px #f1cf34}
.test-layout{display:grid;grid-template-columns:minmax(12rem,.38fr) minmax(0,1fr);align-items:start;gap:1.5rem}
.test-samples{list-style:none;margin:0;padding:1rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;background:#fff;border:1px solid #dedbd4;text-align:center}
.test-samples img{display:block;width:min(100%,5.4rem);aspect-ratio:1;height:auto;object-fit:cover;border-radius:50%;margin:0 auto .2rem}
.test-samples strong{font-size:.9rem}
.test-samples figcaption{grid-column:1/-1}
.test-table{border-collapse:collapse;width:100%;background:white;table-layout:fixed;font-size:.95rem;line-height:1.5}
.test-table caption{text-align:left;font-weight:700;margin-bottom:.55rem}
.test-table th,.test-table td{text-align:left;border-bottom:1px solid #dedbd4;padding:.74rem .85rem}
.test-table thead th{background:#191919;color:white;font-size:.875rem}
.test-table th:first-child{width:24%}
.test-table th:last-child{width:30%}
.test-table tbody tr:first-child{background:#fff6dc}
.test-table td:last-child{white-space:nowrap}
.test-table .count-value{display:flex;align-items:center;gap:.5rem}
.cut-count{width:2.2rem;flex-shrink:0;font-variant-numeric:tabular-nums}
.count-bar{width:var(--bar);height:.45rem;background:#676767;border-radius:1px}
.test-table tr:first-child .count-bar{background:#b52523}
.site-quality [hidden]{display:none!important}
@media(max-width:1100px){.site-quality header nav{gap:.95rem}.process-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
  .site-quality header nav{gap:0}
  .quality-mast-inner{align-items:flex-start;flex-direction:column;padding-block:1rem}
  .quality-page-links{gap:0 .9rem}
  .factory-gallery,.patent-layout,.test-layout{grid-template-columns:1fr}
  .test-results{grid-row:1}
  .material-photos{gap:.5rem}
  .site-quality figcaption{font-size:.8125rem}
  .abrasive-grades{grid-template-columns:repeat(2,minmax(0,1fr))}
  .test-samples{grid-template-columns:repeat(4,minmax(0,1fr));gap:.4rem}
  .test-table th,.test-table td{padding:.6rem .45rem}
  .test-table .count-value{gap:.25rem}
  .cut-count{width:1.7rem}
  .count-bar{max-width:58%}
}
@media(max-width:385px){.process-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.test-table th:last-child{width:34%}}
.test-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.test-results section+section{margin-top:1.5rem}
