/*
 * NIJ Standards landing page (tpl/resource-nij-standards.php).
 * Built on the site's own design language: Space Mono uppercase headings with
 * the stripe rule, Franklin Gothic body, black / charcoal #434344 / slate
 * #50677f, clipped bottom-right corners, theme .btn-link buttons.
 * Body copy is set at 16px+ (site default 14px) for readability.
 * Everything is scoped to .nij-page.
 */

.nij-page {
	--nij-slate: #50677f;
	--nij-slate-light: #a7b3bf;
	--nij-slate-pale: #e8ecf0;
	--nij-charcoal: #434344;
	--nij-ink: #000;
	--nij-grey: #f3f4f6;
	--nij-line: #cfd6dd;
	--nij-mono: "Space Mono", monospace;
	--nij-offset: 0px; /* fixed site header height, set by nij-standards.js */
	--nij-cut: 27px;
	color: var(--nij-ink);
	font-size: 16px;
	line-height: 1.75;
}
html.nij-smooth { scroll-behavior: smooth; }
/* The theme's #page has overflow:hidden, which disables position:sticky; clip keeps sticky working. */
body.resource-template-tplresource-nij-standards-php #page { overflow: clip; }
.nij-page *, .nij-page *::before, .nij-page *::after { box-sizing: border-box; }
.nij-page [id] { scroll-margin-top: calc(var(--nij-offset) + 70px); }
.nij-page button { font: inherit; color: inherit; cursor: pointer; }
.nij-page :focus-visible { outline: 3px solid var(--nij-slate); outline-offset: 4px; }
.nij-page p { margin: 0 0 1em; }

/* ── Type ─────────────────────────────────────────────────────────────── */
.nij-eyebrow { font-family: var(--nij-mono); font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nij-slate); margin: 0 0 14px !important; }
.nij-page .nij-heading { font-family: var(--nij-mono); font-size: 30px; line-height: 36px; font-weight: 700; text-transform: uppercase; letter-spacing: .025em; color: var(--nij-ink); margin: 0 0 22px; }
.nij-page .heading.with-stripes.nij-heading { margin: 0 0 24px; align-items: flex-end; }
.nij-page .nij-heading > span { flex: 0 1 auto; }
.nij-page .heading.with-stripes.nij-heading::after { align-self: flex-end; height: 22px; margin: 0 0 7px 22px; min-width: 80px; }
/* Theme .container clearfix pseudo-elements would become grid/flex items. */
.nij-page .container::before, .nij-page .container::after { display: none; }
.nij-page h3.nij-heading { font-size: 24px; line-height: 30px; font-weight: 400; }
.nij-lead { font-size: 18px; line-height: 1.7; max-width: 640px; }
.nij-body p { font-size: 16px; line-height: 1.75; }
.nij-text-link { font-family: var(--nij-mono); font-size: 16px; text-transform: uppercase; letter-spacing: .06em; color: var(--nij-slate); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; display: inline-flex; align-items: center; gap: 10px; }
.nij-text-link::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url(../assets/img/ic-arrow-small.png) center / contain no-repeat; mask: url(../assets/img/ic-arrow-small.png) center / contain no-repeat; }
.nij-text-link:hover { color: var(--nij-charcoal); text-decoration: none; }
.nij-text-link-small { font-size: 14px; }

/* Buttons: theme .btn-link supplies shape, font and hover; add the arrow. */
.nij-page .nij-btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; text-decoration: none; }
.nij-page .nij-btn > span { display: inline-flex; align-items: center; gap: 16px; }
.nij-page .nij-btn > span::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url(../assets/img/ic-arrow.png) center / contain no-repeat; mask: url(../assets/img/ic-arrow.png) center / contain no-repeat; }
.nij-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }

/* ── Breadcrumbs + hero ───────────────────────────────────────────────── */
.nij-crumbs { padding-top: 34px; }
.nij-hero { padding: 40px 0 80px; }
.nij-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 60px; align-items: center; }
.nij-page .nij-hero-title { font-family: var(--nij-mono); font-size: 42px; line-height: 1.2; font-weight: 700; text-transform: uppercase; color: var(--nij-ink); margin: 0 0 24px; }
.nij-hero-title span { color: var(--nij-slate); }
.nij-hero-art { margin: 0; }
.nij-art-label { display: flex; justify-content: space-between; font-family: var(--nij-mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--nij-slate); margin-bottom: 10px; }
.nij-caption { font-size: 14px; line-height: 1.6; color: #555; margin-top: 12px; }

/* Clipped-corner graphic with the "+" corner, like the site's category cards */
.nij-graphic { position: relative; display: block; width: 100%; padding: 1px; border: 0; background: var(--nij-slate); clip-path: polygon(100% calc(100% - 50px), calc(100% - 50px) 100%, 0 100%, 0 0, 100% 0); cursor: zoom-in; text-align: left; }
.nij-frame { display: block; background: #fff; padding: 14px 14px 46px; clip-path: polygon(100% calc(100% - 49px), calc(100% - 49px) 100%, 0 100%, 0 0, 100% 0); }
.nij-frame img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; pointer-events: none; transition: transform .5s ease; }
.nij-graphic:hover .nij-frame img { transform: scale(1.02); }
.nij-graphic-label { position: absolute; left: 15px; bottom: 14px; font-family: var(--nij-mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--nij-slate); }
.nij-corner { position: absolute; right: 0; bottom: 0; width: 50px; height: 50px; background: var(--nij-slate); clip-path: polygon(100% 0, 0 100%, 100% 100%); color: #fff; font-family: franklin-gothic-atf, sans-serif; font-size: 30px; line-height: 1; display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 6px 4px 0; transition: background .2s; }
.nij-graphic:hover .nij-corner { background: var(--nij-charcoal); }

/* ── Sticky section nav ───────────────────────────────────────────────── */
.nij-jump { position: sticky; top: var(--nij-offset); z-index: 60; background: var(--nij-charcoal); color: #fff; }
.nij-jump .container { display: flex; align-items: center; gap: 30px; }
.nij-jump-label { font-family: var(--nij-mono); font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--nij-slate-light); white-space: nowrap; }
.nij-jump-links { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.nij-jump-links::-webkit-scrollbar { display: none; }
.nij-page .nij-jump a { font-family: var(--nij-mono); font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: #dfe4e9; text-decoration: none; padding: 18px 14px 15px; border-bottom: 3px solid transparent; white-space: nowrap; transition: color .2s, border-color .2s, background .2s; }
.nij-page .nij-jump a b { color: var(--nij-slate-light); font-weight: 700; margin-right: 4px; }
.nij-page .nij-jump a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nij-page .nij-jump a.active { color: #fff; border-bottom-color: var(--nij-slate-light); }
/* Mobile section toggle (hidden on desktop) */
/* Two lines: label on top, current section underneath; caret on the right. */
.nij-page .nij-jump-toggle { display: none; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: center; width: 100%; padding: 10px 0 11px; background: none; border: 0; text-align: left; font-family: var(--nij-mono); text-transform: uppercase; color: #fff; }
.nij-jump-toggle-label { grid-column: 1; grid-row: 1; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--nij-slate-light); white-space: nowrap; }
.nij-jump-current { grid-column: 1; grid-row: 2; font-size: 16px; font-weight: 700; letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nij-jump-caret { grid-column: 2; grid-row: 1 / span 2; width: 12px; height: 12px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); margin: -6px 4px 0 0; transition: transform .2s; }
.nij-jump.is-open .nij-jump-caret { transform: rotate(-135deg); margin-top: 6px; }
.nij-progress { height: 3px; background: rgba(255, 255, 255, .12); }
.nij-progress span { display: block; height: 100%; width: 0; background: var(--nij-slate-light); }

/* ── Sections ─────────────────────────────────────────────────────────── */
.nij-section { padding: 90px 0; }
.nij-section-grey { background: var(--nij-grey); }
.nij-page .nij-section-joined { padding-top: 0; }
.nij-head { margin-bottom: 40px; }
.nij-head .nij-heading { max-width: 900px; }

/* ── 01 Explorer ──────────────────────────────────────────────────────── */
.nij-explorer { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 30px; align-items: start; }
.nij-tabs { display: flex; flex-direction: column; gap: 10px; }
.nij-tab { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 18px; border: 0; background: var(--nij-grey); text-align: left; clip-path: polygon(100% calc(100% - 17px), calc(100% - 17px) 100%, 0 100%, 0 0, 100% 0); transition: background .2s, border-color .2s, color .2s; }
.nij-tab:hover { background: var(--nij-slate-pale); }
.nij-tab[aria-selected="true"] { background: var(--nij-slate); border-color: var(--nij-slate); color: #fff; }
.nij-icon { flex: 0 0 44px; width: 44px; height: 44px; fill: none; stroke: var(--nij-slate); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nij-tab[aria-selected="true"] .nij-icon { stroke: #fff; }
.nij-tab-text { display: flex; flex-direction: column; gap: 2px; }
.nij-tab-label { font-family: var(--nij-mono); font-size: 14px; letter-spacing: .08em; color: var(--nij-slate); }
.nij-tab[aria-selected="true"] .nij-tab-label { color: #dfe4e9; }
.nij-tab-title { font-family: var(--nij-mono); font-size: 17px; line-height: 1.35; text-transform: uppercase; font-weight: 700; }

.nij-panels { background: #fff; border: 1px solid var(--nij-line); padding: 36px 40px 40px; min-height: 100%; }
.nij-panel { animation: nij-fade .35s ease; }
.nij-panel-top { display: flex; gap: 30px; justify-content: space-between; align-items: flex-start; margin-bottom: 26px; }
.nij-page .nij-panel-title { font-family: var(--nij-mono); font-size: 24px; line-height: 30px; text-transform: uppercase; font-weight: 400; letter-spacing: .03em; margin: 0 0 8px; color: var(--nij-ink); }
.nij-panel-summary { font-size: 18px; margin: 0 !important; }
.nij-graphic-thumb { flex: 0 0 150px; width: 150px; }
.nij-graphic-thumb .nij-frame { padding: 6px 6px 30px; }
.nij-graphic-thumb .nij-graphic-label { display: none; }
.nij-graphic-thumb, .nij-graphic-thumb .nij-frame { clip-path: polygon(100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 0, 100% 0); }
.nij-graphic-thumb .nij-corner { width: 28px; height: 28px; font-size: 20px; padding: 0 3px 1px 0; }
.nij-compare { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); align-items: stretch; margin-bottom: 24px; }
.nij-compare-col { padding: 24px 26px; font-size: 16px; line-height: 1.7; }
.nij-compare-col p:last-child { margin-bottom: 0; }
.nij-compare-06 { background: var(--nij-grey); }
.nij-compare-07 { background: var(--nij-slate-pale); border-left: 4px solid var(--nij-slate); clip-path: polygon(100% calc(100% - 27px), calc(100% - 27px) 100%, 0 100%, 0 0, 100% 0); }
.nij-compare-label { display: block; font-family: var(--nij-mono); font-size: 16px; font-weight: 700; letter-spacing: .06em; margin-bottom: 10px; color: var(--nij-charcoal); }
.nij-compare-07 .nij-compare-label { color: var(--nij-slate); }
.nij-compare-arrow { position: relative; }
.nij-compare-arrow::after { content: ""; position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; background: var(--nij-slate); -webkit-mask: url(../assets/img/ic-arrow.png) center / 18px no-repeat; mask: url(../assets/img/ic-arrow.png) center / 18px no-repeat; }
.nij-takeaway { font-size: 17px; line-height: 1.7; padding-left: 18px; border-left: 3px solid var(--nij-charcoal); margin-bottom: 22px !important; }

/* ── 02 Threat levels ─────────────────────────────────────────────────── */
.nij-levels { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; align-items: start; }
.nij-chart { background: #fff; padding: 30px; border: 1px solid var(--nij-line); }
.nij-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.nij-filters button { display: inline-flex; align-items: center; gap: 10px; font-family: var(--nij-mono); font-size: 15px; text-transform: uppercase; letter-spacing: .08em; padding: 10px 22px 11px; border: 0; background: #e3e7eb; color: var(--nij-charcoal); clip-path: polygon(100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 0, 100% 0); transition: background .2s, color .2s; }
.nij-filters button:hover { background: #d3d9df; }
.nij-filters button[aria-pressed="true"] { background: var(--nij-charcoal); color: #fff; }
.nij-swatch { width: 12px; height: 12px; display: inline-block; }
.nij-swatch-hg { background: var(--nij-slate); }
.nij-swatch-rf { background: var(--nij-charcoal); outline: 1px solid #fff; }
.nij-page table.nij-map { width: 100%; border-collapse: collapse; margin: 0; }
.nij-map th { font-family: var(--nij-mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--nij-slate); text-align: left; padding: 10px 12px; border: 0; border-bottom: 2px solid var(--nij-ink); background: none; }
.nij-map td { padding: 14px 12px; border: 0; border-bottom: 1px solid var(--nij-line); vertical-align: middle; font-size: 16px; }
.nij-map-row { transition: background .2s, opacity .3s; }
.nij-map-row:hover { background: var(--nij-grey); }
.nij-map-row[hidden] { display: none; }
.nij-map-new { background: var(--nij-slate-pale); }
.nij-chip { display: inline-block; font-family: var(--nij-mono); font-weight: 700; font-size: 16px; letter-spacing: .04em; padding: 6px 14px; min-width: 76px; text-align: center; clip-path: polygon(100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 0, 100% 0); }
.nij-chip-old { background: var(--nij-grey); color: var(--nij-charcoal); font-weight: 400; min-width: 0; }
/* Former level in the chart: plain text, aligned with the column heading. */
.nij-chart .nij-chip-old, .nij-chart .nij-map-new .nij-chip-old { background: none; padding-left: 0; padding-right: 0; text-align: left; }
.nij-page .nij-chip-old { clip-path: none; }
.nij-chip-hg { background: var(--nij-slate); color: #fff; font-size: 20px; }
.nij-chip-rf { background: var(--nij-charcoal); color: #fff; font-size: 20px; }
.nij-chip-none { background: var(--nij-grey); color: var(--nij-charcoal); font-size: 20px; }
.nij-tag { display: inline-block; font-family: var(--nij-mono); font-size: 13px; font-weight: 700; letter-spacing: .1em; color: #fff; background: var(--nij-slate); padding: 2px 8px; margin-left: 8px; vertical-align: 2px; }
.nij-note { font-size: 15px; line-height: 1.6; padding: 16px 18px; background: var(--nij-grey); border-left: 3px solid var(--nij-slate); margin: 22px 0 12px !important; }
.nij-source { font-size: 14px; margin: 0 !important; }

/* Lookup card */
.nij-lookup { background: var(--nij-slate); color: #fff; padding: 30px 28px 34px; clip-path: polygon(100% calc(100% - 50px), calc(100% - 50px) 100%, 0 100%, 0 0, 100% 0); position: sticky; top: calc(var(--nij-offset) + 80px); }
.nij-page .nij-lookup-title { font-family: var(--nij-mono); font-size: 20px; line-height: 1.4; text-transform: uppercase; font-weight: 700; color: #fff; margin: 0 0 20px; }
.nij-lookup-label { display: block; font-family: var(--nij-mono); font-size: 14px; letter-spacing: .1em; color: #dfe4e9; margin-bottom: 6px; }
.nij-select { position: relative; margin-bottom: 22px; }
.nij-select select { width: 100%; appearance: none; -webkit-appearance: none; font-family: var(--nij-mono); font-size: 17px; text-transform: uppercase; padding: 12px 44px 12px 14px; border: 0; border-radius: 0; background: #fff; color: var(--nij-ink); cursor: pointer; }
.nij-select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--nij-ink); border-bottom: 2px solid var(--nij-ink); transform: rotate(45deg); pointer-events: none; }
.nij-lookup-result { animation: nij-fade .35s ease; }
.nij-lookup-pair { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.nij-lookup .nij-chip-old { background: rgba(0, 0, 0, .28); color: #fff; font-size: 16px; }
.nij-lookup .nij-chip-hg { background: #fff; color: var(--nij-slate); }
.nij-lookup .nij-chip-rf { background: var(--nij-charcoal); color: #fff; }
.nij-lookup .nij-chip-none { background: rgba(0, 0, 0, .28); color: #fff; }
.nij-lookup-arrow { width: 22px; height: 22px; background: #fff; -webkit-mask: url(../assets/img/ic-arrow.png) center / 18px no-repeat; mask: url(../assets/img/ic-arrow.png) center / 18px no-repeat; }
.nij-lookup-result p { font-size: 16px; line-height: 1.65; margin: 0 !important; }

/* RF2 callout */
.nij-rf { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 60px; padding: 40px 46px; background: #dde1e6; color: var(--nij-ink); clip-path: polygon(100% calc(100% - 50px), calc(100% - 50px) 100%, 0 100%, 0 0, 100% 0); position: relative; overflow: hidden; }
.nij-rf.has-product { grid-template-columns: 210px minmax(0, 1fr) 230px; }
.nij-rf::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: url(../assets/img/bg-stripe-tile.png) left top; opacity: .5; }
.nij-rf-big { font-family: var(--nij-mono); font-size: 84px; line-height: 1; font-weight: 700; color: var(--nij-ink); border-right: 2px solid var(--nij-slate); padding-right: 30px; }
.nij-page .nij-rf h3 { font-family: var(--nij-mono); font-size: 24px; line-height: 1.3; text-transform: uppercase; font-weight: 700; color: var(--nij-ink); margin: 0 0 12px; }
.nij-rf p { font-size: 17px; line-height: 1.7; color: var(--nij-charcoal); margin: 0 !important; }
.nij-rf-product { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--nij-ink); }
.nij-rf-product img { width: 170px; height: auto; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .3)); transition: transform .4s ease; }
.nij-rf-product:hover img { transform: translateY(-6px) rotate(-3deg); }
.nij-rf-product span { font-family: var(--nij-mono); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; text-align: center; border-bottom: 1px solid var(--nij-slate); }
.nij-page .nij-rf-product:hover span { color: var(--nij-ink); }

/* ── 03 Closer look ───────────────────────────────────────────────────── */
.nij-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.nij-feature + .nij-feature { margin-top: 100px; }
.nij-docs { list-style: none; margin: 26px 0 0; padding: 0; counter-reset: none; }
.nij-docs li { display: flex; gap: 22px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--nij-line); font-size: 16px; line-height: 1.6; margin: 0; }
.nij-docs li:last-child { border-bottom: 1px solid var(--nij-line); }
.nij-doc-code { flex: 0 0 110px; font-family: var(--nij-mono); font-size: 18px; font-weight: 700; color: var(--nij-slate); }
.nij-copy .nij-btn { margin-top: 12px; }

/* ── Female armor ─────────────────────────────────────────────────────── */
.nij-fem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.nij-fem .nij-products { max-width: none; }
.nij-fem-links { list-style: none; margin: 0; padding: 0; }
.nij-fem-links li { margin: 0; padding: 14px 0; border-top: 1px solid var(--nij-line); font-size: 16px; }
.nij-fem-links li:last-child { border-bottom: 1px solid var(--nij-line); }
.nij-fem .nij-checklist-label { margin-top: 30px; }

/* ── 04 Armor ─────────────────────────────────────────────────────────── */
.nij-armor { padding-bottom: 90px; }
.nij-armor-band { background: var(--nij-charcoal) center 30% / cover no-repeat; position: relative; padding: 120px 0 150px; }
.nij-armor-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 22, 24, .88) 0%, rgba(20, 22, 24, .65) 45%, rgba(20, 22, 24, .1) 100%); }
.nij-armor-band .container { position: relative; }
.nij-armor-panel { max-width: 620px; color: #fff; }
.nij-armor-panel .nij-eyebrow { color: var(--nij-slate-light); }
.nij-page .nij-armor-panel .nij-heading { color: #fff; }
.nij-armor-panel .nij-lead { color: #eef0f2; }

.nij-shop { position: relative; margin-top: -80px; }
/* Both standards side by side (no tabs): header card + plates + button per column. */
.nij-std-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 40px; }
.nij-std-col { display: flex; flex-direction: column; }
.nij-std-head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 26px 30px 30px; background: #e3e7eb; clip-path: polygon(100% calc(100% - 27px), calc(100% - 27px) 100%, 0 100%, 0 0, 100% 0); }
.nij-std-head.is-new { background: var(--nij-slate); color: #fff; }
.nij-std-label { font-family: var(--nij-mono); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--nij-slate); }
.nij-std-head.is-new .nij-std-label { color: #dfe4e9; }
.nij-page .nij-std-title { font-family: var(--nij-mono); font-size: 32px; line-height: 1.2; font-weight: 700; margin: 0; color: inherit; letter-spacing: normal; text-transform: none; }
.nij-std-text { font-size: 16px; }
.nij-std-col .nij-std-panel { flex: 1; display: flex; flex-direction: column; }
.nij-std-col .nij-products { max-width: none; }
.nij-std-col .nij-std-more { margin-top: auto; padding-top: 34px; }
.nij-std-panel { padding-top: 40px; }
.nij-products { --nij-cols: 4; display: grid; grid-template-columns: repeat(var(--nij-cols), minmax(0, 1fr)); gap: 30px; max-width: calc(var(--nij-cols) * 300px); }
.nij-page .nij-product { display: block; text-decoration: none; color: var(--nij-ink); }
.nij-product-image { display: block; position: relative; aspect-ratio: 1 / 1; background: var(--nij-slate); padding: 1px; clip-path: polygon(100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%, 0 0, 100% 0); }
.nij-product-image::before { content: ""; position: absolute; inset: 1px; background: #fff; clip-path: polygon(100% calc(100% - 39px), calc(100% - 39px) 100%, 0 100%, 0 0, 100% 0); }
.nij-product-image::after { content: "+"; position: absolute; right: 0; bottom: 0; width: 40px; height: 40px; background: var(--nij-slate); clip-path: polygon(100% 0, 0 100%, 100% 100%); color: #fff; font-family: franklin-gothic-atf, sans-serif; font-size: 26px; line-height: 1; display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 5px 3px 0; }
.nij-product-image img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; padding: 22px; transition: transform .4s ease; }
.nij-product:hover .nij-product-image img { transform: scale(1.06); }
.nij-product-name { display: block; font-family: var(--nij-mono); font-size: 18px; line-height: 1.35; text-transform: uppercase; letter-spacing: .025em; padding-top: 14px; }
.nij-product:hover .nij-product-name { font-weight: 700; }

.nij-checklist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; margin-top: 90px; padding-top: 60px; border-top: 1px solid var(--nij-line); }
.nij-checklist-label { font-family: var(--nij-mono); font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--nij-slate); }
.nij-checklist ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nij-checklist ul { column-gap: 30px; row-gap: 0; }
.nij-checklist li { position: relative; margin: 0; padding: 14px 0 14px 22px; border-top: 1px solid var(--nij-line); font-size: 16px; line-height: 1.4; }
.nij-checklist li::before { content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -4px; background: var(--nij-slate); }

/* ── 05 FAQ (site category FAQ pattern) ───────────────────────────────── */
.nij-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 70px; align-items: start; }
.nij-faq { border-bottom: 1px solid var(--nij-line); }
.nij-faq:first-child { border-top: 1px solid var(--nij-line); }
.nij-page .nij-faq-q { margin: 0; font-size: inherit; }
.nij-faq-q button { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 20px 0; background: none; border: 0; text-align: left; font-family: var(--nij-mono); font-size: 18px; line-height: 1.45; text-transform: uppercase; color: var(--nij-slate); }
.nij-faq-q button:hover { color: var(--nij-charcoal); }
.nij-faq-toggle { flex: 0 0 30px; width: 30px; height: 30px; background: var(--nij-slate); clip-path: polygon(100% 100%, 0 100%, 100% 0); position: relative; transition: background .2s; }
.nij-faq-toggle::before, .nij-faq-toggle::after { content: ""; position: absolute; right: 4px; bottom: 9px; width: 10px; height: 2px; background: #fff; transition: transform .25s; }
.nij-faq-toggle::after { transform: rotate(90deg); }
.nij-faq.is-open .nij-faq-toggle::after { transform: rotate(0); }
.nij-faq-a { overflow: hidden; transition: height .3s ease; }
.nij-faq-a .nij-body { padding: 0 50px 22px 0; }
.nij-faq-a p:last-child { margin-bottom: 0; }
.nij-faq-a a { color: var(--nij-slate); text-decoration: underline; }

/* ── Contact ──────────────────────────────────────────────────────────── */
.nij-cta { padding: 90px 0; }
.nij-cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 50px 56px; background: var(--nij-slate); color: #fff; clip-path: polygon(100% calc(100% - 50px), calc(100% - 50px) 100%, 0 100%, 0 0, 100% 0); }
.nij-cta-panel .nij-eyebrow { color: #dfe4e9; }
.nij-page .nij-cta-title { font-family: var(--nij-mono); font-size: 30px; line-height: 1.25; text-transform: uppercase; font-weight: 700; color: #fff; margin: 0 0 10px; }
.nij-cta-panel .nij-lead { color: #eef0f2; margin: 0; }
.nij-cta-panel .nij-btn { flex: 0 0 auto; }

/* ── Lightbox ─────────────────────────────────────────────────────────── */
.nij-lightbox { border: 0; padding: 0; width: min(1100px, 96vw); max-width: none; height: min(94vh, 1000px); max-height: none; background: #fff; overflow: hidden; }
.nij-lightbox[open] { display: flex; flex-direction: column; }
.nij-lightbox::backdrop { background: rgba(20, 22, 24, .85); }
.nij-lightbox-bar { display: flex; align-items: center; gap: 8px; padding: 10px; background: var(--nij-charcoal); color: #fff; font-family: var(--nij-mono); }
.nij-lightbox-bar button { border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-family: var(--nij-mono); font-size: 15px; text-transform: uppercase; letter-spacing: .06em; padding: 8px 14px; }
.nij-lightbox-bar button:hover { background: var(--nij-slate); }
.nij-lb-count { font-size: 14px; min-width: 60px; text-align: center; }
.nij-lb-zoom { margin-left: auto; }
.nij-lb-zoom[aria-pressed="true"] { background: var(--nij-slate) !important; }
.nij-lightbox-stage { flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; background: var(--nij-grey); }
.nij-lightbox-stage img { max-width: 100%; max-height: 100%; object-fit: contain; pointer-events: none; cursor: zoom-in; }
.nij-lightbox.is-zoomed .nij-lightbox-stage { display: block; cursor: grab; }
.nij-lightbox.is-zoomed .nij-lightbox-stage img { max-width: none; max-height: none; width: 180%; }

/* ── Motion ───────────────────────────────────────────────────────────── */
@keyframes nij-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* Motion only, never hidden: content must render for anything that doesn't scroll (screenshots, previews, crawlers). */
.nij-js .nij-reveal { transform: translateY(18px); transition: transform .7s ease; }
.nij-js .nij-reveal.is-in { transform: none; }
@media (prefers-reduced-motion: reduce) {
	html.nij-smooth { scroll-behavior: auto; }
	.nij-js .nij-reveal { transform: none; transition: none; }
	.nij-panel, .nij-lookup-result { animation: none; }
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
	.nij-explorer { grid-template-columns: 280px minmax(0, 1fr); }
	.nij-levels { grid-template-columns: 1fr; }
	.nij-lookup { position: static; }
	.nij-products { --nij-cols: 2 !important; }
	.nij-rf.has-product { grid-template-columns: 170px minmax(0, 1fr); }
	.nij-rf-product { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; }
	.nij-rf-product img { width: 110px; }
}
@media (max-width: 900px) {
	.nij-hero-grid, .nij-feature, .nij-fem, .nij-faq-grid, .nij-checklist, .nij-std-cols { grid-template-columns: 1fr; gap: 40px; }
	.nij-feature-reverse .nij-copy { order: 2; }
	.nij-explorer { grid-template-columns: 1fr; }
	/* Key areas: wrap into a 2-column grid instead of scrolling sideways. */
	.nij-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.nij-tab { padding: 14px; gap: 12px; }
	.nij-tab:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.nij-icon { flex-basis: 34px; width: 34px; height: 34px; }
	.nij-tab-title { font-size: 15px; }

	/* Section nav: one toggle button + dropdown list instead of a sideways-scrolling bar. */
	.nij-jump .container { display: block; position: relative; }
	.nij-jump-label { display: none; }
	.nij-page .nij-jump-toggle { display: grid; }
	.nij-jump-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--nij-charcoal); border-top: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 14px 24px rgba(0, 0, 0, .3); max-height: 70vh; overflow-y: auto; }
	.nij-jump.is-open .nij-jump-links { display: flex; }
	.nij-page .nij-jump a { padding: 15px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); border-left: 4px solid transparent; font-size: 16px; white-space: normal; }
	.nij-page .nij-jump a.active { border-bottom-color: rgba(255, 255, 255, .08); border-left-color: var(--nij-slate-light); background: rgba(255, 255, 255, .06); }
}
@media (max-width: 640px) {
	.nij-section, .nij-cta { padding: 60px 0; }
	.nij-hero { padding: 24px 0 60px; }
	.nij-page .nij-hero-title { font-size: 32px; }
	.nij-page .nij-heading { font-size: 24px; line-height: 30px; }
	.nij-page h3.nij-heading { font-size: 20px; line-height: 26px; }
	.nij-lead { font-size: 17px; }
	.nij-panels { padding: 24px 20px; }
	.nij-panel-top { flex-direction: column; }
	.nij-graphic-thumb { width: 120px; flex-basis: auto; }
	.nij-compare { grid-template-columns: 1fr; }
	.nij-compare-arrow { height: 36px; }
	.nij-compare-arrow::after { transform: rotate(90deg); }
	.nij-chart { padding: 20px 16px; }
	.nij-map td, .nij-map th { padding: 12px 6px; }
	.nij-map td { font-size: 15px; }
	.nij-chip-hg, .nij-chip-rf { font-size: 17px; min-width: 62px; padding: 5px 10px; }
	.nij-rf, .nij-rf.has-product { grid-template-columns: 1fr; gap: 20px; padding: 30px 24px 40px; }
	.nij-rf-big { font-size: 60px; border: 0; padding: 0; }
	.nij-armor-band { padding: 70px 0 120px; }
	.nij-armor-band::before { background: rgba(20, 22, 24, .75); }
	.nij-std-title { font-size: 26px; }
	.nij-products { gap: 18px; }
	.nij-product-name { font-size: 15px; }
	.nij-checklist ul { grid-template-columns: 1fr; }
	.nij-faq-q button { font-size: 16px; }
	.nij-cta-panel { flex-direction: column; align-items: flex-start; padding: 36px 26px 56px; }
	.nij-page .nij-cta-title { font-size: 24px; }
	.nij-btns .nij-btn { width: 100%; }
	.nij-page .nij-btn { font-size: 16px; }
}
