/*
 * NTWOOD — Style B "Bản Vẽ" (Spec Sheet)
 * The site reads like an architect's material dossier: drawing-sheet grid,
 * title blocks, mono spec data, cross-sections that draw themselves.
 * Built for the B2B visitor (architects, contractors) who came for numbers.
 *
 * Contrast (measured on --paper #EEECE7): ink 16+:1 · ink-2 7.1:1 · muted 5.0:1
 * · orange-ink 4.8:1. --orange (#E2531B, 3.2:1) is for LINES, fills and
 * display type ≥ 24px only — never small text.
 */
:root {
	--paper: #EEECE7;
	--paper-2: #E5E2DB;
	--sheet: #FAF9F6;
	--ink: #16181A;
	--ink-2: #4A4E52;
	--muted: #5A5E62;
	--orange: #E2531B;
	--orange-ink: #B5410F;
	--line: rgba(22, 24, 26, .16);
	--line-2: rgba(22, 24, 26, .32);
	--grid: rgba(22, 24, 26, .055);
	--f-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
	--f-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--f-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
	--pad: clamp(18px, 4vw, 56px);
	--wrap: 1440px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--hdr: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0; color: var(--ink); background-color: var(--paper);
	background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 24px 24px; background-position: -1px -1px;
	font: 400 16px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: transparent; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.b-skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: var(--sheet); padding: 10px 16px; }
.b-skip:focus { left: 12px; }
.b-wrap { width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: var(--pad); }
.b-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.b-mono { font-family: var(--f-mono); }
.b-tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.b-tag b { color: var(--orange-ink); font-weight: 600; }
.b-tag::after { content: ''; width: 48px; height: 1px; background: var(--line-2); }
.b-h1, .b-h2, .b-h3 { font-family: var(--f-display); text-transform: uppercase; margin: 0; letter-spacing: .005em; }
/* Vietnamese stacks marks above caps (Ỗ, Ề) and below (Ọ, Ệ). A condensed
   display face at the usual .86 line-height collides line into line, so
   the leading here is measured against "GỖ NHỰA / NGOÀI TRỜI", not Latin. */
.b-h1 { font-weight: 800; font-size: clamp(3.2rem, 7.4vw, 7.2rem); line-height: 1.02; padding-top: .12em; }
.b-h1 em, .b-h2 em { font-style: normal; color: var(--orange); }
.b-h2 { font-weight: 800; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.02; padding-top: .1em; margin-bottom: 18px; }
.b-h3 { font-weight: 700; font-size: 1.6rem; line-height: 1; }
.b-lead { margin: 0; max-width: 60ch; color: var(--ink-2); font-size: 1.05rem; }

/* ---------- buttons ---------- */
.b-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px;
	border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
	font: 600 13px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
	transition: background .2s, color .2s, box-shadow .2s var(--ease), transform .2s var(--ease);
}
.b-btn:hover { box-shadow: 4px 4px 0 var(--orange); transform: translate(-2px, -2px); }
.b-btn--ink { background: var(--ink); color: var(--sheet); }
.b-btn--ink:hover { background: var(--ink); }
.b-btn--sm { min-height: 36px; padding: 0 12px; font-size: 11.5px; }
.b-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; background: var(--orange); color: var(--ink); font: 700 11px/1 var(--f-mono); }

/* ---------- header ---------- */
.b-hdr { position: sticky; top: 0; z-index: 80; height: var(--hdr); background: rgba(250, 249, 246, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.b-hdr__in { height: 100%; display: flex; align-items: center; gap: 22px; }
.b-logo img { height: 40px; width: auto; }
.b-nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.b-nav a { display: block; padding: 8px 12px; font: 500 12.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); transition: background .2s, color .2s; }
.b-nav a:hover { background: var(--ink); color: var(--sheet); }
.b-nav a[aria-current="page"] { color: var(--orange-ink); box-shadow: inset 0 -2px 0 var(--orange); }
.b-search { position: relative; margin-left: auto; }
.b-search input { width: 230px; height: 40px; padding: 0 12px 0 34px; border: 1px solid var(--line-2); background: var(--sheet); font: 500 13px/1 var(--f-mono); letter-spacing: .04em; color: var(--ink); text-transform: uppercase; }
.b-search input::placeholder { color: var(--muted); text-transform: none; letter-spacing: 0; }
.b-search input:focus { outline: none; border-color: var(--ink); box-shadow: 3px 3px 0 var(--orange); }
.b-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 13px; }
.b-burger { display: none; width: 42px; height: 42px; border: 1.5px solid var(--ink); position: relative; }
.b-burger span, .b-burger span::before, .b-burger span::after { position: absolute; left: 11px; width: 17px; height: 2px; background: var(--ink); content: ''; transition: transform .25s var(--ease); }
.b-burger span { top: 19px; }
.b-burger span::before { left: 0; top: -6px; }
.b-burger span::after { left: 0; top: 6px; }
.b-burger[aria-expanded="true"] span { background: transparent; }
.b-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.b-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- reveal (opt-in) ---------- */
.ntw-anim [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.ntw-anim [data-reveal].is-in { opacity: 1; transform: none; }
/* cross-sections draw themselves once revealed. --dl is measured in JS
   (common.js prepDraw) because non-scaling strokes dash in screen space. */
.ntw-prof path, .b-dim path, .b-dim line { vector-effect: non-scaling-stroke; }
.ntw-anim [data-draw] path:not(.is-drawn) { stroke-dasharray: var(--dl, 0) var(--dl, 0); stroke-dashoffset: var(--dl, 0); transition: stroke-dashoffset 1.6s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + 150ms); }
.ntw-anim [data-draw].is-in path:not(.is-drawn), .ntw-anim .is-in [data-draw] path:not(.is-drawn) { stroke-dashoffset: 0; }

/* ---------- sheet frame ---------- */
.b-sheet { position: relative; background: var(--sheet); border: 1px solid var(--line-2); }
.b-sheet::before { content: ''; position: absolute; inset: 8px; border: 1px solid var(--line); pointer-events: none; }
.b-sec { padding-block: clamp(64px, 9vw, 128px); }
.b-sec__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; margin-bottom: 40px; }
.b-ruler { display: flex; justify-content: space-between; height: 18px; margin-bottom: 28px; border-bottom: 1px solid var(--line-2); font: 500 10px/1 var(--f-mono); color: var(--muted); }
.b-ruler span { position: relative; padding-left: 4px; }
.b-ruler span::before { content: ''; position: absolute; left: 0; bottom: -1px; width: 1px; height: 8px; background: var(--line-2); }

/* ---------- hero ---------- */
.b-hero { padding-block: 36px 0; }
.b-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0; }
.b-hero__copy { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; border-right: 1px solid var(--line); }
.b-hero__copy .b-lead { margin-top: 24px; }
.b-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.b-hero__draw { position: relative; padding: clamp(20px, 3vw, 40px); display: grid; place-items: center; min-height: 520px; overflow: hidden; cursor: crosshair; }
.b-hero__draw { align-content: start; justify-items: start; }
.b-hero__draw [data-hero-svg] { width: 100%; margin-top: 6%; }
.b-hero__cap { margin: 22px 0 0; max-width: 46ch; padding-left: 12px; border-left: 2px solid var(--orange); font: 500 12px/1.5 var(--f-mono); color: var(--ink-2); }
.b-hero__cap b { display: block; font: 800 1.6rem/1 var(--f-display); color: var(--ink); margin-bottom: 4px; }
.b-hero__draw svg { width: 100%; height: auto; overflow: visible; }
.b-hero__render { position: absolute; right: 7%; bottom: 8%; width: 34%; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .22)); }
.ntw-anim .b-hero__render { animation: b-in 1s var(--ease) 1.9s both; }
@keyframes b-in { from { opacity: 0; transform: translateY(24px) rotate(-4deg); } }
.b-xhair { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s; }
.b-hero__draw:hover .b-xhair { opacity: 1; }
.b-xhair::before, .b-xhair::after { content: ''; position: absolute; background: rgba(226, 83, 27, .45); }
.b-xhair::before { left: 0; right: 0; top: var(--cy, 50%); height: 1px; }
.b-xhair::after { top: 0; bottom: 0; left: var(--cx, 50%); width: 1px; }
.b-xhair span { position: absolute; left: calc(var(--cx, 50%) + 10px); top: calc(var(--cy, 50%) + 10px); padding: 3px 6px; background: var(--ink); color: var(--sheet); font: 500 10.5px/1.2 var(--f-mono); white-space: nowrap; }
/* title block (khung tên) */
.b-tblock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.b-tblock div { padding: 12px 14px; border-right: 1px solid var(--line); }
.b-tblock div:last-child { border-right: 0; }
.b-tblock dt { font: 500 10px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.b-tblock dd { margin: 0; font: 600 13.5px/1.2 var(--f-mono); }
/* dimension drawing */
.b-dim .shape path { stroke: var(--ink); stroke-width: 1.6; fill: none; }
.b-dim .shape path:first-child { fill: rgba(226, 83, 27, .06); }
.b-dim .dl { stroke: var(--orange); stroke-width: 1; }
.b-dim .ext { stroke: var(--line-2); stroke-width: .8; stroke-dasharray: 3 3; }
.b-dim text { font-family: var(--f-mono); font-weight: 600; fill: var(--orange-ink); }
.b-dim .dg { transform-box: fill-box; transform-origin: center; }
.ntw-anim .b-dim .dg { opacity: 0; transform: scaleX(.2); transition: opacity .5s, transform .7s var(--ease); transition-delay: calc(1.2s + var(--k, 0) * .18s); }
.ntw-anim .b-dim .dg--v { transform: scaleY(.2); }
.ntw-anim .is-in .b-dim .dg, .ntw-anim .b-dim.is-in .dg { opacity: 1; transform: none; }

/* ---------- category tabs strip ---------- */
.b-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.b-cat { display: grid; grid-template-rows: auto 64px auto; gap: 10px; padding: 18px 18px 20px; border-right: 1px solid var(--line); text-decoration: none; transition: background .25s; }
.b-cat:last-child { border-right: 0; }
.b-cat small { font: 500 10.5px/1 var(--f-mono); letter-spacing: .1em; color: var(--muted); }
.b-cat .ntw-prof { width: 100%; height: 64px; stroke: var(--ink); stroke-width: 1.4; }
.b-cat b { font: 700 1.25rem/1 var(--f-display); text-transform: uppercase; }
.b-cat:hover { background: var(--paper-2); }
.b-cat:hover .ntw-prof { stroke: var(--orange); }

/* ---------- finder ---------- */
.b-finder__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.b-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.b-chip { padding: 8px 12px; border: 1px solid var(--line-2); font: 500 12px/1 var(--f-mono); letter-spacing: .04em; color: var(--ink-2); transition: background .2s, color .2s, border-color .2s; }
.b-chip:hover { border-color: var(--ink); color: var(--ink); }
.b-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--sheet); }
.b-chip sup { margin-left: 4px; font-size: 10px; color: inherit; opacity: .7; }
.b-view { display: flex; border: 1px solid var(--line-2); }
.b-view button { padding: 8px 12px; font: 500 12px/1 var(--f-mono); color: var(--ink-2); }
.b-view button[aria-pressed="true"] { background: var(--ink); color: var(--sheet); }
.b-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.b-card { position: relative; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--sheet); transition: opacity .35s, transform .45s var(--ease); }
.b-card.is-out { display: none; }
.b-card.is-enter { animation: b-card .5s var(--ease) both; animation-delay: calc(var(--n, 0) * 35ms); }
@keyframes b-card { from { opacity: 0; transform: translateY(12px); } }
.b-card__fig { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 22px; overflow: hidden; border-bottom: 1px dashed var(--line); }
.b-card__fig .ntw-prof { width: 86%; height: 72%; stroke: var(--ink); stroke-width: 1.4; transition: opacity .35s, transform .5s var(--ease); }
.b-card__fig img { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; opacity: 0; transform: scale(.9) rotate(-3deg); transition: opacity .35s, transform .5s var(--ease); }
.b-card:hover .b-card__fig .ntw-prof, .b-card:focus-within .b-card__fig .ntw-prof { opacity: .12; transform: scale(1.06); }
.b-card:hover .b-card__fig img, .b-card:focus-within .b-card__fig img { opacity: 1; transform: none; }
.b-card__idx { position: absolute; top: 10px; left: 12px; font: 500 10.5px/1 var(--f-mono); color: var(--muted); }
.b-card__body { flex: 1; display: grid; gap: 4px; padding: 16px 18px 18px; }
.b-card__body a { text-decoration: none; }
.b-card__body a::after { content: ''; position: absolute; inset: 0; } /* whole card clickable */
.b-card__model { font: 800 1.9rem/1 var(--f-display); letter-spacing: .01em; }
.b-card__meta { font: 500 12.5px/1.4 var(--f-mono); color: var(--ink-2); }
.b-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.b-card__foot .b-btn { position: relative; z-index: 2; }
.b-sw { display: flex; }
.b-sw i { width: 14px; height: 14px; border-radius: 50%; margin-right: -4px; border: 1.5px solid var(--sheet); background-size: cover; }
.b-sw span { margin-left: 10px; font: 500 11.5px/14px var(--f-mono); color: var(--muted); }
/* table view */
.b-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.b-table th { text-align: left; padding: 12px 16px; font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-2); background: var(--paper-2); }
.b-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.b-table tr.is-out { display: none; }
.b-table tbody tr { transition: background .15s; }
.b-table tbody tr:hover { background: rgba(226, 83, 27, .05); }
.b-table td:first-child a { font: 800 1.35rem/1 var(--f-display); text-decoration: none; }
.b-table td:first-child a:hover { color: var(--orange-ink); }
.b-table .ntw-prof { width: 90px; height: 28px; stroke: var(--ink); stroke-width: 1.2; }
.b-table .is-na { color: var(--muted); font-style: italic; }
.b-tablewrap { overflow-x: auto; }
.b-empty { padding: 40px; text-align: center; color: var(--muted); font-family: var(--f-mono); font-size: 13px; }

/* ---------- to-scale tubes ---------- */
.b-scale { position: relative; padding: 40px clamp(20px, 3vw, 44px) 28px; overflow-x: auto; }
.b-scale__row { display: flex; align-items: flex-end; gap: clamp(18px, 3vw, 44px); min-width: max-content; padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); }
.b-tube { display: grid; justify-items: center; gap: 12px; text-decoration: none; }
.b-tube__box { position: relative; background: var(--sheet); border: 2px solid var(--ink); transform-origin: bottom center; transition: background .25s, border-color .25s; }
.b-tube__box::after { content: ''; position: absolute; inset: 4px; border: 1px solid var(--line-2); }
.ntw-anim .b-scale:not(.is-in) .b-tube__box { transform: scaleY(0); }
.ntw-anim .b-tube__box { transition: transform .8s var(--ease), background .25s, border-color .25s; transition-delay: calc(var(--i, 0) * 80ms), 0s, 0s; }
.b-tube:hover .b-tube__box { background: rgba(226, 83, 27, .12); border-color: var(--orange); }
.b-tube b { font: 800 1.2rem/1 var(--f-display); }
.b-tube span { font: 500 11.5px/1 var(--f-mono); color: var(--ink-2); }
.b-scale__note { margin: 14px 0 0; font: 500 11.5px/1.5 var(--f-mono); color: var(--muted); }
.b-scale__mm { display: flex; gap: 0; margin-top: 8px; font: 500 10px/1 var(--f-mono); color: var(--muted); min-width: max-content; }

/* ---------- comparison ---------- */
.b-compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 0; }
.b-compare__fig { padding: 28px; border-right: 1px solid var(--line); display: grid; align-content: center; gap: 14px; }
.b-compare__fig img { border: 1px solid var(--line); background: #fff; }
.b-compare__fig figcaption { font: 500 11.5px/1.5 var(--f-mono); color: var(--muted); }
.b-cmp { width: 100%; border-collapse: collapse; }
.b-cmp th, .b-cmp td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.b-cmp thead th { font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); }
.b-cmp thead th:last-child { color: var(--sheet); background: var(--ink); }
.b-cmp tbody th { width: 30%; font: 700 1.2rem/1.05 var(--f-display); text-transform: uppercase; }
.b-cmp tbody th small { display: block; margin-top: 6px; font: 500 11px/1 var(--f-mono); color: var(--muted); text-transform: none; }
.b-cmp td { font-size: 14.5px; color: var(--ink-2); }
.b-cmp td:last-child { color: var(--ink); background: rgba(226, 83, 27, .06); box-shadow: inset 3px 0 0 var(--orange); }
.b-cmp td:last-child::before { content: '\2713'; margin-right: 8px; color: var(--orange-ink); font-weight: 700; }

/* ---------- colour board ---------- */
.b-board { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 0; }
.b-board__g { grid-column: span 4; padding: 10px 14px; font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--line-2); border-right: 1px solid var(--line); }
.b-board__g + .b-board__g { grid-column: span 7; border-right: 0; }
.b-sam { position: relative; display: grid; grid-template-rows: 1fr auto; text-align: left; border-right: 1px solid var(--line); min-height: 280px; overflow: hidden; }
.b-sam:last-child { border-right: 0; }
.b-sam__tex { background-size: 220%; background-position: 50% 50%; transition: background-size .8s var(--ease); }
.b-sam:hover .b-sam__tex, .b-sam:focus-visible .b-sam__tex { background-size: 320%; }
.b-sam__cap { padding: 10px 10px 12px; background: var(--sheet); border-top: 1px solid var(--line); }
.b-sam__cap small { display: block; font: 500 10px/1 var(--f-mono); color: var(--muted); }
.b-sam__cap b { display: block; margin-top: 5px; font: 700 1rem/1 var(--f-display); text-transform: uppercase; }
.b-sam[aria-pressed="true"] { box-shadow: inset 0 0 0 3px var(--orange); }
.b-board__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px; border-top: 1px solid var(--line-2); font: 500 12px/1.5 var(--f-mono); color: var(--ink-2); }

/* ---------- documents ---------- */
.b-docs { margin: 0; padding: 0; list-style: none; }
.b-doc { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.b-doc:last-child { border-bottom: 0; }
.b-doc__ico { display: grid; place-items: center; width: 46px; height: 56px; border: 1.5px solid var(--ink); font: 700 10px/1 var(--f-mono); position: relative; }
.b-doc__ico::after { content: ''; position: absolute; top: -1.5px; right: -1.5px; width: 12px; height: 12px; background: linear-gradient(225deg, var(--paper) 50%, var(--ink) 50%); }
.b-doc b { display: block; font: 700 1.2rem/1.1 var(--f-display); text-transform: uppercase; }
.b-doc span { font: 500 12px/1.4 var(--f-mono); color: var(--muted); }
.b-pill { padding: 5px 9px; font: 600 10.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; border: 1px dashed var(--line-2); color: var(--muted); white-space: nowrap; }
.b-pill--ok { border-style: solid; border-color: var(--ink); color: var(--ink); }

/* ---------- capacity ---------- */
.b-cap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.b-cap__stats { margin: 0; padding: 0; list-style: none; border-right: 1px solid var(--line); }
.b-cap__stats li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.b-cap__stats li:last-child { border-bottom: 0; }
.b-cap__stats b { font: 800 clamp(3rem, 6vw, 5.4rem)/.85 var(--f-display); }
.b-cap__stats b small { font-size: .38em; color: var(--orange); margin-left: 6px; }
.b-cap__label { font: 500 12px/1.3 var(--f-mono); color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; text-align: right; }
.b-cap__photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1px; background: var(--line); }
.b-cap__photos img { width: 100%; height: 100%; object-fit: cover; min-height: 150px; filter: grayscale(.5) contrast(1.05); transition: filter .5s; }
.b-cap__photos img:first-child { grid-row: span 2; }
.b-cap__photos img:hover { filter: none; }
.b-projects { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-2); margin: 0; padding: 0; list-style: none; }
.b-projects li { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 700 1.15rem/1.1 var(--f-display); text-transform: uppercase; }
.b-projects li small { display: block; font: 500 10px/1 var(--f-mono); color: var(--muted); margin-bottom: 8px; }
.b-projects li:nth-child(5n) { border-right: 0; }

/* ---------- RFQ block ---------- */
.b-rfq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.b-rfq__steps { margin: 0; padding: 28px; list-style: none; border-right: 1px solid var(--line); counter-reset: s; display: grid; gap: 22px; }
.b-rfq__steps li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; counter-increment: s; }
.b-rfq__steps li::before { content: '0' counter(s); display: grid; place-items: center; width: 52px; height: 52px; border: 1.5px solid var(--ink); font: 800 1.5rem/1 var(--f-display); }
.b-rfq__steps b { display: block; font: 700 1.25rem/1.1 var(--f-display); text-transform: uppercase; }
.b-rfq__steps span { color: var(--ink-2); font-size: 14.5px; }
.b-rfq__list { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.b-rfq__list ul { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line-2); min-height: 120px; }
.b-rfq__list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); font: 500 13px/1.3 var(--f-mono); }
.b-rfq__list li:last-child { border-bottom: 0; }
.b-rfq__list li.is-empty { color: var(--muted); justify-content: center; min-height: 118px; }
.b-rfq__list li button { width: 26px; height: 26px; border: 1px solid var(--line-2); }
.b-rfq__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- footer ---------- */
.b-ftr { margin-top: 0; background: var(--ink); color: rgba(250, 249, 246, .78); padding-block: 48px 110px; font-size: 14px; }
.b-ftr a { color: rgba(250, 249, 246, .9); text-decoration: none; }
.b-ftr a:hover { color: #fff; text-decoration: underline; }
.b-ftr__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid rgba(250, 249, 246, .18); }
.b-ftr__grid > div { padding: 22px; border-right: 1px solid rgba(250, 249, 246, .18); }
.b-ftr__grid > div:last-child { border-right: 0; }
.b-ftr h4 { margin: 0 0 12px; font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(250, 249, 246, .6); }
.b-ftr ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.b-ftr__logo { background: var(--sheet); display: inline-block; padding: 8px 12px; margin-bottom: 14px; }
.b-ftr__logo img { height: 40px; width: auto; }
.b-ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 16px; font: 500 11.5px/1.4 var(--f-mono); color: rgba(250, 249, 246, .6); }

/* ---------- mobile dock ---------- */
.b-dock { display: none; }

/* ---------- quote dialog ---------- */
.ntw-q { width: min(660px, calc(100% - 20px)); max-height: calc(100dvh - 20px); padding: 0; border: 1.5px solid var(--ink); border-radius: 0; background: var(--sheet); color: var(--ink); box-shadow: 10px 10px 0 var(--orange); }
.ntw-q::backdrop { background: rgba(22, 24, 26, .55); }
.ntw-q[open] { animation: b-pop .35s var(--ease); }
@keyframes b-pop { from { opacity: 0; transform: translate(-10px, -10px); box-shadow: 0 0 0 var(--orange); } }
.ntw-q__panel { display: flex; flex-direction: column; max-height: calc(100dvh - 24px); }
.ntw-q__head { display: flex; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1.5px solid var(--ink); }
.ntw-q__eyebrow { margin: 0 0 6px; font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); }
.ntw-q__title { margin: 0; font: 800 2rem/1 var(--f-display); text-transform: uppercase; }
.ntw-q__x { width: 40px; height: 40px; flex: none; border: 1.5px solid var(--ink); font-size: 22px; line-height: 1; }
.ntw-q__body { padding: 20px 22px 24px; overflow: auto; }
.ntw-q__label { margin: 0 0 8px; font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ntw-q__list ul { margin: 0 0 18px; padding: 0; list-style: none; border: 1px solid var(--line-2); }
.ntw-q__list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); font: 500 13px/1.3 var(--f-mono); }
.ntw-q__list li:last-child { border-bottom: 0; }
.ntw-q__list li button { width: 24px; height: 24px; border: 1px solid var(--line-2); }
.ntw-q__list li.ntw-q__empty { color: var(--muted); }
.ntw-q__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ntw-q__f { display: grid; gap: 5px; font: 500 11px/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.ntw-q__f--full { margin-top: 12px; }
.ntw-q__f input, .ntw-q__f select, .ntw-q__f textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 0; background: #fff; color: var(--ink); font: 400 15px/1.4 var(--f-body); letter-spacing: 0; text-transform: none; }
.ntw-q__f input:focus, .ntw-q__f select:focus, .ntw-q__f textarea:focus { outline: none; border-color: var(--ink); box-shadow: 3px 3px 0 var(--orange); }
.ntw-q__f [aria-invalid="true"] { border-color: #B3261E; }
.ntw-q__f small { color: #B3261E; text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.ntw-q__f small:empty { display: none; }
.ntw-q__legal { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.ntw-q__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 18px; }
.ntw-q__submit { min-height: 46px; padding: 0 22px; background: var(--ink); color: var(--sheet); font: 600 13px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.ntw-q__submit:hover { box-shadow: 4px 4px 0 var(--orange); }
.ntw-q__call { font: 500 13px/1 var(--f-mono); color: var(--ink-2); }
.ntw-q__done p { color: var(--ink-2); }
.ntw-toast { position: fixed; left: 50%; bottom: 26px; z-index: 120; transform: translate(-50%, 16px); opacity: 0; padding: 12px 18px; background: var(--ink); color: var(--sheet); font: 500 13px/1.3 var(--f-mono); box-shadow: 4px 4px 0 var(--orange); pointer-events: none; transition: opacity .25s, transform .35s var(--ease); }
.ntw-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* =====================================================================
 * PRODUCT PAGE
 * ===================================================================== */
.b-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 18px 0; list-style: none; font: 500 12px/1 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.b-crumbs li + li::before { content: '›'; margin-right: 6px; }
.b-crumbs a { text-decoration: none; }
.b-crumbs a:hover { color: var(--orange-ink); }
.b-p { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); align-items: start; }
.b-p__side { position: sticky; top: calc(var(--hdr) + 12px); border-right: 1px solid var(--line); }
.b-p__head { padding: 24px 24px 20px; border-bottom: 1px solid var(--line-2); }
.b-p__model { margin: 6px 0 8px; font: 800 clamp(3.2rem, 5vw, 4.6rem)/.85 var(--f-display); }
.b-p__name { margin: 0; color: var(--ink-2); font-size: 15px; }
.b-spec { margin: 0; display: grid; grid-template-columns: minmax(0, 118px) minmax(0, 1fr); }
.b-spec dt, .b-spec dd { margin: 0; padding: 10px 24px; border-bottom: 1px solid var(--line); font-size: 14px; }
.b-spec dt { padding-right: 8px; font: 500 11px/1.9 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.b-spec dd { padding-left: 0; font-family: var(--f-mono); font-weight: 500; font-size: 13.5px; }
.b-spec dd.is-na { color: var(--muted); font-style: italic; font-family: var(--f-body); }
.b-opt { padding: 16px 24px; border-bottom: 1px solid var(--line); }
.b-opt__head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; font: 500 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.b-opt__head b { color: var(--ink); letter-spacing: .02em; }
/* 4 standard | gap | 7 made-to-order — the gutter column keeps all 11 equal */
.b-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 3px repeat(7, minmax(0, 1fr)); gap: 4px; }
.b-swatches button { aspect-ratio: 1 / 1.5; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); transition: transform .2s var(--ease); }
.b-swatches button:nth-child(5) { grid-column: 6; }
.b-swatches button:hover { transform: translateY(-3px); }
.b-swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--sheet), 0 0 0 4px var(--orange); }
.b-lens { display: flex; flex-wrap: wrap; gap: 6px; }
.b-p__cta { display: grid; gap: 8px; padding: 18px 24px 22px; }
.b-p__cta .b-btn { width: 100%; }
.b-p__note { margin: 4px 0 0; font: 400 12px/1.5 var(--f-body); color: var(--muted); }
.b-p__main { min-width: 0; }
.b-tabs { display: flex; border-bottom: 1px solid var(--line-2); }
.b-tabs button { padding: 14px 18px; font: 500 12px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); border-right: 1px solid var(--line); }
.b-tabs button[aria-selected="true"] { background: var(--ink); color: var(--sheet); }
.b-view-pane { position: relative; min-height: 460px; display: grid; place-items: center; padding: clamp(20px, 4vw, 56px); }
.b-view-pane svg { width: 100%; max-height: 420px; }
.b-view-pane > img { max-height: 400px; width: auto; object-fit: contain; }
.b-view-pane--render img { filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .22)); }
.b-view-pane--draw { background: #fff; }
.b-view-pane__note { position: absolute; left: 16px; bottom: 12px; margin: 0; font: 500 11px/1.4 var(--f-mono); color: var(--muted); }
.b-gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line-2); }
.b-gal figure { margin: 0; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.b-gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.b-gal figure:hover img { transform: scale(1.04); }
.b-gal figcaption { position: absolute; left: 10px; top: 10px; padding: 4px 7px; background: var(--sheet); font: 500 10.5px/1 var(--f-mono); }
.b-p__block { border-top: 1px solid var(--line-2); padding: 28px clamp(20px, 3vw, 36px); }
.b-bens { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); }
.b-bens li { padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.b-bens li:nth-child(2n) { border-right: 0; }
.b-bens li:nth-last-child(-n + 2) { border-bottom: 0; }
.b-bens small { font: 600 11px/1 var(--f-mono); color: var(--orange-ink); }
.b-bens b { display: block; margin: 8px 0 4px; font: 700 1.3rem/1 var(--f-display); text-transform: uppercase; }
.b-bens span { font-size: 14px; color: var(--ink-2); }
.b-accs { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); border: 1px solid var(--line); }
.b-accs li { display: grid; grid-template-rows: 120px auto; border-right: 1px solid var(--line); }
.b-accs li:last-child { border-right: 0; }
.b-accs div { display: grid; place-items: center; border-bottom: 1px dashed var(--line); background: #fff; }
.b-accs img { max-height: 90px; width: auto; }
.b-accs i { font-size: 26px; color: var(--muted); }
.b-accs p { margin: 0; padding: 10px 12px; font: 500 12.5px/1.4 var(--f-mono); }

@media (max-width: 1180px) {
	.b-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.b-cat:nth-child(3) { border-right: 0; }
	.b-cat:nth-child(-n + 3) { border-bottom: 1px solid var(--line); }
	.b-board { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.b-board__g { display: none; }
	.b-sam { min-height: 200px; border-bottom: 1px solid var(--line); }
	.b-projects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.b-projects li:nth-child(5n) { border-right: 1px solid var(--line); }
	.b-p { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
}
@media (max-width: 980px) {
	.b-burger { display: block; }
	.b-nav { position: fixed; inset: var(--hdr) 0 auto; background: var(--sheet); border-bottom: 1.5px solid var(--ink); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
	.b-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
	.b-nav ul { flex-direction: column; padding: 8px var(--pad) 16px; }
	.b-nav a { padding: 14px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
	.ntw-nav-open .b-hdr { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--sheet); }
	.b-search input { width: 170px; }
	.b-hero__grid, .b-sec__head, .b-compare, .b-cap, .b-rfq, .b-p { grid-template-columns: minmax(0, 1fr); }
	.b-hero__copy { border-right: 0; border-bottom: 1px solid var(--line); }
	.b-hero__draw { min-height: 380px; }
	.b-compare__fig, .b-cap__stats, .b-rfq__steps { border-right: 0; border-bottom: 1px solid var(--line); }
	.b-p__side { position: static; border-right: 0; border-bottom: 1px solid var(--line-2); }
	.b-ftr__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.b-ftr__grid > div:nth-child(2n) { border-right: 0; }
	.b-ftr__grid > div:nth-child(-n + 2) { border-bottom: 1px solid rgba(250, 249, 246, .18); }
}
@media (max-width: 720px) {
	:root { --hdr: 60px; }
	.b-logo img { height: 32px; }
	.b-search { display: none; }
	.b-hdr__in { gap: 10px; }
	.b-hdr__in .b-btn--ink { margin-left: auto; padding: 0 12px; }
	.b-hdr__in .b-btn__txt { display: none; }
	.b-tblock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.b-tblock div:nth-child(2) { border-right: 0; }
	.b-tblock div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
	.b-hero__render { width: 42%; }
	.b-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.b-cat:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
	.b-cat:nth-child(2n) { border-right: 0; }
	.b-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.b-card__model { font-size: 1.5rem; }
	.b-card__foot { flex-direction: column; align-items: flex-start; }
	.b-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.b-sam { min-height: 150px; }
	.b-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.b-projects li:nth-child(n) { border-right: 1px solid var(--line); }
	.b-projects li:nth-child(2n) { border-right: 0; }
	.b-doc { grid-template-columns: 46px minmax(0, 1fr); }
	.b-doc > :nth-child(n + 3) { grid-column: 2; justify-self: start; }
	.b-cmp tbody th { width: auto; }
	.b-cmp th, .b-cmp td { padding: 14px 12px; }
	.b-gal, .b-bens { grid-template-columns: minmax(0, 1fr); }
	.b-bens li:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); }
	.b-bens li:last-child { border-bottom: 0; }
	.b-ftr__grid { grid-template-columns: minmax(0, 1fr); }
	.b-ftr__grid > div:nth-child(n) { border-right: 0; border-bottom: 1px solid rgba(250, 249, 246, .18); }
	.ntw-q__grid { grid-template-columns: minmax(0, 1fr); }
	.ntw-q { box-shadow: 6px 6px 0 var(--orange); }
	.b-dock { position: fixed; inset: auto 0 0; z-index: 85; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--sheet); border-top: 1.5px solid var(--ink); padding-bottom: env(safe-area-inset-bottom); }
	.b-dock a, .b-dock button { display: grid; justify-items: center; gap: 3px; padding: 9px 0 8px; font: 500 11px/1 var(--f-mono); text-transform: uppercase; text-decoration: none; letter-spacing: .04em; border-right: 1px solid var(--line); }
	.b-dock i { font-size: 16px; }
	.b-dock .is-main { background: var(--ink); color: var(--sheet); border-right: 0; }
	.ntw-toast { bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
